@vunk/form 1.1.65 → 1.1.67
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/component.d.ts +1 -1
- package/components/button/index.css +1 -0
- package/components/button/index.d.ts +1 -1
- package/components/button/index.js +43 -57
- package/components/button/src/ctx.d.ts +13 -13
- package/components/button/src/ctx.js +1 -39
- package/components/button/src/index.css +1 -0
- package/components/button/src/index.vue.d.ts +37 -73
- package/components/button/src/types.d.ts +1 -1
- package/components/cascader/index.css +1 -0
- package/components/cascader/index.d.ts +1 -1
- package/components/cascader/index.js +34 -49
- package/components/cascader/src/ctx.d.ts +15 -15
- package/components/cascader/src/ctx.js +1 -38
- package/components/cascader/src/index.css +1 -0
- package/components/cascader/src/index.vue.d.ts +45 -70
- package/components/cascader/src/use.d.ts +1 -1
- package/components/cascader/src/use.js +1 -28
- package/components/checkbox/index.css +1 -0
- package/components/checkbox/index.d.ts +1 -1
- package/components/checkbox/index.js +48 -53
- package/components/checkbox/src/ctx.d.ts +14 -14
- package/components/checkbox/src/ctx.js +1 -46
- package/components/checkbox/src/index.css +1 -0
- package/components/checkbox/src/index.vue.d.ts +43 -63
- package/components/color-picker/index.css +1 -0
- package/components/color-picker/index.d.ts +1 -1
- package/components/color-picker/index.js +38 -42
- package/components/color-picker/src/ctx.d.ts +15 -13
- package/components/color-picker/src/ctx.js +1 -23
- package/components/color-picker/src/index.css +1 -0
- package/components/color-picker/src/index.vue.d.ts +36 -65
- package/components/date-picker/index.css +1 -0
- package/components/date-picker/index.d.ts +1 -1
- package/components/date-picker/index.js +42 -55
- package/components/date-picker/src/ctx.d.ts +41 -34
- package/components/date-picker/src/ctx.js +1 -31
- package/components/date-picker/src/index.css +1 -0
- package/components/date-picker/src/index.vue.d.ts +122 -133
- package/components/date-picker/src/types.d.ts +9 -9
- package/components/date-picker/src/types.js +1 -11
- package/components/esri-input-geojson/index.css +8 -6
- package/components/esri-input-geojson/index.d.ts +1 -1
- package/components/esri-input-geojson/index.js +417 -535
- package/components/esri-input-geojson/src/append.vue.d.ts +7 -7
- package/components/esri-input-geojson/src/const.d.ts +1 -1
- package/components/esri-input-geojson/src/const.js +1 -33
- package/components/esri-input-geojson/src/ctx.d.ts +44 -35
- package/components/esri-input-geojson/src/ctx.js +1 -128
- package/components/esri-input-geojson/src/default-view.vue.d.ts +9 -9
- package/components/esri-input-geojson/src/index.css +1 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +142 -119
- package/components/esri-input-geojson/src/types.d.ts +1 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +23 -22
- package/components/form/index.css +1 -0
- package/components/form/index.d.ts +1 -1
- package/components/form/index.js +57 -87
- package/components/form/src/ctx.d.ts +176 -204
- package/components/form/src/ctx.js +1 -61
- package/components/form/src/index.css +1 -0
- package/components/form/src/index.vue.d.ts +515 -601
- package/components/form/src/types.d.ts +3 -3
- package/components/form/src/utils.d.ts +1 -1
- package/components/form/src/utils.js +1 -55
- package/components/form-item/index.css +1 -0
- package/components/form-item/index.d.ts +1 -1
- package/components/form-item/index.js +22 -50
- package/components/form-item/src/ctx.d.ts +9 -9
- package/components/form-item/src/ctx.js +1 -53
- package/components/form-item/src/index.css +1 -0
- package/components/form-item/src/index.vue.d.ts +26 -26
- package/components/form-item/src/types.d.ts +1 -1
- package/components/form-item-renderer/index.css +1 -0
- package/components/form-item-renderer/index.d.ts +1 -1
- package/components/form-item-renderer/index.js +10 -18
- package/components/form-item-renderer/src/ctx.d.ts +3 -3
- package/components/form-item-renderer/src/ctx.js +1 -16
- package/components/form-item-renderer/src/index.css +1 -0
- package/components/form-item-renderer/src/index.vue.d.ts +9 -9
- package/components/form-item-renderer/src/symbols.js +1 -3
- package/components/form-item-renderer-template/index.css +1 -0
- package/components/form-item-renderer-template/index.d.ts +1 -1
- package/components/form-item-renderer-template/index.js +6 -13
- package/components/form-item-renderer-template/src/ctx.js +1 -9
- package/components/form-item-renderer-template/src/index.css +1 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +2 -2
- package/components/geoinput/index.css +1 -0
- package/components/geoinput/index.d.ts +1 -1
- package/components/geoinput/index.js +45 -43
- package/components/geoinput/src/ctx.d.ts +42 -28
- package/components/geoinput/src/ctx.js +1 -39
- package/components/geoinput/src/index.css +1 -0
- package/components/geoinput/src/index.vue.d.ts +111 -223
- package/components/geoinput/src/types.d.ts +3 -3
- package/components/geoinput-read/index.css +1 -0
- package/components/geoinput-read/index.d.ts +1 -1
- package/components/geoinput-read/index.js +120 -160
- package/components/geoinput-read/src/append.vue.d.ts +4 -4
- package/components/geoinput-read/src/core.vue.d.ts +130 -104
- package/components/geoinput-read/src/ctx.d.ts +42 -30
- package/components/geoinput-read/src/ctx.js +1 -66
- package/components/geoinput-read/src/index.css +1 -0
- package/components/geoinput-read/src/index.vue.d.ts +108 -151
- package/components/geoinput-read/src/types.d.ts +1 -1
- package/components/geoinput-update/index.css +9 -7
- package/components/geoinput-update/index.d.ts +1 -1
- package/components/geoinput-update/index.js +335 -366
- package/components/geoinput-update/src/append.vue.d.ts +5 -5
- package/components/geoinput-update/src/ctx.d.ts +38 -28
- package/components/geoinput-update/src/ctx.js +1 -85
- package/components/geoinput-update/src/index.css +1 -0
- package/components/geoinput-update/src/index.vue.d.ts +120 -98
- package/components/geoinput-update/src/types.d.ts +2 -2
- package/components/input/index.css +1 -0
- package/components/input/index.d.ts +1 -1
- package/components/input/index.js +43 -60
- package/components/input/src/ctx.d.ts +31 -25
- package/components/input/src/ctx.js +1 -46
- package/components/input/src/index.css +1 -0
- package/components/input/src/index.vue.d.ts +94 -110
- package/components/input/src/types.d.ts +2 -2
- package/components/input-link/index.css +1 -0
- package/components/input-link/index.d.ts +1 -1
- package/components/input-link/index.js +71 -92
- package/components/input-link/src/ctx.d.ts +26 -20
- package/components/input-link/src/ctx.js +1 -66
- package/components/input-link/src/index.css +1 -0
- package/components/input-link/src/index.vue.d.ts +72 -116
- package/components/input-number/index.css +1 -0
- package/components/input-number/index.d.ts +1 -1
- package/components/input-number/index.js +37 -45
- package/components/input-number/src/ctx.d.ts +15 -15
- package/components/input-number/src/ctx.js +1 -38
- package/components/input-number/src/index.css +1 -0
- package/components/input-number/src/index.vue.d.ts +42 -65
- package/components/input-number/src/types.d.ts +1 -1
- package/components/radio/index.css +1 -0
- package/components/radio/index.d.ts +1 -1
- package/components/radio/index.js +45 -50
- package/components/radio/src/ctx.d.ts +11 -11
- package/components/radio/src/ctx.js +1 -39
- package/components/radio/src/index.css +1 -0
- package/components/radio/src/index.vue.d.ts +41 -60
- package/components/radio/src/types.d.ts +1 -1
- package/components/select/index.css +1 -0
- package/components/select/index.d.ts +1 -1
- package/components/select/index.js +59 -64
- package/components/select/src/ctx.d.ts +39 -41
- package/components/select/src/ctx.js +1 -40
- package/components/select/src/index.css +1 -0
- package/components/select/src/index.vue.d.ts +130 -162
- package/components/select/src/types.d.ts +2 -2
- package/components/slider/index.css +1 -0
- package/components/slider/index.d.ts +1 -1
- package/components/slider/index.js +33 -50
- package/components/slider/src/ctx.d.ts +18 -18
- package/components/slider/src/ctx.js +1 -29
- package/components/slider/src/index.css +1 -0
- package/components/slider/src/index.vue.d.ts +62 -81
- package/components/switch/index.css +1 -0
- package/components/switch/index.d.ts +1 -1
- package/components/switch/index.js +33 -50
- package/components/switch/src/ctx.d.ts +22 -22
- package/components/switch/src/ctx.js +1 -31
- package/components/switch/src/index.css +1 -0
- package/components/switch/src/index.vue.d.ts +65 -83
- package/components/switch/src/types.d.ts +1 -1
- package/components/templates-default/index.css +1 -0
- package/components/templates-default/index.d.ts +1 -1
- package/components/templates-default/index.js +243 -172
- package/components/templates-default/src/ctx.d.ts +1 -1
- package/components/templates-default/src/ctx.js +1 -18
- package/components/templates-default/src/index.css +1 -0
- package/components/templates-default/src/index.vue.d.ts +9 -9
- package/components/templates-default/src/types.d.ts +16 -16
- package/components/templates-element-plus/index.css +1 -0
- package/components/templates-element-plus/index.d.ts +1 -1
- package/components/templates-element-plus/index.js +66 -36
- package/components/templates-element-plus/src/ctx.js +1 -9
- package/components/templates-element-plus/src/index.css +1 -0
- package/components/templates-element-plus/src/index.vue.d.ts +7 -7
- package/components/templates-element-plus/src/types.d.ts +1 -1
- package/components/templates-esri/index.css +1 -0
- package/components/templates-esri/index.d.ts +1 -1
- package/components/templates-esri/index.js +25 -24
- package/components/templates-esri/src/ctx.d.ts +1 -1
- package/components/templates-esri/src/ctx.js +1 -11
- package/components/templates-esri/src/index.css +1 -0
- package/components/templates-esri/src/index.vue.d.ts +6 -6
- package/components/templates-esri/src/types.d.ts +1 -1
- package/components/templates-layout/index.css +1 -0
- package/components/templates-layout/index.d.ts +1 -1
- package/components/templates-layout/index.js +96 -63
- package/components/templates-layout/src/ctx.js +1 -9
- package/components/templates-layout/src/index.css +1 -0
- package/components/templates-layout/src/index.vue.d.ts +7 -7
- package/components/templates-layout/src/types.d.ts +3 -3
- package/components/templates-mapbox/index.css +1 -0
- package/components/templates-mapbox/index.d.ts +1 -1
- package/components/templates-mapbox/index.js +25 -24
- package/components/templates-mapbox/src/ctx.d.ts +1 -1
- package/components/templates-mapbox/src/ctx.js +1 -11
- package/components/templates-mapbox/src/index.css +1 -0
- package/components/templates-mapbox/src/index.vue.d.ts +6 -6
- package/components/templates-mapbox/src/types.d.ts +1 -1
- package/components/upload/index.css +11 -9
- package/components/upload/index.d.ts +1 -1
- package/components/upload/index.js +283 -296
- package/components/upload/src/ctx.d.ts +32 -22
- package/components/upload/src/ctx.js +1 -45
- package/components/upload/src/file.vue.d.ts +28 -19
- package/components/upload/src/index.css +1 -0
- package/components/upload/src/index.vue.d.ts +63 -62
- package/components/upload-plus/index.css +1 -0
- package/components/upload-plus/index.d.ts +1 -1
- package/components/upload-plus/index.js +911 -9539
- package/components/upload-plus/src/api.d.ts +3 -3
- package/components/upload-plus/src/api.js +21 -18114
- package/components/upload-plus/src/const.js +1 -12
- package/components/upload-plus/src/ctx.d.ts +13 -13
- package/components/upload-plus/src/ctx.js +1 -58
- package/components/upload-plus/src/index.css +1 -0
- package/components/upload-plus/src/index.vue.d.ts +31 -48
- package/components/upload-plus/src/types.d.ts +1 -1
- package/components/van-cascader/index.css +1 -0
- package/components/van-cascader/index.d.ts +1 -1
- package/components/van-cascader/index.js +47 -55
- package/components/van-cascader/src/ctx.d.ts +13 -13
- package/components/van-cascader/src/ctx.js +1 -22
- package/components/van-cascader/src/index.css +1 -0
- package/components/van-cascader/src/index.vue.d.ts +40 -57
- package/components/var-datetime-picker/index.css +1 -0
- package/components/var-datetime-picker/index.d.ts +1 -1
- package/components/var-datetime-picker/index.js +137 -168
- package/components/var-datetime-picker/src/const.js +1 -91
- package/components/var-datetime-picker/src/ctx.d.ts +10 -10
- package/components/var-datetime-picker/src/ctx.js +1 -43
- package/components/var-datetime-picker/src/index.css +1 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +26 -42
- package/components/var-datetime-picker/src/types.d.ts +1 -1
- package/components/vditor/index.css +1 -0
- package/components/vditor/index.d.ts +1 -1
- package/components/vditor/index.js +22 -17
- package/components/vditor/src/ctx.js +1 -15
- package/components/vditor/src/index.css +1 -0
- package/components/vditor/src/index.vue.d.ts +4 -3
- package/components/vditor/src/types.d.ts +1 -1
- package/composables/index.css +1 -0
- package/composables/index.js +1 -104
- package/composables/useForm.d.ts +2 -2
- package/composables/useSourceManager.d.ts +1 -1
- package/index.css +127 -20
- package/index.esm.js +1 -44
- package/package.json +1 -1
- package/shared/const/index.css +1 -0
- package/shared/const/index.d.ts +1 -1
- package/shared/const/index.js +1 -56
- package/shared/element-plus/ctx.d.ts +28 -26
- package/shared/element-plus/index.css +1 -0
- package/shared/element-plus/index.js +1 -220
- package/shared/element-plus/instances.d.ts +45 -38
- package/shared/form/index.css +1 -0
- package/shared/form/index.js +1 -30
- package/shared/helper/index.css +1 -0
- package/shared/helper/index.js +1 -9
- package/shared/index.css +1 -0
- package/shared/index.js +1 -56
- package/shared/infer-prop/index.css +1 -0
- package/shared/infer-prop/index.d.ts +1 -1
- package/shared/infer-prop/index.js +1 -34
- package/shared/progress-it/index.css +1 -0
- package/shared/progress-it/index.d.ts +4 -4
- package/shared/progress-it/index.js +1 -57
- package/shared/rules/index.css +1 -0
- package/shared/rules/index.js +1 -32
- package/shared/types/form/index.css +1 -0
- package/shared/types/index.css +1 -0
- package/shared/types/source/index.css +1 -0
- package/shared/types/source/index.d.ts +2 -2
- package/shared/types/source-manager/index.css +1 -0
- package/shared/upload/index.css +1 -0
- package/shared/upload/index.js +1 -767
package/component.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -4,26 +4,9 @@ import { defineComponent, inject, resolveComponent, openBlock, createBlock, norm
|
|
|
4
4
|
import { createButtonBindProps, createButtonOnEmits } from '@vunk/form/shared/element-plus';
|
|
5
5
|
import { validateCatch } from '@vunk/form/shared/form';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
11
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
13
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14
|
-
var __spreadValues = (a, b) => {
|
|
15
|
-
for (var prop in b || (b = {}))
|
|
16
|
-
if (__hasOwnProp.call(b, prop))
|
|
17
|
-
__defNormalProp(a, prop, b[prop]);
|
|
18
|
-
if (__getOwnPropSymbols)
|
|
19
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
20
|
-
if (__propIsEnum.call(b, prop))
|
|
21
|
-
__defNormalProp(a, prop, b[prop]);
|
|
22
|
-
}
|
|
23
|
-
return a;
|
|
24
|
-
};
|
|
25
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
26
|
-
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.props), buttonProps), {
|
|
7
|
+
const props = {
|
|
8
|
+
..._VkfFormItemCtx.props,
|
|
9
|
+
...buttonProps,
|
|
27
10
|
buttonSlots: {
|
|
28
11
|
type: Object,
|
|
29
12
|
default: () => ({})
|
|
@@ -36,18 +19,12 @@ const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.pr
|
|
|
36
19
|
type: Boolean,
|
|
37
20
|
default: true
|
|
38
21
|
}
|
|
39
|
-
}
|
|
40
|
-
const emits =
|
|
41
|
-
|
|
42
|
-
var _export_sfc = (sfc, props) => {
|
|
43
|
-
const target = sfc.__vccOpts || sfc;
|
|
44
|
-
for (const [key, val] of props) {
|
|
45
|
-
target[key] = val;
|
|
46
|
-
}
|
|
47
|
-
return target;
|
|
22
|
+
};
|
|
23
|
+
const emits = {
|
|
24
|
+
...buttonEmits
|
|
48
25
|
};
|
|
49
26
|
|
|
50
|
-
|
|
27
|
+
var script = defineComponent({
|
|
51
28
|
name: "VkfButton",
|
|
52
29
|
components: {
|
|
53
30
|
VkfFormItem,
|
|
@@ -55,7 +32,9 @@ const _sfc_main = defineComponent({
|
|
|
55
32
|
},
|
|
56
33
|
emits,
|
|
57
34
|
props,
|
|
58
|
-
setup(props2, {
|
|
35
|
+
setup(props2, {
|
|
36
|
+
emit
|
|
37
|
+
}) {
|
|
59
38
|
const coreBindProps = createButtonBindProps(props2);
|
|
60
39
|
const coreOnEmits = createButtonOnEmits(emit, ["click"]);
|
|
61
40
|
const formBindProps = _VkfFormItemCtx.createBindProps(props2);
|
|
@@ -77,40 +56,47 @@ const _sfc_main = defineComponent({
|
|
|
77
56
|
};
|
|
78
57
|
}
|
|
79
58
|
});
|
|
80
|
-
|
|
59
|
+
|
|
60
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81
61
|
const _component_ElButton = resolveComponent("ElButton");
|
|
82
62
|
const _component_VkfFormItem = resolveComponent("VkfFormItem");
|
|
83
|
-
return openBlock(), createBlock(
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
63
|
+
return openBlock(), createBlock(
|
|
64
|
+
_component_VkfFormItem,
|
|
65
|
+
normalizeProps(guardReactiveProps(_ctx.formBindProps)),
|
|
66
|
+
{
|
|
67
|
+
default: withCtx(() => [createVNode(_component_ElButton, mergeProps(_ctx.coreBindProps, toHandlers(_ctx.coreOnEmits), {
|
|
68
|
+
onClick: _ctx.handleClick
|
|
69
|
+
}), createSlots({
|
|
70
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(
|
|
71
|
+
toDisplayString(_ctx.buttonLabel),
|
|
72
|
+
1
|
|
73
|
+
/* TEXT */
|
|
74
|
+
)])]),
|
|
91
75
|
_: 2
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
76
|
+
/* DYNAMIC */
|
|
77
|
+
}, [renderList(_ctx.buttonSlots, (item, key) => {
|
|
78
|
+
return {
|
|
79
|
+
name: key,
|
|
80
|
+
fn: withCtx((e) => [(openBlock(), createBlock(resolveDynamicComponent(item?.(e))))])
|
|
81
|
+
};
|
|
82
|
+
})]), 1040, ["onClick"])]),
|
|
83
|
+
_: 3
|
|
84
|
+
/* FORWARDED */
|
|
85
|
+
},
|
|
86
|
+
16
|
|
87
|
+
/* FULL_PROPS */
|
|
88
|
+
);
|
|
105
89
|
}
|
|
106
|
-
|
|
90
|
+
|
|
91
|
+
script.render = render;
|
|
92
|
+
script.__file = "button/src/index.vue";
|
|
107
93
|
|
|
108
94
|
var types = /*#__PURE__*/Object.freeze({
|
|
109
95
|
__proto__: null
|
|
110
96
|
});
|
|
111
97
|
|
|
112
|
-
|
|
113
|
-
app.component(
|
|
98
|
+
script.install = (app) => {
|
|
99
|
+
app.component(script.name, script);
|
|
114
100
|
};
|
|
115
101
|
|
|
116
|
-
export { VkfButton, types as __VkfButton,
|
|
102
|
+
export { script as VkfButton, types as __VkfButton, script as default };
|
|
@@ -16,20 +16,20 @@ export declare const props: {
|
|
|
16
16
|
size: {
|
|
17
17
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
18
18
|
readonly required: false;
|
|
19
|
-
readonly validator: (
|
|
19
|
+
readonly validator: (val: unknown) => boolean;
|
|
20
20
|
__epPropKey: true;
|
|
21
21
|
};
|
|
22
22
|
disabled: BooleanConstructor;
|
|
23
|
-
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
23
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "default" | "text" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
24
24
|
icon: {
|
|
25
|
-
readonly type: PropType<
|
|
25
|
+
readonly type: PropType<unknown>;
|
|
26
26
|
readonly required: false;
|
|
27
|
-
readonly validator: (
|
|
27
|
+
readonly validator: (val: unknown) => boolean;
|
|
28
28
|
__epPropKey: true;
|
|
29
29
|
};
|
|
30
30
|
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
31
31
|
loading: BooleanConstructor;
|
|
32
|
-
loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () =>
|
|
32
|
+
loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
33
33
|
plain: BooleanConstructor;
|
|
34
34
|
text: BooleanConstructor;
|
|
35
35
|
link: BooleanConstructor;
|
|
@@ -41,26 +41,26 @@ export declare const props: {
|
|
|
41
41
|
dark: BooleanConstructor;
|
|
42
42
|
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
43
43
|
tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
44
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
45
44
|
label: StringConstructor;
|
|
46
45
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
47
46
|
prop: {
|
|
48
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
47
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
49
48
|
readonly required: false;
|
|
50
|
-
readonly validator: (
|
|
49
|
+
readonly validator: (val: unknown) => boolean;
|
|
51
50
|
__epPropKey: true;
|
|
52
51
|
};
|
|
52
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
53
53
|
rules: {
|
|
54
|
-
readonly type: PropType<
|
|
54
|
+
readonly type: PropType<unknown>;
|
|
55
55
|
readonly required: false;
|
|
56
|
-
readonly validator: (
|
|
56
|
+
readonly validator: (val: unknown) => boolean;
|
|
57
57
|
__epPropKey: true;
|
|
58
58
|
};
|
|
59
59
|
error: StringConstructor;
|
|
60
60
|
validateStatus: {
|
|
61
61
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
62
62
|
readonly required: false;
|
|
63
|
-
readonly validator: (
|
|
63
|
+
readonly validator: (val: unknown) => boolean;
|
|
64
64
|
__epPropKey: true;
|
|
65
65
|
};
|
|
66
66
|
for: StringConstructor;
|
|
@@ -72,7 +72,7 @@ export declare const props: {
|
|
|
72
72
|
};
|
|
73
73
|
formItemSlots: {
|
|
74
74
|
type: PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
75
|
-
default:
|
|
75
|
+
default: any;
|
|
76
76
|
};
|
|
77
77
|
elRef: {
|
|
78
78
|
type: PropType<any>;
|
|
@@ -84,7 +84,7 @@ export declare const props: {
|
|
|
84
84
|
};
|
|
85
85
|
readonly: {
|
|
86
86
|
type: BooleanConstructor;
|
|
87
|
-
default:
|
|
87
|
+
default: any;
|
|
88
88
|
};
|
|
89
89
|
labelPosition: {
|
|
90
90
|
type: PropType<"right">;
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { buttonProps, buttonEmits } from 'element-plus';
|
|
3
|
-
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defProps = Object.defineProperties;
|
|
6
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
-
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.props), buttonProps), {
|
|
24
|
-
buttonSlots: {
|
|
25
|
-
type: Object,
|
|
26
|
-
default: () => ({})
|
|
27
|
-
},
|
|
28
|
-
buttonLabel: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: ""
|
|
31
|
-
},
|
|
32
|
-
validate: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: true
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
const emits = __spreadValues({}, buttonEmits);
|
|
38
|
-
|
|
39
|
-
export { emits, props };
|
|
1
|
+
import{_VkfFormItemCtx as t}from"@vunk/form/components/form-item";import{buttonProps as o,buttonEmits as e}from"element-plus";const p={...t.props,...o,buttonSlots:{type:Object,default:()=>({})},buttonLabel:{type:String,default:""},validate:{type:Boolean,default:!0}},r={...e};export{r as emits,p as props};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -14,20 +14,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
size: {
|
|
15
15
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
16
16
|
readonly required: false;
|
|
17
|
-
readonly validator: (
|
|
17
|
+
readonly validator: (val: unknown) => boolean;
|
|
18
18
|
__epPropKey: true;
|
|
19
19
|
};
|
|
20
20
|
disabled: BooleanConstructor;
|
|
21
|
-
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
21
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "default" | "text" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
22
22
|
icon: {
|
|
23
|
-
readonly type: import("vue").PropType<
|
|
23
|
+
readonly type: import("vue").PropType<unknown>;
|
|
24
24
|
readonly required: false;
|
|
25
|
-
readonly validator: (
|
|
25
|
+
readonly validator: (val: unknown) => boolean;
|
|
26
26
|
__epPropKey: true;
|
|
27
27
|
};
|
|
28
28
|
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
29
29
|
loading: BooleanConstructor;
|
|
30
|
-
loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () =>
|
|
30
|
+
loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
31
31
|
plain: BooleanConstructor;
|
|
32
32
|
text: BooleanConstructor;
|
|
33
33
|
link: BooleanConstructor;
|
|
@@ -39,26 +39,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
dark: BooleanConstructor;
|
|
40
40
|
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
41
41
|
tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
42
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
43
42
|
label: StringConstructor;
|
|
44
43
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
45
44
|
prop: {
|
|
46
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
45
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
47
46
|
readonly required: false;
|
|
48
|
-
readonly validator: (
|
|
47
|
+
readonly validator: (val: unknown) => boolean;
|
|
49
48
|
__epPropKey: true;
|
|
50
49
|
};
|
|
50
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
51
51
|
rules: {
|
|
52
|
-
readonly type: import("vue").PropType<
|
|
52
|
+
readonly type: import("vue").PropType<unknown>;
|
|
53
53
|
readonly required: false;
|
|
54
|
-
readonly validator: (
|
|
54
|
+
readonly validator: (val: unknown) => boolean;
|
|
55
55
|
__epPropKey: true;
|
|
56
56
|
};
|
|
57
57
|
error: StringConstructor;
|
|
58
58
|
validateStatus: {
|
|
59
59
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
60
60
|
readonly required: false;
|
|
61
|
-
readonly validator: (
|
|
61
|
+
readonly validator: (val: unknown) => boolean;
|
|
62
62
|
__epPropKey: true;
|
|
63
63
|
};
|
|
64
64
|
for: StringConstructor;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
};
|
|
71
71
|
formItemSlots: {
|
|
72
72
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
73
|
-
default:
|
|
73
|
+
default: any;
|
|
74
74
|
};
|
|
75
75
|
elRef: {
|
|
76
76
|
type: import("vue").PropType<any>;
|
|
@@ -82,56 +82,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
};
|
|
83
83
|
readonly: {
|
|
84
84
|
type: BooleanConstructor;
|
|
85
|
-
default:
|
|
85
|
+
default: any;
|
|
86
86
|
};
|
|
87
87
|
labelPosition: {
|
|
88
88
|
type: import("vue").PropType<"right">;
|
|
89
89
|
default: string;
|
|
90
90
|
};
|
|
91
91
|
}, {
|
|
92
|
-
formBindProps: import("vue").ComputedRef<{
|
|
93
|
-
|
|
94
|
-
label: string | undefined;
|
|
95
|
-
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
96
|
-
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
|
|
97
|
-
rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
|
|
98
|
-
error: string | undefined;
|
|
99
|
-
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
100
|
-
for: string | undefined;
|
|
101
|
-
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
102
|
-
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
103
|
-
formItemSize: "default" | "small" | "large";
|
|
104
|
-
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
105
|
-
elRef: any;
|
|
106
|
-
inline: boolean;
|
|
107
|
-
readonly: boolean | undefined;
|
|
108
|
-
labelPosition: "right";
|
|
109
|
-
}>;
|
|
110
|
-
coreBindProps: import("vue").ComputedRef<{
|
|
111
|
-
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "text" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
112
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
113
|
-
link: boolean;
|
|
114
|
-
disabled: boolean;
|
|
115
|
-
icon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
116
|
-
nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
117
|
-
loading: boolean;
|
|
118
|
-
loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
119
|
-
plain: boolean;
|
|
120
|
-
text: boolean;
|
|
121
|
-
bg: boolean;
|
|
122
|
-
autofocus: boolean;
|
|
123
|
-
round: boolean;
|
|
124
|
-
circle: boolean;
|
|
125
|
-
color: string | undefined;
|
|
126
|
-
dark: boolean;
|
|
127
|
-
autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
128
|
-
tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
129
|
-
}>;
|
|
92
|
+
formBindProps: import("vue").ComputedRef<{}>;
|
|
93
|
+
coreBindProps: import("vue").ComputedRef<{}>;
|
|
130
94
|
coreOnEmits: {};
|
|
131
95
|
handleClick: (e: MouseEvent) => void;
|
|
132
96
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
133
97
|
click: (evt: MouseEvent) => boolean;
|
|
134
|
-
}, string, import("vue").
|
|
98
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
135
99
|
buttonSlots: {
|
|
136
100
|
type: import("vue").PropType<import("./types").ButtonSlots>;
|
|
137
101
|
default: () => {};
|
|
@@ -147,20 +111,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
111
|
size: {
|
|
148
112
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
149
113
|
readonly required: false;
|
|
150
|
-
readonly validator: (
|
|
114
|
+
readonly validator: (val: unknown) => boolean;
|
|
151
115
|
__epPropKey: true;
|
|
152
116
|
};
|
|
153
117
|
disabled: BooleanConstructor;
|
|
154
|
-
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
118
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "default" | "text" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
155
119
|
icon: {
|
|
156
|
-
readonly type: import("vue").PropType<
|
|
120
|
+
readonly type: import("vue").PropType<unknown>;
|
|
157
121
|
readonly required: false;
|
|
158
|
-
readonly validator: (
|
|
122
|
+
readonly validator: (val: unknown) => boolean;
|
|
159
123
|
__epPropKey: true;
|
|
160
124
|
};
|
|
161
125
|
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
162
126
|
loading: BooleanConstructor;
|
|
163
|
-
loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () =>
|
|
127
|
+
loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
164
128
|
plain: BooleanConstructor;
|
|
165
129
|
text: BooleanConstructor;
|
|
166
130
|
link: BooleanConstructor;
|
|
@@ -172,26 +136,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
172
136
|
dark: BooleanConstructor;
|
|
173
137
|
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
174
138
|
tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
175
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
176
139
|
label: StringConstructor;
|
|
177
140
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
178
141
|
prop: {
|
|
179
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
142
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
180
143
|
readonly required: false;
|
|
181
|
-
readonly validator: (
|
|
144
|
+
readonly validator: (val: unknown) => boolean;
|
|
182
145
|
__epPropKey: true;
|
|
183
146
|
};
|
|
147
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
184
148
|
rules: {
|
|
185
|
-
readonly type: import("vue").PropType<
|
|
149
|
+
readonly type: import("vue").PropType<unknown>;
|
|
186
150
|
readonly required: false;
|
|
187
|
-
readonly validator: (
|
|
151
|
+
readonly validator: (val: unknown) => boolean;
|
|
188
152
|
__epPropKey: true;
|
|
189
153
|
};
|
|
190
154
|
error: StringConstructor;
|
|
191
155
|
validateStatus: {
|
|
192
156
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
193
157
|
readonly required: false;
|
|
194
|
-
readonly validator: (
|
|
158
|
+
readonly validator: (val: unknown) => boolean;
|
|
195
159
|
__epPropKey: true;
|
|
196
160
|
};
|
|
197
161
|
for: StringConstructor;
|
|
@@ -203,7 +167,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
203
167
|
};
|
|
204
168
|
formItemSlots: {
|
|
205
169
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
206
|
-
default:
|
|
170
|
+
default: any;
|
|
207
171
|
};
|
|
208
172
|
elRef: {
|
|
209
173
|
type: import("vue").PropType<any>;
|
|
@@ -215,41 +179,41 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
215
179
|
};
|
|
216
180
|
readonly: {
|
|
217
181
|
type: BooleanConstructor;
|
|
218
|
-
default:
|
|
182
|
+
default: any;
|
|
219
183
|
};
|
|
220
184
|
labelPosition: {
|
|
221
185
|
type: import("vue").PropType<"right">;
|
|
222
186
|
default: string;
|
|
223
187
|
};
|
|
224
188
|
}>> & {
|
|
225
|
-
onClick?: (
|
|
189
|
+
onClick?: (evt: MouseEvent) => any;
|
|
226
190
|
}, {
|
|
227
|
-
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
228
|
-
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "text" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
229
191
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
192
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
230
193
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
231
194
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
195
|
+
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "default" | "text" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
196
|
+
validate: boolean;
|
|
232
197
|
formItemSize: "default" | "small" | "large";
|
|
233
198
|
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
234
199
|
inline: boolean;
|
|
235
200
|
readonly: boolean;
|
|
236
201
|
labelPosition: "right";
|
|
237
|
-
link: boolean;
|
|
238
202
|
disabled: boolean;
|
|
239
203
|
nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
240
204
|
loading: boolean;
|
|
241
|
-
loadingIcon:
|
|
205
|
+
loadingIcon: any;
|
|
242
206
|
plain: boolean;
|
|
243
207
|
text: boolean;
|
|
208
|
+
link: boolean;
|
|
244
209
|
bg: boolean;
|
|
245
210
|
autofocus: boolean;
|
|
246
211
|
round: boolean;
|
|
247
212
|
circle: boolean;
|
|
248
213
|
dark: boolean;
|
|
249
214
|
autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
250
|
-
tag:
|
|
215
|
+
tag: "button";
|
|
251
216
|
buttonSlots: import("./types").ButtonSlots;
|
|
252
217
|
buttonLabel: string;
|
|
253
|
-
|
|
254
|
-
}>;
|
|
218
|
+
}, {}>;
|
|
255
219
|
export default _default;
|