@soybeanjs/ui 0.0.6-beta.1 → 0.0.6-beta.2
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 +9 -9
- 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 +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/radio-group.d.ts +3 -3
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tabs.d.ts +3 -3
- package/dist/variants/tag.d.ts +3 -3
- package/dist/variants/textarea.d.ts +3 -3
- package/dist/variants/toast.d.ts +3 -3
- package/package.json +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 vue78 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless42 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
13
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
14
|
-
onPointerDownOutside?: ((event:
|
|
15
|
-
onFocusOutside?: ((event:
|
|
16
|
-
onInteractOutside?: ((event:
|
|
14
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless42.PointerDownOutsideEvent) => any) | undefined;
|
|
15
|
+
onFocusOutside?: ((event: _soybeanjs_headless42.FocusOutsideEvent) => any) | undefined;
|
|
16
|
+
onInteractOutside?: ((event: _soybeanjs_headless42.PointerDownOutsideEvent | _soybeanjs_headless42.FocusOutsideEvent) => any) | undefined;
|
|
17
17
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
18
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
-
|
|
20
|
-
}> &
|
|
19
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
20
|
+
}> & vue78.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: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless42.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless42.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless42.PointerDownOutsideEvent | _soybeanjs_headless42.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
|
|
33
|
+
}>) => vue78.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 vue80 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless50 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: vue80.DefineComponent<DropdownMenuWrapperProps, {}, {}, {}, {}, vue80.ComponentOptionsMixin, vue80.ComponentOptionsMixin, {
|
|
14
13
|
"update:open": (value: boolean) => any;
|
|
15
14
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16
|
-
pointerDownOutside: (event:
|
|
17
|
-
focusOutside: (event:
|
|
18
|
-
interactOutside: (event:
|
|
15
|
+
pointerDownOutside: (event: _soybeanjs_headless50.PointerDownOutsideEvent) => any;
|
|
16
|
+
focusOutside: (event: _soybeanjs_headless50.FocusOutsideEvent) => any;
|
|
17
|
+
interactOutside: (event: _soybeanjs_headless50.PointerDownOutsideEvent | _soybeanjs_headless50.FocusOutsideEvent) => any;
|
|
19
18
|
openAutoFocus: (event: Event) => any;
|
|
20
19
|
closeAutoFocus: (event: Event) => any;
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
entryFocus: (event: Event) => any;
|
|
21
|
+
}, string, vue80.PublicProps, Readonly<DropdownMenuWrapperProps> & Readonly<{
|
|
23
22
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
24
23
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
25
|
-
onPointerDownOutside?: ((event:
|
|
26
|
-
onFocusOutside?: ((event:
|
|
27
|
-
onInteractOutside?: ((event:
|
|
24
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless50.PointerDownOutsideEvent) => any) | undefined;
|
|
25
|
+
onFocusOutside?: ((event: _soybeanjs_headless50.FocusOutsideEvent) => any) | undefined;
|
|
26
|
+
onInteractOutside?: ((event: _soybeanjs_headless50.PointerDownOutsideEvent | _soybeanjs_headless50.FocusOutsideEvent) => any) | undefined;
|
|
28
27
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
28
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
open: boolean;
|
|
32
32
|
modal: boolean;
|
|
33
|
-
}, {}, {}, {}, string,
|
|
33
|
+
}, {}, {}, {}, string, vue80.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 vue74 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless26 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;
|
|
13
12
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
14
|
-
onPointerDownOutside?: ((event:
|
|
15
|
-
onFocusOutside?: ((event:
|
|
16
|
-
onInteractOutside?: ((event:
|
|
13
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless26.PointerDownOutsideEvent) => any) | undefined;
|
|
14
|
+
onFocusOutside?: ((event: _soybeanjs_headless26.FocusOutsideEvent) => any) | undefined;
|
|
15
|
+
onInteractOutside?: ((event: _soybeanjs_headless26.PointerDownOutsideEvent | _soybeanjs_headless26.FocusOutsideEvent) => any) | undefined;
|
|
17
16
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
17
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
-
|
|
18
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
19
|
+
}> & vue74.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: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless26.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless26.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless26.PointerDownOutsideEvent | _soybeanjs_headless26.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
|
|
33
|
+
}>) => vue74.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 vue233 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: vue233.DefineComponent<FormFieldArrayProps, {}, {}, {}, {}, vue233.ComponentOptionsMixin, vue233.ComponentOptionsMixin, {}, string, vue233.PublicProps, Readonly<FormFieldArrayProps> & Readonly<{}>, {}, {}, {}, {}, string, vue233.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
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue238 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless_forms5 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
|
-
error: string | string[] |
|
|
8
|
+
error: string | string[] | _soybeanjs_headless_forms5.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: vue238.DefineComponent<FormFieldProps, {}, {}, {}, {}, vue238.ComponentOptionsMixin, vue238.ComponentOptionsMixin, {}, string, vue238.PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, vue238.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 vue228 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: vue228.DefineComponent<FormProps, {}, {}, {}, {}, vue228.ComponentOptionsMixin, vue228.ComponentOptionsMixin, {}, string, vue228.PublicProps, Readonly<FormProps> & Readonly<{}>, {}, {}, {}, {}, string, vue228.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 vue85 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:
|
|
7
|
-
height: _iconify_vue0.IconifyIconSize;
|
|
6
|
+
declare const __VLS_export: vue85.DefineComponent<IconProps$1, {}, {}, {}, {}, vue85.ComponentOptionsMixin, vue85.ComponentOptionsMixin, {}, string, vue85.PublicProps, Readonly<IconProps$1> & Readonly<{}>, {
|
|
8
7
|
width: _iconify_vue0.IconifyIconSize;
|
|
9
|
-
|
|
8
|
+
height: _iconify_vue0.IconifyIconSize;
|
|
9
|
+
}, {}, {}, {}, string, vue85.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 vue243 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: vue243.DefineComponent<InputProps, {}, {}, {}, {}, vue243.ComponentOptionsMixin, vue243.ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue243.PublicProps, Readonly<InputProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue243.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 vue248 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/kbd/kbd.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue248.DefineComponent<KbdProps, {}, {}, {}, {}, vue248.ComponentOptionsMixin, vue248.ComponentOptionsMixin, {}, string, vue248.PublicProps, Readonly<KbdProps> & Readonly<{}>, {
|
|
6
6
|
symbolize: boolean;
|
|
7
|
-
}, {}, {}, {}, string,
|
|
7
|
+
}, {}, {}, {}, string, vue248.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 vue90 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: vue90.DefineComponent<LabelProps, {}, {}, {}, {}, vue90.ComponentOptionsMixin, vue90.ComponentOptionsMixin, {}, string, vue90.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue90.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 vue110 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: vue110.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue110.ComponentOptionsMixin, vue110.ComponentOptionsMixin, {}, string, vue110.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue110.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 vue105 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: vue105.DefineComponent<LayoutProps, {}, {}, {}, {}, vue105.ComponentOptionsMixin, vue105.ComponentOptionsMixin, {
|
|
21
21
|
"update:open": (open: boolean) => any;
|
|
22
|
-
}, string,
|
|
22
|
+
}, string, vue105.PublicProps, Readonly<LayoutProps> & Readonly<{
|
|
23
23
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
open: boolean;
|
|
26
|
-
}, {}, {}, {}, string,
|
|
26
|
+
}, {}, {}, {}, string, vue105.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 vue115 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: vue115.DefineComponent<LinkProps, {}, {}, {}, {}, vue115.ComponentOptionsMixin, vue115.ComponentOptionsMixin, {}, string, vue115.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, vue115.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 vue100 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: vue100.DefineComponent<ListItemProps, {}, {}, {}, {}, vue100.ComponentOptionsMixin, vue100.ComponentOptionsMixin, {}, string, vue100.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue100.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 vue95 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: vue95.DefineComponent<ListProps, {}, {}, {}, {}, vue95.ComponentOptionsMixin, vue95.ComponentOptionsMixin, {}, string, vue95.PublicProps, Readonly<ListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue95.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 vue257 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
|
+
}> & vue257.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
|
+
}>) => vue257.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 vue253 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;
|
|
12
11
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
13
|
-
onPointerDownOutside?: ((event:
|
|
14
|
-
onFocusOutside?: ((event:
|
|
15
|
-
onInteractOutside?: ((event:
|
|
12
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless106.PointerDownOutsideEvent) => any) | undefined;
|
|
13
|
+
onFocusOutside?: ((event: _soybeanjs_headless106.FocusOutsideEvent) => any) | undefined;
|
|
14
|
+
onInteractOutside?: ((event: _soybeanjs_headless106.PointerDownOutsideEvent | _soybeanjs_headless106.FocusOutsideEvent) => any) | undefined;
|
|
16
15
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
17
16
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
|
-
|
|
17
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
18
|
+
}> & vue253.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: "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) & ((evt: "entryFocus", event: Event) => void);
|
|
42
|
+
}>) => vue253.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 vue255 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;
|
|
12
11
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
13
|
-
onPointerDownOutside?: ((event:
|
|
14
|
-
onFocusOutside?: ((event:
|
|
15
|
-
onInteractOutside?: ((event:
|
|
12
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless114.PointerDownOutsideEvent) => any) | undefined;
|
|
13
|
+
onFocusOutside?: ((event: _soybeanjs_headless114.FocusOutsideEvent) => any) | undefined;
|
|
14
|
+
onInteractOutside?: ((event: _soybeanjs_headless114.PointerDownOutsideEvent | _soybeanjs_headless114.FocusOutsideEvent) => any) | undefined;
|
|
16
15
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
17
16
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
|
-
|
|
17
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
18
|
+
}> & vue255.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: "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) & ((evt: "entryFocus", event: Event) => void);
|
|
42
|
+
}>) => vue255.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 };
|