@vunk/form 2.2.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/components/api-tables-select/index.cjs +468 -0
  2. package/components/api-tables-select/index.d.ts +4 -0
  3. package/components/api-tables-select/index.mjs +462 -0
  4. package/components/api-tables-select/src/ctx.d.ts +340 -0
  5. package/components/api-tables-select/src/index.vue.d.ts +844 -0
  6. package/components/api-tables-select/src/types.d.ts +13 -0
  7. package/components/button/src/index.vue.d.ts +16 -16
  8. package/components/card-input-collection/index.cjs +1 -0
  9. package/components/card-input-collection/index.mjs +1 -0
  10. package/components/card-input-collection/src/index.vue.d.ts +3 -3
  11. package/components/card-input-collection/src/types.d.ts +1 -1
  12. package/components/cascader/src/ctx.d.ts +2 -2
  13. package/components/cascader/src/index.vue.d.ts +22 -22
  14. package/components/checkbox/src/ctx.d.ts +1 -1
  15. package/components/checkbox/src/index.vue.d.ts +8 -8
  16. package/components/cloneDeep.cjs +25 -180
  17. package/components/cloneDeep.mjs +1 -156
  18. package/components/color-picker/src/index.vue.d.ts +4 -4
  19. package/components/date-picker/src/ctx.d.ts +2 -2
  20. package/components/date-picker/src/index.vue.d.ts +18 -18
  21. package/components/date-picker-range/src/ctx.d.ts +21 -21
  22. package/components/date-picker-range/src/index.vue.d.ts +50 -50
  23. package/components/download-plus/src/index.vue.d.ts +1 -1
  24. package/components/esri-input-geojson/src/append.vue.d.ts +1 -1
  25. package/components/esri-input-geojson/src/ctx.d.ts +2 -2
  26. package/components/esri-input-geojson/src/index.vue.d.ts +18 -18
  27. package/components/form/index.cjs +3 -3
  28. package/components/form/index.mjs +3 -3
  29. package/components/form/src/ctx.d.ts +2 -2
  30. package/components/form/src/index.vue.d.ts +11 -11
  31. package/components/form-item/src/index.vue.d.ts +2 -2
  32. package/components/input/src/ctx.d.ts +2 -2
  33. package/components/input/src/index.vue.d.ts +13 -13
  34. package/components/input-collection/index.cjs +1 -0
  35. package/components/input-collection/index.mjs +1 -0
  36. package/components/input-collection/src/index.vue.d.ts +4 -4
  37. package/components/input-link/src/index.vue.d.ts +6 -6
  38. package/components/input-number/src/ctx.d.ts +2 -2
  39. package/components/input-number/src/index.vue.d.ts +9 -9
  40. package/components/isObject.cjs +165 -0
  41. package/components/isObject.mjs +158 -0
  42. package/components/monaco-editor/src/index.vue.d.ts +2 -2
  43. package/components/radio/src/index.vue.d.ts +7 -7
  44. package/components/select/src/ctx.d.ts +3 -3
  45. package/components/select/src/index.vue.d.ts +24 -24
  46. package/components/slider/src/index.vue.d.ts +11 -11
  47. package/components/switch/src/index.vue.d.ts +10 -10
  48. package/components/tables-select/index.cjs +37 -7
  49. package/components/tables-select/index.d.ts +1 -0
  50. package/components/tables-select/index.mjs +38 -9
  51. package/components/tables-select/src/ctx.d.ts +18 -5
  52. package/components/tables-select/src/index.vue.d.ts +124 -112
  53. package/components/tables-select/src/types.d.ts +2 -1
  54. package/components/upload/src/ctx.d.ts +1 -1
  55. package/components/upload/src/index.vue.d.ts +4 -4
  56. package/components/upload-plus/src/index.vue.d.ts +1 -1
  57. package/components/van-cascader/src/index.vue.d.ts +14 -14
  58. package/components/var-datetime-picker/src/index.vue.d.ts +2 -2
  59. package/components/vditor/src/index.vue.d.ts +2 -2
  60. package/package.json +6 -1
@@ -1,131 +1,6 @@
1
1
  'use strict';
