@dazhicheng/ui 1.5.130 → 1.5.132
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.
|
@@ -5,7 +5,9 @@ type __VLS_Props = Props & {
|
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): any;
|
|
7
7
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
8
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
9
|
+
wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
11
|
submit: (event: any) => any;
|
|
10
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
13
|
onSubmit?: ((event: any) => any) | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ExtendedFormApi, TtFormProps } from './types';
|
|
1
|
+
import { ExtendedFormApi, TtFormProps, FormSchema } from './types';
|
|
2
|
+
import { nextTick } from 'vue';
|
|
2
3
|
interface Props extends TtFormProps {
|
|
3
4
|
formApi?: ExtendedFormApi;
|
|
4
5
|
}
|
|
@@ -11,11 +12,177 @@ declare function __VLS_template(): {
|
|
|
11
12
|
'expand-before'?(_: {}): any;
|
|
12
13
|
'expand-after'?(_: {}): any;
|
|
13
14
|
};
|
|
14
|
-
refs: {
|
|
15
|
+
refs: {
|
|
16
|
+
formRef: ({
|
|
17
|
+
$: import('vue').ComponentInternalInstance;
|
|
18
|
+
$data: {};
|
|
19
|
+
$props: {
|
|
20
|
+
readonly arrayToStringFields?: import('./types').ArrayToStringFields | undefined;
|
|
21
|
+
readonly collapsed?: boolean | undefined;
|
|
22
|
+
readonly collapsedRows?: number | undefined;
|
|
23
|
+
readonly collapseTriggerResize?: boolean | undefined;
|
|
24
|
+
readonly commonConfig?: import('./types').FormCommonConfig | undefined;
|
|
25
|
+
readonly compact?: boolean | undefined;
|
|
26
|
+
readonly componentBindEventMap?: Partial<Record<import('./types').BaseFormComponentType, string>> | undefined;
|
|
27
|
+
readonly componentMap: Record<import('./types').BaseFormComponentType, import('vue').Component>;
|
|
28
|
+
readonly fieldMappingTime?: import('./types').FieldMappingTime | undefined;
|
|
29
|
+
readonly form?: import('vee-validate').FormContext<import('vee-validate').GenericObject> | undefined;
|
|
30
|
+
readonly layout?: import('./types').FormLayout | undefined;
|
|
31
|
+
readonly schema?: (import('./types').FormSlotSchema | FormSchema<keyof import('./types').BaseFormComponentMap>)[] | undefined;
|
|
32
|
+
readonly showCollapseButton?: boolean | undefined;
|
|
33
|
+
readonly wrapperClass?: import('./types').WrapperClassType | undefined;
|
|
34
|
+
readonly globalCommonConfig?: import('./types').FormCommonConfig | undefined;
|
|
35
|
+
readonly onSubmit?: ((event: any) => any) | undefined;
|
|
36
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
37
|
+
$attrs: {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
$refs: any;
|
|
41
|
+
$slots: Readonly<{
|
|
42
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
45
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
46
|
+
$host: Element | null;
|
|
47
|
+
$emit: (event: "submit", event: any) => void;
|
|
48
|
+
$el: any;
|
|
49
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('./types').FormRenderProps<keyof import('./types').BaseFormComponentMap> & {
|
|
50
|
+
globalCommonConfig?: import('./types').FormCommonConfig;
|
|
51
|
+
}> & Readonly<{
|
|
52
|
+
onSubmit?: ((event: any) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
|
|
55
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
submit: (event: any) => any;
|
|
57
|
+
}, string, {
|
|
58
|
+
collapsedRows: number;
|
|
59
|
+
commonConfig: import('./types').FormCommonConfig;
|
|
60
|
+
showCollapseButton: boolean;
|
|
61
|
+
wrapperClass: import('./types').WrapperClassType;
|
|
62
|
+
globalCommonConfig: import('./types').FormCommonConfig;
|
|
63
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
64
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
65
|
+
created?: (() => void) | (() => void)[];
|
|
66
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
67
|
+
mounted?: (() => void) | (() => void)[];
|
|
68
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
69
|
+
updated?: (() => void) | (() => void)[];
|
|
70
|
+
activated?: (() => void) | (() => void)[];
|
|
71
|
+
deactivated?: (() => void) | (() => void)[];
|
|
72
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
73
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
74
|
+
destroyed?: (() => void) | (() => void)[];
|
|
75
|
+
unmounted?: (() => void) | (() => void)[];
|
|
76
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
77
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
78
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
79
|
+
};
|
|
80
|
+
$forceUpdate: () => void;
|
|
81
|
+
$nextTick: typeof nextTick;
|
|
82
|
+
$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;
|
|
83
|
+
} & Readonly<{
|
|
84
|
+
collapsedRows: number;
|
|
85
|
+
commonConfig: import('./types').FormCommonConfig;
|
|
86
|
+
showCollapseButton: boolean;
|
|
87
|
+
wrapperClass: import('./types').WrapperClassType;
|
|
88
|
+
globalCommonConfig: import('./types').FormCommonConfig;
|
|
89
|
+
}> & Omit<Readonly<import('./types').FormRenderProps<keyof import('./types').BaseFormComponentMap> & {
|
|
90
|
+
globalCommonConfig?: import('./types').FormCommonConfig;
|
|
91
|
+
}> & Readonly<{
|
|
92
|
+
onSubmit?: ((event: any) => any) | undefined;
|
|
93
|
+
}>, "wrapperRef" | ("collapsedRows" | "commonConfig" | "showCollapseButton" | "wrapperClass" | "globalCommonConfig")> & import('vue').ShallowUnwrapRef<{
|
|
94
|
+
wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
|
|
95
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
96
|
+
$slots: any;
|
|
97
|
+
}) | null;
|
|
98
|
+
};
|
|
15
99
|
rootEl: any;
|
|
16
100
|
};
|
|
17
101
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
102
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
103
|
+
formRef: ({
|
|
104
|
+
$: import('vue').ComponentInternalInstance;
|
|
105
|
+
$data: {};
|
|
106
|
+
$props: {
|
|
107
|
+
readonly arrayToStringFields?: import('./types').ArrayToStringFields | undefined;
|
|
108
|
+
readonly collapsed?: boolean | undefined;
|
|
109
|
+
readonly collapsedRows?: number | undefined;
|
|
110
|
+
readonly collapseTriggerResize?: boolean | undefined;
|
|
111
|
+
readonly commonConfig?: import('./types').FormCommonConfig | undefined;
|
|
112
|
+
readonly compact?: boolean | undefined;
|
|
113
|
+
readonly componentBindEventMap?: Partial<Record<import('./types').BaseFormComponentType, string>> | undefined;
|
|
114
|
+
readonly componentMap: Record<import('./types').BaseFormComponentType, import('vue').Component>;
|
|
115
|
+
readonly fieldMappingTime?: import('./types').FieldMappingTime | undefined;
|
|
116
|
+
readonly form?: import('vee-validate').FormContext<import('vee-validate').GenericObject> | undefined;
|
|
117
|
+
readonly layout?: import('./types').FormLayout | undefined;
|
|
118
|
+
readonly schema?: (import('./types').FormSlotSchema | FormSchema<keyof import('./types').BaseFormComponentMap>)[] | undefined;
|
|
119
|
+
readonly showCollapseButton?: boolean | undefined;
|
|
120
|
+
readonly wrapperClass?: import('./types').WrapperClassType | undefined;
|
|
121
|
+
readonly globalCommonConfig?: import('./types').FormCommonConfig | undefined;
|
|
122
|
+
readonly onSubmit?: ((event: any) => any) | undefined;
|
|
123
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
124
|
+
$attrs: {
|
|
125
|
+
[x: string]: unknown;
|
|
126
|
+
};
|
|
127
|
+
$refs: any;
|
|
128
|
+
$slots: Readonly<{
|
|
129
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
130
|
+
}>;
|
|
131
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
132
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
133
|
+
$host: Element | null;
|
|
134
|
+
$emit: (event: "submit", event: any) => void;
|
|
135
|
+
$el: any;
|
|
136
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('./types').FormRenderProps<keyof import('./types').BaseFormComponentMap> & {
|
|
137
|
+
globalCommonConfig?: import('./types').FormCommonConfig;
|
|
138
|
+
}> & Readonly<{
|
|
139
|
+
onSubmit?: ((event: any) => any) | undefined;
|
|
140
|
+
}>, {
|
|
141
|
+
wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
|
|
142
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
143
|
+
submit: (event: any) => any;
|
|
144
|
+
}, string, {
|
|
145
|
+
collapsedRows: number;
|
|
146
|
+
commonConfig: import('./types').FormCommonConfig;
|
|
147
|
+
showCollapseButton: boolean;
|
|
148
|
+
wrapperClass: import('./types').WrapperClassType;
|
|
149
|
+
globalCommonConfig: import('./types').FormCommonConfig;
|
|
150
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
151
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
152
|
+
created?: (() => void) | (() => void)[];
|
|
153
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
154
|
+
mounted?: (() => void) | (() => void)[];
|
|
155
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
156
|
+
updated?: (() => void) | (() => void)[];
|
|
157
|
+
activated?: (() => void) | (() => void)[];
|
|
158
|
+
deactivated?: (() => void) | (() => void)[];
|
|
159
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
160
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
161
|
+
destroyed?: (() => void) | (() => void)[];
|
|
162
|
+
unmounted?: (() => void) | (() => void)[];
|
|
163
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
164
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
165
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
166
|
+
};
|
|
167
|
+
$forceUpdate: () => void;
|
|
168
|
+
$nextTick: typeof nextTick;
|
|
169
|
+
$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;
|
|
170
|
+
} & Readonly<{
|
|
171
|
+
collapsedRows: number;
|
|
172
|
+
commonConfig: import('./types').FormCommonConfig;
|
|
173
|
+
showCollapseButton: boolean;
|
|
174
|
+
wrapperClass: import('./types').WrapperClassType;
|
|
175
|
+
globalCommonConfig: import('./types').FormCommonConfig;
|
|
176
|
+
}> & Omit<Readonly<import('./types').FormRenderProps<keyof import('./types').BaseFormComponentMap> & {
|
|
177
|
+
globalCommonConfig?: import('./types').FormCommonConfig;
|
|
178
|
+
}> & Readonly<{
|
|
179
|
+
onSubmit?: ((event: any) => any) | undefined;
|
|
180
|
+
}>, "wrapperRef" | ("collapsedRows" | "commonConfig" | "showCollapseButton" | "wrapperClass" | "globalCommonConfig")> & import('vue').ShallowUnwrapRef<{
|
|
181
|
+
wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
|
|
182
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
183
|
+
$slots: any;
|
|
184
|
+
}) | null;
|
|
185
|
+
}, any>;
|
|
19
186
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
187
|
export default _default;
|
|
21
188
|
type __VLS_WithTemplateSlots<T, S> = T & {
|