genesys-spark-components 4.171.3 → 4.171.5

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 (580) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-BXuD5Tm_.js → get-valid-timezone-69I5_3vB.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +5 -5
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +6 -6
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +4 -4
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  30. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-day-beta.cjs.entry.js +3 -3
  37. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  39. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-dropdown_3.cjs.entry.js +7 -7
  43. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  49. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  51. package/dist/cjs/{gux-form-field-container-BKzJKCiS.js → gux-form-field-container-C9piSpos.js} +1 -1
  52. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  53. package/dist/cjs/{gux-form-field-error-DwDurj6V.js → gux-form-field-error-BYZFOZ_3.js} +1 -1
  54. package/dist/cjs/{gux-form-field-fieldset-container-Dn_hML2A.js → gux-form-field-fieldset-container-cICyr8Cw.js} +1 -1
  55. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  56. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  57. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  59. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +11 -11
  60. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  61. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  62. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  63. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  64. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  65. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  66. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  67. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  68. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  70. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  76. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  77. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  83. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  92. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  105. package/dist/cjs/gux-popover-beta.cjs.entry.js +4 -4
  106. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +4 -4
  107. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
  114. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +8 -8
  115. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +5 -5
  117. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
  118. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
  119. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
  121. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  123. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
  127. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  134. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  135. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  136. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  141. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  142. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-tab-list.cjs.entry.js +4 -4
  147. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  148. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  151. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  152. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  153. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  154. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  156. package/dist/cjs/gux-tabs.cjs.entry.js +17 -10
  157. package/dist/cjs/gux-tag.cjs.entry.js +3 -3
  158. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  160. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  161. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  163. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  164. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  165. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  166. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  167. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  169. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  170. package/dist/cjs/{index-D5thf2u6.js → index-B70cj_mt.js} +1 -1
  171. package/dist/cjs/{index-CHm5XAcv.js → index-Bg06NSGr.js} +1 -1
  172. package/dist/cjs/loader.cjs.js +1 -1
  173. package/dist/cjs/{on-click-outside-Chr0s06R.js → on-click-outside-C7QzaY-U.js} +1 -1
  174. package/dist/cjs/{on-mutation-Dqzzqx4O.js → on-mutation-BGv-KztU.js} +1 -1
  175. package/dist/cjs/{on-resize-BpfgkkSX.js → on-resize-BLxwEkoP.js} +1 -1
  176. package/dist/cjs/{usage-DUenABL4.js → usage-CpCTK2p7.js} +1 -1
  177. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +3 -3
  178. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +3 -3
  179. package/dist/collection/components/beta/gux-day/gux-day.js +2 -2
  180. package/dist/collection/components/beta/gux-popover-beta/gux-popover.css +3 -1
  181. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.css +3 -1
  182. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +2 -2
  183. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +2 -2
  184. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +2 -2
  185. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action.js +1 -1
  186. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +3 -3
  187. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +3 -3
  188. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
  189. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +2 -2
  190. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +5 -5
  191. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +3 -3
  192. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +2 -2
  193. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +3 -3
  194. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +3 -3
  195. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +5 -5
  196. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  197. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.css +8 -8
  198. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.css +7 -5
  199. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +15 -8
  200. package/dist/collection/components/stable/gux-toast/gux-toast.css +1 -1
  201. package/dist/collection/components/stable/gux-toast/tests/gux-toast.common.js +24 -0
  202. package/dist/collection/test/setupTests.js +2 -0
  203. package/dist/esm/genesys-webcomponents.js +2 -2
  204. package/dist/esm/{get-valid-timezone-oO4QNpQe.js → get-valid-timezone-CqkGEOgJ.js} +1 -1
  205. package/dist/esm/gux-accordion-section.entry.js +1 -1
  206. package/dist/esm/gux-accordion.entry.js +2 -2
  207. package/dist/esm/gux-action-button.entry.js +4 -4
  208. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  209. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +5 -5
  210. package/dist/esm/gux-all-row-select.entry.js +2 -2
  211. package/dist/esm/gux-announce-beta.entry.js +2 -2
  212. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  213. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  214. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  215. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +6 -6
  216. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  217. package/dist/esm/gux-avatar-group-item-beta.entry.js +4 -4
  218. package/dist/esm/gux-badge.entry.js +4 -4
  219. package/dist/esm/gux-blank-state.entry.js +3 -3
  220. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  221. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  222. package/dist/esm/gux-button-multi.entry.js +3 -3
  223. package/dist/esm/gux-button-slot.entry.js +2 -2
  224. package/dist/esm/gux-button_2.entry.js +3 -3
  225. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  226. package/dist/esm/gux-calendar.entry.js +3 -3
  227. package/dist/esm/gux-card.entry.js +2 -2
  228. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  229. package/dist/esm/gux-column-manager.entry.js +3 -3
  230. package/dist/esm/gux-content-search.entry.js +3 -3
  231. package/dist/esm/gux-context-menu.entry.js +6 -6
  232. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  233. package/dist/esm/gux-create-option.entry.js +2 -2
  234. package/dist/esm/gux-cta-group.entry.js +1 -1
  235. package/dist/esm/gux-date-beta.entry.js +4 -4
  236. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  237. package/dist/esm/gux-datepicker.entry.js +4 -4
  238. package/dist/esm/gux-day-beta.entry.js +3 -3
  239. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  240. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  241. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  242. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  243. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  244. package/dist/esm/gux-dropdown_3.entry.js +7 -7
  245. package/dist/esm/gux-file-list-item.entry.js +5 -5
  246. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  247. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  248. package/dist/esm/gux-form-beta.entry.js +1 -1
  249. package/dist/esm/gux-form-description.entry.js +1 -1
  250. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  251. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  252. package/dist/esm/gux-form-field-color.entry.js +5 -5
  253. package/dist/esm/{gux-form-field-container-DgKYW9Qw.js → gux-form-field-container-ClgiY2HW.js} +1 -1
  254. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  255. package/dist/esm/{gux-form-field-error-DD6w0Oyc.js → gux-form-field-error-5wcYvLGy.js} +1 -1
  256. package/dist/esm/{gux-form-field-fieldset-container-DhiSWuoa.js → gux-form-field-fieldset-container-DJ8M2zky.js} +1 -1
  257. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  258. package/dist/esm/gux-form-field-file.entry.js +5 -5
  259. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  260. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  261. package/dist/esm/gux-form-field-number_2.entry.js +11 -11
  262. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  263. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  264. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  265. package/dist/esm/gux-form-field-range.entry.js +6 -6
  266. package/dist/esm/gux-form-field-search.entry.js +5 -5
  267. package/dist/esm/gux-form-field-select.entry.js +5 -5
  268. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  269. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  270. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  271. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  272. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  273. package/dist/esm/gux-form-footer.entry.js +2 -2
  274. package/dist/esm/gux-form-heading.entry.js +1 -1
  275. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  276. package/dist/esm/gux-icon.entry.js +2 -2
  277. package/dist/esm/gux-inline-alert.entry.js +3 -3
  278. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  279. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  280. package/dist/esm/gux-link-beta.entry.js +2 -2
  281. package/dist/esm/gux-list-divider.entry.js +1 -1
  282. package/dist/esm/gux-list-item.entry.js +1 -1
  283. package/dist/esm/gux-list.entry.js +2 -2
  284. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  285. package/dist/esm/gux-loading-message.entry.js +2 -2
  286. package/dist/esm/gux-menu-option.entry.js +1 -1
  287. package/dist/esm/gux-menu.entry.js +1 -1
  288. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  289. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  290. package/dist/esm/gux-modal.entry.js +2 -2
  291. package/dist/esm/gux-month-calendar.entry.js +2 -2
  292. package/dist/esm/gux-month-list_2.entry.js +1 -1
  293. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  294. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  295. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  296. package/dist/esm/gux-option-icon.entry.js +1 -1
  297. package/dist/esm/gux-option-multi.entry.js +2 -2
  298. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  299. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  300. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  301. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  302. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  303. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  304. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  305. package/dist/esm/gux-pagination.entry.js +2 -2
  306. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  307. package/dist/esm/gux-popover-beta.entry.js +4 -4
  308. package/dist/esm/gux-popover-list-beta.entry.js +4 -4
  309. package/dist/esm/gux-popover-list.entry.js +3 -3
  310. package/dist/esm/gux-popup.entry.js +1 -1
  311. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  312. package/dist/esm/gux-radial-loading.entry.js +3 -3
  313. package/dist/esm/gux-radial-progress.entry.js +2 -2
  314. package/dist/esm/gux-rating.entry.js +2 -2
  315. package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
  316. package/dist/esm/gux-rich-style-list-item_3.entry.js +8 -8
  317. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  318. package/dist/esm/gux-rich-text-editor-action-link.entry.js +5 -5
  319. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
  320. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
  321. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  322. package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
  323. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  324. package/dist/esm/gux-row-select.entry.js +2 -2
  325. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  326. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  327. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  328. package/dist/esm/gux-select-all.entry.js +4 -4
  329. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  330. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  331. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  332. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  333. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  334. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  335. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  336. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  337. package/dist/esm/gux-sort-control.entry.js +3 -3
  338. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  339. package/dist/esm/gux-step-title.entry.js +2 -2
  340. package/dist/esm/gux-step.entry.js +2 -2
  341. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  342. package/dist/esm/gux-submenu.entry.js +1 -1
  343. package/dist/esm/gux-switch-item.entry.js +1 -1
  344. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  345. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  346. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  347. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  348. package/dist/esm/gux-tab-list.entry.js +4 -4
  349. package/dist/esm/gux-tab-panel.entry.js +1 -1
  350. package/dist/esm/gux-tab.entry.js +2 -2
  351. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  352. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  353. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  354. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  355. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  356. package/dist/esm/gux-table.entry.js +3 -3
  357. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  358. package/dist/esm/gux-tabs.entry.js +17 -10
  359. package/dist/esm/gux-tag.entry.js +3 -3
  360. package/dist/esm/gux-text-highlight.entry.js +2 -2
  361. package/dist/esm/gux-time-beta.entry.js +4 -4
  362. package/dist/esm/gux-time-picker.entry.js +4 -4
  363. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  364. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  365. package/dist/esm/gux-toast.entry.js +3 -3
  366. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  367. package/dist/esm/gux-toggle.entry.js +3 -3
  368. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  369. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  370. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  371. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  372. package/dist/esm/{index-F_cESGoM.js → index-BV-IVbgN.js} +1 -1
  373. package/dist/esm/{index-B3IebwTc.js → index-DwhPEI35.js} +1 -1
  374. package/dist/esm/loader.js +2 -2
  375. package/dist/esm/{on-click-outside-DE67Dfz-.js → on-click-outside-C3m9euRW.js} +1 -1
  376. package/dist/esm/{on-mutation-BAIJq4H7.js → on-mutation-DZgL9cUR.js} +1 -1
  377. package/dist/esm/{on-resize-iOKKJ58R.js → on-resize-Cu0Zf6O6.js} +1 -1
  378. package/dist/esm/{usage-B_8sb-Ua.js → usage-7hENZ6zq.js} +1 -1
  379. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  380. package/dist/genesys-webcomponents/genesys-webcomponents.css +5 -5
  381. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  382. package/dist/genesys-webcomponents/{p-3d83ddca.entry.js → p-0282bc51.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-9553f5e5.entry.js → p-034ac22f.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/p-039f5084.entry.js +1 -0
  385. package/dist/genesys-webcomponents/{p-8484b7ee.entry.js → p-05029300.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-891efe30.entry.js → p-0581e9f4.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-fc5755db.entry.js → p-05f28baf.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-c86627a5.entry.js → p-08940b18.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-3ee9300d.entry.js → p-097fe6dd.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-daed3ae8.entry.js → p-0abab76e.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-1450e20e.entry.js → p-0b0cabdf.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-ee95607f.entry.js → p-0b5ee6fd.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-2a210bec.entry.js → p-0be3b249.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-04d0f0ba.entry.js → p-0e627513.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-248b989d.entry.js → p-0f2c7e66.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-17e34433.entry.js → p-0ff0facb.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-1240840d.entry.js → p-119604b1.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-4e86588e.entry.js → p-1235d68f.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-b17d95fe.entry.js → p-12513b80.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-9f0871aa.entry.js → p-129aa62f.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-83b1d768.entry.js → p-136c2871.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-6eabd3e5.entry.js → p-1424a1a6.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-c0e4f20d.entry.js → p-14fe73a9.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-65a9fa8b.entry.js → p-171d96f3.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-6f49afd3.entry.js → p-17b46308.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-7a04cf69.entry.js → p-17f49d7e.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-1b271b9e.entry.js +1 -0
  408. package/dist/genesys-webcomponents/{p-fa9d6841.entry.js → p-1cfdbec4.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-176d052e.entry.js → p-1d5d0220.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-2b361941.entry.js → p-205e4224.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-e5aa2dcc.entry.js → p-219d9317.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-c02d52b3.entry.js → p-22dc8c6a.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/p-245c35fb.entry.js +1 -0
  414. package/dist/genesys-webcomponents/{p-d8cc3797.entry.js → p-24fa0a84.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-a3d45c90.entry.js → p-27004a12.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-d495aefc.entry.js → p-278fbf8b.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-c5b0d49a.entry.js → p-27e675b9.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-78a9d802.entry.js → p-27fef8f4.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/p-29369e81.entry.js +1 -0
  420. package/dist/genesys-webcomponents/{p-3a8062c5.entry.js → p-2a2f2e1a.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/p-2b3c7e84.entry.js +1 -0
  422. package/dist/genesys-webcomponents/{p-a1b9a48d.entry.js → p-2c2254eb.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-cae75e65.entry.js → p-2ca21fd8.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/p-2d87ab1c.entry.js +1 -0
  425. package/dist/genesys-webcomponents/{p-e8f6ad7b.entry.js → p-303457c6.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-45e7d42a.entry.js → p-30a37365.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-afb3ee63.entry.js → p-30cabb4f.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-076f0802.entry.js → p-31b8735d.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-c00ac05a.entry.js → p-322bd1e5.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-02179d00.entry.js → p-3555d61b.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-1b535cec.entry.js → p-36e2d90c.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-6fb65547.entry.js → p-3c4561b8.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-650d734f.entry.js → p-3ea973c4.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-2cb0c7e3.entry.js → p-3f07b851.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/p-3fd87ea2.entry.js +1 -0
  436. package/dist/genesys-webcomponents/p-44cac0c6.entry.js +1 -0
  437. package/dist/genesys-webcomponents/p-4670e91d.entry.js +1 -0
  438. package/dist/genesys-webcomponents/{p-a130f6d8.entry.js → p-47ed0229.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-53b00666.entry.js → p-4dedc994.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-8e9e35f3.entry.js → p-507a9f48.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-f912c17c.entry.js → p-5196e3fc.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-c98e3aa9.entry.js → p-53179083.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-572ac3a6.entry.js → p-544631bc.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/p-56ff611f.entry.js +1 -0
  445. package/dist/genesys-webcomponents/{p-92910afd.entry.js → p-57dc158b.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/p-5ea99943.entry.js +1 -0
  447. package/dist/genesys-webcomponents/{p-a34b7a8b.entry.js → p-6026014a.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-c8ae3191.entry.js → p-61378128.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-7ccf1433.entry.js → p-61f5aa3d.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-2b314fc7.entry.js → p-63b444b0.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-8d9989ff.entry.js → p-66f24cfe.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-499ab0fe.entry.js → p-689d695e.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-41953be9.entry.js → p-68c3e468.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-85bbf416.entry.js → p-696e6333.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-ef8e55d8.entry.js → p-6b428bcf.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-de2337f7.entry.js → p-6c4e81ba.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-5858c07b.entry.js → p-6e56db68.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-d4b7bd96.entry.js → p-6ec75168.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-3be8b91b.entry.js → p-6f787139.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-72a3eec8.entry.js → p-6fbbe594.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-7430063c.entry.js → p-7051d465.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-83901d2e.entry.js → p-73cdf1ad.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-01a232a3.entry.js → p-741c0546.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-82198a96.entry.js → p-763746ec.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-084028af.entry.js → p-775c67a5.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-50ae997d.entry.js → p-7a1f35c2.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-2bdd4c26.entry.js → p-7a271622.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-4771a4da.entry.js → p-7b3317b4.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-d3283227.entry.js → p-7c9a1494.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-16d46711.entry.js → p-7cb5d292.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-147c1c0c.entry.js → p-7cf24cb2.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-cc93c5e5.entry.js → p-7f26eeca.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-2efa1d9f.entry.js → p-7fc4a0ec.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-B_8sb-Ua.js → p-7hENZ6zq.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-a47072a2.entry.js → p-80f39789.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/p-84eda32b.entry.js +1 -0
  477. package/dist/genesys-webcomponents/{p-96bfadb2.entry.js → p-854fa096.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-ff7fccf0.entry.js → p-863baf8d.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-361720ed.entry.js → p-8728c0c5.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/p-8778d327.entry.js +1 -0
  481. package/dist/genesys-webcomponents/{p-e122931f.entry.js → p-8be27ef8.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-7d65e3b0.entry.js → p-8ccc1964.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-02a57a58.entry.js → p-8fb71cd2.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-c543d8c6.entry.js → p-8fff6b5b.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-ad0d0f26.entry.js → p-904159bb.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-5df1a8f2.entry.js → p-91d4eea2.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-bbdeba17.entry.js → p-92d911c6.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-c9f782dd.entry.js → p-93403670.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-7353e19e.entry.js → p-93870f59.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-32ebfc99.entry.js → p-955a73d2.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-05ec1027.entry.js → p-989e8bbb.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-73246690.entry.js → p-9bd87306.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-7759889b.entry.js → p-9e2e934f.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-496fb56f.entry.js → p-9ede8dc7.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-Cfybd-sk.js → p-AwOfWgBs.js} +1 -1
  496. package/dist/genesys-webcomponents/p-BV-IVbgN.js +2 -0
  497. package/dist/genesys-webcomponents/{p-DlfuHDsY.js → p-D2qRmt9m.js} +1 -1
  498. package/dist/genesys-webcomponents/p-DVr0aipj.js +1 -0
  499. package/dist/genesys-webcomponents/{p-D8pXkvhh.js → p-DYqNjg68.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-C9CXpn4r.js → p-DhWYb9XH.js} +1 -1
  501. package/dist/genesys-webcomponents/p-Dpee3S2g.js +1 -0
  502. package/dist/genesys-webcomponents/{p-Cope0Soh.js → p-Y0_f4QdZ.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-df2ad57d.entry.js → p-a15674a2.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-741be3b0.entry.js → p-a569e15a.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-39878eb0.entry.js → p-a7026b3e.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-274a89ae.entry.js → p-a852af38.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-5d0cebf5.entry.js → p-aa6a584d.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/p-ab90a3de.entry.js +1 -0
  509. package/dist/genesys-webcomponents/{p-4030587d.entry.js → p-ac513ce0.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-117e0eaf.entry.js → p-ac6f9d8d.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-a2df8a62.entry.js → p-b06ca330.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/p-ba74453b.entry.js +1 -0
  513. package/dist/genesys-webcomponents/{p-cff3ec8d.entry.js → p-bfdebd08.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-bc65e5e7.entry.js → p-c159b7af.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/p-c239c32e.entry.js +1 -0
  516. package/dist/genesys-webcomponents/{p-28d5b4af.entry.js → p-c57ae803.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-ec990cf4.entry.js → p-c62a6393.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-06298ec9.entry.js → p-c86bae03.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-5316e0d5.entry.js → p-c9489149.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-63cbfb71.entry.js → p-c9515322.entry.js} +2 -2
  521. package/dist/genesys-webcomponents/{p-031d0cd1.entry.js → p-cbcc02f0.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-d39140ff.entry.js → p-cd3d464d.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-dd2f3569.entry.js → p-cee9c61e.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-0b6e5e18.entry.js → p-cf85540c.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-1ddf156d.entry.js → p-d2f0d0d3.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-02bc2219.entry.js → p-d2f8fe90.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-25272391.entry.js → p-d4622649.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-d96f406d.entry.js → p-d476669e.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-1ba1c5b9.entry.js → p-d4b2391c.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-efc1091f.entry.js → p-d77f7fe1.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-092af24b.entry.js → p-daf18252.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-3d9af452.entry.js → p-de3dd6a9.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-6f793a0d.entry.js → p-decccfe9.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-beb95662.entry.js → p-def61709.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-9af127b1.entry.js → p-dfc6f763.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-43db30b9.entry.js → p-e1a4940c.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-a5ac4c87.entry.js → p-e4457310.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-d6ddd35e.entry.js → p-e4d6fca5.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-6981f2a1.entry.js → p-e718ea64.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-efff6588.entry.js → p-e72dbe81.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-f0d40240.entry.js → p-e773c80b.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-c9aacd51.entry.js → p-e7f56df0.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-eb523231.entry.js → p-e8146ba2.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-99d2dca8.entry.js → p-e81b5493.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-da0bdf5e.entry.js → p-e9422991.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-662d1314.entry.js → p-ea40f191.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-42363f69.entry.js → p-eb4a1630.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/p-ee7811b5.entry.js +1 -0
  549. package/dist/genesys-webcomponents/{p-61a3db90.entry.js → p-efb5aaab.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-df3a1378.entry.js → p-f0b2a767.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-c83f08f0.entry.js → p-f2cf1cab.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-0964381a.entry.js → p-f79089bd.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-c43e7866.entry.js → p-f993481f.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-0dbe01ca.entry.js → p-fb4f1e0b.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-CHLjAX_t.js → p-udmNfE4B.js} +1 -1
  556. package/dist/stencil-wrapper.js +1 -1
  557. package/dist/types/components/stable/gux-tabs/gux-tabs.d.ts +1 -0
  558. package/dist/types/stencil-wrapper.d.ts +1 -1
  559. package/dist/types/test/setupTests.d.ts +1 -12
  560. package/package.json +16 -17
  561. package/dist/genesys-webcomponents/p-022d4dc4.entry.js +0 -1
  562. package/dist/genesys-webcomponents/p-08846329.entry.js +0 -1
  563. package/dist/genesys-webcomponents/p-0a42b431.entry.js +0 -1
  564. package/dist/genesys-webcomponents/p-1c5812b8.entry.js +0 -1
  565. package/dist/genesys-webcomponents/p-1d578ad8.entry.js +0 -1
  566. package/dist/genesys-webcomponents/p-29a72569.entry.js +0 -1
  567. package/dist/genesys-webcomponents/p-473a5d34.entry.js +0 -1
  568. package/dist/genesys-webcomponents/p-52c6ce3a.entry.js +0 -1
  569. package/dist/genesys-webcomponents/p-5835765f.entry.js +0 -1
  570. package/dist/genesys-webcomponents/p-60b5054d.entry.js +0 -1
  571. package/dist/genesys-webcomponents/p-61bfe8a7.entry.js +0 -1
  572. package/dist/genesys-webcomponents/p-638b2c7d.entry.js +0 -1
  573. package/dist/genesys-webcomponents/p-80fbe498.entry.js +0 -1
  574. package/dist/genesys-webcomponents/p-92777bd8.entry.js +0 -1
  575. package/dist/genesys-webcomponents/p-BhmHefNZ.js +0 -1
  576. package/dist/genesys-webcomponents/p-F_cESGoM.js +0 -2
  577. package/dist/genesys-webcomponents/p-a07f82e9.entry.js +0 -1
  578. package/dist/genesys-webcomponents/p-f0bdffd2.entry.js +0 -1
  579. package/dist/genesys-webcomponents/p-ff6c9f82.entry.js +0 -1
  580. package/dist/genesys-webcomponents/p-jCEMafb_.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as n,a}from"./p-F_cESGoM.js";import{t as i}from"./p-B_8sb-Ua.js";const g=class{constructor(n){e(this,n)}componentWillLoad(){i(this.root)}render(){return n("div",{key:"6ceae67d1d15161e5bb7f7d4a388a690b29053d1",class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{key:"a026c51e83cdc1e4c50ce20641c3b05fd0694123",class:"gux-progress"},n("slot",{key:"88020bca69d225d414f4975e117cd8594f820d4b",name:"progress"})),n("div",{key:"659503a94494155170b6bce6b7b43562ae6df60a",class:"gux-primary-message"},n("slot",{key:"036124d7874cc20889d7f70c99860ff7dc7e8e21",name:"primary-message"})),n("div",{key:"95a2dd2b517fb5c85afda947eb66f1eb4cf4adb0",class:"gux-additional-guidance"},n("slot",{key:"346b97c157c1ede020aa484a8ed09fac7d93643c",name:"additional-guidance"})))}get root(){return a(this)}};g.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-inline-size: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{g as gux_loading_message}
1
+ import{r as e,h as n,a}from"./p-BV-IVbgN.js";import{t as i}from"./p-7hENZ6zq.js";const g=class{constructor(n){e(this,n)}componentWillLoad(){i(this.root)}render(){return n("div",{key:"6ceae67d1d15161e5bb7f7d4a388a690b29053d1",class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{key:"a026c51e83cdc1e4c50ce20641c3b05fd0694123",class:"gux-progress"},n("slot",{key:"88020bca69d225d414f4975e117cd8594f820d4b",name:"progress"})),n("div",{key:"659503a94494155170b6bce6b7b43562ae6df60a",class:"gux-primary-message"},n("slot",{key:"036124d7874cc20889d7f70c99860ff7dc7e8e21",name:"primary-message"})),n("div",{key:"95a2dd2b517fb5c85afda947eb66f1eb4cf4adb0",class:"gux-additional-guidance"},n("slot",{key:"346b97c157c1ede020aa484a8ed09fac7d93643c",name:"additional-guidance"})))}get root(){return a(this)}};g.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-inline-size: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{g as gux_loading_message}
@@ -1 +1 @@
1
- import{h as r,r as a,a as e}from"./p-F_cESGoM.js";import{b as s}from"./p-C9CXpn4r.js";import{t}from"./p-B_8sb-Ua.js";import"./p-Cd4R0amv.js";const o=({context:a="modal",screenreaderText:e})=>{let s=48,t=22;return"input"===a&&(s=16,t=7),r("div",{class:`gux-${a}`,role:"progressbar","aria-label":e},r("svg",{class:"gux-svg-container",viewBox:`0 0 ${s} ${s}`,role:"presentation"},r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-static-circle"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle","stroke-linecap":"round"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle-mask","stroke-linecap":"round"})))};var n={loading:"Loading"};const i=class{constructor(r){a(this,r),this.context="modal",this.screenreaderText=""}async componentWillLoad(){t(this.root,{variant:this.context}),this.getI18nValue=await s(this.root,n)}render(){return r(o,{key:"9c7c630946e59bc3fcad53fba5aab44065439766",context:this.context,screenreaderText:this.screenreaderText||this.getI18nValue("loading")})}get root(){return e(this)}};i.style="@keyframes largeSpin{0%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}7.5%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}20%{stroke-dasharray:1 68.115038379;transform:rotate(90deg)}30%{stroke-dasharray:34.5575191895;transform:rotate(180deg)}40%{stroke-dasharray:34.5575191895}50%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}57.5%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}70%{stroke-dasharray:34.5575191895;transform:rotate(540deg)}80%{stroke-dasharray:34.5575191895;transform:rotate(630deg)}90%{stroke-dasharray:34.5575191895}100%{stroke-dasharray:1 68.115038379;transform:rotate(900deg)}}@keyframes smallSpin{0%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}7.5%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}20%{stroke-dasharray:1 20.9911485751;transform:rotate(90deg)}30%{stroke-dasharray:10.9955742876;transform:rotate(180deg)}40%{stroke-dasharray:10.9955742876}50%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}57.5%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}70%{stroke-dasharray:10.9955742876;transform:rotate(540deg)}80%{stroke-dasharray:10.9955742876;transform:rotate(630deg)}90%{stroke-dasharray:10.9955742876}100%{stroke-dasharray:1 20.9911485751;transform:rotate(900deg)}}@keyframes largeThinSpin{0%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}7.5%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}20%{stroke-dasharray:1 71.2566310326;transform:rotate(90deg)}30%{stroke-dasharray:36.1283155163;transform:rotate(180deg)}40%{stroke-dasharray:36.1283155163}50%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}57.5%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}70%{stroke-dasharray:36.1283155163;transform:rotate(540deg)}80%{stroke-dasharray:36.1283155163;transform:rotate(630deg)}90%{stroke-dasharray:36.1283155163}100%{stroke-dasharray:1 71.2566310326;transform:rotate(900deg)}}:host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle,div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform-origin:50% 50%;animation-name:largeSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{display:none;stroke:var(--gse-semantic-background-container-page-default);stroke-width:2}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar].gux-full-page .gux-svg-container .gux-dynamic-circle-mask{display:initial}div[role=progressbar].gux-full-page .gux-svg-container .gux-static-circle{display:none}div[role=progressbar].gux-input .gux-svg-container{inline-size:var(--gse-ui-progressAndLoading-spinner-small);block-size:var(--gse-ui-progressAndLoading-spinner-small)}div[role=progressbar].gux-input .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:2;transform-origin:50% 50%;animation-name:smallSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar].gux-input .gux-svg-container .gux-static-circle{stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:2}";export{i as gux_radial_loading}
1
+ import{h as r,r as a,a as e}from"./p-BV-IVbgN.js";import{b as s}from"./p-DhWYb9XH.js";import{t}from"./p-7hENZ6zq.js";import"./p-Cd4R0amv.js";const o=({context:a="modal",screenreaderText:e})=>{let s=48,t=22;return"input"===a&&(s=16,t=7),r("div",{class:`gux-${a}`,role:"progressbar","aria-label":e},r("svg",{class:"gux-svg-container",viewBox:`0 0 ${s} ${s}`,role:"presentation"},r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-static-circle"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle","stroke-linecap":"round"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle-mask","stroke-linecap":"round"})))};var n={loading:"Loading"};const i=class{constructor(r){a(this,r),this.context="modal",this.screenreaderText=""}async componentWillLoad(){t(this.root,{variant:this.context}),this.getI18nValue=await s(this.root,n)}render(){return r(o,{key:"9c7c630946e59bc3fcad53fba5aab44065439766",context:this.context,screenreaderText:this.screenreaderText||this.getI18nValue("loading")})}get root(){return e(this)}};i.style="@keyframes largeSpin{0%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}7.5%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}20%{stroke-dasharray:1 68.115038379;transform:rotate(90deg)}30%{stroke-dasharray:34.5575191895;transform:rotate(180deg)}40%{stroke-dasharray:34.5575191895}50%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}57.5%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}70%{stroke-dasharray:34.5575191895;transform:rotate(540deg)}80%{stroke-dasharray:34.5575191895;transform:rotate(630deg)}90%{stroke-dasharray:34.5575191895}100%{stroke-dasharray:1 68.115038379;transform:rotate(900deg)}}@keyframes smallSpin{0%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}7.5%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}20%{stroke-dasharray:1 20.9911485751;transform:rotate(90deg)}30%{stroke-dasharray:10.9955742876;transform:rotate(180deg)}40%{stroke-dasharray:10.9955742876}50%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}57.5%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}70%{stroke-dasharray:10.9955742876;transform:rotate(540deg)}80%{stroke-dasharray:10.9955742876;transform:rotate(630deg)}90%{stroke-dasharray:10.9955742876}100%{stroke-dasharray:1 20.9911485751;transform:rotate(900deg)}}@keyframes largeThinSpin{0%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}7.5%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}20%{stroke-dasharray:1 71.2566310326;transform:rotate(90deg)}30%{stroke-dasharray:36.1283155163;transform:rotate(180deg)}40%{stroke-dasharray:36.1283155163}50%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}57.5%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}70%{stroke-dasharray:36.1283155163;transform:rotate(540deg)}80%{stroke-dasharray:36.1283155163;transform:rotate(630deg)}90%{stroke-dasharray:36.1283155163}100%{stroke-dasharray:1 71.2566310326;transform:rotate(900deg)}}:host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle,div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform-origin:50% 50%;animation-name:largeSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{display:none;stroke:var(--gse-semantic-background-container-page-default);stroke-width:2}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar].gux-full-page .gux-svg-container .gux-dynamic-circle-mask{display:initial}div[role=progressbar].gux-full-page .gux-svg-container .gux-static-circle{display:none}div[role=progressbar].gux-input .gux-svg-container{inline-size:var(--gse-ui-progressAndLoading-spinner-small);block-size:var(--gse-ui-progressAndLoading-spinner-small)}div[role=progressbar].gux-input .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:2;transform-origin:50% 50%;animation-name:smallSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar].gux-input .gux-svg-container .gux-static-circle{stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:2}";export{i as gux_radial_loading}
@@ -1 +1 @@
1
- import{r as e,h as n,a}from"./p-F_cESGoM.js";import{t}from"./p-B_8sb-Ua.js";import{O as i}from"./p-BhmHefNZ.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"552956046140956fafb09eef24724eedca205f2c",class:"gux-container"},n("div",{key:"7085f843ea70d6e20f1fd114aaa0f916e78702f8",class:"gux-image"},n("slot",{key:"31dec09402b2ca8f0ab388466d534706783fe900",name:"image"})),n("div",{key:"86be542b754b1cf257f01a0842f2777238b83f3b",class:"gux-message"},n("slot",{key:"1809ba5287c136a995e5ec882327a94cb4e40599",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
1
+ import{r as e,h as n,a}from"./p-BV-IVbgN.js";import{t}from"./p-7hENZ6zq.js";import{O as i}from"./p-Dpee3S2g.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"552956046140956fafb09eef24724eedca205f2c",class:"gux-container"},n("div",{key:"7085f843ea70d6e20f1fd114aaa0f916e78702f8",class:"gux-image"},n("slot",{key:"31dec09402b2ca8f0ab388466d534706783fe900",name:"image"})),n("div",{key:"86be542b754b1cf257f01a0842f2777238b83f3b",class:"gux-message"},n("slot",{key:"1809ba5287c136a995e5ec882327a94cb4e40599",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
@@ -1 +1 @@
1
- import{r as e,f as t,h as a,a as s}from"./p-F_cESGoM.js";import{q as n}from"./p-B10WAyAx.js";import{g as i,a as r,b as o}from"./p-C9CXpn4r.js";import{a as d}from"./p-Bg4q97BS.js";import{a as u}from"./p-DxtJDeL9.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{year:"numeric",month:"long"})}class c{constructor(e){this.writeTarget=e.writeTo,this.mappings=e.mappings,this.observer=new MutationObserver((e=>{e.forEach((e=>{this.syncAttribute(e.attributeName)}))})),this.setSourceElement(e.readFrom)}setSourceElement(e){this.observer.disconnect(),this.sourceElement=e,this.syncAll(),this.observer.observe(e,{attributes:!0,attributeFilter:Object.keys(this.mappings)})}disconnect(){this.observer.disconnect()}syncAll(){Object.keys(this.mappings).forEach((e=>{this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}))}syncAttribute(e){this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}}var g={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const x=class{constructor(t){e(this,t),this.focusDate=n.Now.plainDateISO(),this.disabled=!1,this.locale="en",this.MONTH_DATE_COUNT=42}async guxForceUpdate(){t(this.root)}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||u(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=i(this.root),this.startDayOfWeek=this.startDayOfWeek||r(this.locale),this.i18n=await o(this.root,g);const e=this.getSelectedDate();e&&(this.focusDate=e),this.attributeSynchronizer=new c({readFrom:this.slottedInput,writeTo:this,mappings:{min:e=>e?n.PlainDate.from(e):void 0,max:e=>e?n.PlainDate.from(e):void 0,disabled:e=>e}})}onSlotChange(){this.attributeSynchronizer.setSourceElement(this.slottedInput)}async disconnectedCallback(){this.attributeSynchronizer.disconnect()}detectDayClick(e){if("GUX-DAY-BETA"!==e.target.tagName)return;const t=n.PlainDate.from(e.target.day);this.selectDate(t),e.stopPropagation()}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}selectDate(e){if(this.isInvalidDate(e))return;const t=e.toString();this.slottedInput.value=t,this.focusDate=e,this.focusOnFocusDate(),h(this.root,"input"),h(this.root,"change")}shiftFocusDate(e){const t=n.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==n.PlainDate.compare(a,this.min)?a=this.min:this.max&&1==n.PlainDate.compare(a,this.max)&&(a=this.max),this.focusDate=a}focusOnFocusDate(){d((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}onKeyDown(e){switch(e.key){case" ":break;case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}isInvalidDate(e){return this.min&&-1==n.PlainDate.compare(e,this.min)||this.max&&1==n.PlainDate.compare(e,this.max)}getMonthDays(){const e=n.Now.plainDateISO(),t=(a=this.getFocusDate(),n.PlainDate.from({day:1,month:a.month,year:a.year}));var a;const s=[];let i={dates:[]},r=0;const o=t.month,d=this.getSelectedDate();let u=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(s.push(i),i={dates:[]}),i.dates.push({date:n.PlainDate.from(u),disabled:this.isInvalidDate(u),inCurrentMonth:o===u.month,selected:null==d?void 0:d.equals(u),focused:this.getFocusDate().equals(u),isCurrentDate:u.equals(e)}),r+=1,u=u.add({days:1});return s}getFocusDate(){return this.focusDate}getSelectedDate(){return this.slottedInput.value?n.PlainDate.from(this.slottedInput.value):null}renderHeader(){return a("div",{class:"gux-header"},a("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.getFocusDate().add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),a("span",{class:"gux-header-month-and-year"},l(this.getFocusDate(),this.locale)),a("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.getFocusDate().add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"})))}renderContent(){return a("div",{onKeyDown:e=>{this.onKeyDown(e)},onClick:e=>{this.detectDayClick(e)}},a("div",{class:"gux-content"},a("div",{class:"gux-week-days"},function(e,t){const a=[],s=new Date(1970,0,4);for(let t=0;t<7;t++){const t=s.toLocaleString(e,{weekday:"narrow"});a.push(t),s.setDate(s.getDate()+1)}return(n=a).concat(n.splice(0,t%n.length));var n}(this.locale,this.startDayOfWeek).map((e=>a("div",{class:"gux-week-day"},e)))),a("div",null,this.getMonthDays().map((e=>a("div",{class:"gux-content-week"},e.dates.map((e=>{const t=e.date.toString();return a("gux-day-beta",{day:t,"aria-current":e.selected?"true":"false",disabled:!!e.disabled,tabindex:e.selected||e.focused?"0":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${t} \n `})}))))))))}render(){return a("div",{key:"1da41ece22aace32e14be09942b85ed17a92ee60",class:"gux-calendar-beta "+(this.disabled?"gux-disabled":"")},a("slot",{key:"6ab2911fc37e3157a24a4e1c746e8b5de0d2c769",onSlotchange:()=>{this.onSlotChange()}}),this.renderHeader(),this.renderContent())}get root(){return s(this)}};x.style=".gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{x as gux_calendar_beta}
1
+ import{r as e,f as t,h as a,a as s}from"./p-BV-IVbgN.js";import{q as n}from"./p-B10WAyAx.js";import{g as i,a as r,b as o}from"./p-DhWYb9XH.js";import{a as d}from"./p-Bg4q97BS.js";import{a as u}from"./p-DxtJDeL9.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{year:"numeric",month:"long"})}class c{constructor(e){this.writeTarget=e.writeTo,this.mappings=e.mappings,this.observer=new MutationObserver((e=>{e.forEach((e=>{this.syncAttribute(e.attributeName)}))})),this.setSourceElement(e.readFrom)}setSourceElement(e){this.observer.disconnect(),this.sourceElement=e,this.syncAll(),this.observer.observe(e,{attributes:!0,attributeFilter:Object.keys(this.mappings)})}disconnect(){this.observer.disconnect()}syncAll(){Object.keys(this.mappings).forEach((e=>{this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}))}syncAttribute(e){this.writeTarget[e]=this.mappings[e](this.sourceElement[e])}}var g={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const x=class{constructor(t){e(this,t),this.focusDate=n.Now.plainDateISO(),this.disabled=!1,this.locale="en",this.MONTH_DATE_COUNT=42}async guxForceUpdate(){t(this.root)}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||u(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=i(this.root),this.startDayOfWeek=this.startDayOfWeek||r(this.locale),this.i18n=await o(this.root,g);const e=this.getSelectedDate();e&&(this.focusDate=e),this.attributeSynchronizer=new c({readFrom:this.slottedInput,writeTo:this,mappings:{min:e=>e?n.PlainDate.from(e):void 0,max:e=>e?n.PlainDate.from(e):void 0,disabled:e=>e}})}onSlotChange(){this.attributeSynchronizer.setSourceElement(this.slottedInput)}async disconnectedCallback(){this.attributeSynchronizer.disconnect()}detectDayClick(e){if("GUX-DAY-BETA"!==e.target.tagName)return;const t=n.PlainDate.from(e.target.day);this.selectDate(t),e.stopPropagation()}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}selectDate(e){if(this.isInvalidDate(e))return;const t=e.toString();this.slottedInput.value=t,this.focusDate=e,this.focusOnFocusDate(),h(this.root,"input"),h(this.root,"change")}shiftFocusDate(e){const t=n.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==n.PlainDate.compare(a,this.min)?a=this.min:this.max&&1==n.PlainDate.compare(a,this.max)&&(a=this.max),this.focusDate=a}focusOnFocusDate(){d((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}onKeyDown(e){switch(e.key){case" ":break;case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}isInvalidDate(e){return this.min&&-1==n.PlainDate.compare(e,this.min)||this.max&&1==n.PlainDate.compare(e,this.max)}getMonthDays(){const e=n.Now.plainDateISO(),t=(a=this.getFocusDate(),n.PlainDate.from({day:1,month:a.month,year:a.year}));var a;const s=[];let i={dates:[]},r=0;const o=t.month,d=this.getSelectedDate();let u=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(s.push(i),i={dates:[]}),i.dates.push({date:n.PlainDate.from(u),disabled:this.isInvalidDate(u),inCurrentMonth:o===u.month,selected:null==d?void 0:d.equals(u),focused:this.getFocusDate().equals(u),isCurrentDate:u.equals(e)}),r+=1,u=u.add({days:1});return s}getFocusDate(){return this.focusDate}getSelectedDate(){return this.slottedInput.value?n.PlainDate.from(this.slottedInput.value):null}renderHeader(){return a("div",{class:"gux-header"},a("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.getFocusDate().add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),a("span",{class:"gux-header-month-and-year"},l(this.getFocusDate(),this.locale)),a("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.getFocusDate().add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},a("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"})))}renderContent(){return a("div",{onKeyDown:e=>{this.onKeyDown(e)},onClick:e=>{this.detectDayClick(e)}},a("div",{class:"gux-content"},a("div",{class:"gux-week-days"},function(e,t){const a=[],s=new Date(1970,0,4);for(let t=0;t<7;t++){const t=s.toLocaleString(e,{weekday:"narrow"});a.push(t),s.setDate(s.getDate()+1)}return(n=a).concat(n.splice(0,t%n.length));var n}(this.locale,this.startDayOfWeek).map((e=>a("div",{class:"gux-week-day"},e)))),a("div",null,this.getMonthDays().map((e=>a("div",{class:"gux-content-week"},e.dates.map((e=>{const t=e.date.toString();return a("gux-day-beta",{day:t,"aria-current":e.selected?"true":"false",disabled:!!e.disabled,tabindex:e.selected||e.focused?"0":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${t} \n `})}))))))))}render(){return a("div",{key:"1da41ece22aace32e14be09942b85ed17a92ee60",class:"gux-calendar-beta "+(this.disabled?"gux-disabled":"")},a("slot",{key:"6ab2911fc37e3157a24a4e1c746e8b5de0d2c769",onSlotchange:()=>{this.onSlotChange()}}),this.renderHeader(),this.renderContent())}get root(){return s(this)}};x.style=".gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{x as gux_calendar_beta}
@@ -1 +1 @@
1
- import{r as t,h as s,a as o}from"./p-F_cESGoM.js";import{l as a}from"./p-DxtJDeL9.js";const e=class{constructor(s){t(this,s),this.align="start",this.dangerous=!1}validatePrimarySlot(t){t?(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)||a(this.root,"You must slot a button element in the primary slot."),this.dangerous?t.accent="danger":"primary"!==t.accent&&(t.accent="primary")):a(this.root,"You must slot a primary CTA.")}validateSecondarySlot(t){t&&(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)?"secondary"!==t.accent&&(t.accent="secondary"):a(this.root,"You must slot a button element in the secondary slot."))}validateDismissSlot(t){t&&(["GUX-BUTTON","GUX-BUTTON-SLOT"].includes(t.tagName)?"ghost"!==t.accent&&(t.accent="ghost"):a(this.root,"You must slot a gux-button or gux-button-slot in the dismiss slot."))}componentWillLoad(){this.validatePrimarySlot(this.root.querySelector("[slot=primary]")),this.validateSecondarySlot(this.root.querySelector("[slot=secondary]")),this.validateDismissSlot(this.root.querySelector("[slot=dismiss]"))}render(){return s("div",{key:"2d0d16094015def93abded1fa432a367fb2eccf1",class:`gux-cta-group gux-${this.align}-align`},s("slot",{key:"33058a762539821802457d1544d141ed2fe6d3b2",name:"primary"}),s("slot",{key:"98c7963a90bef02f28b003666b1037d7442c181a",name:"secondary"}),s("slot",{key:"f1f9a8c8a2070a5ea3f918d819e642b32e4e9a37",name:"dismiss"}))}get root(){return o(this)}};e.style=":host{display:block}.gux-cta-group{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-ctaGroup-gap);justify-content:start}.gux-cta-group.gux-end-align{flex-direction:row-reverse;justify-content:end}.gux-cta-group ::slotted(gux-button){flex:0 1 auto;min-inline-size:0}";export{e as gux_cta_group}
1
+ import{r as t,h as s,a as o}from"./p-BV-IVbgN.js";import{l as a}from"./p-DxtJDeL9.js";const e=class{constructor(s){t(this,s),this.align="start",this.dangerous=!1}validatePrimarySlot(t){t?(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)||a(this.root,"You must slot a button element in the primary slot."),this.dangerous?t.accent="danger":"primary"!==t.accent&&(t.accent="primary")):a(this.root,"You must slot a primary CTA.")}validateSecondarySlot(t){t&&(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)?"secondary"!==t.accent&&(t.accent="secondary"):a(this.root,"You must slot a button element in the secondary slot."))}validateDismissSlot(t){t&&(["GUX-BUTTON","GUX-BUTTON-SLOT"].includes(t.tagName)?"ghost"!==t.accent&&(t.accent="ghost"):a(this.root,"You must slot a gux-button or gux-button-slot in the dismiss slot."))}componentWillLoad(){this.validatePrimarySlot(this.root.querySelector("[slot=primary]")),this.validateSecondarySlot(this.root.querySelector("[slot=secondary]")),this.validateDismissSlot(this.root.querySelector("[slot=dismiss]"))}render(){return s("div",{key:"2d0d16094015def93abded1fa432a367fb2eccf1",class:`gux-cta-group gux-${this.align}-align`},s("slot",{key:"33058a762539821802457d1544d141ed2fe6d3b2",name:"primary"}),s("slot",{key:"98c7963a90bef02f28b003666b1037d7442c181a",name:"secondary"}),s("slot",{key:"f1f9a8c8a2070a5ea3f918d819e642b32e4e9a37",name:"dismiss"}))}get root(){return o(this)}};e.style=":host{display:block}.gux-cta-group{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-ctaGroup-gap);justify-content:start}.gux-cta-group.gux-end-align{flex-direction:row-reverse;justify-content:end}.gux-cta-group ::slotted(gux-button){flex:0 1 auto;min-inline-size:0}";export{e as gux_cta_group}
@@ -1 +1 @@
1
- import{r as t,c as a,h as s,H as i,a as e}from"./p-F_cESGoM.js";import{t as h}from"./p-B_8sb-Ua.js";const c=class{constructor(s){t(this,s),this.guxactivetabchange=a(this,"guxactivetabchange",7),this.tabPanels=[]}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,a]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=a.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,a,s){var i;this.activeTab=t||(null===(i=null==a?void 0:a.querySelector("gux-tab-advanced"))||void 0===i?void 0:i.getAttribute("tab-id")),a.guxSetActive(this.activeTab),s.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){h(this.root)}render(){return s(i,{key:"6e6da9d1033ccfd3ba33a5f85265aa8f91ecbc73"},s("slot",{key:"b8f3b57c7921e78be50e800023788e9aca3a23ec",name:"tab-list"}),s("slot",{key:"f2ee5d9a5b62e745124e565ba3eb162f8bc8bb40",onSlotchange:this.onSlotchange.bind(this)}))}get root(){return e(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};export{c as gux_tabs_advanced}
1
+ import{r as t,c as a,h as s,H as i,a as e}from"./p-BV-IVbgN.js";import{t as h}from"./p-7hENZ6zq.js";const c=class{constructor(s){t(this,s),this.guxactivetabchange=a(this,"guxactivetabchange",7),this.tabPanels=[]}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,a]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=a.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,a,s){var i;this.activeTab=t||(null===(i=null==a?void 0:a.querySelector("gux-tab-advanced"))||void 0===i?void 0:i.getAttribute("tab-id")),a.guxSetActive(this.activeTab),s.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){h(this.root)}render(){return s(i,{key:"6e6da9d1033ccfd3ba33a5f85265aa8f91ecbc73"},s("slot",{key:"b8f3b57c7921e78be50e800023788e9aca3a23ec",name:"tab-list"}),s("slot",{key:"f2ee5d9a5b62e745124e565ba3eb162f8bc8bb40",onSlotchange:this.onSlotchange.bind(this)}))}get root(){return e(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};export{c as gux_tabs_advanced}
@@ -1 +1 @@
1
- import{r as t,h as e,a as i}from"./p-F_cESGoM.js";import{l as o}from"./p-DxtJDeL9.js";import{O as n}from"./p-BhmHefNZ.js";import{O as s}from"./p-jCEMafb_.js";var r=function(t,e,i,o){var n,s=arguments.length,r=s<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 l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const l=class{constructor(e){t(this,e),this.hasTooltip=!1,this.showTooltip=!1,this.iconOnly=!1,this.titleName=""}onmouseenter(t){t.buttons||(this.showTooltip=!0)}onmouseleave(){this.showTooltip=!1}onmousedown(){this.showTooltip=!1}async setShowTooltip(){this.tooltipElement&&(this.showTooltip=!0,await this.tooltipElement.showTooltip())}async setHideTooltip(){this.tooltipElement&&(this.showTooltip=!1,await this.tooltipElement.hideTooltip())}onMutation(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}onResize(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}componentWillLoad(){this.titleName=this.setTooltipTitleText()}componentDidLoad(){this.logWarnNoIconSrText()}logWarnNoIconSrText(){this.iconOnly&&!this.titleName&&o(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.")}addIconDecorative(){this.root.classList.add("gux-tooltip-icon-decorative")}getTitleElements(){var t;const e=this.root.querySelector("slot"),i=null===(t=this.root.querySelector(".gux-title-container span"))||void 0===t?void 0:t.children;return e?e.assignedElements():i?Array.from(i):[]}getTitleTextContent(){return this.root.querySelector("slot")?this.root.querySelector("slot").assignedNodes().map((t=>t.textContent.trim())).join(""):this.root.querySelector(".gux-title-container")?this.root.querySelector(".gux-title-container").textContent.trim():""}setTooltipTitleText(){let t=this.getTitleTextContent();return this.getTitleElements().forEach((e=>{"GUX-ICON"!==e.tagName||this.getTitleTextContent()?"GUX-ICON"===e.tagName&&this.getTitleTextContent()&&this.addIconDecorative():(this.iconOnly=!0,t=e.getAttribute("screenreader-text"))})),t}checkForTooltipHideOrShow(){const t=this.root.querySelector(".gux-title-container");this.root.classList.remove("gux-overflow-hidden"),this.iconOnly&&this.titleName?this.hasTooltip=!0:(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)?(this.root.classList.add("gux-overflow-hidden"),this.hasTooltip=!0):this.hasTooltip=!1}render(){return[e("span",{key:"4a53be69e77b5c61b7c6e58da475763e0a34ec9a",class:{"gux-title-container":!0,"gux-icon-only":this.iconOnly}},e("slot",{key:"21e934fc21d1353dad70e75383ab14c8c885156a"})),this.renderTooltip()]}renderTooltip(){if(this.hasTooltip)return e("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t,hidden:!this.showTooltip},e("div",{slot:"content"},this.titleName))}get root(){return i(this)}};r([n({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),r([s()],l.prototype,"onResize",null),l.style="gux-tooltip-title{overflow:hidden}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-overflow-hidden .gux-title-container ::slotted(span){overflow:hidden;text-overflow:ellipsis}.gux-overflow-hidden .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}.gux-title-container{display:flex;pointer-events:none}.gux-tooltip-icon-decorative .gux-title-container{position:relative;margin-inline-start:20px}.gux-tooltip-icon-decorative .gux-title-container gux-icon,.gux-tooltip-icon-decorative .gux-title-container ::slotted(gux-icon){position:absolute;inset-block-start:1px;inset-inline-start:-20px;flex-shrink:0;inline-size:16px;block-size:16px}.gux-icon-only{line-height:0px}";export{l as gux_tooltip_title}
1
+ import{r as t,h as e,a as i}from"./p-BV-IVbgN.js";import{l as o}from"./p-DxtJDeL9.js";import{O as n}from"./p-Dpee3S2g.js";import{O as s}from"./p-DVr0aipj.js";var r=function(t,e,i,o){var n,s=arguments.length,r=s<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 l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const l=class{constructor(e){t(this,e),this.hasTooltip=!1,this.showTooltip=!1,this.iconOnly=!1,this.titleName=""}onmouseenter(t){t.buttons||(this.showTooltip=!0)}onmouseleave(){this.showTooltip=!1}onmousedown(){this.showTooltip=!1}async setShowTooltip(){this.tooltipElement&&(this.showTooltip=!0,await this.tooltipElement.showTooltip())}async setHideTooltip(){this.tooltipElement&&(this.showTooltip=!1,await this.tooltipElement.hideTooltip())}onMutation(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}onResize(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}componentWillLoad(){this.titleName=this.setTooltipTitleText()}componentDidLoad(){this.logWarnNoIconSrText()}logWarnNoIconSrText(){this.iconOnly&&!this.titleName&&o(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.")}addIconDecorative(){this.root.classList.add("gux-tooltip-icon-decorative")}getTitleElements(){var t;const e=this.root.querySelector("slot"),i=null===(t=this.root.querySelector(".gux-title-container span"))||void 0===t?void 0:t.children;return e?e.assignedElements():i?Array.from(i):[]}getTitleTextContent(){return this.root.querySelector("slot")?this.root.querySelector("slot").assignedNodes().map((t=>t.textContent.trim())).join(""):this.root.querySelector(".gux-title-container")?this.root.querySelector(".gux-title-container").textContent.trim():""}setTooltipTitleText(){let t=this.getTitleTextContent();return this.getTitleElements().forEach((e=>{"GUX-ICON"!==e.tagName||this.getTitleTextContent()?"GUX-ICON"===e.tagName&&this.getTitleTextContent()&&this.addIconDecorative():(this.iconOnly=!0,t=e.getAttribute("screenreader-text"))})),t}checkForTooltipHideOrShow(){const t=this.root.querySelector(".gux-title-container");this.root.classList.remove("gux-overflow-hidden"),this.iconOnly&&this.titleName?this.hasTooltip=!0:(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)?(this.root.classList.add("gux-overflow-hidden"),this.hasTooltip=!0):this.hasTooltip=!1}render(){return[e("span",{key:"4a53be69e77b5c61b7c6e58da475763e0a34ec9a",class:{"gux-title-container":!0,"gux-icon-only":this.iconOnly}},e("slot",{key:"21e934fc21d1353dad70e75383ab14c8c885156a"})),this.renderTooltip()]}renderTooltip(){if(this.hasTooltip)return e("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t,hidden:!this.showTooltip},e("div",{slot:"content"},this.titleName))}get root(){return i(this)}};r([n({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),r([s()],l.prototype,"onResize",null),l.style="gux-tooltip-title{overflow:hidden}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-overflow-hidden .gux-title-container ::slotted(span){overflow:hidden;text-overflow:ellipsis}.gux-overflow-hidden .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}.gux-title-container{display:flex;pointer-events:none}.gux-tooltip-icon-decorative .gux-title-container{position:relative;margin-inline-start:20px}.gux-tooltip-icon-decorative .gux-title-container gux-icon,.gux-tooltip-icon-decorative .gux-title-container ::slotted(gux-icon){position:absolute;inset-block-start:1px;inset-inline-start:-20px;flex-shrink:0;inline-size:16px;block-size:16px}.gux-icon-only{line-height:0px}";export{l as gux_tooltip_title}
@@ -1 +1 @@
1
- import{r as t,c as o,h as i,a as s,H as e}from"./p-F_cESGoM.js";const n=/[-/\\^$*+?.()|[\]{}]/g,r=class{constructor(i){t(this,i),this.selectedChanged=o(this,"selectedChanged",7)}getDisplayedValue(){return Promise.resolve(this.text)}shouldFilter(t){if(this.highlight=t,this.highlightIndex=-1,!t)return Promise.resolve(!1);const o=new RegExp(t.replace(n,"\\$&"),"gi").exec(this.text),i=null===o;return i||(this.highlightIndex=o.index),Promise.resolve(i)}componentDidLoad(){this.root.onclick=()=>{this.onItemClicked()},this.root.onkeydown=t=>{switch(t.key){case" ":case"Enter":this.selected=!0,this.selectedChanged.emit(this.value)}}}hostData(){return{tabindex:"0"}}__stencil_render(){return i("div",{key:"f725c7472c496316e8d7bf04a94dda49a1ae5c0f",class:"gux-dropdown-option",title:this.text},this.textWithHighlights())}textWithHighlights(){if(!this.highlight||!this.text)return i("span",null,this.text);if(this.highlightIndex<0)return i("span",null,this.text);const t=this.text.substring(0,this.highlightIndex),o=this.text.substring(this.highlightIndex,this.highlightIndex+this.highlight.length),s=this.text.substring(t.length+this.highlight.length);return i("span",null,t,i("strong",null,o),s)}onItemClicked(){this.selected=!0,this.selectedChanged.emit(this.value)}get root(){return s(this)}render(){return i(e,this.hostData(),this.__stencil_render())}};r.style="gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option[disabled=false]{pointer-events:auto;cursor:pointer;opacity:1}gux-dropdown-option:not(:disabled)[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not(:disabled):hover,gux-dropdown-option:not(:disabled):focus-visible{color:#fdfdfd;background:#2a60c8}";export{r as gux_dropdown_option}
1
+ import{r as t,c as o,h as i,a as s,H as e}from"./p-BV-IVbgN.js";const n=/[-/\\^$*+?.()|[\]{}]/g,r=class{constructor(i){t(this,i),this.selectedChanged=o(this,"selectedChanged",7)}getDisplayedValue(){return Promise.resolve(this.text)}shouldFilter(t){if(this.highlight=t,this.highlightIndex=-1,!t)return Promise.resolve(!1);const o=new RegExp(t.replace(n,"\\$&"),"gi").exec(this.text),i=null===o;return i||(this.highlightIndex=o.index),Promise.resolve(i)}componentDidLoad(){this.root.onclick=()=>{this.onItemClicked()},this.root.onkeydown=t=>{switch(t.key){case" ":case"Enter":this.selected=!0,this.selectedChanged.emit(this.value)}}}hostData(){return{tabindex:"0"}}__stencil_render(){return i("div",{key:"f725c7472c496316e8d7bf04a94dda49a1ae5c0f",class:"gux-dropdown-option",title:this.text},this.textWithHighlights())}textWithHighlights(){if(!this.highlight||!this.text)return i("span",null,this.text);if(this.highlightIndex<0)return i("span",null,this.text);const t=this.text.substring(0,this.highlightIndex),o=this.text.substring(this.highlightIndex,this.highlightIndex+this.highlight.length),s=this.text.substring(t.length+this.highlight.length);return i("span",null,t,i("strong",null,o),s)}onItemClicked(){this.selected=!0,this.selectedChanged.emit(this.value)}get root(){return s(this)}render(){return i(e,this.hostData(),this.__stencil_render())}};r.style="gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option[disabled=false]{pointer-events:auto;cursor:pointer;opacity:1}gux-dropdown-option:not(:disabled)[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not(:disabled):hover,gux-dropdown-option:not(:disabled):focus-visible{color:#fdfdfd;background:#2a60c8}";export{r as gux_dropdown_option}
@@ -1 +1 @@
1
- import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-F_cESGoM.js";import{O as s}from"./p-jCEMafb_.js";import{O as r}from"./p-BhmHefNZ.js";import{t as l}from"./p-B_8sb-Ua.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=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 m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}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")||this.menuActionSlot&&c(this.menuActionSlot,"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",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!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)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(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:"7767f62c9789eb310e193f0547bc390c7d293142",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"eea0cef206c1bcbb5fd516d19a06748468c3aaf6",class:"search-filter-container"},a("slot",{key:"f8d4b33e9e7fe70807bdf7b943d404b70804b886",name:"search-and-filter"})),a("div",{key:"5e591ffce99e2480e5f4844be749f98d0a3a8a61",class:"section-spacing"}),a("div",{key:"63cbd32ab580b47fc7bb901e12bf832de6c02fa8",class:"gux-contextual-permanent-primary"},a("div",{key:"7af49f3a714bd886ed3030ba3da747286c975d61",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"fb32ee19fb56b8957b41821ca99e0801e5d45669",name:"contextual-actions"})),a("div",{key:"0b39bf823c42885dbc789ce6e68a1b2860317d57",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"b8981ff727fdbfdfc5ab79b22e84e568a3144a0f",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"a4242740b758846bbdf8020b6253049426d8547d","show-menu":this.renderMenu()},a("slot",{key:"0cf8081dac5732b6f8e5de33bf1f694da3a40208",name:"menu-actions"})),a("slot",{key:"1ca07767a6b6b7b488e22f977dc053381504cca2",name:"primary-action"}))))}get root(){return n(this)}};p([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.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{m as gux_table_toolbar}
1
+ import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-BV-IVbgN.js";import{O as s}from"./p-DVr0aipj.js";import{O as r}from"./p-Dpee3S2g.js";import{t as l}from"./p-7hENZ6zq.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=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 m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}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")||this.menuActionSlot&&c(this.menuActionSlot,"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",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!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)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(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:"7767f62c9789eb310e193f0547bc390c7d293142",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"eea0cef206c1bcbb5fd516d19a06748468c3aaf6",class:"search-filter-container"},a("slot",{key:"f8d4b33e9e7fe70807bdf7b943d404b70804b886",name:"search-and-filter"})),a("div",{key:"5e591ffce99e2480e5f4844be749f98d0a3a8a61",class:"section-spacing"}),a("div",{key:"63cbd32ab580b47fc7bb901e12bf832de6c02fa8",class:"gux-contextual-permanent-primary"},a("div",{key:"7af49f3a714bd886ed3030ba3da747286c975d61",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"fb32ee19fb56b8957b41821ca99e0801e5d45669",name:"contextual-actions"})),a("div",{key:"0b39bf823c42885dbc789ce6e68a1b2860317d57",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"b8981ff727fdbfdfc5ab79b22e84e568a3144a0f",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"a4242740b758846bbdf8020b6253049426d8547d","show-menu":this.renderMenu()},a("slot",{key:"0cf8081dac5732b6f8e5de33bf1f694da3a40208",name:"menu-actions"})),a("slot",{key:"1ca07767a6b6b7b488e22f977dc053381504cca2",name:"primary-action"}))))}get root(){return n(this)}};p([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.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{m as gux_table_toolbar}
@@ -1 +1 @@
1
- import{r as e,c as t,h as n,H as i,a}from"./p-F_cESGoM.js";import{t as r}from"./p-B_8sb-Ua.js";import{b as o}from"./p-C9CXpn4r.js";import"./p-Cd4R0amv.js";var s={inputPlaceholder:"Ask Genesys AI",generateGenesysAIText:"Generate Genesys AI text"};const u=class{constructor(n){e(this,n),this.onpromptinputgenerate=t(this,"onpromptinputgenerate",7),this.isGenerating=!1,this.hasInputText=!1}onKeyDown(e){this.inputElement.value&&"Enter"===e.key&&this.submit()}async componentWillLoad(){r(this.root),this.i18n=await o(this.root,s)}submit(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!0}),this.isGenerating=!0}stopGeneration(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!1}),this.isGenerating=!1}keyUp(){var e;this.hasInputText=(null===(e=this.inputElement.value)||void 0===e?void 0:e.length)>0}renderSubmitButton(){return n("gux-button-slot",{accent:"primary"},n("button",{type:"button",class:"gux-generate"+(this.hasInputText?"-active":""),onClick:()=>this.submit(),disabled:!this.hasInputText,title:this.i18n("generateGenesysAIText"),"data-testid":"generate-button"},n("gux-icon",{"icon-name":"fa/arrow-up-regular",size:"small",decorative:!0})))}renderStopButton(){return n("gux-button-slot",{accent:"danger"},n("button",{type:"button",class:"gux-generate-cancel",onClick:()=>this.stopGeneration(),"data-testid":"stop-generation"},n("gux-icon",{"icon-name":"fa/square-regular",size:"small",decorative:!0})))}render(){return n(i,{key:"58225f3b91e4ed8edfa002103b4feab08c5b019b"},n("div",{key:"50c12aea7cb875ef4d88ebc34bd9b4ac04aca96e",class:"gux-input-container"},n("input",{key:"0fbf23e09dafd6f50202dc66b692eb25abbcbcdc",class:"gux-input",ref:e=>this.inputElement=e,placeholder:this.placeholder||this.i18n("inputPlaceholder"),onKeyUp:this.keyUp.bind(this),"data-testid":"prompt-input"}),this.isGenerating?this.renderStopButton():this.renderSubmitButton()),n("div",{key:"bd24aa682a8f85e7cf64157177134faf4b1a2a19",class:"caution-message"},n("slot",{key:"b77d588e04bedcdf268d5e26abd633e5e74265b3",name:"caution-message"})))}static get delegatesFocus(){return!0}get root(){return a(this)}};u.style=".gux-input-container{display:flex;flex-shrink:0;gap:var(--gse-ui-rte-innerContainer-gap);align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;background:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-dataTable-default);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-input-container:focus-within{border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-foreground-interactive-secondary-active)}.gux-input-container .gux-input{inline-size:100%;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);outline:none;border:none}.gux-input-container .gux-generate{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);opacity:var(--gse-ui-button-disabled-opacity)}.gux-input-container .gux-generate-active{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}.gux-input-container .gux-generate-cancel{display:flex;gap:var(--gse-ui-segmentedControl-button-padding);align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:8px}.gux-input-container .gux-generate-cancel gux-icon{background:var(--gse-ui-formControl-input-backgroundColor)}.caution-message{align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-2xs);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-3xs);color:var(--gse-semantic-foreground-container-midEmphasis);text-decoration-thickness:auto;text-decoration-style:solid;text-decoration-skip-ink:auto;text-underline-position:from-font;text-underline-offset:auto}";export{u as gux_prompt_input_beta}
1
+ import{r as e,c as t,h as n,H as i,a}from"./p-BV-IVbgN.js";import{t as r}from"./p-7hENZ6zq.js";import{b as o}from"./p-DhWYb9XH.js";import"./p-Cd4R0amv.js";var s={inputPlaceholder:"Ask Genesys AI",generateGenesysAIText:"Generate Genesys AI text"};const u=class{constructor(n){e(this,n),this.onpromptinputgenerate=t(this,"onpromptinputgenerate",7),this.isGenerating=!1,this.hasInputText=!1}onKeyDown(e){this.inputElement.value&&"Enter"===e.key&&this.submit()}async componentWillLoad(){r(this.root),this.i18n=await o(this.root,s)}submit(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!0}),this.isGenerating=!0}stopGeneration(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!1}),this.isGenerating=!1}keyUp(){var e;this.hasInputText=(null===(e=this.inputElement.value)||void 0===e?void 0:e.length)>0}renderSubmitButton(){return n("gux-button-slot",{accent:"primary"},n("button",{type:"button",class:"gux-generate"+(this.hasInputText?"-active":""),onClick:()=>this.submit(),disabled:!this.hasInputText,title:this.i18n("generateGenesysAIText"),"data-testid":"generate-button"},n("gux-icon",{"icon-name":"fa/arrow-up-regular",size:"small",decorative:!0})))}renderStopButton(){return n("gux-button-slot",{accent:"danger"},n("button",{type:"button",class:"gux-generate-cancel",onClick:()=>this.stopGeneration(),"data-testid":"stop-generation"},n("gux-icon",{"icon-name":"fa/square-regular",size:"small",decorative:!0})))}render(){return n(i,{key:"58225f3b91e4ed8edfa002103b4feab08c5b019b"},n("div",{key:"50c12aea7cb875ef4d88ebc34bd9b4ac04aca96e",class:"gux-input-container"},n("input",{key:"0fbf23e09dafd6f50202dc66b692eb25abbcbcdc",class:"gux-input",ref:e=>this.inputElement=e,placeholder:this.placeholder||this.i18n("inputPlaceholder"),onKeyUp:this.keyUp.bind(this),"data-testid":"prompt-input"}),this.isGenerating?this.renderStopButton():this.renderSubmitButton()),n("div",{key:"bd24aa682a8f85e7cf64157177134faf4b1a2a19",class:"caution-message"},n("slot",{key:"b77d588e04bedcdf268d5e26abd633e5e74265b3",name:"caution-message"})))}static get delegatesFocus(){return!0}get root(){return a(this)}};u.style=".gux-input-container{display:flex;flex-shrink:0;gap:var(--gse-ui-rte-innerContainer-gap);align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;background:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-dataTable-default);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-input-container:focus-within{border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-foreground-interactive-secondary-active)}.gux-input-container .gux-input{inline-size:100%;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);outline:none;border:none}.gux-input-container .gux-generate{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);opacity:var(--gse-ui-button-disabled-opacity)}.gux-input-container .gux-generate-active{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}.gux-input-container .gux-generate-cancel{display:flex;gap:var(--gse-ui-segmentedControl-button-padding);align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:8px}.gux-input-container .gux-generate-cancel gux-icon{background:var(--gse-ui-formControl-input-backgroundColor)}.caution-message{align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-2xs);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-3xs);color:var(--gse-semantic-foreground-container-midEmphasis);text-decoration-thickness:auto;text-decoration-style:solid;text-decoration-skip-ink:auto;text-underline-position:from-font;text-underline-offset:auto}";export{u as gux_prompt_input_beta}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,a as i}from"./p-F_cESGoM.js";import{b as n}from"./p-C9CXpn4r.js";import"./p-Cd4R0amv.js";var o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"5e26b4c88c75858004872520573e4e9a24f38520",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"d69821705a27f94c4076b3a52cd33fae7d2a59bb",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"81c2988010ddc9dbf4f0dc95d2d77c91a68a31e8",accent:"ghost"},e("button",{key:"a464a8047dc67ca58a78bfe8b88c0c61e85cb134",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"4e1c2c529cc99124ba8c4760296db50930805f79",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"fdb430cf0997fb1cd11eb4d514471f80fd3d3d22",accent:"ghost"},e("button",{key:"e003ad9f868619f41987312bbf368865fe93688c",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"6093b0a5112efe3b1e48a189ec91859e7fe3a472",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"7b50ddbd7bfca49ea34cbbda850000125fb466d6",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"238a6a4ddb27edd4562d6c3cc28d59a45038a0eb",accent:"ghost"},e("button",{key:"3bbdeda74c0459640895b9b1f6109b405e1b2f34",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"2fd99e8e2ae2b058a61e7d200a898245118990c9",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"07af0468c68c533bfeae77130b7ae0a5d8ab8527",accent:"ghost"},e("button",{key:"4f1033f47d62708c38a621454037f575f3e0b2fc",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"73e2c027239e5861875c99a72e370ddce12a52b9",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";var r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const u=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,r)}render(){return e("div",{key:"a194f602611450321c1ca072500eed6dbd051400",class:"gux-pagination-item-counts-container"},e("span",{key:"b05780de885df7f9690450f52a5ab319fda268db",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"d5507dcfb2a71b761fca1e6149edf720573771cf"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";var l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"};const c=class{constructor(e){t(this,e),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"e1a57ac40499540ef858b15900dc9224cad95c9c",class:"gux-pagination-items-per-page-container"},e("div",{key:"3b7f866b9ccb83f659323f1a968951bb7021efcf",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"4bb3b1b71d6ca80b09c049461533c669e22d95ed",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};c.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
1
+ import{r as t,c as a,h as e,a as i}from"./p-BV-IVbgN.js";import{b as n}from"./p-DhWYb9XH.js";import"./p-Cd4R0amv.js";var o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"5e26b4c88c75858004872520573e4e9a24f38520",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"d69821705a27f94c4076b3a52cd33fae7d2a59bb",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"81c2988010ddc9dbf4f0dc95d2d77c91a68a31e8",accent:"ghost"},e("button",{key:"a464a8047dc67ca58a78bfe8b88c0c61e85cb134",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"4e1c2c529cc99124ba8c4760296db50930805f79",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"fdb430cf0997fb1cd11eb4d514471f80fd3d3d22",accent:"ghost"},e("button",{key:"e003ad9f868619f41987312bbf368865fe93688c",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"6093b0a5112efe3b1e48a189ec91859e7fe3a472",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"7b50ddbd7bfca49ea34cbbda850000125fb466d6",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"238a6a4ddb27edd4562d6c3cc28d59a45038a0eb",accent:"ghost"},e("button",{key:"3bbdeda74c0459640895b9b1f6109b405e1b2f34",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"2fd99e8e2ae2b058a61e7d200a898245118990c9",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"07af0468c68c533bfeae77130b7ae0a5d8ab8527",accent:"ghost"},e("button",{key:"4f1033f47d62708c38a621454037f575f3e0b2fc",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"73e2c027239e5861875c99a72e370ddce12a52b9",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";var r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const u=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,r)}render(){return e("div",{key:"a194f602611450321c1ca072500eed6dbd051400",class:"gux-pagination-item-counts-container"},e("span",{key:"b05780de885df7f9690450f52a5ab319fda268db",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"d5507dcfb2a71b761fca1e6149edf720573771cf"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";var l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"};const c=class{constructor(e){t(this,e),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"e1a57ac40499540ef858b15900dc9224cad95c9c",class:"gux-pagination-items-per-page-container"},e("div",{key:"3b7f866b9ccb83f659323f1a968951bb7021efcf",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"4bb3b1b71d6ca80b09c049461533c669e22d95ed",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};c.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,a as s}from"./p-F_cESGoM.js";import{a as i,c as n,o as a,f as u,s as r}from"./p-C8aV-TzO.js";import{a as c}from"./p-Bg4q97BS.js";import{m as h,h as d}from"./p-QGDBFOq1.js";const l=class{constructor(t){e(this,t),this.isShown=!1}async guxFocus(){this.buttonElement.focus()}onKeydown(e){switch(h(e,this.root),e.key){case"Enter":e.stopPropagation(),this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()})),this.guxFocus();break;case"ArrowRight":e.stopPropagation(),this.show(),this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()}));break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.guxFocus()}}onKeyup(e){" "===e.key&&(this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()})),this.guxFocus())}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){"GUX-MENU-OPTION"!==e.target.nodeName?e.stopPropagation():this.hide()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),d))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.buttonElement,this.submenuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.submenuElement&&n(this.buttonElement,this.submenuElement,{placement:"right-start",strategy:"fixed",middleware:[a(4),u(),r()]}).then((({x:e,y:t})=>{Object.assign(this.submenuElement.style,{left:`${e}px`,top:t-8+"px"})}))}focusOnSubmenu(){this.submenuContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].guxFocus()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"1ad11a00e017b984c136796e2ba9dd69130acbfb"},t("button",{key:"f038445901d006e5418d0383c1b90007ebc7d0c0",type:"button",class:{"gux-submenu-button":!0,"gux-submenu-button-active":this.isShown},role:"menuitem",tabIndex:-1,ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"6df82dc2463debb73e1d6a9012a2693bc0472303",class:"gux-submenu-button-text"},this.label),t("gux-icon",{key:"d133d35ecf42ff9605f29c0eed4510df49470877",class:"gux-submenu-open-icon","icon-name":"custom/chevron-right-small-regular",decorative:!0,size:"small"})),t("div",{key:"837cb55663cdc8815aaea972d898848e61be5a67",ref:e=>this.submenuElement=e,class:{"gux-submenu-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"23e5beec4ba73ff41118d0b0c2cfbd32a233f6aa",role:"menu",class:"gux-submenu-content",ref:e=>this.submenuContentElement=e},t("slot",{key:"df488b3d36386e2a31ac8172c74f801a5adee2af"}))))}get root(){return s(this)}};l.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-submenu-button{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;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-submenu-button:focus-within,:host .gux-submenu-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-submenu-button.gux-submenu-button-active{font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);color:var(--gse-ui-menu-option-shortcut-selected-foregroundColor);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-inline-end:var(--gse-ui-menu-option-gap);overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}:host .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0}:host .gux-submenu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}:host .gux-submenu-wrapper.gux-shown{visibility:visible;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{l as gux_submenu}
1
+ import{r as e,h as t,H as o,a as s}from"./p-BV-IVbgN.js";import{a as i,c as n,o as a,f as u,s as r}from"./p-C8aV-TzO.js";import{a as c}from"./p-Bg4q97BS.js";import{m as h,h as d}from"./p-QGDBFOq1.js";const l=class{constructor(t){e(this,t),this.isShown=!1}async guxFocus(){this.buttonElement.focus()}onKeydown(e){switch(h(e,this.root),e.key){case"Enter":e.stopPropagation(),this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()})),this.guxFocus();break;case"ArrowRight":e.stopPropagation(),this.show(),this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()}));break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.guxFocus()}}onKeyup(e){" "===e.key&&(this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()})),this.guxFocus())}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){"GUX-MENU-OPTION"!==e.target.nodeName?e.stopPropagation():this.hide()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),d))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.buttonElement,this.submenuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.submenuElement&&n(this.buttonElement,this.submenuElement,{placement:"right-start",strategy:"fixed",middleware:[a(4),u(),r()]}).then((({x:e,y:t})=>{Object.assign(this.submenuElement.style,{left:`${e}px`,top:t-8+"px"})}))}focusOnSubmenu(){this.submenuContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].guxFocus()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"1ad11a00e017b984c136796e2ba9dd69130acbfb"},t("button",{key:"f038445901d006e5418d0383c1b90007ebc7d0c0",type:"button",class:{"gux-submenu-button":!0,"gux-submenu-button-active":this.isShown},role:"menuitem",tabIndex:-1,ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"6df82dc2463debb73e1d6a9012a2693bc0472303",class:"gux-submenu-button-text"},this.label),t("gux-icon",{key:"d133d35ecf42ff9605f29c0eed4510df49470877",class:"gux-submenu-open-icon","icon-name":"custom/chevron-right-small-regular",decorative:!0,size:"small"})),t("div",{key:"837cb55663cdc8815aaea972d898848e61be5a67",ref:e=>this.submenuElement=e,class:{"gux-submenu-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"23e5beec4ba73ff41118d0b0c2cfbd32a233f6aa",role:"menu",class:"gux-submenu-content",ref:e=>this.submenuContentElement=e},t("slot",{key:"df488b3d36386e2a31ac8172c74f801a5adee2af"}))))}get root(){return s(this)}};l.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-submenu-button{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;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-submenu-button:focus-within,:host .gux-submenu-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-submenu-button.gux-submenu-button-active{font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);color:var(--gse-ui-menu-option-shortcut-selected-foregroundColor);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-inline-end:var(--gse-ui-menu-option-gap);overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}:host .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0}:host .gux-submenu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}:host .gux-submenu-wrapper.gux-shown{visibility:visible;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{l as gux_submenu}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-F_cESGoM.js";import{b as o}from"./p-C9CXpn4r.js";import{O as r}from"./p-BhmHefNZ.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-D8pXkvhh.js";import{G as f,a as h,b as d}from"./p-Cfybd-sk.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as c,a as m}from"./p-DHLxhscH.js";import{t as g}from"./p-B_8sb-Ua.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"f2f4e9a8ff7f9e22045a4be75a5d3b41447ae71d",labelPosition:this.computedLabelPosition},i(h,{key:"00ed473cf198a45a2cef8ba110780d2caa71b03f"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"e18eb380e152e014acf011e2858e4e1f802073b3",position:this.computedLabelPosition,required:this.required},i("slot",{key:"fb18e487b41ad436918342653f1d7642d6530074",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"27c7ca59d34e537eeda039c95c4b119232c1fe9e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"cd7efd152a6c02f115a5953e57d8a5f0333ffbf5",name:"label-info"})),i("div",{key:"021d1706cabb39b8dc9402ab8d531aed533fb57d",class:"gux-input-and-error-container"},i("div",{key:"2c5117c5e441a28dd9bc270d5a45cd3e1d7b8f00",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"6faca4e188336a14f3ca7ed945ccce9531157a86"})),i(a,{key:"e60dab8fbe562ea703d869b08684672a372a19a5",show:this.hasError},i("slot",{key:"4fbe80625cb1c8e4e6ecc6c7e7e0fbd01c1353fd",name:"error"})),i(n,{key:"d97ecff22998058888377877b40574a40bcbcccc",show:!this.hasError&&this.hasHelp},i("slot",{key:"4516800cc56bb7203f18c752689d5ba266578b41",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),c(this.root,this.listboxElement,"error"),c(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.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-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.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}::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)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{x as gux_form_field_dropdown}
1
+ import{r as e,h as i,a as t}from"./p-BV-IVbgN.js";import{b as o}from"./p-DhWYb9XH.js";import{O as r}from"./p-Dpee3S2g.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-DYqNjg68.js";import{G as f,a as h,b as d}from"./p-AwOfWgBs.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as g,a as c}from"./p-DHLxhscH.js";import{t as m}from"./p-7hENZ6zq.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"f2f4e9a8ff7f9e22045a4be75a5d3b41447ae71d",labelPosition:this.computedLabelPosition},i(h,{key:"00ed473cf198a45a2cef8ba110780d2caa71b03f"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"e18eb380e152e014acf011e2858e4e1f802073b3",position:this.computedLabelPosition,required:this.required},i("slot",{key:"fb18e487b41ad436918342653f1d7642d6530074",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"27c7ca59d34e537eeda039c95c4b119232c1fe9e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"cd7efd152a6c02f115a5953e57d8a5f0333ffbf5",name:"label-info"})),i("div",{key:"021d1706cabb39b8dc9402ab8d531aed533fb57d",class:"gux-input-and-error-container"},i("div",{key:"2c5117c5e441a28dd9bc270d5a45cd3e1d7b8f00",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"6faca4e188336a14f3ca7ed945ccce9531157a86"})),i(a,{key:"e60dab8fbe562ea703d869b08684672a372a19a5",show:this.hasError},i("slot",{key:"4fbe80625cb1c8e4e6ecc6c7e7e0fbd01c1353fd",name:"error"})),i(n,{key:"d97ecff22998058888377877b40574a40bcbcccc",show:!this.hasError&&this.hasHelp},i("slot",{key:"4516800cc56bb7203f18c752689d5ba266578b41",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),g(this.root,this.listboxElement,"error"),g(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.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-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.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}::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)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{x as gux_form_field_dropdown}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,a as i}from"./p-F_cESGoM.js";import{a as o,c as a,o as r,f as c,s as n,b as p}from"./p-C8aV-TzO.js";import{O as d}from"./p-DlfuHDsY.js";import{t as h}from"./p-B_8sb-Ua.js";import{f as l}from"./p-Cr5bTKWF.js";const f=class{constructor(s){t(this,s),this.guxdismiss=e(this,"guxdismiss",7),this.position="bottom",this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(t){switch(t.key){case"Tab":case"Escape":this.dismiss()}}checkForClickOutside(t){const e=t.composedPath(),s=l(this.root,this.for),i=e.includes(s);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=o(l(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=l(this.root,this.for);this.popupElement&&a(t,this.popupElement,{strategy:"fixed",placement:this.position,middleware:[r(7),c(),n(),p({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:s,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const o={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(s.arrow){const{x:t,y:e}=s.arrow;this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[o]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){h(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return s("div",{key:"ee21c67394d6741a7be7b0ed4abf7e3cf83d1b1c",ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},s("div",{key:"74ed4c9f34fc9b3b102a92ff7cd85e35ddd9846a",ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&s("gux-dismiss-button",{key:"c270f205072328aaa71d3652c6f63a509b3bd418",onClick:this.dismiss.bind(this)}),s("div",{key:"6dace1c778e30f1f056981a9a205acf95981e220",class:"gux-popover-content"},s("slot",{key:"03c906f9b7f68e23a5d914ca4b39ec5e8df37768"})))}get root(){return i(this)}};(function(t,e,s,i){var o,a=arguments.length,r=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(r=(a<3?o(r):a>3?o(e,s,r):o(e,s))||r);a>3&&r&&Object.defineProperty(e,s,r)})([d({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),f.style=".gux-popover-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding-block:8px;padding-inline:0;background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{f as gux_popover_list}
1
+ import{r as t,c as e,h as s,a as i}from"./p-BV-IVbgN.js";import{a as o,c as a,o as r,f as c,s as n,b as p}from"./p-C8aV-TzO.js";import{O as d}from"./p-D2qRmt9m.js";import{t as h}from"./p-7hENZ6zq.js";import{f as l}from"./p-Cr5bTKWF.js";const f=class{constructor(s){t(this,s),this.guxdismiss=e(this,"guxdismiss",7),this.position="bottom",this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(t){switch(t.key){case"Tab":case"Escape":this.dismiss()}}checkForClickOutside(t){const e=t.composedPath(),s=l(this.root,this.for),i=e.includes(s);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=o(l(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=l(this.root,this.for);this.popupElement&&a(t,this.popupElement,{strategy:"fixed",placement:this.position,middleware:[r(7),c(),n(),p({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:s,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const o={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(s.arrow){const{x:t,y:e}=s.arrow;this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[o]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){h(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return s("div",{key:"ee21c67394d6741a7be7b0ed4abf7e3cf83d1b1c",ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},s("div",{key:"74ed4c9f34fc9b3b102a92ff7cd85e35ddd9846a",ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&s("gux-dismiss-button",{key:"c270f205072328aaa71d3652c6f63a509b3bd418",onClick:this.dismiss.bind(this)}),s("div",{key:"6dace1c778e30f1f056981a9a205acf95981e220",class:"gux-popover-content"},s("slot",{key:"03c906f9b7f68e23a5d914ca4b39ec5e8df37768"})))}get root(){return i(this)}};(function(t,e,s,i){var o,a=arguments.length,r=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(r=(a<3?o(r):a>3?o(e,s,r):o(e,s))||r);a>3&&r&&Object.defineProperty(e,s,r)})([d({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),f.style=".gux-popover-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding-block:8px;padding-inline:0;background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{f as gux_popover_list}
@@ -1 +1 @@
1
- import{r as a,c as t,d as i,h as e,a as n}from"./p-F_cESGoM.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-B_8sb-Ua.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"5d554086341d0a1a4c5e114dae8ff1e01d5a44c5",class:"gux-pagination-container"},e("div",{key:"6fb4cc0186e243987d59d39c56e71817333f7386",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"fd99e490e30527848491ce17be1adef7c1f65482","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"f6aa9c10e588bcc0404f37c3be786480db9e47cc",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"65c79da711cddaed988f4aae4db86550ff8f1dd5",class:"gux-pagination-spacer"}),e("div",{key:"b37111fe53095f6a3780cdfe24f34d8fdc6aa0bf",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"ac20edbf4542f3f4e7c29ca5e6eeb49116fcdeef",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start: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;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 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-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
1
+ import{r as a,c as t,d as i,h as e,a as n}from"./p-BV-IVbgN.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-7hENZ6zq.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"5d554086341d0a1a4c5e114dae8ff1e01d5a44c5",class:"gux-pagination-container"},e("div",{key:"6fb4cc0186e243987d59d39c56e71817333f7386",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"fd99e490e30527848491ce17be1adef7c1f65482","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"f6aa9c10e588bcc0404f37c3be786480db9e47cc",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"65c79da711cddaed988f4aae4db86550ff8f1dd5",class:"gux-pagination-spacer"}),e("div",{key:"b37111fe53095f6a3780cdfe24f34d8fdc6aa0bf",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"ac20edbf4542f3f4e7c29ca5e6eeb49116fcdeef",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start: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;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 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-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
@@ -1 +1 @@
1
- import{r,h as e,a}from"./p-F_cESGoM.js";import{b as o}from"./p-C9CXpn4r.js";import{t as i}from"./p-B_8sb-Ua.js";import"./p-Cd4R0amv.js";var t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"};const l=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){i(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{key:"916f7d48809d702c93f9859fe6c33160e8172e17",role:"alert",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("div",{key:"2c819f7ce29e9b6f1c9a83b1a2e138250fee9c53",class:"gux-message-wrapper"},e("gux-icon",{key:"aeacfc9904adaa1d3d244ca673f45f341a910e40","icon-name":this.getIcon(this.accent),decorative:!0,size:"small"}),e("gux-screen-reader-beta",{key:"1718705ae90a7239ffe08ea272b45d3bd8eb1ba3"},this.i18n(this.accent)),e("div",{key:"243f7623d050a7e3bfdf62134c1f826e498dc7c3",class:"gux-content"},e("slot",{key:"84abf447e95172b66d85da1c06ab5dc885bb90d8",name:"content"},e("slot",{key:"71fc229ec57399560ad38e51055bacdc60748225"})))))}get root(){return a(this)}};l.style=":host{display:flex;inline-size:fit-content}.gux-inline-alert{display:inline-flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-content{flex:1 1 auto}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{l as gux_inline_alert}
1
+ import{r,h as e,a}from"./p-BV-IVbgN.js";import{b as o}from"./p-DhWYb9XH.js";import{t as i}from"./p-7hENZ6zq.js";import"./p-Cd4R0amv.js";var t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"};const l=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){i(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{key:"916f7d48809d702c93f9859fe6c33160e8172e17",role:"alert",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("div",{key:"2c819f7ce29e9b6f1c9a83b1a2e138250fee9c53",class:"gux-message-wrapper"},e("gux-icon",{key:"aeacfc9904adaa1d3d244ca673f45f341a910e40","icon-name":this.getIcon(this.accent),decorative:!0,size:"small"}),e("gux-screen-reader-beta",{key:"1718705ae90a7239ffe08ea272b45d3bd8eb1ba3"},this.i18n(this.accent)),e("div",{key:"243f7623d050a7e3bfdf62134c1f826e498dc7c3",class:"gux-content"},e("slot",{key:"84abf447e95172b66d85da1c06ab5dc885bb90d8",name:"content"},e("slot",{key:"71fc229ec57399560ad38e51055bacdc60748225"})))))}get root(){return a(this)}};l.style=":host{display:flex;inline-size:fit-content}.gux-inline-alert{display:inline-flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-content{flex:1 1 auto}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{l as gux_inline_alert}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,a as s}from"./p-F_cESGoM.js";import{O as a}from"./p-DlfuHDsY.js";import{w as o}from"./p-kLXvN2m9.js";import{a as n}from"./p-Bg4q97BS.js";import{t as r}from"./p-B_8sb-Ua.js";import{b as c}from"./p-C9CXpn4r.js";import"./p-Cd4R0amv.js";var d={moreOptions:"More options"};const 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());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){n((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){n((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,d)}render(){return i("div",{key:"df9dd5a402a6324792ba6f5720f9ab321b667364",class:"gux-action-button-container"},i("gux-popup",{key:"7c01746417f8ba0becf8515f767e76942b91e7db",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"361a159c4683ae17a0fef7553ad46bdf293a6748",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"d6eb30aed3d5742796fc16c5c372ef23ae2bee6c",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"dc11517826480de7c04b67ecdf66c7795a7ce552",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick(),"data-testid":"action-button"},i("slot",{key:"6fa178458824c8c3c3554222bb51bb8b7a3a9770",name:"title"}))),i("gux-button-slot",{key:"de01cecd901bbfd17e64fd649fe2fe51590007e8",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"9dd30f7d7c367a3ba3afc5afbcbec0e36c6305af",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"),"data-testid":"dropdown-button"},i("gux-icon",{key:"fb946785e7f06d461645f293e9c2a10e099fb671",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"2835ad9397bd6226379bdd344a4c650e443b16b0",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"bffae7b0a2f0d41cd82830878eadb058648a4480",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"5ec78abedc3497737d04ab157cf25dfd44548e80"})))))}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,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(n=(o<3?a(n):o>3?a(e,i,n):a(e,i))||n);o>3&&n&&Object.defineProperty(e,i,n)})([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-action-button button:focus-visible:enabled{position:relative}.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,a as s}from"./p-BV-IVbgN.js";import{O as a}from"./p-D2qRmt9m.js";import{w as o}from"./p-kLXvN2m9.js";import{a as n}from"./p-Bg4q97BS.js";import{t as r}from"./p-7hENZ6zq.js";import{b as c}from"./p-DhWYb9XH.js";import"./p-Cd4R0amv.js";var d={moreOptions:"More options"};const 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());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){n((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){n((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,d)}render(){return i("div",{key:"df9dd5a402a6324792ba6f5720f9ab321b667364",class:"gux-action-button-container"},i("gux-popup",{key:"7c01746417f8ba0becf8515f767e76942b91e7db",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"361a159c4683ae17a0fef7553ad46bdf293a6748",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"d6eb30aed3d5742796fc16c5c372ef23ae2bee6c",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"dc11517826480de7c04b67ecdf66c7795a7ce552",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick(),"data-testid":"action-button"},i("slot",{key:"6fa178458824c8c3c3554222bb51bb8b7a3a9770",name:"title"}))),i("gux-button-slot",{key:"de01cecd901bbfd17e64fd649fe2fe51590007e8",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"9dd30f7d7c367a3ba3afc5afbcbec0e36c6305af",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"),"data-testid":"dropdown-button"},i("gux-icon",{key:"fb946785e7f06d461645f293e9c2a10e099fb671",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"2835ad9397bd6226379bdd344a4c650e443b16b0",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"bffae7b0a2f0d41cd82830878eadb058648a4480",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"5ec78abedc3497737d04ab157cf25dfd44548e80"})))))}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,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(n=(o<3?a(n):o>3?a(e,i,n):a(e,i))||n);o>3&&n&&Object.defineProperty(e,i,n)})([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-action-button button:focus-visible:enabled{position:relative}.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 o,h as r,a as t}from"./p-F_cESGoM.js";import{t as e}from"./p-B_8sb-Ua.js";import{b as i}from"./p-C9CXpn4r.js";import"./p-Cd4R0amv.js";var a={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,a)}render(){return r("button",{key:"862f8c928a953bfe7acd8e0db031c263adfb921d",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"16288e57f1813e149f773d11cd091d6d4937781b","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"c54f6ecd5a1cbaa6728decc53201bf17c421b3eb","visual-only":!0},r("div",{key:"32293800c852ff0978b26eb0150c773d8530b8dd",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}";export{n as gux_form_field_input_clear_button}
1
+ import{r as o,h as r,a as t}from"./p-BV-IVbgN.js";import{t as e}from"./p-7hENZ6zq.js";import{b as i}from"./p-DhWYb9XH.js";import"./p-Cd4R0amv.js";var a={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,a)}render(){return r("button",{key:"862f8c928a953bfe7acd8e0db031c263adfb921d",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"16288e57f1813e149f773d11cd091d6d4937781b","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"c54f6ecd5a1cbaa6728decc53201bf17c421b3eb","visual-only":!0},r("div",{key:"32293800c852ff0978b26eb0150c773d8530b8dd",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}";export{n as gux_form_field_input_clear_button}
@@ -1 +1 @@
1
- import{r as e,c as a,h as t,a as i}from"./p-F_cESGoM.js";import{b as n}from"./p-C9CXpn4r.js";import"./p-Cd4R0amv.js";var g={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} items per page selected"};const o=class{constructor(t){e(this,t),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25,this.disabled=!1}handleChange(e){e.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,g)}getDropdown(){return t("gux-dropdown",{ref:e=>this.dropdownElement=e,value:`${this.itemsPerPage}`,disabled:this.disabled,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},t("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},t("gux-option",{value:"25"},"25"),t("gux-option",{value:"50"},"50"),t("gux-option",{value:"75"},"75"),t("gux-option",{value:"100"},"100")))}render(){return t("div",{key:"4645f1093119c12fea6dd169c4a0409f64ccc627",class:"gux-pagination-items-per-page-container"},t("div",{key:"9307fac7f774bc9b7b6cd04ac904e617202a0537",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),t("div",{key:"2071f940199b9eb8a5bc9b080d6401f0f8bdc253",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};o.style="gux-pagination-items-per-page .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 .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;inline-size:fit-content}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{inset-block-end:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .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-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{o as gux_pagination_items_per_page}
1
+ import{r as e,c as a,h as t,a as i}from"./p-BV-IVbgN.js";import{b as n}from"./p-DhWYb9XH.js";import"./p-Cd4R0amv.js";var g={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} items per page selected"};const o=class{constructor(t){e(this,t),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25,this.disabled=!1}handleChange(e){e.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,g)}getDropdown(){return t("gux-dropdown",{ref:e=>this.dropdownElement=e,value:`${this.itemsPerPage}`,disabled:this.disabled,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},t("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},t("gux-option",{value:"25"},"25"),t("gux-option",{value:"50"},"50"),t("gux-option",{value:"75"},"75"),t("gux-option",{value:"100"},"100")))}render(){return t("div",{key:"4645f1093119c12fea6dd169c4a0409f64ccc627",class:"gux-pagination-items-per-page-container"},t("div",{key:"9307fac7f774bc9b7b6cd04ac904e617202a0537",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),t("div",{key:"2071f940199b9eb8a5bc9b080d6401f0f8bdc253",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};o.style="gux-pagination-items-per-page .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 .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;inline-size:fit-content}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{inset-block-end:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .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-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{o as gux_pagination_items_per_page}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i}from"./p-F_cESGoM.js";import{a as s,c as a,o as n,f as o,e as c,s as d,h}from"./p-C8aV-TzO.js";const p=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1,this.inline=!1}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth,e=this.inline;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),c({apply({rects:i,elements:s}){t&&!e?Object.assign(s.floating.style,{minWidth:`${i.reference.width}px`}):e||Object.assign(s.floating.style,{width:`${i.reference.width}px`})}}),d(),h()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"7af8b3d681562a9ebf0a607f9575a24af6517ca2",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"f48563e5b4e7cc60717d36db7c642dfe09eacd14",name:"target"}),i("div",{key:"775358f21c52b85a44c477c6f47eef0ad63e0b55",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"a4c4fbafe9520d9f1abfbedb1e69d43c72dcf80f",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};p.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;inline-size:max-content;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip{}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{p as gux_popup}
1
+ import{r as t,c as e,h as i}from"./p-BV-IVbgN.js";import{a as s,c as a,o as n,f as o,e as d,s as c,h}from"./p-C8aV-TzO.js";const p=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1,this.inline=!1}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth,e=this.inline;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),d({apply({rects:i,elements:s}){t&&!e?Object.assign(s.floating.style,{minWidth:`${i.reference.width}px`}):e||Object.assign(s.floating.style,{width:`${i.reference.width}px`})}}),c(),h()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"7af8b3d681562a9ebf0a607f9575a24af6517ca2",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"f48563e5b4e7cc60717d36db7c642dfe09eacd14",name:"target"}),i("div",{key:"775358f21c52b85a44c477c6f47eef0ad63e0b55",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"a4c4fbafe9520d9f1abfbedb1e69d43c72dcf80f",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};p.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;inline-size:max-content;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip{}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{p as gux_popup}
@@ -1 +1 @@
1
- import{r as e,c as s,h as a,a as t}from"./p-F_cESGoM.js";import{r as i}from"./p-D9jKBqIb.js";import{t as d}from"./p-B_8sb-Ua.js";const o=class{constructor(a){e(this,a),this.modalSidePanelDismiss=s(this,"modalSidePanelDismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}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})}componentDidLoad(){this.open&&this.dialogElement.showModal()}render(){const e=i();return a("dialog",{key:"beeb5b33a1094ba4f6a81c9d85dc265d7847bfe1",ref:e=>this.dialogElement=e,"aria-labelledby":e,class:{"gux-open":this.open}},a("gux-side-panel-beta",{key:"928792bce4dbc30f363292c843d147855d2bbc67",size:this.size},a("div",{key:"df6baa45f497fe42ff05de929f001bc0ec22b747",slot:"header",id:e},a("slot",{key:"07f3a639dd7dedfb141f472919a1f02bb345823c",name:"header"})),a("div",{key:"1a3219bd52d788869d59ebe709119a5bed42d7ac",slot:"content"},a("slot",{key:"c160ae4571b682a65dd7138b8802fbf25b059d08",name:"content"})),a("div",{key:"5c65bf0b9c5033e7cdbc75787bb06db3679606c1",slot:"footer"},a("slot",{key:"2ac083ab34d610575bbdba51305a680185684edc",name:"footer"}))))}get root(){return t(this)}static get watchers(){return{open:["syncOpenState"]}}};o.style="dialog{inset-inline-start:auto;block-size:100%;min-block-size:100%;padding:0;margin:unset;border:none;transform:translateX(100%);transition:transform 0.2s ease-in-out}dialog.gux-open{transform:translateX(0%)}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(gux-side-panel-header){border-block-end:none}";export{o as gux_modal_side_panel_beta}
1
+ import{r as e,c as s,h as a,a as t}from"./p-BV-IVbgN.js";import{r as i}from"./p-D9jKBqIb.js";import{t as d}from"./p-7hENZ6zq.js";const o=class{constructor(a){e(this,a),this.modalSidePanelDismiss=s(this,"modalSidePanelDismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}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})}componentDidLoad(){this.open&&this.dialogElement.showModal()}render(){const e=i();return a("dialog",{key:"beeb5b33a1094ba4f6a81c9d85dc265d7847bfe1",ref:e=>this.dialogElement=e,"aria-labelledby":e,class:{"gux-open":this.open}},a("gux-side-panel-beta",{key:"928792bce4dbc30f363292c843d147855d2bbc67",size:this.size},a("div",{key:"df6baa45f497fe42ff05de929f001bc0ec22b747",slot:"header",id:e},a("slot",{key:"07f3a639dd7dedfb141f472919a1f02bb345823c",name:"header"})),a("div",{key:"1a3219bd52d788869d59ebe709119a5bed42d7ac",slot:"content"},a("slot",{key:"c160ae4571b682a65dd7138b8802fbf25b059d08",name:"content"})),a("div",{key:"5c65bf0b9c5033e7cdbc75787bb06db3679606c1",slot:"footer"},a("slot",{key:"2ac083ab34d610575bbdba51305a680185684edc",name:"footer"}))))}get root(){return t(this)}static get watchers(){return{open:["syncOpenState"]}}};o.style="dialog{inset-inline-start:auto;block-size:100%;min-block-size:100%;padding:0;margin:unset;border:none;transform:translateX(100%);transition:transform 0.2s ease-in-out}dialog.gux-open{transform:translateX(0%)}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(gux-side-panel-header){border-block-end:none}";export{o as gux_modal_side_panel_beta}