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,181 @@
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host, a as getElement } from './index-Dz_2h4jr.js';
2
+ import { t as trackComponent } from './usage-P-hdUE3M.js';
3
+ import { s as simulateNativeEvent } from './simulate-native-event-BMRf5pjV.js';
4
+ import { h as hasParentDisabled, s as setSelectedNodeByValue, f as forceUpdateTree, c as clearActiveNode, d as setInitialActiveNode, e as handleTreeNodeSpecificEvent, i as setLastNodeActive, j as setFirstNodeActive, k as setPreviousNodeActive, l as setNextNodeActive, m as setSelectedNode, n as setParentNodeActive, o as setChildNodeActive } from './gux-tree.service-g_oSRmLT.js';
5
+ import './when-event-is-from-kLXvN2m9.js';
6
+
7
+ const guxTreeCss = ":host{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch;padding:var(--gse-ui-treeView-group-comfy-padding)}:host(.gux-compact){padding:var(--gse-ui-treeView-group-compact-padding)}";
8
+
9
+ const GuxTree = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ if (hostRef.$hostElement$["s-ei"]) {
13
+ this.internals = hostRef.$hostElement$["s-ei"];
14
+ }
15
+ else {
16
+ this.internals = hostRef.$hostElement$.attachInternals();
17
+ hostRef.$hostElement$["s-ei"] = this.internals;
18
+ }
19
+ this._disabled = false;
20
+ this.size = 'comfy';
21
+ this.alignment = 'start';
22
+ }
23
+ get disabled() {
24
+ return this._disabled || hasParentDisabled(this.root);
25
+ }
26
+ set disabled(value) {
27
+ this._disabled = value;
28
+ }
29
+ handleValueChange(newValue, oldValue) {
30
+ var _a;
31
+ if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
32
+ this.internals.setFormValue(newValue);
33
+ }
34
+ setSelectedNodeByValue(this.root, this.value);
35
+ simulateNativeEvent(this.root, 'input');
36
+ if (oldValue !== newValue) {
37
+ simulateNativeEvent(this.root, 'change');
38
+ }
39
+ forceUpdateTree(this.root);
40
+ }
41
+ handleDisabledChange() {
42
+ if (this.disabled) {
43
+ clearActiveNode(this.root);
44
+ }
45
+ else {
46
+ setInitialActiveNode(this.root);
47
+ }
48
+ forceUpdateTree(this.root);
49
+ }
50
+ onClick(event) {
51
+ if (this.disabled) {
52
+ return;
53
+ }
54
+ handleTreeNodeSpecificEvent({
55
+ event,
56
+ onLeaf: leaf => {
57
+ setSelectedNode(this.root, leaf);
58
+ },
59
+ onBranch: branch => {
60
+ branch.expanded = !branch.expanded;
61
+ setSelectedNode(this.root, branch);
62
+ }
63
+ });
64
+ }
65
+ handleKeydown(event) {
66
+ if (this.disabled) {
67
+ return;
68
+ }
69
+ switch (event.key) {
70
+ case 'ArrowDown':
71
+ event.preventDefault();
72
+ setNextNodeActive(this.root);
73
+ break;
74
+ case 'ArrowUp':
75
+ event.preventDefault();
76
+ setPreviousNodeActive(this.root);
77
+ break;
78
+ case 'Home':
79
+ event.preventDefault();
80
+ setFirstNodeActive(this.root);
81
+ break;
82
+ case 'End':
83
+ event.preventDefault();
84
+ setLastNodeActive(this.root);
85
+ break;
86
+ case 'ArrowLeft':
87
+ case 'ArrowRight':
88
+ case 'Enter':
89
+ handleTreeNodeSpecificEvent({
90
+ event,
91
+ onLeaf: leaf => {
92
+ switch (event.key) {
93
+ case 'ArrowLeft':
94
+ event.preventDefault();
95
+ setParentNodeActive(this.root);
96
+ break;
97
+ case 'Enter':
98
+ event.preventDefault();
99
+ setSelectedNode(this.root, leaf);
100
+ break;
101
+ }
102
+ },
103
+ onBranch: branch => {
104
+ switch (event.key) {
105
+ case 'ArrowRight':
106
+ event.preventDefault();
107
+ if (!branch.expanded) {
108
+ branch.expanded = true;
109
+ }
110
+ else {
111
+ setChildNodeActive(this.root, branch);
112
+ }
113
+ break;
114
+ case 'ArrowLeft':
115
+ event.preventDefault();
116
+ if (branch.expanded) {
117
+ branch.expanded = false;
118
+ }
119
+ else {
120
+ setParentNodeActive(this.root);
121
+ }
122
+ break;
123
+ case 'Enter':
124
+ event.preventDefault();
125
+ setSelectedNode(this.root, branch);
126
+ break;
127
+ }
128
+ }
129
+ });
130
+ break;
131
+ default:
132
+ return;
133
+ }
134
+ }
135
+ formAssociatedCallback(form) {
136
+ console.info('Form associated:', form);
137
+ }
138
+ formDisabledCallback() {
139
+ forceUpdateTree(this.root);
140
+ }
141
+ formResetCallback() {
142
+ this.value = '';
143
+ }
144
+ formStateRestoreCallback(state
145
+ // mode: 'restore' | 'autocomplete' // eslint-disable-line @typescript-eslint/no-unused-vars
146
+ ) {
147
+ this.value = state;
148
+ }
149
+ componentWillLoad() {
150
+ var _a;
151
+ trackComponent(this.root);
152
+ this.internals.role = 'tree';
153
+ this.root.setAttribute('role', 'tree');
154
+ if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
155
+ this.internals.setFormValue(this.value);
156
+ }
157
+ setSelectedNodeByValue(this.root, this.value);
158
+ setInitialActiveNode(this.root);
159
+ }
160
+ componentDidLoad() {
161
+ this.handleDisabledChange();
162
+ }
163
+ onDefaultSlotchange() {
164
+ forceUpdate(this.root);
165
+ }
166
+ render() {
167
+ return (h(Host, { key: 'd68d924fb23d1120d753fc26001201709f9b417d', class: {
168
+ 'gux-compact': this.size === 'compact',
169
+ 'gux-end': this.alignment === 'end'
170
+ }, "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", { key: 'f4f7c959b771c0079fbd1b73fc11085db4929d40', onSlotchange: () => this.onDefaultSlotchange() })));
171
+ }
172
+ static get formAssociated() { return true; }
173
+ get root() { return getElement(this); }
174
+ static get watchers() { return {
175
+ "value": ["handleValueChange"],
176
+ "disabled": ["handleDisabledChange"]
177
+ }; }
178
+ };
179
+ GuxTree.style = guxTreeCss;
180
+
181
+ export { GuxTree as gux_tree_beta };
@@ -0,0 +1,202 @@
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host, a as getElement } from './index-Dz_2h4jr.js';
2
+ import { t as trackComponent } from './usage-P-hdUE3M.js';
3
+ import { s as simulateNativeEvent } from './simulate-native-event-BMRf5pjV.js';
4
+ import { h as hasParentDisabled, s as setSelectedNodesByValue, f as forceUpdateTree, c as clearActiveNode, d as setInitialActiveNode, e as handleTreeNodeSpecificEvent, i as setLastNodeActive, j as setFirstNodeActive, k as setPreviousNodeActive, l as setNextNodeActive, m as setInitialSelectedNodesByValue, t as toggleNodeSelection, n as setParentNodeActive, o as setChildNodeActive } from './gux-tree-multi.service-rN4u4zJA.js';
5
+ import './when-event-is-from-kLXvN2m9.js';
6
+
7
+ const guxTreeMultiCss = ":host{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch;padding:var(--gse-ui-treeView-group-comfy-padding)}:host(.gux-compact){padding:var(--gse-ui-treeView-group-compact-padding)}";
8
+
9
+ const GuxTreeMulti = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ if (hostRef.$hostElement$["s-ei"]) {
13
+ this.internals = hostRef.$hostElement$["s-ei"];
14
+ }
15
+ else {
16
+ this.internals = hostRef.$hostElement$.attachInternals();
17
+ hostRef.$hostElement$["s-ei"] = this.internals;
18
+ }
19
+ this.value = '';
20
+ this._disabled = false;
21
+ this.size = 'comfy';
22
+ this.alignment = 'start';
23
+ }
24
+ get disabled() {
25
+ return this._disabled || hasParentDisabled(this.root);
26
+ }
27
+ set disabled(value) {
28
+ this._disabled = value;
29
+ }
30
+ handleValueChange(newValue, oldValue) {
31
+ var _a;
32
+ if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
33
+ this.internals.setFormValue(newValue);
34
+ }
35
+ setSelectedNodesByValue(this.root, this.value);
36
+ simulateNativeEvent(this.root, 'input');
37
+ if (oldValue !== newValue) {
38
+ simulateNativeEvent(this.root, 'change');
39
+ }
40
+ forceUpdateTree(this.root);
41
+ }
42
+ handleDisabledChange() {
43
+ if (this.disabled) {
44
+ clearActiveNode(this.root);
45
+ }
46
+ else {
47
+ setInitialActiveNode(this.root);
48
+ }
49
+ forceUpdateTree(this.root);
50
+ }
51
+ onClick(event) {
52
+ if (this.disabled) {
53
+ return;
54
+ }
55
+ handleTreeNodeSpecificEvent({
56
+ event,
57
+ onLeaf: leaf => {
58
+ if (this.isSelectionClick(event)) {
59
+ toggleNodeSelection(this.root, leaf);
60
+ }
61
+ },
62
+ onBranch: branch => {
63
+ if (this.isSelectionClick(event)) {
64
+ toggleNodeSelection(this.root, branch);
65
+ }
66
+ else {
67
+ branch.expanded = !branch.expanded;
68
+ }
69
+ }
70
+ });
71
+ }
72
+ handleKeydown(event) {
73
+ if (this.disabled) {
74
+ return;
75
+ }
76
+ switch (event.key) {
77
+ case 'ArrowDown':
78
+ event.preventDefault();
79
+ setNextNodeActive(this.root);
80
+ break;
81
+ case 'ArrowUp':
82
+ event.preventDefault();
83
+ setPreviousNodeActive(this.root);
84
+ break;
85
+ case 'Home':
86
+ event.preventDefault();
87
+ setFirstNodeActive(this.root);
88
+ break;
89
+ case 'End':
90
+ event.preventDefault();
91
+ setLastNodeActive(this.root);
92
+ break;
93
+ case 'ArrowLeft':
94
+ case 'ArrowRight':
95
+ case 'Enter':
96
+ case ' ':
97
+ handleTreeNodeSpecificEvent({
98
+ event,
99
+ onLeaf: leaf => {
100
+ switch (event.key) {
101
+ case 'ArrowLeft':
102
+ event.preventDefault();
103
+ setParentNodeActive(this.root);
104
+ break;
105
+ case 'Enter':
106
+ case ' ':
107
+ event.preventDefault();
108
+ toggleNodeSelection(this.root, leaf);
109
+ break;
110
+ }
111
+ },
112
+ onBranch: branch => {
113
+ switch (event.key) {
114
+ case 'ArrowRight':
115
+ event.preventDefault();
116
+ if (!branch.expanded) {
117
+ branch.expanded = true;
118
+ }
119
+ else {
120
+ setChildNodeActive(this.root);
121
+ }
122
+ break;
123
+ case 'ArrowLeft':
124
+ event.preventDefault();
125
+ if (branch.expanded) {
126
+ branch.expanded = false;
127
+ }
128
+ else {
129
+ setParentNodeActive(this.root);
130
+ }
131
+ break;
132
+ case 'Enter':
133
+ case ' ':
134
+ event.preventDefault();
135
+ toggleNodeSelection(this.root, branch);
136
+ break;
137
+ }
138
+ }
139
+ });
140
+ break;
141
+ default:
142
+ return;
143
+ }
144
+ }
145
+ formAssociatedCallback(form) {
146
+ console.info('Form associated:', form);
147
+ }
148
+ formDisabledCallback() {
149
+ forceUpdateTree(this.root);
150
+ }
151
+ formResetCallback() {
152
+ this.value = '';
153
+ }
154
+ formStateRestoreCallback(state
155
+ // mode: 'restore' | 'autocomplete' // eslint-disable-line @typescript-eslint/no-unused-vars
156
+ ) {
157
+ this.value = state;
158
+ }
159
+ componentWillLoad() {
160
+ var _a;
161
+ trackComponent(this.root);
162
+ this.internals.role = 'tree';
163
+ this.root.setAttribute('role', 'tree');
164
+ this.internals.ariaMultiSelectable = 'true';
165
+ this.root.setAttribute('aria-multiselectable', 'true');
166
+ if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
167
+ this.internals.setFormValue(this.value);
168
+ }
169
+ setInitialSelectedNodesByValue(this.root, this.value);
170
+ setInitialActiveNode(this.root);
171
+ }
172
+ componentDidLoad() {
173
+ this.handleDisabledChange();
174
+ }
175
+ onDefaultSlotchange() {
176
+ forceUpdate(this.root);
177
+ }
178
+ isSelectionClick(event) {
179
+ const path = event.composedPath();
180
+ const selectTargets = ['gux-selection-target'];
181
+ return path.some(el => {
182
+ const element = el;
183
+ return (element.classList &&
184
+ selectTargets.some(target => element.classList.contains(target)));
185
+ });
186
+ }
187
+ render() {
188
+ return (h(Host, { key: 'de91a0dd243fc74f1c8c7f83121767dbd5f55481', class: {
189
+ 'gux-compact': this.size === 'compact',
190
+ 'gux-end': this.alignment === 'end'
191
+ }, "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", { key: '5d7c3ccf991078b9a51361482c0ab35a278dcf20', onSlotchange: () => this.onDefaultSlotchange() })));
192
+ }
193
+ static get formAssociated() { return true; }
194
+ get root() { return getElement(this); }
195
+ static get watchers() { return {
196
+ "value": ["handleValueChange"],
197
+ "disabled": ["handleDisabledChange"]
198
+ }; }
199
+ };
200
+ GuxTreeMulti.style = guxTreeMultiCss;
201
+
202
+ export { GuxTreeMulti as gux_tree_multi_beta };
@@ -0,0 +1,295 @@
1
+ import { f as forceUpdate } from './index-Dz_2h4jr.js';
2
+ import { w as whenEventIsFrom } from './when-event-is-from-kLXvN2m9.js';
3
+
4
+ function getTree(node) {
5
+ return node.closest('gux-tree-multi-beta');
6
+ }
7
+ // Utility functions for node type checking
8
+ function isNode(item) {
9
+ const nodeTypes = ['GUX-LEAF-MULTI', 'GUX-BRANCH-MULTI'];
10
+ return nodeTypes.includes(item.tagName);
11
+ }
12
+ function isBranchNode(item) {
13
+ return item.tagName === 'GUX-BRANCH-MULTI';
14
+ }
15
+ function isLeafNode(item) {
16
+ return item.tagName === 'GUX-LEAF-MULTI';
17
+ }
18
+ function isOpenBranchNode(item) {
19
+ if (item.tagName === 'GUX-BRANCH-MULTI') {
20
+ return item.expanded;
21
+ }
22
+ return false;
23
+ }
24
+ function hasActiveNode(tree) {
25
+ return Boolean(getActiveNode(tree));
26
+ }
27
+ // Core tree traversal functions
28
+ function getAllTreeNodes(tree) {
29
+ const nodes = [];
30
+ function getNodes(element) {
31
+ for (const child of Array.from(element.children)) {
32
+ if (isNode(child)) {
33
+ nodes.push(child);
34
+ }
35
+ if (isBranchNode(child)) {
36
+ getNodes(child);
37
+ }
38
+ }
39
+ }
40
+ getNodes(tree);
41
+ return nodes;
42
+ }
43
+ function getAllTreeLeafNodes(tree) {
44
+ const nodes = [];
45
+ function getNodes(element) {
46
+ for (const child of Array.from(element.children)) {
47
+ if (isLeafNode(child)) {
48
+ nodes.push(child);
49
+ }
50
+ if (isBranchNode(child)) {
51
+ getNodes(child);
52
+ }
53
+ }
54
+ }
55
+ getNodes(tree);
56
+ return nodes;
57
+ }
58
+ function getTreeNodes(tree) {
59
+ const nodes = [];
60
+ function getNodes(element) {
61
+ for (const child of Array.from(element.children)) {
62
+ if (isNode(child)) {
63
+ nodes.push(child);
64
+ }
65
+ if (isOpenBranchNode(child)) {
66
+ getNodes(child);
67
+ }
68
+ }
69
+ }
70
+ getNodes(tree);
71
+ return nodes;
72
+ }
73
+ function getAvailableTreeNodes(tree) {
74
+ const availableTreeNodes = getTreeNodes(tree).filter(node => {
75
+ return !node.disabled && !node.filtered;
76
+ });
77
+ return availableTreeNodes;
78
+ }
79
+ // Node getter functions
80
+ function getActiveNode(tree) {
81
+ return getTreeNodes(tree).find(node => node.active);
82
+ }
83
+ function getFirstSelectedNode(tree) {
84
+ return getTreeNodes(tree).find(node => node.selected && !node.disabled && !node.filtered);
85
+ }
86
+ function getFirstNode(tree) {
87
+ return getAvailableTreeNodes(tree)[0];
88
+ }
89
+ function getLastNode(tree) {
90
+ const availableNodes = getAvailableTreeNodes(tree);
91
+ return availableNodes[availableNodes.length - 1];
92
+ }
93
+ function getNextNode(tree) {
94
+ if (hasActiveNode(tree) && getActiveNode(tree) !== getLastNode(tree)) {
95
+ const availableTreeNodes = getAvailableTreeNodes(tree);
96
+ const activeNode = getActiveNode(tree);
97
+ const activeNodeIndex = availableTreeNodes.indexOf(activeNode);
98
+ return availableTreeNodes[activeNodeIndex + 1];
99
+ }
100
+ return getFirstNode(tree);
101
+ }
102
+ function getPreviousNode(tree) {
103
+ if (hasActiveNode(tree)) {
104
+ const availableNodesList = getAvailableTreeNodes(tree);
105
+ const activeNodeIndex = availableNodesList.indexOf(getActiveNode(tree));
106
+ if (getActiveNode(tree) === getFirstNode(tree)) {
107
+ return getLastNode(tree);
108
+ }
109
+ return availableNodesList[activeNodeIndex - 1];
110
+ }
111
+ return getFirstNode(tree);
112
+ }
113
+ // Core setter functions
114
+ function setActiveNode(tree, element) {
115
+ if (tree.disabled) {
116
+ clearActiveNode(tree);
117
+ return;
118
+ }
119
+ if (element) {
120
+ getTreeNodes(tree).forEach(node => {
121
+ const active = !node.disabled && !node.filtered && node === element;
122
+ node.active = active;
123
+ if (active) {
124
+ tree.setAttribute('aria-activedescendant', node.id);
125
+ }
126
+ });
127
+ element.scrollIntoView({ block: 'nearest' });
128
+ }
129
+ }
130
+ function clearActiveNode(tree) {
131
+ getAllTreeNodes(tree).forEach(node => {
132
+ node.active = false;
133
+ });
134
+ tree.removeAttribute('aria-activedescendant');
135
+ }
136
+ function expandAllParents(element) {
137
+ let parent = element.parentElement.closest('gux-branch-multi');
138
+ while (parent) {
139
+ parent.expanded = true;
140
+ parent = parent.parentElement.closest('gux-branch-multi');
141
+ }
142
+ }
143
+ function updateBranchState(branch) {
144
+ const childNodes = getAllTreeLeafNodes(branch);
145
+ const selectedChildren = childNodes.filter(child => child.selected);
146
+ if (selectedChildren.length === 0) {
147
+ branch.selected = false;
148
+ branch.indeterminate = false;
149
+ }
150
+ else if (selectedChildren.length === childNodes.length) {
151
+ branch.selected = true;
152
+ branch.indeterminate = false;
153
+ }
154
+ else {
155
+ branch.selected = false;
156
+ branch.indeterminate = true;
157
+ }
158
+ }
159
+ function updateDescendants(node, selected) {
160
+ for (const child of Array.from(node.children)) {
161
+ if (isNode(child)) {
162
+ const childNode = child;
163
+ if (!childNode.disabled && !childNode.filtered) {
164
+ childNode.selected = selected;
165
+ childNode.indeterminate = false;
166
+ }
167
+ }
168
+ if (isBranchNode(child)) {
169
+ updateDescendants(child, selected);
170
+ }
171
+ }
172
+ }
173
+ function updateParentStates(node) {
174
+ let parent = node.parentElement.closest('gux-branch-multi');
175
+ while (parent) {
176
+ updateBranchState(parent);
177
+ parent = parent.parentElement.closest('gux-branch-multi');
178
+ }
179
+ }
180
+ function updateTreeValue(tree) {
181
+ const selectedNodes = getAllTreeNodes(tree).filter(node => node.selected && node.value);
182
+ tree.value = selectedNodes.map(node => node.value).join(',');
183
+ }
184
+ // Public API - Active node management
185
+ function setInitialActiveNode(tree) {
186
+ setActiveNode(tree, getFirstSelectedNode(tree) || getFirstNode(tree));
187
+ }
188
+ function setFirstNodeActive(tree) {
189
+ setActiveNode(tree, getFirstNode(tree));
190
+ }
191
+ function setLastNodeActive(tree) {
192
+ setActiveNode(tree, getLastNode(tree));
193
+ }
194
+ function setNextNodeActive(tree) {
195
+ setActiveNode(tree, getNextNode(tree));
196
+ }
197
+ function setPreviousNodeActive(tree) {
198
+ setActiveNode(tree, getPreviousNode(tree));
199
+ }
200
+ function setParentNodeActive(tree) {
201
+ const activeNode = getActiveNode(tree);
202
+ const parentNode = activeNode.parentElement.closest('gux-branch-multi');
203
+ setActiveNode(tree, parentNode);
204
+ }
205
+ function setChildNodeActive(tree, branch) {
206
+ const targetBranch = getActiveNode(tree);
207
+ const availableNodes = getAvailableTreeNodes(tree).filter(node => {
208
+ return targetBranch.contains(node);
209
+ });
210
+ if (availableNodes[0]) {
211
+ setActiveNode(tree, availableNodes[0]);
212
+ }
213
+ }
214
+ function hasChildSelected(branch) {
215
+ return getAllTreeNodes(branch).some(node => node.selected);
216
+ }
217
+ function hasParentDisabled(node) {
218
+ let parent = node.parentElement.closest('gux-branch-multi, gux-tree-multi-beta, fieldset');
219
+ while (parent) {
220
+ if (parent.disabled) {
221
+ return true;
222
+ }
223
+ parent = parent.parentElement.closest('gux-branch-multi, gux-tree-multi-beta, fieldset');
224
+ }
225
+ return false;
226
+ }
227
+ function forceUpdateTree(tree) {
228
+ getAllTreeNodes(tree).forEach(node => {
229
+ forceUpdate(node);
230
+ });
231
+ }
232
+ function toggleNodeSelection(tree, element) {
233
+ const newSelected = !element.selected;
234
+ element.selected = newSelected;
235
+ element.indeterminate = false;
236
+ // If it's a branch, update all descendants
237
+ if (isBranchNode(element)) {
238
+ updateDescendants(element, newSelected);
239
+ }
240
+ // Update parent states
241
+ updateParentStates(element);
242
+ updateTreeValue(tree);
243
+ element.scrollIntoView({ block: 'nearest' });
244
+ }
245
+ function setSelectedNodesByValue(tree, value) {
246
+ const values = value.split(',').map(v => v.trim());
247
+ const allNodes = getAllTreeNodes(tree);
248
+ allNodes.forEach(node => {
249
+ node.selected = values.includes(node.value);
250
+ node.indeterminate = false;
251
+ });
252
+ // Update branch states
253
+ allNodes
254
+ .filter(node => isBranchNode(node))
255
+ .forEach(branch => {
256
+ updateBranchState(branch);
257
+ });
258
+ }
259
+ function setInitialSelectedNodesByValue(tree, value) {
260
+ setSelectedNodesByValue(tree, value);
261
+ expandSelectedNodes(tree);
262
+ }
263
+ function expandSelectedNodes(tree) {
264
+ const allNodes = getAllTreeNodes(tree);
265
+ allNodes.forEach(node => {
266
+ if (node.selected) {
267
+ expandAllParents(node);
268
+ }
269
+ });
270
+ }
271
+ function getTreeSize(node) {
272
+ var _a;
273
+ return (_a = getTree(node)) === null || _a === void 0 ? void 0 : _a.size;
274
+ }
275
+ function getTreeAlignment(node) {
276
+ var _a;
277
+ return (_a = getTree(node)) === null || _a === void 0 ? void 0 : _a.alignment;
278
+ }
279
+ // Public API - Event handling
280
+ function handleTreeNodeSpecificEvent({ event, onLeaf, onBranch }) {
281
+ let eventFromLeaf = false;
282
+ whenEventIsFrom('gux-leaf-multi', event, (leaf) => {
283
+ if (leaf.value) {
284
+ onLeaf(leaf);
285
+ eventFromLeaf = true;
286
+ }
287
+ });
288
+ if (!eventFromLeaf) {
289
+ whenEventIsFrom('gux-branch-multi', event, (branch) => {
290
+ onBranch(branch);
291
+ });
292
+ }
293
+ }
294
+
295
+ export { getTreeAlignment as a, hasChildSelected as b, clearActiveNode as c, setInitialActiveNode as d, handleTreeNodeSpecificEvent as e, forceUpdateTree as f, getTreeSize as g, hasParentDisabled as h, setLastNodeActive as i, setFirstNodeActive as j, setPreviousNodeActive as k, setNextNodeActive as l, setInitialSelectedNodesByValue as m, setParentNodeActive as n, setChildNodeActive as o, setSelectedNodesByValue as s, toggleNodeSelection as t };