genesys-spark-components 4.185.4 → 4.186.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 (670) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  3. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-branch-multi.cjs.entry.js +85 -0
  18. package/dist/cjs/gux-branch.cjs.entry.js +78 -0
  19. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  24. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  39. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  43. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  48. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  49. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
  51. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  52. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  53. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  55. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  56. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  57. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  59. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  60. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  61. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  62. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  63. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  64. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  65. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  70. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-leaf-multi.cjs.entry.js +70 -0
  73. package/dist/cjs/gux-leaf.cjs.entry.js +68 -0
  74. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  85. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  94. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  117. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  130. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  134. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  135. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  138. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  141. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  143. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  147. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  155. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  157. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  158. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  159. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  160. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  161. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  162. package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
  163. package/dist/cjs/gux-tree-beta.cjs.entry.js +183 -0
  164. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +204 -0
  165. package/dist/cjs/gux-tree-multi.service-SP7ZA2lB.js +313 -0
  166. package/dist/cjs/gux-tree.service-w78yRmzF.js +240 -0
  167. package/dist/cjs/index-Bfx8AGPj.js +24 -0
  168. package/dist/cjs/loader.cjs.js +1 -1
  169. package/dist/cjs/{usage-D2AUYEBS.js → usage-CIw4kGaR.js} +1 -1
  170. package/dist/collection/collection-manifest.json +6 -0
  171. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.css +114 -0
  172. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +209 -0
  173. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.css +86 -0
  174. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +179 -0
  175. package/dist/collection/components/beta/gux-tree/gux-tree.css +13 -0
  176. package/dist/collection/components/beta/gux-tree/gux-tree.js +296 -0
  177. package/dist/collection/components/beta/gux-tree/gux-tree.service.js +220 -0
  178. package/dist/collection/components/beta/gux-tree/gux-tree.types.js +1 -0
  179. package/dist/collection/components/beta/gux-tree/tests/gux-tree.common.js +137 -0
  180. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.css +122 -0
  181. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +236 -0
  182. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.css +100 -0
  183. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +181 -0
  184. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.css +13 -0
  185. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +318 -0
  186. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.service.js +320 -0
  187. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.types.js +1 -0
  188. package/dist/collection/components/beta/gux-tree-multi/tests/gux-tree-multi.common.js +56 -0
  189. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  190. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  191. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  192. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  193. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  194. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  195. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  196. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  197. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  198. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  199. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  200. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  201. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  202. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  203. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  204. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  205. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  206. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  207. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  208. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  209. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  210. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  211. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  212. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  213. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  214. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  215. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  216. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  217. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  218. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  219. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  220. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  221. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  222. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  223. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  224. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  225. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  226. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  227. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  228. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  229. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  230. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  231. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  232. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  233. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  234. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  235. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  236. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  237. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  238. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  239. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  240. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  241. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  242. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  243. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  244. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  245. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  246. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  247. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  248. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  249. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  250. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  251. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  252. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  253. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  254. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  255. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  256. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  257. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  258. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  259. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  260. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  261. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  262. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  263. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  264. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  265. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  266. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  267. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  268. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  269. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  270. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  271. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  272. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  273. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  274. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  275. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  276. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  277. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  278. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  279. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  280. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  281. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  282. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  283. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  284. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  285. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  286. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  287. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  288. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  289. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  290. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  291. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  292. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  293. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  294. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  295. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  296. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  297. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  298. package/dist/collection/utils/decorator/aria.js +17 -0
  299. package/dist/esm/genesys-webcomponents.js +1 -1
  300. package/dist/esm/gux-accordion-section.entry.js +5 -5
  301. package/dist/esm/gux-accordion.entry.js +2 -2
  302. package/dist/esm/gux-action-button.entry.js +2 -2
  303. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  304. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  305. package/dist/esm/gux-all-row-select.entry.js +1 -1
  306. package/dist/esm/gux-announce-beta.entry.js +1 -1
  307. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  308. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  309. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  310. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  311. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  312. package/dist/esm/gux-badge.entry.js +2 -2
  313. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  314. package/dist/esm/gux-blank-state.entry.js +2 -2
  315. package/dist/esm/gux-branch-multi.entry.js +83 -0
  316. package/dist/esm/gux-branch.entry.js +76 -0
  317. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  318. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  319. package/dist/esm/gux-button-multi.entry.js +2 -2
  320. package/dist/esm/gux-button-slot.entry.js +2 -2
  321. package/dist/esm/gux-button_2.entry.js +5 -5
  322. package/dist/esm/gux-calendar.entry.js +2 -2
  323. package/dist/esm/gux-card.entry.js +3 -3
  324. package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
  325. package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
  326. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  327. package/dist/esm/gux-column-manager.entry.js +2 -2
  328. package/dist/esm/gux-content-search.entry.js +3 -3
  329. package/dist/esm/gux-context-menu.entry.js +3 -3
  330. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  331. package/dist/esm/gux-create-option.entry.js +2 -2
  332. package/dist/esm/gux-date-beta.entry.js +1 -1
  333. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  334. package/dist/esm/gux-datepicker.entry.js +2 -2
  335. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  336. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  337. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  338. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  339. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  340. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  341. package/dist/esm/gux-file-list-item.entry.js +3 -3
  342. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  343. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  344. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  345. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  346. package/dist/esm/gux-form-field-color.entry.js +4 -4
  347. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  348. package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
  349. package/dist/esm/gux-form-field-file.entry.js +2 -2
  350. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  351. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  352. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  353. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  354. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  355. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  356. package/dist/esm/gux-form-field-range.entry.js +3 -3
  357. package/dist/esm/gux-form-field-search.entry.js +4 -4
  358. package/dist/esm/gux-form-field-select.entry.js +4 -4
  359. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  360. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  361. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  362. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  363. package/dist/esm/gux-form-footer.entry.js +1 -1
  364. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  365. package/dist/esm/gux-icon.entry.js +2 -2
  366. package/dist/esm/gux-illustration-beta.entry.js +1 -1
  367. package/dist/esm/gux-inline-alert.entry.js +3 -3
  368. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  369. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  370. package/dist/esm/gux-leaf-multi.entry.js +68 -0
  371. package/dist/esm/gux-leaf.entry.js +66 -0
  372. package/dist/esm/gux-link-beta.entry.js +1 -1
  373. package/dist/esm/gux-list-divider.entry.js +1 -1
  374. package/dist/esm/gux-list-item.entry.js +1 -1
  375. package/dist/esm/gux-list.entry.js +2 -2
  376. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  377. package/dist/esm/gux-loading-message.entry.js +2 -2
  378. package/dist/esm/gux-logo-beta.entry.js +1 -1
  379. package/dist/esm/gux-logomark-beta.entry.js +1 -1
  380. package/dist/esm/gux-menu-option.entry.js +1 -1
  381. package/dist/esm/gux-menu.entry.js +1 -1
  382. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  383. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  384. package/dist/esm/gux-modal.entry.js +2 -2
  385. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  386. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  387. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  388. package/dist/esm/gux-option-icon.entry.js +2 -2
  389. package/dist/esm/gux-option-multi.entry.js +2 -2
  390. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  391. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  392. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  393. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  394. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  395. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  396. package/dist/esm/gux-pagination.entry.js +2 -2
  397. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  398. package/dist/esm/gux-popover-beta.entry.js +1 -1
  399. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  400. package/dist/esm/gux-popover-list.entry.js +3 -3
  401. package/dist/esm/gux-popup.entry.js +3 -3
  402. package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
  403. package/dist/esm/gux-radial-loading.entry.js +2 -2
  404. package/dist/esm/gux-radial-progress.entry.js +1 -1
  405. package/dist/esm/gux-rating.entry.js +2 -2
  406. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  407. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  408. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  409. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  410. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  411. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  412. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  413. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  414. package/dist/esm/gux-row-select.entry.js +2 -2
  415. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  416. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  417. package/dist/esm/gux-select-all.entry.js +2 -2
  418. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  419. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  420. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  421. package/dist/esm/gux-side-panel-header.entry.js +1 -1
  422. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  423. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  424. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  425. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  426. package/dist/esm/gux-sort-control.entry.js +3 -3
  427. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  428. package/dist/esm/gux-step-title.entry.js +1 -1
  429. package/dist/esm/gux-step.entry.js +1 -1
  430. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  431. package/dist/esm/gux-submenu.entry.js +3 -3
  432. package/dist/esm/gux-switch-item.entry.js +1 -1
  433. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  434. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  435. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  436. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  437. package/dist/esm/gux-tab-list.entry.js +2 -2
  438. package/dist/esm/gux-tab-panel.entry.js +1 -1
  439. package/dist/esm/gux-tab.entry.js +2 -2
  440. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  441. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  442. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  443. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  444. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  445. package/dist/esm/gux-table.entry.js +2 -2
  446. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  447. package/dist/esm/gux-tabs.entry.js +2 -2
  448. package/dist/esm/gux-tag.entry.js +2 -2
  449. package/dist/esm/gux-text-highlight.entry.js +1 -1
  450. package/dist/esm/gux-time-beta.entry.js +1 -1
  451. package/dist/esm/gux-time-picker.entry.js +2 -2
  452. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  453. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  454. package/dist/esm/gux-toast.entry.js +3 -3
  455. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  456. package/dist/esm/gux-toggle.entry.js +3 -3
  457. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  458. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  459. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  460. package/dist/esm/gux-tooltip_2.entry.js +6 -6
  461. package/dist/esm/gux-tree-beta.entry.js +181 -0
  462. package/dist/esm/gux-tree-multi-beta.entry.js +202 -0
  463. package/dist/esm/gux-tree-multi.service-rN4u4zJA.js +295 -0
  464. package/dist/esm/gux-tree.service-g_oSRmLT.js +223 -0
  465. package/dist/esm/index-Dz_2h4jr.js +24 -0
  466. package/dist/esm/loader.js +1 -1
  467. package/dist/esm/{usage-CqFA-9uw.js → usage-P-hdUE3M.js} +1 -1
  468. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  469. package/dist/genesys-webcomponents/{p-94cb27d3.entry.js → p-02406da9.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/p-07276a2e.entry.js +1 -0
  471. package/dist/genesys-webcomponents/{p-8ebf81fb.entry.js → p-07e854e0.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-e1d6e045.entry.js → p-084d7985.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-9f0b943d.entry.js → p-08f65ffb.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-6de55d53.entry.js → p-0a45b162.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-67b71af5.entry.js → p-0a9b5aa9.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-71174517.entry.js → p-0b8494e4.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-b37969e2.entry.js → p-0bacc1c0.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/p-0e62a28a.entry.js +1 -0
  479. package/dist/genesys-webcomponents/p-0f906c83.entry.js +1 -0
  480. package/dist/genesys-webcomponents/p-10bc670e.entry.js +1 -0
  481. package/dist/genesys-webcomponents/{p-40d081da.entry.js → p-10c4aba5.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-0ee86062.entry.js → p-12879f8e.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-7ba8755f.entry.js → p-13121646.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-487d34ff.entry.js → p-14def48a.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-dab22b10.entry.js → p-14e56a8a.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-14f59f78.entry.js → p-1567ea4b.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-3c7ddb88.entry.js → p-181db322.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/p-1K6Bdrw6.js +1 -0
  489. package/dist/genesys-webcomponents/{p-69c8e846.entry.js → p-1aefd34b.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-1485f433.entry.js → p-1b993de4.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-adf7dd6a.entry.js → p-1d8461af.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-90caff1a.entry.js → p-1eb0e7e1.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-671dfa9e.entry.js → p-1ed1d90f.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/p-20f953d3.entry.js +1 -0
  495. package/dist/genesys-webcomponents/{p-c9a5aa58.entry.js → p-21925e45.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-eae2d50f.entry.js → p-22774ede.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-3f1cd13d.entry.js → p-22fc8bc7.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-a2a6afc3.entry.js → p-233754d3.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-a9af6f24.entry.js → p-250e46d5.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-2a29ce57.entry.js → p-25b54535.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-83209428.entry.js → p-2b21f5b0.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-8594ff89.entry.js → p-2c7f70e8.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-6386c7e1.entry.js → p-2ca52d1d.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-bafac823.entry.js → p-2d1decba.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/p-2e560175.entry.js +1 -0
  506. package/dist/genesys-webcomponents/{p-4349f0ca.entry.js → p-2eba7fa7.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-4b4adbc6.entry.js → p-34c49dae.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-3e068aae.entry.js → p-355c6058.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/p-37fc8995.entry.js +1 -0
  510. package/dist/genesys-webcomponents/{p-d5ba3136.entry.js → p-3885a340.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-8bc25cf3.entry.js → p-38ca0c04.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-bc6e01fd.entry.js → p-3c3be6b2.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-b571eabb.entry.js → p-3ef8c2ee.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-831fb4cc.entry.js → p-406efc68.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-75f9bd17.entry.js → p-40a8659f.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-2d6e6ef9.entry.js → p-42cb5452.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-97ad70c2.entry.js → p-42fd437b.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-544e996a.entry.js → p-4378ea79.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-b778feee.entry.js → p-44fccf34.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-f594e172.entry.js → p-46122325.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/p-46ad732d.entry.js +1 -0
  522. package/dist/genesys-webcomponents/{p-c5739404.entry.js → p-4cc59941.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-3144413b.entry.js → p-4e86d6b0.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-0f0c7576.entry.js → p-50a70b04.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-82c3e4ab.entry.js → p-527f7a1a.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-e2ba70cb.entry.js → p-52bf984a.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-b242698f.entry.js → p-586b74de.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-84e0896b.entry.js → p-59691ec8.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-53dec3d9.entry.js → p-59f93cf5.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-80f96c1f.entry.js → p-5a2afb00.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-3b7c7a93.entry.js → p-5a7fcba4.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-ef689aba.entry.js → p-5adef61c.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-84630362.entry.js → p-5df2e379.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-aeb7034c.entry.js → p-5e36e00c.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-f02b5c08.entry.js → p-5e688f82.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-e3f192d1.entry.js → p-5f013968.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-ecc889c1.entry.js → p-62d5a576.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/p-63fc23b7.entry.js +1 -0
  539. package/dist/genesys-webcomponents/{p-a2d45e7a.entry.js → p-6750f1bd.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-868f1326.entry.js → p-68c4c1f6.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-9251c76b.entry.js → p-70039747.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-d9cdc0da.entry.js → p-71bfc382.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-6b11eab9.entry.js → p-72cae5e3.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-be3bc25f.entry.js → p-72efcee2.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-847c37dd.entry.js → p-73bc81ae.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-4941fe4c.entry.js → p-761dfdfc.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-2f8645cd.entry.js → p-78797c2a.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-27a31162.entry.js → p-7b9ee43c.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/p-7c04a9a6.entry.js +1 -0
  550. package/dist/genesys-webcomponents/{p-480528c6.entry.js → p-7c225701.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/p-7f80b420.entry.js +1 -0
  552. package/dist/genesys-webcomponents/p-80ac162c.entry.js +1 -0
  553. package/dist/genesys-webcomponents/{p-2c059a6c.entry.js → p-8125094f.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-2d679237.entry.js → p-8388d345.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-c242bb23.entry.js → p-83c72397.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-893f62be.entry.js → p-840e5e72.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-df234f82.entry.js → p-86e60f03.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-4a1529e5.entry.js → p-878fb957.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-5c1b8f06.entry.js → p-88fe97ab.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-4ece6ace.entry.js → p-8a79bc83.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-612dc777.entry.js → p-8b00a8b1.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-1427f966.entry.js → p-8b77906f.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-10e4fe74.entry.js → p-8bfe887d.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-78eaa0d4.entry.js → p-8d17c505.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-c243addb.entry.js → p-8d2c4040.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-f9b60e9d.entry.js → p-8da560e6.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/p-8fe5946c.entry.js +1 -0
  568. package/dist/genesys-webcomponents/{p-53b2f894.entry.js → p-94dec58d.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-bfff8a6b.entry.js → p-952f83d8.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-21a1faf1.entry.js → p-95c9d6e5.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/p-98887eea.entry.js +1 -0
  572. package/dist/genesys-webcomponents/{p-86066630.entry.js → p-9921a228.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-b8be5587.entry.js → p-9c805410.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-e50f271a.entry.js → p-9f072d6e.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/p-CkugK5PE.js +1 -0
  576. package/dist/genesys-webcomponents/{p-CqFA-9uw.js → p-P-hdUE3M.js} +1 -1
  577. package/dist/genesys-webcomponents/p-a0c70c7d.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-1547811e.entry.js → p-a28fb4d6.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-15692d0d.entry.js → p-a5da5222.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-5d4b57ce.entry.js → p-a96b217c.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-5594fa74.entry.js → p-a9ae1a36.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/{p-0755b783.entry.js → p-aa8035f2.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-5d17f3bd.entry.js → p-ae35a482.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/{p-fd316112.entry.js → p-ae7f9a42.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/{p-23c41f6a.entry.js → p-b011264f.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/p-b0f65767.entry.js +1 -0
  587. package/dist/genesys-webcomponents/{p-e556fa9f.entry.js → p-b7ded211.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-b63f7073.entry.js → p-ba631fa5.entry.js} +1 -1
  589. package/dist/genesys-webcomponents/{p-2198a87f.entry.js → p-bb4bdcbe.entry.js} +1 -1
  590. package/dist/genesys-webcomponents/{p-22c776f0.entry.js → p-bc87db5c.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/p-bd7562f2.entry.js +1 -0
  592. package/dist/genesys-webcomponents/{p-177ecae4.entry.js → p-be4dfcc9.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-777ea613.entry.js → p-bff08f71.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-2b5a926f.entry.js → p-c321b784.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-2fb25236.entry.js → p-c619ecb1.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-5d1a929a.entry.js → p-c691ee28.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/p-c7212fc2.entry.js +1 -0
  598. package/dist/genesys-webcomponents/{p-489b6f7e.entry.js → p-c7674d3e.entry.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-e7289e53.entry.js → p-c86f2a82.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-605d874e.entry.js → p-ca3e3fbb.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/{p-375cd724.entry.js → p-ce75d98e.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/{p-1eaaf233.entry.js → p-ce7e92de.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-c234f86c.entry.js → p-cf2837df.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-a7e70e2a.entry.js → p-cf6f951b.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-153f816e.entry.js → p-d28c5369.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/p-d323c56f.entry.js +1 -0
  607. package/dist/genesys-webcomponents/p-d57f4f0f.entry.js +1 -0
  608. package/dist/genesys-webcomponents/{p-539fb3fe.entry.js → p-d5df8246.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-98e56fc8.entry.js → p-d638b856.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/{p-b5052251.entry.js → p-d71e1784.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-f20f3970.entry.js → p-d80ed019.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-2ca488ce.entry.js → p-d91b4089.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-51fda966.entry.js → p-d951d08a.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-787ceb33.entry.js → p-dd96e223.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-b1e84bbd.entry.js → p-e165bcea.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-078c349b.entry.js → p-e19f8f0f.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-8ea4a492.entry.js → p-e1c5a946.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/p-e2c96d2c.entry.js +1 -0
  619. package/dist/genesys-webcomponents/{p-b6fd9593.entry.js → p-e324984d.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-8eb7f37d.entry.js → p-e479e4d9.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/p-e51be612.entry.js +1 -0
  622. package/dist/genesys-webcomponents/{p-9536e0c6.entry.js → p-e53bba61.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/p-e7fbc88d.entry.js +1 -0
  624. package/dist/genesys-webcomponents/{p-48bc1a43.entry.js → p-eace50ae.entry.js} +1 -1
  625. package/dist/genesys-webcomponents/p-edaea90f.entry.js +1 -0
  626. package/dist/genesys-webcomponents/{p-01a0c3f5.entry.js → p-ee3875eb.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/{p-f8c169cd.entry.js → p-efd89c57.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/{p-8045e63b.entry.js → p-f09ea52d.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-061ea741.entry.js → p-f308e9ad.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-f63d28a3.entry.js +1 -0
  631. package/dist/genesys-webcomponents/{p-40ea83f0.entry.js → p-f6be54af.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-7065d860.entry.js → p-f92de177.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-7adb4b41.entry.js → p-f9ad0cfb.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-99137082.entry.js → p-fdc40086.entry.js} +1 -1
  635. package/dist/stencil-wrapper.js +1 -1
  636. package/dist/types/components/beta/gux-tree/gux-branch/gux-branch.d.ts +25 -0
  637. package/dist/types/components/beta/gux-tree/gux-leaf/gux-leaf.d.ts +23 -0
  638. package/dist/types/components/beta/gux-tree/gux-tree.d.ts +27 -0
  639. package/dist/types/components/beta/gux-tree/gux-tree.service.d.ts +21 -0
  640. package/dist/types/components/beta/gux-tree/gux-tree.types.d.ts +3 -0
  641. package/dist/types/components/beta/gux-tree/tests/gux-tree.common.d.ts +8 -0
  642. package/dist/types/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.d.ts +27 -0
  643. package/dist/types/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.d.ts +24 -0
  644. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.d.ts +28 -0
  645. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.service.d.ts +24 -0
  646. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.types.d.ts +16 -0
  647. package/dist/types/components/beta/gux-tree-multi/tests/gux-tree-multi.common.d.ts +10 -0
  648. package/dist/types/components.d.ts +264 -0
  649. package/dist/types/stencil-wrapper.d.ts +1 -1
  650. package/dist/types/utils/decorator/aria.d.ts +47 -0
  651. package/package.json +1 -1
  652. package/dist/genesys-webcomponents/p-0a8991dc.entry.js +0 -1
  653. package/dist/genesys-webcomponents/p-116268dd.entry.js +0 -1
  654. package/dist/genesys-webcomponents/p-2d774310.entry.js +0 -1
  655. package/dist/genesys-webcomponents/p-37b9c630.entry.js +0 -1
  656. package/dist/genesys-webcomponents/p-4551fc1a.entry.js +0 -1
  657. package/dist/genesys-webcomponents/p-49f4288e.entry.js +0 -1
  658. package/dist/genesys-webcomponents/p-63e3b1f3.entry.js +0 -1
  659. package/dist/genesys-webcomponents/p-71ff1a25.entry.js +0 -1
  660. package/dist/genesys-webcomponents/p-79d0c705.entry.js +0 -1
  661. package/dist/genesys-webcomponents/p-7a9be627.entry.js +0 -1
  662. package/dist/genesys-webcomponents/p-83c0a686.entry.js +0 -1
  663. package/dist/genesys-webcomponents/p-a2f29975.entry.js +0 -1
  664. package/dist/genesys-webcomponents/p-ab3c9fe0.entry.js +0 -1
  665. package/dist/genesys-webcomponents/p-c372d8f5.entry.js +0 -1
  666. package/dist/genesys-webcomponents/p-c76a57f2.entry.js +0 -1
  667. package/dist/genesys-webcomponents/p-d99703d1.entry.js +0 -1
  668. package/dist/genesys-webcomponents/p-e1de4af9.entry.js +0 -1
  669. package/dist/genesys-webcomponents/p-eaeb9124.entry.js +0 -1
  670. package/dist/genesys-webcomponents/p-f47b496d.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,c as o,h as r,a as t}from"./p-Dz_2h4jr.js";import{r as a}from"./p-D9jKBqIb.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(r){e(this,r),this.guxopened=o(this,"guxopened",7),this.guxclosed=o(this,"guxclosed",7),this.sectionId=a("gux-accordion-section"),this.headerId=a("gux-accordion-header"),this.arrowPosition="end",this.contentLayout="text",this.open=!1,this.disabled=!1,this.reverseHeadings=!1}watchOpen(e){e?this.guxopened.emit():this.guxclosed.emit()}toggle(){this.open=!this.open}isArrowPositionBeforeText(){return"start"===this.arrowPosition}handleSlotChange(e){const o=this.root.querySelector(`[slot="${e}"]`);o.role="presentation",o&&/^H[1-6]$/.test(o.nodeName)||i(this.root,`For accessibility reasons the ${e} slot should be filled with a HTML heading tag (h1 - h6).`),"header"==e&&(this.headingLevel=parseInt(o.nodeName.replace("H",""),10))}componentWillLoad(){this.hasIconSlot=!!this.root.querySelector('[slot="icon"]')}render(){return r("section",{key:"d6d79a3d1653a542bbf18de5b52a90c2b176d734",class:{"gux-disabled":this.disabled}},r("div",{key:"c20c237090c10de156583684e01fb215ad76ead7",id:this.headerId,role:"heading","aria-level":this.headingLevel},r("button",{key:"43229df56bb1171f20f5c93fda2669c71eefd632",class:{"gux-header":!0,"gux-reverse-headings":this.reverseHeadings},type:"button","aria-expanded":this.open.toString(),"aria-controls":this.sectionId,disabled:this.disabled,onClick:this.toggle.bind(this)},this.hasIconSlot&&r("slot",{key:"5a3a87ebc2049aaa18bc20cec310718f89fa2162",name:"icon"}),r("div",{key:"6be38d19a29b83717170ac5015db368b9e2aed02",class:{"gux-header-text":!0}},r("slot",{key:"d786bb89ce6812548b8f2642d749b37d8cf80cb6",onSlotchange:()=>this.handleSlotChange("header"),name:"header"}),r("slot",{key:"ff3c1a4fb7569f28a24151568640c062031f7d08",onSlotchange:()=>this.handleSlotChange("subheader"),name:"subheader"})),r("div",{key:"7bc3ead78de0ce567545dfa58f9b89c6c163cfe2",class:{"gux-header-icon":!0,"gux-expanded":this.open,"gux-arrow-position-start":this.isArrowPositionBeforeText()}},r("gux-icon",{key:"b7214df16eda106b936db934d79a8e8bbdbc9c47",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),r("div",{key:"202ac097d31ebb575825d8272a19a537d2014b75",id:this.sectionId,role:"region","aria-labelledby":this.headerId,class:{"gux-content":!0,"gux-expanded":this.open,"gux-text-content-layout":"text"===this.contentLayout}},r("slot",{key:"2d4f4633867f426bc8cbfa54662279bc9ebe12fd",name:"content"})))}get root(){return t(this)}static get watchers(){return{open:["watchOpen"]}}};n.style=":host(:first-child) section{border-block-start:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section.gux-disabled{cursor:default}section.gux-disabled>*{pointer-events:none;opacity:0.5}section{border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section .gux-header{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:center flex-start;align-items:center;inline-size:100%;padding:var(--gse-ui-accordion-header-padding);margin:0;cursor:pointer}section .gux-header .gux-header-text{flex:1 1 auto;align-self:auto;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight);color:var(--gse-ui-accordion-header-default-foreground-labelColor);text-align:start}section .gux-header.gux-reverse-headings .gux-header-text{display:flex;flex-direction:column-reverse}section .gux-header ::slotted([slot=header]){padding:0;margin:0;font-family:var(--gse-ui-accordion-header-label-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-header-label-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-header-label-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-header-default-foreground-labelColor)}section .gux-header ::slotted([slot=subheader]){padding:0;margin-block:var(--gse-core-spacing-5xs) 0;margin-inline:0;font-family:var(--gse-ui-accordion-contentItem-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-contentItem-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-contentItem-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-contentItem-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-contentItem-foregroundColor)}section .gux-header ::slotted([slot=subheader]) .gux-reverse-headings{margin-block:0 var(--gse-core-spacing-5xs);margin-inline:0}section .gux-header ::slotted([slot=icon]){flex:0 0 auto;align-self:flex-start;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);margin-inline-end:var(--gse-ui-accordion-header-gap);color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed)}section .gux-header ::slotted([slot=icon]) .gux-reverse-headings{align-self:flex-end}section .gux-header .gux-header-icon{flex:0 1 auto;align-items:center;align-self:auto;margin-inline-start:var(--gse-ui-accordion-header-gap);line-height:0;color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed);transform-origin:center;transition:transform 0.5s ease}section .gux-header .gux-header-icon.gux-arrow-position-start{order:-1;margin-inline-end:var(--gse-ui-accordion-header-gap)}section .gux-header .gux-header-icon.gux-expanded{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-open);transform:rotate(-180deg)}section .gux-header:focus-visible{outline:var(--gse-ui-accordion-focusBorder-width) var(--gse-ui-accordion-focusBorder-style) var(--gse-ui-accordion-focusBorder-color);outline-offset:var(--gse-ui-accordion-focus-offset-gap);border-radius:var(--gse-ui-accordion-menuItem-focus-borderRadius)}section .gux-header:hover .gux-header-icon{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-hover)}section .gux-content{box-sizing:border-box;display:none}section .gux-content.gux-expanded{display:block}section .gux-content.gux-text-content-layout{padding:var(--gse-ui-accordion-contentItem-padding)}section .gux-content ::slotted([slot=content]){margin:0}";export{n as gux_accordion_section}
1
+ import{r as e,c as o,h as a,a as r}from"./p-Dz_2h4jr.js";import{r as t}from"./p-D9jKBqIb.js";import{a as i}from"./p-DxtJDeL9.js";const n=class{constructor(a){e(this,a),this.guxopened=o(this,"guxopened",7),this.guxclosed=o(this,"guxclosed",7),this.sectionId=t("gux-accordion-section"),this.headerId=t("gux-accordion-header"),this.arrowPosition="end",this.contentLayout="text",this.open=!1,this.disabled=!1,this.reverseHeadings=!1}watchOpen(e){e?this.guxopened.emit():this.guxclosed.emit()}toggle(){this.open=!this.open}isArrowPositionBeforeText(){return"start"===this.arrowPosition}handleSlotChange(e){const o=this.root.querySelector(`[slot="${e}"]`);o.role="presentation",o&&/^H[1-6]$/.test(o.nodeName)||i(this.root,`For accessibility reasons the ${e} slot should be filled with a HTML heading tag (h1 - h6).`),"header"==e&&(this.headingLevel=parseInt(o.nodeName.replace("H",""),10))}componentWillLoad(){this.hasIconSlot=!!this.root.querySelector('[slot="icon"]')}render(){return a("section",{key:"0e0fd3f90f4a58b4f30adaff88753ca0990a955b",class:{"gux-disabled":this.disabled}},a("div",{key:"0e8bb4287a4ad2737a87065a13503a9acd0d0f73",id:this.headerId,role:"heading","aria-level":this.headingLevel},a("button",{key:"3b84678d5057addc7da158e411ad62fad64ea702",class:{"gux-header":!0,"gux-reverse-headings":this.reverseHeadings},type:"button","aria-expanded":this.open.toString(),"aria-controls":this.sectionId,disabled:this.disabled,onClick:this.toggle.bind(this)},this.hasIconSlot&&a("slot",{key:"b3a3aa4e7c245d38b1aae1acad6aeb426d2371cc",name:"icon"}),a("div",{key:"87fdcdd02886f553852f606e55f47dedeccdda52",class:{"gux-header-text":!0}},a("slot",{key:"8544aca09b59757ad5333d18c84556dfb8555dc4",onSlotchange:()=>this.handleSlotChange("header"),name:"header"}),a("slot",{key:"e2498519cf6f348ca4ea71de1ad6e83abe7fa015",onSlotchange:()=>this.handleSlotChange("subheader"),name:"subheader"})),a("div",{key:"8488efe5e01e9d00ba67c0df1cb1fa6f6d0984d5",class:{"gux-header-icon":!0,"gux-expanded":this.open,"gux-arrow-position-start":this.isArrowPositionBeforeText()}},a("gux-icon",{key:"bef68cc87e90e173497b9abac6df11ef36fda6e9",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),a("div",{key:"d0d0b4e5b8aee953ef17c077daea819300d2039b",id:this.sectionId,role:"region","aria-labelledby":this.headerId,class:{"gux-content":!0,"gux-expanded":this.open,"gux-text-content-layout":"text"===this.contentLayout}},a("slot",{key:"f6d2e7dbe89472e2140026ec7cc0b3f8f790f1e4",name:"content"})))}get root(){return r(this)}static get watchers(){return{open:["watchOpen"]}}};n.style=":host(:first-child) section{border-block-start:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section.gux-disabled{cursor:default}section.gux-disabled>*{pointer-events:none;opacity:0.5}section{border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section .gux-header{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:center flex-start;align-items:center;inline-size:100%;padding:var(--gse-ui-accordion-header-padding);margin:0;cursor:pointer}section .gux-header .gux-header-text{flex:1 1 auto;align-self:auto;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight);color:var(--gse-ui-accordion-header-default-foreground-labelColor);text-align:start}section .gux-header.gux-reverse-headings .gux-header-text{display:flex;flex-direction:column-reverse}section .gux-header ::slotted([slot=header]){padding:0;margin:0;font-family:var(--gse-ui-accordion-header-label-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-header-label-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-header-label-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-header-default-foreground-labelColor)}section .gux-header ::slotted([slot=subheader]){padding:0;margin-block:var(--gse-core-spacing-5xs) 0;margin-inline:0;font-family:var(--gse-ui-accordion-contentItem-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-contentItem-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-contentItem-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-contentItem-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-contentItem-foregroundColor)}section .gux-header ::slotted([slot=subheader]) .gux-reverse-headings{margin-block:0 var(--gse-core-spacing-5xs);margin-inline:0}section .gux-header ::slotted([slot=icon]){flex:0 0 auto;align-self:flex-start;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);margin-inline-end:var(--gse-ui-accordion-header-gap);color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed)}section .gux-header ::slotted([slot=icon]) .gux-reverse-headings{align-self:flex-end}section .gux-header .gux-header-icon{flex:0 1 auto;align-items:center;align-self:auto;margin-inline-start:var(--gse-ui-accordion-header-gap);line-height:0;color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed);transform-origin:center;transition:transform 0.5s ease}section .gux-header .gux-header-icon.gux-arrow-position-start{order:-1;margin-inline-end:var(--gse-ui-accordion-header-gap)}section .gux-header .gux-header-icon.gux-expanded{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-open);transform:rotate(-180deg)}section .gux-header:focus-visible{outline:var(--gse-ui-accordion-focusBorder-width) var(--gse-ui-accordion-focusBorder-style) var(--gse-ui-accordion-focusBorder-color);outline-offset:var(--gse-ui-accordion-focus-offset-gap);border-radius:var(--gse-ui-accordion-menuItem-focus-borderRadius)}section .gux-header:hover .gux-header-icon{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-hover)}section .gux-content{box-sizing:border-box;display:none}section .gux-content.gux-expanded{display:block}section .gux-content.gux-text-content-layout{padding:var(--gse-ui-accordion-contentItem-padding)}section .gux-content ::slotted([slot=content]){margin:0}";export{n as gux_accordion_section}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,a as o}from"./p-Dz_2h4jr.js";import{O as a}from"./p-Ct81NxWr.js";import{t as c}from"./p-CqFA-9uw.js";import{b as r}from"./p-DmaAM9UB.js";import{t as n}from"./p-DN3YAdAX.js";import{b as l}from"./p-Bg4q97BS.js";import{h as d}from"./p-wqCHc7t7.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const f=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusOut(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"a1b092b331afa0f96ca25781b940b46b3035a841"},i("gux-button-slot",{key:"b4e66372d444b08e6dacc608cb344a9db612c69f",accent:"ghost","icon-only":!0},i("button",{key:"4aa355b570fd2ccaa928bdaf6ca4de206c50412b",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||d(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"1ec0a4df78d75e9d8481252cb972def5e40d675f",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"a7468956071d1ae155015727158665349dcf6ae6","is-open":this.isOpen,for:"popover-target"},i("div",{key:"538950891278b624271633a5ec21c109c26b38be",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"08e4c3565214683c6c402b3eb132e9a7d1bcaf3a"},i("input",{key:"8a0ade3097ed0fe365ce604d67b9f4f7dd1ea638",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"e893379ef7d6e4eae7972fd2df09aba038947bff",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"7d3e07127cdff6aab21790b17dd8e7c49186331a"},i("input",{key:"057c3c23108b44f5b1c71f275ed87bbbec95cf04",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"9da451fd7faad7dfcc59504fb81347a44596ecc0",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"701efdf259fef69be6593cbca2e76af5f4cf7cf4",align:"end"},i("gux-button",{key:"dc42e903033f014cf0d5a49d5f720c29b0527d83",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"af24bdc0a2ae64ba433307fc7ffa3d06a8249773",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,c=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);a>3&&c&&Object.defineProperty(e,i,c)})([a({triggerEvents:"mousedown"})],f.prototype,"onClickOutside",null),f.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{f as gux_rich_text_editor_action_link}
1
+ import{r as t,c as e,h as i,H as s,a as o}from"./p-Dz_2h4jr.js";import{O as a}from"./p-Ct81NxWr.js";import{t as c}from"./p-P-hdUE3M.js";import{b as r}from"./p-DmaAM9UB.js";import{t as n}from"./p-DN3YAdAX.js";import{b as l}from"./p-Bg4q97BS.js";import{h as d}from"./p-wqCHc7t7.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const f=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusOut(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"a1b092b331afa0f96ca25781b940b46b3035a841"},i("gux-button-slot",{key:"b4e66372d444b08e6dacc608cb344a9db612c69f",accent:"ghost","icon-only":!0},i("button",{key:"4aa355b570fd2ccaa928bdaf6ca4de206c50412b",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||d(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"1ec0a4df78d75e9d8481252cb972def5e40d675f",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"a7468956071d1ae155015727158665349dcf6ae6","is-open":this.isOpen,for:"popover-target"},i("div",{key:"538950891278b624271633a5ec21c109c26b38be",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"08e4c3565214683c6c402b3eb132e9a7d1bcaf3a"},i("input",{key:"8a0ade3097ed0fe365ce604d67b9f4f7dd1ea638",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"e893379ef7d6e4eae7972fd2df09aba038947bff",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"7d3e07127cdff6aab21790b17dd8e7c49186331a"},i("input",{key:"057c3c23108b44f5b1c71f275ed87bbbec95cf04",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"9da451fd7faad7dfcc59504fb81347a44596ecc0",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"701efdf259fef69be6593cbca2e76af5f4cf7cf4",align:"end"},i("gux-button",{key:"dc42e903033f014cf0d5a49d5f720c29b0527d83",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"af24bdc0a2ae64ba433307fc7ffa3d06a8249773",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,c=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);a>3&&c&&Object.defineProperty(e,i,c)})([a({triggerEvents:"mousedown"})],f.prototype,"onClickOutside",null),f.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{f as gux_rich_text_editor_action_link}
@@ -1 +1 @@
1
- import{r as e,f as t,h as o,a as i}from"./p-Dz_2h4jr.js";import{c as r,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-0yc9CKxX.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as f}from"./p-qzV3vtOw.js";import{G as u,a as p}from"./p-JPhxXbs4.js";import{G as d,a as h}from"./p-C-1lAIfW.js";import{h as g,s as c,c as x,g as m,v as b,a as v}from"./p-DHLxhscH.js";import{t as C}from"./p-CqFA-9uw.js";import{f as y}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const w=class{constructor(t){e(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.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-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("div",{role:"status"},o("gux-radial-loading",{context:"input"}))}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"0998ff532ef8431d51503e9f084dd97f774af57f",labelPosition:this.computedLabelPosition},o(d,{key:"0ff281a169a5ca0c6f18ee15432c8135447d8805",required:this.required,position:this.computedLabelPosition},o("slot",{key:"a99f680cf307ada34041dcd42cc2382c5602ca58",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"6e437ca89d1d075de719fc334a4d7e12c8063ac2",variant:this.indicatorMark,required:this.required}),o("slot",{key:"ecb7743283ab8c11cee268a672f16ecf27e2f76a",name:"label-info"})),o("div",{key:"8f2a674ace15b63dbbb00af7cb9c08989e0f8eae",class:"gux-input-and-error-container"},o("div",{key:"d8d47c43431f77909a67a7471e0e46513a80f91d",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"5686cc60bfb8ed5e59ebd532b89960c79c77dc9e",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"76ebb492dc23da87db290f0cdb669966fbc6b13c",name:"prefix"}),o("slot",{key:"7f9c98e765c9e2321382b3e3af9711fc0bde1e2e",name:"input"}),this.renderRadialLoading(),o("slot",{key:"d71da5392188f18229e5d8e34bd59f4adf1890e2",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"8e8fff31f358608f22214a12605a7c37ad883bb3",onClick:()=>x(this.input)}))),o(u,{key:"a2a2d73177b78200f558b659d92317371619ccca",show:this.hasError},o("slot",{key:"dd6527af4dfb0628a9e4576ea032a636fb32e86b",name:"error"})),o(p,{key:"a0db95360163f9581989abefc9f6c627d28e7770",show:!this.hasError&&this.hasHelp},o("slot",{key:"a96496a60f05b84cc01aeaed53d2b88258e83a0b",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],w.prototype,"onMutation",null),w.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.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-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-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-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.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}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{w as gux_form_field_text_like}
1
+ import{r as e,f as t,h as o,a as i}from"./p-Dz_2h4jr.js";import{c as r,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-0yc9CKxX.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as p}from"./p-JPhxXbs4.js";import{G as d,a as h}from"./p-C-1lAIfW.js";import{h as g,s as c,c as x,g as m,v as b,a as v}from"./p-DHLxhscH.js";import{t as C}from"./p-P-hdUE3M.js";import{f as y}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const k=class{constructor(t){e(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.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-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("div",{role:"status"},o("gux-radial-loading",{context:"input"}))}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"3c62db2addf2fb4d2d5be8dc3e51d4385a618b4c",labelPosition:this.computedLabelPosition},o(d,{key:"997b62cf46227fa695e8a93af07e6f3d3b510680",required:this.required,position:this.computedLabelPosition},o("slot",{key:"1bb7da1969e42ec527c5895e97581308dc25e3e4",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"645502cbb48a7c5127ac0e0575631a30a456bb45",variant:this.indicatorMark,required:this.required}),o("slot",{key:"9b96929ef963b2b965d1c4e0905b914fc56f241f",name:"label-info"})),o("div",{key:"e30f3b623011037ee9fe78c41a8ff178a112470f",class:"gux-input-and-error-container"},o("div",{key:"0f37f77962bcaf5ecdda78a98a9d3d0d2354307a",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"83e415a576eefdc52ea982168b0ba4bb525a2640",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"b5b3e7ed43c62346d62fae820488bbd220f21c78",name:"prefix"}),o("slot",{key:"b863ade92899094495a12faa0cb978e5e82aa629",name:"input"}),this.renderRadialLoading(),o("slot",{key:"7381412da44e249055eb87962e8df615ef8a2f9d",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"43310be87e705154229229ba19587faa4705a1ce",onClick:()=>x(this.input)}))),o(f,{key:"d92e5a18ab41c974eda35a40351e7b93a91bc226",show:this.hasError},o("slot",{key:"698ea30abfd156114594669cbf62aac2f0dc7b14",name:"error"})),o(p,{key:"b9b4a0deefe1c4cdb056fc713fb873577e487636",show:!this.hasError&&this.hasHelp},o("slot",{key:"e710981660c84dda0a1a99b13943f15817175dc6",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.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-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-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-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.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}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{k as gux_form_field_text_like}
@@ -1 +1 @@
1
- import{h as a,r as e,a as i}from"./p-Dz_2h4jr.js";import{t}from"./p-CqFA-9uw.js";import{l as r}from"./p-DxtJDeL9.js";import{b as n}from"./p-DmaAM9UB.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:"f8e4ea5d8b1f49d67cc4094209fee7ce98d3a7d9",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:"3fb3a3d2338a18c2168397fc781d34f223ece0ec",class:"gux-content"},a("slot",{key:"8764a5308014599caad2e59dbaf6d771e6cb67fb",name:"image"},a("span",{key:"4d3a728f9d2a14f95ca5c4b77e2fdad1e743b006",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-Dz_2h4jr.js";import{t}from"./p-P-hdUE3M.js";import{l as r}from"./p-DxtJDeL9.js";import{b as n}from"./p-DmaAM9UB.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:"f8e4ea5d8b1f49d67cc4094209fee7ce98d3a7d9",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:"3fb3a3d2338a18c2168397fc781d34f223ece0ec",class:"gux-content"},a("slot",{key:"8764a5308014599caad2e59dbaf6d771e6cb67fb",name:"image"},a("span",{key:"4d3a728f9d2a14f95ca5c4b77e2fdad1e743b006",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 +1 @@
1
- import{r as e,h as n,a}from"./p-Dz_2h4jr.js";import{t}from"./p-CqFA-9uw.js";import{O as i}from"./p-0yc9CKxX.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"1972904b2ed5339269cdc36567d15e653117a374",class:"gux-container"},n("div",{key:"833a2f5229bdb45bb6805f3bfe1feafba7fabd7c",class:"gux-image"},n("slot",{key:"452887ee580c168993a3daba42219fad0aa16d4f",name:"image"})),n("div",{key:"eb4600de623ba6958621a054ce4fbd46aa56889b",class:"gux-message"},n("slot",{key:"0a08f39a647d7a4cd2845b87034ecd38fbd99730",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
1
+ import{r as e,h as n,a}from"./p-Dz_2h4jr.js";import{t}from"./p-P-hdUE3M.js";import{O as i}from"./p-0yc9CKxX.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"029f0c6dfffc6396393ce69af30f4e426b8534d5",class:"gux-container"},n("div",{key:"67e6a1625a80432a3dcb7b73d904b022c2728c20",class:"gux-image"},n("slot",{key:"249b5e49bc3c176e88c5d4acd4268c75e3bea6be",name:"image"})),n("div",{key:"d81484ecb3e482caa1de9d35e30c7914051bef17",class:"gux-message"},n("slot",{key:"a59823e9f73c58dde4a8ffa4ee358cf139fc6297",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
@@ -1 +1 @@
1
- import{r as e,c as a,h as t,a as i}from"./p-Dz_2h4jr.js";import{b as n}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var g={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} items per page selected"};const o=class{constructor(t){e(this,t),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25,this.disabled=!1}handleChange(e){e.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,g)}getDropdown(){return t("gux-dropdown",{ref:e=>this.dropdownElement=e,value:`${this.itemsPerPage}`,disabled:this.disabled,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},t("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},t("gux-option",{value:"25"},"25"),t("gux-option",{value:"50"},"50"),t("gux-option",{value:"75"},"75"),t("gux-option",{value:"100"},"100")))}render(){return t("div",{key:"80dcedb35dd8c278be9f3d5b366e1b4cbbda129e",class:"gux-pagination-items-per-page-container"},t("div",{key:"b765c7a0a6db206b885d5da79311b0bb60f0cf01",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),t("div",{key:"2ace8387a04bd63b4729ebae07a16bcb3f96036e",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};o.style="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;inline-size:fit-content}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{inset-block-end:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{o as gux_pagination_items_per_page}
1
+ import{r as e,c as a,h as t,a as i}from"./p-Dz_2h4jr.js";import{b as n}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var g={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} items per page selected"};const o=class{constructor(t){e(this,t),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25,this.disabled=!1}handleChange(e){e.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,g)}getDropdown(){return t("gux-dropdown",{ref:e=>this.dropdownElement=e,value:`${this.itemsPerPage}`,disabled:this.disabled,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},t("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},t("gux-option",{value:"25"},"25"),t("gux-option",{value:"50"},"50"),t("gux-option",{value:"75"},"75"),t("gux-option",{value:"100"},"100")))}render(){return t("div",{key:"a6edf0d3128175ffe338c19317203dd894de0b47",class:"gux-pagination-items-per-page-container"},t("div",{key:"472e638a40eda62abbb2e92ffff0178d67e0f3cc",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),t("div",{key:"84f960fc98d9df106ad7d0256ed96c957e4f7ec6",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};o.style="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;inline-size:fit-content}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{inset-block-end:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{o as gux_pagination_items_per_page}
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as s,a as o}from"./p-Dz_2h4jr.js";import{O as n}from"./p-Ct81NxWr.js";import{b as a}from"./p-DmaAM9UB.js";import{s as r}from"./p-BMRf5pjV.js";import{o as l,c as u}from"./p-Cb3FOYGS.js";import{b as d}from"./p-Bg4q97BS.js";import{t as g}from"./p-CqFA-9uw.js";import{O as c}from"./p-0yc9CKxX.js";import{s as h,b as p}from"./p-zrBw_m7x.js";import{h as x}from"./p-qzV3vtOw.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var f={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},v=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const b=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.disabled=!1,this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&d((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await a(this.root,f),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(x(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0,"gux-disabled":this.disabled},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"effe6593222d52242ed092025ecd4ee4a2ad8d77",expanded:this.expanded,disabled:this.disabled,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};v([n({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),v([c({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;max-inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{b as gux_inline_dropdown_beta}
1
+ import{r as t,c as e,f as i,h as s,a as o}from"./p-Dz_2h4jr.js";import{O as n}from"./p-Ct81NxWr.js";import{b as a}from"./p-DmaAM9UB.js";import{s as r}from"./p-BMRf5pjV.js";import{o as l,c as u}from"./p-Cb3FOYGS.js";import{b as d}from"./p-Bg4q97BS.js";import{t as g}from"./p-P-hdUE3M.js";import{O as c}from"./p-0yc9CKxX.js";import{s as h,b as p}from"./p-zrBw_m7x.js";import{h as x}from"./p-qzV3vtOw.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var f={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},v=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const b=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.disabled=!1,this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&d((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await a(this.root,f),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(x(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0,"gux-disabled":this.disabled},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"effe6593222d52242ed092025ecd4ee4a2ad8d77",expanded:this.expanded,disabled:this.disabled,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};v([n({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),v([c({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;max-inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{b as gux_inline_dropdown_beta}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,a as i}from"./p-Dz_2h4jr.js";import{b as a}from"./p-DmaAM9UB.js";import{r}from"./p-D9jKBqIb.js";import{t as o}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const c=class{constructor(s){e(this,s),this.internalrowselectchange=t(this,"internalrowselectchange",7),this.id=r("gux-row-select"),this.selected=!1}onCheck(e){e.stopPropagation(),this.selected=this.inputElement.checked,this.internalrowselectchange.emit(this.inputElement.checked)}async componentWillLoad(){this.i18n=await a(this.root,o,"gux-table")}render(){return s("gux-form-field-checkbox",{key:"16ce8ee0704b7147d8448439648cbba2eafe0e7b","label-position":"screenreader"},s("input",{key:"741877496fdc826c6474936382f6a76cf2370dd5",ref:e=>this.inputElement=e,class:this.selected?"gux-safari-bug-workaround-1":"gux-safari-bug-workaround-2",slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),s("label",{key:"b7cf1bcaf2aff25f1204b08767413c9fa97acf93",slot:"label",htmlFor:this.id},"​",s("span",{key:"7e17c676b2368dba54f09301eb56c099781e2e58"},this.label?this.label:this.i18n("selectTableRow"))))}get root(){return i(this)}};c.style=":host{display:flex;flex-direction:row;justify-content:center}input.gux-safari-bug-workaround-1,input.gux-safari-bug-workaround-2{animation:repaint 1ms}@keyframes repaint{from{inline-size:99.999%}to{inline-size:100%}}";export{c as gux_row_select}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,a as i}from"./p-Dz_2h4jr.js";import{O as a}from"./p-Ct81NxWr.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-CqFA-9uw.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:"9335022666f4bf62554b07c71ecc6033b72ec51b",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"f30a437da78d6c15baf849ddc881522817cf837c",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"9110eaee7a7f9f17956219f021981276245a2a5a",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"8307b6bf45eebc6cdf82cdcfdb305f8e969dc577",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:"e076a5c0a56a09b4defa331d5a28b6e6fd0fb290",name:"title"}),s("gux-icon",{key:"a0293fd96c998a280a4bfa598c2db61c340afe1f",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"10449da16b04469d7689cee9b9ad51222876fa50",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"f63a7d5f11e4cd77e0fff571da7c71c94f26d176",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"98e3e87d640ee321b8f6ce378c817f5872a42ee9"}))));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-Dz_2h4jr.js";import{O as a}from"./p-Ct81NxWr.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-P-hdUE3M.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:"0fe548008674fb471b4649a1cdf9d40e2199509b",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"c135a999850eb1a8979006c68e93db2084b92726",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"97deeb0b96dd9475d3ed60a5e7b8c58a39fca924",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"8f44a4bd2467c39c40a9974fd71940b36713d74c",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:"93627529753698fad726e17b31e9c08acbe432a4",name:"title"}),s("gux-icon",{key:"dcc4e9f1cc0b881c530022faa07b579cc9a0cfa3",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"e2555a57679a2eb6e0dedcc20d265064ba55a3a0",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"d982c02c29f7a2f147dbbca9d0ca8bd414ee6874",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"bc6da95f60f3cba8bb9d8161c9208c67aada56ad"}))));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}