@vunk/form 2.1.0 → 2.2.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 (36) hide show
  1. package/components/card-input-collection/index.cjs +256 -0
  2. package/components/card-input-collection/index.css +21 -0
  3. package/components/card-input-collection/index.d.ts +4 -0
  4. package/components/card-input-collection/index.mjs +250 -0
  5. package/components/card-input-collection/src/ctx.d.ts +82 -0
  6. package/components/card-input-collection/src/index.vue.d.ts +542 -0
  7. package/components/card-input-collection/src/types.d.ts +1 -0
  8. package/components/cascader/src/ctx.d.ts +1 -1
  9. package/components/cascader/src/index.vue.d.ts +1 -1
  10. package/components/checkbox/src/ctx.d.ts +1 -1
  11. package/components/checkbox/src/index.vue.d.ts +2 -2
  12. package/components/cloneDeep.cjs +2029 -0
  13. package/components/cloneDeep.mjs +2027 -0
  14. package/components/date-picker/src/ctx.d.ts +1 -1
  15. package/components/date-picker/src/index.vue.d.ts +2 -2
  16. package/components/esri-input-geojson/src/ctx.d.ts +1 -1
  17. package/components/esri-input-geojson/src/index.vue.d.ts +1 -1
  18. package/components/form/src/ctx.d.ts +1 -1
  19. package/components/form/src/index.vue.d.ts +1 -1
  20. package/components/input/src/ctx.d.ts +1 -1
  21. package/components/input/src/index.vue.d.ts +2 -2
  22. package/components/input-collection/index.cjs +4 -2029
  23. package/components/input-collection/index.mjs +3 -2028
  24. package/components/input-collection/src/index.vue.d.ts +1 -1
  25. package/components/input-link/src/index.vue.d.ts +1 -1
  26. package/components/input-number/src/ctx.d.ts +1 -1
  27. package/components/input-number/src/index.vue.d.ts +1 -1
  28. package/components/radio/src/index.vue.d.ts +1 -1
  29. package/components/select/src/ctx.d.ts +1 -1
  30. package/components/select/src/index.vue.d.ts +1 -1
  31. package/components/slider/src/index.vue.d.ts +1 -1
  32. package/components/switch/src/index.vue.d.ts +1 -1
  33. package/components/tables-select/src/index.vue.d.ts +1 -1
  34. package/components/vditor/src/index.vue.d.ts +1 -1
  35. package/index.css +22 -0
  36. package/package.json +9 -1
@@ -13,6 +13,7 @@ var formItemRenderer = require('@vunk/form/components/form-item-renderer');
13
13
  var core = require('@vunk/core');
14
14
  var index = require('../index2.cjs');
15
15
  var rendererData = require('@vunk/form/components/renderer-data');
16
+ var cloneDeep = require('../cloneDeep.cjs');
16
17
  var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
17
18
 
