@soybeanjs/ui 0.0.8 → 0.0.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 +4 -4
- 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.js +1 -1
- 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 +5 -5
- package/dist/components/button/button-loading.vue.d.ts +3 -3
- package/dist/components/button/button.vue.d.ts +4 -4
- package/dist/components/button/types.d.ts +2 -2
- 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 +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 +13 -13
- 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 +12 -12
- package/dist/components/dialog/dialog.vue.d.ts +12 -12
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +13 -13
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +10 -10
- package/dist/components/dropdown-menu/dropdown-menu-radio.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +10 -10
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.js +1 -1
- 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/dropdown-menu/types.d.ts +2 -1
- 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 +4 -4
- 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.js +1 -1
- package/dist/components/link/link.vue.d.ts +5 -5
- package/dist/components/link/types.d.ts +2 -2
- 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 +9 -9
- 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 +2 -2
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
- 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 +4 -4
- 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 +3 -3
- package/dist/components/switch/switch.vue.d.ts +9 -9
- 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 +4 -4
- 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/context.js +1 -1
- package/dist/components/tree-menu/index.d.ts +2 -2
- package/dist/components/tree-menu/shared.js +1 -1
- package/dist/components/tree-menu/tree-menu-option-slot.js +1 -0
- package/dist/components/tree-menu/tree-menu-option.js +1 -0
- package/dist/components/tree-menu/tree-menu-styled-item.js +1 -0
- package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +17 -0
- package/dist/components/tree-menu/tree-menu.js +1 -1
- package/dist/components/tree-menu/tree-menu.vue.d.ts +11 -22
- package/dist/components/tree-menu/types.d.ts +79 -45
- package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/styles.css +27 -23
- package/dist/theme/shared.js +1 -1
- package/dist/variants/alert.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/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/dist/variants/tree-menu.js +1 -1
- package/package.json +2 -2
- package/dist/components/tree-menu/tree-menu-item-wrapper.js +0 -1
- package/dist/components/tree-menu/tree-menu-item-wrapper.vue.d.ts +0 -17
- package/dist/components/tree-menu/tree-menu-item.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AccordionOptionData, AccordionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue10 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/accordion/accordion.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T extends AccordionOptionData = AccordionOptionData, 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<{
|
|
6
|
-
props:
|
|
6
|
+
props: vue10.PublicProps & __VLS_PrettifyLocal<AccordionProps<T, M> & {
|
|
7
7
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
8
8
|
}> & (typeof globalThis extends {
|
|
9
9
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -41,7 +41,7 @@ declare const __VLS_export: <T extends AccordionOptionData = AccordionOptionData
|
|
|
41
41
|
}) => any;
|
|
42
42
|
};
|
|
43
43
|
emit: (evt: "update:modelValue", value: M extends true ? string[] : string) => void;
|
|
44
|
-
}>) =>
|
|
44
|
+
}>) => vue10.VNode & {
|
|
45
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
46
|
};
|
|
47
47
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AlertProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue12 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/alert/alert.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {}, __VLS_29: {}, __VLS_37: {}, __VLS_39: {}, __VLS_41: {}, __VLS_49: {};
|
|
@@ -16,13 +16,13 @@ type __VLS_Slots = {} & {
|
|
|
16
16
|
} & {
|
|
17
17
|
close?: (props: typeof __VLS_49) => any;
|
|
18
18
|
};
|
|
19
|
-
declare const __VLS_base:
|
|
19
|
+
declare const __VLS_base: vue12.DefineComponent<AlertProps, {}, {}, {}, {}, vue12.ComponentOptionsMixin, vue12.ComponentOptionsMixin, {
|
|
20
20
|
"update:open": (open: boolean) => any;
|
|
21
|
-
}, string,
|
|
21
|
+
}, string, vue12.PublicProps, Readonly<AlertProps> & Readonly<{
|
|
22
22
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
open: boolean;
|
|
25
|
-
}, {}, {}, {}, string,
|
|
25
|
+
}, {}, {}, {}, string, vue12.ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AlertDialogActionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue27 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/alert-dialog/alert-dialog-action.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {}, __VLS_16: {};
|
|
@@ -8,9 +8,9 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
} & {
|
|
9
9
|
default?: (props: typeof __VLS_16) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue27.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue27.ComponentOptionsMixin, vue27.ComponentOptionsMixin, {}, string, vue27.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
|
|
12
12
|
text: string;
|
|
13
|
-
}, {}, {}, {}, string,
|
|
13
|
+
}, {}, {}, {}, string, vue27.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,7 +1,7 @@
|
|
|
1
1
|
import { ButtonVariant } from "../../variants/button.js";
|
|
2
2
|
import { AlertDialogCancelProps } from "./types.js";
|
|
3
3
|
import "../button/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue22 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/alert-dialog/alert-dialog-cancel.vue.d.ts
|
|
7
7
|
declare var __VLS_8: {}, __VLS_16: {};
|
|
@@ -10,10 +10,10 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
default?: (props: typeof __VLS_16) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
14
|
-
variant: ButtonVariant;
|
|
13
|
+
declare const __VLS_base: vue22.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue22.ComponentOptionsMixin, vue22.ComponentOptionsMixin, {}, string, vue22.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
|
|
15
14
|
text: string;
|
|
16
|
-
|
|
15
|
+
variant: ButtonVariant;
|
|
16
|
+
}, {}, {}, {}, string, vue22.ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AlertDialogProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue17 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/alert-dialog/alert-dialog.vue.d.ts
|
|
5
5
|
declare var __VLS_16: {}, __VLS_52: {
|
|
@@ -26,15 +26,15 @@ type __VLS_Slots = {} & {
|
|
|
26
26
|
} & {
|
|
27
27
|
footer?: (props: typeof __VLS_70) => any;
|
|
28
28
|
};
|
|
29
|
-
declare const __VLS_base:
|
|
29
|
+
declare const __VLS_base: vue17.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue17.ComponentOptionsMixin, vue17.ComponentOptionsMixin, {
|
|
30
30
|
"update:open": (value: boolean) => any;
|
|
31
|
-
}, string,
|
|
31
|
+
}, string, vue17.PublicProps, Readonly<AlertDialogProps> & Readonly<{
|
|
32
32
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
open: boolean;
|
|
35
35
|
defaultOpen: boolean;
|
|
36
36
|
showIcon: boolean;
|
|
37
|
-
}, {}, {}, {}, string,
|
|
37
|
+
}, {}, {}, {}, string, vue17.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
39
|
declare const _default: typeof __VLS_export;
|
|
40
40
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AvatarProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue162 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless83 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar/avatar.vue.d.ts
|
|
6
6
|
declare var __VLS_8: {}, __VLS_10: {}, __VLS_25: {};
|
|
@@ -11,11 +11,11 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
fallback?: (props: typeof __VLS_25) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
15
|
-
loadingStatusChange: (status:
|
|
16
|
-
}, string,
|
|
17
|
-
onLoadingStatusChange?: ((status:
|
|
18
|
-
}>, {}, {}, {}, {}, string,
|
|
14
|
+
declare const __VLS_base: vue162.DefineComponent<AvatarProps, {}, {}, {}, {}, vue162.ComponentOptionsMixin, vue162.ComponentOptionsMixin, {
|
|
15
|
+
loadingStatusChange: (status: _soybeanjs_headless83.ImageLoadingStatus) => any;
|
|
16
|
+
}, string, vue162.PublicProps, Readonly<AvatarProps> & Readonly<{
|
|
17
|
+
onLoadingStatusChange?: ((status: _soybeanjs_headless83.ImageLoadingStatus) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, vue162.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 +1 @@
|
|
|
1
|
-
import{mergeSlotVariants as e}from"../../theme/shared.js";import{badgeVariants as t}from"../../variants/badge.js";import{computed as n,createBlock as r,createTextVNode as i,createVNode as a,defineComponent as o,guardReactiveProps as s,normalizeProps as c,openBlock as l,renderSlot as u,toDisplayString as d,unref as f,withCtx as
|
|
1
|
+
import{mergeSlotVariants as e}from"../../theme/shared.js";import{badgeVariants as t}from"../../variants/badge.js";import{computed as n,createBlock as r,createTextVNode as i,createVNode as a,defineComponent as o,guardReactiveProps as s,normalizeProps as c,openBlock as l,renderSlot as u,toDisplayString as d,unref as f,useAttrs as p,withCtx as m}from"vue";import{BadgeContent as h,BadgeRoot as g,provideBadgeThemeContext as _}from"@soybeanjs/headless";var v=o({name:`SBadge`,__name:`badge`,props:{color:{},size:{},ui:{},position:{},content:{},contentProps:{},open:{type:Boolean,default:void 0}},emits:[`update:open`],setup(o,{emit:v}){let y=o,b=v,x=p();return _({ui:n(()=>e(t({color:y.color,size:y.size,position:y.position}),y.ui,x.class))}),(e,t)=>(l(),r(f(g),{open:o.open,"onUpdate:open":t[0]||=e=>b(`update:open`,e)},{default:m(()=>[u(e.$slots,`default`),a(f(h),c(s(o.contentProps)),{default:m(()=>[u(e.$slots,`content`,{},()=>[i(d(o.content),1)])]),_:3},16)]),_:3},8,[`open`]))}});export{v as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BadgeProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue5 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/badge/badge.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {}, __VLS_18: {};
|
|
@@ -8,13 +8,13 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
} & {
|
|
9
9
|
content?: (props: typeof __VLS_18) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue5.DefineComponent<BadgeProps, {}, {}, {}, {}, vue5.ComponentOptionsMixin, vue5.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (open: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue5.PublicProps, Readonly<BadgeProps> & Readonly<{
|
|
14
14
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
open: boolean;
|
|
17
|
-
}, {}, {}, {}, string,
|
|
17
|
+
}, {}, {}, {}, string, vue5.ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BreadcrumbEmits, BreadcrumbOptionData, BreadcrumbProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue32 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/breadcrumb/breadcrumb.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T extends BreadcrumbOptionData = BreadcrumbOptionData>(__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<{
|
|
6
|
-
props:
|
|
6
|
+
props: vue32.PublicProps & __VLS_PrettifyLocal<BreadcrumbProps<T> & {
|
|
7
7
|
onClick?: ((item: T) => any) | undefined;
|
|
8
8
|
}> & (typeof globalThis extends {
|
|
9
9
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -42,7 +42,7 @@ declare const __VLS_export: <T extends BreadcrumbOptionData = BreadcrumbOptionDa
|
|
|
42
42
|
separator?: (props: {}) => any;
|
|
43
43
|
};
|
|
44
44
|
emit: BreadcrumbEmits<T>;
|
|
45
|
-
}>) =>
|
|
45
|
+
}>) => vue32.VNode & {
|
|
46
46
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
47
47
|
};
|
|
48
48
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ButtonGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue54 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless1 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/button/button-group.vue.d.ts
|
|
6
6
|
declare var __VLS_8: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
default?: (props: typeof __VLS_8) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_base:
|
|
11
|
-
dir:
|
|
12
|
-
orientation:
|
|
13
|
-
}, {}, {}, {}, string,
|
|
10
|
+
declare const __VLS_base: vue54.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue54.ComponentOptionsMixin, vue54.ComponentOptionsMixin, {}, string, vue54.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
11
|
+
dir: _soybeanjs_headless1.Direction;
|
|
12
|
+
orientation: _soybeanjs_headless1.DataOrientation;
|
|
13
|
+
}, {}, {}, {}, string, vue54.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 & {
|
|
@@ -2,15 +2,15 @@ import { ThemeColor } from "../../theme/types.js";
|
|
|
2
2
|
import { ButtonShape, ButtonVariant } from "../../variants/button.js";
|
|
3
3
|
import { ButtonIconProps } from "./types.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue49 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/components/button/button-icon.vue.d.ts
|
|
8
|
-
declare const __VLS_export:
|
|
8
|
+
declare const __VLS_export: vue49.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue49.ComponentOptionsMixin, vue49.ComponentOptionsMixin, {}, string, vue49.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
|
|
9
9
|
color: ThemeColor;
|
|
10
10
|
variant: ButtonVariant;
|
|
11
11
|
shape: ButtonShape;
|
|
12
12
|
fitContent: boolean;
|
|
13
|
-
}, {}, {}, {}, string,
|
|
13
|
+
}, {}, {}, {}, string, vue49.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { _default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonVariant } from "../../variants/button.js";
|
|
2
2
|
import { ButtonLinkProps } from "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue59 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/button/button-link.vue.d.ts
|
|
6
6
|
declare var __VLS_14: {
|
|
@@ -9,16 +9,16 @@ declare var __VLS_14: {
|
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
default?: (props: typeof __VLS_14) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue59.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue59.ComponentOptionsMixin, vue59.ComponentOptionsMixin, {}, string, vue59.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
replace: boolean;
|
|
13
15
|
variant: ButtonVariant;
|
|
14
16
|
viewTransition: boolean;
|
|
15
|
-
replace: boolean;
|
|
16
|
-
disabled: boolean;
|
|
17
17
|
external: boolean;
|
|
18
18
|
noRel: boolean;
|
|
19
19
|
prefetch: boolean;
|
|
20
20
|
noPrefetch: boolean;
|
|
21
|
-
}, {}, {}, {}, string,
|
|
21
|
+
}, {}, {}, {}, string, vue59.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,5 +1,5 @@
|
|
|
1
1
|
import { ButtonLoadingProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue44 from "vue";
|
|
3
3
|
import { Align } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/button/button-loading.vue.d.ts
|
|
@@ -17,10 +17,10 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
} & {
|
|
18
18
|
trailing?: (props: typeof __VLS_33) => any;
|
|
19
19
|
};
|
|
20
|
-
declare const __VLS_base:
|
|
20
|
+
declare const __VLS_base: vue44.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue44.ComponentOptionsMixin, vue44.ComponentOptionsMixin, {}, string, vue44.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
|
|
21
21
|
loadingIcon: string;
|
|
22
22
|
loadingPosition: Align;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue44.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 { ButtonProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue39 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/button/button.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
@@ -10,11 +10,11 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
trailing?: (props: typeof __VLS_14) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue39.DefineComponent<ButtonProps, {}, {}, {}, {}, vue39.ComponentOptionsMixin, vue39.ComponentOptionsMixin, {
|
|
14
14
|
click: (event: MouseEvent) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue39.PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
16
16
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string,
|
|
17
|
+
}>, {}, {}, {}, {}, string, vue39.ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,7 +2,7 @@ import { ThemeColor, ThemeSize } from "../../theme/types.js";
|
|
|
2
2
|
import "../../theme/index.js";
|
|
3
3
|
import { IconProps } from "../icon/types.js";
|
|
4
4
|
import { ButtonShadow, ButtonShape, ButtonVariant } from "../../variants/button.js";
|
|
5
|
-
import { LinkProps
|
|
5
|
+
import { LinkProps } from "../link/types.js";
|
|
6
6
|
import { Align, ButtonEmits, ButtonProps, DataOrientation, Direction, PropsToContext } from "@soybeanjs/headless";
|
|
7
7
|
|
|
8
8
|
//#region src/components/button/types.d.ts
|
|
@@ -61,7 +61,7 @@ interface ButtonLoadingProps extends ButtonProps$1 {
|
|
|
61
61
|
*/
|
|
62
62
|
loadingPosition?: Align;
|
|
63
63
|
}
|
|
64
|
-
type ButtonLinkProps = ButtonProps$1 & LinkProps
|
|
64
|
+
type ButtonLinkProps = ButtonProps$1 & LinkProps;
|
|
65
65
|
interface ButtonGroupProps extends ButtonProps$1 {
|
|
66
66
|
/**
|
|
67
67
|
* The orientation of the button group.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CardProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue97 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card/card.vue.d.ts
|
|
5
5
|
type Slots = {
|
|
@@ -14,9 +14,9 @@ type Slots = {
|
|
|
14
14
|
description: () => any;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_Slots = Slots;
|
|
17
|
-
declare const __VLS_base:
|
|
17
|
+
declare const __VLS_base: vue97.DefineComponent<CardProps, {}, {}, {}, {}, vue97.ComponentOptionsMixin, vue97.ComponentOptionsMixin, {}, string, vue97.PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
18
18
|
scrollable: boolean;
|
|
19
|
-
}, {}, {}, {}, string,
|
|
19
|
+
}, {}, {}, {}, string, vue97.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,10 +1,10 @@
|
|
|
1
1
|
import { CheckboxCardGroupOptionData, CheckboxCardGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue179 from "vue";
|
|
3
3
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/checkbox/checkbox-card-group.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends CheckboxCardGroupOptionData<T> = CheckboxCardGroupOptionData<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: vue179.PublicProps & __VLS_PrettifyLocal<CheckboxCardGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: 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 DefinedValue = DefinedValue, S extends Ch
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {};
|
|
15
15
|
emit: (evt: "update:modelValue", value: T[]) => void;
|
|
16
|
-
}>) =>
|
|
16
|
+
}>) => vue179.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CheckboxCardProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue181 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless93 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/checkbox/checkbox-card.vue.d.ts
|
|
6
6
|
declare var __VLS_21: {
|
|
@@ -11,13 +11,13 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
description?: (props: typeof __VLS_29) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
15
|
-
"update:modelValue": (value:
|
|
16
|
-
}, string,
|
|
17
|
-
"onUpdate:modelValue"?: ((value:
|
|
14
|
+
declare const __VLS_base: vue181.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue181.ComponentOptionsMixin, vue181.ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: _soybeanjs_headless93.CheckedState | null) => any;
|
|
16
|
+
}, string, vue181.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: _soybeanjs_headless93.CheckedState | null) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
modelValue:
|
|
20
|
-
}, {}, {}, {}, string,
|
|
19
|
+
modelValue: _soybeanjs_headless93.CheckedState | null;
|
|
20
|
+
}, {}, {}, {}, string, vue181.ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CheckboxGroupOptionData, CheckboxGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue172 from "vue";
|
|
3
3
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/checkbox/checkbox-group.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends CheckboxGroupOptionData<T> = CheckboxGroupOptionData<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: vue172.PublicProps & __VLS_PrettifyLocal<CheckboxGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: 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 DefinedValue = DefinedValue, S extends Ch
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {};
|
|
15
15
|
emit: (evt: "update:modelValue", value: T[]) => void;
|
|
16
|
-
}>) =>
|
|
16
|
+
}>) => vue172.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { CheckboxProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue174 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless86 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/checkbox/checkbox.vue.d.ts
|
|
6
6
|
declare var __VLS_28: {
|
|
7
|
-
modelValue:
|
|
8
|
-
state:
|
|
7
|
+
modelValue: _soybeanjs_headless86.CheckedState | null | undefined;
|
|
8
|
+
state: _soybeanjs_headless86.CheckedState;
|
|
9
9
|
}, __VLS_41: {
|
|
10
10
|
id: string;
|
|
11
|
-
modelValue:
|
|
12
|
-
state:
|
|
11
|
+
modelValue: _soybeanjs_headless86.CheckedState | null | undefined;
|
|
12
|
+
state: _soybeanjs_headless86.CheckedState;
|
|
13
13
|
};
|
|
14
14
|
type __VLS_Slots = {} & {
|
|
15
15
|
indicator?: (props: typeof __VLS_28) => any;
|
|
16
16
|
} & {
|
|
17
17
|
default?: (props: typeof __VLS_41) => any;
|
|
18
18
|
};
|
|
19
|
-
declare const __VLS_base:
|
|
20
|
-
"update:modelValue": (value:
|
|
21
|
-
}, string,
|
|
22
|
-
"onUpdate:modelValue"?: ((value:
|
|
19
|
+
declare const __VLS_base: vue174.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue174.ComponentOptionsMixin, vue174.ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: _soybeanjs_headless86.CheckedState | null) => any;
|
|
21
|
+
}, string, vue174.PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: _soybeanjs_headless86.CheckedState | null) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
modelValue:
|
|
25
|
-
}, {}, {}, {}, string,
|
|
24
|
+
modelValue: _soybeanjs_headless86.CheckedState | null;
|
|
25
|
+
}, {}, {}, {}, string, vue174.ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollapsibleProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue34 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/collapsible/collapsible.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {
|
|
@@ -8,15 +8,15 @@ declare var __VLS_10: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_10) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue34.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue34.ComponentOptionsMixin, vue34.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue34.PublicProps, Readonly<CollapsibleProps> & Readonly<{
|
|
14
14
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
open: boolean;
|
|
17
17
|
defaultOpen: boolean;
|
|
18
18
|
unmountOnHide: boolean;
|
|
19
|
-
}, {}, {}, {}, string,
|
|
19
|
+
}, {}, {}, {}, string, vue34.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,14 +1,14 @@
|
|
|
1
1
|
import { CommandOptionData, CommandProps, CommandSingleOptionData } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue64 from "vue";
|
|
3
3
|
import * as _soybeanjs_headless_composables0 from "@soybeanjs/headless/composables";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _soybeanjs_headless3 from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/command/command.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends CommandOptionData = CommandOptionData>(__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: vue64.PublicProps & __VLS_PrettifyLocal<CommandProps<T> & {
|
|
9
|
+
onSelect?: ((event: _soybeanjs_headless3.SelectEvent<string>) => any) | undefined;
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
-
onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<
|
|
11
|
+
onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless3.ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
12
12
|
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
13
13
|
onLeave?: ((event: Event) => any) | undefined;
|
|
14
14
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
@@ -36,8 +36,8 @@ declare const __VLS_export: <T extends CommandOptionData = CommandOptionData>(__
|
|
|
36
36
|
item: CommandSingleOptionData;
|
|
37
37
|
}) => any;
|
|
38
38
|
};
|
|
39
|
-
emit: ((evt: "select", event:
|
|
40
|
-
}>) =>
|
|
39
|
+
emit: ((evt: "select", event: _soybeanjs_headless3.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless3.ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
|
|
40
|
+
}>) => vue64.VNode & {
|
|
41
41
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
42
42
|
};
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
2
|
import "../../theme/index.js";
|
|
3
3
|
import { ConfigProviderProps as ConfigProviderProps$1 } from "./types.js";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as vue167 from "vue";
|
|
5
|
+
import * as _soybeanjs_headless85 from "@soybeanjs/headless";
|
|
6
6
|
import * as _soybeanjs_unocss_shadcn0 from "@soybeanjs/unocss-shadcn";
|
|
7
7
|
|
|
8
8
|
//#region src/components/config-provider/config-provider.vue.d.ts
|
|
@@ -10,11 +10,11 @@ declare var __VLS_20: {};
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_20) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue167.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue167.ComponentOptionsMixin, vue167.ComponentOptionsMixin, {}, string, vue167.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
|
|
14
|
+
dir: _soybeanjs_headless85.Direction;
|
|
14
15
|
size: ThemeSize;
|
|
15
|
-
dir: _soybeanjs_headless35.Direction;
|
|
16
16
|
theme: _soybeanjs_unocss_shadcn0.ThemeOptions;
|
|
17
|
-
}, {}, {}, {}, string,
|
|
17
|
+
}, {}, {}, {}, string, vue167.ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { MenuCheckboxOptionData } from "../menu/types.js";
|
|
2
2
|
import { ContextMenuCheckboxProps } from "./types.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue68 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless15 from "@soybeanjs/headless";
|
|
5
5
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
6
6
|
|
|
7
7
|
//#region src/components/context-menu/context-menu-checkbox.vue.d.ts
|
|
8
8
|
declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends MenuCheckboxOptionData<T> = MenuCheckboxOptionData<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<{
|
|
9
|
-
props:
|
|
9
|
+
props: vue68.PublicProps & __VLS_PrettifyLocal<ContextMenuCheckboxProps<T, S> & {
|
|
10
10
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
11
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
11
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
12
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
13
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
13
14
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
14
|
-
onPointerDownOutside?: ((event:
|
|
15
|
-
onFocusOutside?: ((event:
|
|
16
|
-
onInteractOutside?: ((event:
|
|
15
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless15.PointerDownOutsideEvent) => any) | undefined;
|
|
16
|
+
onFocusOutside?: ((event: _soybeanjs_headless15.FocusOutsideEvent) => any) | undefined;
|
|
17
|
+
onInteractOutside?: ((event: _soybeanjs_headless15.PointerDownOutsideEvent | _soybeanjs_headless15.FocusOutsideEvent) => any) | undefined;
|
|
17
18
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
19
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
20
20
|
}> & (typeof globalThis extends {
|
|
21
21
|
__VLS_PROPS_FALLBACK: infer P;
|
|
22
22
|
} ? P : {});
|
|
@@ -29,8 +29,8 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
29
29
|
'item-trailing': (props: S) => any;
|
|
30
30
|
'item-indicator-icon': (props: S) => any;
|
|
31
31
|
};
|
|
32
|
-
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:
|
|
33
|
-
}>) =>
|
|
32
|
+
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless15.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless15.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless15.PointerDownOutsideEvent | _soybeanjs_headless15.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue68.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|