genesys-spark-components 4.187.1 → 4.187.2

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 (436) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  13. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  20. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-datepicker.cjs.entry.js +18 -2
  31. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  35. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  77. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +7 -2
  98. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +5 -5
  100. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  129. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  130. package/dist/cjs/gux-tree-beta.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +1 -1
  132. package/dist/cjs/index-DJ9HGtdZ.js +4 -4
  133. package/dist/cjs/loader.cjs.js +1 -1
  134. package/dist/cjs/{usage-Ypiicskt.js → usage-C6iTAhYl.js} +1 -1
  135. package/dist/collection/components/beta/gux-day/gux-day.css +0 -12
  136. package/dist/collection/components/beta/gux-day/gux-day.js +1 -1
  137. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +32 -1
  138. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.common.js +5 -0
  139. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.css +0 -8
  140. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +3 -3
  141. package/dist/collection/components/stable/gux-badge/gux-badge.css +0 -11
  142. package/dist/collection/components/stable/gux-badge/gux-badge.js +2 -2
  143. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +0 -9
  144. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +2 -2
  145. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +17 -1
  146. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +0 -15
  147. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +3 -3
  148. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +0 -8
  149. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +3 -3
  150. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +0 -8
  151. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +3 -3
  152. package/dist/esm/genesys-webcomponents.js +1 -1
  153. package/dist/esm/gux-accordion.entry.js +1 -1
  154. package/dist/esm/gux-action-button.entry.js +1 -1
  155. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  156. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  157. package/dist/esm/gux-announce-beta.entry.js +1 -1
  158. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  159. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  160. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  161. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  162. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  163. package/dist/esm/gux-badge.entry.js +4 -4
  164. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  165. package/dist/esm/gux-blank-state.entry.js +1 -1
  166. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  167. package/dist/esm/gux-button-multi.entry.js +1 -1
  168. package/dist/esm/gux-button-slot.entry.js +1 -1
  169. package/dist/esm/gux-button_2.entry.js +1 -1
  170. package/dist/esm/gux-calendar.entry.js +4 -4
  171. package/dist/esm/gux-card.entry.js +1 -1
  172. package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
  173. package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
  174. package/dist/esm/gux-column-manager.entry.js +1 -1
  175. package/dist/esm/gux-content-search.entry.js +1 -1
  176. package/dist/esm/gux-context-menu.entry.js +1 -1
  177. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  178. package/dist/esm/gux-create-option.entry.js +4 -4
  179. package/dist/esm/gux-date-beta.entry.js +1 -1
  180. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  181. package/dist/esm/gux-datepicker.entry.js +18 -2
  182. package/dist/esm/gux-day-beta.entry.js +2 -2
  183. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  184. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  185. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  186. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  187. package/dist/esm/gux-file-list-item.entry.js +1 -1
  188. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  189. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  190. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  191. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  192. package/dist/esm/gux-form-field-color.entry.js +1 -1
  193. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  194. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  195. package/dist/esm/gux-form-field-file.entry.js +1 -1
  196. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  197. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  198. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  199. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  200. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  201. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  202. package/dist/esm/gux-form-field-range.entry.js +1 -1
  203. package/dist/esm/gux-form-field-search.entry.js +1 -1
  204. package/dist/esm/gux-form-field-select.entry.js +1 -1
  205. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  206. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  207. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  208. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  209. package/dist/esm/gux-form-footer.entry.js +1 -1
  210. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  211. package/dist/esm/gux-icon.entry.js +1 -1
  212. package/dist/esm/gux-illustration-beta.entry.js +1 -1
  213. package/dist/esm/gux-inline-alert.entry.js +1 -1
  214. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  215. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  216. package/dist/esm/gux-link-beta.entry.js +1 -1
  217. package/dist/esm/gux-list.entry.js +1 -1
  218. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  219. package/dist/esm/gux-loading-message.entry.js +1 -1
  220. package/dist/esm/gux-logo-beta.entry.js +1 -1
  221. package/dist/esm/gux-logomark-beta.entry.js +1 -1
  222. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  223. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  224. package/dist/esm/gux-modal.entry.js +1 -1
  225. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  226. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  227. package/dist/esm/gux-option-multi.entry.js +4 -4
  228. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  229. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  230. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  231. package/dist/esm/gux-pagination.entry.js +1 -1
  232. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  233. package/dist/esm/gux-popover-beta.entry.js +1 -1
  234. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  235. package/dist/esm/gux-popover-list.entry.js +1 -1
  236. package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
  237. package/dist/esm/gux-radial-loading.entry.js +1 -1
  238. package/dist/esm/gux-radial-progress.entry.js +1 -1
  239. package/dist/esm/gux-rating.entry.js +1 -1
  240. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  241. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  242. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  243. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  244. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  245. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  246. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  247. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  248. package/dist/esm/gux-screen-reader-beta.entry.js +7 -2
  249. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  250. package/dist/esm/gux-selector-card-beta.entry.js +5 -5
  251. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  252. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  253. package/dist/esm/gux-side-panel-header.entry.js +1 -1
  254. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  255. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  256. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  257. package/dist/esm/gux-sort-control.entry.js +1 -1
  258. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  259. package/dist/esm/gux-step-title.entry.js +1 -1
  260. package/dist/esm/gux-step.entry.js +1 -1
  261. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  262. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  263. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  264. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  265. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  266. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  267. package/dist/esm/gux-table.entry.js +1 -1
  268. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  269. package/dist/esm/gux-tabs.entry.js +1 -1
  270. package/dist/esm/gux-tag.entry.js +1 -1
  271. package/dist/esm/gux-text-highlight.entry.js +1 -1
  272. package/dist/esm/gux-time-beta.entry.js +1 -1
  273. package/dist/esm/gux-time-picker.entry.js +1 -1
  274. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  275. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  276. package/dist/esm/gux-toast.entry.js +1 -1
  277. package/dist/esm/gux-toggle.entry.js +1 -1
  278. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  279. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  280. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  281. package/dist/esm/gux-tree-beta.entry.js +1 -1
  282. package/dist/esm/gux-tree-multi-beta.entry.js +1 -1
  283. package/dist/esm/index-mm833MRp.js +4 -4
  284. package/dist/esm/loader.js +1 -1
  285. package/dist/esm/{usage-Bk9hX_6O.js → usage-B_5U73XW.js} +1 -1
  286. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  287. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  288. package/dist/genesys-webcomponents/{p-951e0b12.entry.js → p-00d5cada.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-024c5bd7.entry.js → p-018bf1ab.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-250391fe.entry.js → p-03333fcc.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-f9f43ca9.entry.js → p-0644d23c.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-6111e683.entry.js → p-08dc9e6d.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-686a3f3c.entry.js → p-095d6cce.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-7421a1b7.entry.js → p-09ac47f1.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-d784f87d.entry.js → p-0ab37389.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-aff0c154.entry.js → p-0b010496.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-149c0790.entry.js → p-0be0b061.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-5f4d960f.entry.js → p-0bff7f73.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-d9ba561a.entry.js → p-0f0fe361.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-dc1fee05.entry.js → p-0f6bb470.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-85aa96c9.entry.js → p-0f6d7178.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-15f3a969.entry.js → p-11dc6e8f.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-9840f9d8.entry.js → p-12ce6f7a.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-ede10314.entry.js → p-13154f56.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-b3e3f1ec.entry.js → p-134ddaa6.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-2236e4f5.entry.js → p-1363318d.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-37b38bcc.entry.js → p-14e5c6bd.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-56eefc7c.entry.js → p-1518057f.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-4d7bea11.entry.js → p-152bddd5.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-a6077763.entry.js → p-175abdfc.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-7a1645fa.entry.js → p-1cf4e79f.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-9607d0ae.entry.js → p-1de7a1f2.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-19040d1c.entry.js → p-1ecb422e.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-eb5a48e9.entry.js → p-2067287f.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-73b5d09a.entry.js → p-21c28a3b.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/p-21dd96fd.entry.js +1 -0
  317. package/dist/genesys-webcomponents/{p-e902c696.entry.js → p-26cd1f16.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-5e6a3b79.entry.js → p-27ae3edf.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-bad949b8.entry.js → p-282a09b1.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-5cc0dc7b.entry.js → p-2a0a4599.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-77ddb8e9.entry.js → p-2bad24a0.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-7a3b6441.entry.js → p-311fdf37.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-743e60e7.entry.js → p-321cd88b.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-09146dba.entry.js → p-32aeb326.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-6419f6ef.entry.js → p-33574ddd.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-8ba208a6.entry.js → p-3370b803.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-fb7ec589.entry.js → p-33c720e1.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-4350f7bc.entry.js → p-3495f259.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-ea2ad326.entry.js → p-37bb3fcb.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-09de7dec.entry.js → p-3a671b77.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-99e2e425.entry.js → p-3bec06d0.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-ae3a0ed8.entry.js → p-3c191fde.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/p-3c9277b9.entry.js +1 -0
  334. package/dist/genesys-webcomponents/{p-8a7fe03e.entry.js → p-41b7c02e.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/p-4a435f18.entry.js +1 -0
  336. package/dist/genesys-webcomponents/{p-4d4de998.entry.js → p-4ac3fdc4.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-2501d280.entry.js → p-4aff9800.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-e92c1b8a.entry.js → p-4cf0a191.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-dbe2fed8.entry.js → p-4e526ed6.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-8d6ed0bb.entry.js → p-4efbba61.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/p-599e49fc.entry.js +1 -0
  342. package/dist/genesys-webcomponents/{p-682398bc.entry.js → p-5a8917be.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-d7a2b347.entry.js → p-5a8d483c.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-20c7d0fb.entry.js → p-5dc230b1.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-47ba2493.entry.js → p-60c67e21.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/p-6738c43a.entry.js +1 -0
  347. package/dist/genesys-webcomponents/{p-1ff8c4dc.entry.js → p-674bbdd9.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-77e16378.entry.js → p-68934600.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-18a14293.entry.js → p-6bfe864e.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-36af37ae.entry.js → p-7082e7b2.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-2d2af6d1.entry.js → p-7120b23d.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-68826892.entry.js → p-729875c6.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-780e2bbc.entry.js → p-77c7eed5.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-67ae6c31.entry.js → p-7a01b84f.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-9e7c72ef.entry.js → p-7af238b6.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-ca64f653.entry.js → p-7d236eff.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/p-7d8f32b8.entry.js +1 -0
  358. package/dist/genesys-webcomponents/{p-72be9416.entry.js → p-820ebd57.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-0f3b84f0.entry.js → p-8380c98f.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-f26230e7.entry.js → p-86a1911e.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-1c41349d.entry.js → p-89b6a139.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-6747cb6b.entry.js → p-8b033585.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-abb54abc.entry.js → p-8c91a537.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-ac905094.entry.js → p-903c6506.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/p-90afe444.entry.js +1 -0
  366. package/dist/genesys-webcomponents/{p-777c1a9e.entry.js → p-91c8e086.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-4b5e919b.entry.js → p-936df20f.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/p-95b8da60.entry.js +1 -0
  369. package/dist/genesys-webcomponents/{p-c4dee7b9.entry.js → p-96ed3fae.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-abfec18e.entry.js → p-9d03007f.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-dd9d3bc9.entry.js → p-9fc56556.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-Bk9hX_6O.js → p-B_5U73XW.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-873a4971.entry.js → p-a06f4841.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-0cbff9e9.entry.js → p-a403be28.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/p-a48c397c.entry.js +1 -0
  376. package/dist/genesys-webcomponents/{p-3e50360d.entry.js → p-a8154cbf.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-d219d656.entry.js → p-a9534e06.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-df4ac31b.entry.js → p-aaddc6e3.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-2fcc608f.entry.js → p-aea87a1c.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-869cbfef.entry.js → p-afc8db57.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-e21679ab.entry.js → p-b20927f0.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-4485df35.entry.js → p-b233f48f.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-013e3c33.entry.js → p-b40de893.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-10260c86.entry.js → p-b6ea07cf.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/p-b975d30b.entry.js +1 -0
  386. package/dist/genesys-webcomponents/{p-b2d1ecce.entry.js → p-bada9b52.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-367ea289.entry.js → p-becb24d3.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-791c159e.entry.js → p-c088cacc.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-545bc747.entry.js → p-c0d80c70.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-1bd94bc5.entry.js → p-c0fd4d69.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/p-c3718d82.entry.js +1 -0
  392. package/dist/genesys-webcomponents/{p-9f492956.entry.js → p-c3958e6e.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-f781f503.entry.js → p-c7101d55.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-0dacef46.entry.js → p-c90e75e3.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-189457b6.entry.js → p-ccdcbc66.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-5d8114f4.entry.js → p-d28148fc.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-4e5d7bcb.entry.js → p-d34b3c6b.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-e5eea8aa.entry.js → p-d64815c3.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-c1db307f.entry.js → p-d98c2f60.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-9bfab72c.entry.js → p-da88b370.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-32f17393.entry.js → p-dc299352.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-5cff9d1c.entry.js → p-dcd246c2.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-4c2f1433.entry.js → p-dd50c042.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-04431ed6.entry.js → p-e115772d.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-e3671880.entry.js → p-e1b30c83.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-981cdb0b.entry.js → p-e21a3093.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-3e898719.entry.js → p-e5429730.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-e18193c8.entry.js → p-ec38cf55.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-78e4a090.entry.js → p-f3744aff.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-f26867a3.entry.js → p-f4d0b061.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-9eaaa1c0.entry.js → p-f69d1332.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-ea40f5b2.entry.js → p-f77a2e00.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-71d25073.entry.js → p-f9cf4f93.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-09f33fd5.entry.js → p-fb4b6da3.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-7b4ccc02.entry.js → p-fbf8f8e0.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-f9f5f4b9.entry.js → p-fc3edfaf.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-03897c15.entry.js → p-fc7b349f.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-ee857ca7.entry.js → p-fd437ac9.entry.js} +1 -1
  419. package/dist/stencil-wrapper.js +1 -1
  420. package/dist/types/components/beta/gux-screen-reader/gux-screen-reader.d.ts +4 -0
  421. package/dist/types/components/beta/gux-screen-reader/tests/gux-screen-reader.common.d.ts +1 -0
  422. package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +1 -0
  423. package/dist/types/components.d.ts +10 -0
  424. package/dist/types/stencil-wrapper.d.ts +1 -1
  425. package/package.json +6 -6
  426. package/dist/genesys-webcomponents/p-09649590.entry.js +0 -1
  427. package/dist/genesys-webcomponents/p-38fc0f14.entry.js +0 -1
  428. package/dist/genesys-webcomponents/p-3ecb4060.entry.js +0 -1
  429. package/dist/genesys-webcomponents/p-487b8a7f.entry.js +0 -1
  430. package/dist/genesys-webcomponents/p-53a84f93.entry.js +0 -1
  431. package/dist/genesys-webcomponents/p-9a096d50.entry.js +0 -1
  432. package/dist/genesys-webcomponents/p-a4d41223.entry.js +0 -1
  433. package/dist/genesys-webcomponents/p-b6e80839.entry.js +0 -1
  434. package/dist/genesys-webcomponents/p-d4135044.entry.js +0 -1
  435. package/dist/genesys-webcomponents/p-dbdc447e.entry.js +0 -1
  436. package/dist/genesys-webcomponents/p-ff393e3b.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,a as r}from"./p-mm833MRp.js";import{c as a}from"./p-Cf6_BoFM.js";import{t as o}from"./p-Bk9hX_6O.js";import{b as s}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"};const n=class{constructor(e){t(this,e),this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}returnActionLocale(t){return this.i18n(`action${a(t)}`)}returnActionTypeIcon(t){switch(t){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return e("gux-table-toolbar-custom-action",{key:"bfdce1fb9a8a42b56d5446f120a00308e63dc687","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},e("span",{key:"8f39de21a3178162cc9bbc37fab5e311af3e3131",slot:"text"},this.returnActionLocale(this.action)),e("gux-icon",{key:"eabb4b49bc986a1a24809a82d8cd5491dac8582d",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};n.style=":host{display:inline-block;inline-size:100%}:host[disabled]{pointer-events:none}";export{n as gux_table_toolbar_action}
1
+ import{r as t,h as e,a as r}from"./p-mm833MRp.js";import{c as a}from"./p-Cf6_BoFM.js";import{t as o}from"./p-B_5U73XW.js";import{b as s}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"};const n=class{constructor(e){t(this,e),this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}returnActionLocale(t){return this.i18n(`action${a(t)}`)}returnActionTypeIcon(t){switch(t){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return e("gux-table-toolbar-custom-action",{key:"bfdce1fb9a8a42b56d5446f120a00308e63dc687","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},e("span",{key:"8f39de21a3178162cc9bbc37fab5e311af3e3131",slot:"text"},this.returnActionLocale(this.action)),e("gux-icon",{key:"eabb4b49bc986a1a24809a82d8cd5491dac8582d",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};n.style=":host{display:inline-block;inline-size:100%}:host[disabled]{pointer-events:none}";export{n as gux_table_toolbar_action}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,a as s}from"./p-mm833MRp.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-Bk9hX_6O.js";import{b as a}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var n={defaultLabel:"Disclosure button"};const c=class{constructor(e){t(this,e),this.active=i(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return e("div",{key:"a7410d4fa5ede825a8f1e61c34ac5bacbc02eb1e",class:`gux-disclosure-button-container gux-${this.position}`},e("button",{key:"a8fa8bf56bd2d49e855e648364361f9464f696db",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},e("gux-icon",{key:"ed5a0689820e9e4b5f47c7a7432754c852dd8724","icon-name":`${this.icon}`,decorative:!0})),e("div",{key:"0818e00d7ad9c6c1f36c2a8a7d8597d58872bf7a",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},e("slot",{key:"b61f079d42f1181695802085b9b0af1e8f47c488",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};c.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{c as gux_disclosure_button_legacy}
1
+ import{r as t,c as i,h as e,a as s}from"./p-mm833MRp.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-B_5U73XW.js";import{b as a}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var n={defaultLabel:"Disclosure button"};const c=class{constructor(e){t(this,e),this.active=i(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return e("div",{key:"a7410d4fa5ede825a8f1e61c34ac5bacbc02eb1e",class:`gux-disclosure-button-container gux-${this.position}`},e("button",{key:"a8fa8bf56bd2d49e855e648364361f9464f696db",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},e("gux-icon",{key:"ed5a0689820e9e4b5f47c7a7432754c852dd8724","icon-name":`${this.icon}`,decorative:!0})),e("div",{key:"0818e00d7ad9c6c1f36c2a8a7d8597d58872bf7a",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},e("slot",{key:"b61f079d42f1181695802085b9b0af1e8f47c488",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};c.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{c as gux_disclosure_button_legacy}
@@ -1 +1 @@
1
- import{r as o,c as t,h as e,a}from"./p-mm833MRp.js";import{b as g}from"./p-D_8CR3cJ.js";import{t as r}from"./p-Bk9hX_6O.js";import{O as u}from"./p-1mmdDpx8.js";import"./p-Cd4R0amv.js";var c={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"};const l=class{constructor(e){o(this,e),this.guxdelete=t(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold"}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onMutation(){const o=this.root.textContent.trim();this.label!==o&&(this.label=o)}onSlotChange(o){const t=o.composedPath()[0].assignedNodes();this.label=t.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return e("gux-tooltip-title",null,e("span",null,e("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return e("gux-screen-reader-beta",null,this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return e("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},e("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular",decorative:!0}),e("gux-screen-reader-beta",null,this.i18n("remove-tag",{label:this.label})))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,c)}render(){return e("div",{key:"b41105f85ccb7a9267b27e02a8dee50e2f8e8cf1",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return a(this)}};(function(o,t,e,a){var g,r=arguments.length,u=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(o,t,e,a);else for(var c=o.length-1;c>=0;c--)(g=o[c])&&(u=(r<3?g(u):r>3?g(t,e,u):g(t,e))||u);r>3&&u&&Object.defineProperty(t,e,u)})([u({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),l.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{l as gux_tag}
1
+ import{r as o,c as t,h as e,a}from"./p-mm833MRp.js";import{b as g}from"./p-D_8CR3cJ.js";import{t as r}from"./p-B_5U73XW.js";import{O as u}from"./p-1mmdDpx8.js";import"./p-Cd4R0amv.js";var c={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"};const l=class{constructor(e){o(this,e),this.guxdelete=t(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold"}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onMutation(){const o=this.root.textContent.trim();this.label!==o&&(this.label=o)}onSlotChange(o){const t=o.composedPath()[0].assignedNodes();this.label=t.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return e("gux-tooltip-title",null,e("span",null,e("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return e("gux-screen-reader-beta",null,this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return e("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},e("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular",decorative:!0}),e("gux-screen-reader-beta",null,this.i18n("remove-tag",{label:this.label})))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,c)}render(){return e("div",{key:"b41105f85ccb7a9267b27e02a8dee50e2f8e8cf1",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return a(this)}};(function(o,t,e,a){var g,r=arguments.length,u=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(o,t,e,a);else for(var c=o.length-1;c>=0;c--)(g=o[c])&&(u=(r<3?g(u):r>3?g(t,e,u):g(t,e))||u);r>3&&u&&Object.defineProperty(t,e,u)})([u({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),l.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{l as gux_tag}
@@ -1 +1 @@
1
- import{r as e,c as t,h as s,a as r}from"./p-mm833MRp.js";import{t as o}from"./p-Bk9hX_6O.js";const i=class{constructor(s){e(this,s),this.internalactivestepchange=t(this,"internalactivestepchange",7)}onClick(){this.stepDisabledState||this.internalactivestepchange.emit()}get stepDisabledState(){var e;return null===(e=this.root.closest("gux-step"))||void 0===e?void 0:e.disabled}componentWillLoad(){o(this.root)}render(){return s("button",{key:"841783a2963db35d81da4faa8720bda2bb14b739",type:"button",disabled:this.stepDisabledState},s("gux-truncate",{key:"84d45fe4b4184d0ce38dc93d26aee6741326cfaa",maxLines:2},s("slot",{key:"cdc5e9f5f9e9cc467edf1557e0deb5c4f9c90935"})))}get root(){return r(this)}};i.style="button{all:unset;font-family:var(--gse-ui-stepper-default-text-fontFamily);font-size:var(--gse-ui-stepper-default-text-fontSize);font-weight:var(--gse-ui-stepper-default-text-fontWeight);line-height:var(--gse-ui-stepper-default-text-lineHeight);color:var(--gse-ui-stepper-title-default);cursor:pointer}button[disabled]{pointer-events:none;user-select:none}button:hover:not([disabled]){font-family:var(--gse-ui-stepper-hover-text-fontFamily);font-size:var(--gse-ui-stepper-hover-text-fontSize);font-weight:var(--gse-ui-stepper-hover-text-fontWeight);line-height:var(--gse-ui-stepper-hover-text-lineHeight);color:var(--gse-ui-stepper-title-hover);text-decoration:var(--gse-ui-stepper-hover-text-textDecoration)}button:focus-visible{outline:var(--gse-ui-stepper-step-focus-border-width) var(--gse-ui-stepper-step-focus-border-style) var(--gse-ui-stepper-step-focus-border-color);outline-offset:var(--gse-ui-stepper-focus-offset);border-radius:var(--gse-ui-stepper-step-focus-borderRadius)}";export{i as gux_step_title}
1
+ import{r as e,c as t,h as s,a as r}from"./p-mm833MRp.js";import{t as o}from"./p-B_5U73XW.js";const i=class{constructor(s){e(this,s),this.internalactivestepchange=t(this,"internalactivestepchange",7)}onClick(){this.stepDisabledState||this.internalactivestepchange.emit()}get stepDisabledState(){var e;return null===(e=this.root.closest("gux-step"))||void 0===e?void 0:e.disabled}componentWillLoad(){o(this.root)}render(){return s("button",{key:"841783a2963db35d81da4faa8720bda2bb14b739",type:"button",disabled:this.stepDisabledState},s("gux-truncate",{key:"84d45fe4b4184d0ce38dc93d26aee6741326cfaa",maxLines:2},s("slot",{key:"cdc5e9f5f9e9cc467edf1557e0deb5c4f9c90935"})))}get root(){return r(this)}};i.style="button{all:unset;font-family:var(--gse-ui-stepper-default-text-fontFamily);font-size:var(--gse-ui-stepper-default-text-fontSize);font-weight:var(--gse-ui-stepper-default-text-fontWeight);line-height:var(--gse-ui-stepper-default-text-lineHeight);color:var(--gse-ui-stepper-title-default);cursor:pointer}button[disabled]{pointer-events:none;user-select:none}button:hover:not([disabled]){font-family:var(--gse-ui-stepper-hover-text-fontFamily);font-size:var(--gse-ui-stepper-hover-text-fontSize);font-weight:var(--gse-ui-stepper-hover-text-fontWeight);line-height:var(--gse-ui-stepper-hover-text-lineHeight);color:var(--gse-ui-stepper-title-hover);text-decoration:var(--gse-ui-stepper-hover-text-textDecoration)}button:focus-visible{outline:var(--gse-ui-stepper-step-focus-border-width) var(--gse-ui-stepper-step-focus-border-style) var(--gse-ui-stepper-step-focus-border-color);outline-offset:var(--gse-ui-stepper-focus-offset);border-radius:var(--gse-ui-stepper-step-focus-borderRadius)}";export{i as gux_step_title}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as o,H as i,a as s}from"./p-mm833MRp.js";import{b as n}from"./p-CK42c8Uy.js";import{g as a}from"./p-Cd4R0amv.js";import{g as r}from"./p-MAoEg4ig.js";import{r as u}from"./p-D9jKBqIb.js";import{b as l}from"./p-D_8CR3cJ.js";var h={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"};const c=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await l(this.root,h),this.root.id=this.root.id||u("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){const e=r(this.root,"subtext");this.hasSubtext=!!(null==e?void 0:e.trim())}hasDisabledParent(){const e=a("gux-listbox-multi",this.root);return null==e?void 0:e.disabled}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("gux-screen-reader-beta",null,this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"9b6df2ea3e525f96d9a72d20b8cb77015b7d9ddd",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":n(this.disabled||this.hasDisabledParent())},this.renderSVGCheckbox(),o("div",{key:"7ad0aa86b44d9088be468aff91cc08ec85749c02",class:"gux-option-wrapper"},o("gux-truncate",{key:"9127a0950a517c3de19aad2902264cbe775ee4a1","tooltip-placement":"right",ref:e=>this.truncateElement=e},o("slot",{key:"14541fde0e9c648ecfe8b8c55d939afa8be68b56"})),o("slot",{key:"26f46189ff1ea58777247617075b316e08ff11a9",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};c.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;min-inline-size:0;user-select:none}:host .gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}:host:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}';export{c as gux_option_multi}
@@ -1 +1 @@
1
- import{r as t,c as e,f as s,d as i,h as a,H as h,a as o}from"./p-mm833MRp.js";import{b as n}from"./p-D_8CR3cJ.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-Bk9hX_6O.js";import{t as d}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkScroll(){const t=this.tableContainer;this.isScroll=t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.textContent=e}get isTableEmpty(){return this.tableColumns&&this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"b8617b36db586774cfaea9ef1954dec6a956f380","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"955e4f5b8145ddaf5d44f5363685d6b928f85cca",class:"gux-table"},a("div",{key:"e1119924339af59e8c0b53227525c2313582ba06",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"aad6e8cb26162206b10d515cc96f33ebfec41040",name:"data"})),this.isTableEmpty&&a("div",{key:"8d663578eb5a3a78a70354b737fdf615ea23f0b4",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor) transparent;scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{g as gux_table}
1
+ import{r as t,c as e,f as s,d as i,h as a,H as h,a as o}from"./p-mm833MRp.js";import{b as n}from"./p-D_8CR3cJ.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-B_5U73XW.js";import{t as d}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkScroll(){const t=this.tableContainer;this.isScroll=t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.textContent=e}get isTableEmpty(){return this.tableColumns&&this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"b8617b36db586774cfaea9ef1954dec6a956f380","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"955e4f5b8145ddaf5d44f5363685d6b928f85cca",class:"gux-table"},a("div",{key:"e1119924339af59e8c0b53227525c2313582ba06",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"aad6e8cb26162206b10d515cc96f33ebfec41040",name:"data"})),this.isTableEmpty&&a("div",{key:"8d663578eb5a3a78a70354b737fdf615ea23f0b4",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor) transparent;scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{g as gux_table}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as o,a as i}from"./p-mm833MRp.js";import{a as s,c as r,o as a,f as p,s as n,h,b as d}from"./p-C8aV-TzO.js";import{O as c}from"./p-CuMZPTZF.js";import{t as l}from"./p-B_5U73XW.js";import{g as u}from"./p-BBpQG81s.js";import{f}from"./p-Cr5bTKWF.js";const g=class{constructor(o){t(this,o),this.guxdismiss=e(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1,this.disconnect=void 0}updateForElement(){this.forElement=this.getForElement(),this.forElement.setAttribute("aria-haspopup","true")}onKeyDown(t){"Escape"===t.key&&this.forElement.focus()}onFocusout(t){!this.closeOnClickOutside&&this.displayDismissButton||t.relatedTarget&&!this.root.contains(t.relatedTarget)&&this.dismiss()}checkForClickOutside(t){const e=t.composedPath(),o=f(this.root,this.for),i=e.includes(o);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}async guxDismissPopover(){this.dismiss()}async guxFocusPopover(){this.focusPopup()}get titleSlot(){return u(this.root,"title")}get footerSlot(){return u(this.root,"footer")}getForElement(){if(this.for){const t=f(this.root,this.for);return t||this.logForAttributeError(),t}this.logForAttributeError()}focusPopup(){const t=this.root.querySelector("[autoFocus]");t?null==t||t.focus():this.popupElement.focus()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=s(f(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=f(this.root,this.for);this.popupElement&&t&&r(t,this.popupElement,{placement:this.position,middleware:[a(7),p(),n(),h(),d({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:o,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const s=i.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[s],a={top:0,right:90,bottom:180,left:-90}[s],p="left"===s||"right"===s?15:13;if(o.arrow){let t=o.arrow.x;const e=o.arrow.y;"left"!==s&&"right"!==s||(t+=4),this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:-p+"px",transform:`rotate(${a}deg)`})}o.hide&&Object.assign(this.popupElement.style,{visibility:o.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.hidePopover())}logForAttributeError(){this.root.isConnected&&console.error(`gux-popover: invalid element supplied to 'for': "${this.for}"`)}onKeydown(t){switch(t.key){case"Enter":case" ":t.preventDefault(),this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusPopup()}}onMouseup(){this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition()}connectedCallback(){this.updateForElement(),l(this.root,{variant:this.position});const t=this.onKeydown.bind(this);this.forElement.addEventListener("keydown",t);const e=this.onMouseup.bind(this);this.forElement.addEventListener("mouseup",e),this.disconnect=()=>{this.forElement.removeEventListener("keydown",t),this.forElement.removeEventListener("mouseup",e)}}componentDidLoad(){this.forElement&&(this.forElement.popoverTargetElement=this.popupElement,this.isOpen&&(this.popupElement.togglePopover(),this.runUpdatePosition()))}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnect()}render(){return o("div",{key:"e939bd9d5563dfd5e723a069f302534d38f47195",ref:t=>this.popupElement=t,class:{"gux-popover-wrapper":!0,"gux-hidden":!this.isOpen},"data-placement":!0,popover:"manual",tabindex:"-1"},o("div",{key:"029e38e983de2018f5608ecd0bd8e5db570b772f",ref:t=>this.arrowElement=t,class:"gux-arrow"},o("div",{key:"b57de8a196ff01783fd186976f2f4d790a28574a",class:"gux-arrow-caret"})),this.displayDismissButton&&o("gux-dismiss-button",{key:"e45d1a5f6b0edb63e9f72c8ed1cdfeaff6bd6a5b",onClick:this.dismiss.bind(this)}),o("div",{key:"af594623ae072b7f1b0f914b43997d29a3635388",class:{"gux-popover-header":Boolean(this.titleSlot)}},o("slot",{key:"f635a2aa77c0b0e9f5bac6a36012274e7e41b421",name:"title"})),o("div",{key:"7675b0d3cb852611d77b7bd51ad1793fbcb8bda3",class:"gux-popover-content"},o("slot",{key:"c6784ac9766578bab9a4f430849d2ea162db127b"})),o("div",{key:"fa798d5965d74240817f612f6208a13b96e0e940",class:{"gux-popover-footer":Boolean(this.footerSlot)}},o("slot",{key:"3e21fca852329eaf7182a237bb47a604ca398550",name:"footer"})))}get root(){return i(this)}static get watchers(){return{for:["updateForElement"]}}};(function(t,e,o,i){var s,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,i);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(a=(r<3?s(a):r>3?s(e,o,a):s(e,o))||a);r>3&&a&&Object.defineProperty(e,o,a)})([c({triggerEvents:"mousedown"})],g.prototype,"checkForClickOutside",null),g.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;padding:var(--gse-ui-popover-padding);overflow:hidden;color:var(--gse-semantic-foreground-container-highEmphasis);background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper{}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper .gux-popover-footer{padding-block-start:var(--gse-ui-popover-gap)}";export{g as gux_popover_beta}
@@ -1 +1 @@
1
- import{r as t,h as s,a as i}from"./p-mm833MRp.js";import{b as e}from"./p-D_8CR3cJ.js";import{t as o,f as a,g as r}from"./p-CdIcJKB7.js";import{t as n}from"./p-Bk9hX_6O.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";const l=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const s=t.target;this.value=null==s?void 0:s.value,h(this.root,"change")}))}filterTimeZoneList(t){const s=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(s.toLowerCase())))}getTimeZoneOption(t){const s=this.i18n(t.name),i=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const e=a(t.currentTimeOffsetInMinutes),o=`${s}`,r=` (${this.i18n("UTC")}${e})`,n=`${r}`,h=o.replace(/_/g," "),l=`${i}`,u=o.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:r,baseDisplayOffsetText:n,countryName:l,defaultZone:"",priority:u}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),s=[];return t.forEach((t=>{const i=this.getTimeZoneOption(t);i&&s.push(i)})),s.sort(((t,s)=>{var i;return t.priority-s.priority||(null===(i=t.displayTextNameFormatted)||void 0===i?void 0:i.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,i)=>t.includes(i.value)?s.concat([Object.assign({},i)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return s("gux-dropdown",{key:"e4d29d2bf15f1519f56f906377a5a7a171a9aa14",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"fbdccbed365c2e622ac20128faadc9a90a617a96","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return i(this)}};l.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{l as gux_time_zone_picker_beta}
1
+ import{r as t,h as s,a as i}from"./p-mm833MRp.js";import{b as e}from"./p-D_8CR3cJ.js";import{t as o,f as a,g as r}from"./p-CdIcJKB7.js";import{t as n}from"./p-B_5U73XW.js";import{s as h}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";const l=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const s=t.target;this.value=null==s?void 0:s.value,h(this.root,"change")}))}filterTimeZoneList(t){const s=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(s.toLowerCase())))}getTimeZoneOption(t){const s=this.i18n(t.name),i=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const e=a(t.currentTimeOffsetInMinutes),o=`${s}`,r=` (${this.i18n("UTC")}${e})`,n=`${r}`,h=o.replace(/_/g," "),l=`${i}`,u=o.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:r,baseDisplayOffsetText:n,countryName:l,defaultZone:"",priority:u}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),s=[];return t.forEach((t=>{const i=this.getTimeZoneOption(t);i&&s.push(i)})),s.sort(((t,s)=>{var i;return t.priority-s.priority||(null===(i=t.displayTextNameFormatted)||void 0===i?void 0:i.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,i)=>t.includes(i.value)?s.concat([Object.assign({},i)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return s("gux-dropdown",{key:"e4d29d2bf15f1519f56f906377a5a7a171a9aa14",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"fbdccbed365c2e622ac20128faadc9a90a617a96","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return i(this)}};l.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{l as gux_time_zone_picker_beta}
@@ -1 +1 @@
1
- import{r as o,c as a,h as i,a as t}from"./p-mm833MRp.js";import{r as e}from"./p-D9jKBqIb.js";import{t as n}from"./p-Bk9hX_6O.js";import{h as s}from"./p-qzV3vtOw.js";const d=class{constructor(i){o(this,i),this.guxdismiss=a(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){if("Escape"===o.key)return o.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var o,a;const i=this.root.querySelector('[slot="start-align-buttons"]'),t=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(o=null==i?void 0:i.textContent)||void 0===o?void 0:o.trim())||Boolean(null===(a=null==t?void 0:t.textContent)||void 0===a?void 0:a.trim())}renderFooter(){return s(this.root,"footer")?i("footer",null,i("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),a=e();return i("dialog",{key:"0bed8596887440a50436ffbef58e91ead633e9da",onClose:this.onCloseHandler.bind(this),ref:o=>this.dialogElement=o,"aria-labelledby":o?a:null},i("div",{key:"308a407996f31d19188127136a2f8cdeb2777c39",class:`gux-modal-container gux-${this.size}`},i("gux-dismiss-button",{key:"c2e623ea1e119e11968b5449b756945afa37d092",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(a),i("div",{key:"3b435f3b68838426896b2a02bfb0446f4e228996",class:"gux-modal-content"},i("p",{key:"c52485e70bd4d338f935ebdfda942ddbb786c266"},i("slot",{key:"4e7cbdf6ccdb0a19dbcedb2e757d1e5413689e12",name:"content"}))),this.renderFooter()))}renderTitle(o){return i("h1",{class:"gux-modal-header",id:o},i("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return i("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},i("div",{class:"gux-start-align-buttons"},i("slot",{name:"start-align-buttons"})),i("div",{class:"gux-end-align-buttons"},i("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return t(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;background-color:var(--gse-ui-modal-backgroundColor);border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto;color:var(--gse-semantic-foreground-container-highEmphasis)}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}";export{d as gux_modal}
1
+ import{r as o,c as a,h as i,a as t}from"./p-mm833MRp.js";import{r as e}from"./p-D9jKBqIb.js";import{t as n}from"./p-B_5U73XW.js";import{h as s}from"./p-qzV3vtOw.js";const d=class{constructor(i){o(this,i),this.guxdismiss=a(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){if("Escape"===o.key)return o.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var o,a;const i=this.root.querySelector('[slot="start-align-buttons"]'),t=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(o=null==i?void 0:i.textContent)||void 0===o?void 0:o.trim())||Boolean(null===(a=null==t?void 0:t.textContent)||void 0===a?void 0:a.trim())}renderFooter(){return s(this.root,"footer")?i("footer",null,i("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),a=e();return i("dialog",{key:"0bed8596887440a50436ffbef58e91ead633e9da",onClose:this.onCloseHandler.bind(this),ref:o=>this.dialogElement=o,"aria-labelledby":o?a:null},i("div",{key:"308a407996f31d19188127136a2f8cdeb2777c39",class:`gux-modal-container gux-${this.size}`},i("gux-dismiss-button",{key:"c2e623ea1e119e11968b5449b756945afa37d092",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(a),i("div",{key:"3b435f3b68838426896b2a02bfb0446f4e228996",class:"gux-modal-content"},i("p",{key:"c52485e70bd4d338f935ebdfda942ddbb786c266"},i("slot",{key:"4e7cbdf6ccdb0a19dbcedb2e757d1e5413689e12",name:"content"}))),this.renderFooter()))}renderTitle(o){return i("h1",{class:"gux-modal-header",id:o},i("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return i("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},i("div",{class:"gux-start-align-buttons"},i("slot",{name:"start-align-buttons"})),i("div",{class:"gux-end-align-buttons"},i("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return t(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;background-color:var(--gse-ui-modal-backgroundColor);border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto;color:var(--gse-semantic-foreground-container-highEmphasis)}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}";export{d as gux_modal}
@@ -1 +1 @@
1
- import{r as a,c as t,h as e,a as i}from"./p-mm833MRp.js";import{t as n}from"./p-Bk9hX_6O.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"79664b75a81f2a830eb54787f05433bcb0f3cc9d",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"b7de73a8371a5f5a6724206790bd658c13bb985c",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"7cdc619f47134e8336c3d3ae1188699d03efba27",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
1
+ import{r as a,c as t,h as e,a as i}from"./p-mm833MRp.js";import{t as n}from"./p-B_5U73XW.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"79664b75a81f2a830eb54787f05433bcb0f3cc9d",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"b7de73a8371a5f5a6724206790bd658c13bb985c",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"7cdc619f47134e8336c3d3ae1188699d03efba27",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
@@ -1 +1 @@
1
- import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-mm833MRp.js";import{O as s}from"./p-0tG-lFhH.js";import{O as l}from"./p-1mmdDpx8.js";import{t as r}from"./p-Bk9hX_6O.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 l=t.length-1;l>=0;l--)(o=t[l])&&(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(){r(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:"e7fe904d097cfc944ca5cb883be17e4ea5d15194",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"45792fb25aa79506a45faa74b647044c3bd33ded",class:"search-filter-container"},a("slot",{key:"56a0cc5778a5c8979b9a35f659291e74074539bf",name:"search-and-filter"})),a("div",{key:"839408d1b1323cafe77e7d0778e44e34788e3feb",class:"section-spacing"}),a("div",{key:"818873535d3474925d986bc6b0104483b46e812e",class:"gux-contextual-permanent-primary"},a("div",{key:"426efac6c89f42db5793ec89aa7042bc36b531ff",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"d136baab7645d091246f1e9118bbfcfb18a5f61f",name:"contextual-actions"})),a("div",{key:"539f2f2b8920886a08bebb1b18068ece140bf7e5",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"843d60a9782919ed208744341a47b6d2c36acb50",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"bf087ee5aae1e42b8f38e07ae3df60332186d26f","show-menu":this.renderMenu()},a("slot",{key:"dd82663092a9d140b1cb602f63931a3816120cd5",name:"menu-actions"})),a("slot",{key:"f2637b336a9b3d1b229930fb83c9ba6dd1be149c",name:"primary-action"}))))}get root(){return n(this)}};p([l({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-mm833MRp.js";import{O as s}from"./p-0tG-lFhH.js";import{O as l}from"./p-1mmdDpx8.js";import{t as r}from"./p-B_5U73XW.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 l=t.length-1;l>=0;l--)(o=t[l])&&(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(){r(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:"e7fe904d097cfc944ca5cb883be17e4ea5d15194",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"45792fb25aa79506a45faa74b647044c3bd33ded",class:"search-filter-container"},a("slot",{key:"56a0cc5778a5c8979b9a35f659291e74074539bf",name:"search-and-filter"})),a("div",{key:"839408d1b1323cafe77e7d0778e44e34788e3feb",class:"section-spacing"}),a("div",{key:"818873535d3474925d986bc6b0104483b46e812e",class:"gux-contextual-permanent-primary"},a("div",{key:"426efac6c89f42db5793ec89aa7042bc36b531ff",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"d136baab7645d091246f1e9118bbfcfb18a5f61f",name:"contextual-actions"})),a("div",{key:"539f2f2b8920886a08bebb1b18068ece140bf7e5",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"843d60a9782919ed208744341a47b6d2c36acb50",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"bf087ee5aae1e42b8f38e07ae3df60332186d26f","show-menu":this.renderMenu()},a("slot",{key:"dd82663092a9d140b1cb602f63931a3816120cd5",name:"menu-actions"})),a("slot",{key:"f2637b336a9b3d1b229930fb83c9ba6dd1be149c",name:"primary-action"}))))}get root(){return n(this)}};p([l({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{e,r,h as a,a as l}from"./p-mm833MRp.js";import{t as o}from"./p-Bk9hX_6O.js";import{a as s}from"./p-DxtJDeL9.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],i={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},u=Object.keys(i),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:u.includes(e)?i[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)});try{await this.prepIcon(this.iconName)}catch(e){s(this.root,`Failed to load "${this.iconName}"icon: ${e}`)}}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"99218862a4c35ffce4c199f28a8b1ea5a7e940f4",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}";export{n as gux_icon}
1
+ import{e,r,h as a,a as l}from"./p-mm833MRp.js";import{t as o}from"./p-B_5U73XW.js";import{a as s}from"./p-DxtJDeL9.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],i={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},u=Object.keys(i),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:u.includes(e)?i[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)});try{await this.prepIcon(this.iconName)}catch(e){s(this.root,`Failed to load "${this.iconName}"icon: ${e}`)}}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"99218862a4c35ffce4c199f28a8b1ea5a7e940f4",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}";export{n as gux_icon}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,a as s}from"./p-mm833MRp.js";import{t as o}from"./p-B_5U73XW.js";const r=class{constructor(t){e(this,t),this.blockLevel=!1}componentWillLoad(){o(this.root)}render(){return t(this.blockLevel?"div":"span",{key:"7969b39424921ab32e0b437ee704e0508896e5f9",class:"gux-sr-only"},t("slot",{key:"ac96246c2d26dd65ceae2c7b7a74e27e0377eb2f"}))}get root(){return s(this)}};r.style=":host{display:contents}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{r as gux_screen_reader_beta}
@@ -1 +1 @@
1
- import{r as t,h as i,H as a,a as e}from"./p-mm833MRp.js";import{s as r}from"./p-BMRf5pjV.js";import{c as s}from"./p-CcCycvZh.js";import{t as n}from"./p-Bk9hX_6O.js";import{l as o}from"./p-DxtJDeL9.js";import{b as l}from"./p-D_8CR3cJ.js";import{O as g}from"./p-CuMZPTZF.js";import"./p-Cd4R0amv.js";var u={editRating:"Edit Rating"};const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default",this.compact=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusIn(){this.compact&&this.compactRatingElement.focus()}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly||this.compact)return;const[i]=t.composedPath(),a=i.getRootNode(),e=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;e===this.value+.5?this.updateRatingValue(e):e===this.value?this.updateRatingValue(0):e!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?e-.5:e):this.updateRatingValue(e)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly||this.isOpen)return;const i="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+i);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-i);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}get ariaLabel(){var t;return null===(t=this.root)||void 0===t?void 0:t.getAttribute("aria-label")}get ariaLabelledby(){var t;return null===(t=this.root)||void 0===t?void 0:t.getAttribute("aria-labelledby")}updateRatingValue(t){const i=s(t,0,this.maxValue),a="half"===this.increment?.5:1,e=Math.round(i/a)*a;this.value!==e&&(this.value=e,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"fa/star-sharp-half-stroke-regular":i+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getCompactRatingElement(){let t;return t=0===this.value?"fa/star-regular":"fa/star-solid",i("div",{class:"gux-star-rating-compact"},i("div",{class:"gux-star-rating-label-value"},i("gux-icon",{tabindex:"0",ref:t=>this.compactRatingElement=t,"icon-name":t,decorative:!0,size:"small"}),i("span",{class:"gux-star-rating-value"},this.value)),this.renderEditRatingButton())}renderEditRatingButton(){if(!this.readonly)return i("div",{class:"gux-edit-rating-button"},i("gux-button",{tabindex:"-1",onClick:()=>{this.togglePopover()},id:"popover-target",accent:"inline",disabled:this.disabled},this.i18n("editRating")),i("gux-popover-beta",{position:"bottom-start",for:"popover-target","is-open":this.isOpen},i("gux-rating",{tabindex:"-1",value:this.value,"max-value":this.maxValue,increment:this.increment,readonly:this.readonly,onClick:t=>this.handlePopoverRatingChange(t),"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledby})))}togglePopover(){this.isOpen=!this.isOpen}handlePopoverRatingChange(t){this.value=t.target.value,r(this.root,"input"),r(this.root,"change")}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){n(this.root)}async componentWillRender(){this.i18n=await l(this.root,u)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||o(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}renderStars(){return this.compact?this.getCompactRatingElement():this.getRatingStarElements()}render(){return i(a,{key:"168975d155bbb6e516e5f3613807ee62ae131a57",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{key:"568ffc4185de45751d31fbd65265048c04b26522",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled,"gux-compact":this.compact}},this.renderStars()))}get root(){return e(this)}};(function(t,i,a,e){var r,s=arguments.length,n=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(s<3?r(n):s>3?r(i,a,n):r(i,a))||n);s>3&&n&&Object.defineProperty(i,a,n)})([g({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container:not(.gux-compact) gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color);cursor:pointer}.gux-rating-star-container .gux-star-rating-compact{display:flex;flex-direction:column;gap:var(--gse-ui-ratingGroup-shortened-edit-gap);align-items:flex-start;justify-content:center}.gux-rating-star-container .gux-star-rating-compact .gux-star-rating-label-value{display:flex;flex-direction:row;gap:var(--gse-ui-ratingGroup-shortened-gap);align-items:center;justify-content:center}.gux-rating-star-container .gux-star-rating-compact .gux-star-rating-value{font-family:var(--gse-ui-ratingGroup-text-fontFamily);font-size:var(--gse-ui-ratingGroup-text-fontSize);font-weight:var(--gse-ui-ratingGroup-text-fontWeight);line-height:var(--gse-ui-ratingGroup-text-lineHeight);color:var(--gse-ui-ratingGroup-label)}";export{h as gux_rating}
1
+ import{r as t,h as i,H as a,a as e}from"./p-mm833MRp.js";import{s as r}from"./p-BMRf5pjV.js";import{c as s}from"./p-CcCycvZh.js";import{t as n}from"./p-B_5U73XW.js";import{l as o}from"./p-DxtJDeL9.js";import{b as l}from"./p-D_8CR3cJ.js";import{O as g}from"./p-CuMZPTZF.js";import"./p-Cd4R0amv.js";var u={editRating:"Edit Rating"};const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default",this.compact=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusIn(){this.compact&&this.compactRatingElement.focus()}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly||this.compact)return;const[i]=t.composedPath(),a=i.getRootNode(),e=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;e===this.value+.5?this.updateRatingValue(e):e===this.value?this.updateRatingValue(0):e!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?e-.5:e):this.updateRatingValue(e)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly||this.isOpen)return;const i="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+i);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-i);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}get ariaLabel(){var t;return null===(t=this.root)||void 0===t?void 0:t.getAttribute("aria-label")}get ariaLabelledby(){var t;return null===(t=this.root)||void 0===t?void 0:t.getAttribute("aria-labelledby")}updateRatingValue(t){const i=s(t,0,this.maxValue),a="half"===this.increment?.5:1,e=Math.round(i/a)*a;this.value!==e&&(this.value=e,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"fa/star-sharp-half-stroke-regular":i+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getCompactRatingElement(){let t;return t=0===this.value?"fa/star-regular":"fa/star-solid",i("div",{class:"gux-star-rating-compact"},i("div",{class:"gux-star-rating-label-value"},i("gux-icon",{tabindex:"0",ref:t=>this.compactRatingElement=t,"icon-name":t,decorative:!0,size:"small"}),i("span",{class:"gux-star-rating-value"},this.value)),this.renderEditRatingButton())}renderEditRatingButton(){if(!this.readonly)return i("div",{class:"gux-edit-rating-button"},i("gux-button",{tabindex:"-1",onClick:()=>{this.togglePopover()},id:"popover-target",accent:"inline",disabled:this.disabled},this.i18n("editRating")),i("gux-popover-beta",{position:"bottom-start",for:"popover-target","is-open":this.isOpen},i("gux-rating",{tabindex:"-1",value:this.value,"max-value":this.maxValue,increment:this.increment,readonly:this.readonly,onClick:t=>this.handlePopoverRatingChange(t),"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledby})))}togglePopover(){this.isOpen=!this.isOpen}handlePopoverRatingChange(t){this.value=t.target.value,r(this.root,"input"),r(this.root,"change")}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){n(this.root)}async componentWillRender(){this.i18n=await l(this.root,u)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||o(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}renderStars(){return this.compact?this.getCompactRatingElement():this.getRatingStarElements()}render(){return i(a,{key:"168975d155bbb6e516e5f3613807ee62ae131a57",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{key:"568ffc4185de45751d31fbd65265048c04b26522",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled,"gux-compact":this.compact}},this.renderStars()))}get root(){return e(this)}};(function(t,i,a,e){var r,s=arguments.length,n=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(s<3?r(n):s>3?r(i,a,n):r(i,a))||n);s>3&&n&&Object.defineProperty(i,a,n)})([g({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container:not(.gux-compact) gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color);cursor:pointer}.gux-rating-star-container .gux-star-rating-compact{display:flex;flex-direction:column;gap:var(--gse-ui-ratingGroup-shortened-edit-gap);align-items:flex-start;justify-content:center}.gux-rating-star-container .gux-star-rating-compact .gux-star-rating-label-value{display:flex;flex-direction:row;gap:var(--gse-ui-ratingGroup-shortened-gap);align-items:center;justify-content:center}.gux-rating-star-container .gux-star-rating-compact .gux-star-rating-value{font-family:var(--gse-ui-ratingGroup-text-fontFamily);font-size:var(--gse-ui-ratingGroup-text-fontSize);font-weight:var(--gse-ui-ratingGroup-text-fontWeight);line-height:var(--gse-ui-ratingGroup-text-lineHeight);color:var(--gse-ui-ratingGroup-label)}";export{h as gux_rating}
@@ -1 +1 @@
1
- import{r as a,c as t,d as i,h as e,a as n}from"./p-mm833MRp.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-Bk9hX_6O.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:"daed1d8b7d56f32b3a8438dba26d8f7007ec4f37",class:"gux-pagination-container"},e("div",{key:"3abb083f9de877d44cc943a00ebbbe459975a2fa",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"1c2f9210221bc608aa962957b91453a8a9d5e394","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"646a61531538b09fd698fc7b1e5e1c13065174e7",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"7702e98c978599ef0101b44ca0fe1a941cc21565",class:"gux-pagination-spacer"}),e("div",{key:"e4b252cc252e623b68452f103ca22eeaea81ba90",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"1026685623c4715131e7f28964468f22a6325ca1",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-mm833MRp.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-B_5U73XW.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:"daed1d8b7d56f32b3a8438dba26d8f7007ec4f37",class:"gux-pagination-container"},e("div",{key:"3abb083f9de877d44cc943a00ebbbe459975a2fa",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"1c2f9210221bc608aa962957b91453a8a9d5e394","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"646a61531538b09fd698fc7b1e5e1c13065174e7",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"7702e98c978599ef0101b44ca0fe1a941cc21565",class:"gux-pagination-spacer"}),e("div",{key:"e4b252cc252e623b68452f103ca22eeaea81ba90",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"1026685623c4715131e7f28964468f22a6325ca1",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 as e,h as i,a as t}from"./p-mm833MRp.js";import{b as o}from"./p-D_8CR3cJ.js";import{O as r}from"./p-1mmdDpx8.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as d}from"./p-BkM3RdTO.js";import{G as h,a as u,b as c}from"./p-DR1RHELj.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-Bk9hX_6O.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-time-zone-picker-beta");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;switch(e.key){case"Tab":this.input.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));break;case"Shift":break;default:this.input.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.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"a2c68942760261ead99de690292e5212c7e51c68",labelPosition:this.computedLabelPosition},i(u,{key:"bce390a211dc6ec360e98351dffd94ea587b9f1c"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"d33286d7b2907c45cc7ae016ada4a376844a2382",position:this.computedLabelPosition,required:this.required},i("slot",{key:"0f28f6cf1f6206dac20b921c6801fc867d3c4d84",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"8a3a4fd4ea3a8e7d936cdb2b0381c0630f5466be",variant:this.indicatorMark,required:this.required}),i("slot",{key:"6b40b670b50fc08cd2bdf5a4a746dd49f0b75ee7",name:"label-info"})),i("slot",{key:"7e652012704350ded87227440248ded99d958c71",name:"label-info"}),i("div",{key:"3d623fb3dadea4922acb2bb1cc3f6b5d06b3add7",class:"gux-input-and-error-container"},i("div",{key:"03bd1920912a114ed96eb778cbf508ce796df886",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"08c31da81e638aac148c261ea0ce907a573b330d"})),i(f,{key:"a42aa3900bae7604743901f0d02cf142deb0895d",show:this.hasError},i("slot",{key:"043484bc6874dad6c94b82f6641c61b6d1bef498",name:"error"})),i(d,{key:"ea9e1555da10f5b2db0191b2cbe4573c55c04b6d",show:!this.hasError&&this.hasHelp},i("slot",{key:"0f5cea2ef4a9d9ade78cb103cc41214fc7409b99",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(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,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([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 0 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}::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}";export{x as gux_form_field_time_zone_picker}
1
+ import{r as e,h as i,a as t}from"./p-mm833MRp.js";import{b as o}from"./p-D_8CR3cJ.js";import{O as r}from"./p-1mmdDpx8.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as d}from"./p-BkM3RdTO.js";import{G as h,a as u,b as c}from"./p-DR1RHELj.js";import{v as m,a as p}from"./p-DHLxhscH.js";import{t as g}from"./p-B_5U73XW.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-time-zone-picker-beta");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;switch(e.key){case"Tab":this.input.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));break;case"Shift":break;default:this.input.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.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"a2c68942760261ead99de690292e5212c7e51c68",labelPosition:this.computedLabelPosition},i(u,{key:"bce390a211dc6ec360e98351dffd94ea587b9f1c"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"d33286d7b2907c45cc7ae016ada4a376844a2382",position:this.computedLabelPosition,required:this.required},i("slot",{key:"0f28f6cf1f6206dac20b921c6801fc867d3c4d84",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"8a3a4fd4ea3a8e7d936cdb2b0381c0630f5466be",variant:this.indicatorMark,required:this.required}),i("slot",{key:"6b40b670b50fc08cd2bdf5a4a746dd49f0b75ee7",name:"label-info"})),i("slot",{key:"7e652012704350ded87227440248ded99d958c71",name:"label-info"}),i("div",{key:"3d623fb3dadea4922acb2bb1cc3f6b5d06b3add7",class:"gux-input-and-error-container"},i("div",{key:"03bd1920912a114ed96eb778cbf508ce796df886",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"08c31da81e638aac148c261ea0ce907a573b330d"})),i(f,{key:"a42aa3900bae7604743901f0d02cf142deb0895d",show:this.hasError},i("slot",{key:"043484bc6874dad6c94b82f6641c61b6d1bef498",name:"error"})),i(d,{key:"ea9e1555da10f5b2db0191b2cbe4573c55c04b6d",show:!this.hasError&&this.hasHelp},i("slot",{key:"0f5cea2ef4a9d9ade78cb103cc41214fc7409b99",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(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,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([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 0 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}::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}";export{x as gux_form_field_time_zone_picker}
@@ -1 +1 @@
1
- import{r as e,h as a,H as t,a as o}from"./p-mm833MRp.js";import{t as s}from"./p-Bk9hX_6O.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"faee7b43469366ecf4b83bcba27d479cb05fdf3f"},a("div",{key:"c5c9b50195b74006837daf9ed21bafd702251b1a",class:"gux-header"},a("div",{key:"be68c6ba461dbdec636e040f7ba16f500ba8eb81",class:"gux-icon"},a("slot",{key:"518cfcede722f1e5753ec85ed443ab2ea486a10f",name:"icon"})),a("div",{key:"66d154fc40b4f348146085b52eff5faafa41df6c",class:"gux-title"},a("slot",{key:"9c1d66e2755c90bc8129efff9865f1f0bcf79a81",name:"title"}))),a("div",{key:"c074aa998579e8c59f03d7e01e36cfdcbb53d2c7",class:"gux-message"},a("slot",{key:"9767c4a224dcd5c4b90514daa4a98dd5613ad9cc",name:"message"})),a("div",{key:"51fa5ff9a5c615f5c91576e17230e1415d70620a",class:"gux-action-buttons"},a("div",{key:"3a3c935f9dd5f8475d98071942d413316554133c",class:"gux-positive-button"},a("slot",{key:"6d231257e47ab583d144d2460d58605b64b25810",name:"positive-button"})),a("div",{key:"4736b7f9e1b545da719614fc6cc45a32fadc08c0",class:"gux-negative-button"},a("slot",{key:"75b8fe9e5a393043b43bb708c2c72d1b00b3058d",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:var(--gse-core-colorLegacy-secondary-aquaGreen)}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
1
+ import{r as e,h as a,H as t,a as o}from"./p-mm833MRp.js";import{t as s}from"./p-B_5U73XW.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"faee7b43469366ecf4b83bcba27d479cb05fdf3f"},a("div",{key:"c5c9b50195b74006837daf9ed21bafd702251b1a",class:"gux-header"},a("div",{key:"be68c6ba461dbdec636e040f7ba16f500ba8eb81",class:"gux-icon"},a("slot",{key:"518cfcede722f1e5753ec85ed443ab2ea486a10f",name:"icon"})),a("div",{key:"66d154fc40b4f348146085b52eff5faafa41df6c",class:"gux-title"},a("slot",{key:"9c1d66e2755c90bc8129efff9865f1f0bcf79a81",name:"title"}))),a("div",{key:"c074aa998579e8c59f03d7e01e36cfdcbb53d2c7",class:"gux-message"},a("slot",{key:"9767c4a224dcd5c4b90514daa4a98dd5613ad9cc",name:"message"})),a("div",{key:"51fa5ff9a5c615f5c91576e17230e1415d70620a",class:"gux-action-buttons"},a("div",{key:"3a3c935f9dd5f8475d98071942d413316554133c",class:"gux-positive-button"},a("slot",{key:"6d231257e47ab583d144d2460d58605b64b25810",name:"positive-button"})),a("div",{key:"4736b7f9e1b545da719614fc6cc45a32fadc08c0",class:"gux-negative-button"},a("slot",{key:"75b8fe9e5a393043b43bb708c2c72d1b00b3058d",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:var(--gse-core-colorLegacy-secondary-aquaGreen)}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as e,a as o,f as s}from"./p-mm833MRp.js";import{a as r,c as a,o as n,f as l,s as d,h as c}from"./p-C8aV-TzO.js";import{r as h}from"./p-D9jKBqIb.js";import{t as u}from"./p-B_5U73XW.js";import{f as p}from"./p-Cr5bTKWF.js";import{b as g}from"./p-Bg4q97BS.js";import{o as f}from"./p-DKtwSwJx.js";import{O as m}from"./p-1mmdDpx8.js";import{O as b}from"./p-0tG-lFhH.js";import{g as v}from"./p-DjLdmWVU.js";const x=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=h("gux-tooltip"),this.placement="bottom-start",this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=r(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[n(12),l({fallbackAxisSideDirection:"start",crossAxis:!1}),d(),c(),f()];a(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}),350)}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){u(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"17f22e06186c9e9cbe41f6e1070548b1d08d1742",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"492f7d107249ec1e0634248618fdfdcd6ded3fd3",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"49c1c62ac9a42f1bd09c334e4e7934d19f9b090b",name:"content"},i("slot",{key:"f23a7c7248992a42022ea650f49dd991c307013c"}))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};x.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:var(--gse-ui-tooltip-maxWidth);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";var w=function(t,i,e,o){var s,r=arguments.length,a=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(i,e,a):s(i,e))||a);return r>3&&a&&Object.defineProperty(i,e,a),a};const y=class{constructor(i){t(this,i),this.tooltipPlacement="bottom-start",this.tooltipAccent="light"}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}onMutation(){s(this.root)}onResize(){s(this.root)}getTooltipContent(){return v(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{accent:this.tooltipAccent,placement:this.tooltipPlacement,"aria-hidden":"true",ref:t=>this.tooltipElement=t},i("div",{slot:"content"},this.getTooltipContent())):null}render(){var t;return i("div",{key:"2bbd8997f7be17ea6c12c8600a20da618b3e74e0",class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{key:"907786b0ef00f6ee847e21e0d0d0f802f933c8f5",class:{"gux-overflow-hidden":this.needsTruncation(),"gux-truncate-slot-container":!0},style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",{key:"48c194a2ea04f83648f1298c9ba85deed78aa7d1"})),this.renderTooltip())}get root(){return o(this)}};w([m({childList:!0,subtree:!0,characterData:!0})],y.prototype,"onMutation",null),w([b()],y.prototype,"onResize",null),y.style=":host{display:block;inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;text-overflow:ellipsis}.gux-overflow-hidden{overflow:hidden}";export{x as gux_tooltip,y as gux_truncate}