genesys-spark-components 4.201.1 → 4.203.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (622) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-Cr4wXZEZ.js → get-valid-timezone-B5cZ0d-f.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +2 -2
  8. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  9. package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +3 -3
  10. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  11. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  14. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  16. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  19. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
  33. package/dist/cjs/gux-column-manager-item.cjs.entry.js +6 -6
  34. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  37. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  42. package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-day-beta.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  47. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  50. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  52. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  53. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  56. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  58. package/dist/cjs/{gux-form-field-container-2_a3wSMK.js → gux-form-field-container-ByxtdYbD.js} +1 -1
  59. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  60. package/dist/cjs/{gux-form-field-error-BYZMjP5s.js → gux-form-field-error-BISg2kL8.js} +1 -1
  61. package/dist/cjs/{gux-form-field-fieldset-container-Dt5fmqq7.js → gux-form-field-fieldset-container-BTXNpdtT.js} +1 -1
  62. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +6 -6
  63. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  64. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  65. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  66. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +7 -7
  67. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  68. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  70. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  71. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  72. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  73. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +6 -6
  74. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  75. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  76. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  77. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  85. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  93. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  102. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  104. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  115. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  116. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  117. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  122. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  123. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-rating.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  127. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  129. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  130. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  131. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  132. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  133. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  138. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  139. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  147. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  152. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  153. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  154. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  155. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  156. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  157. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  158. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  160. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  161. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  162. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  164. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  165. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  166. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  167. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  168. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  169. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  172. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  173. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  174. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  175. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +17 -11
  176. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  177. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  178. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  179. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  180. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  181. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  183. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  184. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  185. package/dist/cjs/{gux-tree-multi.service-m1PoXc9Q.js → gux-tree-multi.service-Cazyeh4r.js} +1 -1
  186. package/dist/cjs/{gux-tree.service-CA22BIi4.js → gux-tree.service-j-_hWYTi.js} +1 -1
  187. package/dist/cjs/{index-CIoLTj6_.js → index-D7ufkS4M.js} +1 -1
  188. package/dist/cjs/index-WrzJncgo.js +2767 -0
  189. package/dist/cjs/loader.cjs.js +1 -1
  190. package/dist/cjs/{on-click-outside-P0KtJaXL.js → on-click-outside-C-y41hO4.js} +1 -1
  191. package/dist/cjs/{on-mutation-BxwPAn4k.js → on-mutation-Dw3zh5I3.js} +1 -1
  192. package/dist/cjs/{on-resize-q832igpu.js → on-resize-B2UObNbA.js} +1 -1
  193. package/dist/cjs/{usage-B01--2fH.js → usage-GrpazmBt.js} +1 -1
  194. package/dist/collection/components/beta/gux-date/gux-date.js +2 -2
  195. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +2 -2
  196. package/dist/collection/components/beta/gux-day/gux-day.js +2 -2
  197. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +2 -2
  198. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +2 -2
  199. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.js +1 -1
  200. package/dist/collection/components/beta/gux-time/gux-time.js +2 -2
  201. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +14 -8
  202. package/dist/collection/components/stable/gux-calendar/gux-calendar.service.js +1 -1
  203. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +10 -5
  204. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +3 -3
  205. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +2 -2
  206. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +2 -2
  207. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -2
  208. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +1 -1
  209. package/dist/collection/test/setupTests.js +0 -1
  210. package/dist/esm/genesys-webcomponents.js +2 -2
  211. package/dist/esm/{get-valid-timezone-1sUeMVtV.js → get-valid-timezone-rh51yAZx.js} +1 -1
  212. package/dist/esm/gux-accordion-section.entry.js +1 -1
  213. package/dist/esm/gux-accordion.entry.js +2 -2
  214. package/dist/esm/gux-action-button.entry.js +4 -4
  215. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  216. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +2 -2
  217. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  218. package/dist/esm/gux-ai-powered-badge-beta.entry.js +3 -3
  219. package/dist/esm/gux-all-row-select.entry.js +2 -2
  220. package/dist/esm/gux-announce-beta.entry.js +2 -2
  221. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  222. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  223. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  224. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  225. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  226. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  227. package/dist/esm/gux-badge.entry.js +4 -4
  228. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  229. package/dist/esm/gux-blank-state.entry.js +3 -3
  230. package/dist/esm/gux-branch-multi.entry.js +2 -2
  231. package/dist/esm/gux-branch.entry.js +2 -2
  232. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  233. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  234. package/dist/esm/gux-button-multi.entry.js +3 -3
  235. package/dist/esm/gux-button-slot.entry.js +2 -2
  236. package/dist/esm/gux-button_2.entry.js +3 -3
  237. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  238. package/dist/esm/gux-calendar.entry.js +3 -3
  239. package/dist/esm/gux-card.entry.js +2 -2
  240. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  241. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  242. package/dist/esm/gux-column-manager-item.entry.js +6 -6
  243. package/dist/esm/gux-column-manager.entry.js +3 -3
  244. package/dist/esm/gux-content-search.entry.js +3 -3
  245. package/dist/esm/gux-context-menu.entry.js +6 -6
  246. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  247. package/dist/esm/gux-create-option.entry.js +2 -2
  248. package/dist/esm/gux-cta-group.entry.js +1 -1
  249. package/dist/esm/gux-date-beta.entry.js +5 -5
  250. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  251. package/dist/esm/gux-datepicker.entry.js +5 -5
  252. package/dist/esm/gux-day-beta.entry.js +3 -3
  253. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  254. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  255. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  256. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  257. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  258. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  259. package/dist/esm/gux-file-list-item.entry.js +3 -3
  260. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  261. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  262. package/dist/esm/gux-form-beta.entry.js +1 -1
  263. package/dist/esm/gux-form-description.entry.js +1 -1
  264. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  265. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  266. package/dist/esm/gux-form-field-color.entry.js +5 -5
  267. package/dist/esm/{gux-form-field-container-CskVsi_X.js → gux-form-field-container-eEXLGkFV.js} +1 -1
  268. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  269. package/dist/esm/{gux-form-field-error-DeVGvgGb.js → gux-form-field-error-DzKSvWJN.js} +1 -1
  270. package/dist/esm/{gux-form-field-fieldset-container-Dr8DNQiJ.js → gux-form-field-fieldset-container-CFP1iu0h.js} +1 -1
  271. package/dist/esm/gux-form-field-file-beta.entry.js +6 -6
  272. package/dist/esm/gux-form-field-file.entry.js +5 -5
  273. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  274. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  275. package/dist/esm/gux-form-field-number_2.entry.js +7 -7
  276. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  277. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  278. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  279. package/dist/esm/gux-form-field-range.entry.js +6 -6
  280. package/dist/esm/gux-form-field-search.entry.js +5 -5
  281. package/dist/esm/gux-form-field-select.entry.js +5 -5
  282. package/dist/esm/gux-form-field-text-like.entry.js +6 -6
  283. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  284. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  285. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  286. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  287. package/dist/esm/gux-form-footer.entry.js +2 -2
  288. package/dist/esm/gux-form-heading.entry.js +1 -1
  289. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  290. package/dist/esm/gux-icon.entry.js +2 -2
  291. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  292. package/dist/esm/gux-inline-alert.entry.js +3 -3
  293. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  294. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  295. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  296. package/dist/esm/gux-leaf.entry.js +2 -2
  297. package/dist/esm/gux-link-beta.entry.js +2 -2
  298. package/dist/esm/gux-list-divider.entry.js +1 -1
  299. package/dist/esm/gux-list-item.entry.js +1 -1
  300. package/dist/esm/gux-list.entry.js +2 -2
  301. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  302. package/dist/esm/gux-loading-message.entry.js +2 -2
  303. package/dist/esm/gux-logo-beta.entry.js +3 -3
  304. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  305. package/dist/esm/gux-menu-option.entry.js +1 -1
  306. package/dist/esm/gux-menu.entry.js +1 -1
  307. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  308. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  309. package/dist/esm/gux-modal.entry.js +2 -2
  310. package/dist/esm/gux-month-calendar.entry.js +3 -3
  311. package/dist/esm/gux-month-list_2.entry.js +1 -1
  312. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  313. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  314. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  315. package/dist/esm/gux-option-icon.entry.js +1 -1
  316. package/dist/esm/gux-option-multi.entry.js +2 -2
  317. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  318. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  319. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  320. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  321. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  322. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  323. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  324. package/dist/esm/gux-pagination.entry.js +2 -2
  325. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  326. package/dist/esm/gux-popover-beta.entry.js +3 -3
  327. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  328. package/dist/esm/gux-popover-list.entry.js +3 -3
  329. package/dist/esm/gux-popup.entry.js +1 -1
  330. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  331. package/dist/esm/gux-radial-loading.entry.js +3 -3
  332. package/dist/esm/gux-radial-progress.entry.js +2 -2
  333. package/dist/esm/gux-rating.entry.js +4 -4
  334. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  335. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  336. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  337. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  338. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  339. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  340. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  341. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  342. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  343. package/dist/esm/gux-row-select.entry.js +2 -2
  344. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  345. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  346. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  347. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  348. package/dist/esm/gux-select-all.entry.js +2 -2
  349. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  350. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  351. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  352. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  353. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  354. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  355. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  356. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  357. package/dist/esm/gux-sort-control.entry.js +3 -3
  358. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  359. package/dist/esm/gux-step-title.entry.js +2 -2
  360. package/dist/esm/gux-step.entry.js +2 -2
  361. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  362. package/dist/esm/gux-submenu.entry.js +1 -1
  363. package/dist/esm/gux-switch-item.entry.js +1 -1
  364. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  365. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  366. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  367. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  368. package/dist/esm/gux-tab-list.entry.js +3 -3
  369. package/dist/esm/gux-tab-panel.entry.js +1 -1
  370. package/dist/esm/gux-tab.entry.js +1 -1
  371. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  372. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  373. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  374. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  375. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  376. package/dist/esm/gux-table.entry.js +3 -3
  377. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  378. package/dist/esm/gux-tabs.entry.js +2 -2
  379. package/dist/esm/gux-tag.entry.js +4 -4
  380. package/dist/esm/gux-text-highlight.entry.js +2 -2
  381. package/dist/esm/gux-time-beta.entry.js +5 -5
  382. package/dist/esm/gux-time-picker.entry.js +5 -5
  383. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  384. package/dist/esm/gux-time-zone-picker-beta.entry.js +17 -11
  385. package/dist/esm/gux-toast.entry.js +2 -2
  386. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  387. package/dist/esm/gux-toggle.entry.js +3 -3
  388. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  389. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  390. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  391. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  392. package/dist/esm/gux-tree-beta.entry.js +3 -3
  393. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  394. package/dist/esm/{gux-tree-multi.service-D4TGfI8g.js → gux-tree-multi.service-CdtcPW42.js} +1 -1
  395. package/dist/esm/{gux-tree.service-KBF5u1e8.js → gux-tree.service-DnXDuekW.js} +1 -1
  396. package/dist/esm/index-8p-S7f9X.js +2735 -0
  397. package/dist/esm/{index-Cq0qTC7D.js → index-HMDSHwTB.js} +1 -1
  398. package/dist/esm/loader.js +2 -2
  399. package/dist/esm/{on-click-outside-BdeJzE16.js → on-click-outside-C4sPDi_Z.js} +1 -1
  400. package/dist/esm/{on-mutation-DkNnZcKZ.js → on-mutation-CLlHAZCW.js} +1 -1
  401. package/dist/esm/{on-resize-C6aTOc9Y.js → on-resize-tAIZJucq.js} +1 -1
  402. package/dist/esm/{usage-DB6Bny-2.js → usage-CYZSsQYc.js} +1 -1
  403. package/dist/genesys-webcomponents/genesys-webcomponents.css +4 -4
  404. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  405. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
  406. package/dist/genesys-webcomponents/{p-7b60dbe4.entry.js → p-00531df5.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-c72bd41a.entry.js → p-01acdf70.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-d91ad5e0.entry.js → p-02877b13.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-a197f9a8.entry.js → p-07b09939.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-d0c6535e.entry.js → p-08aa9a17.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-5b18b99d.entry.js → p-0ac44e50.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-c249b4c6.entry.js → p-0f0d8d5d.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/p-0f9b2e05.entry.js +1 -0
  414. package/dist/genesys-webcomponents/{p-e4148204.entry.js → p-10f9ef52.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-696fa0ef.entry.js → p-11a4a6ef.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-34e5fcd8.entry.js → p-11c7b49a.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-c8835d21.entry.js → p-13b0d7d1.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/p-13b7e401.entry.js +1 -0
  419. package/dist/genesys-webcomponents/{p-774231b4.entry.js → p-13e09a3a.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-52725644.entry.js → p-14ad9a12.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-7aed096a.entry.js → p-14bfdfd8.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-68c6f01a.entry.js → p-150dda1b.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-ccc5e85b.entry.js → p-16940c56.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-79f95a6f.entry.js → p-17a45dbe.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/p-19ae0df0.entry.js +1 -0
  426. package/dist/genesys-webcomponents/{p-0a94d1db.entry.js → p-1cd43bcd.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-89fa0a49.entry.js → p-1db598fc.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/p-1f47cd3c.entry.js +1 -0
  429. package/dist/genesys-webcomponents/{p-6cea9a1c.entry.js → p-235c02db.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-ed329bc2.entry.js → p-23d2d73b.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-78e05a79.entry.js → p-24b6f102.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-cbc4ebe0.entry.js → p-25282220.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-c94da876.entry.js → p-25b01b19.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-87c557cc.entry.js → p-27413d9b.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-ba77ce2e.entry.js → p-29222289.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-61b1d4c2.entry.js → p-2a801ea9.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-30a79ad8.entry.js → p-2c0169ec.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-6f4503db.entry.js → p-2cc4e28d.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-ccef0c73.entry.js → p-2e742607.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-595f18b7.entry.js → p-32991d30.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-5027da37.entry.js → p-32c5939d.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-0f82d481.entry.js → p-36e360c1.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-6c86cff7.entry.js → p-37a4d70d.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-CzrzfVSo.js → p-3FH859nI.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-bc3b3e55.entry.js → p-3de4faad.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-1bdd4e5a.entry.js → p-3fb9e95f.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/p-40068451.entry.js +1 -0
  448. package/dist/genesys-webcomponents/{p-4b5c36f9.entry.js → p-40bdc6cf.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/p-40e67591.entry.js +1 -0
  450. package/dist/genesys-webcomponents/{p-a1d8ea8f.entry.js → p-40e8150c.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-81bfbee3.entry.js → p-485629ba.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-7d86cc2e.entry.js → p-48926e3d.entry.js} +2 -2
  453. package/dist/genesys-webcomponents/{p-6cda31f3.entry.js → p-4a5d7c92.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-52b79855.entry.js → p-4af7ac28.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-08aad306.entry.js → p-4b1a4e58.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-f08d5ae7.entry.js → p-4b496a5e.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-29dbf5c9.entry.js → p-4c966844.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-a4f6ea2c.entry.js → p-4e05cb3a.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-1ed78b5a.entry.js → p-4e1ec703.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-981d53e5.entry.js → p-4f402fad.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-35eed468.entry.js → p-4f62813b.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/p-4fc4f932.entry.js +1 -0
  463. package/dist/genesys-webcomponents/{p-b8eedf08.entry.js → p-500841cb.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-57adcbbc.entry.js → p-505783e4.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-28cf7f60.entry.js → p-5155b824.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-89bb5643.entry.js → p-52590dba.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-7a680f13.entry.js → p-554dbbe1.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-7567e288.entry.js → p-55bb8071.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-b51c726f.entry.js → p-56367f4c.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-c7969526.entry.js → p-56c66f0d.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-8dea7b2c.entry.js → p-573cb83a.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-d857b906.entry.js → p-58f9da5c.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-95348845.entry.js → p-592f2225.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-b5df809d.entry.js → p-5a77f281.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-6ed026de.entry.js → p-5edbab02.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-6c3982b6.entry.js → p-603bcd25.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-0fd068ff.entry.js → p-609edece.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-915c1b53.entry.js → p-63d3f316.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-2e90b93d.entry.js → p-64bdfffa.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-d74e0d98.entry.js → p-66c9b0d0.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-0dee5ef8.entry.js → p-67f7bdf0.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-b6e9047c.entry.js → p-67ffdd06.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-d40b9152.entry.js → p-6ac8394d.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/p-6bc6cedd.entry.js +1 -0
  485. package/dist/genesys-webcomponents/{p-605278e5.entry.js → p-6ff72393.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-da216213.entry.js → p-71a63e54.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-68a20f95.entry.js → p-77265307.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-8948c0ec.entry.js → p-77528c82.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/p-77fa550d.entry.js +1 -0
  490. package/dist/genesys-webcomponents/{p-ebf80f62.entry.js → p-78b88825.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-779e14eb.entry.js → p-7ccc09fb.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-a141cce4.entry.js → p-7df39689.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-199f64e1.entry.js → p-7e122f43.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-bc61e67c.entry.js → p-7e943541.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/p-7ef51b7d.entry.js +1 -0
  496. package/dist/genesys-webcomponents/{p-7c8f48cd.entry.js → p-801d79b5.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-1a746d39.entry.js → p-81ddab63.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-c4631cb4.entry.js → p-83014c33.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-1f85a0c9.entry.js → p-84c99152.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-d11949dc.entry.js → p-8595df72.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-cb03fed7.entry.js → p-85c4cd01.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-057760e8.entry.js → p-8653db1a.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-40c38b6a.entry.js → p-86a3bdd6.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-33c88de1.entry.js → p-8a533da1.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-57423d04.entry.js → p-8ac99306.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-b8300b2c.entry.js → p-8aeb2c01.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-88deeafb.entry.js → p-8afc5a3d.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-9e41ac60.entry.js → p-8b1ec4b4.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/p-8b620273.entry.js +1 -0
  510. package/dist/genesys-webcomponents/{p-658ad9a5.entry.js → p-8f29fb00.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-C1fW4ajX.js → p-8p-S7f9X.js} +1 -1
  512. package/dist/genesys-webcomponents/p-913ab88b.entry.js +1 -0
  513. package/dist/genesys-webcomponents/{p-07bc6211.entry.js → p-91ea888f.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-3c1f0775.entry.js → p-931b24c4.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-892e47e0.entry.js → p-952a3495.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-212d5c3b.entry.js → p-984cbfe9.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-04c3bb84.entry.js → p-99299d25.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-abe4bc17.entry.js → p-9a79b58d.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-91f771dd.entry.js → p-9cce8f5a.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-15b0a792.entry.js → p-9dbbdaa6.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-d43cf5d5.entry.js → p-9e7fe47a.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-98b95dd6.entry.js → p-9f9e1e6f.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-Bv9k2G1v.js → p-B1A5XTV1.js} +1 -1
  524. package/dist/genesys-webcomponents/p-BICThoCJ.js +1 -0
  525. package/dist/genesys-webcomponents/{p-DabKJRSa.js → p-BvsD2Jrx.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-8c1Ci0M4.js → p-CBv64JPn.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-DB6Bny-2.js → p-CYZSsQYc.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-CvnIig10.js → p-DnzIYzsz.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-DHEODze_.js → p-EnDSOV4K.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-BoWktpjz.js → p-XUTKu6O4.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-7df7fdd4.entry.js → p-a48a5d21.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-f15e8371.entry.js → p-a5a8e89a.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-00d1923b.entry.js → p-a658bc21.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-99a47f9c.entry.js → p-a69cce2b.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-262c73d4.entry.js → p-a7c37eab.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-e4c57c99.entry.js → p-a8a46b95.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-2849f227.entry.js → p-a8fb48d5.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-1e353192.entry.js → p-ac558ad8.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-a47121e4.entry.js → p-ad9a18c7.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-9b428b96.entry.js → p-ae7b7bda.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-0ad6df39.entry.js → p-b091152c.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-3a24d04a.entry.js → p-b1fb20d7.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-81ee059a.entry.js → p-b463bdd3.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-4d01d572.entry.js → p-b5af9528.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-2049b0a0.entry.js → p-b659252b.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-32303e62.entry.js → p-b78c93da.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-55babf24.entry.js → p-b885d662.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-3fdf9dd6.entry.js → p-b9d36907.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-5ce94ebe.entry.js → p-bab515b9.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-e6e679d8.entry.js → p-bafe648a.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-0232d02e.entry.js → p-c5f2e911.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-370eb250.entry.js → p-c69d1bdc.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-43a7894e.entry.js → p-cc9bd5c1.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-37693a35.entry.js → p-cef94e7a.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-97152e5c.entry.js → p-cf9a2833.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-b75d9ea8.entry.js → p-d057a751.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/p-d061b1f4.entry.js +1 -0
  558. package/dist/genesys-webcomponents/{p-18ad7f28.entry.js → p-d1a7f402.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-d9bcf857.entry.js → p-d1b6b001.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-009addcf.entry.js → p-d771bfca.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-476df28b.entry.js → p-d7aa420d.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-56c8d564.entry.js → p-d8d1b6db.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-8a76cd9c.entry.js → p-dad46386.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-536a9927.entry.js → p-dcd1882b.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-53db14cd.entry.js → p-dd7741ca.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-b63d5856.entry.js → p-ddd7362d.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/p-deb3b990.entry.js +1 -0
  568. package/dist/genesys-webcomponents/{p-acac82f5.entry.js → p-dfe507e8.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-4e228c31.entry.js → p-e1e30fcb.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-6e575dcd.entry.js → p-e24b725f.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-169128ec.entry.js → p-e268ab35.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-f57b9ba3.entry.js → p-e2a8084e.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-2cfd2797.entry.js → p-e2fc68a6.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-e1ca58a2.entry.js → p-e321e392.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-f9f1b29a.entry.js → p-e4208622.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-330e0192.entry.js → p-e5e8ebb3.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/{p-4af6ac96.entry.js → p-e67865a1.entry.js} +1 -1
  578. package/dist/genesys-webcomponents/{p-9f76ef50.entry.js → p-e908936f.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-114cc3da.entry.js → p-ed33d483.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-a966a75d.entry.js → p-ed4d78bc.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/p-ed78de36.entry.js +1 -0
  582. package/dist/genesys-webcomponents/{p-dedf4bd9.entry.js → p-eda82225.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-b4d20461.entry.js → p-edbe4ba0.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/{p-19753c02.entry.js → p-f0478e6e.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/{p-5c243271.entry.js → p-f0dfc482.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/p-f38d7610.entry.js +1 -0
  587. package/dist/genesys-webcomponents/{p-6ea0f62b.entry.js → p-f44e0aaf.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-a45875cd.entry.js → p-f66adf01.entry.js} +1 -1
  589. package/dist/genesys-webcomponents/{p-cc593dc2.entry.js → p-f6facaf6.entry.js} +1 -1
  590. package/dist/genesys-webcomponents/{p-16210cd4.entry.js → p-f9ba7265.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-1967abee.entry.js → p-f9e43e59.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-2d5d473a.entry.js → p-f9fa3200.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/p-fIPa2NNq.js +1 -0
  594. package/dist/genesys-webcomponents/{p-95dd6da8.entry.js → p-fe5a1f14.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-ae6e517d.entry.js → p-feedb61e.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/p-pGYGNEwk.js +1 -0
  597. package/dist/stencil-wrapper.js +1 -1
  598. package/dist/types/components/beta/gux-time-zone-picker/gux-time-zone-picker.d.ts +1 -0
  599. package/dist/types/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.d.ts +1 -1
  600. package/dist/types/stencil-wrapper.d.ts +1 -1
  601. package/package.json +12 -12
  602. package/dist/cjs/index-BGHWOXcN.js +0 -2767
  603. package/dist/esm/index-C1fW4ajX.js +0 -2735
  604. package/dist/genesys-webcomponents/p-2964bae1.entry.js +0 -1
  605. package/dist/genesys-webcomponents/p-37910c31.entry.js +0 -1
  606. package/dist/genesys-webcomponents/p-3e17a671.entry.js +0 -1
  607. package/dist/genesys-webcomponents/p-610176db.entry.js +0 -1
  608. package/dist/genesys-webcomponents/p-73bb42b8.entry.js +0 -1
  609. package/dist/genesys-webcomponents/p-8b9411ab.entry.js +0 -1
  610. package/dist/genesys-webcomponents/p-8c18b597.entry.js +0 -1
  611. package/dist/genesys-webcomponents/p-9b12489a.entry.js +0 -1
  612. package/dist/genesys-webcomponents/p-9eec0b2a.entry.js +0 -1
  613. package/dist/genesys-webcomponents/p-BFXK-ZMp.js +0 -1
  614. package/dist/genesys-webcomponents/p-DZ-i2_qW.js +0 -1
  615. package/dist/genesys-webcomponents/p-_8SAHLBv.js +0 -1
  616. package/dist/genesys-webcomponents/p-a9a40adb.entry.js +0 -1
  617. package/dist/genesys-webcomponents/p-ac240d25.entry.js +0 -1
  618. package/dist/genesys-webcomponents/p-cb76ff89.entry.js +0 -1
  619. package/dist/genesys-webcomponents/p-ceaab200.entry.js +0 -1
  620. package/dist/genesys-webcomponents/p-cf0fa3d9.entry.js +0 -1
  621. package/dist/genesys-webcomponents/p-e120c75b.entry.js +0 -1
  622. package/dist/genesys-webcomponents/p-faa6866d.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as i,d as e,h as r,a as n}from"./p-C1fW4ajX.js";import{O as o}from"./p-DHEODze_.js";import{h as s}from"./p-qzV3vtOw.js";import{t as a}from"./p-DB6Bny-2.js";import{g as h}from"./p-wqCHc7t7.js";import{b as d}from"./p-CvnIig10.js";import{t as c}from"./p-DN3YAdAX.js";import{a as l}from"./p-Bg4q97BS.js";import{O as u}from"./p-CzrzfVSo.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";var g=function(t,i,e,r){var n,o=arguments.length,s=o<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(i,e,s):n(i,e))||s);return o>3&&s&&Object.defineProperty(i,e,s),s};const x=class{constructor(e){t(this,e),this.guxToggleAction=i(this,"guxToggleAction",7),this.disabled=!1,this.typographicalEmphasisActions=[],this.textStylingActions=[],this.listsAndIndentationActions=[],this.insertingActions=[],this.hasToolbar=!1}checkResponsiveLayout(){e((()=>{this.handleOverflow(),this.getHiddenActions()}))}onMutation(){this.hasToolbar=this.hasToolbarChildren()}async componentWillLoad(){a(this.root),this.i18n=await d(this.root,c),this.hasToolbar=this.hasToolbarChildren()}componentDidLoad(){l((()=>{this.checkResponsiveLayout()}))}componentDidUpdate(){this.handleOverflow()}isOverFlowing(){var t;const i=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector(".gux-rich-text-editor-toolbar-container");return Array.from(i.children).filter((t=>!t.classList.contains("gux-hidden"))).reduce(((t,i)=>t+i.clientWidth),0)>i.clientWidth}handleOverflow(){const t=Array.from(this.root.querySelectorAll("gux-rich-text-editor-action-group"));for(;this.isOverFlowing();){let i=!1;for(let e=t.length-1;e>=0;e--)if(!t[e].classList.contains("gux-hidden")){t[e].classList.add("gux-hidden"),i=!0;break}if(!i)break}for(const i of t)if(i.classList.contains("gux-hidden")&&(i.classList.remove("gux-hidden"),this.isOverFlowing())){i.classList.add("gux-hidden");break}}getHiddenActions(){this.typographicalEmphasisActions=h(this.root,'gux-rich-text-editor-action-group[slot="typographical-emphasis"]',"gux-hidden"),this.listsAndIndentationActions=h(this.root,'gux-rich-text-editor-action-group[slot="lists-indentation"]',"gux-hidden"),this.textStylingActions=h(this.root,'gux-rich-text-editor-action-group[slot="text-styling"]',"gux-hidden"),this.insertingActions=h(this.root,'gux-rich-text-editor-action-group[slot="inserting"]',"gux-hidden")}getAllActions(){return[...this.typographicalEmphasisActions,...this.textStylingActions,...this.listsAndIndentationActions,...this.insertingActions]}categorizeActions(){const t=[],i={richStyle:[],highlight:[],other:[]},e=[],r=[];return this.typographicalEmphasisActions.forEach((i=>t.push(i))),this.textStylingActions.forEach((t=>{t.startsWith("rich-style-")?i.richStyle.push(t.slice(11)):t.startsWith("highlight-")?i.highlight.push(t.slice(10)):i.other.push(t)})),this.listsAndIndentationActions.forEach((t=>e.push(t))),this.insertingActions.forEach((t=>r.push(t))),{typographicalEmphasis:t,textStyling:i,listsAndIndentation:e,insertingActions:r}}renderListItems(t,i=!1){return t.map(((t,e)=>{const n=t.replace(/<\/?[^>]+(>|$)/g,"");return r("gux-rich-style-list-item",Object.assign({onClick:()=>this.guxToggleAction.emit(n),key:e,value:n},i?{innerHTML:t}:{}),!i&&(this.i18n(n)||n))}))}renderSubList(t,i,e=!1){if(i.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n(t)},this.renderListItems(i,e))}renderHighlightSubList(t){if(t.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n("textHighlight")},this.renderListItems(t),r("gux-rich-style-list-item",{onClick:()=>this.guxToggleAction.emit("noHighlightAction"),value:"noHighlight"},r("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}renderTextEditorMenu(){if(this.getAllActions().length>0){const{typographicalEmphasis:t,textStyling:i,listsAndIndentation:e,insertingActions:n}=this.categorizeActions();return r("gux-rich-text-editor-menu",null,this.renderListItems(t),this.renderSubList("richStyle",i.richStyle,!0),this.renderHighlightSubList(i.highlight),this.renderListItems(i.other),this.renderListItems(e),this.renderListItems(n))}}renderSlot(t,i){return s(this.root,t)?r("div",{class:i},r("slot",{name:t})):null}renderTypographicalEmphasis(){return this.renderSlot("typographical-emphasis","gux-typographical-emphasis-container")}renderTextStyling(){return this.renderSlot("text-styling","gux-text-styling-container")}renderListsIndentation(){return this.renderSlot("lists-indentation","gux-lists-indentation-container")}renderInserting(){return this.renderSlot("inserting","gux-inserting-container")}renderGlobalAction(){return this.renderSlot("global-action","gux-global-action-container")}hasToolbarChildren(){return[this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()].some((t=>null!=t))}render(){return r("div",{key:"a7a8ac57fa9c7734a2a594bc3aa1f64de71249f4",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled,"gux-toolbar-hidden":!this.hasToolbar}},r("div",{key:"cdbee2a0c3cc49a0c510788ff3f34a947ac3e490",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()),r("slot",{key:"41458f4fd8f61e0170bbdcfa0f8d7e0bf3f040aa",name:"editor"}))}get root(){return n(this)}};g([o()],x.prototype,"checkResponsiveLayout",null),g([u({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{display:block}:host([style*=resize]){overflow:auto;resize:inherit}.gux-rich-text-editor-container{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-rte-innerContainer-gap);inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;padding:var(--gse-ui-rte-padding);overflow:hidden scroll;background-color:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-ui-rte-mainContainer-default-border-width) var(--gse-ui-rte-mainContainer-default-border-color) var(--gse-ui-rte-mainContainer-default-border-style);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-rich-text-editor-container.gux-toolbar-hidden{gap:0}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container{display:flex;flex-direction:row;justify-content:flex-start}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container .gux-global-action-container{margin-inline-start:auto}.gux-rich-text-editor-container.gux-disabled{pointer-events:none;cursor:default;user-select:none;border:var(--gse-ui-rte-mainContainer-disabled-border-width) var(--gse-ui-rte-mainContainer-disabled-border-color) var(--gse-ui-rte-mainContainer-disabled-border-style);opacity:0.5}.gux-rich-text-editor-container:active:enabled{border:var(--gse-ui-rte-mainContainer-active-border-width) var(--gse-ui-rte-mainContainer-active-border-color) var(--gse-ui-rte-mainContainer-active-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled),.gux-rich-text-editor-container:hover:not(.gux-disabled){border:var(--gse-ui-rte-mainContainer-hover-border-width) var(--gse-ui-rte-mainContainer-hover-border-color) var(--gse-ui-rte-mainContainer-hover-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled){outline:var(--gse-ui-rte-mainContainer-focus-border-width) var(--gse-ui-rte-mainContainer-focus-border-color) var(--gse-ui-rte-mainContainer-focus-border-style)}";export{x as gux_rich_text_editor_beta}
1
+ import{r as t,c as i,d as e,h as r,a as n}from"./p-8p-S7f9X.js";import{O as o}from"./p-EnDSOV4K.js";import{h as s}from"./p-qzV3vtOw.js";import{t as a}from"./p-CYZSsQYc.js";import{g as h}from"./p-wqCHc7t7.js";import{b as d}from"./p-DnzIYzsz.js";import{t as c}from"./p-DN3YAdAX.js";import{a as l}from"./p-Bg4q97BS.js";import{O as u}from"./p-3FH859nI.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";var g=function(t,i,e,r){var n,o=arguments.length,s=o<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(i,e,s):n(i,e))||s);return o>3&&s&&Object.defineProperty(i,e,s),s};const x=class{constructor(e){t(this,e),this.guxToggleAction=i(this,"guxToggleAction",7),this.disabled=!1,this.typographicalEmphasisActions=[],this.textStylingActions=[],this.listsAndIndentationActions=[],this.insertingActions=[],this.hasToolbar=!1}checkResponsiveLayout(){e((()=>{this.handleOverflow(),this.getHiddenActions()}))}onMutation(){this.hasToolbar=this.hasToolbarChildren()}async componentWillLoad(){a(this.root),this.i18n=await d(this.root,c),this.hasToolbar=this.hasToolbarChildren()}componentDidLoad(){l((()=>{this.checkResponsiveLayout()}))}componentDidUpdate(){this.handleOverflow()}isOverFlowing(){var t;const i=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector(".gux-rich-text-editor-toolbar-container");return Array.from(i.children).filter((t=>!t.classList.contains("gux-hidden"))).reduce(((t,i)=>t+i.clientWidth),0)>i.clientWidth}handleOverflow(){const t=Array.from(this.root.querySelectorAll("gux-rich-text-editor-action-group"));for(;this.isOverFlowing();){let i=!1;for(let e=t.length-1;e>=0;e--)if(!t[e].classList.contains("gux-hidden")){t[e].classList.add("gux-hidden"),i=!0;break}if(!i)break}for(const i of t)if(i.classList.contains("gux-hidden")&&(i.classList.remove("gux-hidden"),this.isOverFlowing())){i.classList.add("gux-hidden");break}}getHiddenActions(){this.typographicalEmphasisActions=h(this.root,'gux-rich-text-editor-action-group[slot="typographical-emphasis"]',"gux-hidden"),this.listsAndIndentationActions=h(this.root,'gux-rich-text-editor-action-group[slot="lists-indentation"]',"gux-hidden"),this.textStylingActions=h(this.root,'gux-rich-text-editor-action-group[slot="text-styling"]',"gux-hidden"),this.insertingActions=h(this.root,'gux-rich-text-editor-action-group[slot="inserting"]',"gux-hidden")}getAllActions(){return[...this.typographicalEmphasisActions,...this.textStylingActions,...this.listsAndIndentationActions,...this.insertingActions]}categorizeActions(){const t=[],i={richStyle:[],highlight:[],other:[]},e=[],r=[];return this.typographicalEmphasisActions.forEach((i=>t.push(i))),this.textStylingActions.forEach((t=>{t.startsWith("rich-style-")?i.richStyle.push(t.slice(11)):t.startsWith("highlight-")?i.highlight.push(t.slice(10)):i.other.push(t)})),this.listsAndIndentationActions.forEach((t=>e.push(t))),this.insertingActions.forEach((t=>r.push(t))),{typographicalEmphasis:t,textStyling:i,listsAndIndentation:e,insertingActions:r}}renderListItems(t,i=!1){return t.map(((t,e)=>{const n=t.replace(/<\/?[^>]+(>|$)/g,"");return r("gux-rich-style-list-item",Object.assign({onClick:()=>this.guxToggleAction.emit(n),key:e,value:n},i?{innerHTML:t}:{}),!i&&(this.i18n(n)||n))}))}renderSubList(t,i,e=!1){if(i.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n(t)},this.renderListItems(i,e))}renderHighlightSubList(t){if(t.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n("textHighlight")},this.renderListItems(t),r("gux-rich-style-list-item",{onClick:()=>this.guxToggleAction.emit("noHighlightAction"),value:"noHighlight"},r("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}renderTextEditorMenu(){if(this.getAllActions().length>0){const{typographicalEmphasis:t,textStyling:i,listsAndIndentation:e,insertingActions:n}=this.categorizeActions();return r("gux-rich-text-editor-menu",null,this.renderListItems(t),this.renderSubList("richStyle",i.richStyle,!0),this.renderHighlightSubList(i.highlight),this.renderListItems(i.other),this.renderListItems(e),this.renderListItems(n))}}renderSlot(t,i){return s(this.root,t)?r("div",{class:i},r("slot",{name:t})):null}renderTypographicalEmphasis(){return this.renderSlot("typographical-emphasis","gux-typographical-emphasis-container")}renderTextStyling(){return this.renderSlot("text-styling","gux-text-styling-container")}renderListsIndentation(){return this.renderSlot("lists-indentation","gux-lists-indentation-container")}renderInserting(){return this.renderSlot("inserting","gux-inserting-container")}renderGlobalAction(){return this.renderSlot("global-action","gux-global-action-container")}hasToolbarChildren(){return[this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()].some((t=>null!=t))}render(){return r("div",{key:"a7a8ac57fa9c7734a2a594bc3aa1f64de71249f4",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled,"gux-toolbar-hidden":!this.hasToolbar}},r("div",{key:"cdbee2a0c3cc49a0c510788ff3f34a947ac3e490",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()),r("slot",{key:"41458f4fd8f61e0170bbdcfa0f8d7e0bf3f040aa",name:"editor"}))}get root(){return n(this)}};g([o()],x.prototype,"checkResponsiveLayout",null),g([u({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{display:block}:host([style*=resize]){overflow:auto;resize:inherit}.gux-rich-text-editor-container{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-rte-innerContainer-gap);inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;padding:var(--gse-ui-rte-padding);overflow:hidden scroll;background-color:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-ui-rte-mainContainer-default-border-width) var(--gse-ui-rte-mainContainer-default-border-color) var(--gse-ui-rte-mainContainer-default-border-style);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-rich-text-editor-container.gux-toolbar-hidden{gap:0}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container{display:flex;flex-direction:row;justify-content:flex-start}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container .gux-global-action-container{margin-inline-start:auto}.gux-rich-text-editor-container.gux-disabled{pointer-events:none;cursor:default;user-select:none;border:var(--gse-ui-rte-mainContainer-disabled-border-width) var(--gse-ui-rte-mainContainer-disabled-border-color) var(--gse-ui-rte-mainContainer-disabled-border-style);opacity:0.5}.gux-rich-text-editor-container:active:enabled{border:var(--gse-ui-rte-mainContainer-active-border-width) var(--gse-ui-rte-mainContainer-active-border-color) var(--gse-ui-rte-mainContainer-active-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled),.gux-rich-text-editor-container:hover:not(.gux-disabled){border:var(--gse-ui-rte-mainContainer-hover-border-width) var(--gse-ui-rte-mainContainer-hover-border-color) var(--gse-ui-rte-mainContainer-hover-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled){outline:var(--gse-ui-rte-mainContainer-focus-border-width) var(--gse-ui-rte-mainContainer-focus-border-color) var(--gse-ui-rte-mainContainer-focus-border-style)}";export{x as gux_rich_text_editor_beta}
@@ -1 +1 @@
1
- import{r as t,h as i,H as a,a as e}from"./p-C1fW4ajX.js";import{s as r}from"./p-BMRf5pjV.js";import{c as s}from"./p-CcCycvZh.js";import{t as n}from"./p-DB6Bny-2.js";import{l as o}from"./p-DxtJDeL9.js";import{b as l}from"./p-CvnIig10.js";import{O as g}from"./p-8c1Ci0M4.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:"6cf25f4e002b0941a4cb0f062c93c8d0f24b34b0",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{key:"335d4e82e05df4e41f001d7177c91f6538d4d54a",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-8p-S7f9X.js";import{s as r}from"./p-BMRf5pjV.js";import{c as s}from"./p-CcCycvZh.js";import{t as n}from"./p-CYZSsQYc.js";import{l as o}from"./p-DxtJDeL9.js";import{b as l}from"./p-DnzIYzsz.js";import{O as g}from"./p-CBv64JPn.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:"6cf25f4e002b0941a4cb0f062c93c8d0f24b34b0",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{key:"335d4e82e05df4e41f001d7177c91f6538d4d54a",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 e,h as r,H as a,a as t}from"./p-C1fW4ajX.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r)}getAccent(){const e=this.root.closest("gux-breadcrumbs");if(e)return e.accent;i(this.root,"This component must be a child of a gux-breadcrumbs component.")}isActiveBreadcrumb(){const e=this.root.parentNode.children;return e[e.length-1]===this.root}getBreadcrumb(e){return this.isActiveBreadcrumb()?r("span",{class:"gux-breadcrumb-content gux-active","aria-current":"page"},r("slot",null)):this.href?r("gux-link-beta",{size:"secondary"===e?"small":"medium",standalone:!0},r("a",{href:this.href},r("slot",null))):r("span",{class:"gux-breadcrumb-content"},r("slot",null))}getSeparatorIcon(){return this.isActiveBreadcrumb()?null:r("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/")}render(){const e=this.getAccent();return r(a,{key:"9a1fb679e73c163e154140f72d014923f211275c",role:"listitem"},r("span",{key:"fc63a064d326943c93f8a949281b403327d17c7c",class:`gux-breadcrumb-generation gux-${e}`},this.getBreadcrumb(e),this.getSeparatorIcon()))}get root(){return t(this)}};n.style=".gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;min-block-size:var(--gse-ui-breadcrumbs-secondary-height)}.gux-breadcrumb-generation .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-small-text-fontFamily);font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight);text-decoration:none;color:var(--gse-ui-links-default-foregroundColor);pointer-events:none}.gux-breadcrumb-generation .gux-breadcrumb-content.gux-active{color:var(--gse-ui-links-active-foregroundColor)}.gux-breadcrumb-generation .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-secondary-separator-padding);font-family:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-secondary-separator-typography-lineHeight);color:var(--gse-ui-breadcrumbs-separator-color)}.gux-breadcrumb-generation.gux-primary{min-block-size:var(--gse-ui-breadcrumbs-primary-height)}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-medium-text-fontFamily);font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);text-decoration:none}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-primary-separator-padding);font-family:var(--gse-ui-breadcrumbs-primary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-primary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-primary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-primary-separator-typography-lineHeight)}";export{n as gux_breadcrumb_item}
1
+ import{r as e,h as r,H as a,a as t}from"./p-8p-S7f9X.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r)}getAccent(){const e=this.root.closest("gux-breadcrumbs");if(e)return e.accent;i(this.root,"This component must be a child of a gux-breadcrumbs component.")}isActiveBreadcrumb(){const e=this.root.parentNode.children;return e[e.length-1]===this.root}getBreadcrumb(e){return this.isActiveBreadcrumb()?r("span",{class:"gux-breadcrumb-content gux-active","aria-current":"page"},r("slot",null)):this.href?r("gux-link-beta",{size:"secondary"===e?"small":"medium",standalone:!0},r("a",{href:this.href},r("slot",null))):r("span",{class:"gux-breadcrumb-content"},r("slot",null))}getSeparatorIcon(){return this.isActiveBreadcrumb()?null:r("span",{class:"gux-breadcrumb-separator","aria-hidden":"true"},"/")}render(){const e=this.getAccent();return r(a,{key:"9a1fb679e73c163e154140f72d014923f211275c",role:"listitem"},r("span",{key:"fc63a064d326943c93f8a949281b403327d17c7c",class:`gux-breadcrumb-generation gux-${e}`},this.getBreadcrumb(e),this.getSeparatorIcon()))}get root(){return t(this)}};n.style=".gux-breadcrumb-generation{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;min-block-size:var(--gse-ui-breadcrumbs-secondary-height)}.gux-breadcrumb-generation .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-small-text-fontFamily);font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight);text-decoration:none;color:var(--gse-ui-links-default-foregroundColor);pointer-events:none}.gux-breadcrumb-generation .gux-breadcrumb-content.gux-active{color:var(--gse-ui-links-active-foregroundColor)}.gux-breadcrumb-generation .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-secondary-separator-padding);font-family:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-secondary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-secondary-separator-typography-lineHeight);color:var(--gse-ui-breadcrumbs-separator-color)}.gux-breadcrumb-generation.gux-primary{min-block-size:var(--gse-ui-breadcrumbs-primary-height)}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-content{font-family:var(--gse-ui-links-inLine-medium-text-fontFamily);font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);text-decoration:none}.gux-breadcrumb-generation.gux-primary .gux-breadcrumb-separator{padding:var(--gse-ui-breadcrumbs-primary-separator-padding);font-family:var(--gse-ui-breadcrumbs-primary-separator-typography-fontFamily);font-size:var(--gse-ui-breadcrumbs-primary-separator-typography-fontSize);font-weight:var(--gse-ui-breadcrumbs-primary-separator-typography-fontWeight);line-height:var(--gse-ui-breadcrumbs-primary-separator-typography-lineHeight)}";export{n as gux_breadcrumb_item}
@@ -1 +1 @@
1
- import{r as t,c as o,h as i,a as s,H as e}from"./p-C1fW4ajX.js";import{s as n}from"./p-D8NvUiBF.js";const r=class{constructor(i){t(this,i),this.selectedChanged=o(this,"selectedChanged",7)}getDisplayedValue(){return Promise.resolve(this.text)}shouldFilter(t){if(this.highlight=t,this.highlightIndex=-1,!t)return Promise.resolve(!1);const o=new RegExp(n(t),"gi").exec(this.text),i=null===o;return i||(this.highlightIndex=o.index),Promise.resolve(i)}componentDidLoad(){this.root.onclick=()=>{this.onItemClicked()},this.root.onkeydown=t=>{switch(t.key){case" ":case"Enter":this.selected=!0,this.selectedChanged.emit(this.value)}}}hostData(){return{tabindex:"0"}}__stencil_render(){return i("div",{key:"9cae12ca11646ed77f626d461fdd87ccbd60e49b",class:"gux-dropdown-option",title:this.text},this.textWithHighlights())}textWithHighlights(){if(!this.highlight||!this.text)return i("span",null,this.text);if(this.highlightIndex<0)return i("span",null,this.text);const t=this.text.substring(0,this.highlightIndex),o=this.text.substring(this.highlightIndex,this.highlightIndex+this.highlight.length),s=this.text.substring(t.length+this.highlight.length);return i("span",null,t,i("strong",null,o),s)}onItemClicked(){this.selected=!0,this.selectedChanged.emit(this.value)}get root(){return s(this)}render(){return i(e,this.hostData(),this.__stencil_render())}};r.style="gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option[disabled=false]{pointer-events:auto;cursor:pointer;opacity:1}gux-dropdown-option:not(:disabled)[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not(:disabled):hover,gux-dropdown-option:not(:disabled):focus-visible{color:#fdfdfd;background:#2a60c8}";export{r as gux_dropdown_option}
1
+ import{r as t,c as o,h as i,a as s,H as e}from"./p-8p-S7f9X.js";import{s as n}from"./p-D8NvUiBF.js";const r=class{constructor(i){t(this,i),this.selectedChanged=o(this,"selectedChanged",7)}getDisplayedValue(){return Promise.resolve(this.text)}shouldFilter(t){if(this.highlight=t,this.highlightIndex=-1,!t)return Promise.resolve(!1);const o=new RegExp(n(t),"gi").exec(this.text),i=null===o;return i||(this.highlightIndex=o.index),Promise.resolve(i)}componentDidLoad(){this.root.onclick=()=>{this.onItemClicked()},this.root.onkeydown=t=>{switch(t.key){case" ":case"Enter":this.selected=!0,this.selectedChanged.emit(this.value)}}}hostData(){return{tabindex:"0"}}__stencil_render(){return i("div",{key:"9cae12ca11646ed77f626d461fdd87ccbd60e49b",class:"gux-dropdown-option",title:this.text},this.textWithHighlights())}textWithHighlights(){if(!this.highlight||!this.text)return i("span",null,this.text);if(this.highlightIndex<0)return i("span",null,this.text);const t=this.text.substring(0,this.highlightIndex),o=this.text.substring(this.highlightIndex,this.highlightIndex+this.highlight.length),s=this.text.substring(t.length+this.highlight.length);return i("span",null,t,i("strong",null,o),s)}onItemClicked(){this.selected=!0,this.selectedChanged.emit(this.value)}get root(){return s(this)}render(){return i(e,this.hostData(),this.__stencil_render())}};r.style="gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option[disabled=false]{pointer-events:auto;cursor:pointer;opacity:1}gux-dropdown-option:not(:disabled)[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not(:disabled):hover,gux-dropdown-option:not(:disabled):focus-visible{color:#fdfdfd;background:#2a60c8}";export{r as gux_dropdown_option}
@@ -1 +1 @@
1
- import{e as t,r as a,h as s,a as i}from"./p-C1fW4ajX.js";import{t as l}from"./p-DB6Bny-2.js";const n=new Map;async function r(a,s){const i=function(t,a){return`${a}-${t}`}(a,s);if(n.has(i))return n.get(i);const l=async function(a,s){const i=await fetch(t(function(t,a){return"background-shapes"===a?`./illustrations/${a}/${t.includes("narrow")?"narrow":"wide"}.svg`:`./illustrations/${a}/${t}.svg`}(a,s)));if(200===i.status)return i.text();throw new Error(`[gux-illustration] fetching failed for illustration "${a}" with status "${i.statusText} (${i.status})".`)}(a,s).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),r({variants:"add",status:"success","background-shapes":"solid-wide"}[s],s))));return n.set(i,l),l}const u=class{constructor(t){a(this,t),this.backgroundShape="solid-wide"}async prepVariant(t){t&&(this.variantSvgHtml=await r(t,"variants"),this.variantHtml=this.variantSvgHtml)}async prepStatus(t){t&&(this.statusSvgHtml=await r(t,"status"),this.statusHtml=this.statusSvgHtml)}async prepBackgroundShape(t){t&&(this.backgroundShapeSvgHtml=await r(t,"background-shapes"),this.backgroundShapeHtml=this.backgroundShapeSvgHtml)}async componentWillLoad(){l(this.root,{variant:this.variant}),await Promise.all([this.prepVariant(this.variant),this.prepStatus(this.status),this.prepBackgroundShape(this.backgroundShape)])}render(){return s("div",{key:"724ac7267a3f4f72556e4388143e7c7cc78fbc76",class:"gux-illustration"},this.backgroundShapeHtml&&s("div",{key:"c51f8618a013c1099a90ef956bb68338843f7506",class:{"gux-background-shape":!0,[`gux-background-shape-${this.backgroundShape}`]:!0},innerHTML:this.backgroundShapeHtml}),this.variantHtml&&s("div",{key:"6498cad83386c86874bb18707326f4d27482618b",class:"gux-illustration-variant",innerHTML:this.variantHtml}),this.statusHtml&&s("div",{key:"8c1ea028fe0727988d0e495db6dae7038ba010c8",class:{"gux-illustration-status":!0,[`gux-illustration-status-${this.status}`]:!0},innerHTML:this.statusHtml}))}static get assetsDirs(){return["illustrations"]}get root(){return i(this)}static get watchers(){return{variant:["prepVariant"],status:["prepStatus"],backgroundShape:["prepBackgroundShape"]}}};u.style='.gux-illustration{position:relative;display:grid;place-items:center;inline-size:var(--gse-ui-blankState-mainIllustration-width);block-size:var(--gse-ui-blankState-mainIllustration-height)}.gux-background-shape{grid-area:1/1;inline-size:var(--gse-ui-blankState-mainIllustration-background-width);block-size:var(--gse-ui-blankState-mainIllustration-background-height)}.gux-background-shape.gux-background-shape-solid-wide,.gux-background-shape.gux-background-shape-solid-narrow,.gux-background-shape svg{fill:var(--gse-ui-blankState-mainIllustration-background-solidColor)}.gux-background-shape.gux-background-shape-gradient-wide svg,.gux-background-shape.gux-background-shape-gradient-narrow svg{fill:url("#gux-background-gradient");--gradient-start:#ffffff0d;--gradient-end:#bfc6d933}.gux-illustration-variant{display:flex;grid-area:1/1;place-items:center}.gux-illustration-variant svg{inline-size:var(--gse-ui-blankState-mainIllustration-illustration-height);block-size:var(--gse-ui-blankState-mainIllustration-illustration-height);fill:var(--gse-ui-blankState-mainIllustration-illustrationColor)}.gux-illustration-status{position:absolute;inset-block-start:var(--gse-ui-blankState-mainIllustration-smallIcon-position-left);inset-inline-start:var(--gse-ui-blankState-mainIllustration-smallIcon-position-top)}.gux-illustration-status svg{inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-illustration-status.gux-illustration-status-success svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successBaseColor)}.gux-illustration-status.gux-illustration-status-success svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successSymbolColor)}.gux-illustration-status.gux-illustration-status-error svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorBaseColor)}.gux-illustration-status.gux-illustration-status-error svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorSymbolColor)}.gux-illustration-status.gux-illustration-status-info svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoBaseColor)}.gux-illustration-status.gux-illustration-status-info svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoSymbolColor)}.gux-illustration-status.gux-illustration-status-add svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationBaseColor)}.gux-illustration-status.gux-illustration-status-add svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationSymbolColor)}.gux-illustration-status.gux-illustration-status-warning svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningBaseColor)}.gux-illustration-status.gux-illustration-status-warning svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningSymbolColor)}';export{u as gux_illustration_beta}
1
+ import{e as t,r as a,h as s,a as i}from"./p-8p-S7f9X.js";import{t as l}from"./p-CYZSsQYc.js";const n=new Map;async function r(a,s){const i=function(t,a){return`${a}-${t}`}(a,s);if(n.has(i))return n.get(i);const l=async function(a,s){const i=await fetch(t(function(t,a){return"background-shapes"===a?`./illustrations/${a}/${t.includes("narrow")?"narrow":"wide"}.svg`:`./illustrations/${a}/${t}.svg`}(a,s)));if(200===i.status)return i.text();throw new Error(`[gux-illustration] fetching failed for illustration "${a}" with status "${i.statusText} (${i.status})".`)}(a,s).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),r({variants:"add",status:"success","background-shapes":"solid-wide"}[s],s))));return n.set(i,l),l}const u=class{constructor(t){a(this,t),this.backgroundShape="solid-wide"}async prepVariant(t){t&&(this.variantSvgHtml=await r(t,"variants"),this.variantHtml=this.variantSvgHtml)}async prepStatus(t){t&&(this.statusSvgHtml=await r(t,"status"),this.statusHtml=this.statusSvgHtml)}async prepBackgroundShape(t){t&&(this.backgroundShapeSvgHtml=await r(t,"background-shapes"),this.backgroundShapeHtml=this.backgroundShapeSvgHtml)}async componentWillLoad(){l(this.root,{variant:this.variant}),await Promise.all([this.prepVariant(this.variant),this.prepStatus(this.status),this.prepBackgroundShape(this.backgroundShape)])}render(){return s("div",{key:"724ac7267a3f4f72556e4388143e7c7cc78fbc76",class:"gux-illustration"},this.backgroundShapeHtml&&s("div",{key:"c51f8618a013c1099a90ef956bb68338843f7506",class:{"gux-background-shape":!0,[`gux-background-shape-${this.backgroundShape}`]:!0},innerHTML:this.backgroundShapeHtml}),this.variantHtml&&s("div",{key:"6498cad83386c86874bb18707326f4d27482618b",class:"gux-illustration-variant",innerHTML:this.variantHtml}),this.statusHtml&&s("div",{key:"8c1ea028fe0727988d0e495db6dae7038ba010c8",class:{"gux-illustration-status":!0,[`gux-illustration-status-${this.status}`]:!0},innerHTML:this.statusHtml}))}static get assetsDirs(){return["illustrations"]}get root(){return i(this)}static get watchers(){return{variant:["prepVariant"],status:["prepStatus"],backgroundShape:["prepBackgroundShape"]}}};u.style='.gux-illustration{position:relative;display:grid;place-items:center;inline-size:var(--gse-ui-blankState-mainIllustration-width);block-size:var(--gse-ui-blankState-mainIllustration-height)}.gux-background-shape{grid-area:1/1;inline-size:var(--gse-ui-blankState-mainIllustration-background-width);block-size:var(--gse-ui-blankState-mainIllustration-background-height)}.gux-background-shape.gux-background-shape-solid-wide,.gux-background-shape.gux-background-shape-solid-narrow,.gux-background-shape svg{fill:var(--gse-ui-blankState-mainIllustration-background-solidColor)}.gux-background-shape.gux-background-shape-gradient-wide svg,.gux-background-shape.gux-background-shape-gradient-narrow svg{fill:url("#gux-background-gradient");--gradient-start:#ffffff0d;--gradient-end:#bfc6d933}.gux-illustration-variant{display:flex;grid-area:1/1;place-items:center}.gux-illustration-variant svg{inline-size:var(--gse-ui-blankState-mainIllustration-illustration-height);block-size:var(--gse-ui-blankState-mainIllustration-illustration-height);fill:var(--gse-ui-blankState-mainIllustration-illustrationColor)}.gux-illustration-status{position:absolute;inset-block-start:var(--gse-ui-blankState-mainIllustration-smallIcon-position-left);inset-inline-start:var(--gse-ui-blankState-mainIllustration-smallIcon-position-top)}.gux-illustration-status svg{inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-illustration-status.gux-illustration-status-success svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successBaseColor)}.gux-illustration-status.gux-illustration-status-success svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successSymbolColor)}.gux-illustration-status.gux-illustration-status-error svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorBaseColor)}.gux-illustration-status.gux-illustration-status-error svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorSymbolColor)}.gux-illustration-status.gux-illustration-status-info svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoBaseColor)}.gux-illustration-status.gux-illustration-status-info svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoSymbolColor)}.gux-illustration-status.gux-illustration-status-add svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationBaseColor)}.gux-illustration-status.gux-illustration-status-add svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationSymbolColor)}.gux-illustration-status.gux-illustration-status-warning svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningBaseColor)}.gux-illustration-status.gux-illustration-status-warning svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningSymbolColor)}';export{u as gux_illustration_beta}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-C1fW4ajX.js";import{b as o}from"./p-CvnIig10.js";import{O as r}from"./p-CzrzfVSo.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{t as a}from"./p-DB6Bny-2.js";import{G as n,a as f}from"./p-_8SAHLBv.js";import{G as h,a as d,b as u}from"./p-BFXK-ZMp.js";import{h as p}from"./p-qzV3vtOw.js";import{g as c}from"./p-MAoEg4ig.js";import{v as g,a as m}from"./p-1MK2QR3u.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.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info")}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=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"067c3644adc44608959d6b061db8ce8c1f0a3571",labelPosition:this.computedLabelPosition},i(d,{key:"2ef433987c0cdbd4500264a7a909b4ddf0b4bda9"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(c(this.root,"error"),this.hasError),this.renderText(c(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"0d9afaea49517cca23a8fd7a45277ef1f43cc6c4",position:this.computedLabelPosition,required:this.required},i("slot",{key:"15e449032f847f83672d853de0e37fe4e4f0ebfb",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"18f98a360e9ec2506b013d3c49f04da72e08e29c",variant:this.indicatorMark,required:this.required}),i("slot",{key:"5140e56e217e20b8c3123ed075a1f3d296d1f2de",name:"label-info"})),i("div",{key:"2722bdc7ded539188adae4b49db689d8b16d4bf7",class:"gux-input-and-error-container"},i("div",{key:"afb8203a5dbd0e31436a9c8572cebeb38e9f34e8",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"1ce1f141f4aa0c376f223f6ed41445a1629981d4",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"adc52f2310098169594830c525b875f5331d5482"}))),i(n,{key:"46955a52ea44562ceaff5ec7fc2735ce7668bc7a",show:this.hasError},i("slot",{key:"41fb5cc0780b84044bd45b7eddb3f9168b266708",name:"error"})),i(f,{key:"624379030f8ce48717ceb0466efa7220e8486743",show:!this.hasError&&this.hasHelp},i("slot",{key:"1d5819f54280d07716c7dc3a15d812efd915e518",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 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_phone}
1
+ import{r as e,h as i,a as t}from"./p-8p-S7f9X.js";import{b as o}from"./p-DnzIYzsz.js";import{O as r}from"./p-3FH859nI.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{t as a}from"./p-CYZSsQYc.js";import{G as n,a as f}from"./p-pGYGNEwk.js";import{G as h,a as d,b as u}from"./p-fIPa2NNq.js";import{h as p}from"./p-qzV3vtOw.js";import{g as c}from"./p-MAoEg4ig.js";import{v as g,a as m}from"./p-1MK2QR3u.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.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info")}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=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"067c3644adc44608959d6b061db8ce8c1f0a3571",labelPosition:this.computedLabelPosition},i(d,{key:"2ef433987c0cdbd4500264a7a909b4ddf0b4bda9"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(c(this.root,"error"),this.hasError),this.renderText(c(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"0d9afaea49517cca23a8fd7a45277ef1f43cc6c4",position:this.computedLabelPosition,required:this.required},i("slot",{key:"15e449032f847f83672d853de0e37fe4e4f0ebfb",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"18f98a360e9ec2506b013d3c49f04da72e08e29c",variant:this.indicatorMark,required:this.required}),i("slot",{key:"5140e56e217e20b8c3123ed075a1f3d296d1f2de",name:"label-info"})),i("div",{key:"2722bdc7ded539188adae4b49db689d8b16d4bf7",class:"gux-input-and-error-container"},i("div",{key:"afb8203a5dbd0e31436a9c8572cebeb38e9f34e8",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"1ce1f141f4aa0c376f223f6ed41445a1629981d4",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"adc52f2310098169594830c525b875f5331d5482"}))),i(n,{key:"46955a52ea44562ceaff5ec7fc2735ce7668bc7a",show:this.hasError},i("slot",{key:"41fb5cc0780b84044bd45b7eddb3f9168b266708",name:"error"})),i(f,{key:"624379030f8ce48717ceb0466efa7220e8486743",show:!this.hasError&&this.hasHelp},i("slot",{key:"1d5819f54280d07716c7dc3a15d812efd915e518",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 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_phone}
@@ -1 +1 @@
1
- import{r as e,c as t,h as s,a as i}from"./p-C1fW4ajX.js";import{o}from"./p-CF55kYjc.js";import{O as a}from"./p-8c1Ci0M4.js";import{a as n}from"./p-Bg4q97BS.js";import{t as c}from"./p-DB6Bny-2.js";import{b as r}from"./p-CvnIig10.js";import"./p-Cd4R0amv.js";var d={searchAria:"Search"};const p=class{constructor(s){e(this,s),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onClickOutside(){this.closeDropdown(!1)}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,d),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=o(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver&&this.slotObserver.disconnect()}render(){return s("gux-popup",{key:"1075a8b994ce74e065b1ccb1668a7098a1a6dd42",expanded:this.opened,disabled:this.disabled},s("div",{key:"2a5b957037b2986833a56c3969ed959805e41ba1",slot:"target",class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},s("a",{key:"8c10cf31d79a1bd200029cfadea59d8a04174e6f",ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&s("span",{key:"33ebb2cc823004103ce8f7f32e97fa0dee329aea",class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&s("span",{key:"2064257f981ec02110f7566838004512826ef85e",class:"gux-select-value",title:this.value},this.value)),s("div",{key:"4467944cc91b65e0ac671608abf107222548b46b",class:"gux-icon-wrapper"},s("gux-icon",{key:"0dd08838e7f19561b8fa8bfc5e02a4ac0928a96b",decorative:!0,"icon-name":"custom/chevron-down-small-regular"}))),s("div",{key:"b982a19e5dd339963898a739e5a1a5e09bc2ad75",slot:"popup",class:"gux-advanced-dropdown-menu"},s("div",{key:"df0386452a9288e284a05f579a5cb865afad4522",class:"gux-dropdown-menu-container"},s("gux-form-field-search",{key:"ad8cbb12d0a83d5201c0f65fa858f067b322fbe9","label-position":"screenreader"},s("label",{key:"20731bc1d23500c08c504a8b91195ad13f32f7a1",slot:"label"},this.i18n("searchAria")),s("input",{key:"19b1c942f62e63a49ed99c83d29dc2d497defe83",slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),s("div",{key:"ab8b2e1319df86f4fe5c44e09c3a48fb5cd31c34",class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},s("slot",{key:"446dc968348412137a0265108d052b055568d09b"})))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){n((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return i(this)}static get watchers(){return{disabled:["watchValue"]}}};(function(e,t,s,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(n=(a<3?o(n):a>3?o(t,s,n):o(t,s))||n);a>3&&n&&Object.defineProperty(t,s,n)})([a({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=":host{color:#2e394c}gux-popup{display:block;margin:4px 0}gux-popup .gux-select-field{position:relative;width:100%;height:32px}gux-popup .gux-select-field a.gux-select-input{position:absolute;inset:0;padding:6px 24px 6px 12px;overflow:hidden;text-overflow:ellipsis;color:#2e394c;white-space:nowrap;text-decoration:none;cursor:pointer;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder,gux-popup .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}gux-popup .gux-select-field a.gux-select-input:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}gux-popup .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}gux-popup .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}gux-popup .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}gux-popup .gux-advanced-dropdown-menu{background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24)}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-popup .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{p as gux_advanced_dropdown_legacy}
1
+ import{r as e,c as t,h as s,a as i}from"./p-8p-S7f9X.js";import{o}from"./p-CF55kYjc.js";import{O as a}from"./p-CBv64JPn.js";import{a as n}from"./p-Bg4q97BS.js";import{t as c}from"./p-CYZSsQYc.js";import{b as r}from"./p-DnzIYzsz.js";import"./p-Cd4R0amv.js";var d={searchAria:"Search"};const p=class{constructor(s){e(this,s),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onClickOutside(){this.closeDropdown(!1)}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,d),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=o(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver&&this.slotObserver.disconnect()}render(){return s("gux-popup",{key:"1075a8b994ce74e065b1ccb1668a7098a1a6dd42",expanded:this.opened,disabled:this.disabled},s("div",{key:"2a5b957037b2986833a56c3969ed959805e41ba1",slot:"target",class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},s("a",{key:"8c10cf31d79a1bd200029cfadea59d8a04174e6f",ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&s("span",{key:"33ebb2cc823004103ce8f7f32e97fa0dee329aea",class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&s("span",{key:"2064257f981ec02110f7566838004512826ef85e",class:"gux-select-value",title:this.value},this.value)),s("div",{key:"4467944cc91b65e0ac671608abf107222548b46b",class:"gux-icon-wrapper"},s("gux-icon",{key:"0dd08838e7f19561b8fa8bfc5e02a4ac0928a96b",decorative:!0,"icon-name":"custom/chevron-down-small-regular"}))),s("div",{key:"b982a19e5dd339963898a739e5a1a5e09bc2ad75",slot:"popup",class:"gux-advanced-dropdown-menu"},s("div",{key:"df0386452a9288e284a05f579a5cb865afad4522",class:"gux-dropdown-menu-container"},s("gux-form-field-search",{key:"ad8cbb12d0a83d5201c0f65fa858f067b322fbe9","label-position":"screenreader"},s("label",{key:"20731bc1d23500c08c504a8b91195ad13f32f7a1",slot:"label"},this.i18n("searchAria")),s("input",{key:"19b1c942f62e63a49ed99c83d29dc2d497defe83",slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),s("div",{key:"ab8b2e1319df86f4fe5c44e09c3a48fb5cd31c34",class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},s("slot",{key:"446dc968348412137a0265108d052b055568d09b"})))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){n((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return i(this)}static get watchers(){return{disabled:["watchValue"]}}};(function(e,t,s,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(n=(a<3?o(n):a>3?o(t,s,n):o(t,s))||n);a>3&&n&&Object.defineProperty(t,s,n)})([a({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=":host{color:#2e394c}gux-popup{display:block;margin:4px 0}gux-popup .gux-select-field{position:relative;width:100%;height:32px}gux-popup .gux-select-field a.gux-select-input{position:absolute;inset:0;padding:6px 24px 6px 12px;overflow:hidden;text-overflow:ellipsis;color:#2e394c;white-space:nowrap;text-decoration:none;cursor:pointer;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder,gux-popup .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}gux-popup .gux-select-field a.gux-select-input:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}gux-popup .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}gux-popup .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}gux-popup .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}gux-popup .gux-advanced-dropdown-menu{background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24)}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-popup .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{p as gux_advanced_dropdown_legacy}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,a as i}from"./p-C1fW4ajX.js";import{O as a}from"./p-8c1Ci0M4.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-DB6Bny-2.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"ca7863669c2d861138f08b423fc1a3bd30633d26",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"42da00331d7d048327157a178c699d7b8e0561fa",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"a57632e7c7a05fbbd1a095a4162e67cdb9f1542a",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"07412edef0608aaf7272c947dc9b032f56c11a3c",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"13df2c393d9605dd2353a50a4905cd3721a889a0",name:"title"}),s("gux-icon",{key:"8e1789ab2c264a8383c4d905096ce590a2504c72",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"bf53811beaea06d92a7e0c855bfb8567548e6a30",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"10d6b9f400333f0a5a6072ca4c9b7ad72a6e2191",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"b8c7309f16f1aca67d7228df5b0af54cf8fc239f"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
1
+ import{r as t,c as e,h as s,a as i}from"./p-8p-S7f9X.js";import{O as a}from"./p-CBv64JPn.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-CYZSsQYc.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"ca7863669c2d861138f08b423fc1a3bd30633d26",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"42da00331d7d048327157a178c699d7b8e0561fa",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"a57632e7c7a05fbbd1a095a4162e67cdb9f1542a",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"07412edef0608aaf7272c947dc9b032f56c11a3c",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"13df2c393d9605dd2353a50a4905cd3721a889a0",name:"title"}),s("gux-icon",{key:"8e1789ab2c264a8383c4d905096ce590a2504c72",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"bf53811beaea06d92a7e0c855bfb8567548e6a30",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"10d6b9f400333f0a5a6072ca4c9b7ad72a6e2191",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"b8c7309f16f1aca67d7228df5b0af54cf8fc239f"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
@@ -1 +1 @@
1
- import{r as e,c as i,h as s,a}from"./p-C1fW4ajX.js";import{t as n}from"./p-DB6Bny-2.js";import{h as t}from"./p-qzV3vtOw.js";const d=class{constructor(s){e(this,s),this.sidePanelDismiss=i(this,"sidePanelDismiss",7),this.size="small"}onDismissHandler(){this.sidePanelDismiss.emit()}componentWillLoad(){n(this.root,{variant:this.size})}componentDidRender(){this.validateDescriptionSlotUsage()}validateDescriptionSlotUsage(){const e=this.root.querySelectorAll('[slot="description"]');Array.from(e).some((e=>e.parentElement===this.root))&&console.warn('gux-side-panel-beta: The description slot has been moved to gux-side-panel-header component. Please move your description content inside the header slot like this: <gux-side-panel-header slot="header"><div slot="description">Your description</div></gux-side-panel-header>')}renderHeader(){return t(this.root,"header")?s("slot",{name:"header"}):null}renderTabs(){return t(this.root,"tabs")?s("div",{class:"gux-side-panel-tabs"},s("slot",{name:"tabs"})):null}renderContent(){return t(this.root,"content")?s("div",{class:"gux-side-panel-content"},s("slot",{name:"content"})):null}renderFooter(){return t(this.root,"footer")?s("slot",{name:"footer"}):null}render(){return s("section",{key:"bfb25a43417bb99d760c0013e1053007044a4f8d",class:{"gux-side-panel":!0,[`gux-side-panel-${this.size}`]:!0}},this.renderHeader(),s("gux-dismiss-button",{key:"94a85011754b0056bfa843c2d878feeb46594dd9",onClick:this.onDismissHandler.bind(this)}),s("div",{key:"cb5050201d638ada1b9c4b3c0d37f9b79fa15fdf",class:"gux-side-panel-content-wrapper"},this.renderTabs(),this.renderContent()),this.renderFooter())}get root(){return a(this)}};d.style=":host{display:block;inline-size:fit-content;block-size:100%}:host([size=large]){max-inline-size:50%}.gux-side-panel{position:relative;display:flex;flex-direction:column;inline-size:calc(100vw - var(--gse-ui-sidePanel-shoud-minWidth));block-size:inherit;background-color:var(--gse-ui-sidePanel-backgroundColor);box-shadow:var(--gse-ui-sidePanel-boxShadow)}.gux-side-panel.gux-side-panel-small{max-inline-size:var(--gse-ui-sidePanel-widthSize-sm)}.gux-side-panel.gux-side-panel-medium{max-inline-size:var(--gse-ui-sidePanel-widthSize-md)}.gux-side-panel.gux-side-panel-large{max-inline-size:var(--gse-ui-sidePanel-widthSize-lg)}.gux-side-panel .gux-side-panel-content-wrapper{flex:1 1 100%;overflow-y:auto}.gux-side-panel .gux-side-panel-content{padding:var(--gse-ui-sidePanel-body-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}";export{d as gux_side_panel_beta}
1
+ import{r as e,c as i,h as s,a}from"./p-8p-S7f9X.js";import{t as n}from"./p-CYZSsQYc.js";import{h as t}from"./p-qzV3vtOw.js";const d=class{constructor(s){e(this,s),this.sidePanelDismiss=i(this,"sidePanelDismiss",7),this.size="small"}onDismissHandler(){this.sidePanelDismiss.emit()}componentWillLoad(){n(this.root,{variant:this.size})}componentDidRender(){this.validateDescriptionSlotUsage()}validateDescriptionSlotUsage(){const e=this.root.querySelectorAll('[slot="description"]');Array.from(e).some((e=>e.parentElement===this.root))&&console.warn('gux-side-panel-beta: The description slot has been moved to gux-side-panel-header component. Please move your description content inside the header slot like this: <gux-side-panel-header slot="header"><div slot="description">Your description</div></gux-side-panel-header>')}renderHeader(){return t(this.root,"header")?s("slot",{name:"header"}):null}renderTabs(){return t(this.root,"tabs")?s("div",{class:"gux-side-panel-tabs"},s("slot",{name:"tabs"})):null}renderContent(){return t(this.root,"content")?s("div",{class:"gux-side-panel-content"},s("slot",{name:"content"})):null}renderFooter(){return t(this.root,"footer")?s("slot",{name:"footer"}):null}render(){return s("section",{key:"bfb25a43417bb99d760c0013e1053007044a4f8d",class:{"gux-side-panel":!0,[`gux-side-panel-${this.size}`]:!0}},this.renderHeader(),s("gux-dismiss-button",{key:"94a85011754b0056bfa843c2d878feeb46594dd9",onClick:this.onDismissHandler.bind(this)}),s("div",{key:"cb5050201d638ada1b9c4b3c0d37f9b79fa15fdf",class:"gux-side-panel-content-wrapper"},this.renderTabs(),this.renderContent()),this.renderFooter())}get root(){return a(this)}};d.style=":host{display:block;inline-size:fit-content;block-size:100%}:host([size=large]){max-inline-size:50%}.gux-side-panel{position:relative;display:flex;flex-direction:column;inline-size:calc(100vw - var(--gse-ui-sidePanel-shoud-minWidth));block-size:inherit;background-color:var(--gse-ui-sidePanel-backgroundColor);box-shadow:var(--gse-ui-sidePanel-boxShadow)}.gux-side-panel.gux-side-panel-small{max-inline-size:var(--gse-ui-sidePanel-widthSize-sm)}.gux-side-panel.gux-side-panel-medium{max-inline-size:var(--gse-ui-sidePanel-widthSize-md)}.gux-side-panel.gux-side-panel-large{max-inline-size:var(--gse-ui-sidePanel-widthSize-lg)}.gux-side-panel .gux-side-panel-content-wrapper{flex:1 1 100%;overflow-y:auto}.gux-side-panel .gux-side-panel-content{padding:var(--gse-ui-sidePanel-body-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}";export{d as gux_side_panel_beta}
@@ -0,0 +1 @@
1
+ import{r as e,h as i,H as t,a as s}from"./p-8p-S7f9X.js";import{o as a}from"./p-CF55kYjc.js";const o=class{constructor(i){e(this,i),this.filtered=!1,this.showDivider=!0}componentDidLoad(){this.rootParent=this.root.parentNode,this.rootParent&&(this.parentObserver=a(this.rootParent,(()=>{var e;const i=Array.from(null===(e=this.root)||void 0===e?void 0:e.children).filter((e=>this.isOption(e)&&!e.filtered)).length>0;this.filtered=!i,this.filtered||(this.showDivider=this.hasVisibleNextSibling(this.root)&&i)})))}disconnectedCallback(){this.rootParent&&this.parentObserver.disconnect()}isOption(e){return["GUX-OPTION","GUX-OPTION-ICON"].includes(e.tagName)}hasVisibleNextSibling(e){let i=e.nextElementSibling;if(null===i)return!1;for(;i&&i.classList.contains("gux-filtered");)i=i.nextElementSibling;return Boolean(i)}renderDivider(){if(this.showDivider)return i("gux-list-divider",null)}render(){return i(t,{key:"c8f3522799de96daba62076908f93d506cc1151a",class:{"gux-filtered":this.filtered}},i("div",{key:"9eaa060e0b09dbe55e58b47e975ce0792dc0d0d7",class:"gux-option-group"},i("div",{key:"5ca126a92336cec769c700c2b5213fcdf62332ab",class:"gux-option-group-label",role:"presentation"},this.label),i("div",{key:"184f3daad77229f6ac25d269947b9088f062775c",role:"group"},i("slot",{key:"f535c0d14a80302457f315f466fa7da342b9ec4a"})),this.renderDivider()))}get root(){return s(this)}};o.style=".gux-option-group{display:block;flex:1 1 auto;align-self:auto}.gux-option-group .gux-option-group-label{display:block;padding:var(--gse-ui-menu-groupedMenu-title-padding);color:var(--gse-ui-menu-groupedMenu-title-foregroundColor);font-family:var(--gse-semantic-heading-overline-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-overline-fontSize);line-height:var(--gse-semantic-heading-overline-lineHeight);text-transform:var(--gse-semantic-heading-overline-textCase);letter-spacing:var(--gse-semantic-heading-overline-letterSpacing);font-weight:var(--gse-semantic-heading-overline-fontWeight)}:host(.gux-filtered){display:none}";export{o as gux_option_group_beta}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,a as i}from"./p-C1fW4ajX.js";import{b as n}from"./p-CvnIig10.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:!0}]:a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const u=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return o.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display)):"..."==a.display?e("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display)))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return e("div",{key:"b484f5cea236d55244dd342faedd7064b1d1f3b4",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"c1ba737929b8d8e7e165eb03fdb357051ef8601b",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"c905a009a9895a566e4554205eccd7e5dab36d94",accent:"ghost","icon-only":!0},e("button",{key:"745ea0f2f890c9da6d994ddefa394b8c1a491324",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"4175b20f258517e6036d81d7c0c744296e2b6375",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"9b7ef399f3f47d57f848b44187051aaadf8814d9",accent:"ghost","icon-only":!0},e("button",{key:"493a987648adbb11f274981345661d8bf301ca6e",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"028a9b80f8bc5d3aac5b42b770a7494d32e6bc5f",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"5a07290da6d9bdfe277afe2a9dd316eea01f8ed4",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"b2d05b01b7f7b291f4afff1110a3681f211c774a",accent:"ghost","icon-only":!0},e("button",{key:"150bc64ee8917fe52d8cb6331b885fa962dd804d",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"0389bae41b422e723724be4cdc389f063f941b1c",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"ae2548ce65091d7b3da5626accd187474869c4a5",accent:"ghost","icon-only":!0},e("button",{key:"051f073b45acdffed6a6636f903568c58f9a4137",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"4af94b7100c26e0dd06d2a5cf9482fdd20b8f469",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"acc4d3ef15288e84598a72c3a9fedd8e6c92b139",class:"gux-pagination-item-counts-container"},e("span",{key:"828177136e6b68086acc92125aa8ec4423bed5cd",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"19b44c8543a6fa21aafc86c0769c98e6a9193219",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
1
+ import{r as t,c as a,h as e,a as i}from"./p-8p-S7f9X.js";import{b as n}from"./p-DnzIYzsz.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:!0}]:a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const u=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return o.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display)):"..."==a.display?e("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display)))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return e("div",{key:"b484f5cea236d55244dd342faedd7064b1d1f3b4",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"c1ba737929b8d8e7e165eb03fdb357051ef8601b",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"c905a009a9895a566e4554205eccd7e5dab36d94",accent:"ghost","icon-only":!0},e("button",{key:"745ea0f2f890c9da6d994ddefa394b8c1a491324",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"4175b20f258517e6036d81d7c0c744296e2b6375",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"9b7ef399f3f47d57f848b44187051aaadf8814d9",accent:"ghost","icon-only":!0},e("button",{key:"493a987648adbb11f274981345661d8bf301ca6e",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"028a9b80f8bc5d3aac5b42b770a7494d32e6bc5f",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"5a07290da6d9bdfe277afe2a9dd316eea01f8ed4",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"b2d05b01b7f7b291f4afff1110a3681f211c774a",accent:"ghost","icon-only":!0},e("button",{key:"150bc64ee8917fe52d8cb6331b885fa962dd804d",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"0389bae41b422e723724be4cdc389f063f941b1c",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"ae2548ce65091d7b3da5626accd187474869c4a5",accent:"ghost","icon-only":!0},e("button",{key:"051f073b45acdffed6a6636f903568c58f9a4137",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"4af94b7100c26e0dd06d2a5cf9482fdd20b8f469",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"acc4d3ef15288e84598a72c3a9fedd8e6c92b139",class:"gux-pagination-item-counts-container"},e("span",{key:"828177136e6b68086acc92125aa8ec4423bed5cd",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"19b44c8543a6fa21aafc86c0769c98e6a9193219",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
@@ -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-C1fW4ajX.js";import{b as n}from"./p-CvnIig10.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-DB6Bny-2.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:"7771b9d2e72595fc08e504162aac8bcd6c40d809","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"266ed7d3274b794375a986fa3f4059bed0c9bbb7",class:"gux-table"},a("div",{key:"6a00fa615e5d7ca03ad9a0f5afef96bd04ee0871",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"13e58b7aceb939ca2849b32b149b0ed2468d1c17",name:"data"})),this.isTableEmpty&&a("div",{key:"9519d0aa01251b85ca60d5c4a837a1590fde1b74",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-8p-S7f9X.js";import{b as n}from"./p-DnzIYzsz.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-CYZSsQYc.js";import{t as d}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const b=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:"7771b9d2e72595fc08e504162aac8bcd6c40d809","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"266ed7d3274b794375a986fa3f4059bed0c9bbb7",class:"gux-table"},a("div",{key:"6a00fa615e5d7ca03ad9a0f5afef96bd04ee0871",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"13e58b7aceb939ca2849b32b149b0ed2468d1c17",name:"data"})),this.isTableEmpty&&a("div",{key:"9519d0aa01251b85ca60d5c4a837a1590fde1b74",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};b.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{b as gux_table}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,a as o}from"./p-C1fW4ajX.js";import{d as n,h as a,s as r,e as h,f as l,i as u,j as d,k as c,l as g,m as p,n as m,o as v,c as b,a as x}from"./p-zrBw_m7x.js";import{b as f}from"./p-CvnIig10.js";import{w}from"./p-kLXvN2m9.js";import{s as j}from"./p-BMRf5pjV.js";import{t as y}from"./p-DB6Bny-2.js";import{b as O}from"./p-Bg4q97BS.js";import{O as S}from"./p-CzrzfVSo.js";import"./p-DjLdmWVU.js";import"./p-Cd4R0amv.js";var C={add:"Add {name}",noMatches:"No matches",loading:"Loading..."};const k=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onMutation(){O((()=>{this.updateOnSlotChange()}))}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i,s;if(!a(this.root))return t.preventDefault(),void r(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):(null===(s=this.selectAllElement)||void 0===s?void 0:s.active)?this.updateSelectAllState(!0):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i,s;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):(null===(s=this.selectAllElement)||void 0===s?void 0:s.active)?this.updateSelectAllState(!0):p(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){w("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))})),w("gux-select-all",t,(()=>{this.updateSelectAllState(!0)}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var s,e;(null===(e=null===(s=i.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===e?void 0:e.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return b(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}getSelectAllElement(){this.selectAllElement=this.root.querySelector("gux-select-all")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!x(t).toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateSelectAllState(t=!1){const i=this.root.querySelector("gux-select-all");if(!i)return;const s=this.listboxOptions.filter((t=>!t.filtered)).map((t=>t.value));this.optionCreateElement&&!this.optionCreateElement.filtered&&s.push(this.optionCreateElement.value),t&&(this.value=i.selected?void 0:s.join(","),j(this.root,"input"),j(this.root,"change"));const e=this.getSelectedValues(),o=s.length>0&&s.every((t=>e.includes(t))),n=s.some((t=>e.includes(t)));i.selected=o,i.indeterminate=!o&&n}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}j(this.root,"input"),j(this.root,"change"),this.updateSelectAllState()}async componentWillLoad(){y(this.root),this.i18n=await f(this.root,C),this.setListboxOptions(),this.getOptionCreateElement(),this.getSelectAllElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length,this.updateSelectAllState()}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(e,{role:"listbox","aria-multiselectable":"true",tabindex:0,class:{"has-select-all":!!this.selectAllElement}},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};(function(t,i,s,e){var o,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(i,s,a):o(i,s))||a);n>3&&a&&Object.defineProperty(i,s,a)})([S({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}:host ::slotted(gux-select-all){position:sticky;inset-block-start:0}:host(.has-select-all){padding:0}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{k as gux_listbox_multi}
1
+ import{r as t,c as i,h as s,H as e,a as o}from"./p-8p-S7f9X.js";import{d as n,h as a,s as r,e as h,f as l,i as u,j as d,k as c,l as p,m as g,n as m,o as v,c as b,a as x}from"./p-zrBw_m7x.js";import{b as f}from"./p-DnzIYzsz.js";import{w}from"./p-kLXvN2m9.js";import{s as j}from"./p-BMRf5pjV.js";import{t as S}from"./p-CYZSsQYc.js";import{b as O}from"./p-Bg4q97BS.js";import{O as y}from"./p-3FH859nI.js";import"./p-DjLdmWVU.js";import"./p-Cd4R0amv.js";var k={add:"Add {name}",noMatches:"No matches",loading:"Loading..."};const C=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onMutation(){O((()=>{this.updateOnSlotChange()}))}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i,s;if(!a(this.root))return t.preventDefault(),void r(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):(null===(s=this.selectAllElement)||void 0===s?void 0:s.active)?this.updateSelectAllState(!0):g(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),p(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i,s;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):(null===(s=this.selectAllElement)||void 0===s?void 0:s.active)?this.updateSelectAllState(!0):g(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){w("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))})),w("gux-select-all",t,(()=>{this.updateSelectAllState(!0)}))}async guxSelectActive(){g(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var s,e;(null===(e=null===(s=i.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===e?void 0:e.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return b(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}getSelectAllElement(){this.selectAllElement=this.root.querySelector("gux-select-all")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!x(t).toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateSelectAllState(t=!1){const i=this.root.querySelector("gux-select-all");if(!i)return;const s=this.listboxOptions.filter((t=>!t.filtered)).map((t=>t.value));this.optionCreateElement&&!this.optionCreateElement.filtered&&s.push(this.optionCreateElement.value),t&&(this.value=i.selected?void 0:s.join(","),j(this.root,"input"),j(this.root,"change"));const e=this.getSelectedValues(),o=s.length>0&&s.every((t=>e.includes(t))),n=s.some((t=>e.includes(t)));i.selected=o,i.indeterminate=!o&&n}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}j(this.root,"input"),j(this.root,"change"),this.updateSelectAllState()}async componentWillLoad(){S(this.root),this.i18n=await f(this.root,k),this.setListboxOptions(),this.getOptionCreateElement(),this.getSelectAllElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length,this.updateSelectAllState()}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(e,{role:"listbox","aria-multiselectable":"true",tabindex:0,class:{"has-select-all":!!this.selectAllElement}},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};(function(t,i,s,e){var o,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(i,s,a):o(i,s))||a);n>3&&a&&Object.defineProperty(i,s,a)})([y({childList:!0,subtree:!0})],C.prototype,"onMutation",null),C.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}:host ::slotted(gux-select-all){position:sticky;inset-block-start:0}:host(.has-select-all){padding:0}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{C as gux_listbox_multi}
@@ -1 +1 @@
1
- import{h as a,r as e,a as i}from"./p-C1fW4ajX.js";import{t}from"./p-DB6Bny-2.js";import{l as r}from"./p-DxtJDeL9.js";import{b as n}from"./p-CvnIig10.js";import{a as g,g as o}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";var u={notifications:"Notifications"};const s=class{constructor(a){e(this,a),this.size="large",this.accent="default",this.presence="none",this.tooltipEnabled=!0,this.ring=!1,this.badge=!1,this.notifications=!1,this.ucIntegration="none"}get hasUcIntegration(){return["zoom","teams","8x8"].includes(this.ucIntegration)&&"large"===this.size}validatingInputs(){const a=this.root.querySelector("img");this.name||r(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&r(this.root,"Alt attribute is required for slotted image."),"none"!==this.ucIntegration&&"large"!==this.size&&r(this.root,"UC Integration app logo can only be shown on large avatar")}renderBadge(){return this.notifications?this.renderNotificationsBadge():this.badge&&!["idle","none"].includes(this.presence)?a("div",{"aria-hidden":"true",class:{"gux-avatar-badge":!0,[`gux-${this.presence}`]:!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":this.getPresenceIcon(this.presence),decorative:!0})):void 0}renderNotificationsBadge(){return a("div",{"aria-hidden":"true",class:{"gux-avatar-badge gux-notifications":!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":"fa/bell-regular",decorative:!0}))}getPresenceIcon(a){switch(a){case"available":return"fa/circle-check-solid";case"busy":case"meeting":return"fa/ban-outline";case"away":case"break":case"meal":case"training":return"fa/clock-outline";case"on-queue":return"fa/headset-solid";case"offline":default:return"fa/circle-xmark-regular";case"out-of-office":return"fa/subtract-circle"}}renderUcIntegrationsIcon(e){switch(e){case"teams":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("g",{"clip-path":"url(#clip0_17811_243865)"},a("path",{d:"M22.3205 12.0769H30.5862C31.3671 12.0769 32.0002 12.7051 32.0002 13.48V20.951C32.0002 23.799 29.6735 26.1077 26.8035 26.1077H26.7789C23.9089 26.1081 21.582 23.7997 21.5815 20.9517C21.5815 20.9515 21.5815 20.9512 21.5815 20.951V12.8102C21.5816 12.4052 21.9124 12.0769 22.3205 12.0769Z",fill:"#5059C9"}),a("path",{d:"M27.9069 10.6C29.7565 10.6 31.2558 9.11222 31.2558 7.27694C31.2558 5.44165 29.7565 3.95386 27.9069 3.95386C26.0574 3.95386 24.5581 5.44165 24.5581 7.27694C24.5581 9.11222 26.0574 10.6 27.9069 10.6Z",fill:"#5059C9"}),a("path",{d:"M17.4886 10.6C20.1601 10.6 22.3258 8.45098 22.3258 5.80001C22.3258 3.14904 20.1601 1 17.4886 1C14.8171 1 12.6514 3.14904 12.6514 5.80001C12.6514 8.45098 14.8171 10.6 17.4886 10.6Z",fill:"#7B83EB"}),a("path",{d:"M23.9381 12.0769H10.2941C9.52253 12.0959 8.91215 12.7313 8.93005 13.497V22.0181C8.8223 26.613 12.4857 30.426 17.1161 30.5385C21.7465 30.426 25.4099 26.613 25.3022 22.0181V13.497C25.32 12.7313 24.7097 12.0959 23.9381 12.0769Z",fill:"#7B83EB"}),a("path",{opacity:"0.1",d:"M17.8603 12.0769V24.0178C17.8566 24.5654 17.5222 25.0573 17.0119 25.2658C16.8495 25.334 16.6749 25.3692 16.4985 25.3692H9.58496C9.48822 25.1255 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.8603Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V24.7563C17.1161 24.9313 17.0807 25.1046 17.0119 25.2658C16.8018 25.7722 16.3061 26.104 15.7543 26.1077H9.93474C9.80822 25.864 9.68915 25.6203 9.58496 25.3692C9.48077 25.1181 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V23.2794C17.1105 24.0234 16.504 24.6251 15.7543 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3719 12.0769V23.2794C16.3663 24.0234 15.7598 24.6251 15.0101 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H16.3719Z",fill:"black"}),a("path",{opacity:"0.1",d:"M17.8605 8.25909V10.5852C17.734 10.5926 17.6149 10.6 17.4884 10.6C17.3619 10.6 17.2428 10.5926 17.1163 10.5852C16.8651 10.5687 16.616 10.5291 16.3721 10.4671C14.8652 10.113 13.6201 9.06422 13.0233 7.64617C12.9206 7.40804 12.8409 7.16077 12.7852 6.90771H16.4986C17.2496 6.91054 17.8577 7.5139 17.8605 8.25909Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3723 8.9975V10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.0104C15.7614 7.64895 16.3694 8.25234 16.3723 8.9975Z",fill:"black"}),a("path",{d:"M1.36409 7.64612H15.008C15.7614 7.64612 16.3721 8.25215 16.3721 8.99971V22.5387C16.3721 23.2862 15.7613 23.8923 15.008 23.8923H1.36409C0.610716 23.8923 0 23.2862 0 22.5387V8.99971C0 8.25215 0.61073 7.64612 1.36409 7.64612Z",fill:"url(#paint0_linear_17811_243865)"}),a("path",{d:"M11.7761 12.7992H9.04865V20.169H7.31098V12.7992H4.59619V11.3695H11.7761V12.7992Z",fill:"white"})),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243865",x1:"2.84416",y1:"6.58844",x2:"13.4047",y2:"25.0206",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#5A62C3"}),a("stop",{offset:"0.5","stop-color":"#4D55BD"}),a("stop",{offset:"1","stop-color":"#3940AB"})),a("clipPath",{id:"clip0_17811_243865"},a("rect",{width:"32",height:"29.5385",fill:"white",transform:"translate(0 1)"}))));case"zoom":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M0 14C0 6.26801 6.26801 0 14 0H18C25.732 0 32 6.26801 32 14V18C32 25.732 25.732 32 18 32H14C6.26801 32 0 25.732 0 18V14Z",fill:"url(#paint0_linear_17811_243867)"}),a("path",{d:"M9.03495 17.9231H4.76573C4.48252 17.9231 4.22028 17.7885 4.08392 17.5577C3.93706 17.2885 3.98951 16.9712 4.22028 16.7692L7.1888 14.0481H5.05944C4.47203 14.0481 4 13.6058 4 13.0769H7.93355C8.21677 13.0769 8.479 13.2115 8.61537 13.4423C8.76222 13.7115 8.70977 14.0288 8.479 14.2308L5.51048 16.9519H7.97551C8.56292 16.9519 9.03495 17.3942 9.03495 17.9231ZM25.944 13C25.3356 13 24.7796 13.2404 24.402 13.6346C24.0244 13.25 23.4685 13 22.8601 13C21.7272 13 20.7936 13.8846 20.7936 14.9231V17.9231C21.3811 17.9231 21.8531 17.4904 21.8531 16.9519V14.9135C21.8531 14.4135 22.2727 13.9904 22.8181 13.9712C23.395 13.9519 23.8671 14.375 23.8671 14.8942V16.9519C23.8671 17.4904 24.3391 17.9231 24.9265 17.9231V14.9135C24.9265 14.4135 25.3461 13.9904 25.8915 13.9712C26.4684 13.9519 26.9405 14.375 26.9405 14.8942V16.9519C26.9405 17.4904 27.4125 17.9231 27.9999 17.9231V14.9231C28.0104 13.8846 27.0768 13 25.944 13ZM14.3846 15.5C14.3846 16.875 13.1573 18 11.6573 18C10.1468 18 8.93005 16.875 8.93005 15.5C8.93005 14.125 10.1573 13 11.6573 13C13.1573 13 14.3846 14.125 14.3846 15.5ZM13.3251 15.5C13.3251 14.6538 12.5804 13.9712 11.6573 13.9712C10.7342 13.9712 9.98949 14.6538 9.98949 15.5C9.98949 16.3462 10.7342 17.0288 11.6573 17.0288C12.5804 17.0288 13.3251 16.3462 13.3251 15.5ZM20.2692 15.5C20.2692 16.875 19.0419 18 17.5419 18C16.0314 18 14.8146 16.875 14.8146 15.5C14.8146 14.125 16.0419 13 17.5419 13C19.0419 13 20.2692 14.125 20.2692 15.5ZM19.2097 15.5C19.2097 14.6538 18.465 13.9712 17.5419 13.9712C16.6188 13.9712 15.8741 14.6538 15.8741 15.5C15.8741 16.3462 16.6188 17.0288 17.5419 17.0288C18.465 17.0288 19.2097 16.3462 19.2097 15.5Z",fill:"white"}),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243867",x1:"6",y1:"29",x2:"26",y2:"2.5",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#084ACD"}),a("stop",{offset:"0.505","stop-color":"#0B5CFF"}),a("stop",{offset:"1","stop-color":"#236EF9"}))));case"8x8":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("rect",{width:"32",height:"32",fill:"#CB2233"}),a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4298 14.2388H16.8341L16.2371 15.4154C16.1751 15.5507 16.1037 15.6811 16.0236 15.8055H15.9988C15.9988 15.8055 15.8808 15.5988 15.7841 15.4154L15.1965 14.2302H12.6127L14.6479 17.5052L12.621 20.7815H15.1611L15.8454 19.4129C15.9061 19.2937 15.9589 19.1704 16.0035 19.0437H16.0283C16.0283 19.0437 16.1227 19.2898 16.1864 19.4129L16.886 20.7815H19.4298L17.4028 17.5052L19.4298 14.2388ZM7.95949 19.1225C7.79341 19.1261 7.62828 19.0954 7.47357 19.0323C7.31886 18.9692 7.17761 18.8748 7.05792 18.7547C6.93823 18.6345 6.84245 18.4909 6.77608 18.332C6.7097 18.1732 6.67404 18.0022 6.67112 17.8289C6.68897 17.3197 6.89037 16.8362 7.23508 16.4751C8.28512 16.9674 9.24078 17.3465 9.24078 17.9852C9.24668 18.7163 8.75352 19.1225 7.95949 19.1225ZM8.03028 12.3975C8.72992 12.3975 9.15112 12.8037 9.15112 13.4252C9.14236 13.9074 9.0139 14.3789 8.77829 14.7938C7.83443 14.3705 7.06047 13.9975 7.06047 13.2677C7.05575 12.7877 7.3625 12.3975 8.03028 12.3975ZM10.6613 15.7625C10.7651 15.6308 11.7113 14.4283 11.7113 13.2258C11.7113 11.152 10.082 10 8.09399 10C5.59748 10 4.5085 11.5914 4.5085 13.2086C4.5085 14.1625 4.91436 14.8258 5.47832 15.3403C5.15269 15.6148 4 16.624 4 18.0615C4 19.8363 5.35916 21.52 7.95949 21.52C10.6058 21.52 11.9178 19.8191 11.9178 18.1194C11.9178 16.9994 11.3774 16.2782 10.6613 15.7625ZM24.0452 19.1225C23.8792 19.1259 23.7142 19.0951 23.5597 19.0319C23.4051 18.9688 23.264 18.8744 23.1444 18.7542C23.0249 18.6341 22.9292 18.4905 22.8629 18.3317C22.7966 18.1729 22.761 18.0021 22.758 17.8289C22.7759 17.3197 22.9773 16.8362 23.322 16.4751C24.372 16.9674 25.3277 17.3465 25.3277 17.9852C25.3277 18.7237 24.8345 19.1286 24.0476 19.1286L24.0452 19.1225ZM24.1172 12.3975C24.8168 12.3975 25.238 12.8037 25.238 13.4252C25.2296 13.9076 25.1007 14.3794 24.864 14.7938C23.9202 14.3705 23.1474 13.9975 23.1474 13.2677C23.1474 12.7877 23.4494 12.3975 24.1172 12.3975ZM26.7435 15.7625C26.8473 15.6222 27.7935 14.4197 27.7935 13.2258C27.7935 11.152 26.163 10 24.1762 10C21.6797 10 20.5907 11.5914 20.5907 13.2086C20.5907 14.1625 20.9966 14.8258 21.5605 15.3403C21.2349 15.6049 20.0822 16.6166 20.0822 18.048C20.0822 19.8228 21.4414 21.5065 24.0405 21.5065C26.688 21.5065 28 19.8068 28 18.1058C28 16.9994 27.4596 16.2782 26.7435 15.7625Z",fill:"white"}));default:return null}}getUcIntegrationText(a){switch(a){case"teams":return"Microsoft Teams";case"zoom":return"Zoom";case"8x8":return"8 by 8";default:return null}}renderUcIntegrationBadge(){if(this.hasUcIntegration)return a("div",{class:"gux-avatar-integration-badge","aria-hidden":"true"},this.renderUcIntegrationsIcon(this.ucIntegration))}renderTooltip(){return this.tooltipEnabled&&["A","BUTTON"].includes(this.parentElement.tagName)?a("gux-tooltip-beta",{placement:"top",ref:a=>this.tooltip=a,visualOnly:!0},a("div",{slot:"content"},this.getDescriptionText())):null}getDescriptionText(){let a=`${this.name}`;return this.notifications?a+` (${this.i18n("notifications")})`:(this.label&&"none"!==this.presence&&(a=a+=` (${this.label})`),this.hasUcIntegration&&(a=a+=` (${this.getUcIntegrationText(this.ucIntegration)})`),a)}async showTooltip(){if(this.tooltipEnabled)return await this.tooltip.showTooltip()}async hideTooltip(){if(this.tooltipEnabled)return await this.tooltip.hideTooltip()}async componentWillLoad(){this.parentElement=this.root.parentElement,t(this.root,{variant:this.size}),this.i18n=await n(this.root,u)}componentDidLoad(){this.validatingInputs()}render(){return[a("div",{key:"3852f19ea4a1cbb4249096d25cfee3a93a55e1cb",class:{"gux-avatar":!0,[`gux-${this.presence}`]:this.ring||this.badge,[`gux-${this.size}`]:!0,"gux-ring":this.ring,[o(this.accent,this.name)]:!0}},a("div",{key:"1cb0bf4de79e52bb3851fdb8697f96d179768c3c",class:"gux-content"},a("slot",{key:"30aea3029258e3af2ae4079862663bf939e2eaf4",name:"image"},a("span",{key:"c9cbc21e4ed6419330a03dc9f25934aa5c5e45f8",role:"img","aria-label":this.getDescriptionText()},g(this.name)))),this.renderTooltip()),this.renderBadge(),this.renderUcIntegrationBadge()]}get root(){return i(this)}};s.style=":host{position:relative;display:inline-block;border-radius:50%}:host abbr{text-decoration:none}::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}.gux-avatar{position:relative;inline-size:var(--gse-ui-avatar-large-size);block-size:var(--gse-ui-avatar-large-size);overflow:hidden;border-radius:50%}.gux-avatar .gux-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);margin:var(--gse-ui-avatar-large-presenceRing-width);overflow:hidden;font-family:var(--gse-ui-avatar-large-initials-fontFamily);font-size:var(--gse-ui-avatar-large-initials-fontSize);font-weight:var(--gse-ui-avatar-large-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-inverse);text-transform:uppercase;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%}.gux-avatar.gux-medium{inline-size:var(--gse-ui-avatar-medium-size);block-size:var(--gse-ui-avatar-medium-size)}.gux-avatar.gux-medium .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);margin:var(--gse-ui-avatar-medium-presenceRing-width);font-size:var(--gse-ui-avatar-medium-initials-fontSize);font-weight:var(--gse-ui-avatar-medium-initials-fontWeight)}.gux-avatar.gux-medium .gux-content,.gux-avatar.gux-small .gux-content,.gux-avatar.gux-xsmall .gux-content{border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar.gux-small{inline-size:var(--gse-ui-avatar-small-size);block-size:var(--gse-ui-avatar-small-size)}.gux-avatar.gux-small .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);margin:var(--gse-ui-avatar-small-presenceRing-width);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight)}.gux-avatar.gux-xsmall{inline-size:var(--gse-ui-avatar-xsmall-size);block-size:var(--gse-ui-avatar-xsmall-size)}.gux-avatar.gux-xsmall .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);margin:var(--gse-ui-avatar-xsmall-presenceRing-width);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight)}.gux-avatar.gux-accent-1 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}.gux-avatar.gux-accent-2 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}.gux-avatar.gux-accent-3 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}.gux-avatar.gux-accent-4 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}.gux-avatar.gux-accent-5 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}.gux-avatar.gux-accent-6 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}.gux-avatar.gux-accent-7 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}.gux-avatar.gux-accent-8 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}.gux-avatar.gux-accent-9 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}.gux-avatar.gux-accent-10 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}.gux-avatar.gux-accent-11 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}.gux-avatar.gux-accent-12 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}.gux-avatar.gux-accent-inherit .gux-content{color:inherit;background-color:inherit}.gux-avatar.gux-ring.gux-available{background:var(--gse-ui-avatar-presenceRing-available)}.gux-avatar.gux-ring.gux-away,.gux-avatar.gux-ring.gux-break,.gux-avatar.gux-ring.gux-meal,.gux-avatar.gux-ring.gux-training{background:var(--gse-ui-avatar-presenceRing-away)}.gux-avatar.gux-ring.gux-busy,.gux-avatar.gux-ring.gux-meeting{background:var(--gse-ui-avatar-presenceRing-busy)}.gux-avatar.gux-ring.gux-offline{background:var(--gse-ui-avatar-presenceRing-offline)}.gux-avatar.gux-ring.gux-out-of-office{background:var(--gse-ui-avatar-presenceRing-outOfOffice)}.gux-avatar.gux-ring.gux-on-queue{background:var(--gse-ui-avatar-presenceRing-onQueue)}.gux-avatar-integration-badge{position:absolute;inset-block-end:0;inset-inline-end:0;z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center}.gux-avatar-badge{position:absolute;inset-block-start:calc(var(--gse-ui-avatar-content-large-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-large-border-width) * -1);z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-large-badge-size);block-size:var(--gse-ui-avatar-large-badge-size);border-color:var(--gse-ui-avatar-content-default-border-color);border-style:var(--gse-ui-avatar-content-default-border-style);border-width:var(--gse-ui-avatar-content-large-border-width);border-radius:50%}.gux-avatar-badge.gux-medium{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-medium-badge-size);block-size:var(--gse-ui-avatar-medium-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small,.gux-avatar-badge.gux-xsmall{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-small-badge-size);block-size:var(--gse-ui-avatar-small-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small gux-icon,.gux-avatar-badge.gux-xsmall gux-icon{display:none}.gux-avatar-badge.gux-available{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-available.gux-small,.gux-avatar-badge.gux-available.gux-xsmall{background-color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-available gux-icon{color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-away,.gux-avatar-badge.gux-break,.gux-avatar-badge.gux-meal,.gux-avatar-badge.gux-training{background-color:var(--gse-ui-avatar-badge-away-color)}.gux-avatar-badge.gux-away gux-icon,.gux-avatar-badge.gux-break gux-icon,.gux-avatar-badge.gux-meal gux-icon,.gux-avatar-badge.gux-training gux-icon{margin:var(--gse-ui-avatar-badge-away-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDark-color)}.gux-avatar-badge.gux-busy,.gux-avatar-badge.gux-meeting{background-color:var(--gse-ui-avatar-badge-busy-color)}.gux-avatar-badge.gux-busy gux-icon,.gux-avatar-badge.gux-meeting gux-icon{margin:var(--gse-ui-avatar-badge-busy-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-notifications{background-color:var(--gse-ui-avatar-badge-notification-color)}.gux-avatar-badge.gux-notifications gux-icon{margin:var(--gse-ui-avatar-badge-notifications-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-offline.gux-small,.gux-avatar-badge.gux-offline.gux-xsmall{background-color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-offline gux-icon{color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-out-of-office{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-out-of-office.gux-small,.gux-avatar-badge.gux-out-of-office.gux-xsmall{background-color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-out-of-office gux-icon{color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-on-queue{background-color:var(--gse-ui-avatar-badge-onQueue-color)}.gux-avatar-badge.gux-on-queue gux-icon{margin:var(--gse-ui-avatar-badge-queue-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge gux-icon{inline-size:100%;block-size:100%}";export{s as gux_avatar_beta}
1
+ import{h as a,r as e,a as i}from"./p-8p-S7f9X.js";import{t}from"./p-CYZSsQYc.js";import{l as r}from"./p-DxtJDeL9.js";import{b as n}from"./p-DnzIYzsz.js";import{a as g,g as o}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";var u={notifications:"Notifications"};const s=class{constructor(a){e(this,a),this.size="large",this.accent="default",this.presence="none",this.tooltipEnabled=!0,this.ring=!1,this.badge=!1,this.notifications=!1,this.ucIntegration="none"}get hasUcIntegration(){return["zoom","teams","8x8"].includes(this.ucIntegration)&&"large"===this.size}validatingInputs(){const a=this.root.querySelector("img");this.name||r(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&r(this.root,"Alt attribute is required for slotted image."),"none"!==this.ucIntegration&&"large"!==this.size&&r(this.root,"UC Integration app logo can only be shown on large avatar")}renderBadge(){return this.notifications?this.renderNotificationsBadge():this.badge&&!["idle","none"].includes(this.presence)?a("div",{"aria-hidden":"true",class:{"gux-avatar-badge":!0,[`gux-${this.presence}`]:!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":this.getPresenceIcon(this.presence),decorative:!0})):void 0}renderNotificationsBadge(){return a("div",{"aria-hidden":"true",class:{"gux-avatar-badge gux-notifications":!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":"fa/bell-regular",decorative:!0}))}getPresenceIcon(a){switch(a){case"available":return"fa/circle-check-solid";case"busy":case"meeting":return"fa/ban-outline";case"away":case"break":case"meal":case"training":return"fa/clock-outline";case"on-queue":return"fa/headset-solid";case"offline":default:return"fa/circle-xmark-regular";case"out-of-office":return"fa/subtract-circle"}}renderUcIntegrationsIcon(e){switch(e){case"teams":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("g",{"clip-path":"url(#clip0_17811_243865)"},a("path",{d:"M22.3205 12.0769H30.5862C31.3671 12.0769 32.0002 12.7051 32.0002 13.48V20.951C32.0002 23.799 29.6735 26.1077 26.8035 26.1077H26.7789C23.9089 26.1081 21.582 23.7997 21.5815 20.9517C21.5815 20.9515 21.5815 20.9512 21.5815 20.951V12.8102C21.5816 12.4052 21.9124 12.0769 22.3205 12.0769Z",fill:"#5059C9"}),a("path",{d:"M27.9069 10.6C29.7565 10.6 31.2558 9.11222 31.2558 7.27694C31.2558 5.44165 29.7565 3.95386 27.9069 3.95386C26.0574 3.95386 24.5581 5.44165 24.5581 7.27694C24.5581 9.11222 26.0574 10.6 27.9069 10.6Z",fill:"#5059C9"}),a("path",{d:"M17.4886 10.6C20.1601 10.6 22.3258 8.45098 22.3258 5.80001C22.3258 3.14904 20.1601 1 17.4886 1C14.8171 1 12.6514 3.14904 12.6514 5.80001C12.6514 8.45098 14.8171 10.6 17.4886 10.6Z",fill:"#7B83EB"}),a("path",{d:"M23.9381 12.0769H10.2941C9.52253 12.0959 8.91215 12.7313 8.93005 13.497V22.0181C8.8223 26.613 12.4857 30.426 17.1161 30.5385C21.7465 30.426 25.4099 26.613 25.3022 22.0181V13.497C25.32 12.7313 24.7097 12.0959 23.9381 12.0769Z",fill:"#7B83EB"}),a("path",{opacity:"0.1",d:"M17.8603 12.0769V24.0178C17.8566 24.5654 17.5222 25.0573 17.0119 25.2658C16.8495 25.334 16.6749 25.3692 16.4985 25.3692H9.58496C9.48822 25.1255 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.8603Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V24.7563C17.1161 24.9313 17.0807 25.1046 17.0119 25.2658C16.8018 25.7722 16.3061 26.104 15.7543 26.1077H9.93474C9.80822 25.864 9.68915 25.6203 9.58496 25.3692C9.48077 25.1181 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V23.2794C17.1105 24.0234 16.504 24.6251 15.7543 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3719 12.0769V23.2794C16.3663 24.0234 15.7598 24.6251 15.0101 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H16.3719Z",fill:"black"}),a("path",{opacity:"0.1",d:"M17.8605 8.25909V10.5852C17.734 10.5926 17.6149 10.6 17.4884 10.6C17.3619 10.6 17.2428 10.5926 17.1163 10.5852C16.8651 10.5687 16.616 10.5291 16.3721 10.4671C14.8652 10.113 13.6201 9.06422 13.0233 7.64617C12.9206 7.40804 12.8409 7.16077 12.7852 6.90771H16.4986C17.2496 6.91054 17.8577 7.5139 17.8605 8.25909Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3723 8.9975V10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.0104C15.7614 7.64895 16.3694 8.25234 16.3723 8.9975Z",fill:"black"}),a("path",{d:"M1.36409 7.64612H15.008C15.7614 7.64612 16.3721 8.25215 16.3721 8.99971V22.5387C16.3721 23.2862 15.7613 23.8923 15.008 23.8923H1.36409C0.610716 23.8923 0 23.2862 0 22.5387V8.99971C0 8.25215 0.61073 7.64612 1.36409 7.64612Z",fill:"url(#paint0_linear_17811_243865)"}),a("path",{d:"M11.7761 12.7992H9.04865V20.169H7.31098V12.7992H4.59619V11.3695H11.7761V12.7992Z",fill:"white"})),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243865",x1:"2.84416",y1:"6.58844",x2:"13.4047",y2:"25.0206",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#5A62C3"}),a("stop",{offset:"0.5","stop-color":"#4D55BD"}),a("stop",{offset:"1","stop-color":"#3940AB"})),a("clipPath",{id:"clip0_17811_243865"},a("rect",{width:"32",height:"29.5385",fill:"white",transform:"translate(0 1)"}))));case"zoom":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M0 14C0 6.26801 6.26801 0 14 0H18C25.732 0 32 6.26801 32 14V18C32 25.732 25.732 32 18 32H14C6.26801 32 0 25.732 0 18V14Z",fill:"url(#paint0_linear_17811_243867)"}),a("path",{d:"M9.03495 17.9231H4.76573C4.48252 17.9231 4.22028 17.7885 4.08392 17.5577C3.93706 17.2885 3.98951 16.9712 4.22028 16.7692L7.1888 14.0481H5.05944C4.47203 14.0481 4 13.6058 4 13.0769H7.93355C8.21677 13.0769 8.479 13.2115 8.61537 13.4423C8.76222 13.7115 8.70977 14.0288 8.479 14.2308L5.51048 16.9519H7.97551C8.56292 16.9519 9.03495 17.3942 9.03495 17.9231ZM25.944 13C25.3356 13 24.7796 13.2404 24.402 13.6346C24.0244 13.25 23.4685 13 22.8601 13C21.7272 13 20.7936 13.8846 20.7936 14.9231V17.9231C21.3811 17.9231 21.8531 17.4904 21.8531 16.9519V14.9135C21.8531 14.4135 22.2727 13.9904 22.8181 13.9712C23.395 13.9519 23.8671 14.375 23.8671 14.8942V16.9519C23.8671 17.4904 24.3391 17.9231 24.9265 17.9231V14.9135C24.9265 14.4135 25.3461 13.9904 25.8915 13.9712C26.4684 13.9519 26.9405 14.375 26.9405 14.8942V16.9519C26.9405 17.4904 27.4125 17.9231 27.9999 17.9231V14.9231C28.0104 13.8846 27.0768 13 25.944 13ZM14.3846 15.5C14.3846 16.875 13.1573 18 11.6573 18C10.1468 18 8.93005 16.875 8.93005 15.5C8.93005 14.125 10.1573 13 11.6573 13C13.1573 13 14.3846 14.125 14.3846 15.5ZM13.3251 15.5C13.3251 14.6538 12.5804 13.9712 11.6573 13.9712C10.7342 13.9712 9.98949 14.6538 9.98949 15.5C9.98949 16.3462 10.7342 17.0288 11.6573 17.0288C12.5804 17.0288 13.3251 16.3462 13.3251 15.5ZM20.2692 15.5C20.2692 16.875 19.0419 18 17.5419 18C16.0314 18 14.8146 16.875 14.8146 15.5C14.8146 14.125 16.0419 13 17.5419 13C19.0419 13 20.2692 14.125 20.2692 15.5ZM19.2097 15.5C19.2097 14.6538 18.465 13.9712 17.5419 13.9712C16.6188 13.9712 15.8741 14.6538 15.8741 15.5C15.8741 16.3462 16.6188 17.0288 17.5419 17.0288C18.465 17.0288 19.2097 16.3462 19.2097 15.5Z",fill:"white"}),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243867",x1:"6",y1:"29",x2:"26",y2:"2.5",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#084ACD"}),a("stop",{offset:"0.505","stop-color":"#0B5CFF"}),a("stop",{offset:"1","stop-color":"#236EF9"}))));case"8x8":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("rect",{width:"32",height:"32",fill:"#CB2233"}),a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4298 14.2388H16.8341L16.2371 15.4154C16.1751 15.5507 16.1037 15.6811 16.0236 15.8055H15.9988C15.9988 15.8055 15.8808 15.5988 15.7841 15.4154L15.1965 14.2302H12.6127L14.6479 17.5052L12.621 20.7815H15.1611L15.8454 19.4129C15.9061 19.2937 15.9589 19.1704 16.0035 19.0437H16.0283C16.0283 19.0437 16.1227 19.2898 16.1864 19.4129L16.886 20.7815H19.4298L17.4028 17.5052L19.4298 14.2388ZM7.95949 19.1225C7.79341 19.1261 7.62828 19.0954 7.47357 19.0323C7.31886 18.9692 7.17761 18.8748 7.05792 18.7547C6.93823 18.6345 6.84245 18.4909 6.77608 18.332C6.7097 18.1732 6.67404 18.0022 6.67112 17.8289C6.68897 17.3197 6.89037 16.8362 7.23508 16.4751C8.28512 16.9674 9.24078 17.3465 9.24078 17.9852C9.24668 18.7163 8.75352 19.1225 7.95949 19.1225ZM8.03028 12.3975C8.72992 12.3975 9.15112 12.8037 9.15112 13.4252C9.14236 13.9074 9.0139 14.3789 8.77829 14.7938C7.83443 14.3705 7.06047 13.9975 7.06047 13.2677C7.05575 12.7877 7.3625 12.3975 8.03028 12.3975ZM10.6613 15.7625C10.7651 15.6308 11.7113 14.4283 11.7113 13.2258C11.7113 11.152 10.082 10 8.09399 10C5.59748 10 4.5085 11.5914 4.5085 13.2086C4.5085 14.1625 4.91436 14.8258 5.47832 15.3403C5.15269 15.6148 4 16.624 4 18.0615C4 19.8363 5.35916 21.52 7.95949 21.52C10.6058 21.52 11.9178 19.8191 11.9178 18.1194C11.9178 16.9994 11.3774 16.2782 10.6613 15.7625ZM24.0452 19.1225C23.8792 19.1259 23.7142 19.0951 23.5597 19.0319C23.4051 18.9688 23.264 18.8744 23.1444 18.7542C23.0249 18.6341 22.9292 18.4905 22.8629 18.3317C22.7966 18.1729 22.761 18.0021 22.758 17.8289C22.7759 17.3197 22.9773 16.8362 23.322 16.4751C24.372 16.9674 25.3277 17.3465 25.3277 17.9852C25.3277 18.7237 24.8345 19.1286 24.0476 19.1286L24.0452 19.1225ZM24.1172 12.3975C24.8168 12.3975 25.238 12.8037 25.238 13.4252C25.2296 13.9076 25.1007 14.3794 24.864 14.7938C23.9202 14.3705 23.1474 13.9975 23.1474 13.2677C23.1474 12.7877 23.4494 12.3975 24.1172 12.3975ZM26.7435 15.7625C26.8473 15.6222 27.7935 14.4197 27.7935 13.2258C27.7935 11.152 26.163 10 24.1762 10C21.6797 10 20.5907 11.5914 20.5907 13.2086C20.5907 14.1625 20.9966 14.8258 21.5605 15.3403C21.2349 15.6049 20.0822 16.6166 20.0822 18.048C20.0822 19.8228 21.4414 21.5065 24.0405 21.5065C26.688 21.5065 28 19.8068 28 18.1058C28 16.9994 27.4596 16.2782 26.7435 15.7625Z",fill:"white"}));default:return null}}getUcIntegrationText(a){switch(a){case"teams":return"Microsoft Teams";case"zoom":return"Zoom";case"8x8":return"8 by 8";default:return null}}renderUcIntegrationBadge(){if(this.hasUcIntegration)return a("div",{class:"gux-avatar-integration-badge","aria-hidden":"true"},this.renderUcIntegrationsIcon(this.ucIntegration))}renderTooltip(){return this.tooltipEnabled&&["A","BUTTON"].includes(this.parentElement.tagName)?a("gux-tooltip-beta",{placement:"top",ref:a=>this.tooltip=a,visualOnly:!0},a("div",{slot:"content"},this.getDescriptionText())):null}getDescriptionText(){let a=`${this.name}`;return this.notifications?a+` (${this.i18n("notifications")})`:(this.label&&"none"!==this.presence&&(a=a+=` (${this.label})`),this.hasUcIntegration&&(a=a+=` (${this.getUcIntegrationText(this.ucIntegration)})`),a)}async showTooltip(){if(this.tooltipEnabled)return await this.tooltip.showTooltip()}async hideTooltip(){if(this.tooltipEnabled)return await this.tooltip.hideTooltip()}async componentWillLoad(){this.parentElement=this.root.parentElement,t(this.root,{variant:this.size}),this.i18n=await n(this.root,u)}componentDidLoad(){this.validatingInputs()}render(){return[a("div",{key:"3852f19ea4a1cbb4249096d25cfee3a93a55e1cb",class:{"gux-avatar":!0,[`gux-${this.presence}`]:this.ring||this.badge,[`gux-${this.size}`]:!0,"gux-ring":this.ring,[o(this.accent,this.name)]:!0}},a("div",{key:"1cb0bf4de79e52bb3851fdb8697f96d179768c3c",class:"gux-content"},a("slot",{key:"30aea3029258e3af2ae4079862663bf939e2eaf4",name:"image"},a("span",{key:"c9cbc21e4ed6419330a03dc9f25934aa5c5e45f8",role:"img","aria-label":this.getDescriptionText()},g(this.name)))),this.renderTooltip()),this.renderBadge(),this.renderUcIntegrationBadge()]}get root(){return i(this)}};s.style=":host{position:relative;display:inline-block;border-radius:50%}:host abbr{text-decoration:none}::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}.gux-avatar{position:relative;inline-size:var(--gse-ui-avatar-large-size);block-size:var(--gse-ui-avatar-large-size);overflow:hidden;border-radius:50%}.gux-avatar .gux-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);margin:var(--gse-ui-avatar-large-presenceRing-width);overflow:hidden;font-family:var(--gse-ui-avatar-large-initials-fontFamily);font-size:var(--gse-ui-avatar-large-initials-fontSize);font-weight:var(--gse-ui-avatar-large-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-inverse);text-transform:uppercase;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%}.gux-avatar.gux-medium{inline-size:var(--gse-ui-avatar-medium-size);block-size:var(--gse-ui-avatar-medium-size)}.gux-avatar.gux-medium .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);margin:var(--gse-ui-avatar-medium-presenceRing-width);font-size:var(--gse-ui-avatar-medium-initials-fontSize);font-weight:var(--gse-ui-avatar-medium-initials-fontWeight)}.gux-avatar.gux-medium .gux-content,.gux-avatar.gux-small .gux-content,.gux-avatar.gux-xsmall .gux-content{border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar.gux-small{inline-size:var(--gse-ui-avatar-small-size);block-size:var(--gse-ui-avatar-small-size)}.gux-avatar.gux-small .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);margin:var(--gse-ui-avatar-small-presenceRing-width);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight)}.gux-avatar.gux-xsmall{inline-size:var(--gse-ui-avatar-xsmall-size);block-size:var(--gse-ui-avatar-xsmall-size)}.gux-avatar.gux-xsmall .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);margin:var(--gse-ui-avatar-xsmall-presenceRing-width);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight)}.gux-avatar.gux-accent-1 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}.gux-avatar.gux-accent-2 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}.gux-avatar.gux-accent-3 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}.gux-avatar.gux-accent-4 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}.gux-avatar.gux-accent-5 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}.gux-avatar.gux-accent-6 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}.gux-avatar.gux-accent-7 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}.gux-avatar.gux-accent-8 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}.gux-avatar.gux-accent-9 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}.gux-avatar.gux-accent-10 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}.gux-avatar.gux-accent-11 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}.gux-avatar.gux-accent-12 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}.gux-avatar.gux-accent-inherit .gux-content{color:inherit;background-color:inherit}.gux-avatar.gux-ring.gux-available{background:var(--gse-ui-avatar-presenceRing-available)}.gux-avatar.gux-ring.gux-away,.gux-avatar.gux-ring.gux-break,.gux-avatar.gux-ring.gux-meal,.gux-avatar.gux-ring.gux-training{background:var(--gse-ui-avatar-presenceRing-away)}.gux-avatar.gux-ring.gux-busy,.gux-avatar.gux-ring.gux-meeting{background:var(--gse-ui-avatar-presenceRing-busy)}.gux-avatar.gux-ring.gux-offline{background:var(--gse-ui-avatar-presenceRing-offline)}.gux-avatar.gux-ring.gux-out-of-office{background:var(--gse-ui-avatar-presenceRing-outOfOffice)}.gux-avatar.gux-ring.gux-on-queue{background:var(--gse-ui-avatar-presenceRing-onQueue)}.gux-avatar-integration-badge{position:absolute;inset-block-end:0;inset-inline-end:0;z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center}.gux-avatar-badge{position:absolute;inset-block-start:calc(var(--gse-ui-avatar-content-large-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-large-border-width) * -1);z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-large-badge-size);block-size:var(--gse-ui-avatar-large-badge-size);border-color:var(--gse-ui-avatar-content-default-border-color);border-style:var(--gse-ui-avatar-content-default-border-style);border-width:var(--gse-ui-avatar-content-large-border-width);border-radius:50%}.gux-avatar-badge.gux-medium{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-medium-badge-size);block-size:var(--gse-ui-avatar-medium-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small,.gux-avatar-badge.gux-xsmall{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-small-badge-size);block-size:var(--gse-ui-avatar-small-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small gux-icon,.gux-avatar-badge.gux-xsmall gux-icon{display:none}.gux-avatar-badge.gux-available{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-available.gux-small,.gux-avatar-badge.gux-available.gux-xsmall{background-color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-available gux-icon{color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-away,.gux-avatar-badge.gux-break,.gux-avatar-badge.gux-meal,.gux-avatar-badge.gux-training{background-color:var(--gse-ui-avatar-badge-away-color)}.gux-avatar-badge.gux-away gux-icon,.gux-avatar-badge.gux-break gux-icon,.gux-avatar-badge.gux-meal gux-icon,.gux-avatar-badge.gux-training gux-icon{margin:var(--gse-ui-avatar-badge-away-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDark-color)}.gux-avatar-badge.gux-busy,.gux-avatar-badge.gux-meeting{background-color:var(--gse-ui-avatar-badge-busy-color)}.gux-avatar-badge.gux-busy gux-icon,.gux-avatar-badge.gux-meeting gux-icon{margin:var(--gse-ui-avatar-badge-busy-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-notifications{background-color:var(--gse-ui-avatar-badge-notification-color)}.gux-avatar-badge.gux-notifications gux-icon{margin:var(--gse-ui-avatar-badge-notifications-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-offline.gux-small,.gux-avatar-badge.gux-offline.gux-xsmall{background-color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-offline gux-icon{color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-out-of-office{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-out-of-office.gux-small,.gux-avatar-badge.gux-out-of-office.gux-xsmall{background-color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-out-of-office gux-icon{color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-on-queue{background-color:var(--gse-ui-avatar-badge-onQueue-color)}.gux-avatar-badge.gux-on-queue gux-icon{margin:var(--gse-ui-avatar-badge-queue-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge gux-icon{inline-size:100%;block-size:100%}";export{s as gux_avatar_beta}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as r,a as i}from"./p-8p-S7f9X.js";import{t as o}from"./p-CYZSsQYc.js";import{b as n}from"./p-DnzIYzsz.js";import{g as e,f as a,t as p}from"./p-RWUera2Z.js";import"./p-Cd4R0amv.js";const c=class{constructor(s){t(this,s)}renderZoneDisplay(){let t=this.i18n(this.timeZoneId);this.shorten&&(t=function(t){const s=t.split("/");return(null==s?void 0:s.pop())||t}(t));let r=t;if(this.offset){const s=function(t,s){const r=e().find((t=>t.name===s));return`${t}${a(null==r?void 0:r.currentTimeOffsetInMinutes)}`}(this.i18n("UTC"),this.timeZoneId);r=`${t} ${s}`,this.surroundOffset&&(r=`${t} (${s})`)}return s("span",null,r)}async componentWillLoad(){o(this.root),this.i18n=await n(this.root,p,"gux-time-zone-picker")}render(){return s(r,{key:"3908114da33b35c37676080d3f9fd09ffab233ec"},this.renderZoneDisplay())}get root(){return i(this)}};export{c as gux_time_zone_beta}
@@ -1 +1 @@
1
- import{r as t,f as e,h as i,a as o}from"./p-C1fW4ajX.js";import{l as s}from"./p-DxtJDeL9.js";import{O as n}from"./p-CzrzfVSo.js";import{O as r}from"./p-DHEODze_.js";var l=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const h=class{constructor(e){t(this,e),this.hasTooltip=!1,this.showTooltip=!1,this.iconOnly=!1,this.titleName=""}onmouseenter(t){t.buttons||(this.showTooltip=!0)}onmouseleave(){this.showTooltip=!1}onmousedown(){this.showTooltip=!1}async setShowTooltip(){this.tooltipElement&&(this.showTooltip=!0,await this.tooltipElement.showTooltip())}async setHideTooltip(){this.tooltipElement&&(this.showTooltip=!1,await this.tooltipElement.hideTooltip())}onMutation(){const t=this.setTooltipTitleText();this.titleName!==t&&(this.titleName=t,e(this.root)),this.checkForTooltipHideOrShow()}onResize(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}componentWillLoad(){this.titleName=this.setTooltipTitleText()}componentDidLoad(){this.logWarnNoIconSrText()}logWarnNoIconSrText(){this.iconOnly&&!this.titleName&&s(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.")}addIconDecorative(){this.root.classList.add("gux-tooltip-icon-decorative")}getTitleElements(){var t;const e=this.root.querySelector("slot"),i=null===(t=this.root.querySelector(".gux-title-container span"))||void 0===t?void 0:t.children;return e?e.assignedElements():i?Array.from(i):[]}getTitleTextContent(){return this.root.querySelector("slot")?this.root.querySelector("slot").assignedNodes().map((t=>t.textContent.trim())).join(""):this.root.querySelector(".gux-title-container")?this.root.querySelector(".gux-title-container").textContent.trim():""}setTooltipTitleText(){let t=this.getTitleTextContent();return this.getTitleElements().forEach((e=>{"GUX-ICON"!==e.tagName||this.getTitleTextContent()?"GUX-ICON"===e.tagName&&this.getTitleTextContent()&&this.addIconDecorative():(this.iconOnly=!0,t=e.getAttribute("screenreader-text"))})),t}checkForTooltipHideOrShow(){const t=this.root.querySelector(".gux-title-container");this.root.classList.remove("gux-overflow-hidden"),this.iconOnly&&this.titleName?this.hasTooltip=!0:(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)?(this.root.classList.add("gux-overflow-hidden"),this.hasTooltip=!0):this.hasTooltip=!1}render(){return[i("span",{key:"990f420109f1200658bb5044fc1a405383dc3465",class:{"gux-title-container":!0,"gux-icon-only":this.iconOnly}},i("slot",{key:"05f71e2ff74fd39f9e59120ce16a4f4e21afbb4c"})),this.renderTooltip()]}renderTooltip(){if(this.hasTooltip)return i("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t,hidden:!this.showTooltip},i("div",{slot:"content"},this.setTooltipTitleText()))}get root(){return o(this)}};l([n({childList:!0,subtree:!0,characterData:!0})],h.prototype,"onMutation",null),l([r()],h.prototype,"onResize",null),h.style="gux-tooltip-title{overflow:hidden}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-overflow-hidden .gux-title-container ::slotted(span){overflow:hidden;text-overflow:ellipsis}.gux-overflow-hidden .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}.gux-title-container{display:flex;pointer-events:none}.gux-tooltip-icon-decorative .gux-title-container{position:relative;margin-inline-start:20px}.gux-tooltip-icon-decorative .gux-title-container gux-icon,.gux-tooltip-icon-decorative .gux-title-container ::slotted(gux-icon){position:absolute;inset-block-start:1px;inset-inline-start:-20px;flex-shrink:0;inline-size:16px;block-size:16px}.gux-icon-only{line-height:0px}";export{h as gux_tooltip_title}
1
+ import{r as t,f as e,h as i,a as o}from"./p-8p-S7f9X.js";import{l as n}from"./p-DxtJDeL9.js";import{O as s}from"./p-3FH859nI.js";import{O as r}from"./p-EnDSOV4K.js";var l=function(t,e,i,o){var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const h=class{constructor(e){t(this,e),this.hasTooltip=!1,this.showTooltip=!1,this.iconOnly=!1,this.titleName=""}onmouseenter(t){t.buttons||(this.showTooltip=!0)}onmouseleave(){this.showTooltip=!1}onmousedown(){this.showTooltip=!1}async setShowTooltip(){this.tooltipElement&&(this.showTooltip=!0,await this.tooltipElement.showTooltip())}async setHideTooltip(){this.tooltipElement&&(this.showTooltip=!1,await this.tooltipElement.hideTooltip())}onMutation(){const t=this.setTooltipTitleText();this.titleName!==t&&(this.titleName=t,e(this.root)),this.checkForTooltipHideOrShow()}onResize(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}componentWillLoad(){this.titleName=this.setTooltipTitleText()}componentDidLoad(){this.logWarnNoIconSrText()}logWarnNoIconSrText(){this.iconOnly&&!this.titleName&&n(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.")}addIconDecorative(){this.root.classList.add("gux-tooltip-icon-decorative")}getTitleElements(){var t;const e=this.root.querySelector("slot"),i=null===(t=this.root.querySelector(".gux-title-container span"))||void 0===t?void 0:t.children;return e?e.assignedElements():i?Array.from(i):[]}getTitleTextContent(){return this.root.querySelector("slot")?this.root.querySelector("slot").assignedNodes().map((t=>t.textContent.trim())).join(""):this.root.querySelector(".gux-title-container")?this.root.querySelector(".gux-title-container").textContent.trim():""}setTooltipTitleText(){let t=this.getTitleTextContent();return this.getTitleElements().forEach((e=>{"GUX-ICON"!==e.tagName||this.getTitleTextContent()?"GUX-ICON"===e.tagName&&this.getTitleTextContent()&&this.addIconDecorative():(this.iconOnly=!0,t=e.getAttribute("screenreader-text"))})),t}checkForTooltipHideOrShow(){const t=this.root.querySelector(".gux-title-container");this.root.classList.remove("gux-overflow-hidden"),this.iconOnly&&this.titleName?this.hasTooltip=!0:(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)?(this.root.classList.add("gux-overflow-hidden"),this.hasTooltip=!0):this.hasTooltip=!1}render(){return[i("span",{key:"990f420109f1200658bb5044fc1a405383dc3465",class:{"gux-title-container":!0,"gux-icon-only":this.iconOnly}},i("slot",{key:"05f71e2ff74fd39f9e59120ce16a4f4e21afbb4c"})),this.renderTooltip()]}renderTooltip(){if(this.hasTooltip)return i("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t,hidden:!this.showTooltip},i("div",{slot:"content"},this.setTooltipTitleText()))}get root(){return o(this)}};l([s({childList:!0,subtree:!0,characterData:!0})],h.prototype,"onMutation",null),l([r()],h.prototype,"onResize",null),h.style="gux-tooltip-title{overflow:hidden}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-overflow-hidden .gux-title-container ::slotted(span){overflow:hidden;text-overflow:ellipsis}.gux-overflow-hidden .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}.gux-title-container{display:flex;pointer-events:none}.gux-tooltip-icon-decorative .gux-title-container{position:relative;margin-inline-start:20px}.gux-tooltip-icon-decorative .gux-title-container gux-icon,.gux-tooltip-icon-decorative .gux-title-container ::slotted(gux-icon){position:absolute;inset-block-start:1px;inset-inline-start:-20px;flex-shrink:0;inline-size:16px;block-size:16px}.gux-icon-only{line-height:0px}";export{h as gux_tooltip_title}
@@ -1 +1 @@
1
- import{r as i,h as t,a}from"./p-C1fW4ajX.js";import{b as e}from"./p-CvnIig10.js";import{t as n}from"./p-DB6Bny-2.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"c82d272f543273e41d1406d6524dd5db7de4f0c7",class:"gux-container"},t("nav",{key:"a7a7d0c7c79b83ade0a82529096d567d2e8087ec","aria-label":this.i18n("navigationName")},t("ul",{key:"c0382b4fcccb9780614f4590f6a85504357716ef",role:"list"},t("slot",{key:"7aa2b70403ca3dee5d5918371fb9e3163d664aad"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,a}from"./p-8p-S7f9X.js";import{b as e}from"./p-DnzIYzsz.js";import{t as n}from"./p-CYZSsQYc.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"c82d272f543273e41d1406d6524dd5db7de4f0c7",class:"gux-container"},t("nav",{key:"a7a7d0c7c79b83ade0a82529096d567d2e8087ec","aria-label":this.i18n("navigationName")},t("ul",{key:"c0382b4fcccb9780614f4590f6a85504357716ef",role:"list"},t("slot",{key:"7aa2b70403ca3dee5d5918371fb9e3163d664aad"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -1 +1 @@
1
- import{r as e,f as t,h as s,H as r,a as o}from"./p-C1fW4ajX.js";import{s as i}from"./p-BMRf5pjV.js";import{t as n}from"./p-DB6Bny-2.js";const a=class{constructor(t){e(this,t),this.disabled=!1,this.items=[]}onClick(e){e.stopPropagation();const t=e.target.closest("gux-segmented-control-item");t&&this.value!==t.value&&(this.value=t.value,i(this.root,"input"),i(this.root,"change"))}watchDisabled(){this.items.forEach((e=>{t(e)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){n(this.root)}componentWillRender(){this.items.forEach((e=>{e.selected=e.value===this.value}))}render(){return s(r,{key:"76945fb221fe5d580e0e42a4e5c562ba8b962905",role:"group"},s("slot",{key:"97c79653015e47197daae03e42a805f42fa3c4b9",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}static get watchers(){return{disabled:["watchDisabled"]}}};a.style=":host{display:inline-flex;block-size:var(--gse-ui-segmentedControl-height);padding:var(--gse-ui-segmentedControl-padding);background-color:var(--gse-ui-segmentedControl-container-background);border:var(--gse-ui-segmentedControl-border-width) var(--gse-ui-segmentedControl-border-style) var(--gse-ui-segmentedControl-border-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{a as gux_segmented_control_beta}
1
+ import{r as e,f as t,h as s,H as r,a as o}from"./p-8p-S7f9X.js";import{s as i}from"./p-BMRf5pjV.js";import{t as n}from"./p-CYZSsQYc.js";const a=class{constructor(t){e(this,t),this.disabled=!1,this.items=[]}onClick(e){e.stopPropagation();const t=e.target.closest("gux-segmented-control-item");t&&this.value!==t.value&&(this.value=t.value,i(this.root,"input"),i(this.root,"change"))}watchDisabled(){this.items.forEach((e=>{t(e)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){n(this.root)}componentWillRender(){this.items.forEach((e=>{e.selected=e.value===this.value}))}render(){return s(r,{key:"76945fb221fe5d580e0e42a4e5c562ba8b962905",role:"group"},s("slot",{key:"97c79653015e47197daae03e42a805f42fa3c4b9",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}static get watchers(){return{disabled:["watchDisabled"]}}};a.style=":host{display:inline-flex;block-size:var(--gse-ui-segmentedControl-height);padding:var(--gse-ui-segmentedControl-padding);background-color:var(--gse-ui-segmentedControl-container-background);border:var(--gse-ui-segmentedControl-border-width) var(--gse-ui-segmentedControl-border-style) var(--gse-ui-segmentedControl-border-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{a as gux_segmented_control_beta}