2
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$b = Object.prototype;
17
-
18
- /** Used to check objects for own properties. */
19
- var hasOwnProperty$8 = objectProto$b.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$b.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$8.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$a = 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$a.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
- }
3
+ var isObject = require('./isObject.cjs');
129
4
 
130
5
  /**
131
6
  * Checks if `value` is classified as an `Array` object.
@@ -152,36 +27,6 @@ function isObjectLike(value) {
152
27
  */
153
28
  var isArray = Array.isArray;
154
29
 
155
- /**
156
- * Checks if `value` is the
157
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
158
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
159
- *
160
- * @static
161
- * @memberOf _
162
- * @since 0.1.0
163
- * @category Lang
164
- * @param {*} value The value to check.
165
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
166
- * @example
167
- *
168
- * _.isObject({});
169
- * // => true
170
- *
171
- * _.isObject([1, 2, 3]);
172
- * // => true
173
- *
174
- * _.isObject(_.noop);
175
- * // => true
176
- *
177
- * _.isObject(null);
178
- * // => false
179
- */
180
- function isObject(value) {
181
- var type = typeof value;
182
- return value != null && (type == 'object' || type == 'function');
183
- }
184
-
185
30
  /** `Object#toString` result references. */
186
31
  var asyncTag = '[object AsyncFunction]',
187
32
  funcTag$2 = '[object Function]',
@@ -206,17 +51,17 @@ var asyncTag = '[object AsyncFunction]',
206
51
  * // => false
207
52
  */
