@soybeanjs/headless 0.0.2-beta.9 → 0.0.3-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -138
- 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/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.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 +4 -4
- package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
- package/dist/components/arrow/arrow.vue.d.ts +5 -5
- 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 +2 -2
- 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 +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/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.vue.d.ts +4 -4
- package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-content.vue.d.ts +6 -6
- 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/dialog/dialog-close.js +1 -1
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content.vue.d.ts +4 -4
- 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 +8 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +6 -6
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -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 +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 +4 -5
- 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 +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 +7 -7
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
- 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 +6 -6
- 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 +6 -6
- 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/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.vue.d.ts +4 -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.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/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/popover-anchor.vue.d.ts +2 -2
- package/dist/components/popover/popover-close.vue.d.ts +4 -4
- package/dist/components/popover/popover-content.vue.d.ts +4 -4
- 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 +5 -5
- 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-content.vue.d.ts +12 -12
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- 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 +3 -3
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
- package/dist/components/select/select-arrow.vue.d.ts +2 -2
- package/dist/components/select/select-content.vue.d.ts +4 -4
- 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 +3 -3
- 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/separator-label.vue.d.ts +2 -2
- package/dist/components/separator/separator-root.vue.d.ts +3 -3
- 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 +3 -3
- 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/context.d.ts +13 -0
- package/dist/components/toast/context.js +1 -0
- package/dist/components/toast/index.d.ts +12 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toast/shared.js +1 -0
- package/dist/components/toast/toast-action.js +1 -0
- package/dist/components/toast/toast-action.vue.d.ts +22 -0
- package/dist/components/toast/toast-announce.js +1 -0
- package/dist/components/toast/toast-close.js +1 -0
- package/dist/components/toast/toast-close.vue.d.ts +22 -0
- package/dist/components/toast/toast-description.js +1 -0
- package/dist/components/toast/toast-description.vue.d.ts +18 -0
- package/dist/components/toast/toast-focus-proxy.js +1 -0
- package/dist/components/toast/toast-provider.js +1 -0
- package/dist/components/toast/toast-provider.vue.d.ts +25 -0
- package/dist/components/toast/toast-root.js +1 -0
- package/dist/components/toast/toast-root.vue.d.ts +48 -0
- package/dist/components/toast/toast-title.js +1 -0
- package/dist/components/toast/toast-title.vue.d.ts +18 -0
- package/dist/components/toast/toast-viewport.js +1 -0
- package/dist/components/toast/toast-viewport.vue.d.ts +24 -0
- package/dist/components/toast/types.d.ts +107 -0
- package/dist/components/tooltip/tooltip-content.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/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-focus-scope.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-presence.d.ts +2 -2
- package/dist/constants/components.d.ts +1 -0
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +24 -14
- package/dist/index.js +1 -1
- package/dist/nuxt/index.js +1 -1
- package/dist/resolver/index.d.ts +2 -2
- package/dist/resolver/index.js +1 -1
- package/dist/shared/dom.d.ts +2 -1
- package/dist/shared/dom.js +1 -1
- package/dist/shared/geometry.d.ts +3 -2
- package/dist/shared/geometry.js +1 -1
- package/dist/shared/index.d.ts +3 -3
- package/dist/shared/index.js +1 -1
- package/dist/types/common.d.ts +2 -1
- package/dist/types/event.d.ts +10 -1
- package/dist/types/index.d.ts +2 -2
- package/package.json +24 -48
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue626 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: vue626.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue626.ComponentOptionsMixin, vue626.ComponentOptionsMixin, {}, string, vue626.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue626.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 { Direction } from "../../types/common.js";
|
|
2
2
|
import { NavigationMenuRootProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue616 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-root.vue.d.ts
|
|
7
7
|
declare var __VLS_1: {
|
|
@@ -10,16 +10,16 @@ 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: vue616.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue616.ComponentOptionsMixin, vue616.ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: string) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue616.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
dir: Direction;
|
|
19
|
-
unmountOnHide: boolean;
|
|
20
19
|
delayDuration: number;
|
|
21
20
|
skipDelayDuration: number;
|
|
22
|
-
|
|
21
|
+
unmountOnHide: boolean;
|
|
22
|
+
}, {}, {}, {}, string, vue616.ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuSubListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue637 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: vue637.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue637.ComponentOptionsMixin, vue637.ComponentOptionsMixin, {}, string, vue637.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue637.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{isNullish as e}from"../../shared/guard.js";import{isMouseEvent as t}from"../../shared/event.js";import{useForwardElement as n}from"../../composables/use-forward-element.js";import{Primitive as r}from"../primitive/primitive.js";import i from"../visually-hidden/visually-hidden.js";import{useCollectionItem as a,useNavigationMenuItemContext as o,useNavigationMenuRootContext as s,useNavigationMenuThemeContext as c}from"./context.js";import{Fragment as l,computed as u,createCommentVNode as d,createElementBlock as f,createVNode as p,defineComponent as m,mergeProps as h,openBlock as g,renderSlot as _,unref as v,useAttrs as y,withCtx as b}from"vue";import{refAutoReset as x}from"@vueuse/core";const S=[`aria-owns`];var C=m({name:`NavigationMenuTrigger`,inheritAttrs:!1,__name:`navigation-menu-trigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(m){let C=m,w=y(),{disableClickTrigger:T,disableHoverTrigger:E,viewportElement:D,onItemSelect:O,onTriggerEnter:k,onTriggerLeave:A}=s(`NavigationMenuTrigger`),{value:j,triggerId:M,contentId:N,open:P,dataState:F,wasEscapeCloseRef:I,onTriggerElementChange:L,setFocusProxyElement:ee,onEntryKeyDown:R,onFocusProxyEnter:z}=o(`NavigationMenuTrigger`),B=c(),V=u(()=>B?.ui?.value?.trigger),{itemProps:H,onItemElementChange:U}=a(),[W,G]=n(e=>{L(e),U(e)}),K=x(!1,300),q=!1,J=()=>{E.value||(q=!1,I.value=!1)},Y=e=>{E.value||t(e)&&(C.disabled||q||I.value||K.value||(k(j),K.value=!0))},X=e=>{E.value||t(e)&&(C.disabled||(A(),K.value=!1))},Z=t=>{(e(t.pointerType)||t.pointerType===`mouse`)&&T.value||K.value||(P.value?O(``):O(j),q=P.value)},Q=e=>{P.value&&e.key===`ArrowDown`&&(R(),e.preventDefault(),e.stopPropagation())},$=e=>{let t=document.getElementById(N),n=e.relatedTarget,r=n===W.value,i=t?.contains(n);(r||!i)&&z(r?`start`:`end`)};return(e,t)=>(g(),f(l,null,[p(v(r),h({...v(w),...v(H)},{id:v(M),ref:v(G),class:V.value,disabled:m.disabled,"data-disabled":m.disabled?``:void 0,"data-state":v(F),"data-navigation-menu-trigger":``,"aria-expanded":v(P),"aria-controls":v(N),onPointerenter:J,onPointermove:Y,onPointerleave:X,onClick:Z,onKeydown:Q}),{default:b(()=>[_(e.$slots,`default`)]),_:3},16,[`id`,`class`,`disabled`,`data-disabled`,`data-state`,`aria-expanded`,`aria-controls`]),v(P)?(g(),f(l,{key:0},[p(v(i),{ref:v(ee),"aria-hidden":`true`,tabindex:0,onFocus:$},null,512),v(D)?(g(),f(`span`,{key:0,"aria-owns":v(N)},null,8,S)):d(`v-if`,!0)],64)):d(`v-if`,!0)],64))}});export{C as default};
|
|
1
|
+
import{isNullish as e}from"../../shared/guard.js";import{isMouseEvent as t}from"../../shared/event.js";import{useForwardElement as n}from"../../composables/use-forward-element.js";import{Primitive as r}from"../primitive/primitive.js";import i from"../visually-hidden/visually-hidden.js";import{useCollectionItem as a,useNavigationMenuItemContext as o,useNavigationMenuRootContext as s,useNavigationMenuThemeContext as c}from"./context.js";import{Fragment as l,computed as u,createCommentVNode as d,createElementBlock as f,createVNode as p,defineComponent as m,mergeProps as h,openBlock as g,renderSlot as _,unref as v,useAttrs as y,withCtx as b}from"vue";import{refAutoReset as x}from"@vueuse/core";const S=[`aria-owns`];var C=m({name:`NavigationMenuTrigger`,inheritAttrs:!1,__name:`navigation-menu-trigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(m){let C=m,w=y(),{disableClickTrigger:T,disableHoverTrigger:E,viewportElement:D,onItemSelect:O,onTriggerEnter:k,onTriggerLeave:A}=s(`NavigationMenuTrigger`),{value:j,triggerId:M,contentId:N,open:P,dataState:F,wasEscapeCloseRef:I,onTriggerElementChange:L,setFocusProxyElement:ee,onEntryKeyDown:R,onFocusProxyEnter:z}=o(`NavigationMenuTrigger`),B=c(),V=u(()=>B?.ui?.value?.trigger),{itemProps:H,onItemElementChange:U}=a(),[W,G]=n(e=>{L(e),U(e)}),K=x(!1,300),q=!1,J=()=>{E.value||(q=!1,I.value=!1)},Y=e=>{E.value||t(e)&&(C.disabled||q||I.value||K.value||(k(j),K.value=!0))},X=e=>{E.value||t(e)&&(C.disabled||(A(),K.value=!1))},Z=t=>{(e(t.pointerType)||t.pointerType===`mouse`)&&T.value||K.value||(P.value?O(``):O(j),q=P.value)},Q=e=>{P.value&&e.key===`ArrowDown`&&(R(),e.preventDefault(),e.stopPropagation())},$=e=>{let t=document.getElementById(N),n=e.relatedTarget,r=n===W.value,i=t?.contains(n);(r||!i)&&z(r?`start`:`end`)};return(e,t)=>(g(),f(l,null,[p(v(r),h({...v(w),...v(H)},{id:v(M),ref:v(G),as:m.as,"as-child":m.asChild,class:V.value,disabled:m.disabled,"data-disabled":m.disabled?``:void 0,"data-state":v(F),"data-navigation-menu-trigger":``,"aria-expanded":v(P),"aria-controls":v(N),onPointerenter:J,onPointermove:Y,onPointerleave:X,onClick:Z,onKeydown:Q}),{default:b(()=>[_(e.$slots,`default`)]),_:3},16,[`id`,`as`,`as-child`,`class`,`disabled`,`data-disabled`,`data-state`,`aria-expanded`,`aria-controls`]),v(P)?(g(),f(l,{key:0},[p(v(i),{ref:v(ee),"aria-hidden":`true`,tabindex:0,onFocus:$},null,512),v(D)?(g(),f(`span`,{key:0,"aria-owns":v(N)},null,8,S)):d(`v-if`,!0)],64)):d(`v-if`,!0)],64))}});export{C as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { NavigationMenuTriggerProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue631 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-trigger.vue.d.ts
|
|
7
7
|
declare var __VLS_13: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_13) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue631.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue631.ComponentOptionsMixin, vue631.ComponentOptionsMixin, {}, string, vue631.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue631.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue631.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 { Align } from "../../types/common.js";
|
|
2
2
|
import { NavigationMenuViewportProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue642 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-viewport.vue.d.ts
|
|
7
7
|
declare var __VLS_1: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_1) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue642.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue642.ComponentOptionsMixin, vue642.ComponentOptionsMixin, {}, string, vue642.PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {
|
|
12
12
|
align: Align;
|
|
13
|
-
}, {}, {}, {}, string,
|
|
13
|
+
}, {}, {}, {}, string, vue642.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,8 +1,8 @@
|
|
|
1
1
|
import { NumberInputControlProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue905 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/number-input/number-input-control.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue905.DefineComponent<NumberInputControlProps, {}, {}, {}, {}, vue905.ComponentOptionsMixin, vue905.ComponentOptionsMixin, {}, string, vue905.PublicProps, Readonly<NumberInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue905.ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { NumberInputDecrementProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue811 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/number-input/number-input-decrement.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue811.DefineComponent<NumberInputDecrementProps, {}, {}, {}, {}, vue811.ComponentOptionsMixin, vue811.ComponentOptionsMixin, {}, string, vue811.PublicProps, Readonly<NumberInputDecrementProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue811.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue811.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 { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { NumberInputIncrementProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue805 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/number-input/number-input-increment.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue805.DefineComponent<NumberInputIncrementProps, {}, {}, {}, {}, vue805.ComponentOptionsMixin, vue805.ComponentOptionsMixin, {}, string, vue805.PublicProps, Readonly<NumberInputIncrementProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue805.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue805.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,5 +1,5 @@
|
|
|
1
1
|
import { NumberInputRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue800 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/number-input/number-input-root.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -9,15 +9,15 @@ declare var __VLS_1: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue800.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue800.ComponentOptionsMixin, vue800.ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (val: number) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue800.PublicProps, Readonly<NumberInputRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
modelValue: number | null;
|
|
18
18
|
step: number;
|
|
19
19
|
stepSnapping: boolean;
|
|
20
|
-
}, {}, {}, {}, string,
|
|
20
|
+
}, {}, {}, {}, string, vue800.ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PaginationEllipsisProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue117 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-ellipsis.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: vue117.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue117.ComponentOptionsMixin, vue117.ComponentOptionsMixin, {}, string, vue117.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue117.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 { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue132 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-first.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: vue132.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue132.ComponentOptionsMixin, vue132.ComponentOptionsMixin, {}, string, vue132.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue132.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 { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue127 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-last.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: vue127.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue127.ComponentOptionsMixin, vue127.ComponentOptionsMixin, {}, string, vue127.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue127.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 { PaginationListItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue102 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-list-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: vue102.DefineComponent<PaginationListItemProps, {}, {}, {}, {}, vue102.ComponentOptionsMixin, vue102.ComponentOptionsMixin, {}, string, vue102.PublicProps, Readonly<PaginationListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue102.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,5 +1,5 @@
|
|
|
1
1
|
import { Pages, PaginationListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue112 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-list.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -8,7 +8,7 @@ declare var __VLS_1: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_1) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue112.DefineComponent<PaginationListProps, {}, {}, {}, {}, vue112.ComponentOptionsMixin, vue112.ComponentOptionsMixin, {}, string, vue112.PublicProps, Readonly<PaginationListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue112.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 { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue122 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-next.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: vue122.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue122.ComponentOptionsMixin, vue122.ComponentOptionsMixin, {}, string, vue122.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue122.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 { PaginationButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue165 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-prev.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: vue165.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue165.ComponentOptionsMixin, vue165.ComponentOptionsMixin, {}, string, vue165.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue165.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,5 +1,5 @@
|
|
|
1
1
|
import { PaginationRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue107 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-root.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {
|
|
@@ -9,16 +9,16 @@ declare var __VLS_1: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_1) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue107.DefineComponent<PaginationRootProps, {}, {}, {}, {}, vue107.ComponentOptionsMixin, vue107.ComponentOptionsMixin, {
|
|
13
13
|
"update:page": (value: number) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue107.PublicProps, Readonly<PaginationRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
defaultPage: number;
|
|
18
18
|
total: number;
|
|
19
19
|
siblingCount: number;
|
|
20
20
|
showEdges: boolean;
|
|
21
|
-
}, {}, {}, {}, string,
|
|
21
|
+
}, {}, {}, {}, string, vue107.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,13 +1,13 @@
|
|
|
1
1
|
import { PopperAnchorProps } from "../popper/types.js";
|
|
2
2
|
import "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue293 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/popover-anchor.vue.d.ts
|
|
6
6
|
declare var __VLS_7: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
default?: (props: typeof __VLS_7) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_base:
|
|
10
|
+
declare const __VLS_base: vue293.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue293.ComponentOptionsMixin, vue293.ComponentOptionsMixin, {}, string, vue293.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue293.ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
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 { PopoverCloseProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue298 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/popover-close.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue298.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue298.ComponentOptionsMixin, vue298.ComponentOptionsMixin, {}, string, vue298.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue298.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue298.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,28 +1,28 @@
|
|
|
1
1
|
import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
|
|
2
2
|
import { PopoverContentProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue304 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/popover-content.vue.d.ts
|
|
7
7
|
declare var __VLS_12: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_12) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue304.DefineComponent<PopoverContentProps, {}, {}, {}, {}, vue304.ComponentOptionsMixin, vue304.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
16
|
openAutoFocus: (event: Event) => any;
|
|
17
17
|
closeAutoFocus: (event: Event) => any;
|
|
18
|
-
}, string,
|
|
18
|
+
}, string, vue304.PublicProps, Readonly<PopoverContentProps> & Readonly<{
|
|
19
19
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
20
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
21
21
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
22
22
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
23
23
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
24
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, string,
|
|
25
|
+
}>, {}, {}, {}, {}, string, vue304.ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopoverRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue288 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popover/popover-root.vue.d.ts
|
|
5
5
|
declare var __VLS_7: {
|
|
@@ -9,14 +9,14 @@ declare var __VLS_7: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_7) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue288.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue288.ComponentOptionsMixin, vue288.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
|
-
}, string,
|
|
14
|
+
}, string, vue288.PublicProps, Readonly<PopoverRootProps> & Readonly<{
|
|
15
15
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
open: boolean;
|
|
18
18
|
defaultOpen: boolean;
|
|
19
|
-
}, {}, {}, {}, string,
|
|
19
|
+
}, {}, {}, {}, string, vue288.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 & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { PopoverTriggerProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue309 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/popover-trigger.vue.d.ts
|
|
7
7
|
declare var __VLS_10: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue309.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue309.ComponentOptionsMixin, vue309.ComponentOptionsMixin, {}, string, vue309.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue309.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue309.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,19 +1,19 @@
|
|
|
1
1
|
import { PopperThemeContextParams } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue43 from "vue";
|
|
3
3
|
import { ReferenceElement } from "@floating-ui/vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popper/context.d.ts
|
|
6
6
|
declare const providePopperRootContext: () => {
|
|
7
|
-
anchorElement:
|
|
7
|
+
anchorElement: vue43.ShallowRef<ReferenceElement | undefined, ReferenceElement | undefined>;
|
|
8
8
|
onAnchorElementChange: (element: ReferenceElement | undefined) => void;
|
|
9
9
|
}, usePopperRootContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: {
|
|
10
|
-
anchorElement:
|
|
10
|
+
anchorElement: vue43.ShallowRef<ReferenceElement | undefined, ReferenceElement | undefined>;
|
|
11
11
|
onAnchorElementChange: (element: ReferenceElement | undefined) => void;
|
|
12
12
|
} | undefined) => N extends null | undefined ? {
|
|
13
|
-
anchorElement:
|
|
13
|
+
anchorElement: vue43.ShallowRef<ReferenceElement | undefined, ReferenceElement | undefined>;
|
|
14
14
|
onAnchorElementChange: (element: ReferenceElement | undefined) => void;
|
|
15
15
|
} | null : {
|
|
16
|
-
anchorElement:
|
|
16
|
+
anchorElement: vue43.ShallowRef<ReferenceElement | undefined, ReferenceElement | undefined>;
|
|
17
17
|
onAnchorElementChange: (element: ReferenceElement | undefined) => void;
|
|
18
18
|
};
|
|
19
19
|
declare const providePopperThemeContext: (params: PopperThemeContextParams) => PopperThemeContextParams, usePopperThemeContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: PopperThemeContextParams | undefined) => N extends null | undefined ? PopperThemeContextParams | null : PopperThemeContextParams;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PopperAnchorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue32 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popper/popper-anchor.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: vue32.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue32.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,13 +1,13 @@
|
|
|
1
1
|
import { ArrowProps } from "../arrow/types.js";
|
|
2
2
|
import "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue47 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popper/popper-arrow.vue.d.ts
|
|
6
6
|
declare var __VLS_6: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
default?: (props: typeof __VLS_6) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_base:
|
|
10
|
+
declare const __VLS_base: vue47.DefineComponent<ArrowProps, {}, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<ArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Align, Placement, Side } from "../../types/common.js";
|
|
2
2
|
import { PopperContentProps } from "./types.js";
|
|
3
3
|
import "../../index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue37 from "vue";
|
|
5
5
|
import { CSSProperties } from "vue";
|
|
6
6
|
import * as _floating_ui_vue0 from "@floating-ui/vue";
|
|
7
7
|
|
|
@@ -10,18 +10,19 @@ 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: vue37.DefineComponent<PopperContentProps, {}, {}, {}, {}, vue37.ComponentOptionsMixin, vue37.ComponentOptionsMixin, {
|
|
14
14
|
placed: () => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue37.PublicProps, Readonly<PopperContentProps> & Readonly<{
|
|
16
16
|
onPlaced?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
dir: string;
|
|
19
|
-
style: string | false | CSSProperties |
|
|
19
|
+
style: string | false | CSSProperties | vue37.StyleValue[] | null;
|
|
20
20
|
title: string;
|
|
21
21
|
contextmenu: string;
|
|
22
22
|
onInput: (payload: InputEvent) => void;
|
|
23
23
|
onSelect: (payload: Event) => void;
|
|
24
24
|
onError: (payload: Event) => void;
|
|
25
|
+
onFocus: (payload: FocusEvent) => void;
|
|
25
26
|
onProgress: (payload: ProgressEvent<EventTarget>) => void;
|
|
26
27
|
onFullscreenchange: (payload: Event) => void;
|
|
27
28
|
onFullscreenerror: (payload: Event) => void;
|
|
@@ -55,7 +56,6 @@ declare const __VLS_base: vue1439.DefineComponent<PopperContentProps, {}, {}, {}
|
|
|
55
56
|
onDurationchange: (payload: Event) => void;
|
|
56
57
|
onEmptied: (payload: Event) => void;
|
|
57
58
|
onEnded: (payload: Event) => void;
|
|
58
|
-
onFocus: (payload: FocusEvent) => void;
|
|
59
59
|
onFocusin: (payload: FocusEvent) => void;
|
|
60
60
|
onFocusout: (payload: FocusEvent) => void;
|
|
61
61
|
onFormdata: (payload: FormDataEvent) => void;
|
|
@@ -113,6 +113,7 @@ declare const __VLS_base: vue1439.DefineComponent<PopperContentProps, {}, {}, {}
|
|
|
113
113
|
onWheel: (payload: WheelEvent) => void;
|
|
114
114
|
onDragexit: (payload: DragEvent) => void;
|
|
115
115
|
onEncrypted: (payload: MediaEncryptedEvent) => void;
|
|
116
|
+
reference: _floating_ui_vue0.ReferenceElement;
|
|
116
117
|
innerHTML: string;
|
|
117
118
|
class: any;
|
|
118
119
|
accesskey: string;
|
|
@@ -198,26 +199,25 @@ declare const __VLS_base: vue1439.DefineComponent<PopperContentProps, {}, {}, {}
|
|
|
198
199
|
'aria-valuemin': string | number;
|
|
199
200
|
'aria-valuenow': string | number;
|
|
200
201
|
'aria-valuetext': string;
|
|
201
|
-
side: Side;
|
|
202
|
-
sideOffset: number;
|
|
203
|
-
align: Align;
|
|
204
|
-
arrowPadding: number;
|
|
205
|
-
updatePositionStrategy: "optimized" | "always";
|
|
206
202
|
floatingRef: (el: HTMLElement) => void;
|
|
207
203
|
placement: Placement;
|
|
204
|
+
side: Side;
|
|
205
|
+
sideOffset: number;
|
|
208
206
|
sideFlip: boolean;
|
|
207
|
+
align: Align;
|
|
209
208
|
alignOffset: number;
|
|
210
209
|
alignFlip: boolean;
|
|
211
210
|
avoidCollisions: boolean;
|
|
212
211
|
collisionBoundary: Element | null | Array<Element | null>;
|
|
213
212
|
collisionPadding: number | Partial<Record<Side, number>>;
|
|
213
|
+
arrowPadding: number;
|
|
214
214
|
sticky: "partial" | "always";
|
|
215
215
|
hideWhenDetached: boolean;
|
|
216
216
|
positionStrategy: "absolute" | "fixed";
|
|
217
|
+
updatePositionStrategy: "optimized" | "always";
|
|
217
218
|
disableUpdateOnLayoutShift: boolean;
|
|
218
219
|
prioritizePosition: boolean;
|
|
219
|
-
|
|
220
|
-
}, {}, {}, {}, string, vue1439.ComponentProvideOptions, false, {}, any>;
|
|
220
|
+
}, {}, {}, {}, string, vue37.ComponentProvideOptions, false, {}, any>;
|
|
221
221
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
222
222
|
declare const _default: typeof __VLS_export;
|
|
223
223
|
type __VLS_WithSlots<T, S> = T & {
|