@soybeanjs/ui 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion.vue.d.ts +3 -3
- package/dist/components/alert/alert.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +4 -4
- package/dist/components/avatar/avatar.vue.d.ts +7 -7
- package/dist/components/badge/badge.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
- package/dist/components/breadcrumb/types.d.ts +3 -8
- package/dist/components/button/button-group.vue.d.ts +3 -3
- package/dist/components/button/button-icon.vue.d.ts +3 -3
- package/dist/components/button/button-link.vue.d.ts +4 -4
- package/dist/components/button/button-loading.vue.d.ts +3 -3
- package/dist/components/button/button.vue.d.ts +4 -4
- package/dist/components/card/card.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
- package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
- package/dist/components/collapsible/collapsible.vue.d.ts +4 -4
- package/dist/components/command/command.vue.d.ts +7 -7
- package/dist/components/config-provider/config-provider.vue.d.ts +5 -5
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +9 -9
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +9 -9
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +13 -13
- package/dist/components/context-menu/context-menu.js +1 -1
- package/dist/components/context-menu/context-menu.vue.d.ts +9 -9
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +11 -11
- package/dist/components/dialog/dialog.vue.d.ts +11 -11
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +11 -11
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +9 -9
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +9 -9
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +13 -13
- package/dist/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +9 -9
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +17 -17
- package/dist/components/icon/icon.vue.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +3 -3
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/layout/layout.vue.d.ts +5 -5
- package/dist/components/link/link.vue.d.ts +3 -3
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
- package/dist/components/menu/menu-option.js +1 -1
- package/dist/components/menu/menu-option.vue.d.ts +9 -9
- package/dist/components/menu/menu-options.js +1 -1
- package/dist/components/menu/menu-options.vue.d.ts +9 -9
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/menu/types.d.ts +3 -8
- package/dist/components/navigation-menu/navigation-menu-option.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-sub-option.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
- package/dist/components/navigation-menu/types.d.ts +4 -8
- package/dist/components/number-input/number-input.vue.d.ts +4 -4
- package/dist/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/components/password/password.vue.d.ts +4 -4
- package/dist/components/popover/popover.vue.d.ts +11 -11
- package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio.vue.d.ts +2 -2
- package/dist/components/segment/segment.vue.d.ts +3 -3
- package/dist/components/select/select.vue.d.ts +7 -7
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/switch/switch.vue.d.ts +25 -25
- package/dist/components/tabs/tabs.vue.d.ts +3 -3
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
- package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
- package/dist/components/tree/tree.vue.d.ts +5 -5
- package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
- package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
- package/dist/variants/badge.d.ts +3 -3
- package/dist/variants/button.d.ts +3 -3
- package/dist/variants/checkbox.d.ts +3 -3
- package/dist/variants/kbd.d.ts +3 -3
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tag.d.ts +3 -3
- package/dist/variants/textarea.d.ts +3 -3
- package/dist/variants/toast.d.ts +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaginationProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue230 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination.vue.d.ts
|
|
5
5
|
declare var __VLS_22: {}, __VLS_35: {}, __VLS_53: {}, __VLS_66: {}, __VLS_79: {};
|
|
@@ -14,13 +14,13 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
last?: (props: typeof __VLS_79) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base:
|
|
17
|
+
declare const __VLS_base: vue230.DefineComponent<PaginationProps, {}, {}, {}, {}, vue230.ComponentOptionsMixin, vue230.ComponentOptionsMixin, {
|
|
18
18
|
"update:page": (value: number) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue230.PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
20
20
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
showFirstOrLast: boolean;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue230.ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PasswordProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue192 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/password/password.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {}, __VLS_24: {}, __VLS_26: {
|
|
@@ -13,15 +13,15 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
} & {
|
|
14
14
|
visible?: (props: typeof __VLS_26) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_base:
|
|
16
|
+
declare const __VLS_base: vue192.DefineComponent<PasswordProps, {}, {}, {}, {}, vue192.ComponentOptionsMixin, vue192.ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (value: string) => any;
|
|
18
18
|
"update:visible": (visible: boolean) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue192.PublicProps, Readonly<PasswordProps> & Readonly<{
|
|
20
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
21
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
visible: boolean;
|
|
24
|
-
}, {}, {}, {}, string,
|
|
24
|
+
}, {}, {}, {}, string, vue192.ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PopoverProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue239 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless153 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/popover.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_36: {}, __VLS_49: {};
|
|
@@ -11,27 +11,27 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
close?: (props: typeof __VLS_49) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
14
|
+
declare const __VLS_base: vue239.DefineComponent<PopoverProps, {}, {}, {}, {}, vue239.ComponentOptionsMixin, vue239.ComponentOptionsMixin, {
|
|
15
15
|
"update:open": (value: boolean) => any;
|
|
16
16
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
17
|
-
pointerDownOutside: (event:
|
|
18
|
-
focusOutside: (event:
|
|
19
|
-
interactOutside: (event:
|
|
17
|
+
pointerDownOutside: (event: _soybeanjs_headless153.PointerDownOutsideEvent) => any;
|
|
18
|
+
focusOutside: (event: _soybeanjs_headless153.FocusOutsideEvent) => any;
|
|
19
|
+
interactOutside: (event: _soybeanjs_headless153.PointerDownOutsideEvent | _soybeanjs_headless153.FocusOutsideEvent) => any;
|
|
20
20
|
openAutoFocus: (event: Event) => any;
|
|
21
21
|
closeAutoFocus: (event: Event) => any;
|
|
22
|
-
}, string,
|
|
22
|
+
}, string, vue239.PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
23
23
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
24
24
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
25
|
-
onPointerDownOutside?: ((event:
|
|
26
|
-
onFocusOutside?: ((event:
|
|
27
|
-
onInteractOutside?: ((event:
|
|
25
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless153.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: _soybeanjs_headless153.FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: _soybeanjs_headless153.PointerDownOutsideEvent | _soybeanjs_headless153.FocusOutsideEvent) => any) | undefined;
|
|
28
28
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
open: boolean;
|
|
32
32
|
defaultOpen: boolean;
|
|
33
33
|
showArrow: boolean;
|
|
34
|
-
}, {}, {}, {}, string,
|
|
34
|
+
}, {}, {}, {}, string, vue239.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
37
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioCardGroupOptionData, RadioCardGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue263 from "vue";
|
|
3
3
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio-group/radio-card-group.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends RadioCardGroupOptionData<T> = RadioCardGroupOptionData<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props:
|
|
7
|
+
props: vue263.PublicProps & __VLS_PrettifyLocal<RadioCardGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<AcceptableBooleanValue>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {};
|
|
15
15
|
emit: (evt: "update:modelValue", payload: NonNullable<AcceptableBooleanValue>) => void;
|
|
16
|
-
}>) =>
|
|
16
|
+
}>) => vue263.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioCardProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue258 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio-card.vue.d.ts
|
|
5
5
|
declare var __VLS_19: {
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
description?: (props: typeof __VLS_27) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue258.DefineComponent<RadioCardProps, {}, {}, {}, {}, vue258.ComponentOptionsMixin, vue258.ComponentOptionsMixin, {}, string, vue258.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, string, vue258.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,10 +1,10 @@
|
|
|
1
1
|
import { RadioGroupOptionData, RadioGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue251 from "vue";
|
|
3
3
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio-group/radio-group.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends RadioGroupOptionData<T> = RadioGroupOptionData<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props:
|
|
7
|
+
props: vue251.PublicProps & __VLS_PrettifyLocal<RadioGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {};
|
|
15
15
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
16
|
-
}>) =>
|
|
16
|
+
}>) => vue251.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RadioProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue253 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio.vue.d.ts
|
|
5
5
|
declare var __VLS_31: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_31) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue253.DefineComponent<RadioProps, {}, {}, {}, {}, vue253.ComponentOptionsMixin, vue253.ComponentOptionsMixin, {}, string, vue253.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, vue253.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SegmentOptionData, SegmentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue237 from "vue";
|
|
3
3
|
import { AcceptableValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segment/segment.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S extends SegmentOptionData<NonNullable<T>> = SegmentOptionData<NonNullable<T>>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props:
|
|
7
|
+
props: vue237.PublicProps & __VLS_PrettifyLocal<SegmentProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
|
|
|
17
17
|
}) => any;
|
|
18
18
|
};
|
|
19
19
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
20
|
-
}>) =>
|
|
20
|
+
}>) => vue237.VNode & {
|
|
21
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
22
|
};
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SelectGroupOptionData, SelectProps, SelectSingleOptionData } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue249 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless169 from "@soybeanjs/headless";
|
|
4
4
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
-
props:
|
|
9
|
-
onSelect?: ((event:
|
|
8
|
+
props: vue249.PublicProps & __VLS_PrettifyLocal<SelectProps<T, M> & {
|
|
9
|
+
onSelect?: ((event: _soybeanjs_headless169.SelectItemEvent<T>) => any) | undefined;
|
|
10
10
|
"onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
|
|
11
11
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
13
|
-
onPointerDownOutside?: ((event:
|
|
13
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless169.PointerDownOutsideEvent) => any) | undefined;
|
|
14
14
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
15
15
|
}> & (typeof globalThis extends {
|
|
16
16
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -44,8 +44,8 @@ declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(
|
|
|
44
44
|
item: SelectSingleOptionData<T>;
|
|
45
45
|
}) => any;
|
|
46
46
|
};
|
|
47
|
-
emit: ((evt: "select", event:
|
|
48
|
-
}>) =>
|
|
47
|
+
emit: ((evt: "select", event: _soybeanjs_headless169.SelectItemEvent<T>) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless169.PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
48
|
+
}>) => vue249.VNode & {
|
|
49
49
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
50
50
|
};
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SeparatorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue265 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless173 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/separator/separator.vue.d.ts
|
|
6
|
-
declare const __VLS_export:
|
|
7
|
-
orientation:
|
|
8
|
-
}, {}, {}, {}, string,
|
|
6
|
+
declare const __VLS_export: vue265.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue265.ComponentOptionsMixin, vue265.ComponentOptionsMixin, {}, string, vue265.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
7
|
+
orientation: _soybeanjs_headless173.DataOrientation;
|
|
8
|
+
}, {}, {}, {}, string, vue265.ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { _default };
|
|
@@ -2,13 +2,13 @@ import { ThemeColor, ThemeSize } from "../../theme/types.js";
|
|
|
2
2
|
import "../../theme/index.js";
|
|
3
3
|
import { SwitchShape } from "../../variants/switch.js";
|
|
4
4
|
import { SwitchProps } from "./types.js";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as vue270 from "vue";
|
|
6
|
+
import * as _soybeanjs_headless174 from "@soybeanjs/headless";
|
|
7
7
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
8
8
|
|
|
9
9
|
//#region src/components/switch/switch.vue.d.ts
|
|
10
10
|
declare const __VLS_export: <T extends AcceptableBooleanValue = 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<{
|
|
11
|
-
props:
|
|
11
|
+
props: vue270.PublicProps & __VLS_PrettifyLocal<SwitchProps<T> & {
|
|
12
12
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -18,13 +18,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
18
18
|
slots: {
|
|
19
19
|
leading?: (props: {
|
|
20
20
|
modelValue: (Readonly<{
|
|
21
|
-
class:
|
|
22
|
-
ui: Partial<
|
|
21
|
+
class: _soybeanjs_headless174.ClassValue;
|
|
22
|
+
ui: Partial<_soybeanjs_headless174.SwitchUi>;
|
|
23
23
|
color: ThemeColor;
|
|
24
24
|
size: ThemeSize;
|
|
25
25
|
shape: SwitchShape;
|
|
26
|
-
controlProps:
|
|
27
|
-
thumbProps:
|
|
26
|
+
controlProps: _soybeanjs_headless174.SwitchControlProps;
|
|
27
|
+
thumbProps: _soybeanjs_headless174.SwitchThumbProps;
|
|
28
28
|
defaultValue: NonNullable<T> | undefined;
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
value: string;
|
|
@@ -32,14 +32,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
32
32
|
required: boolean;
|
|
33
33
|
manifest: string | undefined;
|
|
34
34
|
innerHTML: string | undefined;
|
|
35
|
-
style:
|
|
35
|
+
style: vue270.StyleValue | undefined;
|
|
36
36
|
accesskey: string | undefined;
|
|
37
37
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
38
38
|
contextmenu: string | undefined;
|
|
39
39
|
dir: string | undefined;
|
|
40
40
|
draggable: (boolean | "true" | "false") | undefined;
|
|
41
41
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
42
|
-
enterKeyHint:
|
|
42
|
+
enterKeyHint: vue270.HTMLAttributes["enterkeyhint"];
|
|
43
43
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -220,7 +220,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
220
220
|
readonly modelValue: T | undefined;
|
|
221
221
|
readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
|
|
222
222
|
readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
|
|
223
|
-
} & ("
|
|
223
|
+
} & ("inlist" | "disabled" | "required" | (T | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "modelValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "defaultValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "trueValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
|
|
224
224
|
modelValue: undefined;
|
|
225
225
|
trueValue: any;
|
|
226
226
|
falseValue: any;
|
|
@@ -229,13 +229,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
229
229
|
} & {
|
|
230
230
|
default?: (props: {
|
|
231
231
|
modelValue: (Readonly<{
|
|
232
|
-
class:
|
|
233
|
-
ui: Partial<
|
|
232
|
+
class: _soybeanjs_headless174.ClassValue;
|
|
233
|
+
ui: Partial<_soybeanjs_headless174.SwitchUi>;
|
|
234
234
|
color: ThemeColor;
|
|
235
235
|
size: ThemeSize;
|
|
236
236
|
shape: SwitchShape;
|
|
237
|
-
controlProps:
|
|
238
|
-
thumbProps:
|
|
237
|
+
controlProps: _soybeanjs_headless174.SwitchControlProps;
|
|
238
|
+
thumbProps: _soybeanjs_headless174.SwitchThumbProps;
|
|
239
239
|
defaultValue: NonNullable<T> | undefined;
|
|
240
240
|
disabled: boolean;
|
|
241
241
|
value: string;
|
|
@@ -243,14 +243,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
243
243
|
required: boolean;
|
|
244
244
|
manifest: string | undefined;
|
|
245
245
|
innerHTML: string | undefined;
|
|
246
|
-
style:
|
|
246
|
+
style: vue270.StyleValue | undefined;
|
|
247
247
|
accesskey: string | undefined;
|
|
248
248
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
249
249
|
contextmenu: string | undefined;
|
|
250
250
|
dir: string | undefined;
|
|
251
251
|
draggable: (boolean | "true" | "false") | undefined;
|
|
252
252
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
253
|
-
enterKeyHint:
|
|
253
|
+
enterKeyHint: vue270.HTMLAttributes["enterkeyhint"];
|
|
254
254
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
255
255
|
id: string | undefined;
|
|
256
256
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -431,7 +431,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
431
431
|
readonly modelValue: T | undefined;
|
|
432
432
|
readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
|
|
433
433
|
readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
|
|
434
|
-
} & ("
|
|
434
|
+
} & ("inlist" | "disabled" | "required" | (T | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "modelValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "defaultValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "trueValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
|
|
435
435
|
modelValue: undefined;
|
|
436
436
|
trueValue: any;
|
|
437
437
|
falseValue: any;
|
|
@@ -440,13 +440,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
440
440
|
} & {
|
|
441
441
|
trailing?: (props: {
|
|
442
442
|
modelValue: (Readonly<{
|
|
443
|
-
class:
|
|
444
|
-
ui: Partial<
|
|
443
|
+
class: _soybeanjs_headless174.ClassValue;
|
|
444
|
+
ui: Partial<_soybeanjs_headless174.SwitchUi>;
|
|
445
445
|
color: ThemeColor;
|
|
446
446
|
size: ThemeSize;
|
|
447
447
|
shape: SwitchShape;
|
|
448
|
-
controlProps:
|
|
449
|
-
thumbProps:
|
|
448
|
+
controlProps: _soybeanjs_headless174.SwitchControlProps;
|
|
449
|
+
thumbProps: _soybeanjs_headless174.SwitchThumbProps;
|
|
450
450
|
defaultValue: NonNullable<T> | undefined;
|
|
451
451
|
disabled: boolean;
|
|
452
452
|
value: string;
|
|
@@ -454,14 +454,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
454
454
|
required: boolean;
|
|
455
455
|
manifest: string | undefined;
|
|
456
456
|
innerHTML: string | undefined;
|
|
457
|
-
style:
|
|
457
|
+
style: vue270.StyleValue | undefined;
|
|
458
458
|
accesskey: string | undefined;
|
|
459
459
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
460
460
|
contextmenu: string | undefined;
|
|
461
461
|
dir: string | undefined;
|
|
462
462
|
draggable: (boolean | "true" | "false") | undefined;
|
|
463
463
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
464
|
-
enterKeyHint:
|
|
464
|
+
enterKeyHint: vue270.HTMLAttributes["enterkeyhint"];
|
|
465
465
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
466
466
|
id: string | undefined;
|
|
467
467
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -642,7 +642,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
642
642
|
readonly modelValue: T | undefined;
|
|
643
643
|
readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
|
|
644
644
|
readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
|
|
645
|
-
} & ("
|
|
645
|
+
} & ("inlist" | "disabled" | "required" | (T | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "modelValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "defaultValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "trueValue" : never) | (NonNullable<T> | undefined extends boolean | undefined ? (boolean & T) | undefined extends undefined ? never : "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
|
|
646
646
|
modelValue: undefined;
|
|
647
647
|
trueValue: any;
|
|
648
648
|
falseValue: any;
|
|
@@ -650,7 +650,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
650
650
|
}) => any;
|
|
651
651
|
};
|
|
652
652
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
653
|
-
}>) =>
|
|
653
|
+
}>) => vue270.VNode & {
|
|
654
654
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
655
655
|
};
|
|
656
656
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TabsOptionData, TabsProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue235 from "vue";
|
|
3
3
|
import { AcceptableValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tabs/tabs.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S extends TabsOptionData<NonNullable<T>> = TabsOptionData<NonNullable<T>>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props:
|
|
7
|
+
props: vue235.PublicProps & __VLS_PrettifyLocal<TabsProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
|
|
|
21
21
|
}) => any;
|
|
22
22
|
};
|
|
23
23
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
24
|
-
}>) =>
|
|
24
|
+
}>) => vue235.VNode & {
|
|
25
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue300 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tag/tag.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {}, __VLS_12: {}, __VLS_14: {}, __VLS_16: {
|
|
@@ -14,13 +14,13 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
close?: (props: typeof __VLS_16) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base:
|
|
17
|
+
declare const __VLS_base: vue300.DefineComponent<TagProps, {}, {}, {}, {}, vue300.ComponentOptionsMixin, vue300.ComponentOptionsMixin, {
|
|
18
18
|
"update:open": (open: boolean) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue300.PublicProps, Readonly<TagProps> & Readonly<{
|
|
20
20
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
open: boolean;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue300.ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextareaProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue278 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea/textarea.vue.d.ts
|
|
5
5
|
declare var __VLS_28: {
|
|
@@ -11,11 +11,11 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
footer?: (props: typeof __VLS_30) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
14
|
+
declare const __VLS_base: vue278.DefineComponent<TextareaProps, {}, {}, {}, {}, vue278.ComponentOptionsMixin, vue278.ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue278.PublicProps, Readonly<TextareaProps> & Readonly<{
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string,
|
|
18
|
+
}>, {}, {}, {}, {}, string, vue278.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 & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TooltipProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue283 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless186 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/tooltip.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_36: {};
|
|
@@ -9,19 +9,19 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
} & {
|
|
10
10
|
default?: (props: typeof __VLS_36) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue283.DefineComponent<TooltipProps, {}, {}, {}, {}, vue283.ComponentOptionsMixin, vue283.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
14
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
15
|
-
pointerDownOutside: (event:
|
|
16
|
-
}, string,
|
|
15
|
+
pointerDownOutside: (event: _soybeanjs_headless186.PointerDownOutsideEvent) => any;
|
|
16
|
+
}, string, vue283.PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
17
17
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
18
18
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
19
|
-
onPointerDownOutside?: ((event:
|
|
19
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless186.PointerDownOutsideEvent) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
open: boolean;
|
|
22
22
|
defaultOpen: boolean;
|
|
23
23
|
showArrow: boolean;
|
|
24
|
-
}, {}, {}, {}, string,
|
|
24
|
+
}, {}, {}, {}, string, vue283.ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TreeVirtualizerProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue1 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
import { MaybeArray, TreeItemData } from "@soybeanjs/headless";
|
|
5
5
|
import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tree/tree-virtualizer.vue.d.ts
|
|
8
8
|
declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, 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<{
|
|
9
|
-
props:
|
|
9
|
+
props: vue1.PublicProps & __VLS_PrettifyLocal<TreeVirtualizerProps<T, U, M> & {
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
|
|
11
11
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
12
12
|
}> & (typeof globalThis extends {
|
|
@@ -18,13 +18,13 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
18
18
|
item?: (props: {
|
|
19
19
|
key: number;
|
|
20
20
|
virtualItem: _tanstack_vue_virtual0.VirtualItem;
|
|
21
|
-
item:
|
|
21
|
+
item: _soybeanjs_headless0.FlattenedItem<T>;
|
|
22
22
|
modelValue: U;
|
|
23
23
|
expanded: string[];
|
|
24
24
|
}) => any;
|
|
25
25
|
};
|
|
26
26
|
emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
|
|
27
|
-
}>) =>
|
|
27
|
+
}>) => vue1.VNode & {
|
|
28
28
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
29
|
};
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as vue0 from "vue";
|
|
2
|
+
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
3
3
|
import { MaybeArray, TreeItemData, TreeRootProps } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree/tree.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, 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<{
|
|
7
|
-
props:
|
|
7
|
+
props: vue0.PublicProps & __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
|
|
9
9
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
17
17
|
} & {
|
|
18
18
|
item?: (props: {
|
|
19
19
|
key: string;
|
|
20
|
-
item:
|
|
20
|
+
item: _soybeanjs_headless0.FlattenedItem<T>;
|
|
21
21
|
modelValue: U | undefined;
|
|
22
22
|
expanded: string[];
|
|
23
23
|
}) => any;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
25
25
|
bottom?: (props: {}) => any;
|
|
26
26
|
};
|
|
27
27
|
emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
|
|
28
|
-
}>) =>
|
|
28
|
+
}>) => vue0.VNode & {
|
|
29
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
30
|
};
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TreeMenuStyledItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue307 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tree-menu/tree-menu-styled-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: vue307.DefineComponent<TreeMenuStyledItemProps, {}, {}, {}, {}, vue307.ComponentOptionsMixin, vue307.ComponentOptionsMixin, {}, string, vue307.PublicProps, Readonly<TreeMenuStyledItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue307.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 & {
|