@soybeanjs/headless 0.0.7 → 0.0.9
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/components/accordion/accordion-content.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
- package/dist/components/accordion/accordion-root.vue.d.ts +4 -4
- package/dist/components/accordion/accordion-trigger.js +1 -1
- package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
- package/dist/components/alert/alert-close.vue.d.ts +2 -2
- package/dist/components/alert/alert-content.vue.d.ts +2 -2
- package/dist/components/alert/alert-description.vue.d.ts +2 -2
- package/dist/components/alert/alert-root.vue.d.ts +4 -4
- package/dist/components/alert/alert-title.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
- package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
- package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
- package/dist/components/arrow/arrow.js +1 -1
- package/dist/components/arrow/arrow.vue.d.ts +2 -18
- package/dist/components/arrow/index.d.ts +1 -2
- package/dist/components/arrow/index.js +1 -1
- package/dist/components/arrow/types.d.ts +1 -15
- package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
- package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
- package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
- package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
- package/dist/components/badge/badge-content.vue.d.ts +2 -2
- package/dist/components/badge/badge-root.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
- package/dist/components/button/button.vue.d.ts +5 -5
- package/dist/components/card/card-content.vue.d.ts +2 -2
- package/dist/components/card/card-description.vue.d.ts +2 -2
- package/dist/components/card/card-footer.vue.d.ts +2 -2
- package/dist/components/card/card-header.vue.d.ts +2 -2
- package/dist/components/card/card-root.vue.d.ts +2 -2
- package/dist/components/card/card-title-root.vue.d.ts +2 -2
- package/dist/components/card/card-title.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-root.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
- package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
- package/dist/components/collapsible/collapsible-trigger.js +1 -1
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/collapsible/types.d.ts +4 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-content.js +1 -1
- package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +6 -6
- package/dist/components/context-menu/index.d.ts +3 -4
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content-impl.js +1 -1
- package/dist/components/dialog/dialog-content.js +1 -1
- package/dist/components/dialog/dialog-content.vue.d.ts +8 -8
- package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
- package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
- package/dist/components/dialog/types.d.ts +1 -1
- package/dist/components/dropdown-menu/context.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +4 -4
- package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
- package/dist/components/dropdown-menu/index.d.ts +3 -4
- package/dist/components/form/form-description.vue.d.ts +2 -2
- package/dist/components/form/form-error.vue.d.ts +2 -2
- package/dist/components/form/form-field-array.vue.d.ts +2 -2
- package/dist/components/form/form-field.vue.d.ts +2 -2
- package/dist/components/form/form-label.vue.d.ts +2 -2
- package/dist/components/input/input-control.vue.d.ts +2 -2
- package/dist/components/input/input-root.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +2 -2
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/layout-footer.vue.d.ts +2 -2
- package/dist/components/layout/layout-header.vue.d.ts +2 -2
- package/dist/components/layout/layout-main.vue.d.ts +2 -2
- package/dist/components/layout/layout-mobile.vue.d.ts +4 -4
- package/dist/components/layout/layout-rail.vue.d.ts +2 -2
- package/dist/components/layout/layout-root.vue.d.ts +4 -4
- package/dist/components/layout/layout-sidebar.vue.d.ts +5 -5
- package/dist/components/layout/layout-tab.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +6 -5
- package/dist/components/link/types.d.ts +6 -1
- package/dist/components/list/list-content.vue.d.ts +2 -2
- package/dist/components/list/list-description.vue.d.ts +2 -2
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list-root.vue.d.ts +2 -2
- package/dist/components/list/list-title.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-filter.vue.d.ts +6 -6
- package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
- package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
- package/dist/components/listbox/listbox-root.vue.d.ts +8 -8
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/index.d.ts +3 -4
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +4 -4
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +6 -6
- package/dist/components/menu/menu-content-impl.js +1 -1
- package/dist/components/menu/menu-content.js +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +11 -11
- package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
- package/dist/components/menu/menu-group.vue.d.ts +2 -2
- package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
- package/dist/components/menu/menu-item.vue.d.ts +6 -6
- package/dist/components/menu/menu-radio-group.vue.d.ts +4 -4
- package/dist/components/menu/menu-radio-item.vue.d.ts +6 -6
- package/dist/components/menu/menu-root.js +1 -1
- package/dist/components/menu/menu-root.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub-content.js +1 -1
- package/dist/components/menu/menu-sub-content.vue.d.ts +10 -10
- package/dist/components/menu/menu-sub-trigger.js +1 -1
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub.js +1 -1
- package/dist/components/menu/menu-sub.vue.d.ts +4 -4
- package/dist/components/menu/shared.js +1 -1
- package/dist/components/menu/types.d.ts +7 -12
- package/dist/components/navigation-menu/navigation-menu-content-impl.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +6 -6
- package/dist/components/navigation-menu/navigation-menu-indicator.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +6 -6
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +7 -6
- package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-trigger.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
- package/dist/components/navigation-menu/types.d.ts +3 -1
- package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
- package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
- package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
- package/dist/components/popover/context.js +1 -1
- package/dist/components/popover/index.d.ts +7 -7
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
- package/dist/components/popover/popover-close.vue.d.ts +4 -4
- package/dist/components/popover/popover-popup.js +1 -0
- package/dist/components/popover/popover-popup.vue.d.ts +18 -0
- package/dist/components/popover/popover-positioner-impl.js +1 -0
- package/dist/components/popover/popover-positioner.js +1 -0
- package/dist/components/popover/{popover-content.vue.d.ts → popover-positioner.vue.d.ts} +10 -10
- package/dist/components/popover/popover-root.js +1 -1
- package/dist/components/popover/popover-root.vue.d.ts +5 -4
- package/dist/components/popover/popover-trigger.js +1 -1
- package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
- package/dist/components/popover/types.d.ts +8 -7
- package/dist/components/popper/context.d.ts +6 -16
- package/dist/components/popper/context.js +1 -1
- package/dist/components/popper/index.d.ts +6 -6
- package/dist/components/popper/index.js +1 -1
- package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
- package/dist/components/popper/popper-arrow.js +1 -1
- package/dist/components/popper/popper-arrow.vue.d.ts +3 -14
- package/dist/components/popper/popper-popup.js +1 -0
- package/dist/components/popper/popper-popup.vue.d.ts +18 -0
- package/dist/components/popper/popper-positioner.js +1 -0
- package/dist/components/popper/{popper-content.vue.d.ts → popper-positioner.vue.d.ts} +24 -24
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/popper/shared.js +1 -1
- package/dist/components/popper/types.d.ts +10 -15
- package/dist/components/portal/portal.vue.d.ts +3 -3
- package/dist/components/primitive/primitive.d.ts +2 -2
- package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-root.vue.d.ts +4 -4
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
- package/dist/components/select/context.js +1 -1
- package/dist/components/select/index.d.ts +3 -3
- package/dist/components/select/select-arrow.js +1 -1
- package/dist/components/select/select-arrow.vue.d.ts +3 -3
- package/dist/components/select/select-bubble-select.js +1 -0
- package/dist/components/select/select-content-impl.js +1 -1
- package/dist/components/select/select-content.js +1 -1
- package/dist/components/select/select-content.vue.d.ts +11 -11
- package/dist/components/select/select-group-label.vue.d.ts +2 -2
- package/dist/components/select/select-group.vue.d.ts +2 -2
- package/dist/components/select/select-item-aligned-popup.js +1 -0
- package/dist/components/select/select-item-aligned-positioner.js +1 -0
- package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
- package/dist/components/select/select-item-text.vue.d.ts +2 -2
- package/dist/components/select/select-item.vue.d.ts +4 -4
- package/dist/components/select/select-popper-popup.js +1 -0
- package/dist/components/select/select-root.js +1 -1
- package/dist/components/select/select-root.vue.d.ts +7 -7
- package/dist/components/select/select-scroll-down-button.vue.d.ts +4 -4
- package/dist/components/select/select-scroll-up-button.vue.d.ts +4 -4
- package/dist/components/select/select-separator.vue.d.ts +2 -2
- package/dist/components/select/select-teleport-provider.js +1 -1
- package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
- package/dist/components/select/select-trigger.vue.d.ts +4 -4
- package/dist/components/select/select-value.vue.d.ts +3 -3
- package/dist/components/select/select-viewport.js +1 -1
- package/dist/components/select/select-viewport.vue.d.ts +2 -2
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/types.d.ts +6 -5
- package/dist/components/separator/separator-label.vue.d.ts +2 -2
- package/dist/components/separator/separator-root.vue.d.ts +3 -3
- package/dist/components/separator/types.d.ts +1 -1
- package/dist/components/slot/slot.d.ts +2 -2
- package/dist/components/switch/switch-control.vue.d.ts +2 -2
- package/dist/components/switch/switch-root.vue.d.ts +4 -4
- package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
- package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
- package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
- package/dist/components/toast/toast-action.vue.d.ts +4 -4
- package/dist/components/toast/toast-close.vue.d.ts +4 -4
- package/dist/components/toast/toast-description.vue.d.ts +2 -2
- package/dist/components/toast/toast-provider.vue.d.ts +3 -3
- package/dist/components/toast/toast-root.vue.d.ts +7 -7
- package/dist/components/toast/toast-title.vue.d.ts +2 -2
- package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
- package/dist/components/tooltip/context.js +1 -1
- package/dist/components/tooltip/index.d.ts +7 -7
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/tooltip-popup.js +1 -0
- package/dist/components/tooltip/tooltip-popup.vue.d.ts +18 -0
- package/dist/components/tooltip/tooltip-positioner-impl.js +1 -0
- package/dist/components/tooltip/tooltip-positioner.js +1 -0
- package/dist/components/tooltip/{tooltip-content.vue.d.ts → tooltip-positioner.vue.d.ts} +8 -8
- package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-trigger.js +1 -1
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
- package/dist/components/tooltip/types.d.ts +7 -6
- package/dist/components/tree/tree-item.vue.d.ts +7 -7
- package/dist/components/tree/tree-root.vue.d.ts +4 -4
- package/dist/components/tree/tree-virtualizer-item.vue.d.ts +6 -6
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +4 -4
- package/dist/components/tree-menu/context.d.ts +8 -0
- package/dist/components/tree-menu/context.js +1 -0
- package/dist/components/tree-menu/index.d.ts +11 -0
- package/dist/components/tree-menu/index.js +1 -0
- package/dist/components/tree-menu/tree-menu-button.js +1 -0
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-collapsible.js +1 -0
- package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-group-label.js +1 -0
- package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +18 -0
- package/dist/components/tree-menu/tree-menu-group-root.js +1 -0
- package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +18 -0
- package/dist/components/tree-menu/tree-menu-group.js +1 -0
- package/dist/components/tree-menu/tree-menu-group.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-item.js +1 -0
- package/dist/components/tree-menu/tree-menu-item.vue.d.ts +22 -0
- package/dist/components/tree-menu/tree-menu-root.js +1 -0
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +31 -0
- package/dist/components/tree-menu/tree-menu-sub.js +1 -0
- package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +22 -0
- package/dist/components/tree-menu/types.d.ts +74 -0
- package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
- package/dist/composables/index.d.ts +4 -2
- package/dist/composables/index.js +1 -1
- package/dist/composables/use-collection.d.ts +6 -6
- package/dist/composables/use-direction.d.ts +2 -2
- package/dist/composables/use-dismissable-layer.d.ts +6 -15
- package/dist/composables/use-dismissable-layer.js +1 -1
- package/dist/composables/use-exposed-element.d.ts +2 -2
- package/dist/composables/use-floating.d.ts +86 -0
- package/dist/composables/use-floating.js +1 -0
- package/dist/composables/use-focus-scope.d.ts +0 -3
- package/dist/composables/use-focus-scope.js +1 -1
- package/dist/composables/use-forward-element.d.ts +2 -2
- package/dist/composables/use-grace-area.d.ts +2 -2
- package/dist/composables/use-grace-area.js +1 -1
- package/dist/composables/use-image-loading-status.d.ts +2 -2
- package/dist/composables/use-is-using-keyboard.d.ts +2 -2
- package/dist/composables/use-kbd.d.ts +2 -2
- package/dist/composables/use-locale.d.ts +2 -2
- package/dist/composables/use-nonce.d.ts +2 -2
- package/dist/composables/use-popup-events.d.ts +23 -0
- package/dist/composables/use-popup-events.js +1 -0
- package/dist/composables/use-presence.d.ts +2 -2
- package/dist/composables/use-props.d.ts +3 -3
- package/dist/composables/use-selection.d.ts +4 -4
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +83 -70
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +395 -371
- package/dist/namespaced/index.js +1 -1
- package/dist/shared/event.js +1 -1
- package/package.json +12 -32
- package/dist/components/arrow/context.d.ts +0 -8
- package/dist/components/arrow/context.js +0 -1
- package/dist/components/dialog/shared.js +0 -1
- package/dist/components/popover/popover-content-impl.js +0 -1
- package/dist/components/popover/popover-content.js +0 -1
- package/dist/components/popper/popper-content.js +0 -1
- package/dist/components/select/bubble-select.js +0 -1
- package/dist/components/select/select-item-aligned-position.js +0 -1
- package/dist/components/select/select-popper-position.js +0 -1
- package/dist/components/tooltip/tooltip-content-impl.js +0 -1
- package/dist/components/tooltip/tooltip-content.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../collapsible/collapsible-root.js";import t from"../collapsible/collapsible-content.js";import n from"../collapsible/collapsible-trigger.js";import{useTreeMenuItemContext as r,useTreeMenuThemeContext as i}from"./context.js";import{computed as a,createBlock as o,createVNode as s,defineComponent as c,normalizeClass as l,openBlock as u,renderSlot as d,unref as f,withCtx as p}from"vue";var m=c({name:`TreeMenuCollapsible`,__name:`tree-menu-collapsible`,props:{disabledCollapsible:{type:Boolean},asChild:{type:Boolean},as:{}},setup(c){let{isExpanded:m,onExpandedToggle:h}=r(`TreeMenuCollapsible`),g=i(),_=a(()=>g?.value?.collapsibleContent);return(r,i)=>(u(),o(f(e),{as:c.as,open:f(m),"onUpdate:open":f(h)},{default:p(()=>[s(f(n),{"as-child":``,"disabled-collapsible":c.disabledCollapsible},{default:p(()=>[d(r.$slots,`trigger`)]),_:3},8,[`disabled-collapsible`]),d(r.$slots,`extra`),s(f(t),{class:l(_.value)},{default:p(()=>[d(r.$slots,`default`)]),_:3},8,[`class`])]),_:3},8,[`as`,`open`,`onUpdate:open`]))}});export{m as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TreeMenuCollapsibleProps } from "./types.js";
|
|
2
|
+
import * as vue885 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/tree-menu-collapsible.vue.d.ts
|
|
5
|
+
declare var __VLS_16: {}, __VLS_18: {}, __VLS_26: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
trigger?: (props: typeof __VLS_16) => any;
|
|
8
|
+
} & {
|
|
9
|
+
extra?: (props: typeof __VLS_18) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_26) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: vue885.DefineComponent<TreeMenuCollapsibleProps, {}, {}, {}, {}, vue885.ComponentOptionsMixin, vue885.ComponentOptionsMixin, {}, string, vue885.PublicProps, Readonly<TreeMenuCollapsibleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue885.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useTreeMenuThemeContext as e}from"./context.js";import{computed as t,createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o}from"vue";var s=r({name:`TreeMenuGroupLabel`,__name:`tree-menu-group-label`,setup(r){let s=e(),c=t(()=>s?.value?.groupLabel);return(e,t)=>(a(),n(`div`,{class:i(c.value)},[o(e.$slots,`default`)],2))}});export{s as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TreeMenuGroupLabelProps } from "./types.js";
|
|
2
|
+
import * as vue856 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/tree-menu-group-label.vue.d.ts
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue856.DefineComponent<TreeMenuGroupLabelProps, {}, {}, {}, {}, vue856.ComponentOptionsMixin, vue856.ComponentOptionsMixin, {}, string, vue856.PublicProps, Readonly<TreeMenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue856.ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useTreeMenuThemeContext as e}from"./context.js";import{computed as t,createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o}from"vue";var s=r({name:`TreeMenuGroupRoot`,__name:`tree-menu-group-root`,setup(r){let s=e(),c=t(()=>s?.value?.groupRoot);return(e,t)=>(a(),n(`div`,{class:i(c.value)},[o(e.$slots,`default`)],2))}});export{s as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TreeMenuGroupRootProps } from "./types.js";
|
|
2
|
+
import * as vue845 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/tree-menu-group-root.vue.d.ts
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue845.DefineComponent<TreeMenuGroupRootProps, {}, {}, {}, {}, vue845.ComponentOptionsMixin, vue845.ComponentOptionsMixin, {}, string, vue845.PublicProps, Readonly<TreeMenuGroupRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue845.ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuThemeContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=i({name:`TreeMenuGroup`,__name:`tree-menu-group`,props:{asChild:{type:Boolean},as:{default:`ul`}},setup(i){let u=t(),d=n(()=>u?.value?.group);return(t,n)=>(o(),r(c(e),{as:i.as,"as-child":i.asChild,class:a(d.value),role:`group`},{default:l(()=>[s(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`]))}});export{u as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
3
|
+
import { TreeMenuGroupProps } from "./types.js";
|
|
4
|
+
import * as vue850 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/tree-menu-group.vue.d.ts
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue850.DefineComponent<TreeMenuGroupProps, {}, {}, {}, {}, vue850.ComponentOptionsMixin, vue850.ComponentOptionsMixin, {}, string, vue850.PublicProps, Readonly<TreeMenuGroupProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue850.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue850.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{provideTreeMenuItemContext as t,useTreeMenuRootContext as n,useTreeMenuThemeContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,normalizeClass as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";var f=o({name:`TreeMenuItem`,__name:`tree-menu-item`,props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`li`}},setup(o){let f=o,{modelValue:p,expanded:m,onExpandedToggle:h,onModelValueChange:g}=n(`TreeMenuItem`),_=r(),v=i(()=>_?.value?.item),y=i(()=>p.value===f.value),b=i(()=>m.value?.includes(f.value));return t({value:f.value,isActive:y,isExpanded:b,onExpandedToggle:()=>{f.disabled||h(f.value)},onActive:()=>{f.disabled||g(f.value)}}),(t,n)=>(c(),a(u(e),{as:o.as,"as-child":o.asChild,class:s(v.value),"data-disabled":o.disabled?``:void 0,"data-active":y.value},{default:d(()=>[l(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`data-disabled`,`data-active`]))}});export{f as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
3
|
+
import { TreeMenuItemProps } from "./types.js";
|
|
4
|
+
import * as vue867 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/tree-menu-item.vue.d.ts
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue867.DefineComponent<TreeMenuItemProps, {}, {}, {}, {}, vue867.ComponentOptionsMixin, vue867.ComponentOptionsMixin, {}, string, vue867.PublicProps, Readonly<TreeMenuItemProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue867.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue867.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useControllableState as e}from"../../composables/use-controllable-state.js";import{provideTreeMenuRootContext as t,useTreeMenuThemeContext as n}from"./context.js";import{computed as r,createElementBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,watch as l}from"vue";const u=[`data-state`];var d=a({name:`TreeMenuRoot`,__name:`tree-menu-root`,props:{modelValue:{},defaultValue:{default:``},expanded:{},defaultExpanded:{default:()=>[]},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:!1}},emits:[`update:modelValue`,`update:expanded`,`update:collapsed`],setup(a,{emit:d}){let f=a,p=d,m=n(),h=r(()=>m?.value?.root),g=e(()=>f.modelValue,e=>{p(`update:modelValue`,e)},f.defaultValue),_=e(()=>f.expanded,e=>{p(`update:expanded`,e??[])},f.defaultExpanded),v=e(()=>f.collapsed,e=>{p(`update:collapsed`,e??!1)},f.defaultCollapsed),y=r(()=>v.value?`collapsed`:`expanded`),b=null;return l(v,e=>{if(e){b=[..._.value??[]],_.value=[];return}b?.length&&(_.value=[...b],b=null)}),t({modelValue:g,expanded:_,collapsed:v}),(e,t)=>(s(),i(`div`,{class:o(h.value),"data-state":y.value},[c(e.$slots,`default`)],10,u))}});export{d as default};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TreeMenuRootProps } from "./types.js";
|
|
2
|
+
import * as vue840 from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/tree-menu/tree-menu-root.vue.d.ts
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: vue840.DefineComponent<TreeMenuRootProps, {}, {}, {}, {}, vue840.ComponentOptionsMixin, vue840.ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
"update:expanded": (value: string[]) => any;
|
|
12
|
+
"update:collapsed": (value: boolean) => any;
|
|
13
|
+
}, string, vue840.PublicProps, Readonly<TreeMenuRootProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
16
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
defaultValue: string;
|
|
19
|
+
defaultExpanded: string[];
|
|
20
|
+
collapsed: boolean;
|
|
21
|
+
defaultCollapsed: boolean;
|
|
22
|
+
}, {}, {}, {}, string, vue840.ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { _default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Primitive as e}from"../primitive/primitive.js";import{useTreeMenuThemeContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=i({name:`TreeMenuSub`,__name:`tree-menu-sub`,props:{asChild:{type:Boolean},as:{default:`ul`}},setup(i){let u=t(),d=n(()=>u?.value?.sub);return(t,n)=>(o(),r(c(e),{as:i.as,"as-child":i.asChild,class:a(d.value),role:`group`},{default:l(()=>[s(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`]))}});export{u as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AsTag } from "../primitive/types.js";
|
|
2
|
+
import "../primitive/index.js";
|
|
3
|
+
import { TreeMenuSubProps } from "./types.js";
|
|
4
|
+
import * as vue890 from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/tree-menu-sub.vue.d.ts
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: vue890.DefineComponent<TreeMenuSubProps, {}, {}, {}, {}, vue890.ComponentOptionsMixin, vue890.ComponentOptionsMixin, {}, string, vue890.PublicProps, Readonly<TreeMenuSubProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue890.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue890.ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { _default };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ClassValue } from "../../types/common.js";
|
|
2
|
+
import "../../types/index.js";
|
|
3
|
+
import { PrimitiveProps } from "../primitive/types.js";
|
|
4
|
+
import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/tree-menu/types.d.ts
|
|
7
|
+
type TreeMenuCollapsedState = 'expanded' | 'collapsed';
|
|
8
|
+
interface TreeMenuRootProps {
|
|
9
|
+
/**
|
|
10
|
+
* the active value of the tree menu. can be bound-with with `v-model`.
|
|
11
|
+
*/
|
|
12
|
+
modelValue?: string;
|
|
13
|
+
/**
|
|
14
|
+
* the value of the tree menu when initially rendered. use when you do not need to control the state of the tree.
|
|
15
|
+
*/
|
|
16
|
+
defaultValue?: string;
|
|
17
|
+
/**
|
|
18
|
+
* the expanded value of the tree menu. can be bound-with with `v-model`.
|
|
19
|
+
*/
|
|
20
|
+
expanded?: string[];
|
|
21
|
+
/**
|
|
22
|
+
* the expanded value of the tree menu when initially rendered. use when you do not need to control the state of the tree.
|
|
23
|
+
*/
|
|
24
|
+
defaultExpanded?: string[];
|
|
25
|
+
/**
|
|
26
|
+
* Whether the tree menu is collapsed.
|
|
27
|
+
*
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
collapsed?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* The value of the tree menu when it's collapsed.
|
|
33
|
+
*/
|
|
34
|
+
defaultCollapsed?: boolean;
|
|
35
|
+
}
|
|
36
|
+
type TreeMenuRootEmits = {
|
|
37
|
+
'update:modelValue': [value: string];
|
|
38
|
+
'update:expanded': [value: string[]];
|
|
39
|
+
'update:collapsed': [value: boolean];
|
|
40
|
+
};
|
|
41
|
+
interface TreeMenuGroupRootProps extends /** @vue-ignore */HTMLAttributes {}
|
|
42
|
+
interface TreeMenuGroupProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
43
|
+
interface TreeMenuGroupLabelProps extends /** @vue-ignore */HTMLAttributes {}
|
|
44
|
+
interface TreeMenuBaseItemProps {
|
|
45
|
+
/**
|
|
46
|
+
* The unique value of the item.
|
|
47
|
+
*/
|
|
48
|
+
value: string;
|
|
49
|
+
/**
|
|
50
|
+
* When `true`, prevents the user from interacting with the item.
|
|
51
|
+
*/
|
|
52
|
+
disabled?: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface TreeMenuItemProps extends TreeMenuBaseItemProps, PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
55
|
+
interface TreeMenuButtonProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
56
|
+
/**
|
|
57
|
+
* When `true`, prevents the user from activating the item.
|
|
58
|
+
*
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
disabledActive?: boolean;
|
|
62
|
+
}
|
|
63
|
+
interface TreeMenuCollapsibleProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
64
|
+
/**
|
|
65
|
+
* When `true`, prevents the user from activating the collapsible trigger.
|
|
66
|
+
*/
|
|
67
|
+
disabledCollapsible?: boolean;
|
|
68
|
+
}
|
|
69
|
+
interface TreeMenuSubProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
70
|
+
type TreeMenuThemeSlot = 'root' | 'groupRoot' | 'groupLabel' | 'group' | 'item' | 'button' | 'sub' | 'subItem' | 'subButton' | 'collapsibleContent';
|
|
71
|
+
type TreeMenuUi = Record<TreeMenuThemeSlot, ClassValue>;
|
|
72
|
+
type TreeMenuThemeContextParams = ComputedRef<Partial<TreeMenuUi>>;
|
|
73
|
+
//#endregion
|
|
74
|
+
export { TreeMenuBaseItemProps, TreeMenuButtonProps, TreeMenuCollapsedState, TreeMenuCollapsibleProps, TreeMenuGroupLabelProps, TreeMenuGroupProps, TreeMenuGroupRootProps, TreeMenuItemProps, TreeMenuRootEmits, TreeMenuRootProps, TreeMenuSubProps, TreeMenuThemeContextParams, TreeMenuThemeSlot, TreeMenuUi };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VirtualizerContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue822 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/virtualizer/virtualizer-content.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
} & {
|
|
9
9
|
default?: (props: typeof __VLS_3) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue822.DefineComponent<VirtualizerContentProps, {}, {}, {}, {}, vue822.ComponentOptionsMixin, vue822.ComponentOptionsMixin, {}, string, vue822.PublicProps, Readonly<VirtualizerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue822.ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VirtualizerItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue827 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/virtualizer/virtualizer-item.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue827.DefineComponent<VirtualizerItemProps, {}, {}, {}, {}, vue827.ComponentOptionsMixin, vue827.ComponentOptionsMixin, {}, string, vue827.PublicProps, Readonly<VirtualizerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue827.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { VirtualizerRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue838 from "vue";
|
|
3
3
|
import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
4
4
|
|
|
5
5
|
//#region src/components/virtualizer/virtualizer-root.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props: __VLS_PrettifyLocal<VirtualizerRootProps<T>> &
|
|
7
|
+
props: vue838.PublicProps & __VLS_PrettifyLocal<VirtualizerRootProps<T>> & (typeof globalThis extends {
|
|
8
8
|
__VLS_PROPS_FALLBACK: infer P;
|
|
9
9
|
} ? P : {});
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNull
|
|
|
16
16
|
}) => any;
|
|
17
17
|
};
|
|
18
18
|
emit: {};
|
|
19
|
-
}>) =>
|
|
19
|
+
}>) => vue838.VNode & {
|
|
20
20
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
21
|
};
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { VisuallyHiddenInputProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue790 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/visually-hidden/visually-hidden-input.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props: __VLS_PrettifyLocal<VisuallyHiddenInputProps<T>> &
|
|
6
|
+
props: vue790.PublicProps & __VLS_PrettifyLocal<VisuallyHiddenInputProps<T>> & (typeof globalThis extends {
|
|
7
7
|
__VLS_PROPS_FALLBACK: infer P;
|
|
8
8
|
} ? P : {});
|
|
9
9
|
expose: (exposed: {}) => void;
|
|
10
10
|
attrs: any;
|
|
11
11
|
slots: {};
|
|
12
12
|
emit: {};
|
|
13
|
-
}>) =>
|
|
13
|
+
}>) => vue790.VNode & {
|
|
14
14
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
15
15
|
};
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { VisuallyHiddenFeature, VisuallyHiddenProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue784 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/visually-hidden/visually-hidden.vue.d.ts
|
|
7
7
|
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
11
|
+
declare const __VLS_base: vue784.DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, vue784.ComponentOptionsMixin, vue784.ComponentOptionsMixin, {}, string, vue784.PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue784.Component;
|
|
13
13
|
feature: VisuallyHiddenFeature;
|
|
14
|
-
}, {}, {}, {}, string,
|
|
14
|
+
}, {}, {}, {}, string, vue784.ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,9 +4,10 @@ import { CollectionItemData, useCollection } from "./use-collection.js";
|
|
|
4
4
|
import { useContext } from "./use-context.js";
|
|
5
5
|
import { useControllableState } from "./use-controllable-state.js";
|
|
6
6
|
import { useDirection } from "./use-direction.js";
|
|
7
|
-
import { UseDismissableLayerOptions,
|
|
7
|
+
import { UseDismissableLayerOptions, useDismissableLayer, useDismissableLayerBranch, useFocusOutside, usePointerdownOutside } from "./use-dismissable-layer.js";
|
|
8
8
|
import { useEscapeKeyDown } from "./use-escape-key-down.js";
|
|
9
9
|
import { useExposedElement } from "./use-exposed-element.js";
|
|
10
|
+
import { UseFloatingOptions, UseFloatingReturn, useFloating } from "./use-floating.js";
|
|
10
11
|
import { useFocusGuards } from "./use-focus-guards.js";
|
|
11
12
|
import { UseFocusScopeOptions, useFocusScope } from "./use-focus-scope.js";
|
|
12
13
|
import { useForwardElement } from "./use-forward-element.js";
|
|
@@ -18,9 +19,10 @@ import { useIsUsingKeyboard } from "./use-is-using-keyboard.js";
|
|
|
18
19
|
import { kbdMap, useKbd } from "./use-kbd.js";
|
|
19
20
|
import { useLocale } from "./use-locale.js";
|
|
20
21
|
import { useNonce } from "./use-nonce.js";
|
|
22
|
+
import { UsePopupEventsOptions, usePopupEvents } from "./use-popup-events.js";
|
|
21
23
|
import { usePresence } from "./use-presence.js";
|
|
22
24
|
import { useOmitProps, usePickProps } from "./use-props.js";
|
|
23
25
|
import { useSelection } from "./use-selection.js";
|
|
24
26
|
import { useStateMachine } from "./use-state-machine.js";
|
|
25
27
|
import { useTypeahead } from "./use-typeahead.js";
|
|
26
|
-
export { CollectionItemData, UseDismissableLayerOptions, UseFocusScopeOptions, UseGraceAreaOptions,
|
|
28
|
+
export { CollectionItemData, UseDismissableLayerOptions, UseFloatingOptions, UseFloatingReturn, UseFocusScopeOptions, UseGraceAreaOptions, UsePopupEventsOptions, kbdMap, useArrowNavigation, useBodyScrollLock, useCollection, useContext, useControllableState, useDirection, useDismissableLayer, useDismissableLayerBranch, useEscapeKeyDown, useExposedElement, useFloating, useFocusGuards, useFocusOutside, useFocusScope, useForwardElement, useForwardListeners, useGraceArea, useHideOthers, useImageLoadingStatus, useIsUsingKeyboard, useKbd, useLocale, useNonce, useOmitProps, usePickProps, usePointerdownOutside, usePopupEvents, usePresence, useSelection, useStateMachine, useTypeahead };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useArrowNavigation as e}from"./use-arrow-navigation.js";import{useBodyScrollLock as t}from"./use-body-scroll-lock.js";import{useContext as n}from"./use-context.js";import{useCollection as r}from"./use-collection.js";import{useControllableState as i}from"./use-controllable-state.js";import{useDirection as a}from"./use-direction.js";import{useEscapeKeyDown as o}from"./use-escape-key-down.js";import{
|
|
1
|
+
import{useArrowNavigation as e}from"./use-arrow-navigation.js";import{useBodyScrollLock as t}from"./use-body-scroll-lock.js";import{useContext as n}from"./use-context.js";import{useCollection as r}from"./use-collection.js";import{useControllableState as i}from"./use-controllable-state.js";import{useDirection as a}from"./use-direction.js";import{useEscapeKeyDown as o}from"./use-escape-key-down.js";import{useDismissableLayer as s,useDismissableLayerBranch as c,useFocusOutside as l,usePointerdownOutside as u}from"./use-dismissable-layer.js";import{useForwardElement as d}from"./use-forward-element.js";import{useExposedElement as f}from"./use-exposed-element.js";import{useFloating as p}from"./use-floating.js";import{useFocusGuards as m}from"./use-focus-guards.js";import{useFocusScope as h}from"./use-focus-scope.js";import{useForwardListeners as g}from"./use-forward-listeners.js";import{useGraceArea as _}from"./use-grace-area.js";import{useHideOthers as v}from"./use-hide-others.js";import{useImageLoadingStatus as y}from"./use-image-loading-status.js";import{useIsUsingKeyboard as b}from"./use-is-using-keyboard.js";import{kbdMap as x,useKbd as S}from"./use-kbd.js";import{useLocale as C}from"./use-locale.js";import{useNonce as w}from"./use-nonce.js";import{usePopupEvents as T}from"./use-popup-events.js";import{useStateMachine as E}from"./use-state-machine.js";import{usePresence as D}from"./use-presence.js";import{useOmitProps as O,usePickProps as k}from"./use-props.js";import{useSelection as A}from"./use-selection.js";import{useTypeahead as j}from"./use-typeahead.js";export{x as kbdMap,e as useArrowNavigation,t as useBodyScrollLock,r as useCollection,n as useContext,i as useControllableState,a as useDirection,s as useDismissableLayer,c as useDismissableLayerBranch,o as useEscapeKeyDown,f as useExposedElement,p as useFloating,m as useFocusGuards,l as useFocusOutside,h as useFocusScope,d as useForwardElement,g as useForwardListeners,_ as useGraceArea,v as useHideOthers,y as useImageLoadingStatus,b as useIsUsingKeyboard,S as useKbd,C as useLocale,w as useNonce,O as useOmitProps,k as usePickProps,u as usePointerdownOutside,T as usePopupEvents,D as usePresence,A as useSelection,E as useStateMachine,j as useTypeahead};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNodeRef } from "../types/vue.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1 from "vue";
|
|
4
4
|
import { MaybeRefOrGetter, Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/composables/use-collection.d.ts
|
|
@@ -16,33 +16,33 @@ interface CollectionItemData<ItemData = Record<string, any>> {
|
|
|
16
16
|
*/
|
|
17
17
|
declare function useCollection<ItemData = Record<string, any>>(collectionName: string): {
|
|
18
18
|
provideCollectionContext: () => {
|
|
19
|
-
containerElement:
|
|
19
|
+
containerElement: vue1.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
20
20
|
onContainerElementChange: (element: HTMLElement) => void;
|
|
21
21
|
itemRegistry: Ref<Map<HTMLElement, CollectionItemData<ItemData>>, Map<HTMLElement, CollectionItemData<ItemData>>>;
|
|
22
22
|
getOrderedItems: (excludeDisabled?: boolean) => CollectionItemData<ItemData>[];
|
|
23
23
|
getOrderedElements: (excludeDisabled?: boolean) => HTMLElement[];
|
|
24
24
|
};
|
|
25
25
|
useCollectionContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: {
|
|
26
|
-
containerElement:
|
|
26
|
+
containerElement: vue1.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
27
27
|
onContainerElementChange: (element: HTMLElement) => void;
|
|
28
28
|
itemRegistry: Ref<Map<HTMLElement, CollectionItemData<ItemData>>, Map<HTMLElement, CollectionItemData<ItemData>>>;
|
|
29
29
|
getOrderedItems: (excludeDisabled?: boolean) => CollectionItemData<ItemData>[];
|
|
30
30
|
getOrderedElements: (excludeDisabled?: boolean) => HTMLElement[];
|
|
31
31
|
} | undefined) => N extends null | undefined ? {
|
|
32
|
-
containerElement:
|
|
32
|
+
containerElement: vue1.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
33
33
|
onContainerElementChange: (element: HTMLElement) => void;
|
|
34
34
|
itemRegistry: Ref<Map<HTMLElement, CollectionItemData<ItemData>>, Map<HTMLElement, CollectionItemData<ItemData>>>;
|
|
35
35
|
getOrderedItems: (excludeDisabled?: boolean) => CollectionItemData<ItemData>[];
|
|
36
36
|
getOrderedElements: (excludeDisabled?: boolean) => HTMLElement[];
|
|
37
37
|
} | null : {
|
|
38
|
-
containerElement:
|
|
38
|
+
containerElement: vue1.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
39
39
|
onContainerElementChange: (element: HTMLElement) => void;
|
|
40
40
|
itemRegistry: Ref<Map<HTMLElement, CollectionItemData<ItemData>>, Map<HTMLElement, CollectionItemData<ItemData>>>;
|
|
41
41
|
getOrderedItems: (excludeDisabled?: boolean) => CollectionItemData<ItemData>[];
|
|
42
42
|
getOrderedElements: (excludeDisabled?: boolean) => HTMLElement[];
|
|
43
43
|
};
|
|
44
44
|
useCollectionItem: (itemData?: MaybeRefOrGetter<ItemData>) => {
|
|
45
|
-
itemElement:
|
|
45
|
+
itemElement: vue1.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
46
46
|
onItemElementChange: (element: HTMLElement) => void;
|
|
47
47
|
setItemElement: (nodeRef: VNodeRef) => void;
|
|
48
48
|
itemProps: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Direction } from "../types/common.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue6 from "vue";
|
|
4
4
|
import { MaybeRefOrGetter } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/composables/use-direction.d.ts
|
|
7
|
-
declare function useDirection(dir?: MaybeRefOrGetter<Direction | undefined>):
|
|
7
|
+
declare function useDirection(dir?: MaybeRefOrGetter<Direction | undefined>): vue6.ComputedRef<Direction>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { useDirection };
|
|
@@ -2,8 +2,8 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../types/event.js";
|
|
|
2
2
|
import { DismissableLayerEmits } from "../types/component.js";
|
|
3
3
|
import { EmitsToHookProps } from "../types/vue.js";
|
|
4
4
|
import "../types/index.js";
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
5
|
+
import * as vue7 from "vue";
|
|
6
|
+
import { MaybeRefOrGetter, ShallowRef } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/composables/use-dismissable-layer.d.ts
|
|
9
9
|
interface UseDismissableLayerOptions extends EmitsToHookProps<DismissableLayerEmits> {
|
|
@@ -16,24 +16,15 @@ interface UseDismissableLayerOptions extends EmitsToHookProps<DismissableLayerEm
|
|
|
16
16
|
/** Handler called when the `DismissableLayer` should be dismissed */
|
|
17
17
|
onDismiss?: () => void;
|
|
18
18
|
}
|
|
19
|
-
declare const layerContext: {
|
|
20
|
-
layers: vue5.ShallowReactive<Set<HTMLElement>>;
|
|
21
|
-
layersWithOutsidePointerEventsDisabled: vue5.ShallowReactive<Set<HTMLElement>>;
|
|
22
|
-
branches: vue5.ShallowReactive<Set<HTMLElement>>;
|
|
23
|
-
};
|
|
24
19
|
/**
|
|
25
20
|
* Composable for creating dismissable layers with outside interaction handling
|
|
26
21
|
*
|
|
27
|
-
* @param
|
|
22
|
+
* @param layerElement - Reference to the dismissable layer element
|
|
28
23
|
* @param options - Configuration options for the dismissable layer
|
|
29
24
|
* @returns Properties and handlers for the dismissable layer
|
|
30
25
|
*/
|
|
31
|
-
declare function useDismissableLayer(
|
|
32
|
-
|
|
33
|
-
computedStyle: vue5.ComputedRef<CSSProperties>;
|
|
34
|
-
layerProps: {
|
|
35
|
-
"data-dismissable-layer": string;
|
|
36
|
-
};
|
|
26
|
+
declare function useDismissableLayer(layerElement: ShallowRef<HTMLElement | undefined>, options?: UseDismissableLayerOptions): {
|
|
27
|
+
pointerEvents: vue7.ComputedRef<"auto" | "none" | undefined>;
|
|
37
28
|
};
|
|
38
29
|
/**
|
|
39
30
|
* Composable for creating dismissable layer branches that don't trigger dismissal
|
|
@@ -57,4 +48,4 @@ declare function useFocusOutside(node: ShallowRef<HTMLElement | undefined>, onFo
|
|
|
57
48
|
onBlurCapture: () => void;
|
|
58
49
|
};
|
|
59
50
|
//#endregion
|
|
60
|
-
export { UseDismissableLayerOptions,
|
|
51
|
+
export { UseDismissableLayerOptions, useDismissableLayer, useDismissableLayerBranch, useFocusOutside, usePointerdownOutside };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isClient as e}from"../shared/env.js";import{handleAndDispatchCustomEvent as t}from"../shared/event.js";import{useEscapeKeyDown as n}from"./use-escape-key-down.js";import{computed as r,nextTick as i,onBeforeUnmount as a,onMounted as o,onWatcherCleanup as s,shallowReactive as c,toValue as l,watch as u,watchEffect as d}from"vue";const f=`data-dismissable-layer`,p={layers:c(new Set),layersWithOutsidePointerEventsDisabled:c(new Set),branches:c(new Set)};let m;function h(e,t={}){let{disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:d,onDismiss:
|
|
1
|
+
import{isClient as e}from"../shared/env.js";import{handleAndDispatchCustomEvent as t}from"../shared/event.js";import{useEscapeKeyDown as n}from"./use-escape-key-down.js";import{computed as r,nextTick as i,onBeforeUnmount as a,onMounted as o,onWatcherCleanup as s,shallowReactive as c,toValue as l,watch as u,watchEffect as d}from"vue";const f=`data-dismissable-layer`,p={layers:c(new Set),layersWithOutsidePointerEventsDisabled:c(new Set),branches:c(new Set)};let m;function h(e,t={}){let{disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:d,onDismiss:f}=t,h=()=>e.value?.ownerDocument??globalThis?.document,g=r(()=>e.value?Array.from(p.layers).indexOf(e.value):-1),y=r(()=>p.layersWithOutsidePointerEventsDisabled.size>0),b=r(()=>{let e=Array.from(p.layers),[t]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),n=t?e.indexOf(t):-1;return g.value>=n}),x=r(()=>{if(y.value)return b.value?`auto`:`none`});return _(e,e=>{if(!b.value)return;let t=e.target;[...p.branches].some(e=>e.contains(t))||(o?.(e),d?.(e),e.defaultPrevented||f?.())}),v(e,e=>{let t=e.target;[...p.branches].some(e=>e.contains(t))||(c?.(e),d?.(e),e.defaultPrevented||f?.())}),n(h,e=>{g.value===p.layers.size-1&&(a?.(e),e.defaultPrevented||(e.preventDefault(),f?.()))}),u(e,e=>{if(!e)return;let t=h(),n=l(i);n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(m=t.body.style.pointerEvents,t.body.style.pointerEvents=`none`),p.layersWithOutsidePointerEventsDisabled.add(e)),p.layers.add(e),s(()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(m?t.body.style.pointerEvents=m:t.body.style.removeProperty(`pointer-events`)),p.layers.delete(e),p.layersWithOutsidePointerEventsDisabled.delete(e)})}),{pointerEvents:x}}function g(e){o(()=>{e.value&&p.branches.add(e.value)}),a(()=>{e.value&&p.branches.delete(e.value)})}function _(n,r,i=!0){let a=!1,o=()=>{};return d(()=>{if(!e||!l(i)||!n.value)return;let c=n.value.ownerDocument;async function u(e){if(!n.value)return;let i=e.target;if(a=y(n.value,i),i&&!a){let n={originalEvent:e};function i(){t(`dismissableLayer.pointerDownOutside`,r,n)}e.pointerType===`touch`?(c.removeEventListener(`click`,o),o=i,c.addEventListener(`click`,o,{once:!0})):i()}else c.removeEventListener(`click`,o);a=!1}let d=window.setTimeout(()=>{c.addEventListener(`pointerdown`,u)},0);s(()=>{window.clearTimeout(d),c.removeEventListener(`pointerdown`,u),c.removeEventListener(`click`,o)})}),{onPointerdownCapture:()=>{l(i)&&(a=!0)}}}function v(n,r,a=!0){let o=!1,c=async e=>{await i(),n.value&&(o=y(n.value,e.target),e.target&&!o&&t(`dismissableLayer.focusOutside`,r,{originalEvent:e}))};return d(()=>{if(!e||!l(a)||!n.value)return;let t=n.value.ownerDocument;t.addEventListener(`focusin`,c),s(()=>{t.removeEventListener(`focusin`,c)})}),{onFocusCapture:()=>{l(a)&&(o=!0)},onBlurCapture:()=>{l(a)&&(o=!1)}}}function y(e,t){if(!e)return!1;let n=t.closest(`[${f}]`);if(!n)return!1;if(e===n)return!0;let r=Array.from(e.ownerDocument.querySelectorAll(`[${f}]`));return r.indexOf(e)<r.indexOf(n)}export{h as useDismissableLayer,g as useDismissableLayerBranch,v as useFocusOutside,_ as usePointerdownOutside};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VNodeRef } from "../types/vue.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue8 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/use-exposed-element.d.ts
|
|
6
6
|
/** Expose the element ref to the parent component. */
|
|
7
|
-
declare function useExposedElement(callback?: (el: HTMLElement) => void): readonly [
|
|
7
|
+
declare function useExposedElement(callback?: (el: HTMLElement) => void): readonly [vue8.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>, (nodeRef: VNodeRef) => void];
|
|
8
8
|
//#endregion
|
|
9
9
|
export { useExposedElement };
|