@soybeanjs/headless 0.0.6-beta.1 → 0.0.6
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 +4 -4
- 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 +7 -5
- package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
- package/dist/components/alert/alert-close.vue.d.ts +2 -2
- package/dist/components/alert/alert-content.vue.d.ts +2 -2
- package/dist/components/alert/alert-description.vue.d.ts +2 -2
- package/dist/components/alert/alert-root.vue.d.ts +4 -4
- package/dist/components/alert/alert-title.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +6 -6
- package/dist/components/arrow/arrow.vue.d.ts +7 -7
- package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +5 -5
- package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
- package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
- package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
- package/dist/components/badge/badge-content.vue.d.ts +2 -2
- package/dist/components/badge/badge-root.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
- package/dist/components/button/button.vue.d.ts +5 -5
- package/dist/components/card/card-content.vue.d.ts +2 -2
- package/dist/components/card/card-description.vue.d.ts +2 -2
- package/dist/components/card/card-footer.vue.d.ts +2 -2
- package/dist/components/card/card-header.vue.d.ts +2 -2
- package/dist/components/card/card-root.vue.d.ts +2 -2
- package/dist/components/card/card-title-root.vue.d.ts +2 -2
- package/dist/components/card/card-title.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-root.vue.d.ts +7 -5
- package/dist/components/checkbox/checkbox-indicator.vue.d.ts +6 -6
- package/dist/components/checkbox/checkbox-label.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
- package/dist/components/collapsible/collapsible-content.vue.d.ts +4 -4
- package/dist/components/collapsible/collapsible-root.vue.d.ts +8 -8
- 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 +4 -4
- package/dist/components/context-menu/context-menu-root.vue.d.ts +6 -6
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +6 -6
- 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/dropdown-menu/dropdown-menu-content.vue.d.ts +4 -4
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +6 -6
- 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 +4 -4
- package/dist/components/input/input-control.vue.d.ts +2 -2
- package/dist/components/input/input-root.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +2 -2
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/layout-footer.vue.d.ts +2 -2
- package/dist/components/layout/layout-header.vue.d.ts +2 -2
- package/dist/components/layout/layout-main.vue.d.ts +2 -2
- package/dist/components/layout/layout-mobile.vue.d.ts +4 -4
- package/dist/components/layout/layout-rail.vue.d.ts +2 -2
- package/dist/components/layout/layout-root.vue.d.ts +4 -4
- package/dist/components/layout/layout-sidebar.vue.d.ts +5 -5
- package/dist/components/layout/layout-tab.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/link/link.vue.d.ts +4 -4
- 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 +6 -6
- package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
- package/dist/components/listbox/listbox-root.vue.d.ts +11 -9
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +7 -5
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-content-impl.js +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +4 -4
- package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
- package/dist/components/menu/menu-group.vue.d.ts +4 -4
- package/dist/components/menu/menu-item-indicator.vue.d.ts +6 -6
- package/dist/components/menu/menu-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-radio-group.vue.d.ts +7 -5
- package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-root.vue.d.ts +6 -6
- package/dist/components/menu/menu-sub-content.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub.vue.d.ts +6 -6
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +6 -6
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +4 -4
- 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 +4 -4
- 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/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 +5 -5
- package/dist/components/popover/popover-anchor.vue.d.ts +4 -4
- 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 +6 -6
- 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 +4 -4
- package/dist/components/popper/popper-arrow.vue.d.ts +4 -4
- package/dist/components/popper/popper-content.vue.d.ts +13 -9
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/portal/portal.vue.d.ts +5 -5
- package/dist/components/radio-group/radio-group-control.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-indicator.vue.d.ts +6 -6
- package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-label.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-root.vue.d.ts +7 -5
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +8 -8
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +5 -5
- package/dist/components/select/select-arrow.vue.d.ts +4 -4
- package/dist/components/select/select-content.vue.d.ts +7 -7
- 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 +6 -6
- 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 +7 -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 +6 -6
- 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 +7 -5
- package/dist/components/switch/switch-thumb.vue.d.ts +6 -6
- package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-indicator.vue.d.ts +4 -4
- package/dist/components/tabs/tabs-list.vue.d.ts +4 -4
- package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
- package/dist/components/tabs/tabs-trigger.vue.d.ts +6 -6
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
- package/dist/components/toast/toast-action.vue.d.ts +4 -4
- package/dist/components/toast/toast-close.vue.d.ts +4 -4
- package/dist/components/toast/toast-description.vue.d.ts +2 -2
- package/dist/components/toast/toast-provider.vue.d.ts +3 -3
- package/dist/components/toast/toast-root.vue.d.ts +7 -7
- package/dist/components/toast/toast-title.vue.d.ts +2 -2
- package/dist/components/toast/toast-viewport.vue.d.ts +6 -6
- package/dist/components/tooltip/tooltip-content.vue.d.ts +6 -6
- package/dist/components/tooltip/tooltip-root.vue.d.ts +6 -6
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +6 -6
- package/dist/components/tree/tree-item.js +1 -1
- package/dist/components/tree/tree-item.vue.d.ts +8 -7
- package/dist/components/tree/tree-root.vue.d.ts +7 -5
- package/dist/components/tree/tree-virtualizer-item.vue.d.ts +7 -6
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +7 -5
- package/dist/components/tree/types.d.ts +1 -1
- package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-item.vue.d.ts +4 -4
- package/dist/components/virtualizer/virtualizer-root.vue.d.ts +7 -5
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +8 -6
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +6 -6
- package/dist/composables/use-direction.d.ts +2 -2
- package/dist/composables/use-dismissable-layer.d.ts +6 -6
- 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-nonce.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/package.json +9 -9
|
@@ -3,20 +3,20 @@ import "../../types/index.js";
|
|
|
3
3
|
import { AsTag } from "../primitive/types.js";
|
|
4
4
|
import "../primitive/index.js";
|
|
5
5
|
import { ListboxItemProps } from "./types.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue861 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/listbox/listbox-item.vue.d.ts
|
|
9
9
|
declare var __VLS_12: {};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_12) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue861.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue861.ComponentOptionsMixin, vue861.ComponentOptionsMixin, {
|
|
14
14
|
select: (event: SelectEvent<string>) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue861.PublicProps, Readonly<ListboxItemProps> & Readonly<{
|
|
16
16
|
onSelect?: ((event: SelectEvent<string>) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
as: AsTag |
|
|
19
|
-
}, {}, {}, {}, string,
|
|
18
|
+
as: AsTag | vue861.Component;
|
|
19
|
+
}, {}, {}, {}, string, vue861.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,18 +1,20 @@
|
|
|
1
1
|
import { CollectionItemData } from "../../composables/use-collection.js";
|
|
2
2
|
import "../../composables/index.js";
|
|
3
3
|
import { ListboxCollectionItemData, ListboxRootProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue738 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/listbox/listbox-root.vue.d.ts
|
|
7
|
-
declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
7
|
+
declare const __VLS_export: <M extends boolean>(__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
8
|
props: __VLS_PrettifyLocal<ListboxRootProps<M> & {
|
|
9
|
-
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
10
9
|
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
10
|
+
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
11
11
|
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
12
12
|
onLeave?: ((event: Event) => any) | undefined;
|
|
13
|
-
}> &
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
}> & vue738.PublicProps & (typeof globalThis extends {
|
|
14
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
15
|
+
} ? P : {});
|
|
16
|
+
expose: (exposed: vue738.ShallowUnwrapRef<{
|
|
17
|
+
highlightedElement: vue738.ShallowRef<HTMLElement | null, HTMLElement | null>;
|
|
16
18
|
highlightItem: (value: string) => void;
|
|
17
19
|
highlightFirstItem: () => void;
|
|
18
20
|
highlightSelected: (event?: Event) => Promise<void>;
|
|
@@ -24,11 +26,11 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
|
|
|
24
26
|
modelValue: (M extends true ? string[] : string) | undefined;
|
|
25
27
|
}) => any;
|
|
26
28
|
};
|
|
27
|
-
emit: ((evt: "
|
|
28
|
-
}>) =>
|
|
29
|
+
emit: ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void);
|
|
30
|
+
}>) => vue738.VNode & {
|
|
29
31
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
32
|
};
|
|
31
33
|
declare const _default: typeof __VLS_export;
|
|
32
|
-
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
34
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
33
35
|
//#endregion
|
|
34
36
|
export { _default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ListboxVirtualizerProps, ListboxVirtualizerSlots } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue888 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/listbox/listbox-virtualizer.vue.d.ts
|
|
5
5
|
type __VLS_Slots = ListboxVirtualizerSlots;
|
|
6
|
-
declare const __VLS_base:
|
|
6
|
+
declare const __VLS_base: vue888.DefineComponent<ListboxVirtualizerProps, {}, {}, {}, {}, vue888.ComponentOptionsMixin, vue888.ComponentOptionsMixin, {}, string, vue888.PublicProps, Readonly<ListboxVirtualizerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue888.ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,13 +1,15 @@
|
|
|
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 vue1089 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-checkbox-group.vue.d.ts
|
|
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">>,
|
|
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
8
|
props: __VLS_PrettifyLocal<MenuCheckboxGroupProps<T> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
10
|
-
}> &
|
|
10
|
+
}> & vue1089.PublicProps & (typeof globalThis extends {
|
|
11
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
+
} ? P : {});
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: {
|
|
@@ -16,10 +18,10 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
|
|
|
16
18
|
}) => any;
|
|
17
19
|
};
|
|
18
20
|
emit: (evt: "update:modelValue", value: T[]) => void;
|
|
19
|
-
}>) =>
|
|
21
|
+
}>) => vue1089.VNode & {
|
|
20
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
23
|
};
|
|
22
24
|
declare const _default: typeof __VLS_export;
|
|
23
|
-
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
25
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
24
26
|
//#endregion
|
|
25
27
|
export { _default };
|
|
@@ -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 vue1091 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-checkbox-item.vue.d.ts
|
|
7
7
|
declare var __VLS_9: {
|
|
@@ -10,13 +10,13 @@ declare var __VLS_9: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_9) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue1091.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1091.ComponentOptionsMixin, vue1091.ComponentOptionsMixin, {
|
|
14
14
|
select: (event: Event) => any;
|
|
15
15
|
"update:modelValue": (value: CheckedState) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue1091.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
|
|
17
17
|
onSelect?: ((event: Event) => any) | undefined;
|
|
18
18
|
"onUpdate:modelValue"?: ((value: CheckedState) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string,
|
|
19
|
+
}>, {}, {}, {}, {}, string, vue1091.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 +1 @@
|
|
|
1
|
-
import{COLLECTION_ITEM_ATTRIBUTE as e}from"../../constants/attr.js";import{useArrowNavigation as t}from"../../composables/use-arrow-navigation.js";import{getActiveElement as n}from"../../shared/dom.js";import{tryFocusFirst as r}from"../../shared/focus.js";import{isMouseEvent as i}from"../../shared/event.js";import{useBodyScrollLock as a}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as o}from"../../composables/use-dismissable-layer.js";import{useForwardElement as s}from"../../composables/use-forward-element.js";import{useExposedElement as c}from"../../composables/use-exposed-element.js";import{useFocusGuards as l}from"../../composables/use-focus-guards.js";import{useFocusScope as u}from"../../composables/use-focus-scope.js";import{useHideOthers as d}from"../../composables/use-hide-others.js";import{useOmitProps as f}from"../../composables/use-props.js";import{useTypeahead as p}from"../../composables/use-typeahead.js";import m from"../roving-focus/roving-focus-group.js";import h from"../popper/popper-content.js";import{provideMenuContentContext as g,useMenuContext as _,useMenuRootContext as v,useMenuSubContext as y}from"./context.js";import{FIRST_LAST_KEYS as ee,LAST_KEYS as te,MENU_CONTENT_DATA_ATTRIBUTE as ne}from"./shared.js";import{createBlock as b,createVNode as x,defineComponent as S,isRef as C,mergeProps as w,onWatcherCleanup as T,openBlock as E,renderSlot as D,unref as O,useAttrs as k,useTemplateRef as A,watchEffect as j,withCtx as M}from"vue";var N=S({name:`MenuContentImpl`,inheritAttrs:!1,__name:`menu-content-impl`,props:{floatingRef:{type:Function},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(S,{emit:N}){let P=S,F=N,I=k(),{onOpenChange:L,dataState:R,onContentElementChange:z}=_(`MenuContentImpl`),{modal:re,dir:B,isUsingKeyboard:V}=v(`MenuContentImpl`),[H,U]=s(P.floatingRef),[W,G]=c(z),{currentItemId:K,searchRef:q,pointerSide:J}=g({contentElement:W}),Y=y(),{handleTypeaheadSearch:X}=p(),Z=A(`rovingFocusGroupRef`),{computedStyle:ie,layerProps:ae}=o(W,{disableOutsidePointerEvents:()=>P.disableOutsidePointerEvents,onEscapeKeyDown:e=>{F(`escapeKeyDown`,e)},onPointerDownOutside:e=>{F(`pointerDownOutside`,e)},onFocusOutside:e=>{F(`focusOutside`,e)},onInteractOutside:e=>{F(`interactOutside`,e)},onDismiss:()=>{Y||L(!1)}}),{onKeydown:oe,focusScopeProps:se}=u(H,{trapped:()=>P.trapFocus,onOpenAutoFocus:e=>{F(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),W.value?.focus({preventScroll:!0}))},onCloseAutoFocus:e=>{F(`closeAutoFocus`,e)}}),Q=f(P,[`disableOutsidePointerEvents`,`trapFocus`,`loop`],I,ae,se),ce=e=>{F(`entryFocus`,e),V.value||e.preventDefault()},le=i=>{if(oe(i),i.defaultPrevented)return;let a=i.target.closest(`[${ne}]`)===i.currentTarget,o=i.ctrlKey||i.altKey||i.metaKey,s=i.key.length===1,c=t(i,n(),W.value,{loop:P.loop,arrowKeyOptions:`vertical`,dir:B.value,focus:!0,attributeName:`[${e}]:not([data-disabled])`});if(c){c.focus();return}if(i.code===`Space`)return;let l=Z.value?.getItems()??[];if(a&&(i.key===`Tab`&&i.preventDefault(),!o&&s&&X(i.key,l)),i.target!==W.value||!ee.includes(i.key))return;i.preventDefault();let u=[...l.map(e=>e.element)];te.includes(i.key)&&u.reverse(),r(u)};function ue(e){if(!e)return;let{currentTarget:t,target:n}=e;t?.contains(n)||(q.value=``)}let $=0;function de(e){if(!i(e))return;let t=e.target,n=$!==e.clientX;e?.currentTarget?.contains(t)&&n&&(J.value=e.clientX>$?`right`:`left`,$=e.clientX)}return l(),d(W,()=>re.value&&!Y),j(()=>{P.disableOutsidePointerEvents&&T(a())}),(e,t)=>(E(),b(O(m),{ref_key:`rovingFocusGroupRef`,ref:Z,"current-tab-stop-id":O(K),"onUpdate:currentTabStopId":t[0]||=e=>C(K)?K.value=e:null,"as-child":``,orientation:`vertical`,dir:O(B),loop:S.loop,onEntryFocus:ce},{default:M(()=>[x(O(h),w(O(Q),{ref:O(G),"floating-ref":O(U),role:`menu`,"data-soybean-menu-content":``,"aria-orientation":`vertical`,"data-state":O(R),dir:O(B),style:O(ie),onKeydown:le,onBlur:ue,onPointermove:de}),{default:M(()=>[D(e.$slots,`default`)]),_:3},16,[`floating-ref`,`data-state`,`dir`,`style`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`]))}});export{N as default};
|
|
1
|
+
import{COLLECTION_ITEM_ATTRIBUTE as e}from"../../constants/attr.js";import{useArrowNavigation as t}from"../../composables/use-arrow-navigation.js";import{getActiveElement as n}from"../../shared/dom.js";import{tryFocusFirst as r}from"../../shared/focus.js";import{isMouseEvent as i}from"../../shared/event.js";import{useBodyScrollLock as a}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as o}from"../../composables/use-dismissable-layer.js";import{useForwardElement as s}from"../../composables/use-forward-element.js";import{useExposedElement as c}from"../../composables/use-exposed-element.js";import{useFocusGuards as l}from"../../composables/use-focus-guards.js";import{useFocusScope as u}from"../../composables/use-focus-scope.js";import{useHideOthers as d}from"../../composables/use-hide-others.js";import{useOmitProps as f}from"../../composables/use-props.js";import{useTypeahead as p}from"../../composables/use-typeahead.js";import m from"../roving-focus/roving-focus-group.js";import h from"../popper/popper-content.js";import{provideMenuContentContext as g,useMenuContext as _,useMenuRootContext as v,useMenuSubContext as y}from"./context.js";import{FIRST_LAST_KEYS as ee,LAST_KEYS as te,MENU_CONTENT_DATA_ATTRIBUTE as ne}from"./shared.js";import{createBlock as b,createVNode as x,defineComponent as S,isRef as C,mergeProps as w,onWatcherCleanup as T,openBlock as E,renderSlot as D,unref as O,useAttrs as k,useTemplateRef as A,watchEffect as j,withCtx as M}from"vue";var N=S({name:`MenuContentImpl`,inheritAttrs:!1,__name:`menu-content-impl`,props:{floatingRef:{type:Function},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(S,{emit:N}){let P=S,F=N,I=k(),{onOpenChange:L,dataState:R,onContentElementChange:z}=_(`MenuContentImpl`),{modal:re,dir:B,isUsingKeyboard:V}=v(`MenuContentImpl`),[H,U]=s(P.floatingRef),[W,G]=c(z),{currentItemId:K,searchRef:q,pointerSide:J}=g({contentElement:W}),Y=y(),{handleTypeaheadSearch:X}=p(),Z=A(`rovingFocusGroupRef`),{computedStyle:ie,layerProps:ae}=o(W,{disableOutsidePointerEvents:()=>P.disableOutsidePointerEvents,onEscapeKeyDown:e=>{F(`escapeKeyDown`,e)},onPointerDownOutside:e=>{F(`pointerDownOutside`,e)},onFocusOutside:e=>{F(`focusOutside`,e)},onInteractOutside:e=>{F(`interactOutside`,e)},onDismiss:()=>{Y||L(!1)}}),{onKeydown:oe,focusScopeProps:se}=u(H,{trapped:()=>P.trapFocus,onOpenAutoFocus:e=>{F(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),W.value?.focus({preventScroll:!0}))},onCloseAutoFocus:e=>{F(`closeAutoFocus`,e)}}),Q=f(P,[`disableOutsidePointerEvents`,`trapFocus`,`loop`],I,ae,se),ce=e=>{F(`entryFocus`,e),V.value||e.preventDefault()},le=i=>{if(oe(i),i.defaultPrevented)return;let a=i.target.closest(`[${ne}]`)===i.currentTarget,o=i.ctrlKey||i.altKey||i.metaKey,s=i.key.length===1,c=t(i,n(),W.value,{loop:P.loop,arrowKeyOptions:`vertical`,dir:B.value,focus:!0,attributeName:`[${e}]:not([data-disabled])`});if(c){c.focus();return}if(i.code===`Space`)return;let l=Z.value?.getItems()??[];if(a&&(i.key===`Tab`&&i.preventDefault(),!o&&s&&X(i.key,l)),i.target!==W.value||!ee.includes(i.key))return;i.preventDefault();let u=[...l.map(e=>e.element)];te.includes(i.key)&&u.reverse(),r(u)};function ue(e){if(!e)return;let{currentTarget:t,target:n}=e;t?.contains(n)||(q.value=``)}let $=0;function de(e){if(!i(e))return;let t=e.target,n=$!==e.clientX;(e?.currentTarget)?.contains(t)&&n&&(J.value=e.clientX>$?`right`:`left`,$=e.clientX)}return l(),d(W,()=>re.value&&!Y),j(()=>{P.disableOutsidePointerEvents&&T(a())}),(e,t)=>(E(),b(O(m),{ref_key:`rovingFocusGroupRef`,ref:Z,"current-tab-stop-id":O(K),"onUpdate:currentTabStopId":t[0]||=e=>C(K)?K.value=e:null,"as-child":``,orientation:`vertical`,dir:O(B),loop:S.loop,onEntryFocus:ce},{default:M(()=>[x(O(h),w(O(Q),{ref:O(G),"floating-ref":O(U),role:`menu`,"data-soybean-menu-content":``,"aria-orientation":`vertical`,"data-state":O(R),dir:O(B),style:O(ie),onKeydown:le,onBlur:ue,onPointermove:de}),{default:M(()=>[D(e.$slots,`default`)]),_:3},16,[`floating-ref`,`data-state`,`dir`,`style`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`]))}});export{N as default};
|
|
@@ -2,14 +2,14 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
|
|
|
2
2
|
import "../../types/index.js";
|
|
3
3
|
import { MenuContentPrivateProps } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1054 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/menu/menu-content.vue.d.ts
|
|
8
8
|
declare var __VLS_9: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_9) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue1054.DefineComponent<MenuContentPrivateProps, {}, {}, {}, {}, vue1054.ComponentOptionsMixin, vue1054.ComponentOptionsMixin, {
|
|
13
13
|
entryFocus: (event: Event) => any;
|
|
14
14
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
15
15
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_base: vue248.DefineComponent<MenuContentPrivateProps, {}, {}
|
|
|
17
17
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
18
18
|
openAutoFocus: (event: Event) => any;
|
|
19
19
|
closeAutoFocus: (event: Event) => any;
|
|
20
|
-
}, string,
|
|
20
|
+
}, string, vue1054.PublicProps, Readonly<MenuContentPrivateProps> & Readonly<{
|
|
21
21
|
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
22
22
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
23
23
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_base: vue248.DefineComponent<MenuContentPrivateProps, {}, {}
|
|
|
25
25
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
26
26
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
27
27
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
28
|
-
}>, {}, {}, {}, {}, string,
|
|
28
|
+
}>, {}, {}, {}, {}, string, vue1054.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 vue1079 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: vue1079.DefineComponent<MenuGroupLabelProps, {}, {}, {}, {}, vue1079.ComponentOptionsMixin, vue1079.ComponentOptionsMixin, {}, string, vue1079.PublicProps, Readonly<MenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1079.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 vue1074 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-group.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1074.DefineComponent<MenuGroupProps, {}, {}, {}, {}, vue1074.ComponentOptionsMixin, vue1074.ComponentOptionsMixin, {}, string, vue1074.PublicProps, Readonly<MenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1074.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 vue1103 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-item-indicator.vue.d.ts
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1103.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1103.ComponentOptionsMixin, vue1103.ComponentOptionsMixin, {}, string, vue1103.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1103.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1103.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 vue1084 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-item.vue.d.ts
|
|
5
5
|
declare var __VLS_12: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_12) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1084.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1084.ComponentOptionsMixin, vue1084.ComponentOptionsMixin, {
|
|
10
10
|
select: (event: Event) => any;
|
|
11
|
-
}, string,
|
|
11
|
+
}, string, vue1084.PublicProps, Readonly<MenuItemProps> & Readonly<{
|
|
12
12
|
onSelect?: ((event: Event) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string,
|
|
13
|
+
}>, {}, {}, {}, {}, string, vue1084.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,13 +1,15 @@
|
|
|
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 vue1096 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-radio-group.vue.d.ts
|
|
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">>,
|
|
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
8
|
props: __VLS_PrettifyLocal<MenuRadioGroupProps<T> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
10
|
-
}> &
|
|
10
|
+
}> & vue1096.PublicProps & (typeof globalThis extends {
|
|
11
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
+
} ? P : {});
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: {
|
|
@@ -16,10 +18,10 @@ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonN
|
|
|
16
18
|
}) => any;
|
|
17
19
|
};
|
|
18
20
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
19
|
-
}>) =>
|
|
21
|
+
}>) => vue1096.VNode & {
|
|
20
22
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
23
|
};
|
|
22
24
|
declare const _default: typeof __VLS_export;
|
|
23
|
-
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
25
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
24
26
|
//#endregion
|
|
25
27
|
export { _default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MenuRadioItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1098 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-radio-item.vue.d.ts
|
|
5
5
|
declare var __VLS_9: {
|
|
@@ -8,11 +8,11 @@ declare var __VLS_9: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_9) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1098.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1098.ComponentOptionsMixin, vue1098.ComponentOptionsMixin, {
|
|
12
12
|
select: (event: Event) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1098.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
|
|
14
14
|
onSelect?: ((event: Event) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue1098.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,21 +1,21 @@
|
|
|
1
1
|
import { MenuRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1049 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-root.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {
|
|
6
6
|
open: boolean | undefined;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1049.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1049.ComponentOptionsMixin, vue1049.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue1049.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, vue1049.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,14 +2,14 @@ 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 vue1064 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/menu/menu-sub-content.vue.d.ts
|
|
8
8
|
declare var __VLS_13: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_13) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue1064.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1064.ComponentOptionsMixin, vue1064.ComponentOptionsMixin, {
|
|
13
13
|
entryFocus: (event: Event) => any;
|
|
14
14
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
15
15
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_base: vue258.DefineComponent<MenuSubContentProps, {}, {}, {}
|
|
|
17
17
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
18
18
|
openAutoFocus: (event: Event) => any;
|
|
19
19
|
closeAutoFocus: (event: Event) => any;
|
|
20
|
-
}, string,
|
|
20
|
+
}, string, vue1064.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
|
|
21
21
|
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
22
22
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
23
23
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_base: vue258.DefineComponent<MenuSubContentProps, {}, {}, {}
|
|
|
27
27
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
prioritizePosition: boolean;
|
|
30
|
-
}, {}, {}, {}, string,
|
|
30
|
+
}, {}, {}, {}, string, vue1064.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 vue1069 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-sub-trigger.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_18: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_18) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1069.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1069.ComponentOptionsMixin, vue1069.ComponentOptionsMixin, {}, string, vue1069.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1069.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 vue1059 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/menu/menu-sub.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1059.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1059.ComponentOptionsMixin, vue1059.ComponentOptionsMixin, {
|
|
10
10
|
"update:open": (value: boolean) => any;
|
|
11
|
-
}, string,
|
|
11
|
+
}, string, vue1059.PublicProps, Readonly<MenuSubProps> & Readonly<{
|
|
12
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
open: boolean;
|
|
15
|
-
}, {}, {}, {}, string,
|
|
15
|
+
}, {}, {}, {}, string, vue1059.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,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 vue1210 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/navigation-menu/navigation-menu-content.vue.d.ts
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_16: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_16) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1210.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue1210.ComponentOptionsMixin, vue1210.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, vue1210.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, vue1210.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 vue1226 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-indicator.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue1226.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1226.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 vue1200 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: vue1200.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue1200.ComponentOptionsMixin, vue1200.ComponentOptionsMixin, {}, string, vue1200.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1200.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 { NavigationMenuLinkProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1205 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/navigation-menu/navigation-menu-link.vue.d.ts
|
|
5
5
|
declare var __VLS_9: {
|
|
@@ -8,15 +8,15 @@ declare var __VLS_9: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_9) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue1205.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue1205.ComponentOptionsMixin, vue1205.ComponentOptionsMixin, {
|
|
12
12
|
select: (payload: CustomEvent<{
|
|
13
13
|
originalEvent: Event;
|
|
14
14
|
}>) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue1205.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
|
|
16
16
|
onSelect?: ((payload: CustomEvent<{
|
|
17
17
|
originalEvent: Event;
|
|
18
18
|
}>) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string,
|
|
19
|
+
}>, {}, {}, {}, {}, string, vue1205.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,12 +1,12 @@
|
|
|
1
1
|
import { NavigationMenuListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1190 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: vue1190.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue1190.ComponentOptionsMixin, vue1190.ComponentOptionsMixin, {}, string, vue1190.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1190.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 vue1185 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: vue1185.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue1185.ComponentOptionsMixin, vue1185.ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: string) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue1185.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
dir: Direction;
|
|
19
19
|
delayDuration: number;
|
|
20
20
|
skipDelayDuration: number;
|
|
21
21
|
unmountOnHide: boolean;
|
|
22
|
-
}, {}, {}, {}, string,
|
|
22
|
+
}, {}, {}, {}, string, vue1185.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 vue1195 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: vue1195.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue1195.ComponentOptionsMixin, vue1195.ComponentOptionsMixin, {}, string, vue1195.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1195.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 & {
|