@soybeanjs/ui 0.0.3-beta.1 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -6
- package/README.zh-CN.md +251 -0
- 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 +5 -5
- 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.vue.d.ts +3 -3
- package/dist/components/button/button-group.vue.d.ts +6 -6
- 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 +5 -5
- 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 +10 -10
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +10 -10
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +15 -15
- package/dist/components/context-menu/context-menu.vue.d.ts +10 -10
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +15 -15
- package/dist/components/dialog/dialog.vue.d.ts +15 -15
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +15 -15
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +10 -10
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +10 -10
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +15 -15
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +10 -10
- 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.vue.d.ts +2 -2
- package/dist/components/icon/icon.vue.d.ts +3 -3
- 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 +4 -4
- package/dist/components/link/link.vue.d.ts +4 -4
- 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.vue.d.ts +10 -10
- package/dist/components/menu/menu-options.vue.d.ts +10 -10
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +13 -13
- 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 +15 -15
- 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 +8 -8
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/switch/switch.vue.d.ts +19 -19
- 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 +11 -11
- 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-item-wrapper.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/alert.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/pagination.d.ts +3 -3
- package/dist/variants/radio-group.d.ts +3 -3
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tabs.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,6 +1,6 @@
|
|
|
1
1
|
import { NavigationMenuOptionData, NavigationMenuProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue183 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless91 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation-menu/navigation-menu.vue.d.ts
|
|
6
6
|
type Slots = {
|
|
@@ -25,25 +25,25 @@ type Slots = {
|
|
|
25
25
|
}) => any;
|
|
26
26
|
};
|
|
27
27
|
type __VLS_Slots = Slots;
|
|
28
|
-
declare const __VLS_base:
|
|
28
|
+
declare const __VLS_base: vue183.DefineComponent<NavigationMenuProps, {}, {}, {}, {}, vue183.ComponentOptionsMixin, vue183.ComponentOptionsMixin, {
|
|
29
29
|
select: (payload: CustomEvent<{
|
|
30
30
|
originalEvent: Event;
|
|
31
31
|
}>) => any;
|
|
32
|
-
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
33
|
-
pointerDownOutside: (event: _soybeanjs_headless56.PointerDownOutsideEvent) => any;
|
|
34
32
|
"update:modelValue": (value: string) => any;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
34
|
+
pointerDownOutside: (event: _soybeanjs_headless91.PointerDownOutsideEvent) => any;
|
|
35
|
+
focusOutside: (event: _soybeanjs_headless91.FocusOutsideEvent) => any;
|
|
36
|
+
interactOutside: (event: _soybeanjs_headless91.PointerDownOutsideEvent | _soybeanjs_headless91.FocusOutsideEvent) => any;
|
|
37
|
+
}, string, vue183.PublicProps, Readonly<NavigationMenuProps> & Readonly<{
|
|
38
38
|
onSelect?: ((payload: CustomEvent<{
|
|
39
39
|
originalEvent: Event;
|
|
40
40
|
}>) => any) | undefined;
|
|
41
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
42
|
-
onPointerDownOutside?: ((event: _soybeanjs_headless56.PointerDownOutsideEvent) => any) | undefined;
|
|
43
41
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
43
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless91.PointerDownOutsideEvent) => any) | undefined;
|
|
44
|
+
onFocusOutside?: ((event: _soybeanjs_headless91.FocusOutsideEvent) => any) | undefined;
|
|
45
|
+
onInteractOutside?: ((event: _soybeanjs_headless91.PointerDownOutsideEvent | _soybeanjs_headless91.FocusOutsideEvent) => any) | undefined;
|
|
46
|
+
}>, {}, {}, {}, {}, string, vue183.ComponentProvideOptions, false, {}, any>;
|
|
47
47
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
48
|
declare const _default: typeof __VLS_export;
|
|
49
49
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NumberInputProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue66 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/number-input/number-input.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {}, __VLS_24: {}, __VLS_31: {}, __VLS_42: {};
|
|
@@ -12,11 +12,11 @@ type __VLS_Slots = {} & {
|
|
|
12
12
|
} & {
|
|
13
13
|
increment?: (props: typeof __VLS_42) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_base:
|
|
15
|
+
declare const __VLS_base: vue66.DefineComponent<NumberInputProps, {}, {}, {}, {}, vue66.ComponentOptionsMixin, vue66.ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (val: number) => any;
|
|
17
|
-
}, string,
|
|
17
|
+
}, string, vue66.PublicProps, Readonly<NumberInputProps> & Readonly<{
|
|
18
18
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string,
|
|
19
|
+
}>, {}, {}, {}, {}, string, vue66.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,5 +1,5 @@
|
|
|
1
1
|
import { PaginationProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue188 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination.vue.d.ts
|
|
5
5
|
declare var __VLS_20: {}, __VLS_31: {}, __VLS_47: {}, __VLS_58: {}, __VLS_69: {};
|
|
@@ -14,13 +14,13 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
last?: (props: typeof __VLS_69) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base:
|
|
17
|
+
declare const __VLS_base: vue188.DefineComponent<PaginationProps, {}, {}, {}, {}, vue188.ComponentOptionsMixin, vue188.ComponentOptionsMixin, {
|
|
18
18
|
"update:page": (value: number) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue188.PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
20
20
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
showFirstOrLast: boolean;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue188.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 vue71 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: vue71.DefineComponent<PasswordProps, {}, {}, {}, {}, vue71.ComponentOptionsMixin, vue71.ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (value: string) => any;
|
|
18
18
|
"update:visible": (visible: boolean) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue71.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, vue71.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 vue178 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless83 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/popover.vue.d.ts
|
|
6
6
|
declare var __VLS_15: {}, __VLS_27: {}, __VLS_34: {};
|
|
@@ -11,27 +11,27 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
close?: (props: typeof __VLS_34) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
15
|
-
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16
|
-
pointerDownOutside: (event: _soybeanjs_headless64.PointerDownOutsideEvent) => any;
|
|
14
|
+
declare const __VLS_base: vue178.DefineComponent<PopoverProps, {}, {}, {}, {}, vue178.ComponentOptionsMixin, vue178.ComponentOptionsMixin, {
|
|
17
15
|
"update:open": (value: boolean) => any;
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
17
|
+
pointerDownOutside: (event: _soybeanjs_headless83.PointerDownOutsideEvent) => any;
|
|
18
|
+
focusOutside: (event: _soybeanjs_headless83.FocusOutsideEvent) => any;
|
|
19
|
+
interactOutside: (event: _soybeanjs_headless83.PointerDownOutsideEvent | _soybeanjs_headless83.FocusOutsideEvent) => any;
|
|
20
20
|
openAutoFocus: (event: Event) => any;
|
|
21
21
|
closeAutoFocus: (event: Event) => any;
|
|
22
|
-
}, string,
|
|
23
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
24
|
-
onPointerDownOutside?: ((event: _soybeanjs_headless64.PointerDownOutsideEvent) => any) | undefined;
|
|
22
|
+
}, string, vue178.PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
25
23
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
25
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless83.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: _soybeanjs_headless83.FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: _soybeanjs_headless83.PointerDownOutsideEvent | _soybeanjs_headless83.FocusOutsideEvent) => any) | undefined;
|
|
28
28
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
showArrow: boolean;
|
|
32
|
-
defaultOpen: boolean;
|
|
33
31
|
open: boolean;
|
|
34
|
-
|
|
32
|
+
defaultOpen: boolean;
|
|
33
|
+
showArrow: boolean;
|
|
34
|
+
}, {}, {}, {}, string, vue178.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,17 +1,17 @@
|
|
|
1
1
|
import { RadioCardGroupOptionData, RadioCardGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue195 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_PrettifyLocal<RadioCardGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<AcceptableBooleanValue>) => any) | undefined;
|
|
9
|
-
}> &
|
|
9
|
+
}> & vue195.PublicProps;
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
11
11
|
attrs: any;
|
|
12
12
|
slots: {};
|
|
13
13
|
emit: (evt: "update:modelValue", payload: NonNullable<AcceptableBooleanValue>) => void;
|
|
14
|
-
}>) =>
|
|
14
|
+
}>) => vue195.VNode & {
|
|
15
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
16
16
|
};
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioCardProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue209 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio-card.vue.d.ts
|
|
5
5
|
declare var __VLS_16: {
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
description?: (props: typeof __VLS_23) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue209.DefineComponent<RadioCardProps, {}, {}, {}, {}, vue209.ComponentOptionsMixin, vue209.ComponentOptionsMixin, {}, string, vue209.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, string, vue209.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,17 +1,17 @@
|
|
|
1
1
|
import { RadioGroupOptionData, RadioGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue202 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_PrettifyLocal<RadioGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
|
-
}> &
|
|
9
|
+
}> & vue202.PublicProps;
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
11
11
|
attrs: any;
|
|
12
12
|
slots: {};
|
|
13
13
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
14
|
-
}>) =>
|
|
14
|
+
}>) => vue202.VNode & {
|
|
15
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
16
16
|
};
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RadioProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue204 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio.vue.d.ts
|
|
5
5
|
declare var __VLS_27: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_27) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue204.DefineComponent<RadioProps, {}, {}, {}, {}, vue204.ComponentOptionsMixin, vue204.ComponentOptionsMixin, {}, string, vue204.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, vue204.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 { SegmentOptionData, SegmentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue193 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_PrettifyLocal<SegmentProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
|
-
}> &
|
|
9
|
+
}> & vue193.PublicProps;
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
11
11
|
attrs: any;
|
|
12
12
|
slots: {
|
|
@@ -15,7 +15,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
|
|
|
15
15
|
}) => any;
|
|
16
16
|
};
|
|
17
17
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
18
|
-
}>) =>
|
|
18
|
+
}>) => vue193.VNode & {
|
|
19
19
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
20
20
|
};
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { SelectOptionData, SelectProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue289 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless120 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, S extends SelectOptionData<T> = SelectOptionData<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: __VLS_PrettifyLocal<SelectProps<T, M, S> & {
|
|
9
|
-
onSelect?: ((event:
|
|
10
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
11
|
-
onPointerDownOutside?: ((event: _soybeanjs_headless141.PointerDownOutsideEvent) => any) | undefined;
|
|
9
|
+
onSelect?: ((event: _soybeanjs_headless120.SelectItemEvent<T>) => any) | undefined;
|
|
12
10
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
11
|
"onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
|
|
12
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
13
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless120.PointerDownOutsideEvent) => any) | undefined;
|
|
14
14
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
15
|
-
}> &
|
|
15
|
+
}> & vue289.PublicProps;
|
|
16
16
|
expose: (exposed: {}) => void;
|
|
17
17
|
attrs: any;
|
|
18
18
|
slots: {
|
|
@@ -42,8 +42,8 @@ declare const __VLS_export: <T extends DefinedValue, M extends boolean = false,
|
|
|
42
42
|
item: S;
|
|
43
43
|
}) => any;
|
|
44
44
|
};
|
|
45
|
-
emit: ((evt: "select", event:
|
|
46
|
-
}>) =>
|
|
45
|
+
emit: ((evt: "select", event: _soybeanjs_headless120.SelectItemEvent<T>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless120.PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
46
|
+
}>) => vue289.VNode & {
|
|
47
47
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
48
48
|
};
|
|
49
49
|
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 vue76 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless19 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: vue76.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue76.ComponentOptionsMixin, vue76.ComponentOptionsMixin, {}, string, vue76.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
7
|
+
orientation: _soybeanjs_headless19.DataOrientation;
|
|
8
|
+
}, {}, {}, {}, string, vue76.ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { _default };
|
|
@@ -2,26 +2,26 @@ 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 vue81 from "vue";
|
|
6
|
+
import * as _soybeanjs_headless20 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
11
|
props: __VLS_PrettifyLocal<SwitchProps<T> & {
|
|
12
12
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
13
|
-
}> &
|
|
13
|
+
}> & vue81.PublicProps;
|
|
14
14
|
expose: (exposed: {}) => void;
|
|
15
15
|
attrs: any;
|
|
16
16
|
slots: {
|
|
17
17
|
leading?: (props: {
|
|
18
18
|
modelValue: (Readonly<{
|
|
19
|
-
ui: Partial<
|
|
19
|
+
ui: Partial<_soybeanjs_headless20.SwitchUi>;
|
|
20
20
|
color: ThemeColor;
|
|
21
21
|
size: ThemeSize;
|
|
22
22
|
shape: SwitchShape;
|
|
23
|
-
controlProps:
|
|
24
|
-
thumbProps:
|
|
23
|
+
controlProps: _soybeanjs_headless20.SwitchControlProps;
|
|
24
|
+
thumbProps: _soybeanjs_headless20.SwitchThumbProps;
|
|
25
25
|
defaultValue: NonNullable<T> | undefined;
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
value: string;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
30
30
|
manifest: string | undefined;
|
|
31
31
|
innerHTML: string | undefined;
|
|
32
32
|
class: any;
|
|
33
|
-
style:
|
|
33
|
+
style: vue81.StyleValue | undefined;
|
|
34
34
|
accesskey: string | undefined;
|
|
35
35
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
36
36
|
contextmenu: string | undefined;
|
|
@@ -214,7 +214,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
214
214
|
readonly modelValue: T | undefined;
|
|
215
215
|
readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
|
|
216
216
|
readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
|
|
217
|
-
} & ("
|
|
217
|
+
} & ("class" | "inlist" | "required" | "disabled" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
|
|
218
218
|
modelValue: undefined;
|
|
219
219
|
trueValue: any;
|
|
220
220
|
falseValue: any;
|
|
@@ -223,12 +223,12 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
223
223
|
} & {
|
|
224
224
|
default?: (props: {
|
|
225
225
|
modelValue: (Readonly<{
|
|
226
|
-
ui: Partial<
|
|
226
|
+
ui: Partial<_soybeanjs_headless20.SwitchUi>;
|
|
227
227
|
color: ThemeColor;
|
|
228
228
|
size: ThemeSize;
|
|
229
229
|
shape: SwitchShape;
|
|
230
|
-
controlProps:
|
|
231
|
-
thumbProps:
|
|
230
|
+
controlProps: _soybeanjs_headless20.SwitchControlProps;
|
|
231
|
+
thumbProps: _soybeanjs_headless20.SwitchThumbProps;
|
|
232
232
|
defaultValue: NonNullable<T> | undefined;
|
|
233
233
|
disabled: boolean;
|
|
234
234
|
value: string;
|
|
@@ -237,7 +237,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
237
237
|
manifest: string | undefined;
|
|
238
238
|
innerHTML: string | undefined;
|
|
239
239
|
class: any;
|
|
240
|
-
style:
|
|
240
|
+
style: vue81.StyleValue | undefined;
|
|
241
241
|
accesskey: string | undefined;
|
|
242
242
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
243
243
|
contextmenu: string | undefined;
|
|
@@ -421,7 +421,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
421
421
|
readonly modelValue: T | undefined;
|
|
422
422
|
readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
|
|
423
423
|
readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
|
|
424
|
-
} & ("
|
|
424
|
+
} & ("class" | "inlist" | "required" | "disabled" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
|
|
425
425
|
modelValue: undefined;
|
|
426
426
|
trueValue: any;
|
|
427
427
|
falseValue: any;
|
|
@@ -430,12 +430,12 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
430
430
|
} & {
|
|
431
431
|
trailing?: (props: {
|
|
432
432
|
modelValue: (Readonly<{
|
|
433
|
-
ui: Partial<
|
|
433
|
+
ui: Partial<_soybeanjs_headless20.SwitchUi>;
|
|
434
434
|
color: ThemeColor;
|
|
435
435
|
size: ThemeSize;
|
|
436
436
|
shape: SwitchShape;
|
|
437
|
-
controlProps:
|
|
438
|
-
thumbProps:
|
|
437
|
+
controlProps: _soybeanjs_headless20.SwitchControlProps;
|
|
438
|
+
thumbProps: _soybeanjs_headless20.SwitchThumbProps;
|
|
439
439
|
defaultValue: NonNullable<T> | undefined;
|
|
440
440
|
disabled: boolean;
|
|
441
441
|
value: string;
|
|
@@ -444,7 +444,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
444
444
|
manifest: string | undefined;
|
|
445
445
|
innerHTML: string | undefined;
|
|
446
446
|
class: any;
|
|
447
|
-
style:
|
|
447
|
+
style: vue81.StyleValue | undefined;
|
|
448
448
|
accesskey: string | undefined;
|
|
449
449
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
450
450
|
contextmenu: string | undefined;
|
|
@@ -628,7 +628,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
628
628
|
readonly modelValue: T | undefined;
|
|
629
629
|
readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
|
|
630
630
|
readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
|
|
631
|
-
} & ("
|
|
631
|
+
} & ("class" | "inlist" | "required" | "disabled" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
|
|
632
632
|
modelValue: undefined;
|
|
633
633
|
trueValue: any;
|
|
634
634
|
falseValue: any;
|
|
@@ -636,7 +636,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
636
636
|
}) => any;
|
|
637
637
|
};
|
|
638
638
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
639
|
-
}>) =>
|
|
639
|
+
}>) => vue81.VNode & {
|
|
640
640
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
641
641
|
};
|
|
642
642
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TabsOptionData, TabsProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue86 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_PrettifyLocal<TabsProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
|
-
}> &
|
|
9
|
+
}> & vue86.PublicProps;
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
11
11
|
attrs: any;
|
|
12
12
|
slots: {
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
|
|
|
19
19
|
}) => any;
|
|
20
20
|
};
|
|
21
21
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
22
|
-
}>) =>
|
|
22
|
+
}>) => vue86.VNode & {
|
|
23
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
24
|
};
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue0 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: vue0.DefineComponent<TagProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {
|
|
18
18
|
"update:open": (open: boolean) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue0.PublicProps, Readonly<TagProps> & Readonly<{
|
|
20
20
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
open: boolean;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue0.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 vue197 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea/textarea.vue.d.ts
|
|
5
5
|
declare var __VLS_27: {
|
|
@@ -11,11 +11,11 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
footer?: (props: typeof __VLS_29) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
14
|
+
declare const __VLS_base: vue197.DefineComponent<TextareaProps, {}, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue197.PublicProps, Readonly<TextareaProps> & Readonly<{
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string,
|
|
18
|
+
}>, {}, {}, {}, {}, string, vue197.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 vue221 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless99 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/tooltip.vue.d.ts
|
|
6
6
|
declare var __VLS_15: {}, __VLS_27: {};
|
|
@@ -9,19 +9,19 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
} & {
|
|
10
10
|
default?: (props: typeof __VLS_27) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
13
|
-
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
14
|
-
pointerDownOutside: (event: _soybeanjs_headless0.PointerDownOutsideEvent) => any;
|
|
12
|
+
declare const __VLS_base: vue221.DefineComponent<TooltipProps, {}, {}, {}, {}, vue221.ComponentOptionsMixin, vue221.ComponentOptionsMixin, {
|
|
15
13
|
"update:open": (value: boolean) => any;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
15
|
+
pointerDownOutside: (event: _soybeanjs_headless99.PointerDownOutsideEvent) => any;
|
|
16
|
+
}, string, vue221.PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
19
17
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
18
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
19
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless99.PointerDownOutsideEvent) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
showArrow: boolean;
|
|
22
|
-
defaultOpen: boolean;
|
|
23
21
|
open: boolean;
|
|
24
|
-
|
|
22
|
+
defaultOpen: boolean;
|
|
23
|
+
showArrow: boolean;
|
|
24
|
+
}, {}, {}, {}, string, vue221.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 { TreeVirtualizerProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue6 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
|
|
|
@@ -9,20 +9,20 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
9
9
|
props: __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
|
+
}> & vue6.PublicProps;
|
|
13
13
|
expose: (exposed: {}) => void;
|
|
14
14
|
attrs: any;
|
|
15
15
|
slots: {
|
|
16
16
|
item?: (props: {
|
|
17
17
|
key: number;
|
|
18
18
|
virtualItem: _tanstack_vue_virtual0.VirtualItem;
|
|
19
|
-
item:
|
|
19
|
+
item: _soybeanjs_headless0.FlattenedItem<T>;
|
|
20
20
|
modelValue: U;
|
|
21
21
|
expanded: string[];
|
|
22
22
|
}) => any;
|
|
23
23
|
};
|
|
24
24
|
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);
|
|
25
|
-
}>) =>
|
|
25
|
+
}>) => vue6.VNode & {
|
|
26
26
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
27
|
};
|
|
28
28
|
declare const _default: typeof __VLS_export;
|