vuiii 1.0.0-beta.7 → 1.0.0-beta.8
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/Checkbox.vue.d.ts +91 -25
- package/dist/components/CheckboxGroup.vue.d.ts +91 -56
- package/dist/components/Form.vue.d.ts +184 -82
- package/dist/components/FormFields.vue.d.ts +99 -50
- package/dist/components/Input.vue.d.ts +13 -13
- package/dist/components/Select.vue.d.ts +25 -13
- package/dist/icons/mail.vue.d.ts +2 -0
- package/dist/index.d.ts +1 -3
- package/dist/stories/Input.stories.d.ts +422 -0
- package/dist/stories/icons.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +20 -0
- package/dist/vuiii.mjs +760 -822
- package/dist/vuiii.umd.js +1 -1
- package/package.json +4 -2
|
@@ -1,28 +1,94 @@
|
|
|
1
1
|
import '../assets/css/input.css';
|
|
2
|
-
declare const _default:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
modelValue: boolean;
|
|
8
|
+
required?: boolean | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
switch?: boolean | undefined;
|
|
11
|
+
label?: string | undefined;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
15
|
+
$attrs: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
$refs: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
$slots: Readonly<{
|
|
22
|
+
[name: string]: import("vue").Slot | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
25
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
26
|
+
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
27
|
+
$el: any;
|
|
28
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
29
|
+
modelValue: boolean;
|
|
30
|
+
required?: boolean | undefined;
|
|
31
|
+
disabled?: boolean | undefined;
|
|
32
|
+
switch?: boolean | undefined;
|
|
33
|
+
label?: string | undefined;
|
|
34
|
+
}>>> & {
|
|
35
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
36
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
"update:modelValue": (value: boolean) => void;
|
|
38
|
+
}, string, {}, {}, string> & {
|
|
39
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
52
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
53
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
54
|
+
};
|
|
55
|
+
$forceUpdate: () => void;
|
|
56
|
+
$nextTick: typeof import("vue").nextTick;
|
|
57
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
58
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
59
|
+
modelValue: boolean;
|
|
60
|
+
required?: boolean | undefined;
|
|
61
|
+
disabled?: boolean | undefined;
|
|
62
|
+
switch?: boolean | undefined;
|
|
63
|
+
label?: string | undefined;
|
|
64
|
+
}>>> & {
|
|
65
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
66
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
67
|
+
__isFragment?: undefined;
|
|
68
|
+
__isTeleport?: undefined;
|
|
69
|
+
__isSuspense?: undefined;
|
|
70
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
26
71
|
modelValue: boolean;
|
|
27
|
-
|
|
72
|
+
required?: boolean | undefined;
|
|
73
|
+
disabled?: boolean | undefined;
|
|
74
|
+
switch?: boolean | undefined;
|
|
75
|
+
label?: string | undefined;
|
|
76
|
+
}>>> & {
|
|
77
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
78
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
79
|
+
"update:modelValue": (value: boolean) => void;
|
|
80
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
81
|
+
$slots: {
|
|
82
|
+
default: (_: {}) => any;
|
|
83
|
+
};
|
|
84
|
+
});
|
|
28
85
|
export default _default;
|
|
86
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
88
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
89
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
90
|
+
} : {
|
|
91
|
+
type: import('vue').PropType<T[K]>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
@@ -1,59 +1,94 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { Extractor, Option } from '../types';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
modelValue: Option['value'][];
|
|
8
|
+
options: any[] | Record<string, any>;
|
|
9
|
+
optionLabel?: Extractor | undefined;
|
|
10
|
+
optionValue?: Extractor | undefined;
|
|
11
|
+
optionDisabled?: Extractor | undefined;
|
|
12
|
+
optionDescription?: Extractor | undefined;
|
|
13
|
+
}>>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
15
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
16
|
+
$attrs: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
$refs: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
$slots: Readonly<{
|
|
23
|
+
[name: string]: import("vue").Slot | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
26
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
27
|
+
$emit: (event: "update:modelValue", value: (string | number)[]) => void;
|
|
28
|
+
$el: any;
|
|
29
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
+
modelValue: Option['value'][];
|
|
31
|
+
options: any[] | Record<string, any>;
|
|
32
|
+
optionLabel?: Extractor | undefined;
|
|
33
|
+
optionValue?: Extractor | undefined;
|
|
34
|
+
optionDisabled?: Extractor | undefined;
|
|
35
|
+
optionDescription?: Extractor | undefined;
|
|
36
|
+
}>>> & {
|
|
37
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
38
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"update:modelValue": (value: (string | number)[]) => void;
|
|
40
|
+
}, string, {}, {}, string> & {
|
|
41
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
54
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
55
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
56
|
+
};
|
|
57
|
+
$forceUpdate: () => void;
|
|
58
|
+
$nextTick: typeof import("vue").nextTick;
|
|
59
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
60
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
61
|
+
modelValue: Option['value'][];
|
|
62
|
+
options: any[] | Record<string, any>;
|
|
63
|
+
optionLabel?: Extractor | undefined;
|
|
64
|
+
optionValue?: Extractor | undefined;
|
|
65
|
+
optionDisabled?: Extractor | undefined;
|
|
66
|
+
optionDescription?: Extractor | undefined;
|
|
67
|
+
}>>> & {
|
|
68
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
69
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
70
|
+
__isFragment?: undefined;
|
|
71
|
+
__isTeleport?: undefined;
|
|
72
|
+
__isSuspense?: undefined;
|
|
73
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
74
|
+
modelValue: Option['value'][];
|
|
75
|
+
options: any[] | Record<string, any>;
|
|
76
|
+
optionLabel?: Extractor | undefined;
|
|
77
|
+
optionValue?: Extractor | undefined;
|
|
78
|
+
optionDisabled?: Extractor | undefined;
|
|
79
|
+
optionDescription?: Extractor | undefined;
|
|
80
|
+
}>>> & {
|
|
81
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
82
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
|
+
"update:modelValue": (value: (string | number)[]) => void;
|
|
84
|
+
}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
85
|
+
export default _default;
|
|
86
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
88
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
89
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
90
|
+
} : {
|
|
91
|
+
type: import('vue').PropType<T[K]>;
|
|
37
92
|
required: true;
|
|
38
93
|
};
|
|
39
|
-
|
|
40
|
-
type: PropType<Extractor>;
|
|
41
|
-
default: undefined;
|
|
42
|
-
};
|
|
43
|
-
optionValueKey: {
|
|
44
|
-
type: PropType<Extractor>;
|
|
45
|
-
default: undefined;
|
|
46
|
-
};
|
|
47
|
-
optionDisabledKey: {
|
|
48
|
-
type: PropType<Extractor>;
|
|
49
|
-
default: undefined;
|
|
50
|
-
};
|
|
51
|
-
}>> & {
|
|
52
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
modelValue: (string | number)[];
|
|
55
|
-
optionLabelKey: Extractor;
|
|
56
|
-
optionValueKey: Extractor;
|
|
57
|
-
optionDisabledKey: Extractor;
|
|
58
|
-
}>;
|
|
59
|
-
export default _default;
|
|
94
|
+
};
|
|
@@ -1,87 +1,189 @@
|
|
|
1
|
-
export declare type FormStructure<T = any> = {
|
|
2
|
-
title?: string;
|
|
3
|
-
separator?: boolean;
|
|
4
|
-
fields: FormFieldsStructure<T>;
|
|
5
|
-
}[];
|
|
6
|
-
import { PropType } from 'vue';
|
|
7
1
|
import { RouteLocationRaw } from 'vue-router';
|
|
8
|
-
import {
|
|
9
|
-
declare const _default:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
2
|
+
import { FormStructure } from '@/types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: Partial<{
|
|
8
|
+
errors: Record<string, any>;
|
|
9
|
+
structure: FormStructure<any>;
|
|
10
|
+
submit: (modelValue: any) => void;
|
|
11
|
+
submitLabel: string;
|
|
12
|
+
cancel: (() => void) | RouteLocationRaw;
|
|
13
|
+
cancelLabel: string;
|
|
14
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
structure: FormStructure<any>;
|
|
16
|
+
modelValue: unknown;
|
|
17
|
+
errors?: Record<string, any> | undefined;
|
|
18
|
+
submit?: ((modelValue: any) => void) | undefined;
|
|
19
|
+
submitLabel?: string | undefined;
|
|
20
|
+
cancel?: RouteLocationRaw | (() => void) | undefined;
|
|
21
|
+
cancelLabel: string;
|
|
22
|
+
submitting: boolean;
|
|
23
|
+
}>, {
|
|
24
|
+
structure: () => never[];
|
|
25
|
+
errors: () => {};
|
|
26
|
+
submit: undefined;
|
|
27
|
+
submitLabel: string;
|
|
28
|
+
cancel: undefined;
|
|
29
|
+
cancelLabel: string;
|
|
30
|
+
}>>> & {
|
|
31
|
+
onChange?: ((change: Record<string, unknown>) => any) | undefined;
|
|
32
|
+
onSubmit?: (() => any) | undefined;
|
|
33
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
34
|
+
onCancel?: (() => any) | undefined;
|
|
35
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "errors" | "structure" | "submit" | "submitLabel" | "cancel" | "cancelLabel">;
|
|
36
|
+
$attrs: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
};
|
|
39
|
+
$refs: {
|
|
40
|
+
[x: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
$slots: Readonly<{
|
|
43
|
+
[name: string]: import("vue").Slot | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
46
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
47
|
+
$emit: ((event: "update:modelValue", value: unknown) => void) & ((event: "submit") => void) & ((event: "cancel") => void) & ((event: "change", change: Record<string, unknown>) => void);
|
|
48
|
+
$el: any;
|
|
49
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
50
|
+
structure: FormStructure<any>;
|
|
51
|
+
modelValue: unknown;
|
|
52
|
+
errors?: Record<string, any> | undefined;
|
|
53
|
+
submit?: ((modelValue: any) => void) | undefined;
|
|
54
|
+
submitLabel?: string | undefined;
|
|
55
|
+
cancel?: RouteLocationRaw | (() => void) | undefined;
|
|
56
|
+
cancelLabel: string;
|
|
57
|
+
submitting: boolean;
|
|
58
|
+
}>, {
|
|
59
|
+
structure: () => never[];
|
|
60
|
+
errors: () => {};
|
|
61
|
+
submit: undefined;
|
|
62
|
+
submitLabel: string;
|
|
63
|
+
cancel: undefined;
|
|
64
|
+
cancelLabel: string;
|
|
65
|
+
}>>> & {
|
|
66
|
+
onChange?: ((change: Record<string, unknown>) => any) | undefined;
|
|
67
|
+
onSubmit?: (() => any) | undefined;
|
|
68
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
69
|
+
onCancel?: (() => any) | undefined;
|
|
70
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
|
+
"update:modelValue": (value: unknown) => void;
|
|
72
|
+
} & {
|
|
73
|
+
change: (change: Record<string, unknown>) => void;
|
|
74
|
+
} & {
|
|
75
|
+
submit: () => void;
|
|
76
|
+
} & {
|
|
77
|
+
cancel: () => void;
|
|
78
|
+
}, string, {
|
|
79
|
+
errors: Record<string, any>;
|
|
80
|
+
structure: FormStructure<any>;
|
|
81
|
+
submit: (modelValue: any) => void;
|
|
82
|
+
submitLabel: string;
|
|
83
|
+
cancel: (() => void) | RouteLocationRaw;
|
|
84
|
+
cancelLabel: string;
|
|
85
|
+
}, {}, string> & {
|
|
86
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
87
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
88
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
89
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
90
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
91
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
92
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
93
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
94
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
95
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
96
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
97
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
98
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
99
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
100
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
101
|
+
};
|
|
102
|
+
$forceUpdate: () => void;
|
|
103
|
+
$nextTick: typeof import("vue").nextTick;
|
|
104
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
105
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
106
|
+
structure: FormStructure<any>;
|
|
107
|
+
modelValue: unknown;
|
|
108
|
+
errors?: Record<string, any> | undefined;
|
|
109
|
+
submit?: ((modelValue: any) => void) | undefined;
|
|
110
|
+
submitLabel?: string | undefined;
|
|
111
|
+
cancel?: RouteLocationRaw | (() => void) | undefined;
|
|
112
|
+
cancelLabel: string;
|
|
113
|
+
submitting: boolean;
|
|
114
|
+
}>, {
|
|
115
|
+
structure: () => never[];
|
|
116
|
+
errors: () => {};
|
|
117
|
+
submit: undefined;
|
|
118
|
+
submitLabel: string;
|
|
119
|
+
cancel: undefined;
|
|
120
|
+
cancelLabel: string;
|
|
121
|
+
}>>> & {
|
|
122
|
+
onChange?: ((change: Record<string, unknown>) => any) | undefined;
|
|
123
|
+
onSubmit?: (() => any) | undefined;
|
|
124
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
125
|
+
onCancel?: (() => any) | undefined;
|
|
126
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
127
|
+
__isFragment?: undefined;
|
|
128
|
+
__isTeleport?: undefined;
|
|
129
|
+
__isSuspense?: undefined;
|
|
130
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
82
131
|
structure: FormStructure<any>;
|
|
83
|
-
|
|
132
|
+
modelValue: unknown;
|
|
133
|
+
errors?: Record<string, any> | undefined;
|
|
134
|
+
submit?: ((modelValue: any) => void) | undefined;
|
|
135
|
+
submitLabel?: string | undefined;
|
|
136
|
+
cancel?: RouteLocationRaw | (() => void) | undefined;
|
|
84
137
|
cancelLabel: string;
|
|
85
138
|
submitting: boolean;
|
|
86
|
-
}
|
|
139
|
+
}>, {
|
|
140
|
+
structure: () => never[];
|
|
141
|
+
errors: () => {};
|
|
142
|
+
submit: undefined;
|
|
143
|
+
submitLabel: string;
|
|
144
|
+
cancel: undefined;
|
|
145
|
+
cancelLabel: string;
|
|
146
|
+
}>>> & {
|
|
147
|
+
onChange?: ((change: Record<string, unknown>) => any) | undefined;
|
|
148
|
+
onSubmit?: (() => any) | undefined;
|
|
149
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
150
|
+
onCancel?: (() => any) | undefined;
|
|
151
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
152
|
+
"update:modelValue": (value: unknown) => void;
|
|
153
|
+
} & {
|
|
154
|
+
change: (change: Record<string, unknown>) => void;
|
|
155
|
+
} & {
|
|
156
|
+
submit: () => void;
|
|
157
|
+
} & {
|
|
158
|
+
cancel: () => void;
|
|
159
|
+
}, string, {
|
|
160
|
+
errors: Record<string, any>;
|
|
161
|
+
structure: FormStructure<any>;
|
|
162
|
+
submit: (modelValue: any) => void;
|
|
163
|
+
submitLabel: string;
|
|
164
|
+
cancel: (() => void) | RouteLocationRaw;
|
|
165
|
+
cancelLabel: string;
|
|
166
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
167
|
+
$slots: {
|
|
168
|
+
buttons: (_: {
|
|
169
|
+
cancel: RouteLocationRaw | (() => void) | undefined;
|
|
170
|
+
submit: ((modelValue: any) => void) | undefined;
|
|
171
|
+
submitting: boolean;
|
|
172
|
+
}) => any;
|
|
173
|
+
};
|
|
174
|
+
});
|
|
87
175
|
export default _default;
|
|
176
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
177
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
178
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
179
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
180
|
+
} : {
|
|
181
|
+
type: import('vue').PropType<T[K]>;
|
|
182
|
+
required: true;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
186
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
187
|
+
default: D[K];
|
|
188
|
+
} : P[K];
|
|
189
|
+
};
|