@soybeanjs/ui 0.1.12 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +4 -4
- package/dist/components/avatar/avatar.vue.d.ts +7 -7
- package/dist/components/badge/badge.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
- package/dist/components/button/button-group.vue.d.ts +6 -6
- package/dist/components/button/button-icon.vue.d.ts +3 -3
- package/dist/components/button/button-link.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-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +11 -11
- package/dist/components/dialog/dialog.vue.d.ts +11 -11
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +11 -11
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +11 -11
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +8 -8
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +22 -22
- package/dist/components/icon/icon.vue.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +3 -3
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/layout/layout.vue.d.ts +4 -4
- package/dist/components/link/link.vue.d.ts +3 -3
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
- package/dist/components/menu/menu-option.vue.d.ts +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/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 +22 -22
- 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/tree-menu/index.d.ts +1 -1
- package/dist/components/tree-menu/shared.js +1 -1
- package/dist/components/tree-menu/tree-menu-option.js +1 -1
- package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu.js +1 -1
- package/dist/components/tree-menu/tree-menu.vue.d.ts +5 -5
- package/dist/components/tree-menu/types.d.ts +14 -9
- package/dist/index.d.ts +2 -2
- package/dist/variants/alert.d.ts +3 -3
- package/dist/variants/badge.d.ts +3 -3
- package/dist/variants/button.d.ts +3 -3
- package/dist/variants/checkbox.d.ts +3 -3
- package/dist/variants/kbd.d.ts +3 -3
- package/dist/variants/pagination.d.ts +3 -3
- package/dist/variants/radio-group.d.ts +3 -3
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tabs.d.ts +3 -3
- package/dist/variants/textarea.d.ts +3 -3
- package/dist/variants/toast.d.ts +3 -3
- package/package.json +2 -2
|
@@ -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 vue119 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless36 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: vue119.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_headless36.PointerDownOutsideEvent) => any) | undefined;
|
|
15
|
+
onFocusOutside?: ((event: _soybeanjs_headless36.FocusOutsideEvent) => any) | undefined;
|
|
16
|
+
onInteractOutside?: ((event: _soybeanjs_headless36.PointerDownOutsideEvent | _soybeanjs_headless36.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_headless36.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless36.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless36.PointerDownOutsideEvent | _soybeanjs_headless36.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue119.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue101 from "vue";
|
|
2
2
|
import { DialogCloseProps } from "@soybeanjs/headless";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dialog/dialog-close.vue.d.ts
|
|
@@ -6,7 +6,7 @@ declare var __VLS_8: {};
|
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue101.DefineComponent<DialogCloseProps, {}, {}, {}, {}, vue101.ComponentOptionsMixin, vue101.ComponentOptionsMixin, {}, string, vue101.PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue101.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,6 +1,6 @@
|
|
|
1
1
|
import { DialogPureProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue106 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless28 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/dialog-pure.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_35: {
|
|
@@ -14,20 +14,20 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
close?: (props: typeof __VLS_43) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base:
|
|
17
|
+
declare const __VLS_base: vue106.DefineComponent<DialogPureProps, {}, {}, {}, {}, vue106.ComponentOptionsMixin, vue106.ComponentOptionsMixin, {
|
|
18
18
|
"update:open": (value: boolean) => any;
|
|
19
19
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
20
|
-
pointerDownOutside: (event:
|
|
21
|
-
focusOutside: (event:
|
|
22
|
-
interactOutside: (event:
|
|
20
|
+
pointerDownOutside: (event: _soybeanjs_headless28.PointerDownOutsideEvent) => any;
|
|
21
|
+
focusOutside: (event: _soybeanjs_headless28.FocusOutsideEvent) => any;
|
|
22
|
+
interactOutside: (event: _soybeanjs_headless28.PointerDownOutsideEvent | _soybeanjs_headless28.FocusOutsideEvent) => any;
|
|
23
23
|
openAutoFocus: (event: Event) => any;
|
|
24
24
|
closeAutoFocus: (event: Event) => any;
|
|
25
|
-
}, string,
|
|
25
|
+
}, string, vue106.PublicProps, Readonly<DialogPureProps> & Readonly<{
|
|
26
26
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
27
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
28
|
-
onPointerDownOutside?: ((event:
|
|
29
|
-
onFocusOutside?: ((event:
|
|
30
|
-
onInteractOutside?: ((event:
|
|
28
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless28.PointerDownOutsideEvent) => any) | undefined;
|
|
29
|
+
onFocusOutside?: ((event: _soybeanjs_headless28.FocusOutsideEvent) => any) | undefined;
|
|
30
|
+
onInteractOutside?: ((event: _soybeanjs_headless28.PointerDownOutsideEvent | _soybeanjs_headless28.FocusOutsideEvent) => any) | undefined;
|
|
31
31
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
32
32
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
33
33
|
}>, {
|
|
@@ -35,7 +35,7 @@ declare const __VLS_base: vue89.DefineComponent<DialogPureProps, {}, {}, {}, {},
|
|
|
35
35
|
defaultOpen: boolean;
|
|
36
36
|
closable: boolean;
|
|
37
37
|
modal: boolean;
|
|
38
|
-
}, {}, {}, {}, string,
|
|
38
|
+
}, {}, {}, {}, string, vue106.ComponentProvideOptions, false, {}, any>;
|
|
39
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
40
|
declare const _default: typeof __VLS_export;
|
|
41
41
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DialogProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue96 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless20 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/dialog.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_47: {
|
|
@@ -29,20 +29,20 @@ 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: vue96.DefineComponent<DialogProps, {}, {}, {}, {}, vue96.ComponentOptionsMixin, vue96.ComponentOptionsMixin, {
|
|
33
33
|
"update:open": (value: boolean) => any;
|
|
34
34
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
35
|
-
pointerDownOutside: (event:
|
|
36
|
-
focusOutside: (event:
|
|
37
|
-
interactOutside: (event:
|
|
35
|
+
pointerDownOutside: (event: _soybeanjs_headless20.PointerDownOutsideEvent) => any;
|
|
36
|
+
focusOutside: (event: _soybeanjs_headless20.FocusOutsideEvent) => any;
|
|
37
|
+
interactOutside: (event: _soybeanjs_headless20.PointerDownOutsideEvent | _soybeanjs_headless20.FocusOutsideEvent) => any;
|
|
38
38
|
openAutoFocus: (event: Event) => any;
|
|
39
39
|
closeAutoFocus: (event: Event) => any;
|
|
40
|
-
}, string,
|
|
40
|
+
}, string, vue96.PublicProps, Readonly<DialogProps> & Readonly<{
|
|
41
41
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
42
42
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
43
|
-
onPointerDownOutside?: ((event:
|
|
44
|
-
onFocusOutside?: ((event:
|
|
45
|
-
onInteractOutside?: ((event:
|
|
43
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless20.PointerDownOutsideEvent) => any) | undefined;
|
|
44
|
+
onFocusOutside?: ((event: _soybeanjs_headless20.FocusOutsideEvent) => any) | undefined;
|
|
45
|
+
onInteractOutside?: ((event: _soybeanjs_headless20.PointerDownOutsideEvent | _soybeanjs_headless20.FocusOutsideEvent) => any) | undefined;
|
|
46
46
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
47
47
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
48
48
|
}>, {
|
|
@@ -50,7 +50,7 @@ declare const __VLS_base: vue79.DefineComponent<DialogProps, {}, {}, {}, {}, vue
|
|
|
50
50
|
defaultOpen: boolean;
|
|
51
51
|
closable: boolean;
|
|
52
52
|
modal: boolean;
|
|
53
|
-
}, {}, {}, {}, string,
|
|
53
|
+
}, {}, {}, {}, string, vue96.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,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,6 +1,6 @@
|
|
|
1
1
|
import { DrawerProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue130 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless68 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/drawer/drawer.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_47: {
|
|
@@ -29,20 +29,20 @@ 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
|
-
pointerDownOutside: (event:
|
|
36
|
-
focusOutside: (event:
|
|
37
|
-
interactOutside: (event:
|
|
35
|
+
pointerDownOutside: (event: _soybeanjs_headless68.PointerDownOutsideEvent) => any;
|
|
36
|
+
focusOutside: (event: _soybeanjs_headless68.FocusOutsideEvent) => any;
|
|
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
|
-
onPointerDownOutside?: ((event:
|
|
44
|
-
onFocusOutside?: ((event:
|
|
45
|
-
onInteractOutside?: ((event:
|
|
43
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless68.PointerDownOutsideEvent) => any) | undefined;
|
|
44
|
+
onFocusOutside?: ((event: _soybeanjs_headless68.FocusOutsideEvent) => any) | undefined;
|
|
45
|
+
onInteractOutside?: ((event: _soybeanjs_headless68.PointerDownOutsideEvent | _soybeanjs_headless68.FocusOutsideEvent) => any) | undefined;
|
|
46
46
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
47
47
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
48
48
|
}>, {
|
|
@@ -50,7 +50,7 @@ declare const __VLS_base: vue226.DefineComponent<DrawerProps, {}, {}, {}, {}, vu
|
|
|
50
50
|
defaultOpen: boolean;
|
|
51
51
|
closable: boolean;
|
|
52
52
|
modal: boolean;
|
|
53
|
-
}, {}, {}, {}, string,
|
|
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,20 +1,20 @@
|
|
|
1
1
|
import { MenuCheckboxOptionData } from "../menu/types.js";
|
|
2
2
|
import { DropdownMenuCheckboxProps } from "./types.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue140 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless76 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: vue140.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;
|
|
13
13
|
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
14
14
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
15
|
-
onPointerDownOutside?: ((event:
|
|
16
|
-
onFocusOutside?: ((event:
|
|
17
|
-
onInteractOutside?: ((event:
|
|
15
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless76.PointerDownOutsideEvent) => any) | undefined;
|
|
16
|
+
onFocusOutside?: ((event: _soybeanjs_headless76.FocusOutsideEvent) => any) | undefined;
|
|
17
|
+
onInteractOutside?: ((event: _soybeanjs_headless76.PointerDownOutsideEvent | _soybeanjs_headless76.FocusOutsideEvent) => any) | undefined;
|
|
18
18
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
19
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
20
20
|
}> & (typeof globalThis extends {
|
|
@@ -29,8 +29,8 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
|
|
|
29
29
|
'item-trailing': (props: S) => any;
|
|
30
30
|
'item-indicator-icon': (props: S) => any;
|
|
31
31
|
};
|
|
32
|
-
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event:
|
|
33
|
-
}>) =>
|
|
32
|
+
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless76.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless76.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless76.PointerDownOutsideEvent | _soybeanjs_headless76.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue140.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { MenuRadioOptionData } from "../menu/types.js";
|
|
2
2
|
import { DropdownMenuRadioProps } from "./types.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue144 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless92 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: vue144.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;
|
|
13
13
|
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
14
14
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
15
|
-
onPointerDownOutside?: ((event:
|
|
16
|
-
onFocusOutside?: ((event:
|
|
17
|
-
onInteractOutside?: ((event:
|
|
15
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless92.PointerDownOutsideEvent) => any) | undefined;
|
|
16
|
+
onFocusOutside?: ((event: _soybeanjs_headless92.FocusOutsideEvent) => any) | undefined;
|
|
17
|
+
onInteractOutside?: ((event: _soybeanjs_headless92.PointerDownOutsideEvent | _soybeanjs_headless92.FocusOutsideEvent) => any) | undefined;
|
|
18
18
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
19
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
20
20
|
}> & (typeof globalThis extends {
|
|
@@ -29,8 +29,8 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
29
29
|
'item-trailing': (props: S) => any;
|
|
30
30
|
'item-indicator-icon': (props: S) => any;
|
|
31
31
|
};
|
|
32
|
-
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", payload: NonNullable<T>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event:
|
|
33
|
-
}>) =>
|
|
32
|
+
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", payload: NonNullable<T>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless92.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless92.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless92.PointerDownOutsideEvent | _soybeanjs_headless92.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue144.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropdownMenuWrapperProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue146 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless100 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_30: {};
|
|
@@ -9,28 +9,28 @@ 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: vue146.DefineComponent<DropdownMenuWrapperProps, {}, {}, {}, {}, vue146.ComponentOptionsMixin, vue146.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_headless100.PointerDownOutsideEvent) => any;
|
|
17
|
+
focusOutside: (event: _soybeanjs_headless100.FocusOutsideEvent) => any;
|
|
18
|
+
interactOutside: (event: _soybeanjs_headless100.PointerDownOutsideEvent | _soybeanjs_headless100.FocusOutsideEvent) => any;
|
|
19
19
|
openAutoFocus: (event: Event) => any;
|
|
20
20
|
closeAutoFocus: (event: Event) => any;
|
|
21
|
-
}, string,
|
|
21
|
+
}, string, vue146.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;
|
|
25
|
-
onPointerDownOutside?: ((event:
|
|
26
|
-
onFocusOutside?: ((event:
|
|
27
|
-
onInteractOutside?: ((event:
|
|
25
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless100.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: _soybeanjs_headless100.FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: _soybeanjs_headless100.PointerDownOutsideEvent | _soybeanjs_headless100.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, vue146.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,19 +1,19 @@
|
|
|
1
1
|
import { MenuOptionData } from "../menu/types.js";
|
|
2
2
|
import { DropdownMenuProps } from "./types.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue142 from "vue";
|
|
4
|
+
import * as _soybeanjs_headless84 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: vue142.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;
|
|
13
13
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
14
|
-
onPointerDownOutside?: ((event:
|
|
15
|
-
onFocusOutside?: ((event:
|
|
16
|
-
onInteractOutside?: ((event:
|
|
14
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless84.PointerDownOutsideEvent) => any) | undefined;
|
|
15
|
+
onFocusOutside?: ((event: _soybeanjs_headless84.FocusOutsideEvent) => any) | undefined;
|
|
16
|
+
onInteractOutside?: ((event: _soybeanjs_headless84.PointerDownOutsideEvent | _soybeanjs_headless84.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_headless84.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless84.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless84.PointerDownOutsideEvent | _soybeanjs_headless84.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
33
|
+
}>) => vue142.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 vue151 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: vue151.DefineComponent<FormProps, {}, {}, {}, {}, vue151.ComponentOptionsMixin, vue151.ComponentOptionsMixin, {}, string, vue151.PublicProps, Readonly<FormProps> & Readonly<{}>, {}, {}, {}, {}, string, vue151.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,6 +1,6 @@
|
|
|
1
1
|
import { FormFieldArrayComponent, FormFieldComponent } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue156 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless108 from "@soybeanjs/headless";
|
|
4
4
|
import { FormValues, InferStandardSchemaInput, Path, StandardSchemaV1, UseFormOptions } from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/form/use-form.d.ts
|
|
@@ -9,36 +9,36 @@ 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?:
|
|
13
|
-
useField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?:
|
|
14
|
-
dirty:
|
|
12
|
+
useFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless108.FormRegisterOptions<_soybeanjs_headless108.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue156.Ref<_soybeanjs_headless108.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless108.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>>;
|
|
13
|
+
useField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless108.FormRegisterOptions<_soybeanjs_headless108.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue156.Ref<_soybeanjs_headless108.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless108.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
14
|
+
dirty: vue156.ComputedRef<boolean>;
|
|
15
15
|
setSubmitting: (isSubmitting: boolean) => void;
|
|
16
|
-
registerField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?:
|
|
17
|
-
registerFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?:
|
|
16
|
+
registerField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless108.FormRegisterOptions<_soybeanjs_headless108.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue156.Ref<_soybeanjs_headless108.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless108.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
17
|
+
registerFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless108.FormRegisterOptions<_soybeanjs_headless108.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue156.Ref<_soybeanjs_headless108.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless108.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) => vue156.WritableComputedRef<_soybeanjs_headless108.PathValue<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless108.PathValue<InferStandardSchemaInput<S>, Name>>;
|
|
20
|
+
getFieldMeta: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue156.Ref<_soybeanjs_headless108.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) =>
|
|
25
|
-
setValues: (values: InferStandardSchemaInput<S>, shouldValidate?: boolean) => Promise<void> | Promise<
|
|
26
|
-
setErrors: (errors:
|
|
27
|
-
setFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, value:
|
|
24
|
+
getFieldState: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue156.Ref<_soybeanjs_headless108.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless108.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
25
|
+
setValues: (values: InferStandardSchemaInput<S>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless108.FormErrors<InferStandardSchemaInput<S>>>;
|
|
26
|
+
setErrors: (errors: _soybeanjs_headless108.FormErrors<InferStandardSchemaInput<S>>) => void;
|
|
27
|
+
setFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, value: _soybeanjs_headless108.PathValue<InferStandardSchemaInput<S>, Name>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless108.FormErrors<InferStandardSchemaInput<S>>>;
|
|
28
28
|
setFieldTouched: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, touched: boolean) => void;
|
|
29
29
|
setFieldError: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, error: string | undefined) => void;
|
|
30
|
-
setFieldArrayValue: <Name extends Path<InferStandardSchemaInput<S>>, Method extends (...args: any) => any>(name: Name, value:
|
|
30
|
+
setFieldArrayValue: <Name extends Path<InferStandardSchemaInput<S>>, Method extends (...args: any) => any>(name: Name, value: _soybeanjs_headless108.PathValue<InferStandardSchemaInput<S>, Name>, method: Method, args?: Partial<{
|
|
31
31
|
argA: Parameters<Method>[1];
|
|
32
32
|
argB: Parameters<Method>[2];
|
|
33
|
-
}> | undefined, shouldSetValue?: boolean) => Promise<void> | Promise<
|
|
34
|
-
validateForm: (values?: InferStandardSchemaInput<S> | undefined) => Promise<
|
|
35
|
-
resetForm: (nextState?:
|
|
33
|
+
}> | undefined, shouldSetValue?: boolean) => Promise<void> | Promise<_soybeanjs_headless108.FormErrors<InferStandardSchemaInput<S>>>;
|
|
34
|
+
validateForm: (values?: InferStandardSchemaInput<S> | undefined) => Promise<_soybeanjs_headless108.FormErrors<InferStandardSchemaInput<S>>>;
|
|
35
|
+
resetForm: (nextState?: _soybeanjs_headless108.FormResetState<InferStandardSchemaInput<S>> | undefined) => void;
|
|
36
36
|
values: InferStandardSchemaInput<S>;
|
|
37
|
-
touched:
|
|
38
|
-
errors:
|
|
39
|
-
submitCount:
|
|
40
|
-
isSubmitting:
|
|
41
|
-
isValidating:
|
|
37
|
+
touched: vue156.Ref<_soybeanjs_headless108.FormTouched<InferStandardSchemaInput<S>>, _soybeanjs_headless108.FormTouched<InferStandardSchemaInput<S>>>;
|
|
38
|
+
errors: vue156.Ref<_soybeanjs_headless108.FormErrors<InferStandardSchemaInput<S>>, _soybeanjs_headless108.FormErrors<InferStandardSchemaInput<S>>>;
|
|
39
|
+
submitCount: vue156.ShallowRef<number>;
|
|
40
|
+
isSubmitting: vue156.ShallowRef<boolean>;
|
|
41
|
+
isValidating: vue156.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 vue174 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/icon/icon.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue174.DefineComponent<IconProps, {}, {}, {}, {}, vue174.ComponentOptionsMixin, vue174.ComponentOptionsMixin, {}, string, vue174.PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue174.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 vue169 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: vue169.DefineComponent<InputProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue169.PublicProps, Readonly<InputProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue169.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 vue179 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/kbd/kbd.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue179.DefineComponent<KbdProps, {}, {}, {}, {}, vue179.ComponentOptionsMixin, vue179.ComponentOptionsMixin, {}, string, vue179.PublicProps, Readonly<KbdProps> & Readonly<{}>, {
|
|
6
6
|
symbolize: boolean;
|
|
7
|
-
}, {}, {}, {}, string,
|
|
7
|
+
}, {}, {}, {}, string, vue179.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 vue184 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: vue184.DefineComponent<LabelProps, {}, {}, {}, {}, vue184.ComponentOptionsMixin, vue184.ComponentOptionsMixin, {}, string, vue184.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue184.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 vue194 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: vue194.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue194.ComponentOptionsMixin, vue194.ComponentOptionsMixin, {}, string, vue194.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue194.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 vue189 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_53) => any;
|
|
21
21
|
};
|
|
22
|
-
declare const __VLS_base:
|
|
22
|
+
declare const __VLS_base: vue189.DefineComponent<LayoutProps, {}, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {
|
|
23
23
|
"update:open": (open: boolean) => any;
|
|
24
|
-
}, string,
|
|
24
|
+
}, string, vue189.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, vue189.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 & {
|