@vunk/form 2.10.0 → 2.10.3
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/index.cjs +37 -36
- package/components/api-tables-select/index.mjs +37 -36
- package/components/api-tables-select/src/ctx.d.ts +48 -13
- package/components/api-tables-select/src/index.vue.d.ts +568 -80
- package/components/button/src/ctx.d.ts +101 -17
- package/components/button/src/index.vue.d.ts +437 -101
- package/components/card-input-collection/index.cjs +67 -70
- package/components/card-input-collection/index.mjs +68 -71
- package/components/card-input-collection/src/ctx.d.ts +43 -8
- package/components/card-input-collection/src/index.vue.d.ts +718 -226
- package/components/cascader/src/ctx.d.ts +192 -46
- package/components/cascader/src/index.vue.d.ts +393 -118
- package/components/checkbox/index.cjs +2 -3
- package/components/checkbox/index.mjs +2 -3
- package/components/checkbox/src/ctx.d.ts +65 -13
- package/components/checkbox/src/index.vue.d.ts +339 -115
- package/components/color-picker/src/ctx.d.ts +76 -13
- package/components/color-picker/src/index.vue.d.ts +160 -34
- package/components/date-picker/src/ctx.d.ts +185 -36
- package/components/date-picker/src/index.vue.d.ts +974 -202
- package/components/date-picker-range/src/ctx.d.ts +168 -35
- package/components/date-picker-range/src/index.vue.d.ts +347 -82
- package/components/download-plus/index.cjs +4 -4
- package/components/download-plus/index.mjs +4 -4
- package/components/download-plus/src/ctx.d.ts +43 -8
- package/components/download-plus/src/index.vue.d.ts +618 -165
- package/components/editable-text/index.cjs +29 -15
- package/components/editable-text/index.mjs +29 -15
- package/components/editable-text/src/ctx.d.ts +51 -8
- package/components/editable-text/src/index.vue.d.ts +2827 -251
- package/components/esri-input-geojson/src/append.vue.d.ts +769 -418
- package/components/esri-input-geojson/src/ctx.d.ts +133 -32
- package/components/esri-input-geojson/src/index.vue.d.ts +262 -92
- package/components/esri-input-geojson/src/viewer.vue.d.ts +1 -1
- package/components/form/src/ctx.d.ts +59 -11
- package/components/form/src/index.vue.d.ts +3456 -186
- package/components/form-item/src/ctx.d.ts +45 -10
- package/components/form-item/src/index.vue.d.ts +484 -141
- package/components/information-collection/src/ctx.d.ts +45 -10
- package/components/information-collection/src/index.vue.d.ts +96 -26
- package/components/information-tag/src/ctx.d.ts +17 -3
- package/components/information-tag/src/index.vue.d.ts +38 -10
- package/components/input/src/ctx.d.ts +138 -33
- package/components/input/src/index.vue.d.ts +528 -152
- package/components/input-collection/index.cjs +105 -74
- package/components/input-collection/index.mjs +107 -76
- package/components/input-collection/src/ctx.d.ts +43 -8
- package/components/input-collection/src/index.vue.d.ts +756 -793
- package/components/input-link/src/ctx.d.ts +103 -25
- package/components/input-link/src/index.vue.d.ts +219 -63
- package/components/input-number/src/ctx.d.ts +123 -21
- package/components/input-number/src/index.vue.d.ts +468 -93
- package/components/input-tag/src/ctx.d.ts +141 -25
- package/components/input-tag/src/index.vue.d.ts +566 -126
- package/components/monaco-editor/src/ctx.d.ts +43 -8
- package/components/monaco-editor/src/index.vue.d.ts +91 -21
- package/components/radio/index.cjs +2 -3
- package/components/radio/index.mjs +2 -3
- package/components/radio/src/ctx.d.ts +84 -14
- package/components/radio/src/index.vue.d.ts +812 -168
- package/components/select/src/ctx.d.ts +63 -13
- package/components/select/src/index.vue.d.ts +549 -108
- package/components/slider/src/ctx.d.ts +170 -54
- package/components/slider/src/index.vue.d.ts +362 -137
- package/components/switch/src/ctx.d.ts +105 -21
- package/components/switch/src/index.vue.d.ts +453 -117
- package/components/tables-select/src/ctx.d.ts +72 -9
- package/components/tables-select/src/index.vue.d.ts +386 -82
- package/components/templates-element-plus/src/index.vue.d.ts +187 -40
- package/components/templates-layout/src/index.vue.d.ts +337 -64
- package/components/upload/index.cjs +2 -2
- package/components/upload/index.mjs +2 -2
- package/components/upload/src/ctx.d.ts +183 -89
- package/components/upload/src/file.vue.d.ts +269 -83
- package/components/upload/src/index.vue.d.ts +1246 -632
- package/components/upload-plus/index.cjs +79 -86
- package/components/upload-plus/index.mjs +79 -86
- package/components/upload-plus/src/ctx.d.ts +43 -8
- package/components/upload-plus/src/index.vue.d.ts +1008 -283
- package/components/van-cascader/src/ctx.d.ts +181 -44
- package/components/van-cascader/src/index.vue.d.ts +1532 -324
- package/components/var-datetime-picker/src/ctx.d.ts +43 -8
- package/components/var-datetime-picker/src/index.vue.d.ts +932 -190
- package/components/vditor/src/ctx.d.ts +43 -8
- package/components/vditor/src/index.vue.d.ts +91 -21
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +111 -30
- package/shared/element-plus/instances.d.ts +140 -28
|
@@ -401,8 +401,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
401
401
|
default: vue.withCtx(() => _cache[0] || (_cache[0] = [
|
|
402
402
|
vue.createTextVNode(" \u6682\u505C ")
|
|
403
403
|
])),
|
|
404
|
-
_: 1
|
|
405
|
-
|
|
404
|
+
_: 1,
|
|
405
|
+
__: [0]
|
|
406
406
|
}, 8, ["onClick"])) : (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
407
407
|
key: 1,
|
|
408
408
|
type: "primary",
|
|
@@ -411,8 +411,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
411
411
|
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
412
412
|
vue.createTextVNode(" \u4E0B\u8F7D ")
|
|
413
413
|
])),
|
|
414
|
-
_: 1
|
|
415
|
-
|
|
414
|
+
_: 1,
|
|
415
|
+
__: [1]
|
|
416
416
|
}, 8, ["onClick"]))
|
|
417
417
|
]),
|
|
418
418
|
_: 1
|
|
@@ -397,8 +397,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
397
397
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
398
398
|
createTextVNode(" \u6682\u505C ")
|
|
399
399
|
])),
|
|
400
|
-
_: 1
|
|
401
|
-
|
|
400
|
+
_: 1,
|
|
401
|
+
__: [0]
|
|
402
402
|
}, 8, ["onClick"])) : (openBlock(), createBlock(_component_el_button, {
|
|
403
403
|
key: 1,
|
|
404
404
|
type: "primary",
|
|
@@ -407,8 +407,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
407
407
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
408
408
|
createTextVNode(" \u4E0B\u8F7D ")
|
|
409
409
|
])),
|
|
410
|
-
_: 1
|
|
411
|
-
|
|
410
|
+
_: 1,
|
|
411
|
+
__: [1]
|
|
412
412
|
}, 8, ["onClick"]))
|
|
413
413
|
]),
|
|
414
414
|
_: 1
|
|
@@ -29,7 +29,14 @@ export declare const props: {
|
|
|
29
29
|
type: PropType<Status>;
|
|
30
30
|
default: any;
|
|
31
31
|
};
|
|
32
|
-
required:
|
|
32
|
+
required: {
|
|
33
|
+
readonly type: PropType<boolean>;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
} & {
|
|
38
|
+
readonly default: undefined;
|
|
39
|
+
};
|
|
33
40
|
formItemSize: {
|
|
34
41
|
type: PropType<"default" | "small" | "large">;
|
|
35
42
|
default: "default" | "small" | "large";
|
|
@@ -64,30 +71,58 @@ export declare const props: {
|
|
|
64
71
|
default: boolean;
|
|
65
72
|
};
|
|
66
73
|
label: StringConstructor;
|
|
67
|
-
labelWidth:
|
|
68
|
-
|
|
74
|
+
labelWidth: {
|
|
75
|
+
readonly type: PropType<string | number>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
} & {
|
|
80
|
+
readonly default: "";
|
|
81
|
+
};
|
|
82
|
+
labelPosition: {
|
|
83
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
84
|
+
readonly required: false;
|
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
+
__epPropKey: true;
|
|
87
|
+
} & {
|
|
88
|
+
readonly default: "";
|
|
89
|
+
};
|
|
69
90
|
prop: {
|
|
70
|
-
readonly type:
|
|
91
|
+
readonly type: PropType<import("element-plus").FormItemProp>;
|
|
71
92
|
readonly required: false;
|
|
72
93
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
94
|
__epPropKey: true;
|
|
74
95
|
};
|
|
75
96
|
rules: {
|
|
76
|
-
readonly type:
|
|
97
|
+
readonly type: PropType<unknown>;
|
|
77
98
|
readonly required: false;
|
|
78
99
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
100
|
__epPropKey: true;
|
|
80
101
|
};
|
|
81
102
|
error: StringConstructor;
|
|
82
103
|
validateStatus: {
|
|
83
|
-
readonly type:
|
|
104
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
84
105
|
readonly required: false;
|
|
85
106
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
107
|
__epPropKey: true;
|
|
87
108
|
};
|
|
88
109
|
for: StringConstructor;
|
|
89
|
-
inlineMessage:
|
|
90
|
-
|
|
110
|
+
inlineMessage: {
|
|
111
|
+
readonly type: PropType<string | boolean>;
|
|
112
|
+
readonly required: false;
|
|
113
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
+
__epPropKey: true;
|
|
115
|
+
} & {
|
|
116
|
+
readonly default: "";
|
|
117
|
+
};
|
|
118
|
+
showMessage: {
|
|
119
|
+
readonly type: PropType<boolean>;
|
|
120
|
+
readonly required: false;
|
|
121
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
122
|
+
__epPropKey: true;
|
|
123
|
+
} & {
|
|
124
|
+
readonly default: true;
|
|
125
|
+
};
|
|
91
126
|
};
|
|
92
127
|
export declare const emits: {
|
|
93
128
|
'update:fileStatus': any;
|