@vunk/form 2.2.3 → 2.3.1
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 +468 -0
- package/components/api-tables-select/index.d.ts +4 -0
- package/components/api-tables-select/index.mjs +462 -0
- package/components/api-tables-select/src/ctx.d.ts +340 -0
- package/components/api-tables-select/src/index.vue.d.ts +845 -0
- package/components/api-tables-select/src/types.d.ts +19 -0
- package/components/button/src/index.vue.d.ts +16 -16
- package/components/card-input-collection/index.cjs +1 -0
- package/components/card-input-collection/index.mjs +1 -0
- package/components/card-input-collection/src/index.vue.d.ts +3 -3
- package/components/cascader/src/ctx.d.ts +2 -2
- package/components/cascader/src/index.vue.d.ts +22 -22
- package/components/checkbox/src/ctx.d.ts +1 -1
- package/components/checkbox/src/index.vue.d.ts +8 -8
- package/components/cloneDeep.cjs +25 -180
- package/components/cloneDeep.mjs +1 -156
- package/components/color-picker/src/index.vue.d.ts +4 -4
- package/components/date-picker/src/ctx.d.ts +2 -2
- package/components/date-picker/src/index.vue.d.ts +18 -18
- package/components/date-picker-range/src/ctx.d.ts +21 -21
- package/components/date-picker-range/src/index.vue.d.ts +50 -50
- package/components/download-plus/src/index.vue.d.ts +1 -1
- package/components/esri-input-geojson/src/append.vue.d.ts +1 -1
- package/components/esri-input-geojson/src/ctx.d.ts +2 -2
- package/components/esri-input-geojson/src/index.vue.d.ts +18 -18
- package/components/form/src/ctx.d.ts +2 -2
- package/components/form/src/index.vue.d.ts +11 -11
- package/components/form-item/src/index.vue.d.ts +2 -2
- package/components/input/src/ctx.d.ts +2 -2
- package/components/input/src/index.vue.d.ts +13 -13
- package/components/input-collection/index.cjs +1 -0
- package/components/input-collection/index.mjs +1 -0
- package/components/input-collection/src/index.vue.d.ts +4 -4
- package/components/input-link/src/index.vue.d.ts +6 -6
- package/components/input-number/src/ctx.d.ts +2 -2
- package/components/input-number/src/index.vue.d.ts +9 -9
- package/components/isObject.cjs +165 -0
- package/components/isObject.mjs +158 -0
- package/components/monaco-editor/src/index.vue.d.ts +2 -2
- package/components/radio/src/index.vue.d.ts +7 -7
- package/components/select/src/ctx.d.ts +3 -3
- package/components/select/src/index.vue.d.ts +24 -24
- package/components/slider/src/index.vue.d.ts +11 -11
- package/components/switch/src/index.vue.d.ts +10 -10
- package/components/tables-select/index.cjs +30 -4
- package/components/tables-select/index.d.ts +1 -0
- package/components/tables-select/index.mjs +30 -5
- package/components/tables-select/src/ctx.d.ts +15 -6
- package/components/tables-select/src/index.vue.d.ts +126 -116
- package/components/tables-select/src/types.d.ts +9 -1
- package/components/upload/src/ctx.d.ts +1 -1
- package/components/upload/src/index.vue.d.ts +4 -4
- package/components/upload-plus/src/index.vue.d.ts +1 -1
- package/components/van-cascader/src/index.vue.d.ts +14 -14
- package/components/var-datetime-picker/src/index.vue.d.ts +2 -2
- package/components/vditor/src/index.vue.d.ts +2 -2
- package/package.json +6 -1
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/** Detect free variable `global` from Node.js. */
|
|
4
|
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
5
|
+
|
|
6
|
+
/** Detect free variable `self`. */
|
|
7
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
8
|
+
|
|
9
|
+
/** Used as a reference to the global object. */
|
|
10
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
11
|
+
|
|
12
|
+
/** Built-in value references. */
|
|
13
|
+
var Symbol = root.Symbol;
|
|
14
|
+
|
|
15
|
+
/** Used for built-in method references. */
|
|
16
|
+
var objectProto$1 = Object.prototype;
|
|
17
|
+
|
|
18
|
+
/** Used to check objects for own properties. */
|
|
19
|
+
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Used to resolve the
|
|
23
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
24
|
+
* of values.
|
|
25
|
+
*/
|
|
26
|
+
var nativeObjectToString$1 = objectProto$1.toString;
|
|
27
|
+
|
|
28
|
+
/** Built-in value references. */
|
|
29
|
+
var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
33
|
+
*
|
|
34
|
+
* @private
|
|
35
|
+
* @param {*} value The value to query.
|
|
36
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
37
|
+
*/
|
|
38
|
+
function getRawTag(value) {
|
|
39
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag$1),
|
|
40
|
+
tag = value[symToStringTag$1];
|
|
41
|
+
|
|
42
|
+
try {
|
|
43
|
+
value[symToStringTag$1] = undefined;
|
|
44
|
+
var unmasked = true;
|
|
45
|
+
} catch (e) {}
|
|
46
|
+
|
|
47
|
+
var result = nativeObjectToString$1.call(value);
|
|
48
|
+
if (unmasked) {
|
|
49
|
+
if (isOwn) {
|
|
50
|
+
value[symToStringTag$1] = tag;
|
|
51
|
+
} else {
|
|
52
|
+
delete value[symToStringTag$1];
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** Used for built-in method references. */
|
|
59
|
+
var objectProto = Object.prototype;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Used to resolve the
|
|
63
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
64
|
+
* of values.
|
|
65
|
+
*/
|
|
66
|
+
var nativeObjectToString = objectProto.toString;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
70
|
+
*
|
|
71
|
+
* @private
|
|
72
|
+
* @param {*} value The value to convert.
|
|
73
|
+
* @returns {string} Returns the converted string.
|
|
74
|
+
*/
|
|
75
|
+
function objectToString(value) {
|
|
76
|
+
return nativeObjectToString.call(value);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/** `Object#toString` result references. */
|
|
80
|
+
var nullTag = '[object Null]',
|
|
81
|
+
undefinedTag = '[object Undefined]';
|
|
82
|
+
|
|
83
|
+
/** Built-in value references. */
|
|
84
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
88
|
+
*
|
|
89
|
+
* @private
|
|
90
|
+
* @param {*} value The value to query.
|
|
91
|
+
* @returns {string} Returns the `toStringTag`.
|
|
92
|
+
*/
|
|
93
|
+
function baseGetTag(value) {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
96
|
+
}
|
|
97
|
+
return (symToStringTag && symToStringTag in Object(value))
|
|
98
|
+
? getRawTag(value)
|
|
99
|
+
: objectToString(value);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
104
|
+
* and has a `typeof` result of "object".
|
|
105
|
+
*
|
|
106
|
+
* @static
|
|
107
|
+
* @memberOf _
|
|
108
|
+
* @since 4.0.0
|
|
109
|
+
* @category Lang
|
|
110
|
+
* @param {*} value The value to check.
|
|
111
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
112
|
+
* @example
|
|
113
|
+
*
|
|
114
|
+
* _.isObjectLike({});
|
|
115
|
+
* // => true
|
|
116
|
+
*
|
|
117
|
+
* _.isObjectLike([1, 2, 3]);
|
|
118
|
+
* // => true
|
|
119
|
+
*
|
|
120
|
+
* _.isObjectLike(_.noop);
|
|
121
|
+
* // => false
|
|
122
|
+
*
|
|
123
|
+
* _.isObjectLike(null);
|
|
124
|
+
* // => false
|
|
125
|
+
*/
|
|
126
|
+
function isObjectLike(value) {
|
|
127
|
+
return value != null && typeof value == 'object';
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Checks if `value` is the
|
|
132
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
133
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
134
|
+
*
|
|
135
|
+
* @static
|
|
136
|
+
* @memberOf _
|
|
137
|
+
* @since 0.1.0
|
|
138
|
+
* @category Lang
|
|
139
|
+
* @param {*} value The value to check.
|
|
140
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
141
|
+
* @example
|
|
142
|
+
*
|
|
143
|
+
* _.isObject({});
|
|
144
|
+
* // => true
|
|
145
|
+
*
|
|
146
|
+
* _.isObject([1, 2, 3]);
|
|
147
|
+
* // => true
|
|
148
|
+
*
|
|
149
|
+
* _.isObject(_.noop);
|
|
150
|
+
* // => true
|
|
151
|
+
*
|
|
152
|
+
* _.isObject(null);
|
|
153
|
+
* // => false
|
|
154
|
+
*/
|
|
155
|
+
function isObject(value) {
|
|
156
|
+
var type = typeof value;
|
|
157
|
+
return value != null && (type == 'object' || type == 'function');
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
exports.Symbol = Symbol;
|
|
161
|
+
exports.baseGetTag = baseGetTag;
|
|
162
|
+
exports.freeGlobal = freeGlobal;
|
|
163
|
+
exports.isObject = isObject;
|
|
164
|
+
exports.isObjectLike = isObjectLike;
|
|
165
|
+
exports.root = root;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/** Detect free variable `global` from Node.js. */
|
|
2
|
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
3
|
+
|
|
4
|
+
/** Detect free variable `self`. */
|
|
5
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
6
|
+
|
|
7
|
+
/** Used as a reference to the global object. */
|
|
8
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
9
|
+
|
|
10
|
+
/** Built-in value references. */
|
|
11
|
+
var Symbol = root.Symbol;
|
|
12
|
+
|
|
13
|
+
/** Used for built-in method references. */
|
|
14
|
+
var objectProto$1 = Object.prototype;
|
|
15
|
+
|
|
16
|
+
/** Used to check objects for own properties. */
|
|
17
|
+
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Used to resolve the
|
|
21
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
22
|
+
* of values.
|
|
23
|
+
*/
|
|
24
|
+
var nativeObjectToString$1 = objectProto$1.toString;
|
|
25
|
+
|
|
26
|
+
/** Built-in value references. */
|
|
27
|
+
var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
31
|
+
*
|
|
32
|
+
* @private
|
|
33
|
+
* @param {*} value The value to query.
|
|
34
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
35
|
+
*/
|
|
36
|
+
function getRawTag(value) {
|
|
37
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag$1),
|
|
38
|
+
tag = value[symToStringTag$1];
|
|
39
|
+
|
|
40
|
+
try {
|
|
41
|
+
value[symToStringTag$1] = undefined;
|
|
42
|
+
var unmasked = true;
|
|
43
|
+
} catch (e) {}
|
|
44
|
+
|
|
45
|
+
var result = nativeObjectToString$1.call(value);
|
|
46
|
+
if (unmasked) {
|
|
47
|
+
if (isOwn) {
|
|
48
|
+
value[symToStringTag$1] = tag;
|
|
49
|
+
} else {
|
|
50
|
+
delete value[symToStringTag$1];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return result;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** Used for built-in method references. */
|
|
57
|
+
var objectProto = Object.prototype;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Used to resolve the
|
|
61
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
62
|
+
* of values.
|
|
63
|
+
*/
|
|
64
|
+
var nativeObjectToString = objectProto.toString;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
68
|
+
*
|
|
69
|
+
* @private
|
|
70
|
+
* @param {*} value The value to convert.
|
|
71
|
+
* @returns {string} Returns the converted string.
|
|
72
|
+
*/
|
|
73
|
+
function objectToString(value) {
|
|
74
|
+
return nativeObjectToString.call(value);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** `Object#toString` result references. */
|
|
78
|
+
var nullTag = '[object Null]',
|
|
79
|
+
undefinedTag = '[object Undefined]';
|
|
80
|
+
|
|
81
|
+
/** Built-in value references. */
|
|
82
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
86
|
+
*
|
|
87
|
+
* @private
|
|
88
|
+
* @param {*} value The value to query.
|
|
89
|
+
* @returns {string} Returns the `toStringTag`.
|
|
90
|
+
*/
|
|
91
|
+
function baseGetTag(value) {
|
|
92
|
+
if (value == null) {
|
|
93
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
94
|
+
}
|
|
95
|
+
return (symToStringTag && symToStringTag in Object(value))
|
|
96
|
+
? getRawTag(value)
|
|
97
|
+
: objectToString(value);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
102
|
+
* and has a `typeof` result of "object".
|
|
103
|
+
*
|
|
104
|
+
* @static
|
|
105
|
+
* @memberOf _
|
|
106
|
+
* @since 4.0.0
|
|
107
|
+
* @category Lang
|
|
108
|
+
* @param {*} value The value to check.
|
|
109
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
110
|
+
* @example
|
|
111
|
+
*
|
|
112
|
+
* _.isObjectLike({});
|
|
113
|
+
* // => true
|
|
114
|
+
*
|
|
115
|
+
* _.isObjectLike([1, 2, 3]);
|
|
116
|
+
* // => true
|
|
117
|
+
*
|
|
118
|
+
* _.isObjectLike(_.noop);
|
|
119
|
+
* // => false
|
|
120
|
+
*
|
|
121
|
+
* _.isObjectLike(null);
|
|
122
|
+
* // => false
|
|
123
|
+
*/
|
|
124
|
+
function isObjectLike(value) {
|
|
125
|
+
return value != null && typeof value == 'object';
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Checks if `value` is the
|
|
130
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
131
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
132
|
+
*
|
|
133
|
+
* @static
|
|
134
|
+
* @memberOf _
|
|
135
|
+
* @since 0.1.0
|
|
136
|
+
* @category Lang
|
|
137
|
+
* @param {*} value The value to check.
|
|
138
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
139
|
+
* @example
|
|
140
|
+
*
|
|
141
|
+
* _.isObject({});
|
|
142
|
+
* // => true
|
|
143
|
+
*
|
|
144
|
+
* _.isObject([1, 2, 3]);
|
|
145
|
+
* // => true
|
|
146
|
+
*
|
|
147
|
+
* _.isObject(_.noop);
|
|
148
|
+
* // => true
|
|
149
|
+
*
|
|
150
|
+
* _.isObject(null);
|
|
151
|
+
* // => false
|
|
152
|
+
*/
|
|
153
|
+
function isObject(value) {
|
|
154
|
+
var type = typeof value;
|
|
155
|
+
return value != null && (type == 'object' || type == 'function');
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export { Symbol as S, isObject as a, baseGetTag as b, freeGlobal as f, isObjectLike as i, root as r };
|
|
@@ -156,7 +156,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
156
156
|
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
157
157
|
}>, {
|
|
158
158
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
159
|
-
formItemSize: "
|
|
159
|
+
formItemSize: "default" | "small" | "large";
|
|
160
160
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
161
161
|
inline: boolean;
|
|
162
162
|
readonly: boolean;
|
|
@@ -168,8 +168,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
168
168
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
169
169
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
170
170
|
modelValue: string;
|
|
171
|
-
defaultOptions: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
172
171
|
height: string;
|
|
172
|
+
defaultOptions: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
173
173
|
readOnly: boolean;
|
|
174
174
|
}, {}, {
|
|
175
175
|
VkMonacoEditor: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -83,13 +83,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
83
83
|
}>, {
|
|
84
84
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
85
85
|
coreBindProps: import("vue").ComputedRef<{
|
|
86
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
87
|
-
name: string;
|
|
86
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
88
87
|
fill: string;
|
|
89
88
|
id: string;
|
|
89
|
+
ariaLabel: string;
|
|
90
|
+
name: string;
|
|
90
91
|
modelValue: string | number;
|
|
91
92
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
92
|
-
ariaLabel: string;
|
|
93
93
|
textColor: string;
|
|
94
94
|
}>;
|
|
95
95
|
coreOnEmits: {};
|
|
@@ -184,12 +184,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
184
184
|
"onUpdate:modelValue"?: (val: string | number | boolean) => any;
|
|
185
185
|
onChange?: (val: string | number | boolean) => any;
|
|
186
186
|
}>, {
|
|
187
|
-
disabled: boolean;
|
|
188
187
|
type: "default" | "button";
|
|
189
188
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
190
|
-
name: string;
|
|
191
189
|
fill: string;
|
|
192
|
-
formItemSize: "
|
|
190
|
+
formItemSize: "default" | "small" | "large";
|
|
193
191
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
194
192
|
inline: boolean;
|
|
195
193
|
readonly: boolean;
|
|
@@ -200,8 +198,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
200
198
|
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "top" | "left" | "right", unknown>;
|
|
201
199
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
202
200
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
203
|
-
|
|
201
|
+
disabled: boolean;
|
|
204
202
|
id: string;
|
|
203
|
+
name: string;
|
|
204
|
+
options: RadioProps[];
|
|
205
205
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
206
206
|
textColor: string;
|
|
207
207
|
defaultModelValue: any;
|
|
@@ -26,7 +26,7 @@ export declare const props: {
|
|
|
26
26
|
name: StringConstructor;
|
|
27
27
|
id: StringConstructor;
|
|
28
28
|
modelValue: {
|
|
29
|
-
type: (BooleanConstructor |
|
|
29
|
+
type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
30
30
|
default: any;
|
|
31
31
|
};
|
|
32
32
|
autocomplete: {
|
|
@@ -158,7 +158,7 @@ export declare const props: {
|
|
|
158
158
|
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
159
159
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
160
160
|
};
|
|
161
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"
|
|
161
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | 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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", 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<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"stringify", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"selectSlots", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "id" | "persistent" | "teleported" | "effect" | "popperClass" | "name" | "modelValue" | "clearable" | "multiple" | "stringify" | "placeholder" | "filterMethod" | "loading" | "options" | "filterable" | "collapseTags" | "collapseTagsTooltip" | "tagType" | "optionsUrl" | "defaultModelValue" | "clearIcon" | "autocomplete" | "suffixIcon" | "automaticDropdown" | "allowCreate" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "fitInputWidth" | "selectSlots", keyof T2>, KE> : Extract<"size" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "id" | "persistent" | "teleported" | "effect" | "popperClass" | "name" | "modelValue" | "clearable" | "multiple" | "stringify" | "placeholder" | "filterMethod" | "loading" | "options" | "filterable" | "collapseTags" | "collapseTagsTooltip" | "tagType" | "optionsUrl" | "defaultModelValue" | "clearIcon" | "autocomplete" | "suffixIcon" | "automaticDropdown" | "allowCreate" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "fitInputWidth" | "selectSlots", keyof T2>]: { [k in Extract<"size" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "id" | "persistent" | "teleported" | "effect" | "popperClass" | "name" | "modelValue" | "clearable" | "multiple" | "stringify" | "placeholder" | "filterMethod" | "loading" | "options" | "filterable" | "collapseTags" | "collapseTagsTooltip" | "tagType" | "optionsUrl" | "defaultModelValue" | "clearIcon" | "autocomplete" | "suffixIcon" | "automaticDropdown" | "allowCreate" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "fitInputWidth" | "selectSlots", keyof T2>]: T2[k]; }[P]; }>;
|
|
162
162
|
export declare const emits: {
|
|
163
163
|
'update:modelValue': any;
|
|
164
164
|
change: any;
|
|
@@ -168,4 +168,4 @@ export declare const emits: {
|
|
|
168
168
|
focus: any;
|
|
169
169
|
blur: any;
|
|
170
170
|
};
|
|
171
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "
|
|
171
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "focus" | "update:modelValue" | "change" | "blur" | "visible-change" | "remove-tag")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "focus" | "update:modelValue" | "change" | "blur" | "visible-change" | "remove-tag", KE> : "clear" | "focus" | "update:modelValue" | "change" | "blur" | "visible-change" | "remove-tag"]: { [k in "clear" | "focus" | "update:modelValue" | "change" | "blur" | "visible-change" | "remove-tag"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
name: StringConstructor;
|
|
21
21
|
id: StringConstructor;
|
|
22
22
|
modelValue: {
|
|
23
|
-
type: (BooleanConstructor |
|
|
23
|
+
type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
24
24
|
default: any;
|
|
25
25
|
};
|
|
26
26
|
autocomplete: {
|
|
@@ -154,25 +154,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
154
154
|
}>, {
|
|
155
155
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
156
156
|
selectBindProps: import("vue").ComputedRef<{
|
|
157
|
-
size: "" | "
|
|
158
|
-
loading: boolean;
|
|
159
|
-
name: string;
|
|
157
|
+
size: "" | "default" | "small" | "large";
|
|
160
158
|
id: string;
|
|
159
|
+
persistent: boolean;
|
|
160
|
+
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
161
|
+
effect: string;
|
|
162
|
+
popperClass: string;
|
|
163
|
+
name: string;
|
|
164
|
+
clearable: boolean;
|
|
161
165
|
multiple: boolean;
|
|
162
166
|
placeholder: string;
|
|
163
|
-
clearable: boolean;
|
|
164
|
-
filterable: boolean;
|
|
165
167
|
filterMethod: Function;
|
|
168
|
+
loading: boolean;
|
|
169
|
+
filterable: boolean;
|
|
166
170
|
collapseTags: boolean;
|
|
167
171
|
collapseTagsTooltip: boolean;
|
|
168
|
-
popperClass: string;
|
|
169
|
-
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
170
172
|
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
171
|
-
persistent: boolean;
|
|
172
173
|
clearIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
173
174
|
autocomplete: string;
|
|
174
175
|
suffixIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
175
|
-
effect: string;
|
|
176
176
|
automaticDropdown: boolean;
|
|
177
177
|
allowCreate: boolean;
|
|
178
178
|
remote: boolean;
|
|
@@ -188,8 +188,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
188
188
|
}>;
|
|
189
189
|
selectOnEmits: {
|
|
190
190
|
clear: (...e: any[]) => void;
|
|
191
|
-
change: (...e: any[]) => void;
|
|
192
191
|
focus: (...e: any[]) => void;
|
|
192
|
+
change: (...e: any[]) => void;
|
|
193
193
|
blur: (...e: any[]) => void;
|
|
194
194
|
"visible-change": (...e: any[]) => void;
|
|
195
195
|
"remove-tag": (...e: any[]) => void;
|
|
@@ -284,7 +284,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
284
284
|
name: StringConstructor;
|
|
285
285
|
id: StringConstructor;
|
|
286
286
|
modelValue: {
|
|
287
|
-
type: (BooleanConstructor |
|
|
287
|
+
type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
288
288
|
default: any;
|
|
289
289
|
};
|
|
290
290
|
autocomplete: {
|
|
@@ -417,17 +417,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
417
417
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
418
418
|
}>> & Readonly<{
|
|
419
419
|
onClear?: (...args: any[] | unknown[]) => any;
|
|
420
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
420
421
|
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
421
422
|
onChange?: (...args: any[] | unknown[]) => any;
|
|
422
|
-
onFocus?: (...args: any[] | unknown[]) => any;
|
|
423
423
|
onBlur?: (...args: any[] | unknown[]) => any;
|
|
424
424
|
"onVisible-change"?: (...args: any[] | unknown[]) => any;
|
|
425
425
|
"onRemove-tag"?: (...args: any[] | unknown[]) => any;
|
|
426
426
|
}>, {
|
|
427
|
-
disabled: boolean;
|
|
428
|
-
loading: boolean;
|
|
429
427
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
430
|
-
formItemSize: "
|
|
428
|
+
formItemSize: "default" | "small" | "large";
|
|
431
429
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
432
430
|
inline: boolean;
|
|
433
431
|
readonly: boolean;
|
|
@@ -438,6 +436,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
438
436
|
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "top" | "left" | "right", unknown>;
|
|
439
437
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
440
438
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
439
|
+
disabled: boolean;
|
|
440
|
+
persistent: boolean;
|
|
441
|
+
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
442
|
+
effect: string;
|
|
443
|
+
popperClass: string;
|
|
444
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
445
|
+
clearable: boolean;
|
|
446
|
+
multiple: boolean;
|
|
447
|
+
stringify: boolean;
|
|
448
|
+
loading: boolean;
|
|
441
449
|
options: import("@vunk/core").VueComponentPropsType<import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
442
450
|
value: {
|
|
443
451
|
required: true;
|
|
@@ -494,22 +502,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
494
502
|
disabled: boolean;
|
|
495
503
|
created: boolean;
|
|
496
504
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>>[];
|
|
497
|
-
multiple: boolean;
|
|
498
|
-
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
499
|
-
clearable: boolean;
|
|
500
505
|
filterable: boolean;
|
|
501
506
|
collapseTags: boolean;
|
|
502
507
|
collapseTagsTooltip: boolean;
|
|
503
|
-
popperClass: string;
|
|
504
|
-
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
505
508
|
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
506
|
-
persistent: boolean;
|
|
507
509
|
optionsUrl: string;
|
|
508
510
|
defaultModelValue: any;
|
|
509
511
|
clearIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
510
512
|
autocomplete: string;
|
|
511
513
|
suffixIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
512
|
-
effect: string;
|
|
513
514
|
automaticDropdown: boolean;
|
|
514
515
|
allowCreate: boolean;
|
|
515
516
|
remote: boolean;
|
|
@@ -519,7 +520,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
519
520
|
valueKey: string;
|
|
520
521
|
fitInputWidth: boolean;
|
|
521
522
|
selectSlots: import("./types").SelectSlots;
|
|
522
|
-
stringify: boolean;
|
|
523
523
|
}, {}, {
|
|
524
524
|
VkfFormItem: {
|
|
525
525
|
new (...args: any[]): any;
|
|
@@ -129,20 +129,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
129
|
readonly: import("vue").ComputedRef<boolean>;
|
|
130
130
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
131
131
|
coreProps: import("vue").ComputedRef<{
|
|
132
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
132
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
133
|
+
id: string;
|
|
134
|
+
ariaLabel: string;
|
|
135
|
+
placement: import("element-plus/es/utils").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown>;
|
|
136
|
+
height: string;
|
|
133
137
|
min: number;
|
|
134
138
|
max: number;
|
|
135
139
|
vertical: boolean;
|
|
136
|
-
placement: import("element-plus/es/utils").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown>;
|
|
137
|
-
id: string;
|
|
138
140
|
debounce: number;
|
|
139
141
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
140
|
-
ariaLabel: string;
|
|
141
|
-
height: string;
|
|
142
142
|
step: number;
|
|
143
143
|
showInput: boolean;
|
|
144
144
|
showInputControls: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
145
|
-
inputSize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
145
|
+
inputSize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
146
146
|
showStops: boolean;
|
|
147
147
|
showTooltip: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
148
148
|
formatTooltip: (val: number) => number | string;
|
|
@@ -304,9 +304,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
304
304
|
onChange?: (value: import("element-plus/es/utils").Arrayable<number>) => any;
|
|
305
305
|
onInput?: (value: import("element-plus/es/utils").Arrayable<number>) => any;
|
|
306
306
|
}>, {
|
|
307
|
-
disabled: boolean;
|
|
308
307
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
309
|
-
formItemSize: "
|
|
308
|
+
formItemSize: "default" | "small" | "large";
|
|
310
309
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
311
310
|
inline: boolean;
|
|
312
311
|
readonly: boolean;
|
|
@@ -317,12 +316,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
317
316
|
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "top" | "left" | "right", unknown>;
|
|
318
317
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
319
318
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
319
|
+
disabled: boolean;
|
|
320
|
+
id: string;
|
|
321
|
+
placement: import("element-plus/es/utils").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown>;
|
|
322
|
+
modelValue: any;
|
|
320
323
|
min: number;
|
|
321
324
|
max: number;
|
|
322
325
|
vertical: boolean;
|
|
323
|
-
placement: import("element-plus/es/utils").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown>;
|
|
324
|
-
id: string;
|
|
325
|
-
modelValue: any;
|
|
326
326
|
debounce: number;
|
|
327
327
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
328
328
|
defaultModelValue: any;
|