@soybeanjs/ui 0.4.0 → 0.4.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 +3 -3
- 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 +4 -4
- package/dist/components/badge/badge.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
- package/dist/components/button/button-group.vue.d.ts +6 -6
- package/dist/components/button/button-icon.vue.d.ts +3 -3
- package/dist/components/button/button-link.vue.d.ts +3 -3
- 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 +7 -7
- package/dist/components/config-provider/config-provider.vue.d.ts +5 -5
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +8 -8
- 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-pure.vue.d.ts +1 -1
- package/dist/components/dialog/dialog.vue.d.ts +1 -1
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +5 -5
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +3 -3
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +3 -3
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +4 -4
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +3 -3
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +14 -14
- 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.vue.d.ts +3 -3
- package/dist/components/list/list-item.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 +8 -8
- package/dist/components/menu/menu-options.vue.d.ts +8 -8
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
- package/dist/components/number-input/number-input.vue.d.ts +4 -4
- package/dist/components/page-tabs/index.d.ts +1 -1
- package/dist/components/page-tabs/page-tabs.js +1 -1
- package/dist/components/page-tabs/page-tabs.vue.d.ts +13 -13
- package/dist/components/page-tabs/types.d.ts +41 -8
- 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 +7 -7
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/switch/switch.vue.d.ts +9 -9
- package/dist/components/tabs/tabs.vue.d.ts +3 -3
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
- package/dist/components/tree/tree-virtualizer.vue.d.ts +3 -3
- package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
- package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
- package/dist/index.d.ts +2 -2
- 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/radio-group.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tag.d.ts +3 -3
- package/dist/variants/toast.d.ts +3 -3
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContextMenuWrapperProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue77 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless33 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: vue77.DefineComponent<ContextMenuWrapperProps, {}, {}, {}, {}, vue77.ComponentOptionsMixin, vue77.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_headless33.PointerDownOutsideEvent) => any;
|
|
17
|
+
focusOutside: (event: _soybeanjs_headless33.FocusOutsideEvent) => any;
|
|
18
|
+
interactOutside: (event: _soybeanjs_headless33.PointerDownOutsideEvent | _soybeanjs_headless33.FocusOutsideEvent) => any;
|
|
19
19
|
openAutoFocus: (event: Event) => any;
|
|
20
20
|
closeAutoFocus: (event: Event) => any;
|
|
21
|
-
}, string,
|
|
21
|
+
}, string, vue77.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_headless33.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: _soybeanjs_headless33.FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: _soybeanjs_headless33.PointerDownOutsideEvent | _soybeanjs_headless33.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, vue77.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 vue71 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless9 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: vue71.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_headless9.PointerDownOutsideEvent) => any) | undefined;
|
|
15
|
+
onFocusOutside?: ((event: _soybeanjs_headless9.FocusOutsideEvent) => any) | undefined;
|
|
16
|
+
onInteractOutside?: ((event: _soybeanjs_headless9.PointerDownOutsideEvent | _soybeanjs_headless9.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_headless9.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless9.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless9.PointerDownOutsideEvent | _soybeanjs_headless9.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue71.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -33,8 +33,8 @@ declare const __VLS_base: vue117.DefineComponent<DialogPureProps, {}, {}, {}, {}
|
|
|
33
33
|
}>, {
|
|
34
34
|
closable: boolean;
|
|
35
35
|
open: boolean;
|
|
36
|
-
modal: boolean;
|
|
37
36
|
defaultOpen: boolean;
|
|
37
|
+
modal: boolean;
|
|
38
38
|
}, {}, {}, {}, string, vue117.ComponentProvideOptions, false, {}, any>;
|
|
39
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
40
|
declare const _default: typeof __VLS_export;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_base: vue107.DefineComponent<DialogProps, {}, {}, {}, {}, vu
|
|
|
48
48
|
}>, {
|
|
49
49
|
closable: boolean;
|
|
50
50
|
open: boolean;
|
|
51
|
-
modal: boolean;
|
|
52
51
|
defaultOpen: boolean;
|
|
52
|
+
modal: boolean;
|
|
53
53
|
}, {}, {}, {}, string, vue107.ComponentProvideOptions, false, {}, any>;
|
|
54
54
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
55
55
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue135 from "vue";
|
|
2
2
|
import { DialogCloseProps } from "@soybeanjs/headless";
|
|
3
3
|
|
|
4
4
|
//#region src/components/drawer/drawer-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: vue135.DefineComponent<DialogCloseProps, {}, {}, {}, {}, vue135.ComponentOptionsMixin, vue135.ComponentOptionsMixin, {}, string, vue135.PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue135.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,5 +1,5 @@
|
|
|
1
1
|
import { DrawerProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue130 from "vue";
|
|
3
3
|
import * as _soybeanjs_headless68 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/drawer/drawer.vue.d.ts
|
|
@@ -29,7 +29,7 @@ type __VLS_Slots = {} & {
|
|
|
29
29
|
} & {
|
|
30
30
|
footer?: (props: typeof __VLS_78) => any;
|
|
31
31
|
};
|
|
32
|
-
declare const __VLS_base:
|
|
32
|
+
declare const __VLS_base: vue130.DefineComponent<DrawerProps, {}, {}, {}, {}, vue130.ComponentOptionsMixin, vue130.ComponentOptionsMixin, {
|
|
33
33
|
"update:open": (value: boolean) => any;
|
|
34
34
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
35
35
|
pointerDownOutside: (event: _soybeanjs_headless68.PointerDownOutsideEvent) => any;
|
|
@@ -37,7 +37,7 @@ declare const __VLS_base: vue135.DefineComponent<DrawerProps, {}, {}, {}, {}, vu
|
|
|
37
37
|
interactOutside: (event: _soybeanjs_headless68.PointerDownOutsideEvent | _soybeanjs_headless68.FocusOutsideEvent) => any;
|
|
38
38
|
openAutoFocus: (event: Event) => any;
|
|
39
39
|
closeAutoFocus: (event: Event) => any;
|
|
40
|
-
}, string,
|
|
40
|
+
}, string, vue130.PublicProps, Readonly<DrawerProps> & Readonly<{
|
|
41
41
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
42
42
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
43
43
|
onPointerDownOutside?: ((event: _soybeanjs_headless68.PointerDownOutsideEvent) => any) | undefined;
|
|
@@ -48,9 +48,9 @@ declare const __VLS_base: vue135.DefineComponent<DrawerProps, {}, {}, {}, {}, vu
|
|
|
48
48
|
}>, {
|
|
49
49
|
closable: boolean;
|
|
50
50
|
open: boolean;
|
|
51
|
-
modal: boolean;
|
|
52
51
|
defaultOpen: boolean;
|
|
53
|
-
|
|
52
|
+
modal: boolean;
|
|
53
|
+
}, {}, {}, {}, string, vue130.ComponentProvideOptions, false, {}, any>;
|
|
54
54
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
55
55
|
declare const _default: typeof __VLS_export;
|
|
56
56
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MenuCheckboxOptionData } from "../menu/types.js";
|
|
2
2
|
import { DropdownMenuCheckboxProps } from "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue170 from "vue";
|
|
4
4
|
import * as _soybeanjs_headless117 from "@soybeanjs/headless";
|
|
5
5
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
6
6
|
|
|
7
7
|
//#region src/components/dropdown-menu/dropdown-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: vue170.PublicProps & __VLS_PrettifyLocal<DropdownMenuCheckboxProps<T, S> & {
|
|
10
10
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
11
11
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
12
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
30
30
|
'item-indicator-icon': (props: S) => any;
|
|
31
31
|
};
|
|
32
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_headless117.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless117.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless117.PointerDownOutsideEvent | _soybeanjs_headless117.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
-
}>) =>
|
|
33
|
+
}>) => vue170.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MenuRadioOptionData } from "../menu/types.js";
|
|
2
2
|
import { DropdownMenuRadioProps } from "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue172 from "vue";
|
|
4
4
|
import * as _soybeanjs_headless125 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
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: vue172.PublicProps & __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;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
30
30
|
'item-indicator-icon': (props: S) => any;
|
|
31
31
|
};
|
|
32
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_headless125.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless125.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless125.PointerDownOutsideEvent | _soybeanjs_headless125.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
-
}>) =>
|
|
33
|
+
}>) => vue172.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DropdownMenuWrapperProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue174 from "vue";
|
|
3
3
|
import * as _soybeanjs_headless133 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts
|
|
@@ -9,7 +9,7 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
} & {
|
|
10
10
|
default?: (props: typeof __VLS_30) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base:
|
|
12
|
+
declare const __VLS_base: vue174.DefineComponent<DropdownMenuWrapperProps, {}, {}, {}, {}, vue174.ComponentOptionsMixin, vue174.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
14
|
entryFocus: (event: Event) => any;
|
|
15
15
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_base: vue169.DefineComponent<DropdownMenuWrapperProps, {}, {
|
|
|
18
18
|
interactOutside: (event: _soybeanjs_headless133.PointerDownOutsideEvent | _soybeanjs_headless133.FocusOutsideEvent) => any;
|
|
19
19
|
openAutoFocus: (event: Event) => any;
|
|
20
20
|
closeAutoFocus: (event: Event) => any;
|
|
21
|
-
}, string,
|
|
21
|
+
}, string, vue174.PublicProps, Readonly<DropdownMenuWrapperProps> & Readonly<{
|
|
22
22
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
23
23
|
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
24
24
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_base: vue169.DefineComponent<DropdownMenuWrapperProps, {}, {
|
|
|
30
30
|
}>, {
|
|
31
31
|
open: boolean;
|
|
32
32
|
modal: boolean;
|
|
33
|
-
}, {}, {}, {}, string,
|
|
33
|
+
}, {}, {}, {}, string, vue174.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,12 +1,12 @@
|
|
|
1
1
|
import { MenuOptionData } from "../menu/types.js";
|
|
2
2
|
import { DropdownMenuProps } from "./types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue168 from "vue";
|
|
4
4
|
import * as _soybeanjs_headless109 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
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: vue168.PublicProps & __VLS_PrettifyLocal<DropdownMenuProps<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;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
30
30
|
'item-trigger-icon': (props: MenuOptionData<T>) => any;
|
|
31
31
|
};
|
|
32
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_headless109.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless109.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless109.PointerDownOutsideEvent | _soybeanjs_headless109.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
-
}>) =>
|
|
33
|
+
}>) => vue168.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FormProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue150 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: vue150.DefineComponent<FormProps, {}, {}, {}, {}, vue150.ComponentOptionsMixin, vue150.ComponentOptionsMixin, {}, string, vue150.PublicProps, Readonly<FormProps> & Readonly<{}>, {}, {}, {}, {}, string, vue150.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,5 +1,5 @@
|
|
|
1
1
|
import { FormFieldArrayComponent, FormFieldComponent } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue155 from "vue";
|
|
3
3
|
import * as _soybeanjs_headless76 from "@soybeanjs/headless";
|
|
4
4
|
import { FormValues, InferStandardSchemaInput, Path, StandardSchemaV1, UseFormOptions } from "@soybeanjs/headless";
|
|
5
5
|
|
|
@@ -9,19 +9,19 @@ declare function useForm$1<S extends StandardSchemaV1<FormValues, FormValues>>(o
|
|
|
9
9
|
SFormFieldArray: FormFieldArrayComponent<InferStandardSchemaInput<S>>;
|
|
10
10
|
handleSubmit: (event?: Event) => void;
|
|
11
11
|
handleReset: (event?: Event) => void;
|
|
12
|
-
useFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless76.FormRegisterOptions<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) =>
|
|
13
|
-
useField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless76.FormRegisterOptions<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) =>
|
|
14
|
-
dirty:
|
|
12
|
+
useFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless76.FormRegisterOptions<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue155.Ref<_soybeanjs_headless76.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless76.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>>;
|
|
13
|
+
useField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless76.FormRegisterOptions<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue155.Ref<_soybeanjs_headless76.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless76.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
14
|
+
dirty: vue155.ComputedRef<boolean>;
|
|
15
15
|
setSubmitting: (isSubmitting: boolean) => void;
|
|
16
|
-
registerField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless76.FormRegisterOptions<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) =>
|
|
17
|
-
registerFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless76.FormRegisterOptions<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) =>
|
|
16
|
+
registerField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless76.FormRegisterOptions<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue155.Ref<_soybeanjs_headless76.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless76.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
17
|
+
registerFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless76.FormRegisterOptions<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue155.Ref<_soybeanjs_headless76.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless76.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
18
18
|
validateField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => Promise<string | undefined | void>;
|
|
19
|
-
getFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) =>
|
|
20
|
-
getFieldMeta: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) =>
|
|
19
|
+
getFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue155.WritableComputedRef<_soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>>;
|
|
20
|
+
getFieldMeta: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue155.Ref<_soybeanjs_headless76.FormFieldMeta>;
|
|
21
21
|
getFieldError: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => string | undefined;
|
|
22
22
|
getFieldTouched: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => boolean | undefined;
|
|
23
23
|
getFieldDirty: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => boolean;
|
|
24
|
-
getFieldState: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) =>
|
|
24
|
+
getFieldState: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue155.Ref<_soybeanjs_headless76.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless76.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
25
25
|
setValues: (values: InferStandardSchemaInput<S>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless76.FormErrors<InferStandardSchemaInput<S>>>;
|
|
26
26
|
setErrors: (errors: _soybeanjs_headless76.FormErrors<InferStandardSchemaInput<S>>) => void;
|
|
27
27
|
setFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, value: _soybeanjs_headless76.PathValue<InferStandardSchemaInput<S>, Name>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless76.FormErrors<InferStandardSchemaInput<S>>>;
|
|
@@ -34,11 +34,11 @@ declare function useForm$1<S extends StandardSchemaV1<FormValues, FormValues>>(o
|
|
|
34
34
|
validateForm: (values?: InferStandardSchemaInput<S> | undefined) => Promise<_soybeanjs_headless76.FormErrors<InferStandardSchemaInput<S>>>;
|
|
35
35
|
resetForm: (nextState?: _soybeanjs_headless76.FormResetState<InferStandardSchemaInput<S>> | undefined) => void;
|
|
36
36
|
values: InferStandardSchemaInput<S>;
|
|
37
|
-
touched:
|
|
38
|
-
errors:
|
|
39
|
-
submitCount:
|
|
40
|
-
isSubmitting:
|
|
41
|
-
isValidating:
|
|
37
|
+
touched: vue155.Ref<_soybeanjs_headless76.FormTouched<InferStandardSchemaInput<S>>, _soybeanjs_headless76.FormTouched<InferStandardSchemaInput<S>>>;
|
|
38
|
+
errors: vue155.Ref<_soybeanjs_headless76.FormErrors<InferStandardSchemaInput<S>>, _soybeanjs_headless76.FormErrors<InferStandardSchemaInput<S>>>;
|
|
39
|
+
submitCount: vue155.ShallowRef<number>;
|
|
40
|
+
isSubmitting: vue155.ShallowRef<boolean>;
|
|
41
|
+
isValidating: vue155.ShallowRef<boolean>;
|
|
42
42
|
};
|
|
43
43
|
//#endregion
|
|
44
44
|
export { useForm$1 as useForm };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IconProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue140 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/icon/icon.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue140.DefineComponent<IconProps, {}, {}, {}, {}, vue140.ComponentOptionsMixin, vue140.ComponentOptionsMixin, {}, string, vue140.PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue140.ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { _default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue179 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/input/input.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {}, __VLS_24: {};
|
|
@@ -8,11 +8,11 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
} & {
|
|
9
9
|
trailing?: (props: typeof __VLS_24) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue179.DefineComponent<InputProps, {}, {}, {}, {}, vue179.ComponentOptionsMixin, vue179.ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue179.PublicProps, Readonly<InputProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue179.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 vue184 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/kbd/kbd.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue184.DefineComponent<KbdProps, {}, {}, {}, {}, vue184.ComponentOptionsMixin, vue184.ComponentOptionsMixin, {}, string, vue184.PublicProps, Readonly<KbdProps> & Readonly<{}>, {
|
|
6
6
|
symbolize: boolean;
|
|
7
|
-
}, {}, {}, {}, string,
|
|
7
|
+
}, {}, {}, {}, string, vue184.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 vue145 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/label/label.vue.d.ts
|
|
5
5
|
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: vue145.DefineComponent<LabelProps, {}, {}, {}, {}, vue145.ComponentOptionsMixin, vue145.ComponentOptionsMixin, {}, string, vue145.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue145.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,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue209 from "vue";
|
|
2
2
|
import { LayoutTriggerProps } from "@soybeanjs/headless";
|
|
3
3
|
|
|
4
4
|
//#region src/components/layout/layout-trigger.vue.d.ts
|
|
@@ -8,7 +8,7 @@ declare var __VLS_8: {
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue209.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue209.ComponentOptionsMixin, vue209.ComponentOptionsMixin, {}, string, vue209.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue209.ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
2
|
import "../../theme/index.js";
|
|
3
3
|
import { LayoutProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue204 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/layout/layout.vue.d.ts
|
|
7
7
|
declare var __VLS_16: {
|
|
@@ -19,14 +19,14 @@ type __VLS_Slots = {} & {
|
|
|
19
19
|
} & {
|
|
20
20
|
footer?: (props: typeof __VLS_59) => any;
|
|
21
21
|
};
|
|
22
|
-
declare const __VLS_base:
|
|
22
|
+
declare const __VLS_base: vue204.DefineComponent<LayoutProps, {}, {}, {}, {}, vue204.ComponentOptionsMixin, vue204.ComponentOptionsMixin, {
|
|
23
23
|
"update:open": (open: boolean) => any;
|
|
24
|
-
}, string,
|
|
24
|
+
}, string, vue204.PublicProps, Readonly<LayoutProps> & Readonly<{
|
|
25
25
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
size: ThemeSize;
|
|
28
28
|
open: boolean;
|
|
29
|
-
}, {}, {}, {}, string,
|
|
29
|
+
}, {}, {}, {}, string, vue204.ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LinkProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue189 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/link/link.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -10,7 +10,7 @@ declare var __VLS_8: {
|
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
default?: (props: typeof __VLS_8) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue189.DefineComponent<LinkProps, {}, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {}, string, vue189.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
14
14
|
disabled: boolean;
|
|
15
15
|
replace: boolean;
|
|
16
16
|
external: boolean;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_base: vue194.DefineComponent<LinkProps, {}, {}, {}, {}, vue1
|
|
|
18
18
|
noRel: boolean;
|
|
19
19
|
prefetch: boolean;
|
|
20
20
|
noPrefetch: boolean;
|
|
21
|
-
}, {}, {}, {}, string,
|
|
21
|
+
}, {}, {}, {}, string, vue189.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
24
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ListItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue194 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/list-item.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {}, __VLS_22: {}, __VLS_30: {}, __VLS_32: {}, __VLS_34: {};
|
|
@@ -14,7 +14,7 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
trailing?: (props: typeof __VLS_34) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base:
|
|
17
|
+
declare const __VLS_base: vue194.DefineComponent<ListItemProps, {}, {}, {}, {}, vue194.ComponentOptionsMixin, vue194.ComponentOptionsMixin, {}, string, vue194.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue194.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,10 +1,10 @@
|
|
|
1
1
|
import { MenuCheckboxOptionData, MenuCheckboxOptionsProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue231 from "vue";
|
|
3
3
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/menu/menu-checkbox-options.vue.d.ts
|
|
6
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
|
-
props:
|
|
7
|
+
props: vue231.PublicProps & __VLS_PrettifyLocal<MenuCheckboxOptionsProps<T, S> & {
|
|
8
8
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
9
9
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
19
19
|
'item-indicator-icon': (props: S) => any;
|
|
20
20
|
};
|
|
21
21
|
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void);
|
|
22
|
-
}>) =>
|
|
22
|
+
}>) => vue231.VNode & {
|
|
23
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
24
|
};
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { MenuOptionData, MenuOptionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue227 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless150 from "@soybeanjs/headless";
|
|
4
4
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-option.vue.d.ts
|
|
7
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
|
-
props:
|
|
8
|
+
props: vue227.PublicProps & __VLS_PrettifyLocal<MenuOptionProps<T> & {
|
|
9
9
|
onSelect?: ((item: MenuOptionData<T>, event: Event) => any) | undefined;
|
|
10
10
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
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_headless150.PointerDownOutsideEvent) => any) | undefined;
|
|
14
|
+
onFocusOutside?: ((event: _soybeanjs_headless150.FocusOutsideEvent) => any) | undefined;
|
|
15
|
+
onInteractOutside?: ((event: _soybeanjs_headless150.PointerDownOutsideEvent | _soybeanjs_headless150.FocusOutsideEvent) => any) | undefined;
|
|
16
16
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
17
17
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
18
|
}> & (typeof globalThis extends {
|
|
@@ -38,8 +38,8 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
|
|
|
38
38
|
item: MenuOptionData<T>;
|
|
39
39
|
}) => any;
|
|
40
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:
|
|
42
|
-
}>) =>
|
|
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_headless150.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless150.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless150.PointerDownOutsideEvent | _soybeanjs_headless150.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
42
|
+
}>) => vue227.VNode & {
|
|
43
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
44
|
};
|
|
45
45
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { MenuOptionData, MenuOptionsProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue229 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless158 from "@soybeanjs/headless";
|
|
4
4
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/menu/menu-options.vue.d.ts
|
|
7
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
|
-
props:
|
|
8
|
+
props: vue229.PublicProps & __VLS_PrettifyLocal<MenuOptionsProps<T, S> & {
|
|
9
9
|
onSelect?: ((item: S, event: Event) => any) | undefined;
|
|
10
10
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
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_headless158.PointerDownOutsideEvent) => any) | undefined;
|
|
14
|
+
onFocusOutside?: ((event: _soybeanjs_headless158.FocusOutsideEvent) => any) | undefined;
|
|
15
|
+
onInteractOutside?: ((event: _soybeanjs_headless158.PointerDownOutsideEvent | _soybeanjs_headless158.FocusOutsideEvent) => any) | undefined;
|
|
16
16
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
17
17
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
18
18
|
}> & (typeof globalThis extends {
|
|
@@ -38,8 +38,8 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
38
38
|
item: MenuOptionData<T>;
|
|
39
39
|
}) => any;
|
|
40
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:
|
|
42
|
-
}>) =>
|
|
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_headless158.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless158.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless158.PointerDownOutsideEvent | _soybeanjs_headless158.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
42
|
+
}>) => vue229.VNode & {
|
|
43
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
44
|
};
|
|
45
45
|
declare const _default: typeof __VLS_export;
|