208
53
  function isFunction(value) {
209
- if (!isObject(value)) {
54
+ if (!isObject.isObject(value)) {
210
55
  return false;
211
56
  }
212
57
  // The use of `Object#toString` avoids issues with the `typeof` operator
213
58
  // in Safari 9 which returns 'object' for typed arrays and other constructors.
214
- var tag = baseGetTag(value);
59
+ var tag = isObject.baseGetTag(value);
215
60
  return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
216
61
  }
217
62
 
218
63
  /** Used to detect overreaching core-js shims. */
219
- var coreJsData = root['__core-js_shared__'];
64
+ var coreJsData = isObject.root['__core-js_shared__'];
220
65
 
221
66
  /** Used to detect methods masquerading as native. */
222
67
  var maskSrcKey = (function() {
@@ -294,7 +139,7 @@ var reIsNative = RegExp('^' +
294
139
  * else `false`.
295
140
  */
296
141
  function baseIsNative(value) {
297
- if (!isObject(value) || isMasked(value)) {
142
+ if (!isObject.isObject(value) || isMasked(value)) {
298
143
  return false;
299
144
  }
300
145
  var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
@@ -327,7 +172,7 @@ function getNative(object, key) {
327
172
  }
328
173
 
329
174
  /* Built-in method references that are verified to be native. */
330
- var WeakMap = getNative(root, 'WeakMap');
175
+ var WeakMap = getNative(isObject.root, 'WeakMap');
331
176
 
332
177
  /** Built-in value references. */
333
178
  var objectCreate = Object.create;
@@ -343,7 +188,7 @@ var objectCreate = Object.create;
343
188
  var baseCreate = (function() {
344
189
  function object() {}
345
190
  return function(proto) {
346
- if (!isObject(proto)) {
191
+ if (!isObject.isObject(proto)) {
347
192
  return {};
348
193
  }
349
194
  if (objectCreate) {
@@ -601,7 +446,7 @@ var argsTag$2 = '[object Arguments]';
601
446
  * @returns {boolean} Returns `true` if `value` is an `arguments` object,
602
447
  */
603
448
  function baseIsArguments(value) {
604
- return isObjectLike(value) && baseGetTag(value) == argsTag$2;
449
+ return isObject.isObjectLike(value) && isObject.baseGetTag(value) == argsTag$2;
605
450
  }
606
451
 
607
452
  /** Used for built-in method references. */
@@ -632,7 +477,7 @@ var propertyIsEnumerable$1 = objectProto$6.propertyIsEnumerable;
632
477
  * // => false
633
478
  */
634
479
  var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
635
- return isObjectLike(value) && hasOwnProperty$5.call(value, 'callee') &&
480
+ return isObject.isObjectLike(value) && hasOwnProperty$5.call(value, 'callee') &&
636
481
  !propertyIsEnumerable$1.call(value, 'callee');
637
482
  };
638
483
 
@@ -663,7 +508,7 @@ var freeModule$2 = freeExports$2 && typeof module == 'object' && module && !modu
663
508
  var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
664
509
 
665
510
  /** Built-in value references. */
666
- var Buffer$1 = moduleExports$2 ? root.Buffer : undefined;
511
+ var Buffer$1 = moduleExports$2 ? isObject.root.Buffer : undefined;
667
512
 
668
513
  /* Built-in method references for those with the same name as other `lodash` methods. */
669
514
  var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : undefined;
@@ -738,8 +583,8 @@ typedArrayTags[weakMapTag$2] = false;
738
583
  * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
739
584
  */
740
585
  function baseIsTypedArray(value) {
741
- return isObjectLike(value) &&
742
- isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
586
+ return isObject.isObjectLike(value) &&
587
+ isLength(value.length) && !!typedArrayTags[isObject.baseGetTag(value)];
743
588
  }
744
589
 
745
590
  /**
@@ -765,7 +610,7 @@ var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !modu
765
610
  var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
766
611
 
767
612
  /** Detect free variable `process` from Node.js. */
768
- var freeProcess = moduleExports$1 && freeGlobal.process;
613
+ var freeProcess = moduleExports$1 && isObject.freeGlobal.process;
769
614
 
770
615
  /** Used to access faster Node.js helpers. */
771
616
  var nodeUtil = (function() {
@@ -1183,7 +1028,7 @@ ListCache.prototype.has = listCacheHas;
1183
1028
  ListCache.prototype.set = listCacheSet;
1184
1029
 
1185
1030
  /* Built-in method references that are verified to be native. */
1186
- var Map = getNative(root, 'Map');
1031
+ var Map = getNative(isObject.root, 'Map');
1187
1032
 
1188
1033
  /**
1189
1034
  * Removes all key-value entries from the map.
@@ -1450,7 +1295,7 @@ var freeModule = freeExports && typeof module == 'object' && module && !module.n
1450
1295
  var moduleExports = freeModule && freeModule.exports === freeExports;
1451
1296
 
1452
1297
  /** Built-in value references. */
1453
- var Buffer = moduleExports ? root.Buffer : undefined;
1298
+ var Buffer = moduleExports ? isObject.root.Buffer : undefined;
1454
1299
  Buffer ? Buffer.allocUnsafe : undefined;
1455
1300
 
1456
1301
  /**
@@ -1567,13 +1412,13 @@ function getAllKeys(object) {
1567
1412
  }
1568
1413
 
1569
1414
  /* Built-in method references that are verified to be native. */
1570
- var DataView = getNative(root, 'DataView');
1415
+ var DataView = getNative(isObject.root, 'DataView');
1571
1416
 
1572
1417
  /* Built-in method references that are verified to be native. */
1573
- var Promise$1 = getNative(root, 'Promise');
1418
+ var Promise$1 = getNative(isObject.root, 'Promise');
1574
1419
 
1575
1420
  /* Built-in method references that are verified to be native. */
1576
- var Set = getNative(root, 'Set');
1421
+ var Set = getNative(isObject.root, 'Set');
1577
1422
 
1578
1423
  /** `Object#toString` result references. */
1579
1424
  var mapTag$3 = '[object Map]',
@@ -1598,7 +1443,7 @@ var dataViewCtorString = toSource(DataView),
1598
1443
  * @param {*} value The value to query.
1599
1444
  * @returns {string} Returns the `toStringTag`.
1600
1445
  */
1601
- var getTag = baseGetTag;
1446
+ var getTag = isObject.baseGetTag;
1602
1447
 
1603
1448
  // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
1604
1449
  if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2) ||
@@ -1607,7 +1452,7 @@ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2) ||
1607
1452
  (Set && getTag(new Set) != setTag$3) ||
1608
1453
  (WeakMap && getTag(new WeakMap) != weakMapTag$1)) {
1609
1454
  getTag = function(value) {
1610
- var result = baseGetTag(value),
1455
+ var result = isObject.baseGetTag(value),
1611
1456
  Ctor = result == objectTag$1 ? value.constructor : undefined,
1612
1457
  ctorString = Ctor ? toSource(Ctor) : '';
1613
1458
 
@@ -1652,7 +1497,7 @@ function initCloneArray(array) {
1652
1497
  }
1653
1498
 
1654
1499
  /** Built-in value references. */
1655
- var Uint8Array = root.Uint8Array;
1500
+ var Uint8Array = isObject.root.Uint8Array;
1656
1501
 
1657
1502
  /**
1658
1503
  * Creates a clone of `arrayBuffer`.
@@ -1697,7 +1542,7 @@ function cloneRegExp(regexp) {
1697
1542
  }
1698
1543
 
1699
1544
  /** Used to convert symbols to primitives and strings. */
1700
- var symbolProto = Symbol ? Symbol.prototype : undefined,
1545
+ var symbolProto = isObject.Symbol ? isObject.Symbol.prototype : undefined,
1701
1546
  symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
1702
1547
 
1703
1548
  /**
@@ -1818,7 +1663,7 @@ var mapTag$1 = '[object Map]';
1818
1663
  * @returns {boolean} Returns `true` if `value` is a map, else `false`.
1819
1664
  */
1820
1665
  function baseIsMap(value) {
1821
- return isObjectLike(value) && getTag$1(value) == mapTag$1;
1666
+ return isObject.isObjectLike(value) && getTag$1(value) == mapTag$1;
1822
1667
  }
1823
1668
 
1824
1669
  /* Node.js helper references. */
@@ -1854,7 +1699,7 @@ var setTag$1 = '[object Set]';
1854
1699
  * @returns {boolean} Returns `true` if `value` is a set, else `false`.
1855
1700
  */
1856
1701
  function baseIsSet(value) {
1857
- return isObjectLike(value) && getTag$1(value) == setTag$1;
1702
+ return isObject.isObjectLike(value) && getTag$1(value) == setTag$1;
1858
1703
  }
1859
1704
 
1860
1705
  /* Node.js helper references. */
@@ -1945,7 +1790,7 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
1945
1790
  if (result !== undefined) {
1946
1791
  return result;
1947
1792
  }
1948
- if (!isObject(value)) {
1793
+ if (!isObject.isObject(value)) {
1949
1794
  return value;
1950
1795
  }
1951
1796
  var isArr = isArray(value);
@@ -1,129 +1,4 @@
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$b = Object.prototype;
15
-
16
- /** Used to check objects for own properties. */
17
- var hasOwnProperty$8 = objectProto$b.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$b.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$8.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$a = 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$a.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
- }
1
+ import { a as isObject, b as baseGetTag, r as root, i as isObjectLike, f as freeGlobal, S as Symbol } from './isObject.mjs';
127
2
 
128
3
  /**
129
4
  * Checks if `value` is classified as an `Array` object.
@@ -150,36 +25,6 @@ function isObjectLike(value) {
150
25
  */
151
26
  var isArray = Array.isArray;
152
27
 
153
- /**
154
- * Checks if `value` is the
155
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
156
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
157
- *
158
- * @static
159
- * @memberOf _
160
- * @since 0.1.0
161
- * @category Lang
162
- * @param {*} value The value to check.
163
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
164
- * @example
165
- *
166
- * _.isObject({});
167
- * // => true
168
- *
169
- * _.isObject([1, 2, 3]);
170
- * // => true
171
- *
172
- * _.isObject(_.noop);
173
- * // => true
174
- *
175
- * _.isObject(null);
176
- * // => false
177
- */
178
- function isObject(value) {
179
- var type = typeof value;
180
- return value != null && (type == 'object' || type == 'function');
181
- }
182
-
183
28
  /** `Object#toString` result references. */
184
29
  var asyncTag = '[object AsyncFunction]',
185
30
  funcTag$2 = '[object Function]',
@@ -165,15 +165,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
165
165
  inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
166
166
  showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
167
167
  }>> & Readonly<{
168
+ onFocus?: (evt: FocusEvent) => any;
168
169
  "onUpdate:modelValue"?: (val: string) => any;
169
170
  onChange?: (val: string) => any;
170
- onFocus?: (evt: FocusEvent) => any;
171
171
  onBlur?: (evt: FocusEvent) => any;
172
172
  onActiveChange?: (val: string) => any;
173
173
  }>, {
174
- disabled: boolean;
175
174
  required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
176
- formItemSize: "small" | "default" | "large";
175
+ formItemSize: "default" | "small" | "large";
177
176
  formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
178
177
  inline: boolean;
179
178
  readonly: boolean;
@@ -184,8 +183,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
184
183
  labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "top" | "left" | "right", unknown>;
185
184
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
186
185
  showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
187
- popperClass: string;
186
+ disabled: boolean;
188
187
  teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
188
+ popperClass: string;
189
189
  validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
190
190
  tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
191
191
  showAlpha: boolean;
@@ -158,7 +158,7 @@ export declare const props: {
158
158
  };
159
159
  isRange: BooleanConstructor;
160
160
  };
161
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"name", 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<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"showNow", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"editable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "type" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "placement" | "id" | "modelValue" | "emptyValues" | "valueOnClear" | "placeholder" | "clearable" | "fallbackPlacements" | "popperClass" | "validateEvent" | "tabindex" | "ariaLabel" | "showNow" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "clearIcon" | "editable" | "prefixIcon" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange" | "datePickerSlots", keyof T2>, KE> : Extract<"size" | "disabled" | "type" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "placement" | "id" | "modelValue" | "emptyValues" | "valueOnClear" | "placeholder" | "clearable" | "fallbackPlacements" | "popperClass" | "validateEvent" | "tabindex" | "ariaLabel" | "showNow" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "clearIcon" | "editable" | "prefixIcon" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange" | "datePickerSlots", keyof T2>]: { [k in Extract<"size" | "disabled" | "type" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "placement" | "id" | "modelValue" | "emptyValues" | "valueOnClear" | "placeholder" | "clearable" | "fallbackPlacements" | "popperClass" | "validateEvent" | "tabindex" | "ariaLabel" | "showNow" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "clearIcon" | "editable" | "prefixIcon" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange" | "datePickerSlots", keyof T2>]: T2[k]; }[P]; }>;
161
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"type", 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<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"showNow", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"editable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "type" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "id" | "ariaLabel" | "popperClass" | "fallbackPlacements" | "placement" | "popperOptions" | "name" | "modelValue" | "clearable" | "placeholder" | "cellClassName" | "emptyValues" | "valueOnClear" | "validateEvent" | "tabindex" | "showNow" | "disabledDate" | "shortcuts" | "arrowControl" | "unlinkPanels" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "clearIcon" | "editable" | "prefixIcon" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange" | "datePickerSlots", keyof T2>, KE> : Extract<"size" | "type" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "id" | "ariaLabel" | "popperClass" | "fallbackPlacements" | "placement" | "popperOptions" | "name" | "modelValue" | "clearable" | "placeholder" | "cellClassName" | "emptyValues" | "valueOnClear" | "validateEvent" | "tabindex" | "showNow" | "disabledDate" | "shortcuts" | "arrowControl" | "unlinkPanels" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "clearIcon" | "editable" | "prefixIcon" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange" | "datePickerSlots", keyof T2>]: { [k in Extract<"size" | "type" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "formItemTip" | "formItemTipClass" | "labelTip" | "label" | "labelWidth" | "labelPosition" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "disabled" | "id" | "ariaLabel" | "popperClass" | "fallbackPlacements" | "placement" | "popperOptions" | "name" | "modelValue" | "clearable" | "placeholder" | "cellClassName" | "emptyValues" | "valueOnClear" | "validateEvent" | "tabindex" | "showNow" | "disabledDate" | "shortcuts" | "arrowControl" | "unlinkPanels" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "clearIcon" | "editable" | "prefixIcon" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange" | "datePickerSlots", keyof T2>]: T2[k]; }[P]; }>;
162
162
  export declare const emits: {
163
163
  'update:modelValue': any;
164
164
  change: any;
@@ -169,4 +169,4 @@ export declare const emits: {
169
169
  'visible-change': any;
170
170
  keydown: any;
171
171
  };
172
- export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown", KE> : "update:modelValue" | "change" | "focus" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown"]: { [k in "update:modelValue" | "change" | "focus" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
172
+ export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("focus" | "update:modelValue" | "change" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"focus" | "update:modelValue" | "change" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown", KE> : "focus" | "update:modelValue" | "change" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown"]: { [k in "focus" | "update:modelValue" | "change" | "blur" | "calendar-change" | "panel-change" | "visible-change" | "keydown"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };