@signal24/vue-foundation 4.17.3 → 4.18.1
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/.yarnrc.yml +1 -1
- package/dist/demo/components/demo-root.vue.d.ts +1 -1
- package/dist/demo/components/demo-vf-smart-select.vue.d.ts +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/modal-helpers.d.ts +159 -0
- package/dist/src/components/overlay-anchor.vue.d.ts +7 -8
- package/dist/src/components/vf-ajax-select.vue.d.ts +1 -3
- package/dist/src/components/vf-alert-modal.vue.d.ts +3 -10
- package/dist/src/components/vf-ez-smart-select.vue.d.ts +4 -11
- package/dist/src/components/vf-modal.vue.d.ts +12 -16
- package/dist/src/components/vf-smart-select.vue.d.ts +1 -4
- package/dist/src/components/vf-toast.vue.d.ts +3 -4
- package/dist/vue-foundation.es.js +385 -380
- package/package.json +24 -24
- package/src/components/index.ts +1 -0
- package/src/components/modal-helpers.ts +7 -0
- package/src/filters/index.ts +1 -1
- package/tsconfig.node.json +1 -1
- package/tsconfig.vite-plugins.json +1 -1
- package/vite.config.ts +7 -0
package/.yarnrc.yml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -4,6 +4,7 @@ import VfEzSmartSelect from './vf-ez-smart-select.vue';
|
|
|
4
4
|
import VfModal from './vf-modal.vue';
|
|
5
5
|
import VfSmartSelect from './vf-smart-select.vue';
|
|
6
6
|
export * from './alert-helpers';
|
|
7
|
+
export * from './modal-helpers';
|
|
7
8
|
export * from './overlay-container';
|
|
8
9
|
export * from './toast-helpers';
|
|
9
10
|
export { VfAjaxSelect, VfAlertModal, VfEzSmartSelect, VfModal, VfSmartSelect };
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
export declare function vfModalRef(): import("vue").Ref<({
|
|
2
|
+
$: import("vue").ComponentInternalInstance;
|
|
3
|
+
$data: {};
|
|
4
|
+
$props: {
|
|
5
|
+
readonly id?: string | undefined;
|
|
6
|
+
readonly closeOnMaskClick?: boolean | undefined;
|
|
7
|
+
readonly scrolls?: boolean | undefined;
|
|
8
|
+
readonly closeX?: boolean | undefined;
|
|
9
|
+
readonly class?: (string | string[]) | undefined;
|
|
10
|
+
readonly onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
12
|
+
$attrs: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
$refs: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
$slots: Readonly<{
|
|
19
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
22
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
23
|
+
$host: Element | null;
|
|
24
|
+
$emit: (event: "formSubmit", ...args: any[]) => void;
|
|
25
|
+
$el: HTMLDivElement;
|
|
26
|
+
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
27
|
+
id?: string;
|
|
28
|
+
closeOnMaskClick?: boolean;
|
|
29
|
+
scrolls?: boolean;
|
|
30
|
+
closeX?: boolean;
|
|
31
|
+
class?: string | string[];
|
|
32
|
+
}> & Readonly<{
|
|
33
|
+
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
mask: () => () => void;
|
|
36
|
+
unmask: () => void;
|
|
37
|
+
hide: () => () => void;
|
|
38
|
+
unhide: () => void;
|
|
39
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
formSubmit: (...args: any[]) => void;
|
|
41
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
42
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
43
|
+
created?: (() => void) | (() => void)[];
|
|
44
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
45
|
+
mounted?: (() => void) | (() => void)[];
|
|
46
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
47
|
+
updated?: (() => void) | (() => void)[];
|
|
48
|
+
activated?: (() => void) | (() => void)[];
|
|
49
|
+
deactivated?: (() => void) | (() => void)[];
|
|
50
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
51
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
52
|
+
destroyed?: (() => void) | (() => void)[];
|
|
53
|
+
unmounted?: (() => void) | (() => void)[];
|
|
54
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
55
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
56
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
57
|
+
};
|
|
58
|
+
$forceUpdate: () => void;
|
|
59
|
+
$nextTick: typeof import("vue").nextTick;
|
|
60
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
61
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
62
|
+
id?: string;
|
|
63
|
+
closeOnMaskClick?: boolean;
|
|
64
|
+
scrolls?: boolean;
|
|
65
|
+
closeX?: boolean;
|
|
66
|
+
class?: string | string[];
|
|
67
|
+
}> & Readonly<{
|
|
68
|
+
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
}>, "mask" | "hide" | "unmask" | "unhide"> & import("vue").ShallowUnwrapRef<{
|
|
70
|
+
mask: () => () => void;
|
|
71
|
+
unmask: () => void;
|
|
72
|
+
hide: () => () => void;
|
|
73
|
+
unhide: () => void;
|
|
74
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
75
|
+
$slots: {
|
|
76
|
+
header?(_: {}): any;
|
|
77
|
+
default?(_: {}): any;
|
|
78
|
+
footer?(_: {}): any;
|
|
79
|
+
};
|
|
80
|
+
}) | undefined, ({
|
|
81
|
+
$: import("vue").ComponentInternalInstance;
|
|
82
|
+
$data: {};
|
|
83
|
+
$props: {
|
|
84
|
+
readonly id?: string | undefined;
|
|
85
|
+
readonly closeOnMaskClick?: boolean | undefined;
|
|
86
|
+
readonly scrolls?: boolean | undefined;
|
|
87
|
+
readonly closeX?: boolean | undefined;
|
|
88
|
+
readonly class?: (string | string[]) | undefined;
|
|
89
|
+
readonly onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
91
|
+
$attrs: {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
$refs: {
|
|
95
|
+
[x: string]: unknown;
|
|
96
|
+
};
|
|
97
|
+
$slots: Readonly<{
|
|
98
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
101
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
102
|
+
$host: Element | null;
|
|
103
|
+
$emit: (event: "formSubmit", ...args: any[]) => void;
|
|
104
|
+
$el: HTMLDivElement;
|
|
105
|
+
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
106
|
+
id?: string;
|
|
107
|
+
closeOnMaskClick?: boolean;
|
|
108
|
+
scrolls?: boolean;
|
|
109
|
+
closeX?: boolean;
|
|
110
|
+
class?: string | string[];
|
|
111
|
+
}> & Readonly<{
|
|
112
|
+
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
}>, {
|
|
114
|
+
mask: () => () => void;
|
|
115
|
+
unmask: () => void;
|
|
116
|
+
hide: () => () => void;
|
|
117
|
+
unhide: () => void;
|
|
118
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
119
|
+
formSubmit: (...args: any[]) => void;
|
|
120
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
121
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
122
|
+
created?: (() => void) | (() => void)[];
|
|
123
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
124
|
+
mounted?: (() => void) | (() => void)[];
|
|
125
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
126
|
+
updated?: (() => void) | (() => void)[];
|
|
127
|
+
activated?: (() => void) | (() => void)[];
|
|
128
|
+
deactivated?: (() => void) | (() => void)[];
|
|
129
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
130
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
131
|
+
destroyed?: (() => void) | (() => void)[];
|
|
132
|
+
unmounted?: (() => void) | (() => void)[];
|
|
133
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
134
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
135
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
136
|
+
};
|
|
137
|
+
$forceUpdate: () => void;
|
|
138
|
+
$nextTick: typeof import("vue").nextTick;
|
|
139
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
140
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
141
|
+
id?: string;
|
|
142
|
+
closeOnMaskClick?: boolean;
|
|
143
|
+
scrolls?: boolean;
|
|
144
|
+
closeX?: boolean;
|
|
145
|
+
class?: string | string[];
|
|
146
|
+
}> & Readonly<{
|
|
147
|
+
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
}>, "mask" | "hide" | "unmask" | "unhide"> & import("vue").ShallowUnwrapRef<{
|
|
149
|
+
mask: () => () => void;
|
|
150
|
+
unmask: () => void;
|
|
151
|
+
hide: () => () => void;
|
|
152
|
+
unhide: () => void;
|
|
153
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
154
|
+
$slots: {
|
|
155
|
+
header?(_: {}): any;
|
|
156
|
+
default?(_: {}): any;
|
|
157
|
+
footer?(_: {}): any;
|
|
158
|
+
};
|
|
159
|
+
}) | undefined>;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import type { OverlayAnchorOptions } from './overlay-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
overlayId: string;
|
|
4
|
+
anchor: OverlayAnchorOptions;
|
|
5
|
+
};
|
|
2
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
3
8
|
slots: {
|
|
4
9
|
default?(_: {}): any;
|
|
5
10
|
};
|
|
6
11
|
refs: {};
|
|
7
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
8
13
|
};
|
|
9
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
11
|
-
overlayId: string;
|
|
12
|
-
anchor: OverlayAnchorOptions;
|
|
13
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
14
|
-
overlayId: string;
|
|
15
|
-
anchor: OverlayAnchorOptions;
|
|
16
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
17
|
export default _default;
|
|
19
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
2
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
3
|
readonly "onUpdate:modelValue"?: ((args_0: T) => any) | undefined;
|
|
4
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps &
|
|
5
|
-
"onUpdate:modelValue"?: ((args_0: T) => any) | undefined;
|
|
6
|
-
}>, never>, "onUpdate:modelValue"> & {
|
|
4
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & {
|
|
7
5
|
modelValue: T;
|
|
8
6
|
loadFn: () => Promise<T[]>;
|
|
9
7
|
nullText?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
isBare?: boolean;
|
|
3
3
|
isHtml?: boolean;
|
|
4
4
|
classes?: string[];
|
|
@@ -6,13 +6,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
message: string | Error;
|
|
7
7
|
shouldConfirm?: boolean;
|
|
8
8
|
callback: (ok: boolean) => void;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
isHtml?: boolean;
|
|
12
|
-
classes?: string[];
|
|
13
|
-
title?: string;
|
|
14
|
-
message: string | Error;
|
|
15
|
-
shouldConfirm?: boolean;
|
|
16
|
-
callback: (ok: boolean) => void;
|
|
17
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
11
|
export default _default;
|
|
@@ -2,7 +2,7 @@ interface IComputedOption {
|
|
|
2
2
|
value: string;
|
|
3
3
|
label: string;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
6
6
|
modelValue: string | null | undefined;
|
|
7
7
|
nullTitle?: string;
|
|
8
8
|
placeholder?: string;
|
|
@@ -10,17 +10,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
[K: string]: string;
|
|
11
11
|
} | string[];
|
|
12
12
|
formatter?: (item: IComputedOption) => string;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
15
|
"update:modelValue": (value: string | null) => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
16
|
-
modelValue: string | null | undefined;
|
|
17
|
-
nullTitle?: string;
|
|
18
|
-
placeholder?: string;
|
|
19
|
-
options: {
|
|
20
|
-
[K: string]: string;
|
|
21
|
-
} | string[];
|
|
22
|
-
formatter?: (item: IComputedOption) => string;
|
|
23
|
-
}> & Readonly<{
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
17
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
25
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
19
|
export default _default;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
closeOnMaskClick?: boolean;
|
|
4
|
+
scrolls?: boolean;
|
|
5
|
+
closeX?: boolean;
|
|
6
|
+
class?: string | string[];
|
|
7
|
+
};
|
|
1
8
|
declare function mask(): () => void;
|
|
2
9
|
declare function unmask(): void;
|
|
3
10
|
declare function hide(): () => void;
|
|
4
11
|
declare function unhide(): void;
|
|
5
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
6
14
|
slots: {
|
|
7
15
|
header?(_: {}): any;
|
|
8
16
|
default?(_: {}): any;
|
|
@@ -12,31 +20,19 @@ declare function __VLS_template(): {
|
|
|
12
20
|
overlay: HTMLDivElement;
|
|
13
21
|
form: HTMLFormElement;
|
|
14
22
|
};
|
|
15
|
-
|
|
23
|
+
rootEl: HTMLDivElement;
|
|
16
24
|
};
|
|
17
25
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
19
|
-
id?: string;
|
|
20
|
-
closeOnMaskClick?: boolean;
|
|
21
|
-
scrolls?: boolean;
|
|
22
|
-
closeX?: boolean;
|
|
23
|
-
class?: string | string[];
|
|
24
|
-
}, {
|
|
26
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
25
27
|
mask: typeof mask;
|
|
26
28
|
unmask: typeof unmask;
|
|
27
29
|
hide: typeof hide;
|
|
28
30
|
unhide: typeof unhide;
|
|
29
31
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
32
|
formSubmit: (...args: any[]) => void;
|
|
31
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
32
|
-
id?: string;
|
|
33
|
-
closeOnMaskClick?: boolean;
|
|
34
|
-
scrolls?: boolean;
|
|
35
|
-
closeX?: boolean;
|
|
36
|
-
class?: string | string[];
|
|
37
|
-
}> & Readonly<{
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
34
|
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
35
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
37
|
export default _default;
|
|
42
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,10 +2,7 @@ declare const _default: <T, V = T>(__VLS_props: NonNullable<Awaited<typeof __VLS
|
|
|
2
2
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
3
|
readonly "onUpdate:modelValue"?: ((args_0: V) => any) | undefined;
|
|
4
4
|
readonly onOptionsLoaded?: ((args_0: T[]) => any) | undefined;
|
|
5
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps &
|
|
6
|
-
"onUpdate:modelValue"?: ((args_0: V) => any) | undefined;
|
|
7
|
-
onOptionsLoaded?: ((args_0: T[]) => any) | undefined;
|
|
8
|
-
}>, never>, "onUpdate:modelValue" | "onOptionsLoaded"> & {
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onOptionsLoaded"> & Partial<{}> & {
|
|
9
6
|
modelValue: V | null;
|
|
10
7
|
loadOptions?: (searchText: string | null) => Promise<T[]>;
|
|
11
8
|
options?: T[];
|
|
@@ -5,9 +5,8 @@ export interface IToastOptions {
|
|
|
5
5
|
disableClose?: boolean;
|
|
6
6
|
onClick?: () => void;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type __VLS_Props = IToastOptions & {
|
|
9
9
|
callback: () => void;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
12
|
export default _default;
|