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.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +2 -2
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
- package/dist/cjs/gux-branch-multi.cjs.entry.js +85 -0
- package/dist/cjs/gux-branch.cjs.entry.js +78 -0
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-card.cjs.entry.js +3 -3
- package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
- package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
- package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
- package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-leaf-multi.cjs.entry.js +70 -0
- package/dist/cjs/gux-leaf.cjs.entry.js +68 -0
- package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +3 -3
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
- package/dist/cjs/gux-step.cjs.entry.js +1 -1
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gux-table.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toast.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/gux-tree-beta.cjs.entry.js +183 -0
- package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +204 -0
- package/dist/cjs/gux-tree-multi.service-SP7ZA2lB.js +313 -0
- package/dist/cjs/gux-tree.service-w78yRmzF.js +240 -0
- package/dist/cjs/index-Bfx8AGPj.js +24 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-D2AUYEBS.js → usage-CIw4kGaR.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.css +114 -0
- package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +209 -0
- package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.css +86 -0
- package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +179 -0
- package/dist/collection/components/beta/gux-tree/gux-tree.css +13 -0
- package/dist/collection/components/beta/gux-tree/gux-tree.js +296 -0
- package/dist/collection/components/beta/gux-tree/gux-tree.service.js +220 -0
- package/dist/collection/components/beta/gux-tree/gux-tree.types.js +1 -0
- package/dist/collection/components/beta/gux-tree/tests/gux-tree.common.js +137 -0
- package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.css +122 -0
- package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +236 -0
- package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.css +100 -0
- package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +181 -0
- package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.css +13 -0
- package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +318 -0
- package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.service.js +320 -0
- package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.types.js +1 -0
- package/dist/collection/components/beta/gux-tree-multi/tests/gux-tree-multi.common.js +56 -0
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
- package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
- package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
- package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
- 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
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
- 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
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
- package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/collection/utils/decorator/aria.js +17 -0
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion-section.entry.js +5 -5
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +2 -2
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
- package/dist/esm/gux-all-row-select.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
- package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +2 -2
- package/dist/esm/gux-blank-state-beta.entry.js +1 -1
- package/dist/esm/gux-blank-state.entry.js +2 -2
- package/dist/esm/gux-branch-multi.entry.js +83 -0
- package/dist/esm/gux-branch.entry.js +76 -0
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +2 -2
- package/dist/esm/gux-button-multi.entry.js +2 -2
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button_2.entry.js +5 -5
- package/dist/esm/gux-calendar.entry.js +2 -2
- package/dist/esm/gux-card.entry.js +3 -3
- package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
- package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
- package/dist/esm/gux-column-manager-item.entry.js +3 -3
- package/dist/esm/gux-column-manager.entry.js +2 -2
- package/dist/esm/gux-content-search.entry.js +3 -3
- package/dist/esm/gux-context-menu.entry.js +3 -3
- package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
- package/dist/esm/gux-create-option.entry.js +2 -2
- package/dist/esm/gux-date-beta.entry.js +1 -1
- package/dist/esm/gux-date-time-beta.entry.js +1 -1
- package/dist/esm/gux-datepicker.entry.js +2 -2
- package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +2 -2
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +4 -4
- package/dist/esm/gux-file-list-item.entry.js +3 -3
- package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +3 -3
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
- package/dist/esm/gux-form-field-color.entry.js +4 -4
- package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
- package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
- package/dist/esm/gux-form-field-file.entry.js +2 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
- package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
- package/dist/esm/gux-form-field-number_2.entry.js +8 -8
- package/dist/esm/gux-form-field-phone.entry.js +5 -5
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-radio.entry.js +3 -3
- package/dist/esm/gux-form-field-range.entry.js +3 -3
- package/dist/esm/gux-form-field-search.entry.js +4 -4
- package/dist/esm/gux-form-field-select.entry.js +4 -4
- package/dist/esm/gux-form-field-text-like.entry.js +4 -4
- package/dist/esm/gux-form-field-textarea.entry.js +3 -3
- package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
- package/dist/esm/gux-form-footer.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-illustration-beta.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
- package/dist/esm/gux-label-info-beta.entry.js +1 -1
- package/dist/esm/gux-leaf-multi.entry.js +68 -0
- package/dist/esm/gux-leaf.entry.js +66 -0
- package/dist/esm/gux-link-beta.entry.js +1 -1
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-logo-beta.entry.js +1 -1
- package/dist/esm/gux-logomark-beta.entry.js +1 -1
- package/dist/esm/gux-menu-option.entry.js +1 -1
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +3 -3
- package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-group-beta.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +2 -2
- package/dist/esm/gux-option-multi.entry.js +2 -2
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
- package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +3 -3
- package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +2 -2
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
- package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-select-all.entry.js +2 -2
- package/dist/esm/gux-selector-card-beta.entry.js +1 -1
- package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-header.entry.js +1 -1
- package/dist/esm/gux-side-panel-heading.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
- package/dist/esm/gux-sort-control.entry.js +3 -3
- package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
- package/dist/esm/gux-step-title.entry.js +1 -1
- package/dist/esm/gux-step.entry.js +1 -1
- package/dist/esm/gux-stepper-beta.entry.js +1 -1
- package/dist/esm/gux-submenu.entry.js +3 -3
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +2 -2
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +2 -2
- package/dist/esm/gux-table-select-menu.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
- package/dist/esm/gux-table-toolbar.entry.js +3 -3
- package/dist/esm/gux-table.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +2 -2
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +1 -1
- package/dist/esm/gux-time-picker.entry.js +2 -2
- package/dist/esm/gux-time-zone-beta.entry.js +1 -1
- package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toast.entry.js +3 -3
- package/dist/esm/gux-toggle-slider.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
- package/dist/esm/gux-tooltip-title.entry.js +2 -2
- package/dist/esm/gux-tooltip_2.entry.js +6 -6
- package/dist/esm/gux-tree-beta.entry.js +181 -0
- package/dist/esm/gux-tree-multi-beta.entry.js +202 -0
- package/dist/esm/gux-tree-multi.service-rN4u4zJA.js +295 -0
- package/dist/esm/gux-tree.service-g_oSRmLT.js +223 -0
- package/dist/esm/index-Dz_2h4jr.js +24 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-CqFA-9uw.js → usage-P-hdUE3M.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-94cb27d3.entry.js → p-02406da9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-07276a2e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8ebf81fb.entry.js → p-07e854e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1d6e045.entry.js → p-084d7985.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f0b943d.entry.js → p-08f65ffb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6de55d53.entry.js → p-0a45b162.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-67b71af5.entry.js → p-0a9b5aa9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71174517.entry.js → p-0b8494e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b37969e2.entry.js → p-0bacc1c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0e62a28a.entry.js +1 -0
- package/dist/genesys-webcomponents/p-0f906c83.entry.js +1 -0
- package/dist/genesys-webcomponents/p-10bc670e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-40d081da.entry.js → p-10c4aba5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ee86062.entry.js → p-12879f8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7ba8755f.entry.js → p-13121646.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-487d34ff.entry.js → p-14def48a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dab22b10.entry.js → p-14e56a8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14f59f78.entry.js → p-1567ea4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c7ddb88.entry.js → p-181db322.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1K6Bdrw6.js +1 -0
- package/dist/genesys-webcomponents/{p-69c8e846.entry.js → p-1aefd34b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1485f433.entry.js → p-1b993de4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-adf7dd6a.entry.js → p-1d8461af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-90caff1a.entry.js → p-1eb0e7e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-671dfa9e.entry.js → p-1ed1d90f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-20f953d3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c9a5aa58.entry.js → p-21925e45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eae2d50f.entry.js → p-22774ede.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f1cd13d.entry.js → p-22fc8bc7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2a6afc3.entry.js → p-233754d3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a9af6f24.entry.js → p-250e46d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a29ce57.entry.js → p-25b54535.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83209428.entry.js → p-2b21f5b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8594ff89.entry.js → p-2c7f70e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6386c7e1.entry.js → p-2ca52d1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bafac823.entry.js → p-2d1decba.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2e560175.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4349f0ca.entry.js → p-2eba7fa7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b4adbc6.entry.js → p-34c49dae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e068aae.entry.js → p-355c6058.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-37fc8995.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d5ba3136.entry.js → p-3885a340.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8bc25cf3.entry.js → p-38ca0c04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc6e01fd.entry.js → p-3c3be6b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b571eabb.entry.js → p-3ef8c2ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-831fb4cc.entry.js → p-406efc68.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75f9bd17.entry.js → p-40a8659f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d6e6ef9.entry.js → p-42cb5452.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97ad70c2.entry.js → p-42fd437b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-544e996a.entry.js → p-4378ea79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b778feee.entry.js → p-44fccf34.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f594e172.entry.js → p-46122325.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-46ad732d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c5739404.entry.js → p-4cc59941.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3144413b.entry.js → p-4e86d6b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f0c7576.entry.js → p-50a70b04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-82c3e4ab.entry.js → p-527f7a1a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2ba70cb.entry.js → p-52bf984a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b242698f.entry.js → p-586b74de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84e0896b.entry.js → p-59691ec8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-53dec3d9.entry.js → p-59f93cf5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80f96c1f.entry.js → p-5a2afb00.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b7c7a93.entry.js → p-5a7fcba4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ef689aba.entry.js → p-5adef61c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84630362.entry.js → p-5df2e379.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aeb7034c.entry.js → p-5e36e00c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f02b5c08.entry.js → p-5e688f82.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e3f192d1.entry.js → p-5f013968.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ecc889c1.entry.js → p-62d5a576.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-63fc23b7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a2d45e7a.entry.js → p-6750f1bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-868f1326.entry.js → p-68c4c1f6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9251c76b.entry.js → p-70039747.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9cdc0da.entry.js → p-71bfc382.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b11eab9.entry.js → p-72cae5e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be3bc25f.entry.js → p-72efcee2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-847c37dd.entry.js → p-73bc81ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4941fe4c.entry.js → p-761dfdfc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f8645cd.entry.js → p-78797c2a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-27a31162.entry.js → p-7b9ee43c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7c04a9a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-480528c6.entry.js → p-7c225701.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7f80b420.entry.js +1 -0
- package/dist/genesys-webcomponents/p-80ac162c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2c059a6c.entry.js → p-8125094f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d679237.entry.js → p-8388d345.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c242bb23.entry.js → p-83c72397.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-893f62be.entry.js → p-840e5e72.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-df234f82.entry.js → p-86e60f03.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a1529e5.entry.js → p-878fb957.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c1b8f06.entry.js → p-88fe97ab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ece6ace.entry.js → p-8a79bc83.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-612dc777.entry.js → p-8b00a8b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1427f966.entry.js → p-8b77906f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-10e4fe74.entry.js → p-8bfe887d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78eaa0d4.entry.js → p-8d17c505.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c243addb.entry.js → p-8d2c4040.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f9b60e9d.entry.js → p-8da560e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8fe5946c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-53b2f894.entry.js → p-94dec58d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bfff8a6b.entry.js → p-952f83d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21a1faf1.entry.js → p-95c9d6e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-98887eea.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-86066630.entry.js → p-9921a228.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b8be5587.entry.js → p-9c805410.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e50f271a.entry.js → p-9f072d6e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-CkugK5PE.js +1 -0
- package/dist/genesys-webcomponents/{p-CqFA-9uw.js → p-P-hdUE3M.js} +1 -1
- package/dist/genesys-webcomponents/p-a0c70c7d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1547811e.entry.js → p-a28fb4d6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15692d0d.entry.js → p-a5da5222.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d4b57ce.entry.js → p-a96b217c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5594fa74.entry.js → p-a9ae1a36.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0755b783.entry.js → p-aa8035f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d17f3bd.entry.js → p-ae35a482.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fd316112.entry.js → p-ae7f9a42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-23c41f6a.entry.js → p-b011264f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b0f65767.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e556fa9f.entry.js → p-b7ded211.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b63f7073.entry.js → p-ba631fa5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2198a87f.entry.js → p-bb4bdcbe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22c776f0.entry.js → p-bc87db5c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bd7562f2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-177ecae4.entry.js → p-be4dfcc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-777ea613.entry.js → p-bff08f71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b5a926f.entry.js → p-c321b784.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2fb25236.entry.js → p-c619ecb1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d1a929a.entry.js → p-c691ee28.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c7212fc2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-489b6f7e.entry.js → p-c7674d3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7289e53.entry.js → p-c86f2a82.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-605d874e.entry.js → p-ca3e3fbb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-375cd724.entry.js → p-ce75d98e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1eaaf233.entry.js → p-ce7e92de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c234f86c.entry.js → p-cf2837df.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7e70e2a.entry.js → p-cf6f951b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-153f816e.entry.js → p-d28c5369.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d323c56f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-d57f4f0f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-539fb3fe.entry.js → p-d5df8246.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98e56fc8.entry.js → p-d638b856.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5052251.entry.js → p-d71e1784.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f20f3970.entry.js → p-d80ed019.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ca488ce.entry.js → p-d91b4089.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51fda966.entry.js → p-d951d08a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-787ceb33.entry.js → p-dd96e223.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1e84bbd.entry.js → p-e165bcea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-078c349b.entry.js → p-e19f8f0f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ea4a492.entry.js → p-e1c5a946.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e2c96d2c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b6fd9593.entry.js → p-e324984d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8eb7f37d.entry.js → p-e479e4d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e51be612.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9536e0c6.entry.js → p-e53bba61.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e7fbc88d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-48bc1a43.entry.js → p-eace50ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-edaea90f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-01a0c3f5.entry.js → p-ee3875eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f8c169cd.entry.js → p-efd89c57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8045e63b.entry.js → p-f09ea52d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-061ea741.entry.js → p-f308e9ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f63d28a3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-40ea83f0.entry.js → p-f6be54af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7065d860.entry.js → p-f92de177.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7adb4b41.entry.js → p-f9ad0cfb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-99137082.entry.js → p-fdc40086.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-tree/gux-branch/gux-branch.d.ts +25 -0
- package/dist/types/components/beta/gux-tree/gux-leaf/gux-leaf.d.ts +23 -0
- package/dist/types/components/beta/gux-tree/gux-tree.d.ts +27 -0
- package/dist/types/components/beta/gux-tree/gux-tree.service.d.ts +21 -0
- package/dist/types/components/beta/gux-tree/gux-tree.types.d.ts +3 -0
- package/dist/types/components/beta/gux-tree/tests/gux-tree.common.d.ts +8 -0
- package/dist/types/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.d.ts +27 -0
- package/dist/types/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.d.ts +24 -0
- package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.d.ts +28 -0
- package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.service.d.ts +24 -0
- package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.types.d.ts +16 -0
- package/dist/types/components/beta/gux-tree-multi/tests/gux-tree-multi.common.d.ts +10 -0
- package/dist/types/components.d.ts +264 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/utils/decorator/aria.d.ts +47 -0
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-0a8991dc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-116268dd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2d774310.entry.js +0 -1
- package/dist/genesys-webcomponents/p-37b9c630.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4551fc1a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-49f4288e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-63e3b1f3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-71ff1a25.entry.js +0 -1
- package/dist/genesys-webcomponents/p-79d0c705.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7a9be627.entry.js +0 -1
- package/dist/genesys-webcomponents/p-83c0a686.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a2f29975.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ab3c9fe0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c372d8f5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c76a57f2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d99703d1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e1de4af9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-eaeb9124.entry.js +0 -1
- 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" */
|