@vunk/form 2.12.1 → 2.13.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/components/api-tables-select/src/ctx.d.ts +1 -1
- package/components/api-tables-select/src/index.vue.d.ts +5 -5
- package/components/api-tables-select/src/types.d.ts +2 -2
- package/components/button/index.cjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/ctx.d.ts +1 -6
- package/components/button/src/index.vue.d.ts +3 -12
- package/components/button/src/types.d.ts +2 -2
- package/components/card-input-collection/src/ctx.d.ts +1 -6
- package/components/card-input-collection/src/index.vue.d.ts +4 -18
- package/components/card-input-collection/src/types.d.ts +2 -2
- package/components/cascader/src/ctx.d.ts +2 -7
- package/components/cascader/src/index.vue.d.ts +3 -12
- package/components/cascader/src/types.d.ts +1 -1
- package/components/checkbox/src/ctx.d.ts +2 -7
- package/components/checkbox/src/index.vue.d.ts +3 -12
- package/components/checkbox/src/types.d.ts +1 -1
- package/components/color-picker/src/ctx.d.ts +1 -6
- package/components/color-picker/src/index.vue.d.ts +3 -12
- package/components/color-picker/src/types.d.ts +1 -1
- package/components/date-picker/src/ctx.d.ts +2 -7
- package/components/date-picker/src/index.vue.d.ts +3 -12
- package/components/date-picker/src/types.d.ts +2 -2
- package/components/date-picker-range/src/types.d.ts +3 -3
- package/components/dialog-input-collection/index.cjs +128 -103
- package/components/dialog-input-collection/index.mjs +127 -102
- package/components/dialog-input-collection/src/ctx.d.ts +7 -9
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1184 -49
- package/components/dialog-input-collection/src/index.vue.d.ts +1369 -241
- package/components/dialog-input-collection/src/layout.vue.d.ts +27 -27
- package/components/dialog-input-collection/src/types.d.ts +3 -3
- package/components/download-plus/src/ctx.d.ts +1 -6
- package/components/download-plus/src/index.vue.d.ts +3 -12
- package/components/editable-text/src/ctx.d.ts +1 -6
- package/components/editable-text/src/index.vue.d.ts +5 -19
- package/components/esri-input-geojson/src/ctx.d.ts +2 -7
- package/components/esri-input-geojson/src/index.vue.d.ts +4 -13
- package/components/esri-input-geojson/src/types.d.ts +2 -2
- package/components/form/src/types.d.ts +1 -1
- package/components/form-item/index.cjs +2 -1
- package/components/form-item/index.mjs +2 -1
- package/components/form-item/src/ctx.d.ts +2 -7
- package/components/form-item/src/index.vue.d.ts +4 -13
- package/components/form-item-renderer/index.cjs +5 -3
- package/components/form-item-renderer/index.mjs +5 -3
- package/components/information/src/types.d.ts +1 -1
- package/components/information-collection/src/ctx.d.ts +1 -6
- package/components/information-collection/src/index.vue.d.ts +3 -12
- package/components/input/src/ctx.d.ts +2 -7
- package/components/input/src/index.vue.d.ts +3 -12
- package/components/input/src/types.d.ts +2 -2
- package/components/input-collection/src/ctx.d.ts +1 -6
- package/components/input-collection/src/index.vue.d.ts +4 -18
- package/components/input-collection/src/types.d.ts +2 -2
- package/components/input-link/src/ctx.d.ts +1 -6
- package/components/input-link/src/index.vue.d.ts +3 -12
- package/components/input-link/src/types.d.ts +1 -1
- package/components/input-number/src/ctx.d.ts +2 -7
- package/components/input-number/src/index.vue.d.ts +3 -12
- package/components/input-number/src/types.d.ts +1 -1
- package/components/input-tag/src/ctx.d.ts +2 -7
- package/components/input-tag/src/index.vue.d.ts +3 -12
- package/components/input-tag/src/types.d.ts +2 -2
- package/components/monaco-editor/src/ctx.d.ts +1 -6
- package/components/monaco-editor/src/index.vue.d.ts +3 -12
- package/components/monaco-editor/src/types.d.ts +2 -2
- package/components/radio/src/ctx.d.ts +1 -6
- package/components/radio/src/index.vue.d.ts +3 -12
- package/components/radio/src/types.d.ts +1 -1
- package/components/select/src/ctx.d.ts +2 -7
- package/components/select/src/index.vue.d.ts +3 -12
- package/components/select/src/types.d.ts +1 -1
- package/components/slider/src/ctx.d.ts +1 -6
- package/components/slider/src/index.vue.d.ts +3 -12
- package/components/slider/src/types.d.ts +1 -1
- package/components/switch/src/ctx.d.ts +1 -6
- package/components/switch/src/index.vue.d.ts +3 -12
- package/components/switch/src/types.d.ts +1 -1
- package/components/tables-select/src/ctx.d.ts +1 -1
- package/components/tables-select/src/index.vue.d.ts +2 -2
- package/components/tables-select/src/types.d.ts +2 -2
- package/components/templates-default/src/types.d.ts +16 -16
- package/components/templates-esri/src/types.d.ts +1 -1
- package/components/templates-variant/src/types.d.ts +1 -1
- package/components/upload/src/ctx.d.ts +2 -7
- package/components/upload/src/index.vue.d.ts +3 -12
- package/components/upload/src/types.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +1 -6
- package/components/upload-plus/src/index.vue.d.ts +4 -18
- package/components/van-cascader/src/ctx.d.ts +1 -6
- package/components/van-cascader/src/index.vue.d.ts +3 -12
- package/components/var-datetime-picker/src/ctx.d.ts +1 -6
- package/components/var-datetime-picker/src/index.vue.d.ts +3 -12
- package/components/var-datetime-picker/src/types.d.ts +2 -2
- package/components/vditor/src/ctx.d.ts +1 -6
- package/components/vditor/src/index.vue.d.ts +3 -12
- package/components/vditor/src/types.d.ts +2 -2
- package/package.json +1 -1
- package/shared/types/source/index.d.ts +2 -2
|
@@ -4,33 +4,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4
4
|
default: () => {};
|
|
5
5
|
};
|
|
6
6
|
}>, {
|
|
7
|
-
readonly VkfRendererData: {
|
|
8
|
-
new (...args: any[]): any;
|
|
9
|
-
__isFragment?: never;
|
|
10
|
-
__isTeleport?: never;
|
|
11
|
-
__isSuspense?: never;
|
|
12
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
13
|
-
[x: string]: any;
|
|
14
|
-
[x: symbol]: any;
|
|
15
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
16
|
-
install(app: import("vue").App): void;
|
|
17
|
-
};
|
|
18
|
-
readonly VkfTemplateInstancesProvider: {
|
|
19
|
-
new (...args: any[]): any;
|
|
20
|
-
__isFragment?: never;
|
|
21
|
-
__isTeleport?: never;
|
|
22
|
-
__isSuspense?: never;
|
|
23
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
24
|
-
[x: string]: any;
|
|
25
|
-
[x: symbol]: any;
|
|
26
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
27
|
-
install(app: import("vue").App): void;
|
|
28
|
-
};
|
|
29
|
-
readonly VkfInformationTemplates: import("vue").DefineComponent<{}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
-
[key: string]: any;
|
|
31
|
-
}>[]) | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
32
|
-
[key: string]: any;
|
|
33
|
-
}>[][]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
7
|
readonly VkfInformationData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
35
8
|
data: {
|
|
36
9
|
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
@@ -50,6 +23,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
50
23
|
}>, {
|
|
51
24
|
data: import("packages/entry").NormalObject;
|
|
52
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
readonly VkfInformationTemplates: import("vue").DefineComponent<{}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}>[]) | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>[][]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
31
|
readonly VkfInformationTemplatesDefault: {
|
|
54
32
|
new (...args: any[]): any;
|
|
55
33
|
__isFragment?: never;
|
|
@@ -61,6 +39,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
61
39
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
62
40
|
install(app: import("vue").App): void;
|
|
63
41
|
};
|
|
42
|
+
readonly VkfRendererData: {
|
|
43
|
+
new (...args: any[]): any;
|
|
44
|
+
__isFragment?: never;
|
|
45
|
+
__isTeleport?: never;
|
|
46
|
+
__isSuspense?: never;
|
|
47
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
48
|
+
[x: string]: any;
|
|
49
|
+
[x: symbol]: any;
|
|
50
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
51
|
+
install(app: import("vue").App): void;
|
|
52
|
+
};
|
|
53
|
+
readonly VkfTemplateInstancesProvider: {
|
|
54
|
+
new (...args: any[]): any;
|
|
55
|
+
__isFragment?: never;
|
|
56
|
+
__isTeleport?: never;
|
|
57
|
+
__isSuspense?: never;
|
|
58
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
59
|
+
[x: string]: any;
|
|
60
|
+
[x: symbol]: any;
|
|
61
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
62
|
+
install(app: import("vue").App): void;
|
|
63
|
+
};
|
|
64
64
|
readonly VkfTemplatesDefault: {
|
|
65
65
|
new (...args: any[]): any;
|
|
66
66
|
__isFragment?: never;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import type { __VkfInformationCollection } from '@vunk/form/components/information-collection';
|
|
1
2
|
import type { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
|
|
2
3
|
import type { BasicSource } from '@vunk/form/shared';
|
|
3
4
|
import type { __VkTableColumns } from '@vunk/plus/components/table-columns';
|
|
4
5
|
import type { AnyFunc, Keyof, NormalObject, VueComponentPropsType } from '@vunk/shared';
|
|
5
6
|
import type { TableColumnCtx } from 'element-plus';
|
|
6
7
|
import type Core from './index.vue';
|
|
7
|
-
import type { __VkfInformationCollection } from '@vunk/form/components/information-collection';
|
|
8
8
|
export type Modules = 'operations:add';
|
|
9
|
-
export interface Source<P
|
|
10
|
-
prop?: P
|
|
9
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
10
|
+
prop?: P;
|
|
11
11
|
templateType: 'VkfDialogInputCollection';
|
|
12
12
|
informationProps?: Partial<__VkfInformationCollection.ComponentProps>;
|
|
13
13
|
}
|
|
@@ -70,6 +70,7 @@ export declare const props: {
|
|
|
70
70
|
type: BooleanConstructor;
|
|
71
71
|
default: boolean;
|
|
72
72
|
};
|
|
73
|
+
prop: any;
|
|
73
74
|
label: StringConstructor;
|
|
74
75
|
labelWidth: {
|
|
75
76
|
readonly type: PropType<string | number>;
|
|
@@ -87,12 +88,6 @@ export declare const props: {
|
|
|
87
88
|
} & {
|
|
88
89
|
readonly default: "";
|
|
89
90
|
};
|
|
90
|
-
prop: {
|
|
91
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
92
|
-
readonly required: false;
|
|
93
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
|
-
__epPropKey: true;
|
|
95
|
-
};
|
|
96
91
|
rules: {
|
|
97
92
|
readonly type: PropType<unknown>;
|
|
98
93
|
readonly required: false;
|
|
@@ -62,6 +62,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
62
62
|
type: BooleanConstructor;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
|
+
prop: any;
|
|
65
66
|
label: StringConstructor;
|
|
66
67
|
labelWidth: {
|
|
67
68
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -79,12 +80,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
79
80
|
} & {
|
|
80
81
|
readonly default: "";
|
|
81
82
|
};
|
|
82
|
-
prop: {
|
|
83
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
84
|
-
readonly required: false;
|
|
85
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
-
__epPropKey: true;
|
|
87
|
-
};
|
|
88
83
|
rules: {
|
|
89
84
|
readonly type: import("vue").PropType<unknown>;
|
|
90
85
|
readonly required: false;
|
|
@@ -260,6 +255,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
260
255
|
type: BooleanConstructor;
|
|
261
256
|
default: boolean;
|
|
262
257
|
};
|
|
258
|
+
prop: any;
|
|
263
259
|
label: StringConstructor;
|
|
264
260
|
labelWidth: {
|
|
265
261
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -277,12 +273,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
277
273
|
} & {
|
|
278
274
|
readonly default: "";
|
|
279
275
|
};
|
|
280
|
-
prop: {
|
|
281
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
282
|
-
readonly required: false;
|
|
283
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
284
|
-
__epPropKey: true;
|
|
285
|
-
};
|
|
286
276
|
rules: {
|
|
287
277
|
readonly type: import("vue").PropType<unknown>;
|
|
288
278
|
readonly required: false;
|
|
@@ -325,6 +315,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
325
315
|
formItemTipClass: any;
|
|
326
316
|
labelTip: string;
|
|
327
317
|
information: boolean;
|
|
318
|
+
prop: any;
|
|
328
319
|
labelWidth: string | number;
|
|
329
320
|
labelPosition: "" | "top" | "left" | "right";
|
|
330
321
|
inlineMessage: string | boolean;
|
|
@@ -72,6 +72,7 @@ export declare const props: {
|
|
|
72
72
|
type: BooleanConstructor;
|
|
73
73
|
default: boolean;
|
|
74
74
|
};
|
|
75
|
+
prop: any;
|
|
75
76
|
label: StringConstructor;
|
|
76
77
|
labelWidth: {
|
|
77
78
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -89,12 +90,6 @@ export declare const props: {
|
|
|
89
90
|
} & {
|
|
90
91
|
readonly default: "";
|
|
91
92
|
};
|
|
92
|
-
prop: {
|
|
93
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
94
|
-
readonly required: false;
|
|
95
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
|
-
__epPropKey: true;
|
|
97
|
-
};
|
|
98
93
|
rules: {
|
|
99
94
|
readonly type: import("vue").PropType<unknown>;
|
|
100
95
|
readonly required: false;
|
|
@@ -58,6 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
type: BooleanConstructor;
|
|
59
59
|
default: boolean;
|
|
60
60
|
};
|
|
61
|
+
prop: any;
|
|
61
62
|
label: StringConstructor;
|
|
62
63
|
labelWidth: {
|
|
63
64
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -75,12 +76,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
76
|
} & {
|
|
76
77
|
readonly default: "";
|
|
77
78
|
};
|
|
78
|
-
prop: {
|
|
79
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
80
|
-
readonly required: false;
|
|
81
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
82
|
-
__epPropKey: true;
|
|
83
|
-
};
|
|
84
79
|
rules: {
|
|
85
80
|
readonly type: import("vue").PropType<unknown>;
|
|
86
81
|
readonly required: false;
|
|
@@ -171,6 +166,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
171
166
|
type: BooleanConstructor;
|
|
172
167
|
default: boolean;
|
|
173
168
|
};
|
|
169
|
+
prop: any;
|
|
174
170
|
label: StringConstructor;
|
|
175
171
|
labelWidth: {
|
|
176
172
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -188,12 +184,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
188
184
|
} & {
|
|
189
185
|
readonly default: "";
|
|
190
186
|
};
|
|
191
|
-
prop: {
|
|
192
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
193
|
-
readonly required: false;
|
|
194
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
195
|
-
__epPropKey: true;
|
|
196
|
-
};
|
|
197
187
|
rules: {
|
|
198
188
|
readonly type: import("vue").PropType<unknown>;
|
|
199
189
|
readonly required: false;
|
|
@@ -231,7 +221,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
231
221
|
emit: ((event: "update:modelValue", ...args: unknown[]) => void) & ((event: "update:modelValue", ...args: any) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "update:editable", ...args: unknown[]) => void) & ((event: "update:editable", ...args: any) => void) & ((event: "update:editable", ...args: any[]) => void);
|
|
232
222
|
id: string;
|
|
233
223
|
editable: import("vue").WritableComputedRef<boolean, boolean>;
|
|
234
|
-
prop: import("vue").ComputedRef<
|
|
224
|
+
prop: import("vue").ComputedRef<any>;
|
|
235
225
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
236
226
|
readonly: import("vue").ComputedRef<boolean>;
|
|
237
227
|
formItemContainerRef: import("vue").Ref<{
|
|
@@ -3320,6 +3310,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3320
3310
|
type: BooleanConstructor;
|
|
3321
3311
|
default: boolean;
|
|
3322
3312
|
};
|
|
3313
|
+
prop: any;
|
|
3323
3314
|
label: StringConstructor;
|
|
3324
3315
|
labelWidth: {
|
|
3325
3316
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -3337,12 +3328,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3337
3328
|
} & {
|
|
3338
3329
|
readonly default: "";
|
|
3339
3330
|
};
|
|
3340
|
-
prop: {
|
|
3341
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
3342
|
-
readonly required: false;
|
|
3343
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3344
|
-
__epPropKey: true;
|
|
3345
|
-
};
|
|
3346
3331
|
rules: {
|
|
3347
3332
|
readonly type: import("vue").PropType<unknown>;
|
|
3348
3333
|
readonly required: false;
|
|
@@ -3386,6 +3371,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3386
3371
|
formItemTipClass: any;
|
|
3387
3372
|
labelTip: string;
|
|
3388
3373
|
information: boolean;
|
|
3374
|
+
prop: any;
|
|
3389
3375
|
labelWidth: string | number;
|
|
3390
3376
|
labelPosition: "" | "top" | "left" | "right";
|
|
3391
3377
|
inlineMessage: string | boolean;
|
|
@@ -126,6 +126,7 @@ export declare const props: {
|
|
|
126
126
|
type: BooleanConstructor;
|
|
127
127
|
default: boolean;
|
|
128
128
|
};
|
|
129
|
+
prop: any;
|
|
129
130
|
label: StringConstructor;
|
|
130
131
|
labelWidth: {
|
|
131
132
|
readonly type: PropType<string | number>;
|
|
@@ -143,12 +144,6 @@ export declare const props: {
|
|
|
143
144
|
} & {
|
|
144
145
|
readonly default: "";
|
|
145
146
|
};
|
|
146
|
-
prop: {
|
|
147
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
148
|
-
readonly required: false;
|
|
149
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
150
|
-
__epPropKey: true;
|
|
151
|
-
};
|
|
152
147
|
rules: {
|
|
153
148
|
readonly type: PropType<unknown>;
|
|
154
149
|
readonly required: false;
|
|
@@ -307,7 +302,7 @@ export declare const props: {
|
|
|
307
302
|
};
|
|
308
303
|
autofocus: BooleanConstructor;
|
|
309
304
|
};
|
|
310
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"
|
|
305
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"inputmode", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
|
|
311
306
|
export declare const emits: {
|
|
312
307
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, {
|
|
313
308
|
[name: string]: any;
|
|
@@ -126,6 +126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
126
|
type: BooleanConstructor;
|
|
127
127
|
default: boolean;
|
|
128
128
|
};
|
|
129
|
+
prop: any;
|
|
129
130
|
label: StringConstructor;
|
|
130
131
|
labelWidth: {
|
|
131
132
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -143,12 +144,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
143
144
|
} & {
|
|
144
145
|
readonly default: "";
|
|
145
146
|
};
|
|
146
|
-
prop: {
|
|
147
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
148
|
-
readonly required: false;
|
|
149
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
150
|
-
__epPropKey: true;
|
|
151
|
-
};
|
|
152
147
|
rules: {
|
|
153
148
|
readonly type: import("vue").PropType<unknown>;
|
|
154
149
|
readonly required: false;
|
|
@@ -319,10 +314,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
319
314
|
formItemTipClass: any;
|
|
320
315
|
labelTip: string;
|
|
321
316
|
information: boolean;
|
|
317
|
+
prop: any;
|
|
322
318
|
label: string;
|
|
323
319
|
labelWidth: string | number;
|
|
324
320
|
labelPosition: "" | "top" | "left" | "right";
|
|
325
|
-
prop: import("element-plus").FormItemProp;
|
|
326
321
|
rules: unknown;
|
|
327
322
|
error: string;
|
|
328
323
|
validateStatus: "" | "error" | "success" | "validating";
|
|
@@ -532,6 +527,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
532
527
|
type: BooleanConstructor;
|
|
533
528
|
default: boolean;
|
|
534
529
|
};
|
|
530
|
+
prop: any;
|
|
535
531
|
label: StringConstructor;
|
|
536
532
|
labelWidth: {
|
|
537
533
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -549,12 +545,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
549
545
|
} & {
|
|
550
546
|
readonly default: "";
|
|
551
547
|
};
|
|
552
|
-
prop: {
|
|
553
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
554
|
-
readonly required: false;
|
|
555
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
556
|
-
__epPropKey: true;
|
|
557
|
-
};
|
|
558
548
|
rules: {
|
|
559
549
|
readonly type: import("vue").PropType<unknown>;
|
|
560
550
|
readonly required: false;
|
|
@@ -741,6 +731,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
741
731
|
formItemTipClass: any;
|
|
742
732
|
labelTip: string;
|
|
743
733
|
information: boolean;
|
|
734
|
+
prop: any;
|
|
744
735
|
labelWidth: string | number;
|
|
745
736
|
labelPosition: "" | "top" | "left" | "right";
|
|
746
737
|
inlineMessage: string | boolean;
|
|
@@ -9,8 +9,8 @@ export interface EditTypeMedia extends Media {
|
|
|
9
9
|
value: EDIT_TYPE;
|
|
10
10
|
availableCreatureTools: __VaSketch.AvailableCreatureTool[];
|
|
11
11
|
}
|
|
12
|
-
export interface Source<P
|
|
13
|
-
prop?: P
|
|
12
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfEsriInputGeojson>, BasicSource {
|
|
13
|
+
prop?: P;
|
|
14
14
|
templateType: 'VkfEsriInputGeojson';
|
|
15
15
|
}
|
|
16
16
|
export interface CustomSlotProps {
|
|
@@ -14,7 +14,7 @@ export type LayoutProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
templateLayout?: TemplateLayout;
|
|
16
16
|
};
|
|
17
|
-
export type FormItem<P
|
|
17
|
+
export type FormItem<P = string> = (__VkfTemplatesDefault.Source<P> | __VkfTemplatesLayout.ElRowSource<FormItem<P>> | __VkfTemplatesLayout.ElColSource<FormItem<P>> | __VkfTemplatesLayout.VkfFlexSource<FormItem<P>>) & LayoutProps;
|
|
18
18
|
export type ColItem = __VkfTemplatesLayout.ElColSource<FormItem>;
|
|
19
19
|
export type RowItem = __VkfTemplatesLayout.ElRowSource<ColItem>;
|
|
20
20
|
export interface TemplateLayout extends VueComponentPropsType<typeof ElCol> {
|
|
@@ -34,6 +34,7 @@ declare const _props: {
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
+
prop: any;
|
|
37
38
|
label: StringConstructor;
|
|
38
39
|
labelWidth: {
|
|
39
40
|
readonly type: PropType<string | number>;
|
|
@@ -51,12 +52,6 @@ declare const _props: {
|
|
|
51
52
|
} & {
|
|
52
53
|
readonly default: "";
|
|
53
54
|
};
|
|
54
|
-
prop: {
|
|
55
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
56
|
-
readonly required: false;
|
|
57
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
-
__epPropKey: true;
|
|
59
|
-
};
|
|
60
55
|
required: {
|
|
61
56
|
readonly type: PropType<boolean>;
|
|
62
57
|
readonly required: false;
|
|
@@ -103,5 +98,5 @@ declare const _props: {
|
|
|
103
98
|
};
|
|
104
99
|
};
|
|
105
100
|
export declare const props: Omit<typeof _props, "size">;
|
|
106
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"
|
|
101
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>]: T2[k]; }[P]; }>;
|
|
107
102
|
export {};
|
|
@@ -34,6 +34,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
+
prop: any;
|
|
37
38
|
label: StringConstructor;
|
|
38
39
|
labelWidth: {
|
|
39
40
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -51,12 +52,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
52
|
} & {
|
|
52
53
|
readonly default: "";
|
|
53
54
|
};
|
|
54
|
-
prop: {
|
|
55
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
56
|
-
readonly required: false;
|
|
57
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
-
__epPropKey: true;
|
|
59
|
-
};
|
|
60
55
|
required: {
|
|
61
56
|
readonly type: import("vue").PropType<boolean>;
|
|
62
57
|
readonly required: false;
|
|
@@ -104,10 +99,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
99
|
}, "size">>, {
|
|
105
100
|
formItemBindProps: import("vue").ComputedRef<{
|
|
106
101
|
required: boolean;
|
|
102
|
+
prop: any;
|
|
107
103
|
label: string;
|
|
108
104
|
labelWidth: string | number;
|
|
109
105
|
labelPosition: "" | "top" | "left" | "right";
|
|
110
|
-
prop: import("element-plus").FormItemProp;
|
|
111
106
|
error: string;
|
|
112
107
|
validateStatus: "" | "error" | "success" | "validating";
|
|
113
108
|
for: string;
|
|
@@ -153,6 +148,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
153
148
|
type: BooleanConstructor;
|
|
154
149
|
default: boolean;
|
|
155
150
|
};
|
|
151
|
+
prop: any;
|
|
156
152
|
label: StringConstructor;
|
|
157
153
|
labelWidth: {
|
|
158
154
|
readonly type: import("vue").PropType<string | number>;
|
|
@@ -170,12 +166,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
170
166
|
} & {
|
|
171
167
|
readonly default: "";
|
|
172
168
|
};
|
|
173
|
-
prop: {
|
|
174
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
175
|
-
readonly required: false;
|
|
176
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
177
|
-
__epPropKey: true;
|
|
178
|
-
};
|
|
179
169
|
required: {
|
|
180
170
|
readonly type: import("vue").PropType<boolean>;
|
|
181
171
|
readonly required: false;
|
|
@@ -230,6 +220,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
230
220
|
formItemTipClass: any;
|
|
231
221
|
labelTip: string;
|
|
232
222
|
information: boolean;
|
|
223
|
+
prop: any;
|
|
233
224
|
labelWidth: string | number;
|
|
234
225
|
labelPosition: "" | "top" | "left" | "right";
|
|
235
226
|
inlineMessage: string | boolean;
|
|
@@ -70,14 +70,16 @@ const VkfFormItemRenderer$1 = vue.defineComponent({
|
|
|
70
70
|
});
|
|
71
71
|
};
|
|
72
72
|
if (c.templateType && getTemplateInstance(c.templateType)) {
|
|
73
|
-
const templateIf = form.genTemplateIfFunc(c.templateIf);
|
|
74
|
-
const preTemplateVisible = rendererData ? templateIf(rendererData.value) : true;
|
|
75
|
-
if (!preTemplateVisible) return a;
|
|
76
73
|
const slotData = { ...c };
|
|
77
74
|
Object.assign(
|
|
78
75
|
slotData,
|
|
79
76
|
_function.isCallable(c.templateProps) ? c.templateProps(rendererData?.value) : c.templateProps
|
|
80
77
|
);
|
|
78
|
+
const templateIf = form.genTemplateIfFunc(
|
|
79
|
+
slotData.templateIf
|
|
80
|
+
);
|
|
81
|
+
const preTemplateVisible = rendererData ? templateIf(rendererData.value) : true;
|
|
82
|
+
if (!preTemplateVisible) return a;
|
|
81
83
|
const informationProps = _function.isCallable(slotData.informationProps) ? slotData.informationProps(rendererData?.value) : slotData.informationProps;
|
|
82
84
|
const inputEffect = genInputEffectFunc(slotData.inputEffect);
|
|
83
85
|
Reflect.deleteProperty(slotData, "templateType");
|
|
@@ -66,14 +66,16 @@ const VkfFormItemRenderer$1 = defineComponent({
|
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
68
|
if (c.templateType && getTemplateInstance(c.templateType)) {
|
|
69
|
-
const templateIf = genTemplateIfFunc(c.templateIf);
|
|
70
|
-
const preTemplateVisible = rendererData ? templateIf(rendererData.value) : true;
|
|
71
|
-
if (!preTemplateVisible) return a;
|
|
72
69
|
const slotData = { ...c };
|
|
73
70
|
Object.assign(
|
|
74
71
|
slotData,
|
|
75
72
|
isCallable(c.templateProps) ? c.templateProps(rendererData?.value) : c.templateProps
|
|
76
73
|
);
|
|
74
|
+
const templateIf = genTemplateIfFunc(
|
|
75
|
+
slotData.templateIf
|
|
76
|
+
);
|
|
77
|
+
const preTemplateVisible = rendererData ? templateIf(rendererData.value) : true;
|
|
78
|
+
if (!preTemplateVisible) return a;
|
|
77
79
|
const informationProps = isCallable(slotData.informationProps) ? slotData.informationProps(rendererData?.value) : slotData.informationProps;
|
|
78
80
|
const inputEffect = genInputEffectFunc(slotData.inputEffect);
|
|
79
81
|
Reflect.deleteProperty(slotData, "templateType");
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { __VkfInputCollection } from '@vunk/form/components/input-collection';
|
|
2
2
|
import { __VkfTemplatesDefault } from '@vunk/form';
|
|
3
|
-
export type FormItem<P
|
|
3
|
+
export type FormItem<P = string> = __VkfTemplatesDefault.Source<P> | __VkfInputCollection.Source<P>;
|
|
@@ -90,6 +90,7 @@ export declare const props: {
|
|
|
90
90
|
type: StringConstructor;
|
|
91
91
|
default: any;
|
|
92
92
|
};
|
|
93
|
+
prop: any;
|
|
93
94
|
label: StringConstructor;
|
|
94
95
|
labelWidth: {
|
|
95
96
|
readonly type: PropType<string | number>;
|
|
@@ -107,12 +108,6 @@ export declare const props: {
|
|
|
107
108
|
} & {
|
|
108
109
|
readonly default: "";
|
|
109
110
|
};
|
|
110
|
-
prop: {
|
|
111
|
-
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
112
|
-
readonly required: false;
|
|
113
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
-
__epPropKey: true;
|
|
115
|
-
};
|
|
116
111
|
rules: {
|
|
117
112
|
readonly type: PropType<unknown>;
|
|
118
113
|
readonly required: false;
|