genesys-spark-components 4.185.4 → 4.186.1
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 +2 -2
- package/dist/cjs/{get-valid-timezone-CxcDLGWB.js → get-valid-timezone-wrCyyRlV.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
- package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
- package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
- package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
- package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-badge.cjs.entry.js +5 -5
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
- package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
- package/dist/cjs/gux-card.cjs.entry.js +4 -4
- package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
- package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
- package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
- package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
- package/dist/cjs/{gux-form-field-container-3csXa1_D.js → gux-form-field-container-C_ksnWvh.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/{gux-form-field-error-Zis2K2ea.js → gux-form-field-error-DsQplUhW.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-BcJCmFTG.js → gux-form-field-fieldset-container-DDS9BG7u.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
- package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-popup.cjs.entry.js +4 -4
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-step.cjs.entry.js +2 -2
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
- package/dist/cjs/gux-table.cjs.entry.js +4 -4
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
- package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
- package/dist/cjs/gux-tag.cjs.entry.js +5 -5
- package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-toast.cjs.entry.js +4 -4
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
- 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-BFBspBvZ.js +313 -0
- package/dist/cjs/gux-tree.service-DM6q_PoD.js +240 -0
- package/dist/cjs/{index-Bfx8AGPj.js → index-C1LZ-Zd8.js} +25 -1
- package/dist/cjs/{index-C2XfGATp.js → index-CjUBUVCO.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-DSTNdYO6.js → on-click-outside-CXDzyPsA.js} +1 -1
- package/dist/cjs/{on-mutation-C-pkBYfu.js → on-mutation-Bpt2qL-s.js} +1 -1
- package/dist/cjs/{on-resize-CCaffmJ7.js → on-resize-nisbdZkE.js} +1 -1
- package/dist/cjs/{usage-D2AUYEBS.js → usage-o6I3mOuO.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.css +8 -7
- 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 +3 -3
- package/dist/esm/{get-valid-timezone-CNkoPKdR.js → get-valid-timezone-LDHU1yLM.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +6 -6
- package/dist/esm/gux-accordion.entry.js +3 -3
- package/dist/esm/gux-action-button.entry.js +5 -5
- package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
- package/dist/esm/gux-all-row-select.entry.js +3 -3
- package/dist/esm/gux-announce-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
- package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
- package/dist/esm/gux-badge.entry.js +5 -5
- package/dist/esm/gux-blank-state-beta.entry.js +3 -3
- package/dist/esm/gux-blank-state.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/gux-breadcrumbs.entry.js +4 -4
- package/dist/esm/gux-button-multi.entry.js +4 -4
- package/dist/esm/gux-button-slot.entry.js +3 -3
- package/dist/esm/gux-button_2.entry.js +7 -7
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +4 -4
- package/dist/esm/gux-card.entry.js +4 -4
- package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
- package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
- package/dist/esm/gux-column-manager-item.entry.js +5 -5
- package/dist/esm/gux-column-manager.entry.js +4 -4
- package/dist/esm/gux-content-search.entry.js +5 -5
- package/dist/esm/gux-context-menu.entry.js +6 -6
- package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
- package/dist/esm/gux-create-option.entry.js +4 -4
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +4 -4
- package/dist/esm/gux-date-time-beta.entry.js +4 -4
- package/dist/esm/gux-datepicker.entry.js +5 -5
- package/dist/esm/gux-day-beta.entry.js +2 -2
- package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
- package/dist/esm/gux-dismiss-button.entry.js +5 -5
- package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi.entry.js +6 -6
- package/dist/esm/gux-dropdown-option.entry.js +2 -2
- package/dist/esm/gux-dropdown_3.entry.js +8 -8
- package/dist/esm/gux-file-list-item.entry.js +5 -5
- package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
- package/dist/esm/gux-flyout-menu.entry.js +6 -6
- package/dist/esm/gux-form-beta.entry.js +1 -1
- package/dist/esm/gux-form-description.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
- package/dist/esm/gux-form-field-color.entry.js +8 -8
- package/dist/esm/{gux-form-field-container-K-R4rXST.js → gux-form-field-container-Dp9t605U.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
- package/dist/esm/{gux-form-field-error-DO0r_oNt.js → gux-form-field-error-CUxY2-XD.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-DAmLNsF9.js → gux-form-field-fieldset-container-BT88yCp7.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
- package/dist/esm/gux-form-field-file.entry.js +6 -6
- package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +14 -14
- package/dist/esm/gux-form-field-phone.entry.js +10 -10
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-radio.entry.js +6 -6
- package/dist/esm/gux-form-field-range.entry.js +8 -8
- package/dist/esm/gux-form-field-search.entry.js +8 -8
- package/dist/esm/gux-form-field-select.entry.js +8 -8
- package/dist/esm/gux-form-field-text-like.entry.js +8 -8
- package/dist/esm/gux-form-field-textarea.entry.js +7 -7
- package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
- package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +2 -2
- package/dist/esm/gux-form-heading.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +3 -3
- package/dist/esm/gux-illustration-beta.entry.js +2 -2
- package/dist/esm/gux-inline-alert.entry.js +5 -5
- package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/gux-list-divider.entry.js +2 -2
- package/dist/esm/gux-list-item.entry.js +2 -2
- package/dist/esm/gux-list.entry.js +3 -3
- package/dist/esm/gux-listbox-multi.entry.js +4 -4
- package/dist/esm/gux-loading-message.entry.js +3 -3
- package/dist/esm/gux-logo-beta.entry.js +3 -3
- package/dist/esm/gux-logomark-beta.entry.js +3 -3
- package/dist/esm/gux-menu-option.entry.js +2 -2
- package/dist/esm/gux-menu.entry.js +2 -2
- package/dist/esm/gux-modal-legacy.entry.js +4 -4
- package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-modal.entry.js +3 -3
- package/dist/esm/gux-month-calendar.entry.js +2 -2
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +4 -4
- package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-option-group-beta.entry.js +2 -2
- package/dist/esm/gux-option-icon.entry.js +3 -3
- package/dist/esm/gux-option-multi.entry.js +4 -4
- package/dist/esm/gux-option-status-beta.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
- package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
- package/dist/esm/gux-pagination-legacy.entry.js +3 -3
- package/dist/esm/gux-pagination.entry.js +3 -3
- package/dist/esm/gux-phone-input-beta.entry.js +4 -4
- package/dist/esm/gux-popover-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list.entry.js +5 -5
- package/dist/esm/gux-popup.entry.js +4 -4
- package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +4 -4
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +5 -5
- package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
- package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
- package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +4 -4
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
- package/dist/esm/gux-segmented-control-item.entry.js +1 -1
- package/dist/esm/gux-select-all.entry.js +4 -4
- package/dist/esm/gux-selector-card-beta.entry.js +2 -2
- package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-header.entry.js +2 -2
- package/dist/esm/gux-side-panel-heading.entry.js +2 -2
- package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
- package/dist/esm/gux-sort-control.entry.js +5 -5
- package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
- package/dist/esm/gux-step-title.entry.js +2 -2
- package/dist/esm/gux-step.entry.js +2 -2
- package/dist/esm/gux-stepper-beta.entry.js +2 -2
- package/dist/esm/gux-submenu.entry.js +4 -4
- package/dist/esm/gux-switch-item.entry.js +2 -2
- package/dist/esm/gux-switch-legacy.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +4 -4
- package/dist/esm/gux-tab-list.entry.js +5 -5
- package/dist/esm/gux-tab-panel.entry.js +2 -2
- package/dist/esm/gux-tab.entry.js +3 -3
- package/dist/esm/gux-table-select-menu.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
- package/dist/esm/gux-table-toolbar.entry.js +6 -6
- package/dist/esm/gux-table.entry.js +4 -4
- package/dist/esm/gux-tabs-advanced.entry.js +3 -3
- package/dist/esm/gux-tabs.entry.js +3 -3
- package/dist/esm/gux-tag.entry.js +5 -5
- package/dist/esm/gux-text-highlight.entry.js +2 -2
- package/dist/esm/gux-time-beta.entry.js +4 -4
- package/dist/esm/gux-time-picker.entry.js +5 -5
- package/dist/esm/gux-time-zone-beta.entry.js +3 -3
- package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
- package/dist/esm/gux-toast.entry.js +4 -4
- package/dist/esm/gux-toggle-slider.entry.js +3 -3
- package/dist/esm/gux-toggle.entry.js +5 -5
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
- package/dist/esm/gux-tooltip-title.entry.js +5 -5
- package/dist/esm/gux-tooltip_2.entry.js +9 -9
- 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-BLZ1mRfa.js +295 -0
- package/dist/esm/gux-tree.service-BDeQhvUY.js +223 -0
- package/dist/esm/{index-T5mO569D.js → index-BcJFUYIV.js} +1 -1
- package/dist/esm/{index-Dz_2h4jr.js → index-CjVJoR6g.js} +25 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{on-click-outside-R32NST4z.js → on-click-outside-CQ9-ZPII.js} +1 -1
- package/dist/esm/{on-mutation-DfF7Bpf8.js → on-mutation-CEhI74kI.js} +1 -1
- package/dist/esm/{on-resize-CZO-3VCx.js → on-resize-BzUqKdDk.js} +1 -1
- package/dist/esm/{usage-CqFA-9uw.js → usage-m3Lae7sj.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-aeb7034c.entry.js → p-017cb9d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-056a7c6b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-083804b1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8ea4a492.entry.js → p-099f666a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fd316112.entry.js → p-0b052d60.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-44d918a8.entry.js → p-0b24178e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78eaa0d4.entry.js → p-0cd588f1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f740896.entry.js → p-0d4c3b8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-adf7dd6a.entry.js → p-11837668.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-612dc777.entry.js → p-135367e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a9af6f24.entry.js → p-139620e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-539fb3fe.entry.js → p-13ac38be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c242bb23.entry.js → p-150a39e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-99137082.entry.js → p-154def26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-40d081da.entry.js → p-16b176e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83209428.entry.js → p-19aae774.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a1529e5.entry.js → p-1d3c2d91.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f8c169cd.entry.js → p-1f64bf9d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-40ea83f0.entry.js → p-1fa2732f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-10e4fe74.entry.js → p-21d62416.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-23ae550d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-25b9ab49.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-84e0896b.entry.js → p-25fd3256.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-90caff1a.entry.js → p-26332854.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f02b5c08.entry.js → p-26ae37e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6fd9593.entry.js → p-27917cd5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c7ddb88.entry.js → p-285ee4a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f20f3970.entry.js → p-28bb190c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-893f62be.entry.js → p-2afa3fa3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-23c41f6a.entry.js → p-2d4c4294.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2eeb7b23.entry.js +1 -0
- package/dist/genesys-webcomponents/p-324d6857.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-544e996a.entry.js → p-32e6acb8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eae2d50f.entry.js → p-34fdea73.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e2583d3.entry.js → p-351b23d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-489b6f7e.entry.js → p-35a486e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c1b8f06.entry.js → p-38f5b4f6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bfff8a6b.entry.js → p-39260f95.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2d4d3ba.entry.js → p-3cd17631.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e556fa9f.entry.js → p-3da05df8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8045e63b.entry.js → p-3e99d726.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a29ce57.entry.js → p-3eba96cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21a1faf1.entry.js → p-42a37e44.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-45586ff0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4349f0ca.entry.js → p-467b440a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f594e172.entry.js → p-46a34101.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-53b2f894.entry.js → p-48ca42f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-48de3ff3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-22c776f0.entry.js → p-49ee0c6f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ca488ce.entry.js → p-4a7ea7e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5594fa74.entry.js → p-4ad8978f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b37969e2.entry.js → p-4b45cd72.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98e56fc8.entry.js → p-4f2bbd47.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2a6afc3.entry.js → p-514148f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f0b943d.entry.js → p-52373db0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7065d860.entry.js → p-53e22ff1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15692d0d.entry.js → p-541fb3fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8bc25cf3.entry.js → p-556113ac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75f9bd17.entry.js → p-5725af26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b63f7073.entry.js → p-57f2d1dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3144413b.entry.js → p-5800a64c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5942b0f1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a7e70e2a.entry.js → p-59895996.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-DrJn2EIj.js → p-5GSd1tCA.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5ba3136.entry.js → p-5ac0a470.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1485f433.entry.js → p-5b40c6e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5cf1b2ba.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4941fe4c.entry.js → p-5cf81958.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5e48e9fb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6de55d53.entry.js → p-60011440.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1547811e.entry.js → p-6041e65b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bafac823.entry.js → p-6143b5da.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-27a31162.entry.js → p-68dec694.entry.js} +2 -2
- package/dist/genesys-webcomponents/p-6a47bd85.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e1d6e045.entry.js → p-6d83742a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b778feee.entry.js → p-6f9cfe1b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-375cd724.entry.js → p-7091f5b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-868f1326.entry.js → p-70999d68.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7adb4b41.entry.js → p-7122ffc2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1427f966.entry.js → p-73082b46.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1eaaf233.entry.js → p-7467d78b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7869bfd9.entry.js +1 -0
- package/dist/genesys-webcomponents/p-7b70f2df.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-48bc1a43.entry.js → p-7ee9b69d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-416badb7.entry.js → p-7f602357.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5052251.entry.js → p-8033fd0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b11eab9.entry.js → p-84f88012.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-480528c6.entry.js → p-863302cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80f96c1f.entry.js → p-8a13909f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84630362.entry.js → p-8b78c6e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2ba70cb.entry.js → p-8e9f07a4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d4b57ce.entry.js → p-8f4e6f19.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86066630.entry.js → p-8ff107e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-908be904.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2d774310.entry.js → p-908ebad2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b5a926f.entry.js → p-91abcf19.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ba9827a.entry.js → p-941d403f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c059a6c.entry.js → p-9445c461.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f9b60e9d.entry.js → p-9579eeaa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d6909cfa.entry.js → p-95aa1974.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e50f271a.entry.js → p-95f7a089.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c234f86c.entry.js → p-96154710.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8594ff89.entry.js → p-994e4f51.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-787ceb33.entry.js → p-9a3086e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0755b783.entry.js → p-9a59a9ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9a739818.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9d0d3fa8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2d679237.entry.js → p-9d22b1ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9f983574.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-487d34ff.entry.js → p-9fa06bad.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-BS-Yw6fq.js +1 -0
- package/dist/genesys-webcomponents/{p-Ct81NxWr.js → p-BvVMx5eW.js} +1 -1
- package/dist/genesys-webcomponents/p-CjVJoR6g.js +2 -0
- package/dist/genesys-webcomponents/p-CuKTBQuB.js +1 -0
- package/dist/genesys-webcomponents/{p-DmaAM9UB.js → p-D1QZQXQN.js} +1 -1
- package/dist/genesys-webcomponents/{p-DVjNN8WO.js → p-DTOY_vUZ.js} +1 -1
- package/dist/genesys-webcomponents/p-DaK6PJIg.js +1 -0
- package/dist/genesys-webcomponents/{p-Mjv14MGU.js → p-DcL3bWH_.js} +1 -1
- package/dist/genesys-webcomponents/{p-b571eabb.entry.js → p-a02a5f08.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ee86062.entry.js → p-a352dd2e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5739404.entry.js → p-a466db49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2d45e7a.entry.js → p-a619a0ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c243addb.entry.js → p-a8143e2c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e3f192d1.entry.js → p-aaae46b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f0c7576.entry.js → p-aab878b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-01a0c3f5.entry.js → p-aede3166.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b0d02114.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ef689aba.entry.js → p-b12a8508.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c9a5aa58.entry.js → p-b21ed8c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-671dfa9e.entry.js → p-b2334e35.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e068aae.entry.js → p-b5a01b48.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d99703d1.entry.js → p-b5b441a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b6f2fc11.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3f1cd13d.entry.js → p-b823a092.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b90aef76.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9251c76b.entry.js → p-bd8741a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-be9f6a45.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b8be5587.entry.js → p-bf044a81.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bf7dad16.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c05f9f33.entry.js +1 -0
- package/dist/genesys-webcomponents/p-c1eb882e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6386c7e1.entry.js → p-c8c0a498.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-605d874e.entry.js → p-c905638c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d1a929a.entry.js → p-c961265f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-10438489.entry.js → p-cae633ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a67abbc.entry.js → p-cb4791a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cbfda3ac.entry.js +1 -0
- package/dist/genesys-webcomponents/p-cd9a57b8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b1e84bbd.entry.js → p-ceb683a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2198a87f.entry.js → p-cf412061.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b242698f.entry.js → p-d4cf29da.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-153f816e.entry.js → p-d5c18713.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d5e4a275.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-71174517.entry.js → p-d895c2d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d8cbd44a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dab22b10.entry.js → p-da5bf7b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14f59f78.entry.js → p-dad081b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9536e0c6.entry.js → p-daff771e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-dfca7776.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-be3bc25f.entry.js → p-e0314387.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e181a441.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-67b71af5.entry.js → p-e1b2080a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d17f3bd.entry.js → p-e1fe1a06.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87e71f17.entry.js → p-e4a44c7d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ecc889c1.entry.js → p-e77358d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7289e53.entry.js → p-e7841f8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b4adbc6.entry.js → p-e84d3b25.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-177ecae4.entry.js → p-e8541175.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-847c37dd.entry.js → p-e96fa35a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc6e01fd.entry.js → p-e9973aeb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ec5d01d6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0ab0a627.entry.js → p-ed882ba0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9cdc0da.entry.js → p-eeaf3569.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-831fb4cc.entry.js → p-ef9c62f0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f19811e6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-51fda966.entry.js → p-f21766df.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-79dfd7bf.entry.js → p-f39ca032.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ece6ace.entry.js → p-f46d7dc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f480585b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-69c8e846.entry.js → p-f59113f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f68b47d9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-53dec3d9.entry.js → p-f6ecef3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fa3dd755.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-061ea741.entry.js → p-fb37efda.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b88e7f69.entry.js → p-fcd6e603.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fcdc8ed7.entry.js +1 -0
- package/dist/genesys-webcomponents/p-hPZIPnvb.js +1 -0
- package/dist/genesys-webcomponents/{p-JPhxXbs4.js → p-kyGdOoF4.js} +1 -1
- package/dist/genesys-webcomponents/{p-CqFA-9uw.js → p-m3Lae7sj.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-078c349b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0a8991dc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0yc9CKxX.js +0 -1
- package/dist/genesys-webcomponents/p-116268dd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2d6e6ef9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2f8645cd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2fb25236.entry.js +0 -1
- package/dist/genesys-webcomponents/p-37b9c630.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3b7c7a93.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-777ea613.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-7ba8755f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-82c3e4ab.entry.js +0 -1
- package/dist/genesys-webcomponents/p-83c0a686.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8eb7f37d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8ebf81fb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-94cb27d3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-97ad70c2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-C-1lAIfW.js +0 -1
- package/dist/genesys-webcomponents/p-Dz_2h4jr.js +0 -2
- 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-cb2f68ed.entry.js +0 -1
- package/dist/genesys-webcomponents/p-df234f82.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,296 @@
|
|
|
1
|
+
import { h, forceUpdate, Host } from "@stencil/core";
|
|
2
|
+
import { trackComponent } from "../../../utils/tracking/usage";
|
|
3
|
+
import simulateNativeEvent from "../../../utils/dom/simulate-native-event";
|
|
4
|
+
import { clearActiveNode, forceUpdateTree, handleTreeNodeSpecificEvent, hasParentDisabled, setChildNodeActive, setFirstNodeActive, setInitialActiveNode, setLastNodeActive, setNextNodeActive, setParentNodeActive, setPreviousNodeActive, setSelectedNode, setSelectedNodeByValue } from "./gux-tree.service";
|
|
5
|
+
/**
|
|
6
|
+
* @slot default - gux-branch or gux-leaf elements
|
|
7
|
+
*/
|
|
8
|
+
export class GuxTree {
|
|
9
|
+
constructor() {
|
|
10
|
+
this._disabled = false;
|
|
11
|
+
this.size = 'comfy';
|
|
12
|
+
this.alignment = 'start';
|
|
13
|
+
}
|
|
14
|
+
get disabled() {
|
|
15
|
+
return this._disabled || hasParentDisabled(this.root);
|
|
16
|
+
}
|
|
17
|
+
set disabled(value) {
|
|
18
|
+
this._disabled = value;
|
|
19
|
+
}
|
|
20
|
+
handleValueChange(newValue, oldValue) {
|
|
21
|
+
var _a;
|
|
22
|
+
if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
|
|
23
|
+
this.internals.setFormValue(newValue);
|
|
24
|
+
}
|
|
25
|
+
setSelectedNodeByValue(this.root, this.value);
|
|
26
|
+
simulateNativeEvent(this.root, 'input');
|
|
27
|
+
if (oldValue !== newValue) {
|
|
28
|
+
simulateNativeEvent(this.root, 'change');
|
|
29
|
+
}
|
|
30
|
+
forceUpdateTree(this.root);
|
|
31
|
+
}
|
|
32
|
+
handleDisabledChange() {
|
|
33
|
+
if (this.disabled) {
|
|
34
|
+
clearActiveNode(this.root);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
setInitialActiveNode(this.root);
|
|
38
|
+
}
|
|
39
|
+
forceUpdateTree(this.root);
|
|
40
|
+
}
|
|
41
|
+
onClick(event) {
|
|
42
|
+
if (this.disabled) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
handleTreeNodeSpecificEvent({
|
|
46
|
+
event,
|
|
47
|
+
onLeaf: leaf => {
|
|
48
|
+
setSelectedNode(this.root, leaf);
|
|
49
|
+
},
|
|
50
|
+
onBranch: branch => {
|
|
51
|
+
branch.expanded = !branch.expanded;
|
|
52
|
+
setSelectedNode(this.root, branch);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
handleKeydown(event) {
|
|
57
|
+
if (this.disabled) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
switch (event.key) {
|
|
61
|
+
case 'ArrowDown':
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
setNextNodeActive(this.root);
|
|
64
|
+
break;
|
|
65
|
+
case 'ArrowUp':
|
|
66
|
+
event.preventDefault();
|
|
67
|
+
setPreviousNodeActive(this.root);
|
|
68
|
+
break;
|
|
69
|
+
case 'Home':
|
|
70
|
+
event.preventDefault();
|
|
71
|
+
setFirstNodeActive(this.root);
|
|
72
|
+
break;
|
|
73
|
+
case 'End':
|
|
74
|
+
event.preventDefault();
|
|
75
|
+
setLastNodeActive(this.root);
|
|
76
|
+
break;
|
|
77
|
+
case 'ArrowLeft':
|
|
78
|
+
case 'ArrowRight':
|
|
79
|
+
case 'Enter':
|
|
80
|
+
handleTreeNodeSpecificEvent({
|
|
81
|
+
event,
|
|
82
|
+
onLeaf: leaf => {
|
|
83
|
+
switch (event.key) {
|
|
84
|
+
case 'ArrowLeft':
|
|
85
|
+
event.preventDefault();
|
|
86
|
+
setParentNodeActive(this.root);
|
|
87
|
+
break;
|
|
88
|
+
case 'Enter':
|
|
89
|
+
event.preventDefault();
|
|
90
|
+
setSelectedNode(this.root, leaf);
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
onBranch: branch => {
|
|
95
|
+
switch (event.key) {
|
|
96
|
+
case 'ArrowRight':
|
|
97
|
+
event.preventDefault();
|
|
98
|
+
if (!branch.expanded) {
|
|
99
|
+
branch.expanded = true;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
setChildNodeActive(this.root, branch);
|
|
103
|
+
}
|
|
104
|
+
break;
|
|
105
|
+
case 'ArrowLeft':
|
|
106
|
+
event.preventDefault();
|
|
107
|
+
if (branch.expanded) {
|
|
108
|
+
branch.expanded = false;
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
setParentNodeActive(this.root);
|
|
112
|
+
}
|
|
113
|
+
break;
|
|
114
|
+
case 'Enter':
|
|
115
|
+
event.preventDefault();
|
|
116
|
+
setSelectedNode(this.root, branch);
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
break;
|
|
122
|
+
default:
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
formAssociatedCallback(form) {
|
|
127
|
+
console.info('Form associated:', form);
|
|
128
|
+
}
|
|
129
|
+
formDisabledCallback() {
|
|
130
|
+
forceUpdateTree(this.root);
|
|
131
|
+
}
|
|
132
|
+
formResetCallback() {
|
|
133
|
+
this.value = '';
|
|
134
|
+
}
|
|
135
|
+
formStateRestoreCallback(state
|
|
136
|
+
// mode: 'restore' | 'autocomplete' // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
137
|
+
) {
|
|
138
|
+
this.value = state;
|
|
139
|
+
}
|
|
140
|
+
componentWillLoad() {
|
|
141
|
+
var _a;
|
|
142
|
+
trackComponent(this.root);
|
|
143
|
+
this.internals.role = 'tree';
|
|
144
|
+
this.root.setAttribute('role', 'tree');
|
|
145
|
+
if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
|
|
146
|
+
this.internals.setFormValue(this.value);
|
|
147
|
+
}
|
|
148
|
+
setSelectedNodeByValue(this.root, this.value);
|
|
149
|
+
setInitialActiveNode(this.root);
|
|
150
|
+
}
|
|
151
|
+
componentDidLoad() {
|
|
152
|
+
this.handleDisabledChange();
|
|
153
|
+
}
|
|
154
|
+
onDefaultSlotchange() {
|
|
155
|
+
forceUpdate(this.root);
|
|
156
|
+
}
|
|
157
|
+
render() {
|
|
158
|
+
return (h(Host, { key: 'd68d924fb23d1120d753fc26001201709f9b417d', class: {
|
|
159
|
+
'gux-compact': this.size === 'compact',
|
|
160
|
+
'gux-end': this.alignment === 'end'
|
|
161
|
+
}, "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", { key: 'f4f7c959b771c0079fbd1b73fc11085db4929d40', onSlotchange: () => this.onDefaultSlotchange() })));
|
|
162
|
+
}
|
|
163
|
+
static get is() { return "gux-tree-beta"; }
|
|
164
|
+
static get encapsulation() { return "shadow"; }
|
|
165
|
+
static get formAssociated() { return true; }
|
|
166
|
+
static get originalStyleUrls() {
|
|
167
|
+
return {
|
|
168
|
+
"$": ["gux-tree.scss"]
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
static get styleUrls() {
|
|
172
|
+
return {
|
|
173
|
+
"$": ["gux-tree.css"]
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
static get properties() {
|
|
177
|
+
return {
|
|
178
|
+
"value": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"attribute": "value",
|
|
181
|
+
"mutable": true,
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "string",
|
|
184
|
+
"resolved": "string",
|
|
185
|
+
"references": {}
|
|
186
|
+
},
|
|
187
|
+
"required": false,
|
|
188
|
+
"optional": false,
|
|
189
|
+
"docs": {
|
|
190
|
+
"tags": [],
|
|
191
|
+
"text": ""
|
|
192
|
+
},
|
|
193
|
+
"getter": false,
|
|
194
|
+
"setter": false,
|
|
195
|
+
"reflect": false
|
|
196
|
+
},
|
|
197
|
+
"disabled": {
|
|
198
|
+
"type": "boolean",
|
|
199
|
+
"attribute": "disabled",
|
|
200
|
+
"mutable": false,
|
|
201
|
+
"complexType": {
|
|
202
|
+
"original": "boolean",
|
|
203
|
+
"resolved": "boolean",
|
|
204
|
+
"references": {}
|
|
205
|
+
},
|
|
206
|
+
"required": false,
|
|
207
|
+
"optional": false,
|
|
208
|
+
"docs": {
|
|
209
|
+
"tags": [],
|
|
210
|
+
"text": ""
|
|
211
|
+
},
|
|
212
|
+
"getter": true,
|
|
213
|
+
"setter": true,
|
|
214
|
+
"reflect": true
|
|
215
|
+
},
|
|
216
|
+
"size": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"attribute": "size",
|
|
219
|
+
"mutable": false,
|
|
220
|
+
"complexType": {
|
|
221
|
+
"original": "GuxTreeSize",
|
|
222
|
+
"resolved": "\"comfy\" | \"compact\"",
|
|
223
|
+
"references": {
|
|
224
|
+
"GuxTreeSize": {
|
|
225
|
+
"location": "import",
|
|
226
|
+
"path": "./gux-tree.types",
|
|
227
|
+
"id": "src/components/beta/gux-tree/gux-tree.types.ts::GuxTreeSize"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"required": false,
|
|
232
|
+
"optional": false,
|
|
233
|
+
"docs": {
|
|
234
|
+
"tags": [],
|
|
235
|
+
"text": ""
|
|
236
|
+
},
|
|
237
|
+
"getter": false,
|
|
238
|
+
"setter": false,
|
|
239
|
+
"reflect": false,
|
|
240
|
+
"defaultValue": "'comfy'"
|
|
241
|
+
},
|
|
242
|
+
"alignment": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"attribute": "alignment",
|
|
245
|
+
"mutable": false,
|
|
246
|
+
"complexType": {
|
|
247
|
+
"original": "GuxTreeAlignment",
|
|
248
|
+
"resolved": "\"end\" | \"start\"",
|
|
249
|
+
"references": {
|
|
250
|
+
"GuxTreeAlignment": {
|
|
251
|
+
"location": "import",
|
|
252
|
+
"path": "./gux-tree.types",
|
|
253
|
+
"id": "src/components/beta/gux-tree/gux-tree.types.ts::GuxTreeAlignment"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"required": false,
|
|
258
|
+
"optional": false,
|
|
259
|
+
"docs": {
|
|
260
|
+
"tags": [],
|
|
261
|
+
"text": ""
|
|
262
|
+
},
|
|
263
|
+
"getter": false,
|
|
264
|
+
"setter": false,
|
|
265
|
+
"reflect": false,
|
|
266
|
+
"defaultValue": "'start'"
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
static get elementRef() { return "root"; }
|
|
271
|
+
static get watchers() {
|
|
272
|
+
return [{
|
|
273
|
+
"propName": "value",
|
|
274
|
+
"methodName": "handleValueChange"
|
|
275
|
+
}, {
|
|
276
|
+
"propName": "disabled",
|
|
277
|
+
"methodName": "handleDisabledChange"
|
|
278
|
+
}];
|
|
279
|
+
}
|
|
280
|
+
static get listeners() {
|
|
281
|
+
return [{
|
|
282
|
+
"name": "click",
|
|
283
|
+
"method": "onClick",
|
|
284
|
+
"target": undefined,
|
|
285
|
+
"capture": false,
|
|
286
|
+
"passive": false
|
|
287
|
+
}, {
|
|
288
|
+
"name": "keydown",
|
|
289
|
+
"method": "handleKeydown",
|
|
290
|
+
"target": undefined,
|
|
291
|
+
"capture": false,
|
|
292
|
+
"passive": false
|
|
293
|
+
}];
|
|
294
|
+
}
|
|
295
|
+
static get attachInternalsMemberName() { return "internals"; }
|
|
296
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { forceUpdate } from "@stencil/core";
|
|
2
|
+
import { whenEventIsFrom } from "../../../utils/dom/when-event-is-from";
|
|
3
|
+
function getTree(node) {
|
|
4
|
+
return node.closest('gux-tree-beta');
|
|
5
|
+
}
|
|
6
|
+
// Utility functions for node type checking
|
|
7
|
+
function isNode(item) {
|
|
8
|
+
const nodeTypes = ['GUX-LEAF', 'GUX-BRANCH'];
|
|
9
|
+
return nodeTypes.includes(item.tagName);
|
|
10
|
+
}
|
|
11
|
+
function isBranchNode(item) {
|
|
12
|
+
return item.tagName === 'GUX-BRANCH';
|
|
13
|
+
}
|
|
14
|
+
function isOpenBranchNode(item) {
|
|
15
|
+
if (item.tagName === 'GUX-BRANCH') {
|
|
16
|
+
return item.expanded;
|
|
17
|
+
}
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
function hasActiveNode(tree) {
|
|
21
|
+
return Boolean(getActiveNode(tree));
|
|
22
|
+
}
|
|
23
|
+
// Core tree traversal functions
|
|
24
|
+
function getAllTreeNodes(tree) {
|
|
25
|
+
const nodes = [];
|
|
26
|
+
function getNodes(element) {
|
|
27
|
+
for (const child of Array.from(element.children)) {
|
|
28
|
+
if (isNode(child)) {
|
|
29
|
+
nodes.push(child);
|
|
30
|
+
}
|
|
31
|
+
if (isBranchNode(child)) {
|
|
32
|
+
getNodes(child);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
getNodes(tree);
|
|
37
|
+
return nodes;
|
|
38
|
+
}
|
|
39
|
+
function getTreeNodes(tree) {
|
|
40
|
+
const nodes = [];
|
|
41
|
+
function getNodes(element) {
|
|
42
|
+
for (const child of Array.from(element.children)) {
|
|
43
|
+
if (isNode(child)) {
|
|
44
|
+
nodes.push(child);
|
|
45
|
+
}
|
|
46
|
+
if (isOpenBranchNode(child)) {
|
|
47
|
+
getNodes(child);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
getNodes(tree);
|
|
52
|
+
return nodes;
|
|
53
|
+
}
|
|
54
|
+
function getAvailableTreeNodes(tree) {
|
|
55
|
+
const availableTreeNodes = getTreeNodes(tree).filter(node => {
|
|
56
|
+
return !node.disabled && !node.filtered;
|
|
57
|
+
});
|
|
58
|
+
return availableTreeNodes;
|
|
59
|
+
}
|
|
60
|
+
// Node getter functions
|
|
61
|
+
function getActiveNode(tree) {
|
|
62
|
+
return getTreeNodes(tree).find(node => node.active);
|
|
63
|
+
}
|
|
64
|
+
function getFirstSelectedNode(tree) {
|
|
65
|
+
return getTreeNodes(tree).find(node => node.selected && !node.disabled && !node.filtered);
|
|
66
|
+
}
|
|
67
|
+
function getFirstNode(tree) {
|
|
68
|
+
return getAvailableTreeNodes(tree)[0];
|
|
69
|
+
}
|
|
70
|
+
function getLastNode(tree) {
|
|
71
|
+
const availableNodes = getAvailableTreeNodes(tree);
|
|
72
|
+
return availableNodes[availableNodes.length - 1];
|
|
73
|
+
}
|
|
74
|
+
function getNextNode(tree) {
|
|
75
|
+
if (hasActiveNode(tree) && getActiveNode(tree) !== getLastNode(tree)) {
|
|
76
|
+
const availableTreeNodes = getAvailableTreeNodes(tree);
|
|
77
|
+
const activeNode = getActiveNode(tree);
|
|
78
|
+
const activeNodeIndex = availableTreeNodes.indexOf(activeNode);
|
|
79
|
+
return availableTreeNodes[activeNodeIndex + 1];
|
|
80
|
+
}
|
|
81
|
+
return getFirstNode(tree);
|
|
82
|
+
}
|
|
83
|
+
function getPreviousNode(tree) {
|
|
84
|
+
if (hasActiveNode(tree)) {
|
|
85
|
+
const availableNodesList = getAvailableTreeNodes(tree);
|
|
86
|
+
const activeNodeIndex = availableNodesList.indexOf(getActiveNode(tree));
|
|
87
|
+
if (getActiveNode(tree) === getFirstNode(tree)) {
|
|
88
|
+
return getLastNode(tree);
|
|
89
|
+
}
|
|
90
|
+
return availableNodesList[activeNodeIndex - 1];
|
|
91
|
+
}
|
|
92
|
+
return getFirstNode(tree);
|
|
93
|
+
}
|
|
94
|
+
function getNodeByValue(tree, value) {
|
|
95
|
+
return getAllTreeNodes(tree).find(node => node.value === value);
|
|
96
|
+
}
|
|
97
|
+
// Core setter functions
|
|
98
|
+
function setActiveNode(tree, element) {
|
|
99
|
+
if (tree.disabled) {
|
|
100
|
+
clearActiveNode(tree);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (element) {
|
|
104
|
+
getTreeNodes(tree).forEach(node => {
|
|
105
|
+
const active = !node.disabled && !node.filtered && node === element;
|
|
106
|
+
node.active = active;
|
|
107
|
+
if (active) {
|
|
108
|
+
tree.setAttribute('aria-activedescendant', node.id);
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
element.scrollIntoView({ block: 'nearest' });
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export function clearActiveNode(tree) {
|
|
115
|
+
getAllTreeNodes(tree).forEach(node => {
|
|
116
|
+
node.active = false;
|
|
117
|
+
});
|
|
118
|
+
tree.removeAttribute('aria-activedescendant');
|
|
119
|
+
}
|
|
120
|
+
function expandAllParents(element) {
|
|
121
|
+
let parent = element.parentElement.closest('gux-branch');
|
|
122
|
+
while (parent) {
|
|
123
|
+
parent.expanded = true;
|
|
124
|
+
parent = parent.parentElement.closest('gux-branch');
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
function setNoSelection(tree) {
|
|
128
|
+
getAllTreeNodes(tree).forEach(node => {
|
|
129
|
+
node.selected = false;
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
// Public API - Active node management
|
|
133
|
+
export function setInitialActiveNode(tree) {
|
|
134
|
+
setActiveNode(tree, getFirstSelectedNode(tree) || getFirstNode(tree));
|
|
135
|
+
}
|
|
136
|
+
export function setFirstNodeActive(tree) {
|
|
137
|
+
setActiveNode(tree, getFirstNode(tree));
|
|
138
|
+
}
|
|
139
|
+
export function setLastNodeActive(tree) {
|
|
140
|
+
setActiveNode(tree, getLastNode(tree));
|
|
141
|
+
}
|
|
142
|
+
export function setNextNodeActive(tree) {
|
|
143
|
+
setActiveNode(tree, getNextNode(tree));
|
|
144
|
+
}
|
|
145
|
+
export function setPreviousNodeActive(tree) {
|
|
146
|
+
setActiveNode(tree, getPreviousNode(tree));
|
|
147
|
+
}
|
|
148
|
+
export function setParentNodeActive(tree) {
|
|
149
|
+
const activeNode = getActiveNode(tree);
|
|
150
|
+
const parentNode = activeNode.parentElement.closest('gux-branch');
|
|
151
|
+
setActiveNode(tree, parentNode);
|
|
152
|
+
}
|
|
153
|
+
export function setChildNodeActive(tree, branch) {
|
|
154
|
+
const node = getActiveNode(branch);
|
|
155
|
+
const availableNodes = getAvailableTreeNodes(node);
|
|
156
|
+
if (availableNodes[0]) {
|
|
157
|
+
setActiveNode(tree, availableNodes[0]);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
// Public API - Selection management
|
|
161
|
+
export function setSelectedNode(tree, element) {
|
|
162
|
+
if (element === null || element === void 0 ? void 0 : element.value) {
|
|
163
|
+
getAllTreeNodes(tree).forEach(node => {
|
|
164
|
+
node.selected = node === element;
|
|
165
|
+
});
|
|
166
|
+
tree.value = element.value;
|
|
167
|
+
element.scrollIntoView({ block: 'nearest' });
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export function setSelectedNodeByValue(tree, value) {
|
|
171
|
+
const element = getNodeByValue(tree, value);
|
|
172
|
+
if (element) {
|
|
173
|
+
expandAllParents(element);
|
|
174
|
+
setSelectedNode(tree, element);
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
setNoSelection(tree);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
export function hasChildSelected(branch) {
|
|
181
|
+
return getAllTreeNodes(branch).some(node => node.selected);
|
|
182
|
+
}
|
|
183
|
+
export function hasParentDisabled(node) {
|
|
184
|
+
let parent = node.parentElement.closest('gux-branch, gux-tree-beta, fieldset');
|
|
185
|
+
while (parent) {
|
|
186
|
+
if (parent.disabled) {
|
|
187
|
+
return true;
|
|
188
|
+
}
|
|
189
|
+
parent = parent.parentElement.closest('gux-branch, gux-tree-beta, fieldset');
|
|
190
|
+
}
|
|
191
|
+
return false;
|
|
192
|
+
}
|
|
193
|
+
export function forceUpdateTree(tree) {
|
|
194
|
+
getAllTreeNodes(tree).forEach(node => {
|
|
195
|
+
forceUpdate(node);
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
export function getTreeSize(node) {
|
|
199
|
+
var _a;
|
|
200
|
+
return (_a = getTree(node)) === null || _a === void 0 ? void 0 : _a.size;
|
|
201
|
+
}
|
|
202
|
+
export function getTreeAlignment(node) {
|
|
203
|
+
var _a;
|
|
204
|
+
return (_a = getTree(node)) === null || _a === void 0 ? void 0 : _a.alignment;
|
|
205
|
+
}
|
|
206
|
+
// Public API - Event handling
|
|
207
|
+
export function handleTreeNodeSpecificEvent({ event, onLeaf, onBranch }) {
|
|
208
|
+
let eventFromLeaf = false;
|
|
209
|
+
whenEventIsFrom('gux-leaf', event, (leaf) => {
|
|
210
|
+
if (leaf.value) {
|
|
211
|
+
onLeaf(leaf);
|
|
212
|
+
eventFromLeaf = true;
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
if (!eventFromLeaf) {
|
|
216
|
+
whenEventIsFrom('gux-branch', event, (branch) => {
|
|
217
|
+
onBranch(branch);
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
export const renderConfig = {
|
|
2
|
+
description: `should render as expected`,
|
|
3
|
+
html: `
|
|
4
|
+
<gux-tree-beta>
|
|
5
|
+
<gux-branch>
|
|
6
|
+
<div slot="label">Projects</div>
|
|
7
|
+
<gux-leaf>
|
|
8
|
+
<div slot="label"> Project-1 </div>
|
|
9
|
+
</gux-leaf>
|
|
10
|
+
<gux-leaf>
|
|
11
|
+
<div slot="label"> Project-2 </div>
|
|
12
|
+
</gux-leaf>
|
|
13
|
+
</gux-branch>
|
|
14
|
+
<gux-branch>
|
|
15
|
+
<div slot="label">Reports</div>
|
|
16
|
+
<gux-branch>
|
|
17
|
+
<div slot="label">2025</div>
|
|
18
|
+
<gux-leaf>
|
|
19
|
+
<div slot="label"> doc 1 </div>
|
|
20
|
+
</gux-leaf>
|
|
21
|
+
<gux-leaf>
|
|
22
|
+
<div slot="label"> doc 2 </div>
|
|
23
|
+
</gux-leaf>
|
|
24
|
+
<gux-leaf>
|
|
25
|
+
<div slot="label"> doc 3 </div>
|
|
26
|
+
</gux-leaf>
|
|
27
|
+
</gux-branch>
|
|
28
|
+
<gux-branch>
|
|
29
|
+
<div slot="label">2024</div>
|
|
30
|
+
</gux-branch>
|
|
31
|
+
</gux-branch>
|
|
32
|
+
<gux-leaf>
|
|
33
|
+
<div slot="label"> Untitled Documents </div>
|
|
34
|
+
</gux-leaf>
|
|
35
|
+
</gux-tree-beta>
|
|
36
|
+
`
|
|
37
|
+
};
|
|
38
|
+
const comfySizeConfig = {
|
|
39
|
+
description: 'should render with comfy size',
|
|
40
|
+
html: `
|
|
41
|
+
<gux-tree-beta size="comfy">
|
|
42
|
+
<gux-branch value="b-1">
|
|
43
|
+
<gux-icon slot="icon" icon-name="fa/code-branch-regular" decorative></gux-icon>
|
|
44
|
+
<div slot="label">Branch 1</div>
|
|
45
|
+
<gux-leaf value="l-1-1">
|
|
46
|
+
<gux-icon slot="icon" icon-name="fa/diamond-regular" decorative></gux-icon>
|
|
47
|
+
<div slot="label">Leaf 1-1</div>
|
|
48
|
+
</gux-leaf>
|
|
49
|
+
</gux-branch>
|
|
50
|
+
<gux-leaf value="l-1">
|
|
51
|
+
<gux-icon slot="icon" icon-name="fa/diamond-regular" decorative></gux-icon>
|
|
52
|
+
<div slot="label">Leaf 1</div>
|
|
53
|
+
</gux-leaf>
|
|
54
|
+
</gux-tree-beta>
|
|
55
|
+
`
|
|
56
|
+
};
|
|
57
|
+
const compactSizeConfig = {
|
|
58
|
+
description: 'should render with compact size',
|
|
59
|
+
html: `
|
|
60
|
+
<gux-tree-beta size="compact">
|
|
61
|
+
<gux-branch value="b-1">
|
|
62
|
+
<gux-icon slot="icon" icon-name="fa/code-branch-regular" decorative></gux-icon>
|
|
63
|
+
<div slot="label">Branch 1</div>
|
|
64
|
+
<gux-leaf value="l-1-1">
|
|
65
|
+
<gux-icon slot="icon" icon-name="fa/diamond-regular" decorative></gux-icon>
|
|
66
|
+
<div slot="label">Leaf 1-1</div>
|
|
67
|
+
</gux-leaf>
|
|
68
|
+
</gux-branch>
|
|
69
|
+
<gux-leaf value="l-1">
|
|
70
|
+
<gux-icon slot="icon" icon-name="fa/diamond-regular" decorative></gux-icon>
|
|
71
|
+
<div slot="label">Leaf 1</div>
|
|
72
|
+
</gux-leaf>
|
|
73
|
+
</gux-tree-beta>
|
|
74
|
+
`
|
|
75
|
+
};
|
|
76
|
+
const startAlignmentConfig = {
|
|
77
|
+
description: 'should render with start alignment',
|
|
78
|
+
html: `
|
|
79
|
+
<gux-tree-beta alignment="start">
|
|
80
|
+
<gux-branch value="b-1">
|
|
81
|
+
<gux-icon slot="icon" icon-name="fa/code-branch-regular" decorative></gux-icon>
|
|
82
|
+
<div slot="label">Branch 1</div>
|
|
83
|
+
<gux-leaf value="l-1-1">
|
|
84
|
+
<gux-icon slot="icon" icon-name="fa/diamond-regular" decorative></gux-icon>
|
|
85
|
+
<div slot="label">Leaf 1-1</div>
|
|
86
|
+
</gux-leaf>
|
|
87
|
+
</gux-branch>
|
|
88
|
+
<gux-leaf value="l-1">
|
|
89
|
+
<gux-icon slot="icon" icon-name="fa/diamond-regular" decorative></gux-icon>
|
|
90
|
+
<div slot="label">Leaf 1</div>
|
|
91
|
+
</gux-leaf>
|
|
92
|
+
</gux-tree-beta>
|
|
93
|
+
`
|
|
94
|
+
};
|
|
95
|
+
const endAlignmentConfig = {
|
|
96
|
+
description: 'should render with end alignment',
|
|
97
|
+
html: `
|
|
98
|
+
<gux-tree-beta alignment="end">
|
|
99
|
+
<gux-branch value="b-1">
|
|
100
|
+
<gux-icon slot="icon" icon-name="fa/code-branch-regular" decorative></gux-icon>
|
|
101
|
+
<div slot="label">Branch 1</div>
|
|
102
|
+
<gux-leaf value="l-1-1">
|
|
103
|
+
<gux-icon slot="icon" icon-name="fa/diamond-regular" decorative></gux-icon>
|
|
104
|
+
<div slot="label">Leaf 1-1</div>
|
|
105
|
+
</gux-leaf>
|
|
106
|
+
</gux-branch>
|
|
107
|
+
<gux-leaf value="l-1">
|
|
108
|
+
<gux-icon slot="icon" icon-name="fa/diamond-regular" decorative></gux-icon>
|
|
109
|
+
<div slot="label">Leaf 1</div>
|
|
110
|
+
</gux-leaf>
|
|
111
|
+
</gux-tree-beta>
|
|
112
|
+
`
|
|
113
|
+
};
|
|
114
|
+
const disabledRenderConfig = {
|
|
115
|
+
description: 'should render a disabled gux-tree-beta',
|
|
116
|
+
html: `
|
|
117
|
+
<gux-tree-beta disabled value="l-1">
|
|
118
|
+
<gux-branch value="b-1">
|
|
119
|
+
<div slot="label">Branch 1</div>
|
|
120
|
+
<gux-leaf value="l-1-1">
|
|
121
|
+
<div slot="label">Leaf 1-1</div>
|
|
122
|
+
</gux-leaf>
|
|
123
|
+
</gux-branch>
|
|
124
|
+
<gux-leaf value="l-1">
|
|
125
|
+
<div slot="label">Leaf 1</div>
|
|
126
|
+
</gux-leaf>
|
|
127
|
+
</gux-tree-beta>
|
|
128
|
+
`
|
|
129
|
+
};
|
|
130
|
+
export const renderConfigs = [
|
|
131
|
+
renderConfig,
|
|
132
|
+
disabledRenderConfig,
|
|
133
|
+
comfySizeConfig,
|
|
134
|
+
compactSizeConfig,
|
|
135
|
+
startAlignmentConfig,
|
|
136
|
+
endAlignmentConfig
|
|
137
|
+
];
|