@soybeanjs/ui 0.0.6-beta.1 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion.vue.d.ts +11 -9
- package/dist/components/alert/alert.vue.d.ts +10 -10
- package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +6 -6
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +6 -6
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +13 -13
- package/dist/components/avatar/avatar.vue.d.ts +11 -11
- package/dist/components/badge/badge.vue.d.ts +6 -6
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +7 -5
- package/dist/components/button/button-group.vue.d.ts +8 -8
- package/dist/components/button/button-icon.vue.d.ts +3 -3
- package/dist/components/button/button-link.vue.d.ts +6 -6
- package/dist/components/button/button-loading.vue.d.ts +10 -10
- 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 +8 -6
- package/dist/components/checkbox/checkbox-card.vue.d.ts +12 -12
- package/dist/components/checkbox/checkbox-group.vue.d.ts +8 -6
- package/dist/components/checkbox/checkbox.vue.d.ts +16 -16
- package/dist/components/collapsible/collapsible.vue.d.ts +4 -4
- package/dist/components/command/command.vue.d.ts +12 -10
- package/dist/components/config-provider/config-provider.vue.d.ts +7 -7
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +14 -12
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +14 -12
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +16 -16
- package/dist/components/context-menu/context-menu.vue.d.ts +13 -11
- package/dist/components/dialog/dialog-close.vue.d.ts +4 -4
- package/dist/components/dialog/dialog-pure.vue.d.ts +16 -16
- package/dist/components/dialog/dialog.vue.d.ts +22 -22
- package/dist/components/drawer/drawer-close.vue.d.ts +4 -4
- package/dist/components/drawer/drawer.vue.d.ts +23 -23
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +14 -12
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +14 -12
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +16 -16
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +13 -11
- package/dist/components/form/form-field-array.vue.d.ts +8 -8
- package/dist/components/form/form-field.vue.d.ts +7 -7
- 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 +6 -6
- package/dist/components/kbd/kbd.vue.d.ts +3 -3
- package/dist/components/label/label.vue.d.ts +4 -4
- package/dist/components/layout/layout-trigger.vue.d.ts +4 -4
- package/dist/components/layout/layout.vue.d.ts +11 -11
- package/dist/components/link/link.vue.d.ts +5 -5
- package/dist/components/list/list-item.vue.d.ts +8 -8
- package/dist/components/list/list.vue.d.ts +4 -4
- package/dist/components/menu/menu-checkbox-options.vue.d.ts +7 -5
- package/dist/components/menu/menu-option.vue.d.ts +13 -11
- package/dist/components/menu/menu-options.vue.d.ts +13 -11
- package/dist/components/menu/menu-radio-options.vue.d.ts +7 -5
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +13 -13
- package/dist/components/number-input/number-input.vue.d.ts +8 -8
- package/dist/components/pagination/pagination.vue.d.ts +10 -10
- package/dist/components/password/password.vue.d.ts +7 -7
- package/dist/components/popover/popover.vue.d.ts +15 -15
- package/dist/components/radio-group/radio-card-group.vue.d.ts +8 -6
- package/dist/components/radio-group/radio-card.vue.d.ts +6 -6
- package/dist/components/radio-group/radio-group.vue.d.ts +8 -6
- package/dist/components/radio-group/radio.vue.d.ts +4 -4
- package/dist/components/segment/segment.vue.d.ts +8 -8
- package/dist/components/select/select.vue.d.ts +12 -10
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/switch/switch.vue.d.ts +10 -627
- package/dist/components/tabs/tabs.vue.d.ts +9 -11
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +8 -8
- package/dist/components/toast/toast.vue.d.ts +5 -5
- package/dist/components/tooltip/tooltip.vue.d.ts +10 -10
- package/dist/components/tree/tree-virtualizer.vue.d.ts +11 -11
- package/dist/components/tree/tree.vue.d.ts +11 -10
- package/dist/components/tree-menu/tree-menu-item-wrapper.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-item.js +1 -1
- package/dist/components/tree-menu/tree-menu.js +1 -1
- package/dist/components/tree-menu/tree-menu.vue.d.ts +9 -6
- package/dist/components/tree-menu/types.d.ts +3 -3
- package/dist/components/virtualizer/virtualizer.vue.d.ts +7 -5
- 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/package.json +16 -16
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { MenuRadioOptionData } from "../menu/types.js";
|
|
2
2
|
import { DropdownMenuRadioProps } from "./types.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue141 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless82 from "@soybeanjs/headless";
|
|
5
5
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
6
6
|
|
|
7
7
|
//#region src/components/dropdown-menu/dropdown-menu-radio.vue.d.ts
|
|
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">>,
|
|
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
9
|
props: __VLS_PrettifyLocal<DropdownMenuRadioProps<T, S> & {
|
|
10
10
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
11
|
-
|
|
11
|
+
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
12
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_headless82.PointerDownOutsideEvent) => any) | undefined;
|
|
16
|
+
onFocusOutside?: ((event: _soybeanjs_headless82.FocusOutsideEvent) => any) | undefined;
|
|
17
|
+
onInteractOutside?: ((event: _soybeanjs_headless82.PointerDownOutsideEvent | _soybeanjs_headless82.FocusOutsideEvent) => any) | undefined;
|
|
17
18
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
19
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
}> & vue141.PublicProps & (typeof globalThis extends {
|
|
21
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
22
|
+
} ? P : {});
|
|
21
23
|
expose: (exposed: {}) => void;
|
|
22
24
|
attrs: any;
|
|
23
25
|
slots: {
|
|
@@ -27,11 +29,11 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
27
29
|
'item-trailing': (props: S) => any;
|
|
28
30
|
'item-indicator-icon': (props: S) => any;
|
|
29
31
|
};
|
|
30
|
-
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "
|
|
31
|
-
}>) =>
|
|
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_headless82.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless82.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless82.PointerDownOutsideEvent | _soybeanjs_headless82.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue141.VNode & {
|
|
32
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
33
35
|
};
|
|
34
36
|
declare const _default: typeof __VLS_export;
|
|
35
|
-
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
37
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
36
38
|
//#endregion
|
|
37
39
|
export { _default };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { DropdownMenuWrapperProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue143 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless90 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts
|
|
6
|
-
declare var
|
|
6
|
+
declare var __VLS_16: {}, __VLS_30: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
trigger?: (props: typeof
|
|
8
|
+
trigger?: (props: typeof __VLS_16) => any;
|
|
9
9
|
} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_30) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
13
|
-
entryFocus: (event: Event) => any;
|
|
12
|
+
declare const __VLS_base: vue143.DefineComponent<DropdownMenuWrapperProps, {}, {}, {}, {}, vue143.ComponentOptionsMixin, vue143.ComponentOptionsMixin, {
|
|
14
13
|
"update:open": (value: boolean) => any;
|
|
14
|
+
entryFocus: (event: Event) => any;
|
|
15
15
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16
|
-
pointerDownOutside: (event:
|
|
17
|
-
focusOutside: (event:
|
|
18
|
-
interactOutside: (event:
|
|
16
|
+
pointerDownOutside: (event: _soybeanjs_headless90.PointerDownOutsideEvent) => any;
|
|
17
|
+
focusOutside: (event: _soybeanjs_headless90.FocusOutsideEvent) => any;
|
|
18
|
+
interactOutside: (event: _soybeanjs_headless90.PointerDownOutsideEvent | _soybeanjs_headless90.FocusOutsideEvent) => any;
|
|
19
19
|
openAutoFocus: (event: Event) => any;
|
|
20
20
|
closeAutoFocus: (event: Event) => any;
|
|
21
|
-
}, string,
|
|
22
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
21
|
+
}, string, vue143.PublicProps, Readonly<DropdownMenuWrapperProps> & Readonly<{
|
|
23
22
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
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_headless90.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: _soybeanjs_headless90.FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: _soybeanjs_headless90.PointerDownOutsideEvent | _soybeanjs_headless90.FocusOutsideEvent) => any) | undefined;
|
|
28
28
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
open: boolean;
|
|
32
32
|
modal: boolean;
|
|
33
|
-
}, {}, {}, {}, string,
|
|
33
|
+
}, {}, {}, {}, string, vue143.ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { MenuOptionData } from "../menu/types.js";
|
|
2
2
|
import { DropdownMenuProps } from "./types.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue139 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless74 from "@soybeanjs/headless";
|
|
5
5
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
6
6
|
|
|
7
7
|
//#region src/components/dropdown-menu/dropdown-menu.vue.d.ts
|
|
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">>,
|
|
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
9
|
props: __VLS_PrettifyLocal<DropdownMenuProps<T, S> & {
|
|
10
10
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
11
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
12
11
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
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_headless74.PointerDownOutsideEvent) => any) | undefined;
|
|
15
|
+
onFocusOutside?: ((event: _soybeanjs_headless74.FocusOutsideEvent) => any) | undefined;
|
|
16
|
+
onInteractOutside?: ((event: _soybeanjs_headless74.PointerDownOutsideEvent | _soybeanjs_headless74.FocusOutsideEvent) => any) | undefined;
|
|
17
17
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
18
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
-
}> &
|
|
19
|
+
}> & vue139.PublicProps & (typeof globalThis extends {
|
|
20
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
21
|
+
} ? P : {});
|
|
20
22
|
expose: (exposed: {}) => void;
|
|
21
23
|
attrs: any;
|
|
22
24
|
slots: {
|
|
@@ -27,11 +29,11 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
27
29
|
'item-trigger': (props: MenuOptionData<T>) => any;
|
|
28
30
|
'item-trigger-icon': (props: MenuOptionData<T>) => any;
|
|
29
31
|
};
|
|
30
|
-
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "
|
|
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: _soybeanjs_headless74.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless74.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless74.PointerDownOutsideEvent | _soybeanjs_headless74.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue139.VNode & {
|
|
32
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
33
35
|
};
|
|
34
36
|
declare const _default: typeof __VLS_export;
|
|
35
|
-
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
37
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
36
38
|
//#endregion
|
|
37
39
|
export { _default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FormFieldArrayProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue160 from "vue";
|
|
3
3
|
import * as _soybeanjs_headless_forms0 from "@soybeanjs/headless/forms";
|
|
4
4
|
|
|
5
5
|
//#region src/components/form/form-field-array.vue.d.ts
|
|
6
|
-
declare var
|
|
6
|
+
declare var __VLS_14: {
|
|
7
7
|
fields: _soybeanjs_headless_forms0.FormFieldEntry<unknown>[];
|
|
8
8
|
dirty: boolean;
|
|
9
9
|
error: string | string[] | _soybeanjs_headless_forms0.FormErrors<any> | undefined;
|
|
@@ -19,7 +19,7 @@ declare var __VLS_12: {
|
|
|
19
19
|
insert: (index: number, value: unknown) => void;
|
|
20
20
|
update: (index: number, value: unknown) => void;
|
|
21
21
|
replace: ($values: unknown[]) => void;
|
|
22
|
-
},
|
|
22
|
+
}, __VLS_16: {
|
|
23
23
|
fields: _soybeanjs_headless_forms0.FormFieldEntry<unknown>[];
|
|
24
24
|
dirty: boolean;
|
|
25
25
|
error: string | string[] | _soybeanjs_headless_forms0.FormErrors<any> | undefined;
|
|
@@ -35,7 +35,7 @@ declare var __VLS_12: {
|
|
|
35
35
|
insert: (index: number, value: unknown) => void;
|
|
36
36
|
update: (index: number, value: unknown) => void;
|
|
37
37
|
replace: ($values: unknown[]) => void;
|
|
38
|
-
},
|
|
38
|
+
}, __VLS_24: {
|
|
39
39
|
fields: _soybeanjs_headless_forms0.FormFieldEntry<unknown>[];
|
|
40
40
|
dirty: boolean;
|
|
41
41
|
error: string | string[] | _soybeanjs_headless_forms0.FormErrors<any> | undefined;
|
|
@@ -53,13 +53,13 @@ declare var __VLS_12: {
|
|
|
53
53
|
replace: ($values: unknown[]) => void;
|
|
54
54
|
};
|
|
55
55
|
type __VLS_Slots = {} & {
|
|
56
|
-
label?: (props: typeof
|
|
56
|
+
label?: (props: typeof __VLS_14) => any;
|
|
57
57
|
} & {
|
|
58
|
-
default?: (props: typeof
|
|
58
|
+
default?: (props: typeof __VLS_16) => any;
|
|
59
59
|
} & {
|
|
60
|
-
description?: (props: typeof
|
|
60
|
+
description?: (props: typeof __VLS_24) => any;
|
|
61
61
|
};
|
|
62
|
-
declare const __VLS_base:
|
|
62
|
+
declare const __VLS_base: vue160.DefineComponent<FormFieldArrayProps, {}, {}, {}, {}, vue160.ComponentOptionsMixin, vue160.ComponentOptionsMixin, {}, string, vue160.PublicProps, Readonly<FormFieldArrayProps> & Readonly<{}>, {}, {}, {}, {}, string, vue160.ComponentProvideOptions, false, {}, any>;
|
|
63
63
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { FormFieldProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue150 from "vue";
|
|
3
3
|
import * as _soybeanjs_headless_forms0 from "@soybeanjs/headless/forms";
|
|
4
4
|
|
|
5
5
|
//#region src/components/form/form-field.vue.d.ts
|
|
6
|
-
declare var
|
|
6
|
+
declare var __VLS_14: {}, __VLS_27: {
|
|
7
7
|
dirty: boolean;
|
|
8
8
|
error: string | string[] | _soybeanjs_headless_forms0.FormErrors<any> | undefined;
|
|
9
9
|
touched: boolean | undefined;
|
|
10
|
-
},
|
|
10
|
+
}, __VLS_35: {};
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
|
-
label?: (props: typeof
|
|
12
|
+
label?: (props: typeof __VLS_14) => any;
|
|
13
13
|
} & {
|
|
14
|
-
default?: (props: typeof
|
|
14
|
+
default?: (props: typeof __VLS_27) => any;
|
|
15
15
|
} & {
|
|
16
|
-
description?: (props: typeof
|
|
16
|
+
description?: (props: typeof __VLS_35) => any;
|
|
17
17
|
};
|
|
18
|
-
declare const __VLS_base:
|
|
18
|
+
declare const __VLS_base: vue150.DefineComponent<FormFieldProps, {}, {}, {}, {}, vue150.ComponentOptionsMixin, vue150.ComponentOptionsMixin, {}, string, vue150.PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, vue150.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,12 +1,12 @@
|
|
|
1
1
|
import { FormProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue155 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form/form.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue155.DefineComponent<FormProps, {}, {}, {}, {}, vue155.ComponentOptionsMixin, vue155.ComponentOptionsMixin, {}, string, vue155.PublicProps, Readonly<FormProps> & Readonly<{}>, {}, {}, {}, {}, string, vue155.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 { IconProps as IconProps$1 } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue165 from "vue";
|
|
3
3
|
import * as _iconify_vue0 from "@iconify/vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/icon/icon.vue.d.ts
|
|
6
|
-
declare const __VLS_export:
|
|
6
|
+
declare const __VLS_export: vue165.DefineComponent<IconProps$1, {}, {}, {}, {}, vue165.ComponentOptionsMixin, vue165.ComponentOptionsMixin, {}, string, vue165.PublicProps, Readonly<IconProps$1> & Readonly<{}>, {
|
|
7
7
|
height: _iconify_vue0.IconifyIconSize;
|
|
8
8
|
width: _iconify_vue0.IconifyIconSize;
|
|
9
|
-
}, {}, {}, {}, string,
|
|
9
|
+
}, {}, {}, {}, string, vue165.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { _default };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { InputProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue170 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/input/input.vue.d.ts
|
|
5
|
-
declare var __VLS_10: {},
|
|
5
|
+
declare var __VLS_10: {}, __VLS_25: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
leading?: (props: typeof __VLS_10) => any;
|
|
8
8
|
} & {
|
|
9
|
-
trailing?: (props: typeof
|
|
9
|
+
trailing?: (props: typeof __VLS_25) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue170.DefineComponent<InputProps, {}, {}, {}, {}, vue170.ComponentOptionsMixin, vue170.ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue170.PublicProps, Readonly<InputProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue170.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { KbdProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue175 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/kbd/kbd.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue175.DefineComponent<KbdProps, {}, {}, {}, {}, vue175.ComponentOptionsMixin, vue175.ComponentOptionsMixin, {}, string, vue175.PublicProps, Readonly<KbdProps> & Readonly<{}>, {
|
|
6
6
|
symbolize: boolean;
|
|
7
|
-
}, {}, {}, {}, string,
|
|
7
|
+
}, {}, {}, {}, string, vue175.ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { _default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LabelProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue180 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/label/label.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue180.DefineComponent<LabelProps, {}, {}, {}, {}, vue180.ComponentOptionsMixin, vue180.ComponentOptionsMixin, {}, string, vue180.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue180.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
|
-
import * as
|
|
1
|
+
import * as vue190 from "vue";
|
|
2
2
|
import { LayoutTriggerProps } from "@soybeanjs/headless";
|
|
3
3
|
|
|
4
4
|
//#region src/components/layout/layout-trigger.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue190.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue190.ComponentOptionsMixin, vue190.ComponentOptionsMixin, {}, string, vue190.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue190.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,29 +1,29 @@
|
|
|
1
1
|
import { LayoutProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue185 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/layout/layout.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_16: {
|
|
6
6
|
open: boolean | undefined;
|
|
7
7
|
collapsedSidebarWidth: number;
|
|
8
|
-
},
|
|
8
|
+
}, __VLS_36: {}, __VLS_44: {}, __VLS_46: {}, __VLS_54: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
sidebar?: (props: typeof
|
|
10
|
+
sidebar?: (props: typeof __VLS_16) => any;
|
|
11
11
|
} & {
|
|
12
|
-
header?: (props: typeof
|
|
12
|
+
header?: (props: typeof __VLS_36) => any;
|
|
13
13
|
} & {
|
|
14
|
-
tab?: (props: typeof
|
|
14
|
+
tab?: (props: typeof __VLS_44) => any;
|
|
15
15
|
} & {
|
|
16
|
-
default?: (props: typeof
|
|
16
|
+
default?: (props: typeof __VLS_46) => any;
|
|
17
17
|
} & {
|
|
18
|
-
footer?: (props: typeof
|
|
18
|
+
footer?: (props: typeof __VLS_54) => any;
|
|
19
19
|
};
|
|
20
|
-
declare const __VLS_base:
|
|
20
|
+
declare const __VLS_base: vue185.DefineComponent<LayoutProps, {}, {}, {}, {}, vue185.ComponentOptionsMixin, vue185.ComponentOptionsMixin, {
|
|
21
21
|
"update:open": (open: boolean) => any;
|
|
22
|
-
}, string,
|
|
22
|
+
}, string, vue185.PublicProps, Readonly<LayoutProps> & Readonly<{
|
|
23
23
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
open: boolean;
|
|
26
|
-
}, {}, {}, {}, string,
|
|
26
|
+
}, {}, {}, {}, string, vue185.ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { LinkProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue195 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/link/link.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {
|
|
6
6
|
isHref: boolean;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue195.DefineComponent<LinkProps, {}, {}, {}, {}, vue195.ComponentOptionsMixin, vue195.ComponentOptionsMixin, {}, string, vue195.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
replace: boolean;
|
|
14
14
|
viewTransition: boolean;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_base: vue36.DefineComponent<LinkProps, {}, {}, {}, {}, vue36
|
|
|
16
16
|
noRel: boolean;
|
|
17
17
|
prefetch: boolean;
|
|
18
18
|
noPrefetch: boolean;
|
|
19
|
-
}, {}, {}, {}, string,
|
|
19
|
+
}, {}, {}, {}, string, vue195.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,20 +1,20 @@
|
|
|
1
1
|
import { ListItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue205 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/list-item.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {}, __VLS_22: {}, __VLS_30: {}, __VLS_32: {}, __VLS_34: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
leading?: (props: typeof
|
|
7
|
+
leading?: (props: typeof __VLS_8) => any;
|
|
8
8
|
} & {
|
|
9
|
-
title?: (props: typeof
|
|
9
|
+
title?: (props: typeof __VLS_22) => any;
|
|
10
10
|
} & {
|
|
11
|
-
description?: (props: typeof
|
|
11
|
+
description?: (props: typeof __VLS_30) => any;
|
|
12
12
|
} & {
|
|
13
|
-
default?: (props: typeof
|
|
13
|
+
default?: (props: typeof __VLS_32) => any;
|
|
14
14
|
} & {
|
|
15
|
-
trailing?: (props: typeof
|
|
15
|
+
trailing?: (props: typeof __VLS_34) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base:
|
|
17
|
+
declare const __VLS_base: vue205.DefineComponent<ListItemProps, {}, {}, {}, {}, vue205.ComponentOptionsMixin, vue205.ComponentOptionsMixin, {}, string, vue205.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue205.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,12 +1,12 @@
|
|
|
1
1
|
import { ListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue200 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/list.vue.d.ts
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue200.DefineComponent<ListProps, {}, {}, {}, {}, vue200.ComponentOptionsMixin, vue200.ComponentOptionsMixin, {}, string, vue200.PublicProps, Readonly<ListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue200.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,13 +1,15 @@
|
|
|
1
1
|
import { MenuCheckboxOptionData, MenuCheckboxOptionsProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue214 from "vue";
|
|
3
3
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/menu/menu-checkbox-options.vue.d.ts
|
|
6
|
-
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">>,
|
|
6
|
+
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<{
|
|
7
7
|
props: __VLS_PrettifyLocal<MenuCheckboxOptionsProps<T, S> & {
|
|
8
8
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
9
9
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
10
|
-
}> &
|
|
10
|
+
}> & vue214.PublicProps & (typeof globalThis extends {
|
|
11
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
+
} ? P : {});
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: {
|
|
@@ -17,10 +19,10 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
17
19
|
'item-indicator-icon': (props: S) => any;
|
|
18
20
|
};
|
|
19
21
|
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void);
|
|
20
|
-
}>) =>
|
|
22
|
+
}>) => vue214.VNode & {
|
|
21
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
24
|
};
|
|
23
25
|
declare const _default: typeof __VLS_export;
|
|
24
|
-
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
26
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
25
27
|
//#endregion
|
|
26
28
|
export { _default };
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { MenuOptionData, MenuOptionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue210 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless106 from "@soybeanjs/headless";
|
|
4
4
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-option.vue.d.ts
|
|
7
|
-
declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
7
|
+
declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: __VLS_PrettifyLocal<MenuOptionProps<T> & {
|
|
9
9
|
onSelect?: ((item: MenuOptionData<T>, event: Event) => any) | undefined;
|
|
10
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
11
10
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
12
12
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
13
|
-
onPointerDownOutside?: ((event:
|
|
14
|
-
onFocusOutside?: ((event:
|
|
15
|
-
onInteractOutside?: ((event:
|
|
13
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless106.PointerDownOutsideEvent) => any) | undefined;
|
|
14
|
+
onFocusOutside?: ((event: _soybeanjs_headless106.FocusOutsideEvent) => any) | undefined;
|
|
15
|
+
onInteractOutside?: ((event: _soybeanjs_headless106.PointerDownOutsideEvent | _soybeanjs_headless106.FocusOutsideEvent) => any) | undefined;
|
|
16
16
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
17
17
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
|
-
}> &
|
|
18
|
+
}> & vue210.PublicProps & (typeof globalThis extends {
|
|
19
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
20
|
+
} ? P : {});
|
|
19
21
|
expose: (exposed: {}) => void;
|
|
20
22
|
attrs: any;
|
|
21
23
|
slots: {
|
|
@@ -36,11 +38,11 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
|
|
|
36
38
|
item: MenuOptionData<T>;
|
|
37
39
|
}) => any;
|
|
38
40
|
};
|
|
39
|
-
emit: ((evt: "select", item: MenuOptionData<T>, event: Event) => void) & ((evt: "
|
|
40
|
-
}>) =>
|
|
41
|
+
emit: ((evt: "select", item: MenuOptionData<T>, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless106.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless106.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless106.PointerDownOutsideEvent | _soybeanjs_headless106.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
42
|
+
}>) => vue210.VNode & {
|
|
41
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
42
44
|
};
|
|
43
45
|
declare const _default: typeof __VLS_export;
|
|
44
|
-
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
46
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
45
47
|
//#endregion
|
|
46
48
|
export { _default };
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { MenuOptionData, MenuOptionsProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue212 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless114 from "@soybeanjs/headless";
|
|
4
4
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-options.vue.d.ts
|
|
7
|
-
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">>,
|
|
7
|
+
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<{
|
|
8
8
|
props: __VLS_PrettifyLocal<MenuOptionsProps<T, S> & {
|
|
9
9
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
10
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
11
10
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
12
12
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
13
|
-
onPointerDownOutside?: ((event:
|
|
14
|
-
onFocusOutside?: ((event:
|
|
15
|
-
onInteractOutside?: ((event:
|
|
13
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless114.PointerDownOutsideEvent) => any) | undefined;
|
|
14
|
+
onFocusOutside?: ((event: _soybeanjs_headless114.FocusOutsideEvent) => any) | undefined;
|
|
15
|
+
onInteractOutside?: ((event: _soybeanjs_headless114.PointerDownOutsideEvent | _soybeanjs_headless114.FocusOutsideEvent) => any) | undefined;
|
|
16
16
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
17
17
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
|
-
}> &
|
|
18
|
+
}> & vue212.PublicProps & (typeof globalThis extends {
|
|
19
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
20
|
+
} ? P : {});
|
|
19
21
|
expose: (exposed: {}) => void;
|
|
20
22
|
attrs: any;
|
|
21
23
|
slots: {
|
|
@@ -36,11 +38,11 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
36
38
|
item: MenuOptionData<T>;
|
|
37
39
|
}) => any;
|
|
38
40
|
};
|
|
39
|
-
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "
|
|
40
|
-
}>) =>
|
|
41
|
+
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_headless114.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless114.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless114.PointerDownOutsideEvent | _soybeanjs_headless114.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
42
|
+
}>) => vue212.VNode & {
|
|
41
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
42
44
|
};
|
|
43
45
|
declare const _default: typeof __VLS_export;
|
|
44
|
-
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
46
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
45
47
|
//#endregion
|
|
46
48
|
export { _default };
|