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
@@ -0,0 +1,313 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-Bfx8AGPj.js');
4
+ var whenEventIsFrom = require('./when-event-is-from-C6TjNoqM.js');
5
+
6
+ function getTree(node) {
7
+ return node.closest('gux-tree-multi-beta');
8
+ }
9
+ // Utility functions for node type checking
10
+ function isNode(item) {
11
+ const nodeTypes = ['GUX-LEAF-MULTI', 'GUX-BRANCH-MULTI'];
12
+ return nodeTypes.includes(item.tagName);
13
+ }
14
+ function isBranchNode(item) {
15
+ return item.tagName === 'GUX-BRANCH-MULTI';
16
+ }
17
+ function isLeafNode(item) {
18
+ return item.tagName === 'GUX-LEAF-MULTI';
19
+ }
20
+ function isOpenBranchNode(item) {
21
+ if (item.tagName === 'GUX-BRANCH-MULTI') {
22
+ return item.expanded;
23
+ }
24
+ return false;
25
+ }
26
+ function hasActiveNode(tree) {
27
+ return Boolean(getActiveNode(tree));
28
+ }
29
+ // Core tree traversal functions
30
+ function getAllTreeNodes(tree) {
31
+ const nodes = [];
32
+ function getNodes(element) {
33
+ for (const child of Array.from(element.children)) {
34
+ if (isNode(child)) {
35
+ nodes.push(child);
36
+ }
37
+ if (isBranchNode(child)) {
38
+ getNodes(child);
39
+ }
40
+ }
41
+ }
42
+ getNodes(tree);
43
+ return nodes;
44
+ }
45
+ function getAllTreeLeafNodes(tree) {
46
+ const nodes = [];
47
+ function getNodes(element) {
48
+ for (const child of Array.from(element.children)) {
49
+ if (isLeafNode(child)) {
50
+ nodes.push(child);
51
+ }
52
+ if (isBranchNode(child)) {
53
+ getNodes(child);
54
+ }
55
+ }
56
+ }
57
+ getNodes(tree);
58
+ return nodes;
59
+ }
60
+ function getTreeNodes(tree) {
61
+ const nodes = [];
62
+ function getNodes(element) {
63
+ for (const child of Array.from(element.children)) {
64
+ if (isNode(child)) {
65
+ nodes.push(child);
66
+ }
67
+ if (isOpenBranchNode(child)) {
68
+ getNodes(child);
69
+ }
70
+ }
71
+ }
72
+ getNodes(tree);
73
+ return nodes;
74
+ }
75
+ function getAvailableTreeNodes(tree) {
76
+ const availableTreeNodes = getTreeNodes(tree).filter(node => {
77
+ return !node.disabled && !node.filtered;
78
+ });
79
+ return availableTreeNodes;
80
+ }
81
+ // Node getter functions
82
+ function getActiveNode(tree) {
83
+ return getTreeNodes(tree).find(node => node.active);
84
+ }
85
+ function getFirstSelectedNode(tree) {
86
+ return getTreeNodes(tree).find(node => node.selected && !node.disabled && !node.filtered);
87
+ }
88
+ function getFirstNode(tree) {
89
+ return getAvailableTreeNodes(tree)[0];
90
+ }
91
+ function getLastNode(tree) {
92
+ const availableNodes = getAvailableTreeNodes(tree);
93
+ return availableNodes[availableNodes.length - 1];
94
+ }
95
+ function getNextNode(tree) {
96
+ if (hasActiveNode(tree) && getActiveNode(tree) !== getLastNode(tree)) {
97
+ const availableTreeNodes = getAvailableTreeNodes(tree);
98
+ const activeNode = getActiveNode(tree);
99
+ const activeNodeIndex = availableTreeNodes.indexOf(activeNode);
100
+ return availableTreeNodes[activeNodeIndex + 1];
101
+ }
102
+ return getFirstNode(tree);
103
+ }
104
+ function getPreviousNode(tree) {
105
+ if (hasActiveNode(tree)) {
106
+ const availableNodesList = getAvailableTreeNodes(tree);
107
+ const activeNodeIndex = availableNodesList.indexOf(getActiveNode(tree));
108
+ if (getActiveNode(tree) === getFirstNode(tree)) {
109
+ return getLastNode(tree);
110
+ }
111
+ return availableNodesList[activeNodeIndex - 1];
112
+ }
113
+ return getFirstNode(tree);
114
+ }
115
+ // Core setter functions
116
+ function setActiveNode(tree, element) {
117
+ if (tree.disabled) {
118
+ clearActiveNode(tree);
119
+ return;
120
+ }
121
+ if (element) {
122
+ getTreeNodes(tree).forEach(node => {
123
+ const active = !node.disabled && !node.filtered && node === element;
124
+ node.active = active;
125
+ if (active) {
126
+ tree.setAttribute('aria-activedescendant', node.id);
127
+ }
128
+ });
129
+ element.scrollIntoView({ block: 'nearest' });
130
+ }
131
+ }
132
+ function clearActiveNode(tree) {
133
+ getAllTreeNodes(tree).forEach(node => {
134
+ node.active = false;
135
+ });
136
+ tree.removeAttribute('aria-activedescendant');
137
+ }
138
+ function expandAllParents(element) {
139
+ let parent = element.parentElement.closest('gux-branch-multi');
140
+ while (parent) {
141
+ parent.expanded = true;
142
+ parent = parent.parentElement.closest('gux-branch-multi');
143
+ }
144
+ }
145
+ function updateBranchState(branch) {
146
+ const childNodes = getAllTreeLeafNodes(branch);
147
+ const selectedChildren = childNodes.filter(child => child.selected);
148
+ if (selectedChildren.length === 0) {
149
+ branch.selected = false;
150
+ branch.indeterminate = false;
151
+ }
152
+ else if (selectedChildren.length === childNodes.length) {
153
+ branch.selected = true;
154
+ branch.indeterminate = false;
155
+ }
156
+ else {
157
+ branch.selected = false;
158
+ branch.indeterminate = true;
159
+ }
160
+ }
161
+ function updateDescendants(node, selected) {
162
+ for (const child of Array.from(node.children)) {
163
+ if (isNode(child)) {
164
+ const childNode = child;
165
+ if (!childNode.disabled && !childNode.filtered) {
166
+ childNode.selected = selected;
167
+ childNode.indeterminate = false;
168
+ }
169
+ }
170
+ if (isBranchNode(child)) {
171
+ updateDescendants(child, selected);
172
+ }
173
+ }
174
+ }
175
+ function updateParentStates(node) {
176
+ let parent = node.parentElement.closest('gux-branch-multi');
177
+ while (parent) {
178
+ updateBranchState(parent);
179
+ parent = parent.parentElement.closest('gux-branch-multi');
180
+ }
181
+ }
182
+ function updateTreeValue(tree) {
183
+ const selectedNodes = getAllTreeNodes(tree).filter(node => node.selected && node.value);
184
+ tree.value = selectedNodes.map(node => node.value).join(',');
185
+ }
186
+ // Public API - Active node management
187
+ function setInitialActiveNode(tree) {
188
+ setActiveNode(tree, getFirstSelectedNode(tree) || getFirstNode(tree));
189
+ }
190
+ function setFirstNodeActive(tree) {
191
+ setActiveNode(tree, getFirstNode(tree));
192
+ }
193
+ function setLastNodeActive(tree) {
194
+ setActiveNode(tree, getLastNode(tree));
195
+ }
196
+ function setNextNodeActive(tree) {
197
+ setActiveNode(tree, getNextNode(tree));
198
+ }
199
+ function setPreviousNodeActive(tree) {
200
+ setActiveNode(tree, getPreviousNode(tree));
201
+ }
202
+ function setParentNodeActive(tree) {
203
+ const activeNode = getActiveNode(tree);
204
+ const parentNode = activeNode.parentElement.closest('gux-branch-multi');
205
+ setActiveNode(tree, parentNode);
206
+ }
207
+ function setChildNodeActive(tree, branch) {
208
+ const targetBranch = getActiveNode(tree);
209
+ const availableNodes = getAvailableTreeNodes(tree).filter(node => {
210
+ return targetBranch.contains(node);
211
+ });
212
+ if (availableNodes[0]) {
213
+ setActiveNode(tree, availableNodes[0]);
214
+ }
215
+ }
216
+ function hasChildSelected(branch) {
217
+ return getAllTreeNodes(branch).some(node => node.selected);
218
+ }
219
+ function hasParentDisabled(node) {
220
+ let parent = node.parentElement.closest('gux-branch-multi, gux-tree-multi-beta, fieldset');
221
+ while (parent) {
222
+ if (parent.disabled) {
223
+ return true;
224
+ }
225
+ parent = parent.parentElement.closest('gux-branch-multi, gux-tree-multi-beta, fieldset');
226
+ }
227
+ return false;
228
+ }
229
+ function forceUpdateTree(tree) {
230
+ getAllTreeNodes(tree).forEach(node => {
231
+ index.forceUpdate(node);
232
+ });
233
+ }
234
+ function toggleNodeSelection(tree, element) {
235
+ const newSelected = !element.selected;
236
+ element.selected = newSelected;
237
+ element.indeterminate = false;
238
+ // If it's a branch, update all descendants
239
+ if (isBranchNode(element)) {
240
+ updateDescendants(element, newSelected);
241
+ }
242
+ // Update parent states
243
+ updateParentStates(element);
244
+ updateTreeValue(tree);
245
+ element.scrollIntoView({ block: 'nearest' });
246
+ }
247
+ function setSelectedNodesByValue(tree, value) {
248
+ const values = value.split(',').map(v => v.trim());
249
+ const allNodes = getAllTreeNodes(tree);
250
+ allNodes.forEach(node => {
251
+ node.selected = values.includes(node.value);
252
+ node.indeterminate = false;
253
+ });
254
+ // Update branch states
255
+ allNodes
256
+ .filter(node => isBranchNode(node))
257
+ .forEach(branch => {
258
+ updateBranchState(branch);
259
+ });
260
+ }
261
+ function setInitialSelectedNodesByValue(tree, value) {
262
+ setSelectedNodesByValue(tree, value);
263
+ expandSelectedNodes(tree);
264
+ }
265
+ function expandSelectedNodes(tree) {
266
+ const allNodes = getAllTreeNodes(tree);
267
+ allNodes.forEach(node => {
268
+ if (node.selected) {
269
+ expandAllParents(node);
270
+ }
271
+ });
272
+ }
273
+ function getTreeSize(node) {
274
+ var _a;
275
+ return (_a = getTree(node)) === null || _a === void 0 ? void 0 : _a.size;
276
+ }
277
+ function getTreeAlignment(node) {
278
+ var _a;
279
+ return (_a = getTree(node)) === null || _a === void 0 ? void 0 : _a.alignment;
280
+ }
281
+ // Public API - Event handling
282
+ function handleTreeNodeSpecificEvent({ event, onLeaf, onBranch }) {
283
+ let eventFromLeaf = false;
284
+ whenEventIsFrom.whenEventIsFrom('gux-leaf-multi', event, (leaf) => {
285
+ if (leaf.value) {
286
+ onLeaf(leaf);
287
+ eventFromLeaf = true;
288
+ }
289
+ });
290
+ if (!eventFromLeaf) {
291
+ whenEventIsFrom.whenEventIsFrom('gux-branch-multi', event, (branch) => {
292
+ onBranch(branch);
293
+ });
294
+ }
295
+ }
296
+
297
+ exports.clearActiveNode = clearActiveNode;
298
+ exports.forceUpdateTree = forceUpdateTree;
299
+ exports.getTreeAlignment = getTreeAlignment;
300
+ exports.getTreeSize = getTreeSize;
301
+ exports.handleTreeNodeSpecificEvent = handleTreeNodeSpecificEvent;
302
+ exports.hasChildSelected = hasChildSelected;
303
+ exports.hasParentDisabled = hasParentDisabled;
304
+ exports.setChildNodeActive = setChildNodeActive;
305
+ exports.setFirstNodeActive = setFirstNodeActive;
306
+ exports.setInitialActiveNode = setInitialActiveNode;
307
+ exports.setInitialSelectedNodesByValue = setInitialSelectedNodesByValue;
308
+ exports.setLastNodeActive = setLastNodeActive;
309
+ exports.setNextNodeActive = setNextNodeActive;
310
+ exports.setParentNodeActive = setParentNodeActive;
311
+ exports.setPreviousNodeActive = setPreviousNodeActive;
312
+ exports.setSelectedNodesByValue = setSelectedNodesByValue;
313
+ exports.toggleNodeSelection = toggleNodeSelection;
@@ -0,0 +1,240 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-Bfx8AGPj.js');
4
+ var whenEventIsFrom = require('./when-event-is-from-C6TjNoqM.js');
5
+
6
+ function getTree(node) {
7
+ return node.closest('gux-tree-beta');
8
+ }
9
+ // Utility functions for node type checking
10
+ function isNode(item) {
11
+ const nodeTypes = ['GUX-LEAF', 'GUX-BRANCH'];
12
+ return nodeTypes.includes(item.tagName);
13
+ }
14
+ function isBranchNode(item) {
15
+ return item.tagName === 'GUX-BRANCH';
16
+ }
17
+ function isOpenBranchNode(item) {
18
+ if (item.tagName === 'GUX-BRANCH') {
19
+ return item.expanded;
20
+ }
21
+ return false;
22
+ }
23
+ function hasActiveNode(tree) {
24
+ return Boolean(getActiveNode(tree));
25
+ }
26
+ // Core tree traversal functions
27
+ function getAllTreeNodes(tree) {
28
+ const nodes = [];
29
+ function getNodes(element) {
30
+ for (const child of Array.from(element.children)) {
31
+ if (isNode(child)) {
32
+ nodes.push(child);
33
+ }
34
+ if (isBranchNode(child)) {
35
+ getNodes(child);
36
+ }
37
+ }
38
+ }
39
+ getNodes(tree);
40
+ return nodes;
41
+ }
42
+ function getTreeNodes(tree) {
43
+ const nodes = [];
44
+ function getNodes(element) {
45
+ for (const child of Array.from(element.children)) {
46
+ if (isNode(child)) {
47
+ nodes.push(child);
48
+ }
49
+ if (isOpenBranchNode(child)) {
50
+ getNodes(child);
51
+ }
52
+ }
53
+ }
54
+ getNodes(tree);
55
+ return nodes;
56
+ }
57
+ function getAvailableTreeNodes(tree) {
58
+ const availableTreeNodes = getTreeNodes(tree).filter(node => {
59
+ return !node.disabled && !node.filtered;
60
+ });
61
+ return availableTreeNodes;
62
+ }
63
+ // Node getter functions
64
+ function getActiveNode(tree) {
65
+ return getTreeNodes(tree).find(node => node.active);
66
+ }
67
+ function getFirstSelectedNode(tree) {
68
+ return getTreeNodes(tree).find(node => node.selected && !node.disabled && !node.filtered);
69
+ }
70
+ function getFirstNode(tree) {
71
+ return getAvailableTreeNodes(tree)[0];
72
+ }
73
+ function getLastNode(tree) {
74
+ const availableNodes = getAvailableTreeNodes(tree);
75
+ return availableNodes[availableNodes.length - 1];
76
+ }
77
+ function getNextNode(tree) {
78
+ if (hasActiveNode(tree) && getActiveNode(tree) !== getLastNode(tree)) {
79
+ const availableTreeNodes = getAvailableTreeNodes(tree);
80
+ const activeNode = getActiveNode(tree);
81
+ const activeNodeIndex = availableTreeNodes.indexOf(activeNode);
82
+ return availableTreeNodes[activeNodeIndex + 1];
83
+ }
84
+ return getFirstNode(tree);
85
+ }
86
+ function getPreviousNode(tree) {
87
+ if (hasActiveNode(tree)) {
88
+ const availableNodesList = getAvailableTreeNodes(tree);
89
+ const activeNodeIndex = availableNodesList.indexOf(getActiveNode(tree));
90
+ if (getActiveNode(tree) === getFirstNode(tree)) {
91
+ return getLastNode(tree);
92
+ }
93
+ return availableNodesList[activeNodeIndex - 1];
94
+ }
95
+ return getFirstNode(tree);
96
+ }
97
+ function getNodeByValue(tree, value) {
98
+ return getAllTreeNodes(tree).find(node => node.value === value);
99
+ }
100
+ // Core setter functions
101
+ function setActiveNode(tree, element) {
102
+ if (tree.disabled) {
103
+ clearActiveNode(tree);
104
+ return;
105
+ }
106
+ if (element) {
107
+ getTreeNodes(tree).forEach(node => {
108
+ const active = !node.disabled && !node.filtered && node === element;
109
+ node.active = active;
110
+ if (active) {
111
+ tree.setAttribute('aria-activedescendant', node.id);
112
+ }
113
+ });
114
+ element.scrollIntoView({ block: 'nearest' });
115
+ }
116
+ }
117
+ function clearActiveNode(tree) {
118
+ getAllTreeNodes(tree).forEach(node => {
119
+ node.active = false;
120
+ });
121
+ tree.removeAttribute('aria-activedescendant');
122
+ }
123
+ function expandAllParents(element) {
124
+ let parent = element.parentElement.closest('gux-branch');
125
+ while (parent) {
126
+ parent.expanded = true;
127
+ parent = parent.parentElement.closest('gux-branch');
128
+ }
129
+ }
130
+ function setNoSelection(tree) {
131
+ getAllTreeNodes(tree).forEach(node => {
132
+ node.selected = false;
133
+ });
134
+ }
135
+ // Public API - Active node management
136
+ function setInitialActiveNode(tree) {
137
+ setActiveNode(tree, getFirstSelectedNode(tree) || getFirstNode(tree));
138
+ }
139
+ function setFirstNodeActive(tree) {
140
+ setActiveNode(tree, getFirstNode(tree));
141
+ }
142
+ function setLastNodeActive(tree) {
143
+ setActiveNode(tree, getLastNode(tree));
144
+ }
145
+ function setNextNodeActive(tree) {
146
+ setActiveNode(tree, getNextNode(tree));
147
+ }
148
+ function setPreviousNodeActive(tree) {
149
+ setActiveNode(tree, getPreviousNode(tree));
150
+ }
151
+ function setParentNodeActive(tree) {
152
+ const activeNode = getActiveNode(tree);
153
+ const parentNode = activeNode.parentElement.closest('gux-branch');
154
+ setActiveNode(tree, parentNode);
155
+ }
156
+ function setChildNodeActive(tree, branch) {
157
+ const node = getActiveNode(branch);
158
+ const availableNodes = getAvailableTreeNodes(node);
159
+ if (availableNodes[0]) {
160
+ setActiveNode(tree, availableNodes[0]);
161
+ }
162
+ }
163
+ // Public API - Selection management
164
+ function setSelectedNode(tree, element) {
165
+ if (element === null || element === void 0 ? void 0 : element.value) {
166
+ getAllTreeNodes(tree).forEach(node => {
167
+ node.selected = node === element;
168
+ });
169
+ tree.value = element.value;
170
+ element.scrollIntoView({ block: 'nearest' });
171
+ }
172
+ }
173
+ function setSelectedNodeByValue(tree, value) {
174
+ const element = getNodeByValue(tree, value);
175
+ if (element) {
176
+ expandAllParents(element);
177
+ setSelectedNode(tree, element);
178
+ }
179
+ else {
180
+ setNoSelection(tree);
181
+ }
182
+ }
183
+ function hasChildSelected(branch) {
184
+ return getAllTreeNodes(branch).some(node => node.selected);
185
+ }
186
+ function hasParentDisabled(node) {
187
+ let parent = node.parentElement.closest('gux-branch, gux-tree-beta, fieldset');
188
+ while (parent) {
189
+ if (parent.disabled) {
190
+ return true;
191
+ }
192
+ parent = parent.parentElement.closest('gux-branch, gux-tree-beta, fieldset');
193
+ }
194
+ return false;
195
+ }
196
+ function forceUpdateTree(tree) {
197
+ getAllTreeNodes(tree).forEach(node => {
198
+ index.forceUpdate(node);
199
+ });
200
+ }
201
+ function getTreeSize(node) {
202
+ var _a;
203
+ return (_a = getTree(node)) === null || _a === void 0 ? void 0 : _a.size;
204
+ }
205
+ function getTreeAlignment(node) {
206
+ var _a;
207
+ return (_a = getTree(node)) === null || _a === void 0 ? void 0 : _a.alignment;
208
+ }
209
+ // Public API - Event handling
210
+ function handleTreeNodeSpecificEvent({ event, onLeaf, onBranch }) {
211
+ let eventFromLeaf = false;
212
+ whenEventIsFrom.whenEventIsFrom('gux-leaf', event, (leaf) => {
213
+ if (leaf.value) {
214
+ onLeaf(leaf);
215
+ eventFromLeaf = true;
216
+ }
217
+ });
218
+ if (!eventFromLeaf) {
219
+ whenEventIsFrom.whenEventIsFrom('gux-branch', event, (branch) => {
220
+ onBranch(branch);
221
+ });
222
+ }
223
+ }
224
+
225
+ exports.clearActiveNode = clearActiveNode;
226
+ exports.forceUpdateTree = forceUpdateTree;
227
+ exports.getTreeAlignment = getTreeAlignment;
228
+ exports.getTreeSize = getTreeSize;
229
+ exports.handleTreeNodeSpecificEvent = handleTreeNodeSpecificEvent;
230
+ exports.hasChildSelected = hasChildSelected;
231
+ exports.hasParentDisabled = hasParentDisabled;
232
+ exports.setChildNodeActive = setChildNodeActive;
233
+ exports.setFirstNodeActive = setFirstNodeActive;
234
+ exports.setInitialActiveNode = setInitialActiveNode;
235
+ exports.setLastNodeActive = setLastNodeActive;
236
+ exports.setNextNodeActive = setNextNodeActive;
237
+ exports.setParentNodeActive = setParentNodeActive;
238
+ exports.setPreviousNodeActive = setPreviousNodeActive;
239
+ exports.setSelectedNode = setSelectedNode;
240
+ exports.setSelectedNodeByValue = setSelectedNodeByValue;
@@ -150,6 +150,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
150
150
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
151
151
  /* webpackMode: "lazy" */