18
19
  const props = {
@@ -48,2032 +49,6 @@ const emits = {
48
49
  "update:modelValue": null
49
50
  };
50
51
 
51
- /** Detect free variable `global` from Node.js. */
52
- var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
53
-
54
- /** Detect free variable `self`. */
55
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
56
-
57
- /** Used as a reference to the global object. */
58
- var root = freeGlobal || freeSelf || Function('return this')();
59
-
60
- /** Built-in value references. */
61
- var Symbol = root.Symbol;
62
-
63
- /** Used for built-in method references. */
64
- var objectProto$b = Object.prototype;
65
-
66
- /** Used to check objects for own properties. */
67
- var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
68
-
69
- /**
70
- * Used to resolve the
71
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
72
- * of values.
73
- */
74
- var nativeObjectToString$1 = objectProto$b.toString;
75
-
76
- /** Built-in value references. */
77
- var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
78
-
79
- /**
80
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
81
- *
82
- * @private
83
- * @param {*} value The value to query.
84
- * @returns {string} Returns the raw `toStringTag`.
85
- */
86
- function getRawTag(value) {
87
- var isOwn = hasOwnProperty$8.call(value, symToStringTag$1),
88
- tag = value[symToStringTag$1];
89
-
90
- try {
91
- value[symToStringTag$1] = undefined;
92
- var unmasked = true;
93
- } catch (e) {}
94
-
95
- var result = nativeObjectToString$1.call(value);
96
- if (unmasked) {
97
- if (isOwn) {
98
- value[symToStringTag$1] = tag;
99
- } else {
100
- delete value[symToStringTag$1];
101
- }
102
- }
103
- return result;
104
- }
105
-
106
- /** Used for built-in method references. */
107
- var objectProto$a = Object.prototype;
108
-
109
- /**
110
- * Used to resolve the
111
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
112
- * of values.
113
- */
114
- var nativeObjectToString = objectProto$a.toString;
115
-
116
- /**
117
- * Converts `value` to a string using `Object.prototype.toString`.
118
- *
119
- * @private
120
- * @param {*} value The value to convert.
121
- * @returns {string} Returns the converted string.
122
- */
123
- function objectToString(value) {
124
- return nativeObjectToString.call(value);
125
- }
126
-
127
- /** `Object#toString` result references. */
128
- var nullTag = '[object Null]',
129
- undefinedTag = '[object Undefined]';
130
-
131
- /** Built-in value references. */
132
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
133
-
134
- /**
135
- * The base implementation of `getTag` without fallbacks for buggy environments.
136
- *
137
- * @private
138
- * @param {*} value The value to query.
139
- * @returns {string} Returns the `toStringTag`.
140
- */
141
- function baseGetTag(value) {
142
- if (value == null) {
143
- return value === undefined ? undefinedTag : nullTag;
144
- }
145
- return (symToStringTag && symToStringTag in Object(value))
146
- ? getRawTag(value)
147
- : objectToString(value);
148
- }
149
-
150
- /**
151
- * Checks if `value` is object-like. A value is object-like if it's not `null`
152
- * and has a `typeof` result of "object".
153
- *
154
- * @static
155
- * @memberOf _
156
- * @since 4.0.0
157
- * @category Lang
158
- * @param {*} value The value to check.
159
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
160
- * @example
161
- *
162
- * _.isObjectLike({});
163
- * // => true
164
- *
165
- * _.isObjectLike([1, 2, 3]);
166
- * // => true
167
- *
168
- * _.isObjectLike(_.noop);
169
- * // => false
170
- *
171
- * _.isObjectLike(null);
172
- * // => false
173
- */
174
- function isObjectLike(value) {
175
- return value != null && typeof value == 'object';
176
- }
177
-
178
- /**
179
- * Checks if `value` is classified as an `Array` object.
180
- *
181
- * @static
182
- * @memberOf _
183
- * @since 0.1.0
184
- * @category Lang
185
- * @param {*} value The value to check.
186
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
187
- * @example
188
- *
189
- * _.isArray([1, 2, 3]);
190
- * // => true
191
- *
192
- * _.isArray(document.body.children);
193
- * // => false
194
- *
195
- * _.isArray('abc');
196
- * // => false
197
- *
198
- * _.isArray(_.noop);
199
- * // => false
200
- */
201
- var isArray = Array.isArray;
202
-
203
- /**
204
- * Checks if `value` is the
205
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
206
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
207
- *
208
- * @static
209
- * @memberOf _
210
- * @since 0.1.0
211
- * @category Lang
212
- * @param {*} value The value to check.
213
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
214
- * @example
215
- *
216
- * _.isObject({});
217
- * // => true
218
- *
219
- * _.isObject([1, 2, 3]);
220
- * // => true
221
- *
222
- * _.isObject(_.noop);
223
- * // => true
224
- *
225
- * _.isObject(null);
226
- * // => false
227
- */
228
- function isObject(value) {
229
- var type = typeof value;
230
- return value != null && (type == 'object' || type == 'function');
231
- }
232
-
233
- /** `Object#toString` result references. */
234
- var asyncTag = '[object AsyncFunction]',
235
- funcTag$2 = '[object Function]',
236
- genTag$1 = '[object GeneratorFunction]',
237
- proxyTag = '[object Proxy]';
238
-
239
- /**
240
- * Checks if `value` is classified as a `Function` object.
241
- *
242
- * @static
243
- * @memberOf _
244
- * @since 0.1.0
245
- * @category Lang
246
- * @param {*} value The value to check.
247
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
248
- * @example
249
- *
250
- * _.isFunction(_);
251
- * // => true
252
- *
253
- * _.isFunction(/abc/);
254
- * // => false
255
- */
256
- function isFunction(value) {
257
- if (!isObject(value)) {
258
- return false;
259
- }
260
- // The use of `Object#toString` avoids issues with the `typeof` operator
261
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
262
- var tag = baseGetTag(value);
263
- return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
264
- }
265
-
266
- /** Used to detect overreaching core-js shims. */
267
- var coreJsData = root['__core-js_shared__'];
268
-
269
- /** Used to detect methods masquerading as native. */
270
- var maskSrcKey = (function() {
271
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
272
- return uid ? ('Symbol(src)_1.' + uid) : '';
273
- }());
274
-
275
- /**
276
- * Checks if `func` has its source masked.
277
- *
278
- * @private
279
- * @param {Function} func The function to check.
280
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
281
- */
282
- function isMasked(func) {
283
- return !!maskSrcKey && (maskSrcKey in func);
284
- }
285
-
286
- /** Used for built-in method references. */
287
- var funcProto$1 = Function.prototype;
288
-
289
- /** Used to resolve the decompiled source of functions. */
290
- var funcToString$1 = funcProto$1.toString;
291
-
292
- /**
293
- * Converts `func` to its source code.
294
- *
295
- * @private
296
- * @param {Function} func The function to convert.
297
- * @returns {string} Returns the source code.
298
- */
299
- function toSource(func) {
300
- if (func != null) {
301
- try {
302
- return funcToString$1.call(func);
303
- } catch (e) {}
304
- try {
305
- return (func + '');
306
- } catch (e) {}
307
- }
308
- return '';
309
- }
310
-
311
- /**
312
- * Used to match `RegExp`
313
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
314
- */
315
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
316
-
317
- /** Used to detect host constructors (Safari). */
318
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
319
-
320
- /** Used for built-in method references. */
321
- var funcProto = Function.prototype,
322
- objectProto$9 = Object.prototype;
323
-
324
- /** Used to resolve the decompiled source of functions. */
325
- var funcToString = funcProto.toString;
326
-
327
- /** Used to check objects for own properties. */
328
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
329
-
330
- /** Used to detect if a method is native. */
331
- var reIsNative = RegExp('^' +
332
- funcToString.call(hasOwnProperty$7).replace(reRegExpChar, '\\$&')
333
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
334
- );
335
-
336
- /**
337
- * The base implementation of `_.isNative` without bad shim checks.
338
- *
339
- * @private
340
- * @param {*} value The value to check.
341
- * @returns {boolean} Returns `true` if `value` is a native function,
342
- * else `false`.
343
- */
344
- function baseIsNative(value) {
345
- if (!isObject(value) || isMasked(value)) {
346
- return false;
347
- }
348
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
349
- return pattern.test(toSource(value));
350
- }
351
-
352
- /**
353
- * Gets the value at `key` of `object`.
354
- *
355
- * @private
356
- * @param {Object} [object] The object to query.
357
- * @param {string} key The key of the property to get.
358
- * @returns {*} Returns the property value.
359
- */
360
- function getValue(object, key) {
361
- return object == null ? undefined : object[key];
362
- }
363
-
364
- /**
365
- * Gets the native function at `key` of `object`.
366
- *
367
- * @private
368
- * @param {Object} object The object to query.
369
- * @param {string} key The key of the method to get.
370
- * @returns {*} Returns the function if it's native, else `undefined`.
371
- */
372
- function getNative(object, key) {
373
- var value = getValue(object, key);
374
- return baseIsNative(value) ? value : undefined;
375
- }
376
-
377
- /* Built-in method references that are verified to be native. */
378
- var WeakMap = getNative(root, 'WeakMap');
379
-
380
- /** Built-in value references. */
381
- var objectCreate = Object.create;
382
-
383
- /**
384
- * The base implementation of `_.create` without support for assigning
385
- * properties to the created object.
386
- *
387
- * @private
388
- * @param {Object} proto The object to inherit from.
389
- * @returns {Object} Returns the new object.
390
- */
391
- var baseCreate = (function() {
392
- function object() {}
393
- return function(proto) {
394
- if (!isObject(proto)) {
395
- return {};
396
- }
397
- if (objectCreate) {
398
- return objectCreate(proto);
399
- }
400
- object.prototype = proto;
401
- var result = new object;
402
- object.prototype = undefined;
403
- return result;
404
- };
405
- }());
406
-
407
- var defineProperty = (function() {
408
- try {
409
- var func = getNative(Object, 'defineProperty');
410
- func({}, '', {});
411
- return func;
412
- } catch (e) {}
413
- }());
414
-
415
- /**
416
- * A specialized version of `_.forEach` for arrays without support for
417
- * iteratee shorthands.
418
- *
419
- * @private
420
- * @param {Array} [array] The array to iterate over.
421
- * @param {Function} iteratee The function invoked per iteration.
422
- * @returns {Array} Returns `array`.
423
- */
424
- function arrayEach(array, iteratee) {
425
- var index = -1,
426
- length = array == null ? 0 : array.length;
427
-
428
- while (++index < length) {
429
- if (iteratee(array[index], index, array) === false) {
430
- break;
431
- }
432
- }
433
- return array;
434
- }
435
-
436
- /** Used as references for various `Number` constants. */
437
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
438
-
439
- /** Used to detect unsigned integer values. */
440
- var reIsUint = /^(?:0|[1-9]\d*)$/;
441
-
442
- /**
443
- * Checks if `value` is a valid array-like index.
444
- *
445
- * @private
446
- * @param {*} value The value to check.
447
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
448
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
449
- */
450
- function isIndex(value, length) {
451
- var type = typeof value;
452
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
453
-
454
- return !!length &&
455
- (type == 'number' ||
456
- (type != 'symbol' && reIsUint.test(value))) &&
457
- (value > -1 && value % 1 == 0 && value < length);
458
- }
459
-
460
- /**
461
- * The base implementation of `assignValue` and `assignMergeValue` without
462
- * value checks.
463
- *
464
- * @private
465
- * @param {Object} object The object to modify.
466
- * @param {string} key The key of the property to assign.
467
- * @param {*} value The value to assign.
468
- */
469
- function baseAssignValue(object, key, value) {
470
- if (key == '__proto__' && defineProperty) {
471
- defineProperty(object, key, {
472
- 'configurable': true,
473
- 'enumerable': true,
474
- 'value': value,
475
- 'writable': true
476
- });
477
- } else {
478
- object[key] = value;
479
- }
480
- }
481
-
482
- /**
483
- * Performs a
484
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
485
- * comparison between two values to determine if they are equivalent.
486
- *
487
- * @static
488
- * @memberOf _
489
- * @since 4.0.0
490
- * @category Lang
491
- * @param {*} value The value to compare.
492
- * @param {*} other The other value to compare.
493
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
494
- * @example
495
- *
496
- * var object = { 'a': 1 };
497
- * var other = { 'a': 1 };
498
- *
499
- * _.eq(object, object);
500
- * // => true
501
- *
502
- * _.eq(object, other);
503
- * // => false
504
- *
505
- * _.eq('a', 'a');
506
- * // => true
507
- *
508
- * _.eq('a', Object('a'));
509
- * // => false
510
- *
511
- * _.eq(NaN, NaN);
512
- * // => true
513
- */
514
- function eq(value, other) {
515
- return value === other || (value !== value && other !== other);
516
- }
517
-
518
- /** Used for built-in method references. */
519
- var objectProto$8 = Object.prototype;
520
-
521
- /** Used to check objects for own properties. */
522
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
523
-
524
- /**
525
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
526
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
527
- * for equality comparisons.
528
- *
529
- * @private
530
- * @param {Object} object The object to modify.
531
- * @param {string} key The key of the property to assign.
532
- * @param {*} value The value to assign.
533
- */
534
- function assignValue(object, key, value) {
535
- var objValue = object[key];
536
- if (!(hasOwnProperty$6.call(object, key) && eq(objValue, value)) ||
537
- (value === undefined && !(key in object))) {
538
- baseAssignValue(object, key, value);
539
- }
540
- }
541
-
542
- /** Used as references for various `Number` constants. */
543
- var MAX_SAFE_INTEGER = 9007199254740991;
544
-
545
- /**
546
- * Checks if `value` is a valid array-like length.
547
- *
548
- * **Note:** This method is loosely based on
549
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
550
- *
551
- * @static
552
- * @memberOf _
553
- * @since 4.0.0
554
- * @category Lang
555
- * @param {*} value The value to check.
556
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
557
- * @example
558
- *
559
- * _.isLength(3);
560
- * // => true
561
- *
562
- * _.isLength(Number.MIN_VALUE);
563
- * // => false
564
- *
565
- * _.isLength(Infinity);
566
- * // => false
567
- *
568
- * _.isLength('3');
569
- * // => false
570
- */
571
- function isLength(value) {
572
- return typeof value == 'number' &&
573
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
574
- }
575
-
576
- /**
577
- * Checks if `value` is array-like. A value is considered array-like if it's
578
- * not a function and has a `value.length` that's an integer greater than or
579
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
580
- *
581
- * @static
582
- * @memberOf _
583
- * @since 4.0.0
584
- * @category Lang
585
- * @param {*} value The value to check.
586
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
587
- * @example
588
- *
589
- * _.isArrayLike([1, 2, 3]);
590
- * // => true
591
- *
592
- * _.isArrayLike(document.body.children);
593
- * // => true
594
- *
595
- * _.isArrayLike('abc');
596
- * // => true
597
- *
598
- * _.isArrayLike(_.noop);
599
- * // => false
600
- */
601
- function isArrayLike(value) {
602
- return value != null && isLength(value.length) && !isFunction(value);
603
- }
604
-
605
- /** Used for built-in method references. */
606
- var objectProto$7 = Object.prototype;
607
-
608
- /**
609
- * Checks if `value` is likely a prototype object.
610
- *
611
- * @private
612
- * @param {*} value The value to check.
613
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
614
- */
615
- function isPrototype(value) {
616
- var Ctor = value && value.constructor,
617
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$7;
618
-
619
- return value === proto;
620
- }
621
-
622
- /**
623
- * The base implementation of `_.times` without support for iteratee shorthands
624
- * or max array length checks.
625
- *
626
- * @private
627
- * @param {number} n The number of times to invoke `iteratee`.
628
- * @param {Function} iteratee The function invoked per iteration.
629
- * @returns {Array} Returns the array of results.
630
- */
631
- function baseTimes(n, iteratee) {
632
- var index = -1,
633
- result = Array(n);
634
-
635
- while (++index < n) {
636
- result[index] = iteratee(index);
637
- }
638
- return result;
639
- }
640
-
641
- /** `Object#toString` result references. */
642
- var argsTag$2 = '[object Arguments]';
643
-
644
- /**
645
- * The base implementation of `_.isArguments`.
646
- *
647
- * @private
648
- * @param {*} value The value to check.
649
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
650
- */
651
- function baseIsArguments(value) {
652
- return isObjectLike(value) && baseGetTag(value) == argsTag$2;
653
- }
654
-
655
- /** Used for built-in method references. */
656
- var objectProto$6 = Object.prototype;
657
-
658
- /** Used to check objects for own properties. */
659
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
660
-
661
- /** Built-in value references. */
662
- var propertyIsEnumerable$1 = objectProto$6.propertyIsEnumerable;
663
-
664
- /**
665
- * Checks if `value` is likely an `arguments` object.
666
- *
667
- * @static
668
- * @memberOf _
669
- * @since 0.1.0
670
- * @category Lang
671
- * @param {*} value The value to check.
672
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
673
- * else `false`.
674
- * @example
675
- *
676
- * _.isArguments(function() { return arguments; }());
677
- * // => true
678
- *
679
- * _.isArguments([1, 2, 3]);
680
- * // => false
681
- */
682
- var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
683
- return isObjectLike(value) && hasOwnProperty$5.call(value, 'callee') &&
684
- !propertyIsEnumerable$1.call(value, 'callee');
685
- };
686
-
687
- /**
688
- * This method returns `false`.
689
- *
690
- * @static
691
- * @memberOf _
692
- * @since 4.13.0
693
- * @category Util
694
- * @returns {boolean} Returns `false`.
695
- * @example
696
- *
697
- * _.times(2, _.stubFalse);
698
- * // => [false, false]
699
- */
700
- function stubFalse() {
701
- return false;
702
- }
703
-
704
- /** Detect free variable `exports`. */
705
- var freeExports$2 = typeof exports == 'object' && exports && !exports.nodeType && exports;
706
-
707
- /** Detect free variable `module`. */
708
- var freeModule$2 = freeExports$2 && typeof module == 'object' && module && !module.nodeType && module;
709
-
710
- /** Detect the popular CommonJS extension `module.exports`. */
711
- var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
712
-
713
- /** Built-in value references. */
714
- var Buffer$1 = moduleExports$2 ? root.Buffer : undefined;
715
-
716
- /* Built-in method references for those with the same name as other `lodash` methods. */
717
- var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : undefined;
718
-
719
- /**
720
- * Checks if `value` is a buffer.
721
- *
722
- * @static
723
- * @memberOf _
724
- * @since 4.3.0
725
- * @category Lang
726
- * @param {*} value The value to check.
727
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
728
- * @example
729
- *
730
- * _.isBuffer(new Buffer(2));
731
- * // => true
732
- *
733
- * _.isBuffer(new Uint8Array(2));
734
- * // => false
735
- */
736
- var isBuffer = nativeIsBuffer || stubFalse;
737
-
738
- /** `Object#toString` result references. */
739
- var argsTag$1 = '[object Arguments]',
740
- arrayTag$1 = '[object Array]',
741
- boolTag$2 = '[object Boolean]',
742
- dateTag$2 = '[object Date]',
743
- errorTag$1 = '[object Error]',
744
- funcTag$1 = '[object Function]',
745
- mapTag$4 = '[object Map]',
746
- numberTag$2 = '[object Number]',
747
- objectTag$2 = '[object Object]',
748
- regexpTag$2 = '[object RegExp]',
749
- setTag$4 = '[object Set]',
750
- stringTag$2 = '[object String]',
751
- weakMapTag$2 = '[object WeakMap]';
752
-
753
- var arrayBufferTag$2 = '[object ArrayBuffer]',
754
- dataViewTag$3 = '[object DataView]',
755
- float32Tag$2 = '[object Float32Array]',
756
- float64Tag$2 = '[object Float64Array]',
757
- int8Tag$2 = '[object Int8Array]',
758
- int16Tag$2 = '[object Int16Array]',
759
- int32Tag$2 = '[object Int32Array]',
760
- uint8Tag$2 = '[object Uint8Array]',
761
- uint8ClampedTag$2 = '[object Uint8ClampedArray]',
762
- uint16Tag$2 = '[object Uint16Array]',
763
- uint32Tag$2 = '[object Uint32Array]';
764
-
765
- /** Used to identify `toStringTag` values of typed arrays. */
766
- var typedArrayTags = {};
767
- typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] =
768
- typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] =
769
- typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] =
770
- typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] =
771
- typedArrayTags[uint32Tag$2] = true;
772
- typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] =
773
- typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] =
774
- typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] =
775
- typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] =
776
- typedArrayTags[mapTag$4] = typedArrayTags[numberTag$2] =
777
- typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] =
778
- typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] =
779
- typedArrayTags[weakMapTag$2] = false;
780
-
781
- /**
782
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
783
- *
784
- * @private
785
- * @param {*} value The value to check.
786
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
787
- */
788
- function baseIsTypedArray(value) {
789
- return isObjectLike(value) &&
790
- isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
791
- }
792
-
793
- /**
794
- * The base implementation of `_.unary` without support for storing metadata.
795
- *
796
- * @private
797
- * @param {Function} func The function to cap arguments for.
798
- * @returns {Function} Returns the new capped function.
799
- */
800
- function baseUnary(func) {
801
- return function(value) {
802
- return func(value);
803
- };
804
- }
805
-
806
- /** Detect free variable `exports`. */
807
- var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
808
-
809
- /** Detect free variable `module`. */
810
- var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
811
-
812
- /** Detect the popular CommonJS extension `module.exports`. */
813
- var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
814
-
815
- /** Detect free variable `process` from Node.js. */
816
- var freeProcess = moduleExports$1 && freeGlobal.process;
817
-
818
- /** Used to access faster Node.js helpers. */
819
- var nodeUtil = (function() {
820
- try {
821
- // Use `util.types` for Node.js 10+.
822
- var types = freeModule$1 && freeModule$1.require && freeModule$1.require('util').types;
823
-
824
- if (types) {
825
- return types;
826
- }
827
-
828
- // Legacy `process.binding('util')` for Node.js < 10.
829
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
830
- } catch (e) {}
831
- }());
832
-
833
- /* Node.js helper references. */
834
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
835
-
836
- /**
837
- * Checks if `value` is classified as a typed array.
838
- *
839
- * @static
840
- * @memberOf _
841
- * @since 3.0.0
842
- * @category Lang
843
- * @param {*} value The value to check.
844
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
845
- * @example
846
- *
847
- * _.isTypedArray(new Uint8Array);
848
- * // => true
849
- *
850
- * _.isTypedArray([]);
851
- * // => false
852
- */
853
- var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
854
-
855
- /** Used for built-in method references. */
856
- var objectProto$5 = Object.prototype;
857
-
858
- /** Used to check objects for own properties. */
859
- var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
860
-
861
- /**
862
- * Creates an array of the enumerable property names of the array-like `value`.
863
- *
864
- * @private
865
- * @param {*} value The value to query.
866
- * @param {boolean} inherited Specify returning inherited property names.
867
- * @returns {Array} Returns the array of property names.
868
- */
869
- function arrayLikeKeys(value, inherited) {
870
- var isArr = isArray(value),
871
- isArg = !isArr && isArguments(value),
872
- isBuff = !isArr && !isArg && isBuffer(value),
873
- isType = !isArr && !isArg && !isBuff && isTypedArray(value),
874
- skipIndexes = isArr || isArg || isBuff || isType,
875
- result = skipIndexes ? baseTimes(value.length, String) : [],
876
- length = result.length;
877
-
878
- for (var key in value) {
879
- if ((hasOwnProperty$4.call(value, key)) &&
880
- !(skipIndexes && (
881
- // Safari 9 has enumerable `arguments.length` in strict mode.
882
- key == 'length' ||
883
- // Node.js 0.10 has enumerable non-index properties on buffers.
884
- (isBuff && (key == 'offset' || key == 'parent')) ||
885
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
886
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
887
- // Skip index properties.
888
- isIndex(key, length)
889
- ))) {
890
- result.push(key);
891
- }
892
- }
893
- return result;
894
- }
895
-
896
- /**
897
- * Creates a unary function that invokes `func` with its argument transformed.
898
- *
899
- * @private
900
- * @param {Function} func The function to wrap.
901
- * @param {Function} transform The argument transform.
902
- * @returns {Function} Returns the new function.
903
- */
904
- function overArg(func, transform) {
905
- return function(arg) {
906
- return func(transform(arg));
907
- };
908
- }
909
-
910
- /* Built-in method references for those with the same name as other `lodash` methods. */
911
- var nativeKeys = overArg(Object.keys, Object);
912
-
913
- /** Used for built-in method references. */
914
- var objectProto$4 = Object.prototype;
915
-
916
- /** Used to check objects for own properties. */
917
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
918
-
919
- /**
920
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
921
- *
922
- * @private
923
- * @param {Object} object The object to query.
924
- * @returns {Array} Returns the array of property names.
925
- */
926
- function baseKeys(object) {
927
- if (!isPrototype(object)) {
928
- return nativeKeys(object);
929
- }
930
- var result = [];
931
- for (var key in Object(object)) {
932
- if (hasOwnProperty$3.call(object, key) && key != 'constructor') {
933
- result.push(key);
934
- }
935
- }
936
- return result;
937
- }
938
-
939
- /**
940
- * Creates an array of the own enumerable property names of `object`.
941
- *
942
- * **Note:** Non-object values are coerced to objects. See the
943
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
944
- * for more details.
945
- *
946
- * @static
947
- * @since 0.1.0
948
- * @memberOf _
949
- * @category Object
950
- * @param {Object} object The object to query.
951
- * @returns {Array} Returns the array of property names.
952
- * @example
953
- *
954
- * function Foo() {
955
- * this.a = 1;
956
- * this.b = 2;
957
- * }
958
- *
959
- * Foo.prototype.c = 3;
960
- *
961
- * _.keys(new Foo);
962
- * // => ['a', 'b'] (iteration order is not guaranteed)
963
- *
964
- * _.keys('hi');
965
- * // => ['0', '1']
966
- */
967
- function keys(object) {
968
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
969
- }
970
-
971
- /* Built-in method references that are verified to be native. */
972
- var nativeCreate = getNative(Object, 'create');
973
-
974
- /**
975
- * Removes all key-value entries from the hash.
976
- *
977
- * @private
978
- * @name clear
979
- * @memberOf Hash
980
- */
981
- function hashClear() {
982
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
983
- this.size = 0;
984
- }
985
-
986
- /**
987
- * Removes `key` and its value from the hash.
988
- *
989
- * @private
990
- * @name delete
991
- * @memberOf Hash
992
- * @param {Object} hash The hash to modify.
993
- * @param {string} key The key of the value to remove.
994
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
995
- */
996
- function hashDelete(key) {
997
- var result = this.has(key) && delete this.__data__[key];
998
- this.size -= result ? 1 : 0;
999
- return result;
1000
- }
1001
-
1002
- /** Used to stand-in for `undefined` hash values. */
1003
- var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1004
-
1005
- /** Used for built-in method references. */
1006
- var objectProto$3 = Object.prototype;
1007
-
1008
- /** Used to check objects for own properties. */
1009
- var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1010
-
1011
- /**
1012
- * Gets the hash value for `key`.
1013
- *
1014
- * @private
1015
- * @name get
1016
- * @memberOf Hash
1017
- * @param {string} key The key of the value to get.
1018
- * @returns {*} Returns the entry value.
1019
- */
1020
- function hashGet(key) {
1021
- var data = this.__data__;
1022
- if (nativeCreate) {
1023
- var result = data[key];
1024
- return result === HASH_UNDEFINED$1 ? undefined : result;
1025
- }
1026
- return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
1027
- }
1028
-
1029
- /** Used for built-in method references. */
1030
- var objectProto$2 = Object.prototype;
1031
-
1032
- /** Used to check objects for own properties. */
1033
- var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
1034
-
1035
- /**
1036
- * Checks if a hash value for `key` exists.
1037
- *
1038
- * @private
1039
- * @name has
1040
- * @memberOf Hash
1041
- * @param {string} key The key of the entry to check.
1042
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1043
- */
1044
- function hashHas(key) {
1045
- var data = this.__data__;
1046
- return nativeCreate ? (data[key] !== undefined) : hasOwnProperty$1.call(data, key);
1047
- }
1048
-
1049
- /** Used to stand-in for `undefined` hash values. */
1050
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
1051
-
1052
- /**
1053
- * Sets the hash `key` to `value`.
1054
- *
1055
- * @private
1056
- * @name set
1057
- * @memberOf Hash
1058
- * @param {string} key The key of the value to set.
1059
- * @param {*} value The value to set.
1060
- * @returns {Object} Returns the hash instance.
1061
- */
1062
- function hashSet(key, value) {
1063
- var data = this.__data__;
1064
- this.size += this.has(key) ? 0 : 1;
1065
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
1066
- return this;
1067
- }
1068
-
1069
- /**
1070
- * Creates a hash object.
1071
- *
1072
- * @private
1073
- * @constructor
1074
- * @param {Array} [entries] The key-value pairs to cache.
1075
- */
1076
- function Hash(entries) {
1077
- var index = -1,
1078
- length = entries == null ? 0 : entries.length;
1079
-
1080
- this.clear();
1081
- while (++index < length) {
1082
- var entry = entries[index];
1083
- this.set(entry[0], entry[1]);
1084
- }
1085
- }
1086
-
1087
- // Add methods to `Hash`.
1088
- Hash.prototype.clear = hashClear;
1089
- Hash.prototype['delete'] = hashDelete;
1090
- Hash.prototype.get = hashGet;
1091
- Hash.prototype.has = hashHas;
1092
- Hash.prototype.set = hashSet;
1093
-
1094
- /**
1095
- * Removes all key-value entries from the list cache.
1096
- *
1097
- * @private
1098
- * @name clear
1099
- * @memberOf ListCache
1100
- */
1101
- function listCacheClear() {
1102
- this.__data__ = [];
1103
- this.size = 0;
1104
- }
1105
-
1106
- /**
1107
- * Gets the index at which the `key` is found in `array` of key-value pairs.
1108
- *
1109
- * @private
1110
- * @param {Array} array The array to inspect.
1111
- * @param {*} key The key to search for.
1112
- * @returns {number} Returns the index of the matched value, else `-1`.
1113
- */
1114
- function assocIndexOf(array, key) {
1115
- var length = array.length;
1116
- while (length--) {
1117
- if (eq(array[length][0], key)) {
1118
- return length;
1119
- }
1120
- }
1121
- return -1;
1122
- }
1123
-
1124
- /** Used for built-in method references. */
1125
- var arrayProto = Array.prototype;
1126
-
1127
- /** Built-in value references. */
1128
- var splice = arrayProto.splice;
1129
-
1130
- /**
1131
- * Removes `key` and its value from the list cache.
1132
- *
1133
- * @private
1134
- * @name delete
1135
- * @memberOf ListCache
1136
- * @param {string} key The key of the value to remove.
1137
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1138
- */
1139
- function listCacheDelete(key) {
1140
- var data = this.__data__,
1141
- index = assocIndexOf(data, key);
1142
-
1143
- if (index < 0) {
1144
- return false;
1145
- }
1146
- var lastIndex = data.length - 1;
1147
- if (index == lastIndex) {
1148
- data.pop();
1149
- } else {
1150
- splice.call(data, index, 1);
1151
- }
1152
- --this.size;
1153
- return true;
1154
- }
1155
-
1156
- /**
1157
- * Gets the list cache value for `key`.
1158
- *
1159
- * @private
1160
- * @name get
1161
- * @memberOf ListCache
1162
- * @param {string} key The key of the value to get.
1163
- * @returns {*} Returns the entry value.
1164
- */
1165
- function listCacheGet(key) {
1166
- var data = this.__data__,
1167
- index = assocIndexOf(data, key);
1168
-
1169
- return index < 0 ? undefined : data[index][1];
1170
- }
1171
-
1172
- /**
1173
- * Checks if a list cache value for `key` exists.
1174
- *
1175
- * @private
1176
- * @name has
1177
- * @memberOf ListCache
1178
- * @param {string} key The key of the entry to check.
1179
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1180
- */
1181
- function listCacheHas(key) {
1182
- return assocIndexOf(this.__data__, key) > -1;
1183
- }
1184
-
1185
- /**
1186
- * Sets the list cache `key` to `value`.
1187
- *
1188
- * @private
1189
- * @name set
1190
- * @memberOf ListCache
1191
- * @param {string} key The key of the value to set.
1192
- * @param {*} value The value to set.
1193
- * @returns {Object} Returns the list cache instance.
1194
- */
1195
- function listCacheSet(key, value) {
1196
- var data = this.__data__,
1197
- index = assocIndexOf(data, key);
1198
-
1199
- if (index < 0) {
1200
- ++this.size;
1201
- data.push([key, value]);
1202
- } else {
1203
- data[index][1] = value;
1204
- }
1205
- return this;
1206
- }
1207
-
1208
- /**
1209
- * Creates an list cache object.
1210
- *
1211
- * @private
1212
- * @constructor
1213
- * @param {Array} [entries] The key-value pairs to cache.
1214
- */
1215
- function ListCache(entries) {
1216
- var index = -1,
1217
- length = entries == null ? 0 : entries.length;
1218
-
1219
- this.clear();
1220
- while (++index < length) {
1221
- var entry = entries[index];
1222
- this.set(entry[0], entry[1]);
1223
- }
1224
- }
1225
-
1226
- // Add methods to `ListCache`.
1227
- ListCache.prototype.clear = listCacheClear;
1228
- ListCache.prototype['delete'] = listCacheDelete;
1229
- ListCache.prototype.get = listCacheGet;
1230
- ListCache.prototype.has = listCacheHas;
1231
- ListCache.prototype.set = listCacheSet;
1232
-
1233
- /* Built-in method references that are verified to be native. */
1234
- var Map = getNative(root, 'Map');
1235
-
1236
- /**
1237
- * Removes all key-value entries from the map.
1238
- *
1239
- * @private
1240
- * @name clear
1241
- * @memberOf MapCache
1242
- */
1243
- function mapCacheClear() {
1244
- this.size = 0;
1245
- this.__data__ = {
1246
- 'hash': new Hash,
1247
- 'map': new (Map || ListCache),
1248
- 'string': new Hash
1249
- };
1250
- }
1251
-
1252
- /**
1253
- * Checks if `value` is suitable for use as unique object key.
1254
- *
1255
- * @private
1256
- * @param {*} value The value to check.
1257
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1258
- */
1259
- function isKeyable(value) {
1260
- var type = typeof value;
1261
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1262
- ? (value !== '__proto__')
1263
- : (value === null);
1264
- }
1265
-
1266
- /**
1267
- * Gets the data for `map`.
1268
- *
1269
- * @private
1270
- * @param {Object} map The map to query.
1271
- * @param {string} key The reference key.
1272
- * @returns {*} Returns the map data.
1273
- */
1274
- function getMapData(map, key) {
1275
- var data = map.__data__;
1276
- return isKeyable(key)
1277
- ? data[typeof key == 'string' ? 'string' : 'hash']
1278
- : data.map;
1279
- }
1280
-
1281
- /**
1282
- * Removes `key` and its value from the map.
1283
- *
1284
- * @private
1285
- * @name delete
1286
- * @memberOf MapCache
1287
- * @param {string} key The key of the value to remove.
1288
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1289
- */
1290
- function mapCacheDelete(key) {
1291
- var result = getMapData(this, key)['delete'](key);
1292
- this.size -= result ? 1 : 0;
1293
- return result;
1294
- }
1295
-
1296
- /**
1297
- * Gets the map value for `key`.
1298
- *
1299
- * @private
1300
- * @name get
1301
- * @memberOf MapCache
1302
- * @param {string} key The key of the value to get.
1303
- * @returns {*} Returns the entry value.
1304
- */
1305
- function mapCacheGet(key) {
1306
- return getMapData(this, key).get(key);
1307
- }
1308
-
1309
- /**
1310
- * Checks if a map value for `key` exists.
1311
- *
1312
- * @private
1313
- * @name has
1314
- * @memberOf MapCache
1315
- * @param {string} key The key of the entry to check.
1316
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1317
- */
1318
- function mapCacheHas(key) {
1319
- return getMapData(this, key).has(key);
1320
- }
1321
-
1322
- /**
1323
- * Sets the map `key` to `value`.
1324
- *
1325
- * @private
1326
- * @name set
1327
- * @memberOf MapCache
1328
- * @param {string} key The key of the value to set.
1329
- * @param {*} value The value to set.
1330
- * @returns {Object} Returns the map cache instance.
1331
- */
1332
- function mapCacheSet(key, value) {
1333
- var data = getMapData(this, key),
1334
- size = data.size;
1335
-
1336
- data.set(key, value);
1337
- this.size += data.size == size ? 0 : 1;
1338
- return this;
1339
- }
1340
-
1341
- /**
1342
- * Creates a map cache object to store key-value pairs.
1343
- *
1344
- * @private
1345
- * @constructor
1346
- * @param {Array} [entries] The key-value pairs to cache.
1347
- */
1348
- function MapCache(entries) {
1349
- var index = -1,
1350
- length = entries == null ? 0 : entries.length;
1351
-
1352
- this.clear();
1353
- while (++index < length) {
1354
- var entry = entries[index];
1355
- this.set(entry[0], entry[1]);
1356
- }
1357
- }
1358
-
1359
- // Add methods to `MapCache`.
1360
- MapCache.prototype.clear = mapCacheClear;
1361
- MapCache.prototype['delete'] = mapCacheDelete;
1362
- MapCache.prototype.get = mapCacheGet;
1363
- MapCache.prototype.has = mapCacheHas;
1364
- MapCache.prototype.set = mapCacheSet;
1365
-
1366
- /**
1367
- * Appends the elements of `values` to `array`.
1368
- *
1369
- * @private
1370
- * @param {Array} array The array to modify.
1371
- * @param {Array} values The values to append.
1372
- * @returns {Array} Returns `array`.
1373
- */
1374
- function arrayPush(array, values) {
1375
- var index = -1,
1376
- length = values.length,
1377
- offset = array.length;
1378
-
1379
- while (++index < length) {
1380
- array[offset + index] = values[index];
1381
- }
1382
- return array;
1383
- }
1384
-
1385
- /** Built-in value references. */
1386
- var getPrototype = overArg(Object.getPrototypeOf, Object);
1387
-
1388
- /**
1389
- * Removes all key-value entries from the stack.
1390
- *
1391
- * @private
1392
- * @name clear
1393
- * @memberOf Stack
1394
- */
1395
- function stackClear() {
1396
- this.__data__ = new ListCache;
1397
- this.size = 0;
1398
- }
1399
-
1400
- /**
1401
- * Removes `key` and its value from the stack.
1402
- *
1403
- * @private
1404
- * @name delete
1405
- * @memberOf Stack
1406
- * @param {string} key The key of the value to remove.
1407
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1408
- */
1409
- function stackDelete(key) {
1410
- var data = this.__data__,
1411
- result = data['delete'](key);
1412
-
1413
- this.size = data.size;
1414
- return result;
1415
- }
1416
-
1417
- /**
1418
- * Gets the stack value for `key`.
1419
- *
1420
- * @private
1421
- * @name get
1422
- * @memberOf Stack
1423
- * @param {string} key The key of the value to get.
1424
- * @returns {*} Returns the entry value.
1425
- */
1426
- function stackGet(key) {
1427
- return this.__data__.get(key);
1428
- }
1429
-
1430
- /**
1431
- * Checks if a stack value for `key` exists.
1432
- *
1433
- * @private
1434
- * @name has
1435
- * @memberOf Stack
1436
- * @param {string} key The key of the entry to check.
1437
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1438
- */
1439
- function stackHas(key) {
1440
- return this.__data__.has(key);
1441
- }
1442
-
1443
- /** Used as the size to enable large array optimizations. */
1444
- var LARGE_ARRAY_SIZE = 200;
1445
-
1446
- /**
1447
- * Sets the stack `key` to `value`.
1448
- *
1449
- * @private
1450
- * @name set
1451
- * @memberOf Stack
1452
- * @param {string} key The key of the value to set.
1453
- * @param {*} value The value to set.
1454
- * @returns {Object} Returns the stack cache instance.
1455
- */
1456
- function stackSet(key, value) {
1457
- var data = this.__data__;
1458
- if (data instanceof ListCache) {
1459
- var pairs = data.__data__;
1460
- if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
1461
- pairs.push([key, value]);
1462
- this.size = ++data.size;
1463
- return this;
1464
- }
1465
- data = this.__data__ = new MapCache(pairs);
1466
- }
1467
- data.set(key, value);
1468
- this.size = data.size;
1469
- return this;
1470
- }
1471
-
1472
- /**
1473
- * Creates a stack cache object to store key-value pairs.
1474
- *
1475
- * @private
1476
- * @constructor
1477
- * @param {Array} [entries] The key-value pairs to cache.
1478
- */
1479
- function Stack(entries) {
1480
- var data = this.__data__ = new ListCache(entries);
1481
- this.size = data.size;
1482
- }
1483
-
1484
- // Add methods to `Stack`.
1485
- Stack.prototype.clear = stackClear;
1486
- Stack.prototype['delete'] = stackDelete;
1487
- Stack.prototype.get = stackGet;
1488
- Stack.prototype.has = stackHas;
1489
- Stack.prototype.set = stackSet;
1490
-
1491
- /** Detect free variable `exports`. */
1492
- var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
1493
-
1494
- /** Detect free variable `module`. */
1495
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
1496
-
1497
- /** Detect the popular CommonJS extension `module.exports`. */
1498
- var moduleExports = freeModule && freeModule.exports === freeExports;
1499
-
1500
- /** Built-in value references. */
1501
- var Buffer = moduleExports ? root.Buffer : undefined;
1502
- Buffer ? Buffer.allocUnsafe : undefined;
1503
-
1504
- /**
1505
- * Creates a clone of `buffer`.
1506
- *
1507
- * @private
1508
- * @param {Buffer} buffer The buffer to clone.
1509
- * @param {boolean} [isDeep] Specify a deep clone.
1510
- * @returns {Buffer} Returns the cloned buffer.
1511
- */
1512
- function cloneBuffer(buffer, isDeep) {
1513
- {
1514
- return buffer.slice();
1515
- }
1516
- }
1517
-
1518
- /**
1519
- * A specialized version of `_.filter` for arrays without support for
1520
- * iteratee shorthands.
1521
- *
1522
- * @private
1523
- * @param {Array} [array] The array to iterate over.
1524
- * @param {Function} predicate The function invoked per iteration.
1525
- * @returns {Array} Returns the new filtered array.
1526
- */
1527
- function arrayFilter(array, predicate) {
1528
- var index = -1,
1529
- length = array == null ? 0 : array.length,
1530
- resIndex = 0,
1531
- result = [];
1532
-
1533
- while (++index < length) {
1534
- var value = array[index];
1535
- if (predicate(value, index, array)) {
1536
- result[resIndex++] = value;
1537
- }
1538
- }
1539
- return result;
1540
- }
1541
-
1542
- /**
1543
- * This method returns a new empty array.
1544
- *
1545
- * @static
1546
- * @memberOf _
1547
- * @since 4.13.0
1548
- * @category Util
1549
- * @returns {Array} Returns the new empty array.
1550
- * @example
1551
- *
1552
- * var arrays = _.times(2, _.stubArray);
1553
- *
1554
- * console.log(arrays);
1555
- * // => [[], []]
1556
- *
1557
- * console.log(arrays[0] === arrays[1]);
1558
- * // => false
1559
- */
1560
- function stubArray() {
1561
- return [];
1562
- }
1563
-
1564
- /** Used for built-in method references. */
1565
- var objectProto$1 = Object.prototype;
1566
-
1567
- /** Built-in value references. */
1568
- var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
1569
-
1570
- /* Built-in method references for those with the same name as other `lodash` methods. */
1571
- var nativeGetSymbols = Object.getOwnPropertySymbols;
1572
-
1573
- /**
1574
- * Creates an array of the own enumerable symbols of `object`.
1575
- *
1576
- * @private
1577
- * @param {Object} object The object to query.
1578
- * @returns {Array} Returns the array of symbols.
1579
- */
1580
- var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
1581
- if (object == null) {
1582
- return [];
1583
- }
1584
- object = Object(object);
1585
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
1586
- return propertyIsEnumerable.call(object, symbol);
1587
- });
1588
- };
1589
-
1590
- /**
1591
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1592
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1593
- * symbols of `object`.
1594
- *
1595
- * @private
1596
- * @param {Object} object The object to query.
1597
- * @param {Function} keysFunc The function to get the keys of `object`.
1598
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
1599
- * @returns {Array} Returns the array of property names and symbols.
1600
- */
1601
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
1602
- var result = keysFunc(object);
1603
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1604
- }
1605
-
1606
- /**
1607
- * Creates an array of own enumerable property names and symbols of `object`.
1608
- *
1609
- * @private
1610
- * @param {Object} object The object to query.
1611
- * @returns {Array} Returns the array of property names and symbols.
1612
- */
1613
- function getAllKeys(object) {
1614
- return baseGetAllKeys(object, keys, getSymbols);
1615
- }
1616
-
1617
- /* Built-in method references that are verified to be native. */
1618
- var DataView = getNative(root, 'DataView');
1619
-
1620
- /* Built-in method references that are verified to be native. */
1621
- var Promise$1 = getNative(root, 'Promise');
1622
-
1623
- /* Built-in method references that are verified to be native. */
1624
- var Set = getNative(root, 'Set');
1625
-
1626
- /** `Object#toString` result references. */
1627
- var mapTag$3 = '[object Map]',
1628
- objectTag$1 = '[object Object]',
1629
- promiseTag = '[object Promise]',
1630
- setTag$3 = '[object Set]',
1631
- weakMapTag$1 = '[object WeakMap]';
1632
-
1633
- var dataViewTag$2 = '[object DataView]';
1634
-
1635
- /** Used to detect maps, sets, and weakmaps. */
1636
- var dataViewCtorString = toSource(DataView),
1637
- mapCtorString = toSource(Map),
1638
- promiseCtorString = toSource(Promise$1),
1639
- setCtorString = toSource(Set),
1640
- weakMapCtorString = toSource(WeakMap);
1641
-
1642
- /**
1643
- * Gets the `toStringTag` of `value`.
1644
- *
1645
- * @private
1646
- * @param {*} value The value to query.
1647
- * @returns {string} Returns the `toStringTag`.
1648
- */
1649
- var getTag = baseGetTag;
1650
-
1651
- // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
1652
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2) ||
1653
- (Map && getTag(new Map) != mapTag$3) ||
1654
- (Promise$1 && getTag(Promise$1.resolve()) != promiseTag) ||
1655
- (Set && getTag(new Set) != setTag$3) ||
1656
- (WeakMap && getTag(new WeakMap) != weakMapTag$1)) {
1657
- getTag = function(value) {
1658
- var result = baseGetTag(value),
1659
- Ctor = result == objectTag$1 ? value.constructor : undefined,
1660
- ctorString = Ctor ? toSource(Ctor) : '';
1661
-
1662
- if (ctorString) {
1663
- switch (ctorString) {
1664
- case dataViewCtorString: return dataViewTag$2;
1665
- case mapCtorString: return mapTag$3;
1666
- case promiseCtorString: return promiseTag;
1667
- case setCtorString: return setTag$3;
1668
- case weakMapCtorString: return weakMapTag$1;
1669
- }
1670
- }
1671
- return result;
1672
- };
1673
- }
1674
-
1675
- var getTag$1 = getTag;
1676
-
1677
- /** Used for built-in method references. */
1678
- var objectProto = Object.prototype;
1679
-
1680
- /** Used to check objects for own properties. */
1681
- var hasOwnProperty = objectProto.hasOwnProperty;
1682
-
1683
- /**
1684
- * Initializes an array clone.
1685
- *
1686
- * @private
1687
- * @param {Array} array The array to clone.
1688
- * @returns {Array} Returns the initialized clone.
1689
- */
1690
- function initCloneArray(array) {
1691
- var length = array.length,
1692
- result = new array.constructor(length);
1693
-
1694
- // Add properties assigned by `RegExp#exec`.
1695
- if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
1696
- result.index = array.index;
1697
- result.input = array.input;
1698
- }
1699
- return result;
1700
- }
1701
-
1702
- /** Built-in value references. */
1703
- var Uint8Array = root.Uint8Array;
1704
-
1705
- /**
1706
- * Creates a clone of `arrayBuffer`.
1707
- *
1708
- * @private
1709
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
1710
- * @returns {ArrayBuffer} Returns the cloned array buffer.
1711
- */
1712
- function cloneArrayBuffer(arrayBuffer) {
1713
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
1714
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
1715
- return result;
1716
- }
1717
-
1718
- /**
1719
- * Creates a clone of `dataView`.
1720
- *
1721
- * @private
1722
- * @param {Object} dataView The data view to clone.
1723
- * @param {boolean} [isDeep] Specify a deep clone.
1724
- * @returns {Object} Returns the cloned data view.
1725
- */
1726
- function cloneDataView(dataView, isDeep) {
1727
- var buffer = cloneArrayBuffer(dataView.buffer) ;
1728
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
1729
- }
1730
-
1731
- /** Used to match `RegExp` flags from their coerced string values. */
1732
- var reFlags = /\w*$/;
1733
-
1734
- /**
1735
- * Creates a clone of `regexp`.
1736
- *
1737
- * @private
1738
- * @param {Object} regexp The regexp to clone.
1739
- * @returns {Object} Returns the cloned regexp.
1740
- */
1741
- function cloneRegExp(regexp) {
1742
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
1743
- result.lastIndex = regexp.lastIndex;
1744
- return result;
1745
- }
1746
-
1747
- /** Used to convert symbols to primitives and strings. */
1748
- var symbolProto = Symbol ? Symbol.prototype : undefined,
1749
- symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
1750
-
1751
- /**
1752
- * Creates a clone of the `symbol` object.
1753
- *
1754
- * @private
1755
- * @param {Object} symbol The symbol object to clone.
1756
- * @returns {Object} Returns the cloned symbol object.
1757
- */
1758
- function cloneSymbol(symbol) {
1759
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
1760
- }
1761
-
1762
- /**
1763
- * Creates a clone of `typedArray`.
1764
- *
1765
- * @private
1766
- * @param {Object} typedArray The typed array to clone.
1767
- * @param {boolean} [isDeep] Specify a deep clone.
1768
- * @returns {Object} Returns the cloned typed array.
1769
- */
1770
- function cloneTypedArray(typedArray, isDeep) {
1771
- var buffer = cloneArrayBuffer(typedArray.buffer) ;
1772
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
1773
- }
1774
-
1775
- /** `Object#toString` result references. */
1776
- var boolTag$1 = '[object Boolean]',
1777
- dateTag$1 = '[object Date]',
1778
- mapTag$2 = '[object Map]',
1779
- numberTag$1 = '[object Number]',
1780
- regexpTag$1 = '[object RegExp]',
1781
- setTag$2 = '[object Set]',
1782
- stringTag$1 = '[object String]',
1783
- symbolTag$1 = '[object Symbol]';
1784
-
1785
- var arrayBufferTag$1 = '[object ArrayBuffer]',
1786
- dataViewTag$1 = '[object DataView]',
1787
- float32Tag$1 = '[object Float32Array]',
1788
- float64Tag$1 = '[object Float64Array]',
1789
- int8Tag$1 = '[object Int8Array]',
1790
- int16Tag$1 = '[object Int16Array]',
1791
- int32Tag$1 = '[object Int32Array]',
1792
- uint8Tag$1 = '[object Uint8Array]',
1793
- uint8ClampedTag$1 = '[object Uint8ClampedArray]',
1794
- uint16Tag$1 = '[object Uint16Array]',
1795
- uint32Tag$1 = '[object Uint32Array]';
1796
-
1797
- /**
1798
- * Initializes an object clone based on its `toStringTag`.
1799
- *
1800
- * **Note:** This function only supports cloning values with tags of
1801
- * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
1802
- *
1803
- * @private
1804
- * @param {Object} object The object to clone.
1805
- * @param {string} tag The `toStringTag` of the object to clone.
1806
- * @param {boolean} [isDeep] Specify a deep clone.
1807
- * @returns {Object} Returns the initialized clone.
1808
- */
1809
- function initCloneByTag(object, tag, isDeep) {
1810
- var Ctor = object.constructor;
1811
- switch (tag) {
1812
- case arrayBufferTag$1:
1813
- return cloneArrayBuffer(object);
1814
-
1815
- case boolTag$1:
1816
- case dateTag$1:
1817
- return new Ctor(+object);
1818
-
1819
- case dataViewTag$1:
1820
- return cloneDataView(object);
1821
-
1822
- case float32Tag$1: case float64Tag$1:
1823
- case int8Tag$1: case int16Tag$1: case int32Tag$1:
1824
- case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
1825
- return cloneTypedArray(object);
1826
-
1827
- case mapTag$2:
1828
- return new Ctor;
1829
-
1830
- case numberTag$1:
1831
- case stringTag$1:
1832
- return new Ctor(object);
1833
-
1834
- case regexpTag$1:
1835
- return cloneRegExp(object);
1836
-
1837
- case setTag$2:
1838
- return new Ctor;
1839
-
1840
- case symbolTag$1:
1841
- return cloneSymbol(object);
1842
- }
1843
- }
1844
-
1845
- /**
1846
- * Initializes an object clone.
1847
- *
1848
- * @private
1849
- * @param {Object} object The object to clone.
1850
- * @returns {Object} Returns the initialized clone.
1851
- */
1852
- function initCloneObject(object) {
1853
- return (typeof object.constructor == 'function' && !isPrototype(object))
1854
- ? baseCreate(getPrototype(object))
1855
- : {};
1856
- }
1857
-
1858
- /** `Object#toString` result references. */
1859
- var mapTag$1 = '[object Map]';
1860
-
1861
- /**
1862
- * The base implementation of `_.isMap` without Node.js optimizations.
1863
- *
1864
- * @private
1865
- * @param {*} value The value to check.
1866
- * @returns {boolean} Returns `true` if `value` is a map, else `false`.
1867
- */
1868
- function baseIsMap(value) {
1869
- return isObjectLike(value) && getTag$1(value) == mapTag$1;
1870
- }
1871
-
1872
- /* Node.js helper references. */
1873
- var nodeIsMap = nodeUtil && nodeUtil.isMap;
1874
-
1875
- /**
1876
- * Checks if `value` is classified as a `Map` object.
1877
- *
1878
- * @static
1879
- * @memberOf _
1880
- * @since 4.3.0
1881
- * @category Lang
1882
- * @param {*} value The value to check.
1883
- * @returns {boolean} Returns `true` if `value` is a map, else `false`.
1884
- * @example
1885
- *
1886
- * _.isMap(new Map);
1887
- * // => true
1888
- *
1889
- * _.isMap(new WeakMap);
1890
- * // => false
1891
- */
1892
- var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
1893
-
1894
- /** `Object#toString` result references. */
1895
- var setTag$1 = '[object Set]';
1896
-
1897
- /**
1898
- * The base implementation of `_.isSet` without Node.js optimizations.
1899
- *
1900
- * @private
1901
- * @param {*} value The value to check.
1902
- * @returns {boolean} Returns `true` if `value` is a set, else `false`.
1903
- */
1904
- function baseIsSet(value) {
1905
- return isObjectLike(value) && getTag$1(value) == setTag$1;
1906
- }
1907
-
1908
- /* Node.js helper references. */
1909
- var nodeIsSet = nodeUtil && nodeUtil.isSet;
1910
-
1911
- /**
1912
- * Checks if `value` is classified as a `Set` object.
1913
- *
1914
- * @static
1915
- * @memberOf _
1916
- * @since 4.3.0
1917
- * @category Lang
1918
- * @param {*} value The value to check.
1919
- * @returns {boolean} Returns `true` if `value` is a set, else `false`.
1920
- * @example
1921
- *
1922
- * _.isSet(new Set);
1923
- * // => true
1924
- *
1925
- * _.isSet(new WeakSet);
1926
- * // => false
1927
- */
1928
- var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
1929
-
1930
- /** `Object#toString` result references. */
1931
- var argsTag = '[object Arguments]',
1932
- arrayTag = '[object Array]',
1933
- boolTag = '[object Boolean]',
1934
- dateTag = '[object Date]',
1935
- errorTag = '[object Error]',
1936
- funcTag = '[object Function]',
1937
- genTag = '[object GeneratorFunction]',
1938
- mapTag = '[object Map]',
1939
- numberTag = '[object Number]',
1940
- objectTag = '[object Object]',
1941
- regexpTag = '[object RegExp]',
1942
- setTag = '[object Set]',
1943
- stringTag = '[object String]',
1944
- symbolTag = '[object Symbol]',
1945
- weakMapTag = '[object WeakMap]';
1946
-
1947
- var arrayBufferTag = '[object ArrayBuffer]',
1948
- dataViewTag = '[object DataView]',
1949
- float32Tag = '[object Float32Array]',
1950
- float64Tag = '[object Float64Array]',
1951
- int8Tag = '[object Int8Array]',
1952
- int16Tag = '[object Int16Array]',
1953
- int32Tag = '[object Int32Array]',
1954
- uint8Tag = '[object Uint8Array]',
1955
- uint8ClampedTag = '[object Uint8ClampedArray]',
1956
- uint16Tag = '[object Uint16Array]',
1957
- uint32Tag = '[object Uint32Array]';
1958
-
1959
- /** Used to identify `toStringTag` values supported by `_.clone`. */
1960
- var cloneableTags = {};
1961
- cloneableTags[argsTag] = cloneableTags[arrayTag] =
1962
- cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
1963
- cloneableTags[boolTag] = cloneableTags[dateTag] =
1964
- cloneableTags[float32Tag] = cloneableTags[float64Tag] =
1965
- cloneableTags[int8Tag] = cloneableTags[int16Tag] =
1966
- cloneableTags[int32Tag] = cloneableTags[mapTag] =
1967
- cloneableTags[numberTag] = cloneableTags[objectTag] =
1968
- cloneableTags[regexpTag] = cloneableTags[setTag] =
1969
- cloneableTags[stringTag] = cloneableTags[symbolTag] =
1970
- cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
1971
- cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
1972
- cloneableTags[errorTag] = cloneableTags[funcTag] =
1973
- cloneableTags[weakMapTag] = false;
1974
-
1975
- /**
1976
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
1977
- * traversed objects.
1978
- *
1979
- * @private
1980
- * @param {*} value The value to clone.
1981
- * @param {boolean} bitmask The bitmask flags.
1982
- * 1 - Deep clone
1983
- * 2 - Flatten inherited properties
1984
- * 4 - Clone symbols
1985
- * @param {Function} [customizer] The function to customize cloning.
1986
- * @param {string} [key] The key of `value`.
1987
- * @param {Object} [object] The parent object of `value`.
1988
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
1989
- * @returns {*} Returns the cloned value.
1990
- */
1991
- function baseClone(value, bitmask, customizer, key, object, stack) {
1992
- var result;
1993
- if (result !== undefined) {
1994
- return result;
1995
- }
1996
- if (!isObject(value)) {
1997
- return value;
1998
- }
1999
- var isArr = isArray(value);
2000
- if (isArr) {
2001
- result = initCloneArray(value);
2002
- } else {
2003
- var tag = getTag$1(value),
2004
- isFunc = tag == funcTag || tag == genTag;
2005
-
2006
- if (isBuffer(value)) {
2007
- return cloneBuffer(value);
2008
- }
2009
- if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
2010
- result = (isFunc) ? {} : initCloneObject(value);
2011
- } else {
2012
- if (!cloneableTags[tag]) {
2013
- return object ? value : {};
2014
- }
2015
- result = initCloneByTag(value, tag);
2016
- }
2017
- }
2018
- // Check for circular references and return its corresponding clone.
2019
- stack || (stack = new Stack);
2020
- var stacked = stack.get(value);
2021
- if (stacked) {
2022
- return stacked;
2023
- }
2024
- stack.set(value, result);
2025
-
2026
- if (isSet(value)) {
2027
- value.forEach(function(subValue) {
2028
- result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
2029
- });
2030
- } else if (isMap(value)) {
2031
- value.forEach(function(subValue, key) {
2032
- result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
2033
- });
2034
- }
2035
-
2036
- var keysFunc = (getAllKeys)
2037
- ;
2038
-
2039
- var props = isArr ? undefined : keysFunc(value);
2040
- arrayEach(props || value, function(subValue, key) {
2041
- if (props) {
2042
- key = subValue;
2043
- subValue = value[key];
2044
- }
2045
- // Recursively populate clone (susceptible to call stack limits).
2046
- assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
2047
- });
2048
- return result;
2049
- }
2050
-
2051
- /** Used to compose bitmasks for cloning. */
2052
- var CLONE_DEEP_FLAG = 1,
2053
- CLONE_SYMBOLS_FLAG = 4;
2054
-
2055
- /**
2056
- * This method is like `_.clone` except that it recursively clones `value`.
2057
- *
2058
- * @static
2059
- * @memberOf _
2060
- * @since 1.0.0
2061
- * @category Lang
2062
- * @param {*} value The value to recursively clone.
2063
- * @returns {*} Returns the deep cloned value.
2064
- * @see _.clone
2065
- * @example
2066
- *
2067
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
2068
- *
2069
- * var deep = _.cloneDeep(objects);
2070
- * console.log(deep[0] === objects[0]);
2071
- * // => false
2072
- */
2073
- function cloneDeep(value) {
2074
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
2075
- }
2076
-
2077
52
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
2078
53
  name: "VkfInputCollection",
2079
54
  components: {
@@ -2137,12 +112,12 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
2137
112
  }, null)])
2138
113
  }));
2139
114
  function handlePlus(index) {
2140
- const data = cloneDeep(props2.modelValue);
115
+ const data = cloneDeep.cloneDeep(props2.modelValue);
2141
116
  data.splice(index + 1, 0, {});
2142
117
  emit("update:modelValue", data);
2143
118
  }
2144
119
  function handleMinus(index) {
2145
- const data = cloneDeep(props2.modelValue);
120
+ const data = cloneDeep.cloneDeep(props2.modelValue);
2146
121
  data.splice(index, 1);
2147
122
  emit("update:modelValue", data);
2148
123
  }
@@ -2150,7 +125,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
2150
125
  emit("update:modelValue", [{}, ...props2.modelValue]);
2151
126
  };
2152
127
  const handleFormSetData = e => {
2153
- const data = cloneDeep(formData.value);
128
+ const data = cloneDeep.cloneDeep(formData.value);
2154
129
  core.ensetData(data, e);
2155
130
  emit("update:modelValue", core.getValue(data, props2.prop));
2156
131
  };