@soybeanjs/ui 0.3.2 → 0.4.0
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 +63 -62
- package/README.zh-CN.md +130 -129
- 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.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.js +1 -1
- 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/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 +8 -8
- 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 +11 -11
- package/dist/components/context-menu/context-menu.vue.d.ts +8 -8
- 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 +12 -12
- 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 +12 -12
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +8 -8
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +22 -22
- 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 +4 -4
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +1 -1
- 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 +3 -3
- package/dist/components/menu/menu-options.vue.d.ts +3 -3
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +6 -6
- package/dist/components/page-tabs/index.d.ts +3 -0
- package/dist/components/page-tabs/page-tabs.js +1 -0
- package/dist/components/page-tabs/page-tabs.vue.d.ts +27 -0
- package/dist/components/page-tabs/types.d.ts +32 -0
- 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 +8 -8
- 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-option.js +1 -1
- package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
- package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
- package/dist/constants/components.d.ts +1 -0
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +26 -22
- package/dist/index.js +1 -1
- package/dist/styles.css +24 -4
- 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/page-tabs.d.ts +183 -0
- package/dist/variants/page-tabs.js +1 -0
- package/dist/variants/pagination.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 +5 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BreadcrumbEmits, BreadcrumbOptionData, BreadcrumbProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue25 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: vue25.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
|
+
}>) => vue25.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 vue73 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless13 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: vue73.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue73.ComponentOptionsMixin, vue73.ComponentOptionsMixin, {}, string, vue73.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
11
|
+
dir: _soybeanjs_headless13.Direction;
|
|
12
|
+
orientation: _soybeanjs_headless13.DataOrientation;
|
|
13
|
+
}, {}, {}, {}, string, vue73.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 vue63 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: vue63.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue63.ComponentOptionsMixin, vue63.ComponentOptionsMixin, {}, string, vue63.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
|
|
9
9
|
color: ThemeColor;
|
|
10
10
|
variant: ButtonVariant;
|
|
11
11
|
shape: ButtonShape;
|
|
12
12
|
fitContent: boolean;
|
|
13
|
-
}, {}, {}, {}, string,
|
|
13
|
+
}, {}, {}, {}, string, vue63.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { _default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"./button.js";import t from"../link/link.js";import{createBlock as n,createVNode as r,defineComponent as i,guardReactiveProps as a,mergeProps as o,normalizeProps as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";import{useOmitProps as f,usePickProps as p}from"@soybeanjs/headless/composables";var m=i({name:`SButtonLink`,__name:`button-link`,props:{class:{},color:{},size:{},variant:{default:`link`},shape:{},shadow:{},fitContent:{type:Boolean},disabled:{type:Boolean,default:void 0},asChild:{type:Boolean},as:{},to:{},
|
|
1
|
+
import e from"./button.js";import t from"../link/link.js";import{createBlock as n,createVNode as r,defineComponent as i,guardReactiveProps as a,mergeProps as o,normalizeProps as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";import{useOmitProps as f,usePickProps as p}from"@soybeanjs/headless/composables";var m=i({name:`SButtonLink`,__name:`button-link`,props:{class:{},color:{},size:{},variant:{default:`link`},shape:{},shadow:{},fitContent:{type:Boolean},disabled:{type:Boolean,default:void 0},asChild:{type:Boolean},as:{},to:{},replace:{type:Boolean,default:void 0},href:{},activeClass:{},exactActiveClass:{},inactiveClass:{},prefetchedClass:{},external:{type:Boolean,default:void 0},ariaCurrentValue:{},viewTransition:{type:Boolean,default:void 0},target:{},rel:{},noRel:{type:Boolean,default:void 0},prefetch:{type:Boolean,default:void 0},prefetchOn:{},noPrefetch:{type:Boolean,default:void 0},trailingSlash:{}},setup(i){let m=i,h=[`class`,`color`,`size`,`variant`,`shape`,`shadow`,`fitContent`],g=p(m,[...h]),_=f(m,[...h]);return(i,f)=>(c(),n(e,o(u(g),{"as-child":``}),{default:d(()=>[r(t,s(a(u(_))),{default:d(e=>[l(i.$slots,`default`,s(a(e)))]),_:3},16)]),_:3},16))}});export{m as 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 vue68 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/button/button-link.vue.d.ts
|
|
6
6
|
declare var __VLS_14: {
|
|
@@ -11,16 +11,16 @@ declare var __VLS_14: {
|
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
12
|
default?: (props: typeof __VLS_14) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
14
|
+
declare const __VLS_base: vue68.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue68.ComponentOptionsMixin, vue68.ComponentOptionsMixin, {}, string, vue68.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
|
|
15
15
|
disabled: boolean;
|
|
16
|
-
variant: ButtonVariant;
|
|
17
|
-
viewTransition: boolean;
|
|
18
16
|
replace: boolean;
|
|
17
|
+
variant: ButtonVariant;
|
|
19
18
|
external: boolean;
|
|
19
|
+
viewTransition: boolean;
|
|
20
20
|
noRel: boolean;
|
|
21
21
|
prefetch: boolean;
|
|
22
22
|
noPrefetch: boolean;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue68.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 { ButtonLoadingProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue58 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: vue58.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue58.ComponentOptionsMixin, vue58.ComponentOptionsMixin, {}, string, vue58.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
|
|
21
21
|
loadingIcon: string;
|
|
22
22
|
loadingPosition: Align;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue58.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 vue53 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: vue53.DefineComponent<ButtonProps, {}, {}, {}, {}, vue53.ComponentOptionsMixin, vue53.ComponentOptionsMixin, {
|
|
14
14
|
click: (event: MouseEvent) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue53.PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
16
16
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string,
|
|
17
|
+
}>, {}, {}, {}, {}, string, vue53.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,5 +1,5 @@
|
|
|
1
1
|
import { CardProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue91 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: vue91.DefineComponent<CardProps, {}, {}, {}, {}, vue91.ComponentOptionsMixin, vue91.ComponentOptionsMixin, {}, string, vue91.PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
18
18
|
scrollable: boolean;
|
|
19
|
-
}, {}, {}, {}, string,
|
|
19
|
+
}, {}, {}, {}, string, vue91.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 vue36 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: vue36.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
|
+
}>) => vue36.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 vue48 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless10 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: vue48.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue48.ComponentOptionsMixin, vue48.ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: _soybeanjs_headless10.CheckedState | null) => any;
|
|
16
|
+
}, string, vue48.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: _soybeanjs_headless10.CheckedState | null) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
modelValue:
|
|
20
|
-
}, {}, {}, {}, string,
|
|
19
|
+
modelValue: _soybeanjs_headless10.CheckedState | null;
|
|
20
|
+
}, {}, {}, {}, string, vue48.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 vue34 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: vue34.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
|
+
}>) => vue34.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 vue38 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless3 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_headless3.CheckedState | null | undefined;
|
|
8
|
+
state: _soybeanjs_headless3.CheckedState;
|
|
9
9
|
}, __VLS_41: {
|
|
10
10
|
id: string;
|
|
11
|
-
modelValue:
|
|
12
|
-
state:
|
|
11
|
+
modelValue: _soybeanjs_headless3.CheckedState | null | undefined;
|
|
12
|
+
state: _soybeanjs_headless3.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: vue38.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue38.ComponentOptionsMixin, vue38.ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: _soybeanjs_headless3.CheckedState | null) => any;
|
|
21
|
+
}, string, vue38.PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: _soybeanjs_headless3.CheckedState | null) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
modelValue:
|
|
25
|
-
}, {}, {}, {}, string,
|
|
24
|
+
modelValue: _soybeanjs_headless3.CheckedState | null;
|
|
25
|
+
}, {}, {}, {}, string, vue38.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 vue78 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: vue78.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue78.ComponentOptionsMixin, vue78.ComponentOptionsMixin, {
|
|
12
12
|
"update:open": (value: boolean) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue78.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, vue78.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,15 +1,15 @@
|
|
|
1
1
|
import { CommandBaseOptionData, CommandProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue83 from "vue";
|
|
3
3
|
import * as _soybeanjs_headless_composables0 from "@soybeanjs/headless/composables";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _soybeanjs_headless15 from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/command/command.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends CommandBaseOptionData = CommandBaseOptionData>(__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:
|
|
10
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
8
|
+
props: vue83.PublicProps & __VLS_PrettifyLocal<CommandProps<T> & {
|
|
9
|
+
onSelect?: ((event: _soybeanjs_headless15.SelectEvent<string>) => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
-
onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<
|
|
11
|
+
onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless15.ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
12
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
13
13
|
onLeave?: ((event: Event) => any) | undefined;
|
|
14
14
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
15
15
|
}> & (typeof globalThis extends {
|
|
@@ -38,8 +38,8 @@ declare const __VLS_export: <T extends CommandBaseOptionData = CommandBaseOption
|
|
|
38
38
|
} & {
|
|
39
39
|
bottom?: (props: {}) => any;
|
|
40
40
|
};
|
|
41
|
-
emit: ((evt: "select", event:
|
|
42
|
-
}>) =>
|
|
41
|
+
emit: ((evt: "select", event: _soybeanjs_headless15.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless15.ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
|
|
42
|
+
}>) => vue83.VNode & {
|
|
43
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
44
|
};
|
|
45
45
|
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 vue85 from "vue";
|
|
5
|
+
import * as _soybeanjs_headless19 from "@soybeanjs/headless";
|
|
6
6
|
import * as _soybeanjs_shadcn_theme0 from "@soybeanjs/shadcn-theme";
|
|
7
7
|
|
|
8
8
|
//#region src/components/config-provider/config-provider.vue.d.ts
|
|
@@ -10,15 +10,15 @@ declare var __VLS_26: {};
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_26) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
14
|
-
dir:
|
|
13
|
+
declare const __VLS_base: vue85.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue85.ComponentOptionsMixin, vue85.ComponentOptionsMixin, {}, string, vue85.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
|
|
14
|
+
dir: _soybeanjs_headless19.Direction;
|
|
15
15
|
size: ThemeSize;
|
|
16
16
|
theme: _soybeanjs_shadcn_theme0.ThemeOptions;
|
|
17
17
|
iconify: {
|
|
18
18
|
width?: string;
|
|
19
19
|
height?: string;
|
|
20
20
|
};
|
|
21
|
-
}, {}, {}, {}, string,
|
|
21
|
+
}, {}, {}, {}, string, vue85.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,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 vue98 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless28 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: vue98.PublicProps & __VLS_PrettifyLocal<ContextMenuCheckboxProps<T, S> & {
|
|
10
10
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
11
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
11
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
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_headless28.PointerDownOutsideEvent) => any) | undefined;
|
|
16
|
+
onFocusOutside?: ((event: _soybeanjs_headless28.FocusOutsideEvent) => any) | undefined;
|
|
17
|
+
onInteractOutside?: ((event: _soybeanjs_headless28.PointerDownOutsideEvent | _soybeanjs_headless28.FocusOutsideEvent) => any) | undefined;
|
|
17
18
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
19
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
-
"onUpdate:modelValue"?: ((value: T[]) => 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:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event:
|
|
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_headless28.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless28.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless28.PointerDownOutsideEvent | _soybeanjs_headless28.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue98.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { MenuRadioOptionData } from "../menu/types.js";
|
|
2
2
|
import { ContextMenuRadioProps } from "./types.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue105 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless44 from "@soybeanjs/headless";
|
|
5
5
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
6
6
|
|
|
7
7
|
//#region src/components/context-menu/context-menu-radio.vue.d.ts
|
|
8
8
|
declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends MenuRadioOptionData<T> = MenuRadioOptionData<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: vue105.PublicProps & __VLS_PrettifyLocal<ContextMenuRadioProps<T, S> & {
|
|
10
10
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
11
|
+
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
11
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
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_headless44.PointerDownOutsideEvent) => any) | undefined;
|
|
16
|
+
onFocusOutside?: ((event: _soybeanjs_headless44.FocusOutsideEvent) => any) | undefined;
|
|
17
|
+
onInteractOutside?: ((event: _soybeanjs_headless44.PointerDownOutsideEvent | _soybeanjs_headless44.FocusOutsideEvent) => any) | undefined;
|
|
17
18
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
19
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
-
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => 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 AcceptableBooleanValue = AcceptableBoolea
|
|
|
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:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event:
|
|
33
|
-
}>) =>
|
|
32
|
+
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", payload: NonNullable<T>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless44.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless44.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless44.PointerDownOutsideEvent | _soybeanjs_headless44.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue105.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContextMenuWrapperProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue100 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless36 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/context-menu/context-menu-wrapper.vue.d.ts
|
|
6
6
|
declare var __VLS_22: {}, __VLS_36: {};
|
|
@@ -9,27 +9,27 @@ 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: vue100.DefineComponent<ContextMenuWrapperProps, {}, {}, {}, {}, vue100.ComponentOptionsMixin, vue100.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
14
|
entryFocus: (event: Event) => any;
|
|
15
15
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16
|
-
pointerDownOutside: (event:
|
|
17
|
-
focusOutside: (event:
|
|
18
|
-
interactOutside: (event:
|
|
16
|
+
pointerDownOutside: (event: _soybeanjs_headless36.PointerDownOutsideEvent) => any;
|
|
17
|
+
focusOutside: (event: _soybeanjs_headless36.FocusOutsideEvent) => any;
|
|
18
|
+
interactOutside: (event: _soybeanjs_headless36.PointerDownOutsideEvent | _soybeanjs_headless36.FocusOutsideEvent) => any;
|
|
19
19
|
openAutoFocus: (event: Event) => any;
|
|
20
20
|
closeAutoFocus: (event: Event) => any;
|
|
21
|
-
}, string,
|
|
21
|
+
}, string, vue100.PublicProps, Readonly<ContextMenuWrapperProps> & Readonly<{
|
|
22
22
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
23
23
|
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
24
24
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
25
|
-
onPointerDownOutside?: ((event:
|
|
26
|
-
onFocusOutside?: ((event:
|
|
27
|
-
onInteractOutside?: ((event:
|
|
25
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless36.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: _soybeanjs_headless36.FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: _soybeanjs_headless36.PointerDownOutsideEvent | _soybeanjs_headless36.FocusOutsideEvent) => any) | undefined;
|
|
28
28
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
modal: boolean;
|
|
32
|
-
}, {}, {}, {}, string,
|
|
32
|
+
}, {}, {}, {}, string, vue100.ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
34
|
declare const _default: typeof __VLS_export;
|
|
35
35
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { MenuOptionData } from "../menu/types.js";
|
|
2
2
|
import { ContextMenuProps } from "./types.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue96 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless20 from "@soybeanjs/headless";
|
|
5
5
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
6
6
|
|
|
7
7
|
//#region src/components/context-menu/context-menu.vue.d.ts
|
|
8
8
|
declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends MenuOptionData<T> = MenuOptionData<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: vue96.PublicProps & __VLS_PrettifyLocal<ContextMenuProps<T, S> & {
|
|
10
10
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
11
11
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
13
13
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
14
|
-
onPointerDownOutside?: ((event:
|
|
15
|
-
onFocusOutside?: ((event:
|
|
16
|
-
onInteractOutside?: ((event:
|
|
14
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless20.PointerDownOutsideEvent) => any) | undefined;
|
|
15
|
+
onFocusOutside?: ((event: _soybeanjs_headless20.FocusOutsideEvent) => any) | undefined;
|
|
16
|
+
onInteractOutside?: ((event: _soybeanjs_headless20.PointerDownOutsideEvent | _soybeanjs_headless20.FocusOutsideEvent) => any) | undefined;
|
|
17
17
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
18
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
19
|
}> & (typeof globalThis extends {
|
|
@@ -29,8 +29,8 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
29
29
|
'item-trigger': (props: MenuOptionData<T>) => any;
|
|
30
30
|
'item-trigger-icon': (props: MenuOptionData<T>) => any;
|
|
31
31
|
};
|
|
32
|
-
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event:
|
|
33
|
-
}>) =>
|
|
32
|
+
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless20.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless20.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless20.PointerDownOutsideEvent | _soybeanjs_headless20.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue96.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue112 from "vue";
|
|
2
2
|
import { DialogCloseProps } from "@soybeanjs/headless";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dialog/dialog-close.vue.d.ts
|
|
@@ -6,7 +6,7 @@ declare var __VLS_8: {};
|
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue112.DefineComponent<DialogCloseProps, {}, {}, {}, {}, vue112.ComponentOptionsMixin, vue112.ComponentOptionsMixin, {}, string, vue112.PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue112.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 & {
|