152
152
  './gux-blank-state-beta.cjs.entry.js')); }).then(processMod, consoleError);
153
+ case 'gux-branch.cjs':
154
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
155
+ /* webpackMode: "lazy" */
156
+ './gux-branch.cjs.entry.js')); }).then(processMod, consoleError);
157
+ case 'gux-branch-multi.cjs':
158
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
159
+ /* webpackMode: "lazy" */
160
+ './gux-branch-multi.cjs.entry.js')); }).then(processMod, consoleError);
153
161
  case 'gux-breadcrumb-item.cjs':
154
162
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
155
163
  /* webpackMode: "lazy" */
@@ -206,6 +214,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
206
214
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
207
215
  /* webpackMode: "lazy" */
208
216
  './gux-label-info-beta.cjs.entry.js')); }).then(processMod, consoleError);
217
+ case 'gux-leaf.cjs':
218
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
219
+ /* webpackMode: "lazy" */
220
+ './gux-leaf.cjs.entry.js')); }).then(processMod, consoleError);
221
+ case 'gux-leaf-multi.cjs':
222
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
223
+ /* webpackMode: "lazy" */
224
+ './gux-leaf-multi.cjs.entry.js')); }).then(processMod, consoleError);
209
225
  case 'gux-loading-message.cjs':
210
226
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
211
227
  /* webpackMode: "lazy" */
@@ -394,6 +410,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
394
410
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
395
411
  /* webpackMode: "lazy" */
396
412
  './gux-toast.cjs.entry.js')); }).then(processMod, consoleError);
413
+ case 'gux-tree-beta.cjs':
414
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
415
+ /* webpackMode: "lazy" */
416
+ './gux-tree-beta.cjs.entry.js')); }).then(processMod, consoleError);
417
+ case 'gux-tree-multi-beta.cjs':
418
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
419
+ /* webpackMode: "lazy" */
420
+ './gux-tree-multi-beta.cjs.entry.js')); }).then(processMod, consoleError);
397
421
  case 'gux-form-field-search.cjs':
398
422
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
399
423
  /* webpackMode: "lazy" */