@tmagic/form 1.0.6 → 1.1.0-beta.10
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/{tmagic-form.es.js → tmagic-form.mjs} +225 -190
- package/dist/tmagic-form.mjs.map +1 -0
- package/dist/tmagic-form.umd.js +239 -204
- package/dist/tmagic-form.umd.js.map +1 -1
- package/package.json +17 -16
- package/src/Form.vue +3 -7
- package/src/containers/Container.vue +1 -1
- package/src/containers/GroupListItem.vue +4 -4
- package/src/containers/Panel.vue +1 -1
- package/src/containers/Table.vue +1 -1
- package/src/fields/Cascader.vue +3 -5
- package/src/fields/ColorPicker.vue +19 -26
- package/src/fields/Daterange.vue +73 -52
- package/src/fields/Display.vue +13 -23
- package/src/fields/Hidden.vue +10 -20
- package/src/fields/Select.vue +1 -2
- package/src/fields/Text.vue +6 -4
- package/src/index.ts +4 -4
- package/tsconfig.build.json +13 -0
- package/types/Form.vue.d.ts +125 -0
- package/types/FormDialog.vue.d.ts +300 -0
- package/{dist/types/src → types}/containers/Col.vue.d.ts +4 -4
- package/types/containers/Container.vue.d.ts +70 -0
- package/types/containers/Fieldset.vue.d.ts +118 -0
- package/{dist/types/src → types}/containers/GroupList.vue.d.ts +6 -6
- package/{dist/types/src → types}/containers/GroupListItem.vue.d.ts +15 -15
- package/{dist/types/src → types}/containers/Panel.vue.d.ts +6 -6
- package/{dist/types/src → types}/containers/Row.vue.d.ts +3 -3
- package/{dist/types/src → types}/containers/Step.vue.d.ts +4 -4
- package/types/containers/Table.vue.d.ts +128 -0
- package/{dist/types/src → types}/containers/Tabs.vue.d.ts +11 -7
- package/types/fields/Cascader.vue.d.ts +74 -0
- package/{dist/types/src → types}/fields/Checkbox.vue.d.ts +5 -5
- package/{dist/types/src → types}/fields/CheckboxGroup.vue.d.ts +3 -3
- package/types/fields/ColorPicker.vue.d.ts +100 -0
- package/{dist/types/src → types}/fields/Date.vue.d.ts +3 -3
- package/{dist/types/src → types}/fields/DateTime.vue.d.ts +3 -3
- package/types/fields/Daterange.vue.d.ts +100 -0
- package/types/fields/Display.vue.d.ts +84 -0
- package/{dist/types/src → types}/fields/DynamicField.vue.d.ts +4 -4
- package/types/fields/Hidden.vue.d.ts +84 -0
- package/types/fields/Link.vue.d.ts +686 -0
- package/{dist/types/src → types}/fields/Number.vue.d.ts +3 -3
- package/{dist/types/src → types}/fields/RadioGroup.vue.d.ts +4 -5
- package/types/fields/Select.vue.d.ts +67 -0
- package/types/fields/SelectOptionGroups.vue.d.ts +64 -0
- package/types/fields/SelectOptions.vue.d.ts +68 -0
- package/{dist/types/src → types}/fields/Switch.vue.d.ts +6 -6
- package/{dist/types/src → types}/fields/Text.vue.d.ts +4 -4
- package/{dist/types/src → types}/fields/Textarea.vue.d.ts +10 -4
- package/{dist/types/src → types}/fields/Time.vue.d.ts +8 -4
- package/{dist/types/src → types}/index.d.ts +1 -0
- package/{dist/types/src → types}/schema.d.ts +0 -0
- package/{dist/types/src → types}/utils/config.d.ts +0 -0
- package/types/utils/containerProps.d.ts +26 -0
- package/types/utils/createForm.d.ts +3 -0
- package/{dist/types/src → types}/utils/fieldProps.d.ts +0 -0
- package/{dist/types/src → types}/utils/form.d.ts +0 -0
- package/types/utils/useAddField.d.ts +1 -0
- package/dist/tmagic-form.es.js.map +0 -1
- package/dist/types/src/containers/Container.vue.d.ts +0 -70
- package/dist/types/src/containers/Fieldset.vue.d.ts +0 -79
- package/dist/types/src/containers/Table.vue.d.ts +0 -128
- package/dist/types/src/fields/Daterange.vue.d.ts +0 -57
- package/dist/types/src/fields/Display.vue.d.ts +0 -3
- package/dist/types/src/fields/Hidden.vue.d.ts +0 -3
- package/dist/types/src/fields/SelectOptionGroups.vue.d.ts +0 -13
- package/dist/types/src/fields/SelectOptions.vue.d.ts +0 -21
- package/dist/types/src/shims-vue.d.ts +0 -6
- package/dist/types/src/utils/useAddField.d.ts +0 -1
- package/dist/types/src/vite-env.d.ts +0 -1
- package/src/vite-env.d.ts +0 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { DaterangeConfig } from '../schema';
|
|
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
|
+
config: DaterangeConfig;
|
|
8
|
+
model: any;
|
|
9
|
+
initValues?: any;
|
|
10
|
+
values?: any;
|
|
11
|
+
name: string;
|
|
12
|
+
prop: string;
|
|
13
|
+
disabled?: boolean | undefined;
|
|
14
|
+
size: 'mini' | 'small' | 'medium';
|
|
15
|
+
}>>> & {
|
|
16
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
18
|
+
$attrs: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
$refs: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
$slots: Readonly<{
|
|
25
|
+
[name: string]: import("vue").Slot | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
29
|
+
$emit: (event: "change", ...args: any[]) => void;
|
|
30
|
+
$el: any;
|
|
31
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
32
|
+
config: DaterangeConfig;
|
|
33
|
+
model: any;
|
|
34
|
+
initValues?: any;
|
|
35
|
+
values?: any;
|
|
36
|
+
name: string;
|
|
37
|
+
prop: string;
|
|
38
|
+
disabled?: boolean | undefined;
|
|
39
|
+
size: 'mini' | 'small' | 'medium';
|
|
40
|
+
}>>> & {
|
|
41
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
|
|
43
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
56
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
58
|
+
};
|
|
59
|
+
$forceUpdate: () => void;
|
|
60
|
+
$nextTick: typeof import("vue").nextTick;
|
|
61
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
62
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
63
|
+
config: DaterangeConfig;
|
|
64
|
+
model: any;
|
|
65
|
+
initValues?: any;
|
|
66
|
+
values?: any;
|
|
67
|
+
name: string;
|
|
68
|
+
prop: string;
|
|
69
|
+
disabled?: boolean | undefined;
|
|
70
|
+
size: 'mini' | 'small' | 'medium';
|
|
71
|
+
}>>> & {
|
|
72
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
74
|
+
__isFragment?: undefined;
|
|
75
|
+
__isTeleport?: undefined;
|
|
76
|
+
__isSuspense?: undefined;
|
|
77
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
78
|
+
config: DaterangeConfig;
|
|
79
|
+
model: any;
|
|
80
|
+
initValues?: any;
|
|
81
|
+
values?: any;
|
|
82
|
+
name: string;
|
|
83
|
+
prop: string;
|
|
84
|
+
disabled?: boolean | undefined;
|
|
85
|
+
size: 'mini' | 'small' | 'medium';
|
|
86
|
+
}>>> & {
|
|
87
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
89
|
+
$slots: {};
|
|
90
|
+
});
|
|
91
|
+
export default _default;
|
|
92
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
93
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
94
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
95
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
96
|
+
} : {
|
|
97
|
+
type: import('vue').PropType<T[K]>;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { DisplayConfig } from '../schema';
|
|
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
|
+
config: DisplayConfig;
|
|
8
|
+
model: any;
|
|
9
|
+
initValues?: any;
|
|
10
|
+
values?: any;
|
|
11
|
+
name: string;
|
|
12
|
+
prop: string;
|
|
13
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
14
|
+
$attrs: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
$refs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
$slots: Readonly<{
|
|
21
|
+
[name: string]: import("vue").Slot | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
24
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
25
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
26
|
+
$el: any;
|
|
27
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
+
config: DisplayConfig;
|
|
29
|
+
model: any;
|
|
30
|
+
initValues?: any;
|
|
31
|
+
values?: any;
|
|
32
|
+
name: string;
|
|
33
|
+
prop: string;
|
|
34
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
35
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
48
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
49
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
50
|
+
};
|
|
51
|
+
$forceUpdate: () => void;
|
|
52
|
+
$nextTick: typeof import("vue").nextTick;
|
|
53
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
54
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
55
|
+
config: DisplayConfig;
|
|
56
|
+
model: any;
|
|
57
|
+
initValues?: any;
|
|
58
|
+
values?: any;
|
|
59
|
+
name: string;
|
|
60
|
+
prop: string;
|
|
61
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
62
|
+
__isFragment?: undefined;
|
|
63
|
+
__isTeleport?: undefined;
|
|
64
|
+
__isSuspense?: undefined;
|
|
65
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
66
|
+
config: DisplayConfig;
|
|
67
|
+
model: any;
|
|
68
|
+
initValues?: any;
|
|
69
|
+
values?: any;
|
|
70
|
+
name: string;
|
|
71
|
+
prop: string;
|
|
72
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
73
|
+
$slots: {};
|
|
74
|
+
});
|
|
75
|
+
export default _default;
|
|
76
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
77
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
78
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
79
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
80
|
+
} : {
|
|
81
|
+
type: import('vue').PropType<T[K]>;
|
|
82
|
+
required: true;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
*
|
|
8
8
|
* 特别注意!!!field的上一级必须extensible: true,才能保存未声明的字段
|
|
9
9
|
*/
|
|
10
|
-
import
|
|
10
|
+
import { PropType } from 'vue';
|
|
11
11
|
import { DynamicFieldConfig } from '../schema';
|
|
12
|
-
declare const _default: DefineComponent<{
|
|
12
|
+
declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
config: {
|
|
14
14
|
type: PropType<DynamicFieldConfig>;
|
|
15
15
|
required: true;
|
|
@@ -39,12 +39,12 @@ declare const _default: DefineComponent<{
|
|
|
39
39
|
fieldLabelMap: {
|
|
40
40
|
[key: string]: any;
|
|
41
41
|
};
|
|
42
|
-
unwatch: WatchStopHandle;
|
|
42
|
+
unwatch: import("vue").WatchStopHandle;
|
|
43
43
|
changeFieldMap: () => Promise<void>;
|
|
44
44
|
inputChangeHandler: (key: string) => void;
|
|
45
45
|
}, unknown, {}, {
|
|
46
46
|
init(): void;
|
|
47
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
47
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
config: {
|
|
49
49
|
type: PropType<DynamicFieldConfig>;
|
|
50
50
|
required: true;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { HiddenConfig } from '../schema';
|
|
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
|
+
config: HiddenConfig;
|
|
8
|
+
model: any;
|
|
9
|
+
initValues?: any;
|
|
10
|
+
values?: any;
|
|
11
|
+
name: string;
|
|
12
|
+
prop: string;
|
|
13
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
14
|
+
$attrs: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
$refs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
$slots: Readonly<{
|
|
21
|
+
[name: string]: import("vue").Slot | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
24
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
25
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
26
|
+
$el: any;
|
|
27
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
+
config: HiddenConfig;
|
|
29
|
+
model: any;
|
|
30
|
+
initValues?: any;
|
|
31
|
+
values?: any;
|
|
32
|
+
name: string;
|
|
33
|
+
prop: string;
|
|
34
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
35
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
48
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
49
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
50
|
+
};
|
|
51
|
+
$forceUpdate: () => void;
|
|
52
|
+
$nextTick: typeof import("vue").nextTick;
|
|
53
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
54
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
55
|
+
config: HiddenConfig;
|
|
56
|
+
model: any;
|
|
57
|
+
initValues?: any;
|
|
58
|
+
values?: any;
|
|
59
|
+
name: string;
|
|
60
|
+
prop: string;
|
|
61
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
62
|
+
__isFragment?: undefined;
|
|
63
|
+
__isTeleport?: undefined;
|
|
64
|
+
__isSuspense?: undefined;
|
|
65
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
66
|
+
config: HiddenConfig;
|
|
67
|
+
model: any;
|
|
68
|
+
initValues?: any;
|
|
69
|
+
values?: any;
|
|
70
|
+
name: string;
|
|
71
|
+
prop: string;
|
|
72
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
73
|
+
$slots: {};
|
|
74
|
+
});
|
|
75
|
+
export default _default;
|
|
76
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
77
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
78
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
79
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
80
|
+
} : {
|
|
81
|
+
type: import('vue').PropType<T[K]>;
|
|
82
|
+
required: true;
|
|
83
|
+
};
|
|
84
|
+
};
|