@soybeanjs/headless 0.0.20 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +3 -3
- package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
- package/dist/components/accordion/context.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/context.d.ts +2 -2
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
- 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/alert-dialog/index.d.ts +5 -5
- package/dist/components/alert-dialog/index.js +1 -1
- package/dist/components/arrow/arrow.vue.d.ts +2 -2
- 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/avatar/context.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/badge/context.d.ts +2 -2
- 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.js +1 -1
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +7 -3
- 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/breadcrumb/context.d.ts +2 -2
- package/dist/components/breadcrumb/index.d.ts +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- 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/card/context.d.ts +2 -2
- package/dist/components/card/index.d.ts +3 -3
- package/dist/components/card/index.js +1 -1
- package/dist/components/checkbox/checkbox-control.js +1 -1
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-root.js +1 -1
- package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
- 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/checkbox/context.d.ts +2 -2
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/collapsible/context.d.ts +2 -2
- package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
- 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 +4 -4
- package/dist/components/context-menu/index.d.ts +9 -9
- package/dist/components/context-menu/index.js +1 -1
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
- 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/index.d.ts +3 -3
- package/dist/components/dialog/index.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.vue.d.ts +4 -4
- package/dist/components/dropdown-menu/index.d.ts +8 -8
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/form/context.d.ts +2 -2
- 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.vue.d.ts +2 -2
- package/dist/components/form/form-label.vue.d.ts +2 -2
- package/dist/components/input/context.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/context.d.ts +2 -2
- package/dist/components/layout/index.d.ts +3 -3
- package/dist/components/layout/index.js +1 -1
- 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.js +1 -1
- package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
- 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 +2 -2
- 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/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +5 -4
- package/dist/components/list/context.d.ts +2 -2
- package/dist/components/list/index.d.ts +1 -1
- package/dist/components/list/index.js +1 -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/context.d.ts +2 -2
- package/dist/components/listbox/index.d.ts +3 -3
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
- 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 +5 -5
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/index.d.ts +10 -10
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-content.vue.d.ts +8 -8
- 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 +4 -4
- package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
- package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-root.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub.vue.d.ts +4 -4
- package/dist/components/navigation-menu/context.d.ts +2 -2
- package/dist/components/navigation-menu/index.d.ts +3 -3
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
- 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.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +6 -4
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
- package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
- 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/number-input/context.d.ts +2 -2
- 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/context.d.ts +2 -2
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.js +1 -1
- 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/index.d.ts +2 -2
- 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.vue.d.ts +2 -2
- package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
- package/dist/components/popover/popover-root.vue.d.ts +4 -4
- package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
- package/dist/components/popper/context.d.ts +2 -2
- 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.vue.d.ts +2 -2
- package/dist/components/popper/popper-popup.vue.d.ts +2 -2
- package/dist/components/popper/popper-positioner.vue.d.ts +48 -48
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/portal/portal.vue.d.ts +3 -3
- package/dist/components/radio-group/context.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.js +1 -1
- package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
- 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.d.ts +2 -2
- package/dist/components/select/index.d.ts +6 -6
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select-arrow.vue.d.ts +2 -2
- package/dist/components/select/select-content.vue.d.ts +6 -6
- 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-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-root.vue.d.ts +5 -5
- package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
- package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
- package/dist/components/select/select-separator.vue.d.ts +2 -2
- 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.vue.d.ts +2 -2
- package/dist/components/separator/context.d.ts +2 -2
- 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/switch/context.d.ts +2 -2
- package/dist/components/switch/switch-control.vue.d.ts +2 -2
- package/dist/components/switch/switch-root.vue.d.ts +3 -3
- package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
- package/dist/components/tabs/context.d.ts +2 -2
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/index.js +1 -1
- 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/context.d.ts +2 -2
- 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/index.d.ts +1 -1
- package/dist/components/toast/index.js +1 -1
- 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 +5 -5
- 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/index.d.ts +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
- package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
- package/dist/components/tree/tree-item.vue.d.ts +5 -5
- package/dist/components/tree/tree-root.vue.d.ts +3 -3
- package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
- package/dist/components/tree-menu/context.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
- package/dist/components/virtualizer/index.d.ts +2 -2
- 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/use-collection.d.ts +6 -6
- package/dist/composables/use-dismissable-layer.d.ts +2 -2
- package/dist/composables/use-exposed-element.d.ts +2 -2
- package/dist/composables/use-forward-element.d.ts +2 -2
- 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-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.d.ts +2 -1
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +47 -47
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +407 -388
- package/dist/namespaced/index.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getDisclosureState as e}from"../../shared/value.js";import{isPointerInGraceArea as t}from"../../shared/geometry.js";import{useContext as n}from"../../composables/use-context.js";import{useUiContext as r}from"../../composables/use-ui-context.js";import{useDirection as i}from"../config-provider/context.js";import{
|
|
1
|
+
import{getDisclosureState as e}from"../../shared/value.js";import{isPointerInGraceArea as t}from"../../shared/geometry.js";import{useContext as n}from"../../composables/use-context.js";import{useUiContext as r}from"../../composables/use-ui-context.js";import{useDirection as i}from"../config-provider/context.js";import{providePopperUi as a}from"../popper/context.js";import{provideSeparatorUi as o}from"../separator/context.js";import{computed as s,ref as c,shallowRef as l,useId as u}from"vue";const[d,f]=n(`Menu`,t=>{let{isRoot:n,open:r}=t,i=e=>{r.value=e},a=s(()=>e(r.value)),o=n?`data-soybean-menu-popup`:`data-soybean-menu-sub-popup`,c=l(),d=e=>{c.value=e},f=l(),p=e=>{f.value=e},m=n?`soybean-menu`:`soybean-menu-sub`,h=l(``),g=()=>{h.value||=`${m}-popup-${u()}`},_=l(``);return{isRoot:n,open:r,onOpenChange:i,dataState:a,dataPopupAttr:o,popupElement:c,onPopupElementChange:d,triggerElement:f,onTriggerElementChange:p,popupId:h,initPopupId:g,triggerId:_,initTriggerId:()=>{_.value||=`${m}-trigger-${u()}`}}}),[p,m]=n(`MenuRoot`,e=>{let t=i(e.dir);return{...e,dir:t}}),[h,g]=n(`MenuContent`,e=>{let{popupElement:n}=e,r=l(``),i=c(null),a=l(0),o=l(`right`),s=c(null),u=e=>{s.value=e},d=()=>{s.value=null},f=e=>{let n=o.value===s.value?.side,r=t(e,s.value?.area);return n&&r};return{searchRef:r,currentItemId:i,popupElement:n,pointerSide:o,pointerGraceTimer:a,pointerGraceIntent:s,onPointerGraceIntentChange:u,resetPointerGraceIntent:d,onItemEnter:f,onItemLeave:e=>{f(e)||(n.value?.focus(),i.value=null)},onTriggerLeave:f}}),[_,v]=n(`MenuCheckboxGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value||=[],t.value.includes(e)?t.value=t.value.filter(t=>t!==e):t.value.push(e)};return{...e,onModelValueChange:n}}),[y,b]=n(`MenuRadioGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value=e};return{...e,onModelValueChange:n}}),[x,S]=n(`MenuItemIndicator`,e=>e),[C,w]=r(`MenuUi`,e=>(a(s(()=>({arrow:e.value?.arrow}))),o(s(()=>({root:e.value?.separator}))),e));export{_ as provideMenuCheckboxGroupContext,h as provideMenuContentContext,d as provideMenuContext,x as provideMenuItemIndicatorContext,y as provideMenuRadioGroupContext,p as provideMenuRootContext,C as provideMenuUi,v as useMenuCheckboxGroupContext,g as useMenuContentContext,f as useMenuContext,S as useMenuItemIndicatorContext,b as useMenuRadioGroupContext,m as useMenuRootContext,w as useMenuUi};
|
|
@@ -2,22 +2,22 @@ import { PortalProps } from "../portal/types.js";
|
|
|
2
2
|
import { _default as _default$9 } from "../portal/portal.vue.js";
|
|
3
3
|
import { PopperAnchorProps, PopperArrowProps } from "../popper/types.js";
|
|
4
4
|
import { MenuCheckboxGroupEmits, MenuCheckboxGroupProps, MenuCheckboxItemEmits, MenuCheckboxItemProps, MenuContentEmits, MenuContentProps, MenuGroupLabelProps, MenuGroupProps, MenuItemEmits, MenuItemIndicatorProps, MenuItemProps, MenuPopupProps, MenuRadioGroupEmits, MenuRadioGroupProps, MenuRadioItemEmits, MenuRadioItemProps, MenuRootEmits, MenuRootProps, MenuSubContentEmits, MenuSubContentProps, MenuSubEmits, MenuSubProps, MenuSubTriggerProps, MenuTriggerProps, MenuUi, MenuUiSlot } from "./types.js";
|
|
5
|
-
import { SeparatorRootProps } from "../separator/types.js";
|
|
6
|
-
import { _default as _default$13 } from "../separator/separator-root.vue.js";
|
|
7
|
-
import { _default } from "../popper/popper-anchor.vue.js";
|
|
8
|
-
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
9
5
|
import { _default as _default$12 } from "./menu-root.vue.js";
|
|
10
6
|
import { _default as _default$4 } from "./menu-content.vue.js";
|
|
11
|
-
import { _default
|
|
12
|
-
import { _default as _default$
|
|
13
|
-
import { _default as _default$16 } from "./menu-sub-trigger.vue.js";
|
|
7
|
+
import { _default } from "../popper/popper-anchor.vue.js";
|
|
8
|
+
import { _default as _default$1 } from "../popper/popper-arrow.vue.js";
|
|
14
9
|
import { _default as _default$5 } from "./menu-group.vue.js";
|
|
15
10
|
import { _default as _default$6 } from "./menu-group-label.vue.js";
|
|
16
11
|
import { _default as _default$7 } from "./menu-item.vue.js";
|
|
17
|
-
import { _default as _default$
|
|
12
|
+
import { _default as _default$8 } from "./menu-item-indicator.vue.js";
|
|
18
13
|
import { _default as _default$3 } from "./menu-checkbox-item.vue.js";
|
|
19
|
-
import { _default as _default$10 } from "./menu-radio-group.vue.js";
|
|
20
14
|
import { _default as _default$11 } from "./menu-radio-item.vue.js";
|
|
21
|
-
import { _default as _default$
|
|
15
|
+
import { _default as _default$14 } from "./menu-sub.vue.js";
|
|
16
|
+
import { _default as _default$16 } from "./menu-sub-trigger.vue.js";
|
|
17
|
+
import { _default as _default$15 } from "./menu-sub-content.vue.js";
|
|
18
|
+
import { SeparatorRootProps } from "../separator/types.js";
|
|
19
|
+
import { _default as _default$13 } from "../separator/separator-root.vue.js";
|
|
20
|
+
import { _default as _default$2 } from "./menu-checkbox-group.vue.js";
|
|
21
|
+
import { _default as _default$10 } from "./menu-radio-group.vue.js";
|
|
22
22
|
import { provideMenuUi, useMenuUi } from "./context.js";
|
|
23
23
|
export { _default as MenuAnchor, type PopperAnchorProps as MenuAnchorProps, _default$1 as MenuArrow, type PopperArrowProps as MenuArrowProps, _default$2 as MenuCheckboxGroup, type MenuCheckboxGroupEmits, type MenuCheckboxGroupProps, _default$3 as MenuCheckboxItem, type MenuCheckboxItemEmits, type MenuCheckboxItemProps, _default$4 as MenuContent, type MenuContentEmits, type MenuContentProps, _default$5 as MenuGroup, _default$6 as MenuGroupLabel, type MenuGroupLabelProps, type MenuGroupProps, _default$7 as MenuItem, type MenuItemEmits, _default$8 as MenuItemIndicator, type MenuItemIndicatorProps, type MenuItemProps, type MenuPopupProps, _default$9 as MenuPortal, type PortalProps as MenuPortalProps, _default$10 as MenuRadioGroup, type MenuRadioGroupEmits, type MenuRadioGroupProps, _default$11 as MenuRadioItem, type MenuRadioItemEmits, type MenuRadioItemProps, _default$12 as MenuRoot, type MenuRootEmits, type MenuRootProps, _default$13 as MenuSeparator, type SeparatorRootProps as MenuSeparatorProps, _default$14 as MenuSub, _default$15 as MenuSubContent, type MenuSubContentEmits, type MenuSubContentProps, type MenuSubEmits, type MenuSubProps, _default$16 as MenuSubTrigger, type MenuSubTriggerProps, type MenuTriggerProps, type MenuUi, type MenuUiSlot, provideMenuUi, useMenuUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../portal/portal.js";import t from"../
|
|
1
|
+
import e from"../portal/portal.js";import t from"../popper/popper-anchor.js";import n from"../popper/popper-arrow.js";import{provideMenuUi as r,useMenuUi as i}from"./context.js";import a from"./menu-root.js";import o from"./menu-content.js";import s from"./menu-group.js";import c from"./menu-group-label.js";import l from"./menu-item.js";import u from"./menu-item-indicator.js";import d from"./menu-checkbox-item.js";import f from"./menu-radio-item.js";import p from"./menu-sub.js";import m from"./menu-sub-trigger.js";import h from"./menu-sub-content.js";import g from"../separator/separator-root.js";import _ from"./menu-checkbox-group.js";import v from"./menu-radio-group.js";export{t as MenuAnchor,n as MenuArrow,_ as MenuCheckboxGroup,d as MenuCheckboxItem,o as MenuContent,s as MenuGroup,c as MenuGroupLabel,l as MenuItem,u as MenuItemIndicator,e as MenuPortal,v as MenuRadioGroup,f as MenuRadioItem,a as MenuRoot,g as MenuSeparator,p as MenuSub,h as MenuSubContent,m as MenuSubTrigger,r as provideMenuUi,i as useMenuUi};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DefinedValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuCheckboxGroupProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1667 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-checkbox-group.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__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<{
|
|
8
|
-
props:
|
|
8
|
+
props: vue1667.PublicProps & __VLS_PrettifyLocal<MenuCheckboxGroupProps<T> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
|
|
|
18
18
|
}) => any;
|
|
19
19
|
};
|
|
20
20
|
emit: (evt: "update:modelValue", value: T[]) => void;
|
|
21
|
-
}>) =>
|
|
21
|
+
}>) => vue1667.VNode & {
|
|
22
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
23
|
};
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckedState } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuCheckboxItemProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1626 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-checkbox-item.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {
|
|
@@ -10,13 +10,13 @@ declare var __VLS_10: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_10) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue1626.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1626.ComponentOptionsMixin, vue1626.ComponentOptionsMixin, {
|
|
14
14
|
select: (event: Event) => any;
|
|
15
15
|
"update:modelValue": (value: CheckedState) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue1626.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
|
|
17
17
|
onSelect?: ((event: Event) => any) | undefined;
|
|
18
18
|
"onUpdate:modelValue"?: ((value: CheckedState) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string,
|
|
19
|
+
}>, {}, {}, {}, {}, string, vue1626.ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
22
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,30 +2,30 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuContentProps } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1621 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/menu/menu-content.vue.d.ts
|
|
8
8
|
declare var __VLS_10: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_10) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue1621.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1621.ComponentOptionsMixin, vue1621.ComponentOptionsMixin, {
|
|
13
13
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
14
|
-
entryFocus: (event: Event) => any;
|
|
15
|
-
closeAutoFocus: (event: Event) => any;
|
|
16
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
17
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
18
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
17
|
+
entryFocus: (event: Event) => any;
|
|
18
|
+
closeAutoFocus: (event: Event) => any;
|
|
19
19
|
openAutoFocus: (event: Event) => any;
|
|
20
|
-
}, string,
|
|
20
|
+
}, string, vue1621.PublicProps, Readonly<MenuContentProps> & Readonly<{
|
|
21
21
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
22
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
23
|
-
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
25
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
26
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
25
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
26
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
27
27
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
28
|
-
}>, {}, {}, {}, {}, string,
|
|
28
|
+
}>, {}, {}, {}, {}, string, vue1621.ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MenuGroupLabelProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1631 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-group-label.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1631.DefineComponent<MenuGroupLabelProps, {}, {}, {}, {}, vue1631.ComponentOptionsMixin, vue1631.ComponentOptionsMixin, {}, string, vue1631.PublicProps, Readonly<MenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1631.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,12 +1,12 @@
|
|
|
1
1
|
import { MenuGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1611 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-group.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: vue1611.DefineComponent<MenuGroupProps, {}, {}, {}, {}, vue1611.ComponentOptionsMixin, vue1611.ComponentOptionsMixin, {}, string, vue1611.PublicProps, Readonly<MenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1611.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,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { MenuItemIndicatorProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1641 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-item-indicator.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 |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1641.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1641.ComponentOptionsMixin, vue1641.ComponentOptionsMixin, {}, string, vue1641.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1641.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1641.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { MenuItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1636 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-item.vue.d.ts
|
|
5
5
|
declare var __VLS_13: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_13) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1636.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1636.ComponentOptionsMixin, vue1636.ComponentOptionsMixin, {
|
|
10
10
|
select: (event: Event) => any;
|
|
11
|
-
}, string,
|
|
11
|
+
}, string, vue1636.PublicProps, Readonly<MenuItemProps> & Readonly<{
|
|
12
12
|
onSelect?: ((event: Event) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string,
|
|
13
|
+
}>, {}, {}, {}, {}, string, vue1636.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AcceptableBooleanValue } from "../../types/common.js";
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuRadioGroupProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1749 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-radio-group.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends AcceptableBooleanValue>(__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<{
|
|
8
|
-
props:
|
|
8
|
+
props: vue1749.PublicProps & __VLS_PrettifyLocal<MenuRadioGroupProps<T> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonN
|
|
|
18
18
|
}) => any;
|
|
19
19
|
};
|
|
20
20
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
21
|
-
}>) =>
|
|
21
|
+
}>) => vue1749.VNode & {
|
|
22
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
23
|
};
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MenuRadioItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1657 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-radio-item.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {
|
|
@@ -8,11 +8,11 @@ declare var __VLS_10: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1657.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1657.ComponentOptionsMixin, vue1657.ComponentOptionsMixin, {
|
|
12
12
|
select: (event: Event) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1657.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
|
|
14
14
|
onSelect?: ((event: Event) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue1657.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MenuRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1616 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-root.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -8,14 +8,14 @@ declare var __VLS_8: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1616.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1616.ComponentOptionsMixin, vue1616.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1616.PublicProps, Readonly<MenuRootProps> & Readonly<{
|
|
14
14
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
open: boolean;
|
|
17
17
|
modal: boolean;
|
|
18
|
-
}, {}, {}, {}, string,
|
|
18
|
+
}, {}, {}, {}, string, vue1616.ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,32 +2,32 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuSubContentProps } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1652 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/menu/menu-sub-content.vue.d.ts
|
|
8
8
|
declare var __VLS_14: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_14) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue1652.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1652.ComponentOptionsMixin, vue1652.ComponentOptionsMixin, {
|
|
13
13
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
14
|
-
entryFocus: (event: Event) => any;
|
|
15
|
-
closeAutoFocus: (event: Event) => any;
|
|
16
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
17
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
18
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
17
|
+
entryFocus: (event: Event) => any;
|
|
18
|
+
closeAutoFocus: (event: Event) => any;
|
|
19
19
|
openAutoFocus: (event: Event) => any;
|
|
20
|
-
}, string,
|
|
20
|
+
}, string, vue1652.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
|
|
21
21
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
22
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
23
|
-
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
25
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
26
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
25
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
26
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
27
27
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
prioritizePosition: boolean;
|
|
30
|
-
}, {}, {}, {}, string,
|
|
30
|
+
}, {}, {}, {}, string, vue1652.ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MenuSubTriggerProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1662 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-sub-trigger.vue.d.ts
|
|
5
5
|
declare var __VLS_19: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_19) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1662.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1662.ComponentOptionsMixin, vue1662.ComponentOptionsMixin, {}, string, vue1662.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1662.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,18 +1,18 @@
|
|
|
1
1
|
import { MenuSubProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1647 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-sub.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: vue1647.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1647.ComponentOptionsMixin, vue1647.ComponentOptionsMixin, {
|
|
10
10
|
"update:open": (value: boolean) => any;
|
|
11
|
-
}, string,
|
|
11
|
+
}, string, vue1647.PublicProps, Readonly<MenuSubProps> & Readonly<{
|
|
12
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
open: boolean;
|
|
15
|
-
}, {}, {}, {}, string,
|
|
15
|
+
}, {}, {}, {}, string, vue1647.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,10 +2,10 @@ import { ClassValue, UiClass } from "../../types/common.js";
|
|
|
2
2
|
import "../../composables/index.js";
|
|
3
3
|
import { NavigationMenuUiSlot } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue286 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/navigation-menu/context.d.ts
|
|
8
8
|
|
|
9
|
-
declare const provideNavigationMenuUi: (ui:
|
|
9
|
+
declare const provideNavigationMenuUi: (ui: vue286.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>) => vue286.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>, useNavigationMenuUi: <S extends NavigationMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NavigationMenuUiSlot ? vue286.ComputedRef<ClassValue> : vue286.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { provideNavigationMenuUi };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NavigationMenuContentEmits, NavigationMenuContentProps, NavigationMenuIndicatorProps, NavigationMenuItemProps, NavigationMenuLinkEmits, NavigationMenuLinkProps, NavigationMenuListProps, NavigationMenuRootEmits, NavigationMenuRootProps, NavigationMenuSubEmits, NavigationMenuSubListProps, NavigationMenuSubProps, NavigationMenuTriggerProps, NavigationMenuUi, NavigationMenuUiSlot, NavigationMenuViewportProps } from "./types.js";
|
|
2
2
|
import { _default as _default$5 } from "./navigation-menu-root.vue.js";
|
|
3
3
|
import { _default as _default$4 } from "./navigation-menu-list.vue.js";
|
|
4
|
-
import { _default as _default$6 } from "./navigation-menu-sub-list.vue.js";
|
|
5
4
|
import { _default as _default$2 } from "./navigation-menu-item.vue.js";
|
|
6
|
-
import { _default as _default$3 } from "./navigation-menu-link.vue.js";
|
|
7
|
-
import { _default } from "./navigation-menu-content.vue.js";
|
|
8
5
|
import { _default as _default$7 } from "./navigation-menu-trigger.vue.js";
|
|
6
|
+
import { _default } from "./navigation-menu-content.vue.js";
|
|
7
|
+
import { _default as _default$3 } from "./navigation-menu-link.vue.js";
|
|
8
|
+
import { _default as _default$6 } from "./navigation-menu-sub-list.vue.js";
|
|
9
9
|
import { _default as _default$8 } from "./navigation-menu-viewport.vue.js";
|
|
10
10
|
import { _default as _default$1 } from "./navigation-menu-indicator.vue.js";
|
|
11
11
|
import { provideNavigationMenuUi } from "./context.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{provideNavigationMenuUi as e}from"./context.js";import t from"./navigation-menu-root.js";import n from"./navigation-menu-list.js";import r from"./navigation-menu-
|
|
1
|
+
import{provideNavigationMenuUi as e}from"./context.js";import t from"./navigation-menu-root.js";import n from"./navigation-menu-list.js";import r from"./navigation-menu-item.js";import i from"./navigation-menu-trigger.js";import a from"./navigation-menu-content.js";import o from"./navigation-menu-link.js";import s from"./navigation-menu-sub-list.js";import c from"./navigation-menu-viewport.js";import l from"./navigation-menu-indicator.js";export{a as NavigationMenuContent,l as NavigationMenuIndicator,r as NavigationMenuItem,o as NavigationMenuLink,n as NavigationMenuList,t as NavigationMenuRoot,s as NavigationMenuSubList,i as NavigationMenuTrigger,c as NavigationMenuViewport,e as provideNavigationMenuUi};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { NavigationMenuContentProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue250 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-content.vue.d.ts
|
|
7
7
|
declare var __VLS_17: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_17) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue250.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue250.ComponentOptionsMixin, vue250.ComponentOptionsMixin, {
|
|
12
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
13
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
14
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
15
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue250.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{
|
|
17
17
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
18
18
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
19
19
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
20
20
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string,
|
|
21
|
+
}>, {}, {}, {}, {}, string, vue250.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
24
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuIndicatorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue281 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-indicator.vue.d.ts
|
|
5
5
|
declare var __VLS_7: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_7) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue281.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue281.ComponentOptionsMixin, vue281.ComponentOptionsMixin, {}, string, vue281.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue281.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,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue271 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-item.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue271.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue271.ComponentOptionsMixin, vue271.ComponentOptionsMixin, {}, string, vue271.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue271.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 +1 @@
|
|
|
1
|
-
import{useOmitProps as e}from"../../composables/use-props.js";import t from"../link/link.js";import{useCollectionItem as n,useNavigationMenuRootContext as r,useNavigationMenuUi as i}from"./context.js";import{EVENT_ROOT_CONTENT_DISMISS as a,LINK_SELECT as o}from"./shared.js";import{computed as s,createBlock as c,defineComponent as l,
|
|
1
|
+
import{useOmitProps as e}from"../../composables/use-props.js";import t from"../link/link.js";import{useCollectionItem as n,useNavigationMenuRootContext as r,useNavigationMenuUi as i}from"./context.js";import{EVENT_ROOT_CONTENT_DISMISS as a,LINK_SELECT as o}from"./shared.js";import{computed as s,createBlock as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,unref as h,withCtx as g}from"vue";var _=l({name:`NavigationMenuLink`,__name:`navigation-menu-link`,props:{active:{type:Boolean},to:{},href:{},disabled:{type:Boolean},inactiveClass:{},external:{type:Boolean},target:{},rel:{},noRel:{type:Boolean},prefetchedClass:{},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},trailingSlash:{},asChild:{type:Boolean},as:{},custom:{type:Boolean},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean},replace:{type:Boolean}},emits:[`select`],setup(l,{emit:_}){let v=l,y=_,{isRoot:b}=r(`NavigationMenuLink`),x=i(),S=s(()=>b?x.value?.link:x.value?.subLink),{itemProps:C,setItemElement:w}=n(),T=e(v,[`active`],C),E=async e=>{let t=new CustomEvent(o,{bubbles:!0,cancelable:!0,detail:{originalEvent:e}});if(y(`select`,t),t.defaultPrevented||e.metaKey)return;let n=new CustomEvent(a,{bubbles:!0,cancelable:!0});e.target?.dispatchEvent(n)};return(e,n)=>(p(),c(t,d(h(T),{ref:h(w),class:S.value,"data-active":l.active?``:void 0,"aria-current":l.active?`page`:void 0,onClick:E}),{default:g(t=>[m(e.$slots,`default`,f(u(t)))]),_:3},16,[`class`,`data-active`,`aria-current`]))}});export{_ as default};
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { NavigationMenuLinkProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue266 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-link.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {
|
|
6
6
|
isHref: boolean;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
isExactActive?: boolean;
|
|
7
9
|
};
|
|
8
10
|
type __VLS_Slots = {} & {
|
|
9
11
|
default?: (props: typeof __VLS_10) => any;
|
|
10
12
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue266.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue266.ComponentOptionsMixin, vue266.ComponentOptionsMixin, {
|
|
12
14
|
select: (payload: CustomEvent<{
|
|
13
15
|
originalEvent: Event;
|
|
14
16
|
}>) => any;
|
|
15
|
-
}, string,
|
|
17
|
+
}, string, vue266.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
|
|
16
18
|
onSelect?: ((payload: CustomEvent<{
|
|
17
19
|
originalEvent: Event;
|
|
18
20
|
}>) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string,
|
|
21
|
+
}>, {}, {}, {}, {}, string, vue266.ComponentProvideOptions, false, {}, any>;
|
|
20
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
23
|
declare const _default: typeof __VLS_export;
|
|
22
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue261 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-list.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue261.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue261.ComponentOptionsMixin, vue261.ComponentOptionsMixin, {}, string, vue261.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue261.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,7 +1,7 @@
|
|
|
1
1
|
import { DataOrientation, Direction } from "../../types/common.js";
|
|
2
2
|
import { NavigationMenuRootProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue245 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-root.vue.d.ts
|
|
7
7
|
declare var __VLS_1: {
|
|
@@ -10,17 +10,17 @@ declare var __VLS_1: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_1) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue245.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue245.ComponentOptionsMixin, vue245.ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: string) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue245.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
dir: Direction;
|
|
19
18
|
orientation: DataOrientation;
|
|
19
|
+
dir: Direction;
|
|
20
20
|
unmountOnHide: boolean;
|
|
21
21
|
delayDuration: number;
|
|
22
22
|
skipDelayDuration: number;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue245.ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuSubListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue388 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-sub-list.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue388.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue388.ComponentOptionsMixin, vue388.ComponentOptionsMixin, {}, string, vue388.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue388.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 & {
|