vue-devui 1.0.0-beta.7 → 1.0.0-beta.8

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 (102) hide show
  1. package/alert/index.es.js +1 -1
  2. package/alert/index.umd.js +1 -1
  3. package/avatar/index.es.js +1 -1
  4. package/avatar/index.umd.js +1 -1
  5. package/badge/index.es.js +1 -1
  6. package/badge/index.umd.js +1 -1
  7. package/button/index.es.js +1 -1
  8. package/button/index.umd.js +1 -1
  9. package/card/index.es.js +1 -1
  10. package/card/index.umd.js +1 -1
  11. package/cascader/index.es.js +1 -1
  12. package/cascader/index.umd.js +1 -1
  13. package/checkbox/index.es.js +1 -1
  14. package/checkbox/index.umd.js +1 -1
  15. package/countdown/index.d.ts +7 -0
  16. package/countdown/index.es.js +167 -0
  17. package/countdown/index.umd.js +1 -0
  18. package/countdown/package.json +7 -0
  19. package/countdown/style.css +1 -0
  20. package/date-picker/index.es.js +1 -1
  21. package/date-picker/index.umd.js +1 -1
  22. package/drawer/index.es.js +33 -9
  23. package/drawer/index.umd.js +1 -1
  24. package/dropdown/index.es.js +6 -4
  25. package/dropdown/index.umd.js +1 -1
  26. package/editable-select/index.es.js +1 -1
  27. package/editable-select/index.umd.js +1 -1
  28. package/form/index.es.js +1 -1
  29. package/form/index.umd.js +1 -1
  30. package/form/style.css +1 -1
  31. package/fullscreen/index.es.js +1 -1
  32. package/fullscreen/index.umd.js +1 -1
  33. package/grid/index.es.js +2 -2
  34. package/grid/index.umd.js +1 -1
  35. package/icon/index.es.js +1 -1
  36. package/icon/index.umd.js +1 -1
  37. package/image-preview/index.es.js +1 -1
  38. package/image-preview/index.umd.js +1 -1
  39. package/input/index.es.js +1 -1
  40. package/input/index.umd.js +1 -1
  41. package/layout/index.es.js +1 -1
  42. package/layout/index.umd.js +1 -1
  43. package/loading/index.es.js +1 -1
  44. package/loading/index.umd.js +1 -1
  45. package/modal/index.es.js +6 -4
  46. package/modal/index.umd.js +1 -1
  47. package/overlay/index.es.js +6 -4
  48. package/overlay/index.umd.js +1 -1
  49. package/package.json +1 -1
  50. package/pagination/index.es.js +3 -3
  51. package/pagination/index.umd.js +1 -1
  52. package/popover/index.es.js +1 -1
  53. package/popover/index.umd.js +1 -1
  54. package/progress/index.es.js +1 -1
  55. package/progress/index.umd.js +2 -2
  56. package/radio/index.es.js +1 -1
  57. package/radio/index.umd.js +1 -1
  58. package/rate/index.es.js +1 -1
  59. package/rate/index.umd.js +1 -1
  60. package/read-tip/index.es.js +4 -3
  61. package/read-tip/index.umd.js +1 -1
  62. package/result/index.d.ts +7 -0
  63. package/result/index.es.js +118 -0
  64. package/result/index.umd.js +1 -0
  65. package/result/package.json +7 -0
  66. package/result/style.css +1 -0
  67. package/ripple/index.es.js +5 -2
  68. package/ripple/index.umd.js +1 -1
  69. package/search/index.es.js +3 -3
  70. package/search/index.umd.js +1 -1
  71. package/skeleton/index.es.js +1 -1
  72. package/skeleton/index.umd.js +1 -1
  73. package/slider/index.es.js +1 -1
  74. package/slider/index.umd.js +1 -1
  75. package/splitter/index.es.js +24 -25
  76. package/splitter/index.umd.js +1 -1
  77. package/status/index.es.js +1 -1
  78. package/status/index.umd.js +1 -1
  79. package/style.css +1 -1
  80. package/switch/index.es.js +1 -1
  81. package/switch/index.umd.js +1 -1
  82. package/table/index.es.js +5 -3
  83. package/table/index.umd.js +1 -1
  84. package/tag/index.es.js +35 -9
  85. package/tag/index.umd.js +1 -1
  86. package/tag/style.css +1 -1
  87. package/tag-input/index.es.js +1 -1
  88. package/tag-input/index.umd.js +1 -1
  89. package/textarea/index.es.js +1 -1
  90. package/textarea/index.umd.js +1 -1
  91. package/time-axis/index.es.js +3 -1
  92. package/time-axis/index.umd.js +1 -1
  93. package/toast/index.es.js +1 -1
  94. package/toast/index.umd.js +1 -1
  95. package/transfer/index.es.js +2 -2
  96. package/transfer/index.umd.js +1 -1
  97. package/tree/index.es.js +160 -31
  98. package/tree/index.umd.js +1 -1
  99. package/upload/index.es.js +1 -1
  100. package/upload/index.umd.js +1 -1
  101. package/vue-devui.es.js +1098 -690
  102. package/vue-devui.umd.js +18 -18
package/vue-devui.es.js CHANGED
@@ -33,7 +33,7 @@ var __publicField = (obj, key, value) => {
33
33
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
34
34
  return value;
35
35
  };
36
- import { defineComponent as defineComponent$1, toRefs, computed, createVNode, Fragment, mergeProps, resolveComponent, onMounted, watch, ref, Transition, withDirectives, vShow, createTextVNode, inject, getCurrentInstance, onBeforeUnmount, provide, Comment as Comment$1, reactive, toRef, resolveDirective, onUnmounted, Teleport, renderSlot, isVNode, isRef as isRef$1, useSlots, createApp, h, render, readonly, nextTick as nextTick$1, onUpdated, shallowRef, onBeforeMount, unref as unref$1 } from "vue";
36
+ import { defineComponent as defineComponent$1, toRefs, computed, createVNode, Fragment, mergeProps, resolveComponent, onMounted, watch, ref, Transition, withDirectives, vShow, createTextVNode, inject, getCurrentInstance, onBeforeUnmount, provide, Comment as Comment$1, reactive, toRef, onUnmounted, resolveDirective, Teleport, renderSlot, isVNode, isRef as isRef$1, useSlots, createApp, h, render, readonly, nextTick as nextTick$1, onUpdated, shallowRef, onBeforeMount, unref as unref$1 } from "vue";
37
37
  const accordionProps = {
38
38
  data: {
39
39
  type: Array,
@@ -422,7 +422,7 @@ Alert.install = function(app) {
422
422
  var AlertInstall = {
423
423
  title: "Alert \u8B66\u544A",
424
424
  category: "\u53CD\u9988",
425
- status: "\u5DF2\u5B8C\u6210",
425
+ status: "100%",
426
426
  install(app) {
427
427
  app.use(Alert);
428
428
  }
@@ -582,11 +582,11 @@ function getAnchors(sidebarLinks) {
582
582
  }
583
583
  const randomId = function(n = 8) {
584
584
  const str = "abcdefghijklmnopqrstuvwxyz0123456789";
585
- let result = "";
585
+ let result2 = "";
586
586
  for (let i = 0; i < n; i++) {
587
- result += str[parseInt((Math.random() * str.length).toString())];
587
+ result2 += str[parseInt((Math.random() * str.length).toString())];
588
588
  }
589
- return result;
589
+ return result2;
590
590
  };
591
591
  const inBrowser = typeof window !== "undefined";
592
592
  var dAnchorBox = {
@@ -982,7 +982,7 @@ Avatar.install = function(app) {
982
982
  var AvatarInstall = {
983
983
  title: "Avatar \u5934\u50CF",
984
984
  category: "\u6570\u636E\u5C55\u793A",
985
- status: "\u5DF2\u5B8C\u6210",
985
+ status: "100%",
986
986
  install(app) {
987
987
  app.use(Avatar);
988
988
  }
@@ -1182,7 +1182,7 @@ Badge.install = function(app) {
1182
1182
  var BadgeInstall = {
1183
1183
  title: "Badge \u5FBD\u6807",
1184
1184
  category: "\u6570\u636E\u5C55\u793A",
1185
- status: "\u5DF2\u5B8C\u6210",
1185
+ status: "100%",
1186
1186
  install(app) {
1187
1187
  app.use(Badge);
1188
1188
  }
@@ -1363,7 +1363,7 @@ Icon.install = function(app) {
1363
1363
  var IconInstall = {
1364
1364
  title: "Icon \u56FE\u6807",
1365
1365
  category: "\u901A\u7528",
1366
- status: "\u5DF2\u5B8C\u6210",
1366
+ status: "100%",
1367
1367
  install(app) {
1368
1368
  app.use(Icon);
1369
1369
  }
@@ -1486,7 +1486,7 @@ DButton.install = function(app) {
1486
1486
  var ButtonInstall = {
1487
1487
  title: "Button \u6309\u94AE",
1488
1488
  category: "\u901A\u7528",
1489
- status: "\u5DF2\u5B8C\u6210",
1489
+ status: "100%",
1490
1490
  install(app) {
1491
1491
  app.use(DButton);
1492
1492
  }
@@ -1545,7 +1545,7 @@ Card.install = function(app) {
1545
1545
  var CardInstall = {
1546
1546
  title: "Card \u5361\u7247",
1547
1547
  category: "\u6570\u636E\u5C55\u793A",
1548
- status: "\u5DF2\u5B8C\u6210",
1548
+ status: "100%",
1549
1549
  install(app) {
1550
1550
  app.use(Card);
1551
1551
  }
@@ -1833,7 +1833,7 @@ function getRawTag(value) {
1833
1833
  var unmasked = true;
1834
1834
  } catch (e) {
1835
1835
  }
1836
- var result = nativeObjectToString$1.call(value);
1836
+ var result2 = nativeObjectToString$1.call(value);
1837
1837
  if (unmasked) {
1838
1838
  if (isOwn) {
1839
1839
  value[symToStringTag$1] = tag2;
@@ -1841,7 +1841,7 @@ function getRawTag(value) {
1841
1841
  delete value[symToStringTag$1];
1842
1842
  }
1843
1843
  }
1844
- return result;
1844
+ return result2;
1845
1845
  }
1846
1846
  var objectProto$e = Object.prototype;
1847
1847
  var nativeObjectToString = objectProto$e.toString;
@@ -1864,11 +1864,11 @@ function isSymbol$1(value) {
1864
1864
  return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$3;
1865
1865
  }
1866
1866
  function arrayMap(array4, iteratee) {
1867
- var index2 = -1, length = array4 == null ? 0 : array4.length, result = Array(length);
1867
+ var index2 = -1, length = array4 == null ? 0 : array4.length, result2 = Array(length);
1868
1868
  while (++index2 < length) {
1869
- result[index2] = iteratee(array4[index2], index2, array4);
1869
+ result2[index2] = iteratee(array4[index2], index2, array4);
1870
1870
  }
1871
- return result;
1871
+ return result2;
1872
1872
  }
1873
1873
  var isArray$1 = Array.isArray;
1874
1874
  var isArray$2 = isArray$1;
@@ -1884,8 +1884,8 @@ function baseToString(value) {
1884
1884
  if (isSymbol$1(value)) {
1885
1885
  return symbolToString ? symbolToString.call(value) : "";
1886
1886
  }
1887
- var result = value + "";
1888
- return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
1887
+ var result2 = value + "";
1888
+ return result2 == "0" && 1 / value == -INFINITY$1 ? "-0" : result2;
1889
1889
  }
1890
1890
  var reWhitespace = /\s/;
1891
1891
  function trimmedEndIndex(string3) {
@@ -1994,9 +1994,9 @@ var baseCreate = function() {
1994
1994
  return objectCreate(proto);
1995
1995
  }
1996
1996
  object4.prototype = proto;
1997
- var result = new object4();
1997
+ var result2 = new object4();
1998
1998
  object4.prototype = void 0;
1999
- return result;
1999
+ return result2;
2000
2000
  };
2001
2001
  }();
2002
2002
  var baseCreate$1 = baseCreate;
@@ -2181,11 +2181,11 @@ function isPrototype(value) {
2181
2181
  return value === proto;
2182
2182
  }
2183
2183
  function baseTimes(n, iteratee) {
2184
- var index2 = -1, result = Array(n);
2184
+ var index2 = -1, result2 = Array(n);
2185
2185
  while (++index2 < n) {
2186
- result[index2] = iteratee(index2);
2186
+ result2[index2] = iteratee(index2);
2187
2187
  }
2188
- return result;
2188
+ return result2;
2189
2189
  }
2190
2190
  var argsTag$3 = "[object Arguments]";
2191
2191
  function baseIsArguments(value) {
@@ -2244,13 +2244,13 @@ var isTypedArray$1 = isTypedArray;
2244
2244
  var objectProto$9 = Object.prototype;
2245
2245
  var hasOwnProperty$8 = objectProto$9.hasOwnProperty;
2246
2246
  function arrayLikeKeys(value, inherited) {
2247
- var isArr = isArray$2(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
2247
+ var isArr = isArray$2(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String) : [], length = result2.length;
2248
2248
  for (var key in value) {
2249
2249
  if ((inherited || hasOwnProperty$8.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
2250
- result.push(key);
2250
+ result2.push(key);
2251
2251
  }
2252
2252
  }
2253
- return result;
2253
+ return result2;
2254
2254
  }
2255
2255
  function overArg(func, transform) {
2256
2256
  return function(arg) {
@@ -2265,25 +2265,25 @@ function baseKeys(object4) {
2265
2265
  if (!isPrototype(object4)) {
2266
2266
  return nativeKeys$1(object4);
2267
2267
  }
2268
- var result = [];
2268
+ var result2 = [];
2269
2269
  for (var key in Object(object4)) {
2270
2270
  if (hasOwnProperty$7.call(object4, key) && key != "constructor") {
2271
- result.push(key);
2271
+ result2.push(key);
2272
2272
  }
2273
2273
  }
2274
- return result;
2274
+ return result2;
2275
2275
  }
2276
2276
  function keys(object4) {
2277
2277
  return isArrayLike(object4) ? arrayLikeKeys(object4) : baseKeys(object4);
2278
2278
  }
2279
2279
  function nativeKeysIn(object4) {
2280
- var result = [];
2280
+ var result2 = [];
2281
2281
  if (object4 != null) {
2282
2282
  for (var key in Object(object4)) {
2283
- result.push(key);
2283
+ result2.push(key);
2284
2284
  }
2285
2285
  }
2286
- return result;
2286
+ return result2;
2287
2287
  }
2288
2288
  var objectProto$7 = Object.prototype;
2289
2289
  var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
@@ -2291,13 +2291,13 @@ function baseKeysIn(object4) {
2291
2291
  if (!isObject$2(object4)) {
2292
2292
  return nativeKeysIn(object4);
2293
2293
  }
2294
- var isProto = isPrototype(object4), result = [];
2294
+ var isProto = isPrototype(object4), result2 = [];
2295
2295
  for (var key in object4) {
2296
2296
  if (!(key == "constructor" && (isProto || !hasOwnProperty$6.call(object4, key)))) {
2297
- result.push(key);
2297
+ result2.push(key);
2298
2298
  }
2299
2299
  }
2300
- return result;
2300
+ return result2;
2301
2301
  }
2302
2302
  function keysIn(object4) {
2303
2303
  return isArrayLike(object4) ? arrayLikeKeys(object4, true) : baseKeysIn(object4);
@@ -2320,9 +2320,9 @@ function hashClear() {
2320
2320
  this.size = 0;
2321
2321
  }
2322
2322
  function hashDelete(key) {
2323
- var result = this.has(key) && delete this.__data__[key];
2324
- this.size -= result ? 1 : 0;
2325
- return result;
2323
+ var result2 = this.has(key) && delete this.__data__[key];
2324
+ this.size -= result2 ? 1 : 0;
2325
+ return result2;
2326
2326
  }
2327
2327
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
2328
2328
  var objectProto$6 = Object.prototype;
@@ -2330,8 +2330,8 @@ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
2330
2330
  function hashGet(key) {
2331
2331
  var data = this.__data__;
2332
2332
  if (nativeCreate$1) {
2333
- var result = data[key];
2334
- return result === HASH_UNDEFINED$2 ? void 0 : result;
2333
+ var result2 = data[key];
2334
+ return result2 === HASH_UNDEFINED$2 ? void 0 : result2;
2335
2335
  }
2336
2336
  return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
2337
2337
  }
@@ -2439,9 +2439,9 @@ function getMapData(map, key) {
2439
2439
  return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
2440
2440
  }
2441
2441
  function mapCacheDelete(key) {
2442
- var result = getMapData(this, key)["delete"](key);
2443
- this.size -= result ? 1 : 0;
2444
- return result;
2442
+ var result2 = getMapData(this, key)["delete"](key);
2443
+ this.size -= result2 ? 1 : 0;
2444
+ return result2;
2445
2445
  }
2446
2446
  function mapCacheGet(key) {
2447
2447
  return getMapData(this, key).get(key);
@@ -2478,9 +2478,9 @@ function memoize(func, resolver) {
2478
2478
  if (cache.has(key)) {
2479
2479
  return cache.get(key);
2480
2480
  }
2481
- var result = func.apply(this, args);
2482
- memoized.cache = cache.set(key, result) || cache;
2483
- return result;
2481
+ var result2 = func.apply(this, args);
2482
+ memoized.cache = cache.set(key, result2) || cache;
2483
+ return result2;
2484
2484
  };
2485
2485
  memoized.cache = new (memoize.Cache || MapCache)();
2486
2486
  return memoized;
@@ -2488,26 +2488,26 @@ function memoize(func, resolver) {
2488
2488
  memoize.Cache = MapCache;
2489
2489
  var MAX_MEMOIZE_SIZE = 500;
2490
2490
  function memoizeCapped(func) {
2491
- var result = memoize(func, function(key) {
2491
+ var result2 = memoize(func, function(key) {
2492
2492
  if (cache.size === MAX_MEMOIZE_SIZE) {
2493
2493
  cache.clear();
2494
2494
  }
2495
2495
  return key;
2496
2496
  });
2497
- var cache = result.cache;
2498
- return result;
2497
+ var cache = result2.cache;
2498
+ return result2;
2499
2499
  }
2500
2500
  var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
2501
2501
  var reEscapeChar = /\\(\\)?/g;
2502
2502
  var stringToPath = memoizeCapped(function(string3) {
2503
- var result = [];
2503
+ var result2 = [];
2504
2504
  if (string3.charCodeAt(0) === 46) {
2505
- result.push("");
2505
+ result2.push("");
2506
2506
  }
2507
2507
  string3.replace(rePropName, function(match, number4, quote, subString) {
2508
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number4 || match);
2508
+ result2.push(quote ? subString.replace(reEscapeChar, "$1") : number4 || match);
2509
2509
  });
2510
- return result;
2510
+ return result2;
2511
2511
  });
2512
2512
  var stringToPath$1 = stringToPath;
2513
2513
  function toString(value) {
@@ -2524,8 +2524,8 @@ function toKey(value) {
2524
2524
  if (typeof value == "string" || isSymbol$1(value)) {
2525
2525
  return value;
2526
2526
  }
2527
- var result = value + "";
2528
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
2527
+ var result2 = value + "";
2528
+ return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
2529
2529
  }
2530
2530
  function baseGet(object4, path) {
2531
2531
  path = castPath(path, object4);
@@ -2546,23 +2546,23 @@ var spreadableSymbol = Symbol$2 ? Symbol$2.isConcatSpreadable : void 0;
2546
2546
  function isFlattenable(value) {
2547
2547
  return isArray$2(value) || isArguments$1(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
2548
2548
  }
2549
- function baseFlatten(array4, depth, predicate, isStrict, result) {
2549
+ function baseFlatten(array4, depth, predicate, isStrict, result2) {
2550
2550
  var index2 = -1, length = array4.length;
2551
2551
  predicate || (predicate = isFlattenable);
2552
- result || (result = []);
2552
+ result2 || (result2 = []);
2553
2553
  while (++index2 < length) {
2554
2554
  var value = array4[index2];
2555
2555
  if (depth > 0 && predicate(value)) {
2556
2556
  if (depth > 1) {
2557
- baseFlatten(value, depth - 1, predicate, isStrict, result);
2557
+ baseFlatten(value, depth - 1, predicate, isStrict, result2);
2558
2558
  } else {
2559
- arrayPush(result, value);
2559
+ arrayPush(result2, value);
2560
2560
  }
2561
2561
  } else if (!isStrict) {
2562
- result[result.length] = value;
2562
+ result2[result2.length] = value;
2563
2563
  }
2564
2564
  }
2565
- return result;
2565
+ return result2;
2566
2566
  }
2567
2567
  function flatten$1(array4) {
2568
2568
  var length = array4 == null ? 0 : array4.length;
@@ -2600,20 +2600,20 @@ function baseSlice(array4, start, end) {
2600
2600
  }
2601
2601
  length = start > end ? 0 : end - start >>> 0;
2602
2602
  start >>>= 0;
2603
- var result = Array(length);
2603
+ var result2 = Array(length);
2604
2604
  while (++index2 < length) {
2605
- result[index2] = array4[index2 + start];
2605
+ result2[index2] = array4[index2 + start];
2606
2606
  }
2607
- return result;
2607
+ return result2;
2608
2608
  }
2609
2609
  function stackClear() {
2610
2610
  this.__data__ = new ListCache();
2611
2611
  this.size = 0;
2612
2612
  }
2613
2613
  function stackDelete(key) {
2614
- var data = this.__data__, result = data["delete"](key);
2614
+ var data = this.__data__, result2 = data["delete"](key);
2615
2615
  this.size = data.size;
2616
- return result;
2616
+ return result2;
2617
2617
  }
2618
2618
  function stackGet(key) {
2619
2619
  return this.__data__.get(key);
@@ -2660,19 +2660,19 @@ function cloneBuffer(buffer, isDeep) {
2660
2660
  if (isDeep) {
2661
2661
  return buffer.slice();
2662
2662
  }
2663
- var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
2664
- buffer.copy(result);
2665
- return result;
2663
+ var length = buffer.length, result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
2664
+ buffer.copy(result2);
2665
+ return result2;
2666
2666
  }
2667
2667
  function arrayFilter(array4, predicate) {
2668
- var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result = [];
2668
+ var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result2 = [];
2669
2669
  while (++index2 < length) {
2670
2670
  var value = array4[index2];
2671
2671
  if (predicate(value, index2, array4)) {
2672
- result[resIndex++] = value;
2672
+ result2[resIndex++] = value;
2673
2673
  }
2674
2674
  }
2675
- return result;
2675
+ return result2;
2676
2676
  }
2677
2677
  function stubArray() {
2678
2678
  return [];
@@ -2695,20 +2695,20 @@ function copySymbols(source, object4) {
2695
2695
  }
2696
2696
  var nativeGetSymbols = Object.getOwnPropertySymbols;
2697
2697
  var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object4) {
2698
- var result = [];
2698
+ var result2 = [];
2699
2699
  while (object4) {
2700
- arrayPush(result, getSymbols$1(object4));
2700
+ arrayPush(result2, getSymbols$1(object4));
2701
2701
  object4 = getPrototype$1(object4);
2702
2702
  }
2703
- return result;
2703
+ return result2;
2704
2704
  };
2705
2705
  var getSymbolsIn$1 = getSymbolsIn;
2706
2706
  function copySymbolsIn(source, object4) {
2707
2707
  return copyObject(source, getSymbolsIn$1(source), object4);
2708
2708
  }
2709
2709
  function baseGetAllKeys(object4, keysFunc, symbolsFunc) {
2710
- var result = keysFunc(object4);
2711
- return isArray$2(object4) ? result : arrayPush(result, symbolsFunc(object4));
2710
+ var result2 = keysFunc(object4);
2711
+ return isArray$2(object4) ? result2 : arrayPush(result2, symbolsFunc(object4));
2712
2712
  }
2713
2713
  function getAllKeys(object4) {
2714
2714
  return baseGetAllKeys(object4, keys, getSymbols$1);
@@ -2728,7 +2728,7 @@ var dataViewCtorString = toSource(DataView$1), mapCtorString = toSource(Map$2),
2728
2728
  var getTag = baseGetTag;
2729
2729
  if (DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3 || Map$2 && getTag(new Map$2()) != mapTag$4 || Promise$2 && getTag(Promise$2.resolve()) != promiseTag || Set$2 && getTag(new Set$2()) != setTag$4 || WeakMap$2 && getTag(new WeakMap$2()) != weakMapTag$1) {
2730
2730
  getTag = function(value) {
2731
- var result = baseGetTag(value), Ctor = result == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
2731
+ var result2 = baseGetTag(value), Ctor = result2 == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
2732
2732
  if (ctorString) {
2733
2733
  switch (ctorString) {
2734
2734
  case dataViewCtorString:
@@ -2743,26 +2743,26 @@ if (DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3 ||
2743
2743
  return weakMapTag$1;
2744
2744
  }
2745
2745
  }
2746
- return result;
2746
+ return result2;
2747
2747
  };
2748
2748
  }
2749
2749
  var getTag$1 = getTag;
2750
2750
  var objectProto$2 = Object.prototype;
2751
2751
  var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
2752
2752
  function initCloneArray(array4) {
2753
- var length = array4.length, result = new array4.constructor(length);
2753
+ var length = array4.length, result2 = new array4.constructor(length);
2754
2754
  if (length && typeof array4[0] == "string" && hasOwnProperty$2.call(array4, "index")) {
2755
- result.index = array4.index;
2756
- result.input = array4.input;
2755
+ result2.index = array4.index;
2756
+ result2.input = array4.input;
2757
2757
  }
2758
- return result;
2758
+ return result2;
2759
2759
  }
2760
2760
  var Uint8Array2 = root$1.Uint8Array;
2761
2761
  var Uint8Array$1 = Uint8Array2;
2762
2762
  function cloneArrayBuffer(arrayBuffer) {
2763
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
2764
- new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
2765
- return result;
2763
+ var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
2764
+ new Uint8Array$1(result2).set(new Uint8Array$1(arrayBuffer));
2765
+ return result2;
2766
2766
  }
2767
2767
  function cloneDataView(dataView, isDeep) {
2768
2768
  var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
@@ -2770,9 +2770,9 @@ function cloneDataView(dataView, isDeep) {
2770
2770
  }
2771
2771
  var reFlags = /\w*$/;
2772
2772
  function cloneRegExp(regexp4) {
2773
- var result = new regexp4.constructor(regexp4.source, reFlags.exec(regexp4));
2774
- result.lastIndex = regexp4.lastIndex;
2775
- return result;
2773
+ var result2 = new regexp4.constructor(regexp4.source, reFlags.exec(regexp4));
2774
+ result2.lastIndex = regexp4.lastIndex;
2775
+ return result2;
2776
2776
  }
2777
2777
  var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : void 0, symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : void 0;
2778
2778
  function cloneSymbol(symbol) {
@@ -2841,21 +2841,21 @@ var cloneableTags = {};
2841
2841
  cloneableTags[argsTag$1] = cloneableTags[arrayTag$1] = cloneableTags[arrayBufferTag$1] = cloneableTags[dataViewTag$1] = cloneableTags[boolTag$1] = cloneableTags[dateTag$1] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag$1] = cloneableTags[numberTag$1] = cloneableTags[objectTag$1] = cloneableTags[regexpTag$1] = cloneableTags[setTag$1] = cloneableTags[stringTag$1] = cloneableTags[symbolTag$1] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
2842
2842
  cloneableTags[errorTag$1] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
2843
2843
  function baseClone(value, bitmask, customizer, key, object4, stack) {
2844
- var result, isDeep = bitmask & CLONE_DEEP_FLAG$2, isFlat = bitmask & CLONE_FLAT_FLAG$1, isFull = bitmask & CLONE_SYMBOLS_FLAG$2;
2844
+ var result2, isDeep = bitmask & CLONE_DEEP_FLAG$2, isFlat = bitmask & CLONE_FLAT_FLAG$1, isFull = bitmask & CLONE_SYMBOLS_FLAG$2;
2845
2845
  if (customizer) {
2846
- result = object4 ? customizer(value, key, object4, stack) : customizer(value);
2846
+ result2 = object4 ? customizer(value, key, object4, stack) : customizer(value);
2847
2847
  }
2848
- if (result !== void 0) {
2849
- return result;
2848
+ if (result2 !== void 0) {
2849
+ return result2;
2850
2850
  }
2851
2851
  if (!isObject$2(value)) {
2852
2852
  return value;
2853
2853
  }
2854
2854
  var isArr = isArray$2(value);
2855
2855
  if (isArr) {
2856
- result = initCloneArray(value);
2856
+ result2 = initCloneArray(value);
2857
2857
  if (!isDeep) {
2858
- return copyArray(value, result);
2858
+ return copyArray(value, result2);
2859
2859
  }
2860
2860
  } else {
2861
2861
  var tag2 = getTag$1(value), isFunc = tag2 == funcTag || tag2 == genTag;
@@ -2863,15 +2863,15 @@ function baseClone(value, bitmask, customizer, key, object4, stack) {
2863
2863
  return cloneBuffer(value, isDeep);
2864
2864
  }
2865
2865
  if (tag2 == objectTag$1 || tag2 == argsTag$1 || isFunc && !object4) {
2866
- result = isFlat || isFunc ? {} : initCloneObject(value);
2866
+ result2 = isFlat || isFunc ? {} : initCloneObject(value);
2867
2867
  if (!isDeep) {
2868
- return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
2868
+ return isFlat ? copySymbolsIn(value, baseAssignIn(result2, value)) : copySymbols(value, baseAssign(result2, value));
2869
2869
  }
2870
2870
  } else {
2871
2871
  if (!cloneableTags[tag2]) {
2872
2872
  return object4 ? value : {};
2873
2873
  }
2874
- result = initCloneByTag(value, tag2, isDeep);
2874
+ result2 = initCloneByTag(value, tag2, isDeep);
2875
2875
  }
2876
2876
  }
2877
2877
  stack || (stack = new Stack());
@@ -2879,14 +2879,14 @@ function baseClone(value, bitmask, customizer, key, object4, stack) {
2879
2879
  if (stacked) {
2880
2880
  return stacked;
2881
2881
  }
2882
- stack.set(value, result);
2882
+ stack.set(value, result2);
2883
2883
  if (isSet$2(value)) {
2884
2884
  value.forEach(function(subValue) {
2885
- result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
2885
+ result2.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
2886
2886
  });
2887
2887
  } else if (isMap$2(value)) {
2888
2888
  value.forEach(function(subValue, key2) {
2889
- result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
2889
+ result2.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
2890
2890
  });
2891
2891
  }
2892
2892
  var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;
@@ -2896,9 +2896,9 @@ function baseClone(value, bitmask, customizer, key, object4, stack) {
2896
2896
  key2 = subValue;
2897
2897
  subValue = value[key2];
2898
2898
  }
2899
- assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
2899
+ assignValue(result2, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
2900
2900
  });
2901
- return result;
2901
+ return result2;
2902
2902
  }
2903
2903
  var CLONE_DEEP_FLAG$1 = 1, CLONE_SYMBOLS_FLAG$1 = 4;
2904
2904
  function cloneDeep(value) {
@@ -2944,7 +2944,7 @@ function equalArrays(array4, other, bitmask, customizer, equalFunc, stack) {
2944
2944
  if (arrStacked && othStacked) {
2945
2945
  return arrStacked == other && othStacked == array4;
2946
2946
  }
2947
- var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$1 ? new SetCache() : void 0;
2947
+ var index2 = -1, result2 = true, seen = bitmask & COMPARE_UNORDERED_FLAG$1 ? new SetCache() : void 0;
2948
2948
  stack.set(array4, other);
2949
2949
  stack.set(other, array4);
2950
2950
  while (++index2 < arrLength) {
@@ -2956,7 +2956,7 @@ function equalArrays(array4, other, bitmask, customizer, equalFunc, stack) {
2956
2956
  if (compared) {
2957
2957
  continue;
2958
2958
  }
2959
- result = false;
2959
+ result2 = false;
2960
2960
  break;
2961
2961
  }
2962
2962
  if (seen) {
@@ -2965,31 +2965,31 @@ function equalArrays(array4, other, bitmask, customizer, equalFunc, stack) {
2965
2965
  return seen.push(othIndex);
2966
2966
  }
2967
2967
  })) {
2968
- result = false;
2968
+ result2 = false;
2969
2969
  break;
2970
2970
  }
2971
2971
  } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
2972
- result = false;
2972
+ result2 = false;
2973
2973
  break;
2974
2974
  }
2975
2975
  }
2976
2976
  stack["delete"](array4);
2977
2977
  stack["delete"](other);
2978
- return result;
2978
+ return result2;
2979
2979
  }
2980
2980
  function mapToArray(map) {
2981
- var index2 = -1, result = Array(map.size);
2981
+ var index2 = -1, result2 = Array(map.size);
2982
2982
  map.forEach(function(value, key) {
2983
- result[++index2] = [key, value];
2983
+ result2[++index2] = [key, value];
2984
2984
  });
2985
- return result;
2985
+ return result2;
2986
2986
  }
2987
2987
  function setToArray(set) {
2988
- var index2 = -1, result = Array(set.size);
2988
+ var index2 = -1, result2 = Array(set.size);
2989
2989
  set.forEach(function(value) {
2990
- result[++index2] = value;
2990
+ result2[++index2] = value;
2991
2991
  });
2992
- return result;
2992
+ return result2;
2993
2993
  }
2994
2994
  var COMPARE_PARTIAL_FLAG$2 = 1, COMPARE_UNORDERED_FLAG = 2;
2995
2995
  var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
@@ -3031,9 +3031,9 @@ function equalByTag(object4, other, tag2, bitmask, customizer, equalFunc, stack)
3031
3031
  }
3032
3032
  bitmask |= COMPARE_UNORDERED_FLAG;
3033
3033
  stack.set(object4, other);
3034
- var result = equalArrays(convert(object4), convert(other), bitmask, customizer, equalFunc, stack);
3034
+ var result2 = equalArrays(convert(object4), convert(other), bitmask, customizer, equalFunc, stack);
3035
3035
  stack["delete"](object4);
3036
- return result;
3036
+ return result2;
3037
3037
  case symbolTag:
3038
3038
  if (symbolValueOf) {
3039
3039
  return symbolValueOf.call(object4) == symbolValueOf.call(other);
@@ -3061,7 +3061,7 @@ function equalObjects(object4, other, bitmask, customizer, equalFunc, stack) {
3061
3061
  if (objStacked && othStacked) {
3062
3062
  return objStacked == other && othStacked == object4;
3063
3063
  }
3064
- var result = true;
3064
+ var result2 = true;
3065
3065
  stack.set(object4, other);
3066
3066
  stack.set(other, object4);
3067
3067
  var skipCtor = isPartial;
@@ -3072,20 +3072,20 @@ function equalObjects(object4, other, bitmask, customizer, equalFunc, stack) {
3072
3072
  var compared = isPartial ? customizer(othValue, objValue, key, other, object4, stack) : customizer(objValue, othValue, key, object4, other, stack);
3073
3073
  }
3074
3074
  if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
3075
- result = false;
3075
+ result2 = false;
3076
3076
  break;
3077
3077
  }
3078
3078
  skipCtor || (skipCtor = key == "constructor");
3079
3079
  }
3080
- if (result && !skipCtor) {
3080
+ if (result2 && !skipCtor) {
3081
3081
  var objCtor = object4.constructor, othCtor = other.constructor;
3082
3082
  if (objCtor != othCtor && ("constructor" in object4 && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
3083
- result = false;
3083
+ result2 = false;
3084
3084
  }
3085
3085
  }
3086
3086
  stack["delete"](object4);
3087
3087
  stack["delete"](other);
3088
- return result;
3088
+ return result2;
3089
3089
  }
3090
3090
  var COMPARE_PARTIAL_FLAG = 1;
3091
3091
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
@@ -3151,7 +3151,7 @@ var now$1 = now;
3151
3151
  var FUNC_ERROR_TEXT$1 = "Expected a function";
3152
3152
  var nativeMax = Math.max, nativeMin = Math.min;
3153
3153
  function debounce$1(func, wait, options) {
3154
- var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
3154
+ var lastArgs, lastThis, maxWait, result2, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
3155
3155
  if (typeof func != "function") {
3156
3156
  throw new TypeError(FUNC_ERROR_TEXT$1);
3157
3157
  }
@@ -3166,13 +3166,13 @@ function debounce$1(func, wait, options) {
3166
3166
  var args = lastArgs, thisArg = lastThis;
3167
3167
  lastArgs = lastThis = void 0;
3168
3168
  lastInvokeTime = time;
3169
- result = func.apply(thisArg, args);
3170
- return result;
3169
+ result2 = func.apply(thisArg, args);
3170
+ return result2;
3171
3171
  }
3172
3172
  function leadingEdge(time) {
3173
3173
  lastInvokeTime = time;
3174
3174
  timerId = setTimeout(timerExpired, wait);
3175
- return leading ? invokeFunc(time) : result;
3175
+ return leading ? invokeFunc(time) : result2;
3176
3176
  }
3177
3177
  function remainingWait(time) {
3178
3178
  var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
@@ -3195,7 +3195,7 @@ function debounce$1(func, wait, options) {
3195
3195
  return invokeFunc(time);
3196
3196
  }
3197
3197
  lastArgs = lastThis = void 0;
3198
- return result;
3198
+ return result2;
3199
3199
  }
3200
3200
  function cancel() {
3201
3201
  if (timerId !== void 0) {
@@ -3205,7 +3205,7 @@ function debounce$1(func, wait, options) {
3205
3205
  lastArgs = lastCallTime = lastThis = timerId = void 0;
3206
3206
  }
3207
3207
  function flush() {
3208
- return timerId === void 0 ? result : trailingEdge(now$1());
3208
+ return timerId === void 0 ? result2 : trailingEdge(now$1());
3209
3209
  }
3210
3210
  function debounced() {
3211
3211
  var time = now$1(), isInvoking = shouldInvoke(time);
@@ -3225,7 +3225,7 @@ function debounce$1(func, wait, options) {
3225
3225
  if (timerId === void 0) {
3226
3226
  timerId = setTimeout(timerExpired, wait);
3227
3227
  }
3228
- return result;
3228
+ return result2;
3229
3229
  }
3230
3230
  debounced.cancel = cancel;
3231
3231
  debounced.flush = flush;
@@ -3335,9 +3335,9 @@ function customOmitClone(value) {
3335
3335
  }
3336
3336
  var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;
3337
3337
  var omit = flatRest(function(object4, paths) {
3338
- var result = {};
3338
+ var result2 = {};
3339
3339
  if (object4 == null) {
3340
- return result;
3340
+ return result2;
3341
3341
  }
3342
3342
  var isDeep = false;
3343
3343
  paths = arrayMap(paths, function(path) {
@@ -3345,15 +3345,15 @@ var omit = flatRest(function(object4, paths) {
3345
3345
  isDeep || (isDeep = path.length > 1);
3346
3346
  return path;
3347
3347
  });
3348
- copyObject(object4, getAllKeysIn(object4), result);
3348
+ copyObject(object4, getAllKeysIn(object4), result2);
3349
3349
  if (isDeep) {
3350
- result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
3350
+ result2 = baseClone(result2, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
3351
3351
  }
3352
3352
  var length = paths.length;
3353
3353
  while (length--) {
3354
- baseUnset(result, paths[length]);
3354
+ baseUnset(result2, paths[length]);
3355
3355
  }
3356
- return result;
3356
+ return result2;
3357
3357
  });
3358
3358
  var omit$1 = omit;
3359
3359
  var FUNC_ERROR_TEXT = "Expected a function";
@@ -3886,7 +3886,7 @@ var Cascader = defineComponent$1({
3886
3886
  }, null) : createVNode(resolveComponent("d-input"), {
3887
3887
  "disabled": props.disabled,
3888
3888
  "placeholder": props.placeholder,
3889
- "value": inputValue.value
3889
+ "modelValue": inputValue.value
3890
3890
  }, null), createVNode("div", {
3891
3891
  "class": "devui-cascader__icon devui-drop-icon-animation"
3892
3892
  }, [createVNode(resolveComponent("d-icon"), {
@@ -4276,7 +4276,7 @@ DCheckboxGroup.install = function(app) {
4276
4276
  var CheckboxInstall = {
4277
4277
  title: "Checkbox \u590D\u9009\u6846",
4278
4278
  category: "\u6570\u636E\u5F55\u5165",
4279
- status: "\u5DF2\u5B8C\u6210",
4279
+ status: "100%",
4280
4280
  install(app) {
4281
4281
  app.use(Checkbox);
4282
4282
  app.use(DCheckboxGroup);
@@ -4337,6 +4337,171 @@ var CommentInstall = {
4337
4337
  app.use(Comment);
4338
4338
  }
4339
4339
  };
4340
+ const countdownProps = {
4341
+ value: {
4342
+ type: Number,
4343
+ required: true
4344
+ },
4345
+ format: {
4346
+ type: String,
4347
+ default: "HH:mm:ss"
4348
+ },
4349
+ prefix: {
4350
+ type: String,
4351
+ default: ""
4352
+ },
4353
+ suffix: {
4354
+ type: String,
4355
+ default: ""
4356
+ },
4357
+ valueStyle: {
4358
+ type: Object,
4359
+ default: () => {
4360
+ return {};
4361
+ }
4362
+ }
4363
+ };
4364
+ var countdown = "";
4365
+ const getFormatTime = (leftTime) => {
4366
+ const timeformat = new Map([["Y", 0], ["M", 0], ["D", 0], ["H", 0], ["m", 0], ["s", 0], ["S", 0]]);
4367
+ const year = Math.floor(leftTime / (365 * 24 * 60 * 60 * 1e3));
4368
+ const month = Math.floor(leftTime / (30 * 24 * 60 * 60 * 1e3) % 12);
4369
+ const day = Math.floor(leftTime / (24 * 60 * 60 * 1e3) % 30);
4370
+ const hour = Math.floor(leftTime / (60 * 60 * 1e3) % 24);
4371
+ const minute = Math.floor(leftTime / (60 * 1e3) % 60);
4372
+ const second = Math.floor(leftTime / 1e3 % 60);
4373
+ const millsecond = leftTime % 1e3;
4374
+ timeformat.set("Y", year);
4375
+ timeformat.set("M", month);
4376
+ timeformat.set("D", day);
4377
+ timeformat.set("H", hour);
4378
+ timeformat.set("m", minute);
4379
+ timeformat.set("s", second);
4380
+ timeformat.set("S", millsecond);
4381
+ return timeformat;
4382
+ };
4383
+ const getLegalTime = (s, timeformat) => {
4384
+ const dateValue = new Map([["Y", 0], ["M", 0], ["D", 0], ["H", 0], ["m", 0], ["s", 0], ["S", 0]]);
4385
+ const m = new Map([["Y", 12], ["M", 30], ["D", 24], ["H", 60], ["m", 60], ["s", 1e3], ["S", 1]]);
4386
+ let storage = 0;
4387
+ for (const k of dateValue.keys()) {
4388
+ if (s.has(k)) {
4389
+ dateValue.set(k, timeformat.get(k) + storage);
4390
+ storage = 0;
4391
+ } else {
4392
+ storage += timeformat.get(k) * m.get(k);
4393
+ }
4394
+ }
4395
+ if (!s.has("S") && timeformat.get("S") > 500) {
4396
+ dateValue.set("s", dateValue.get("s") + 1);
4397
+ }
4398
+ return dateValue;
4399
+ };
4400
+ const getTimeSplit = (format2) => {
4401
+ const fomatMap = new Set(["Y", "M", "D", "H", "m", "s", "S"]);
4402
+ const m = [];
4403
+ for (let i = 0; i < format2.length; i++) {
4404
+ const k = format2[i];
4405
+ if (m.length === 0 || m[m.length - 1].k !== k || !fomatMap.has(k)) {
4406
+ m.push({ k, n: 1 });
4407
+ } else {
4408
+ m[m.length - 1].n++;
4409
+ }
4410
+ }
4411
+ return m;
4412
+ };
4413
+ const getDeduplication = (format2) => {
4414
+ const fomatMap = new Set(["Y", "M", "D", "H", "m", "s", "S"]);
4415
+ const s = new Set();
4416
+ for (let i = 0; i < format2.length; i++) {
4417
+ const k = format2[i];
4418
+ if (fomatMap.has(k)) {
4419
+ s.add(k);
4420
+ }
4421
+ }
4422
+ return s;
4423
+ };
4424
+ const numFormat = (n, len) => {
4425
+ const maxNum = 10 ** len - 1;
4426
+ if (n >= maxNum) {
4427
+ return n;
4428
+ } else {
4429
+ const carryLen = len - n.toString().length;
4430
+ let str = "";
4431
+ for (let i = 0; i < carryLen; i++) {
4432
+ str += "0";
4433
+ }
4434
+ return str + n;
4435
+ }
4436
+ };
4437
+ var Countdown = defineComponent$1({
4438
+ name: "DCountdown",
4439
+ props: countdownProps,
4440
+ emits: ["onChange", "onFinish"],
4441
+ setup(props, ctx2) {
4442
+ const s = getDeduplication(props.format);
4443
+ const timeFormat = getTimeSplit(props.format);
4444
+ const timeStr = ref("");
4445
+ const getTimeStr = (legalTime) => {
4446
+ const fomatMap = new Set(["Y", "M", "D", "H", "m", "s", "S"]);
4447
+ const t = timeFormat.reduce((pre, cur) => {
4448
+ if (fomatMap.has(cur.k)) {
4449
+ return pre + numFormat(legalTime.get(cur.k), cur.n);
4450
+ }
4451
+ return pre + cur.k;
4452
+ }, "");
4453
+ timeStr.value = t;
4454
+ };
4455
+ const getTime = () => {
4456
+ const leftTime = props.value > new Date().getTime() ? props.value - new Date().getTime() : 0;
4457
+ const formatTime = getFormatTime(leftTime);
4458
+ const legalTime = getLegalTime(s, formatTime);
4459
+ !ctx2.slots.default && getTimeStr(legalTime);
4460
+ ctx2.emit("onChange", {
4461
+ leftTime,
4462
+ formatTime,
4463
+ legalTime
4464
+ });
4465
+ return leftTime;
4466
+ };
4467
+ const countdown2 = setInterval(() => {
4468
+ const t = getTime();
4469
+ if (t === 0) {
4470
+ ctx2.emit("onFinish");
4471
+ clearInterval(countdown2);
4472
+ }
4473
+ }, s.has("S") ? 100 : 1e3);
4474
+ getTime();
4475
+ onUnmounted(() => {
4476
+ clearInterval(countdown2);
4477
+ });
4478
+ return () => {
4479
+ return createVNode("div", {
4480
+ "class": "devui-countdown"
4481
+ }, [ctx2.slots.default ? ctx2.slots.default() : createVNode("div", {
4482
+ "class": "countdown-content",
4483
+ "style": props.valueStyle
4484
+ }, [createVNode("span", {
4485
+ "class": "countdown-prefix"
4486
+ }, [props.prefix]), createVNode("span", {
4487
+ "class": "countdown-value"
4488
+ }, [timeStr.value]), createVNode("span", {
4489
+ "class": "countdown-suffix"
4490
+ }, [props.suffix])])]);
4491
+ };
4492
+ }
4493
+ });
4494
+ Countdown.install = function(app) {
4495
+ app.component(Countdown.name, Countdown);
4496
+ };
4497
+ var CountdownInstall = {
4498
+ title: "Countdown \u5012\u8BA1\u65F6",
4499
+ category: "\u6570\u636E\u5C55\u793A",
4500
+ status: "100%",
4501
+ install(app) {
4502
+ app.use(Countdown);
4503
+ }
4504
+ };
4340
4505
  const getDateTime = (d) => {
4341
4506
  const year = d.getFullYear();
4342
4507
  const month = d.getMonth() + 1;
@@ -4794,7 +4959,7 @@ DInput.install = function(app) {
4794
4959
  var InputInstall = {
4795
4960
  title: "Input \u8F93\u5165\u6846",
4796
4961
  category: "\u6570\u636E\u5F55\u5165",
4797
- status: "\u5DF2\u5B8C\u6210",
4962
+ status: "100%",
4798
4963
  install(app) {
4799
4964
  app.use(DInput);
4800
4965
  }
@@ -5408,7 +5573,7 @@ var DatePicker = defineComponent$1({
5408
5573
  }, [createVNode(DInput, {
5409
5574
  "ref": input2,
5410
5575
  "class": "datepicker-input",
5411
- "value": state.value,
5576
+ "modelValue": state.value,
5412
5577
  "placeholder": state.placeholder,
5413
5578
  "onFocus": () => state.show = true
5414
5579
  }, null), createVNode(Icon, {
@@ -5579,6 +5744,13 @@ const drawerProps = {
5579
5744
  position: {
5580
5745
  type: String,
5581
5746
  default: "left"
5747
+ },
5748
+ backdropCloseable: {
5749
+ type: Boolean,
5750
+ default: true
5751
+ },
5752
+ beforeHidden: {
5753
+ type: [Promise, Function]
5582
5754
  }
5583
5755
  };
5584
5756
  var drawerHeader = "";
@@ -5662,35 +5834,41 @@ var DrawerBody = defineComponent$1({
5662
5834
  const position = inject("position");
5663
5835
  const width = inject("width");
5664
5836
  const visible = inject("visible");
5837
+ const backdropCloseable = inject("backdropCloseable");
5665
5838
  const navRight = computed(() => position.value === "right" ? {
5666
5839
  "right": 0
5667
5840
  } : {
5668
5841
  "left": 0
5669
5842
  });
5670
5843
  const navWidth = computed(() => isFullScreen.value ? "100vw" : width.value);
5671
- let clickContent = (e) => {
5844
+ const clickContent = (e) => {
5672
5845
  e.stopPropagation();
5673
5846
  };
5847
+ const handleDrawerClose = () => {
5848
+ if (!backdropCloseable.value)
5849
+ return;
5850
+ closeDrawer();
5851
+ };
5674
5852
  return {
5675
- closeDrawer,
5676
5853
  zindex,
5677
5854
  slots,
5678
5855
  isCover,
5679
5856
  navRight,
5680
5857
  navWidth,
5681
5858
  visible,
5682
- clickContent
5859
+ clickContent,
5860
+ handleDrawerClose
5683
5861
  };
5684
5862
  },
5685
5863
  render() {
5686
5864
  const {
5687
5865
  zindex,
5688
- closeDrawer,
5689
5866
  slots,
5690
5867
  isCover,
5691
5868
  navRight,
5692
5869
  navWidth,
5693
- visible
5870
+ visible,
5871
+ handleDrawerClose
5694
5872
  } = this;
5695
5873
  if (!visible)
5696
5874
  return null;
@@ -5699,7 +5877,7 @@ var DrawerBody = defineComponent$1({
5699
5877
  "style": {
5700
5878
  zIndex: zindex
5701
5879
  },
5702
- "onClick": closeDrawer
5880
+ "onClick": handleDrawerClose
5703
5881
  }, [isCover ? createVNode("div", {
5704
5882
  "class": "devui-overlay-backdrop"
5705
5883
  }, null) : null, createVNode("div", {
@@ -5729,13 +5907,23 @@ var Drawer = defineComponent$1({
5729
5907
  zIndex,
5730
5908
  isCover,
5731
5909
  escKeyCloseable,
5732
- position
5910
+ position,
5911
+ backdropCloseable
5733
5912
  } = toRefs(props);
5734
- let isFullScreen = ref(false);
5913
+ const isFullScreen = ref(false);
5735
5914
  const fullScreenEvent = () => {
5736
5915
  isFullScreen.value = !isFullScreen.value;
5737
5916
  };
5738
- const closeDrawer = () => {
5917
+ const closeDrawer = async () => {
5918
+ var _a;
5919
+ const beforeHidden = props.beforeHidden;
5920
+ let result2 = (_a = typeof beforeHidden === "function" ? beforeHidden() : beforeHidden) != null ? _a : true;
5921
+ if (result2 instanceof Promise) {
5922
+ console.log(result2);
5923
+ result2 = await result2;
5924
+ }
5925
+ if (result2)
5926
+ return;
5739
5927
  emit("update:visible", false);
5740
5928
  emit("close");
5741
5929
  };
@@ -5762,6 +5950,7 @@ var Drawer = defineComponent$1({
5762
5950
  provide("width", width);
5763
5951
  provide("visible", visible);
5764
5952
  provide("isFullScreen", isFullScreen);
5953
+ provide("backdropCloseable", backdropCloseable);
5765
5954
  onUnmounted(() => {
5766
5955
  document.removeEventListener("keyup", escCloseDrawer);
5767
5956
  });
@@ -5958,7 +6147,7 @@ const overlayProps = {
5958
6147
  backgroundStyle: {
5959
6148
  type: [String, Object]
5960
6149
  },
5961
- backdropClick: {
6150
+ onBackdropClick: {
5962
6151
  type: Function
5963
6152
  },
5964
6153
  backdropClose: {
@@ -5970,6 +6159,7 @@ const overlayProps = {
5970
6159
  default: true
5971
6160
  }
5972
6161
  };
6162
+ const overlayEmits = ["onUpdate:visible", "backdropClick"];
5973
6163
  const fixedOverlayProps = __spreadProps(__spreadValues({}, overlayProps), {
5974
6164
  overlayStyle: {
5975
6165
  type: [String, Object],
@@ -6005,7 +6195,7 @@ function useOverlayLogic(props) {
6005
6195
  const handleBackdropClick = (event) => {
6006
6196
  var _a, _b;
6007
6197
  event.preventDefault();
6008
- (_a = props.backdropClick) == null ? void 0 : _a.call(props);
6198
+ (_a = props.onBackdropClick) == null ? void 0 : _a.call(props);
6009
6199
  if (props.backdropClose) {
6010
6200
  (_b = props["onUpdate:visible"]) == null ? void 0 : _b.call(props, false);
6011
6201
  }
@@ -6044,6 +6234,7 @@ function useOverlayLogic(props) {
6044
6234
  const FixedOverlay = defineComponent$1({
6045
6235
  name: "DFixedOverlay",
6046
6236
  props: fixedOverlayProps,
6237
+ emits: overlayEmits,
6047
6238
  setup(props, ctx2) {
6048
6239
  const {
6049
6240
  backgroundClass,
@@ -6067,7 +6258,7 @@ const FixedOverlay = defineComponent$1({
6067
6258
  const FlexibleOverlay = defineComponent$1({
6068
6259
  name: "DFlexibleOverlay",
6069
6260
  props: flexibleOverlayProps,
6070
- emits: ["onUpdate:visible"],
6261
+ emits: overlayEmits,
6071
6262
  setup(props, ctx2) {
6072
6263
  const overlayRef = ref(null);
6073
6264
  const positionedStyle = reactive({
@@ -6240,7 +6431,7 @@ FixedOverlay.install = function(app) {
6240
6431
  var OverlayInstall = {
6241
6432
  title: "Overlay \u906E\u7F69\u5C42",
6242
6433
  category: "\u901A\u7528",
6243
- status: "\u5DF2\u5B8C\u6210",
6434
+ status: "100%",
6244
6435
  install(app) {
6245
6436
  app.use(FixedOverlay);
6246
6437
  app.use(FlexibleOverlay);
@@ -6321,7 +6512,7 @@ Dropdown.install = function(app) {
6321
6512
  var DropdownInstall = {
6322
6513
  title: "Dropdown \u4E0B\u62C9\u83DC\u5355",
6323
6514
  category: "\u5BFC\u822A",
6324
- status: void 0,
6515
+ status: "10%",
6325
6516
  install(app) {
6326
6517
  app.use(Dropdown);
6327
6518
  }
@@ -6843,14 +7034,14 @@ var lodash = { exports: {} };
6843
7034
  return true;
6844
7035
  }
6845
7036
  function arrayFilter2(array4, predicate) {
6846
- var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result = [];
7037
+ var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result2 = [];
6847
7038
  while (++index2 < length) {
6848
7039
  var value = array4[index2];
6849
7040
  if (predicate(value, index2, array4)) {
6850
- result[resIndex++] = value;
7041
+ result2[resIndex++] = value;
6851
7042
  }
6852
7043
  }
6853
- return result;
7044
+ return result2;
6854
7045
  }
6855
7046
  function arrayIncludes(array4, value) {
6856
7047
  var length = array4 == null ? 0 : array4.length;
@@ -6866,11 +7057,11 @@ var lodash = { exports: {} };
6866
7057
  return false;
6867
7058
  }
6868
7059
  function arrayMap2(array4, iteratee) {
6869
- var index2 = -1, length = array4 == null ? 0 : array4.length, result = Array(length);
7060
+ var index2 = -1, length = array4 == null ? 0 : array4.length, result2 = Array(length);
6870
7061
  while (++index2 < length) {
6871
- result[index2] = iteratee(array4[index2], index2, array4);
7062
+ result2[index2] = iteratee(array4[index2], index2, array4);
6872
7063
  }
6873
- return result;
7064
+ return result2;
6874
7065
  }
6875
7066
  function arrayPush2(array4, values) {
6876
7067
  var index2 = -1, length = values.length, offset = array4.length;
@@ -6916,14 +7107,14 @@ var lodash = { exports: {} };
6916
7107
  return string3.match(reAsciiWord) || [];
6917
7108
  }
6918
7109
  function baseFindKey(collection, predicate, eachFunc) {
6919
- var result;
7110
+ var result2;
6920
7111
  eachFunc(collection, function(value, key, collection2) {
6921
7112
  if (predicate(value, key, collection2)) {
6922
- result = key;
7113
+ result2 = key;
6923
7114
  return false;
6924
7115
  }
6925
7116
  });
6926
- return result;
7117
+ return result2;
6927
7118
  }
6928
7119
  function baseFindIndex(array4, predicate, fromIndex, fromRight) {
6929
7120
  var length = array4.length, index2 = fromIndex + (fromRight ? 1 : -1);
@@ -6978,21 +7169,21 @@ var lodash = { exports: {} };
6978
7169
  return array4;
6979
7170
  }
6980
7171
  function baseSum(array4, iteratee) {
6981
- var result, index2 = -1, length = array4.length;
7172
+ var result2, index2 = -1, length = array4.length;
6982
7173
  while (++index2 < length) {
6983
7174
  var current = iteratee(array4[index2]);
6984
7175
  if (current !== undefined$1) {
6985
- result = result === undefined$1 ? current : result + current;
7176
+ result2 = result2 === undefined$1 ? current : result2 + current;
6986
7177
  }
6987
7178
  }
6988
- return result;
7179
+ return result2;
6989
7180
  }
6990
7181
  function baseTimes2(n, iteratee) {
6991
- var index2 = -1, result = Array(n);
7182
+ var index2 = -1, result2 = Array(n);
6992
7183
  while (++index2 < n) {
6993
- result[index2] = iteratee(index2);
7184
+ result2[index2] = iteratee(index2);
6994
7185
  }
6995
- return result;
7186
+ return result2;
6996
7187
  }
6997
7188
  function baseToPairs(object4, props) {
6998
7189
  return arrayMap2(props, function(key) {
@@ -7028,13 +7219,13 @@ var lodash = { exports: {} };
7028
7219
  return index2;
7029
7220
  }
7030
7221
  function countHolders(array4, placeholder) {
7031
- var length = array4.length, result = 0;
7222
+ var length = array4.length, result2 = 0;
7032
7223
  while (length--) {
7033
7224
  if (array4[length] === placeholder) {
7034
- ++result;
7225
+ ++result2;
7035
7226
  }
7036
7227
  }
7037
- return result;
7228
+ return result2;
7038
7229
  }
7039
7230
  var deburrLetter = basePropertyOf(deburredLetters);
7040
7231
  var escapeHtmlChar = basePropertyOf(htmlEscapes);
@@ -7051,18 +7242,18 @@ var lodash = { exports: {} };
7051
7242
  return reHasUnicodeWord.test(string3);
7052
7243
  }
7053
7244
  function iteratorToArray(iterator) {
7054
- var data, result = [];
7245
+ var data, result2 = [];
7055
7246
  while (!(data = iterator.next()).done) {
7056
- result.push(data.value);
7247
+ result2.push(data.value);
7057
7248
  }
7058
- return result;
7249
+ return result2;
7059
7250
  }
7060
7251
  function mapToArray2(map) {
7061
- var index2 = -1, result = Array(map.size);
7252
+ var index2 = -1, result2 = Array(map.size);
7062
7253
  map.forEach(function(value, key) {
7063
- result[++index2] = [key, value];
7254
+ result2[++index2] = [key, value];
7064
7255
  });
7065
- return result;
7256
+ return result2;
7066
7257
  }
7067
7258
  function overArg2(func, transform) {
7068
7259
  return function(arg) {
@@ -7070,29 +7261,29 @@ var lodash = { exports: {} };
7070
7261
  };
7071
7262
  }
7072
7263
  function replaceHolders(array4, placeholder) {
7073
- var index2 = -1, length = array4.length, resIndex = 0, result = [];
7264
+ var index2 = -1, length = array4.length, resIndex = 0, result2 = [];
7074
7265
  while (++index2 < length) {
7075
7266
  var value = array4[index2];
7076
7267
  if (value === placeholder || value === PLACEHOLDER) {
7077
7268
  array4[index2] = PLACEHOLDER;
7078
- result[resIndex++] = index2;
7269
+ result2[resIndex++] = index2;
7079
7270
  }
7080
7271
  }
7081
- return result;
7272
+ return result2;
7082
7273
  }
7083
7274
  function setToArray2(set) {
7084
- var index2 = -1, result = Array(set.size);
7275
+ var index2 = -1, result2 = Array(set.size);
7085
7276
  set.forEach(function(value) {
7086
- result[++index2] = value;
7277
+ result2[++index2] = value;
7087
7278
  });
7088
- return result;
7279
+ return result2;
7089
7280
  }
7090
7281
  function setToPairs(set) {
7091
- var index2 = -1, result = Array(set.size);
7282
+ var index2 = -1, result2 = Array(set.size);
7092
7283
  set.forEach(function(value) {
7093
- result[++index2] = [value, value];
7284
+ result2[++index2] = [value, value];
7094
7285
  });
7095
- return result;
7286
+ return result2;
7096
7287
  }
7097
7288
  function strictIndexOf(array4, value, fromIndex) {
7098
7289
  var index2 = fromIndex - 1, length = array4.length;
@@ -7126,11 +7317,11 @@ var lodash = { exports: {} };
7126
7317
  }
7127
7318
  var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
7128
7319
  function unicodeSize(string3) {
7129
- var result = reUnicode.lastIndex = 0;
7320
+ var result2 = reUnicode.lastIndex = 0;
7130
7321
  while (reUnicode.test(string3)) {
7131
- ++result;
7322
+ ++result2;
7132
7323
  }
7133
- return result;
7324
+ return result2;
7134
7325
  }
7135
7326
  function unicodeToArray(string3) {
7136
7327
  return string3.match(reUnicode) || [];
@@ -7192,9 +7383,9 @@ var lodash = { exports: {} };
7192
7383
  return objectCreate2(proto);
7193
7384
  }
7194
7385
  object4.prototype = proto;
7195
- var result2 = new object4();
7386
+ var result3 = new object4();
7196
7387
  object4.prototype = undefined$1;
7197
- return result2;
7388
+ return result3;
7198
7389
  };
7199
7390
  }();
7200
7391
  function baseLodash() {
@@ -7229,32 +7420,32 @@ var lodash = { exports: {} };
7229
7420
  this.__views__ = [];
7230
7421
  }
7231
7422
  function lazyClone() {
7232
- var result2 = new LazyWrapper(this.__wrapped__);
7233
- result2.__actions__ = copyArray2(this.__actions__);
7234
- result2.__dir__ = this.__dir__;
7235
- result2.__filtered__ = this.__filtered__;
7236
- result2.__iteratees__ = copyArray2(this.__iteratees__);
7237
- result2.__takeCount__ = this.__takeCount__;
7238
- result2.__views__ = copyArray2(this.__views__);
7239
- return result2;
7423
+ var result3 = new LazyWrapper(this.__wrapped__);
7424
+ result3.__actions__ = copyArray2(this.__actions__);
7425
+ result3.__dir__ = this.__dir__;
7426
+ result3.__filtered__ = this.__filtered__;
7427
+ result3.__iteratees__ = copyArray2(this.__iteratees__);
7428
+ result3.__takeCount__ = this.__takeCount__;
7429
+ result3.__views__ = copyArray2(this.__views__);
7430
+ return result3;
7240
7431
  }
7241
7432
  function lazyReverse() {
7242
7433
  if (this.__filtered__) {
7243
- var result2 = new LazyWrapper(this);
7244
- result2.__dir__ = -1;
7245
- result2.__filtered__ = true;
7434
+ var result3 = new LazyWrapper(this);
7435
+ result3.__dir__ = -1;
7436
+ result3.__filtered__ = true;
7246
7437
  } else {
7247
- result2 = this.clone();
7248
- result2.__dir__ *= -1;
7438
+ result3 = this.clone();
7439
+ result3.__dir__ *= -1;
7249
7440
  }
7250
- return result2;
7441
+ return result3;
7251
7442
  }
7252
7443
  function lazyValue() {
7253
7444
  var array4 = this.__wrapped__.value(), dir = this.__dir__, isArr = isArray2(array4), isRight = dir < 0, arrLength = isArr ? array4.length : 0, view = getView(0, arrLength, this.__views__), start = view.start, end = view.end, length = end - start, index2 = isRight ? end : start - 1, iteratees = this.__iteratees__, iterLength = iteratees.length, resIndex = 0, takeCount = nativeMin2(length, this.__takeCount__);
7254
7445
  if (!isArr || !isRight && arrLength == length && takeCount == length) {
7255
7446
  return baseWrapperValue(array4, this.__actions__);
7256
7447
  }
7257
- var result2 = [];
7448
+ var result3 = [];
7258
7449
  outer:
7259
7450
  while (length-- && resIndex < takeCount) {
7260
7451
  index2 += dir;
@@ -7271,9 +7462,9 @@ var lodash = { exports: {} };
7271
7462
  }
7272
7463
  }
7273
7464
  }
7274
- result2[resIndex++] = value;
7465
+ result3[resIndex++] = value;
7275
7466
  }
7276
- return result2;
7467
+ return result3;
7277
7468
  }
7278
7469
  LazyWrapper.prototype = baseCreate2(baseLodash.prototype);
7279
7470
  LazyWrapper.prototype.constructor = LazyWrapper;
@@ -7290,15 +7481,15 @@ var lodash = { exports: {} };
7290
7481
  this.size = 0;
7291
7482
  }
7292
7483
  function hashDelete2(key) {
7293
- var result2 = this.has(key) && delete this.__data__[key];
7294
- this.size -= result2 ? 1 : 0;
7295
- return result2;
7484
+ var result3 = this.has(key) && delete this.__data__[key];
7485
+ this.size -= result3 ? 1 : 0;
7486
+ return result3;
7296
7487
  }
7297
7488
  function hashGet2(key) {
7298
7489
  var data = this.__data__;
7299
7490
  if (nativeCreate2) {
7300
- var result2 = data[key];
7301
- return result2 === HASH_UNDEFINED2 ? undefined$1 : result2;
7491
+ var result3 = data[key];
7492
+ return result3 === HASH_UNDEFINED2 ? undefined$1 : result3;
7302
7493
  }
7303
7494
  return hasOwnProperty2.call(data, key) ? data[key] : undefined$1;
7304
7495
  }
@@ -7382,9 +7573,9 @@ var lodash = { exports: {} };
7382
7573
  };
7383
7574
  }
7384
7575
  function mapCacheDelete2(key) {
7385
- var result2 = getMapData2(this, key)["delete"](key);
7386
- this.size -= result2 ? 1 : 0;
7387
- return result2;
7576
+ var result3 = getMapData2(this, key)["delete"](key);
7577
+ this.size -= result3 ? 1 : 0;
7578
+ return result3;
7388
7579
  }
7389
7580
  function mapCacheGet2(key) {
7390
7581
  return getMapData2(this, key).get(key);
@@ -7428,9 +7619,9 @@ var lodash = { exports: {} };
7428
7619
  this.size = 0;
7429
7620
  }
7430
7621
  function stackDelete2(key) {
7431
- var data = this.__data__, result2 = data["delete"](key);
7622
+ var data = this.__data__, result3 = data["delete"](key);
7432
7623
  this.size = data.size;
7433
- return result2;
7624
+ return result3;
7434
7625
  }
7435
7626
  function stackGet2(key) {
7436
7627
  return this.__data__.get(key);
@@ -7459,13 +7650,13 @@ var lodash = { exports: {} };
7459
7650
  Stack2.prototype.has = stackHas2;
7460
7651
  Stack2.prototype.set = stackSet2;
7461
7652
  function arrayLikeKeys2(value, inherited) {
7462
- var isArr = isArray2(value), isArg = !isArr && isArguments2(value), isBuff = !isArr && !isArg && isBuffer2(value), isType = !isArr && !isArg && !isBuff && isTypedArray2(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes2(value.length, String2) : [], length = result2.length;
7653
+ var isArr = isArray2(value), isArg = !isArr && isArguments2(value), isBuff = !isArr && !isArg && isBuffer2(value), isType = !isArr && !isArg && !isBuff && isTypedArray2(value), skipIndexes = isArr || isArg || isBuff || isType, result3 = skipIndexes ? baseTimes2(value.length, String2) : [], length = result3.length;
7463
7654
  for (var key in value) {
7464
7655
  if ((inherited || hasOwnProperty2.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex2(key, length)))) {
7465
- result2.push(key);
7656
+ result3.push(key);
7466
7657
  }
7467
7658
  }
7468
- return result2;
7659
+ return result3;
7469
7660
  }
7470
7661
  function arraySample(array4) {
7471
7662
  var length = array4.length;
@@ -7522,11 +7713,11 @@ var lodash = { exports: {} };
7522
7713
  }
7523
7714
  }
7524
7715
  function baseAt(object4, paths) {
7525
- var index2 = -1, length = paths.length, result2 = Array2(length), skip = object4 == null;
7716
+ var index2 = -1, length = paths.length, result3 = Array2(length), skip = object4 == null;
7526
7717
  while (++index2 < length) {
7527
- result2[index2] = skip ? undefined$1 : get(object4, paths[index2]);
7718
+ result3[index2] = skip ? undefined$1 : get(object4, paths[index2]);
7528
7719
  }
7529
- return result2;
7720
+ return result3;
7530
7721
  }
7531
7722
  function baseClamp(number4, lower, upper) {
7532
7723
  if (number4 === number4) {
@@ -7540,21 +7731,21 @@ var lodash = { exports: {} };
7540
7731
  return number4;
7541
7732
  }
7542
7733
  function baseClone2(value, bitmask, customizer, key, object4, stack) {
7543
- var result2, isDeep = bitmask & CLONE_DEEP_FLAG2, isFlat = bitmask & CLONE_FLAT_FLAG2, isFull = bitmask & CLONE_SYMBOLS_FLAG2;
7734
+ var result3, isDeep = bitmask & CLONE_DEEP_FLAG2, isFlat = bitmask & CLONE_FLAT_FLAG2, isFull = bitmask & CLONE_SYMBOLS_FLAG2;
7544
7735
  if (customizer) {
7545
- result2 = object4 ? customizer(value, key, object4, stack) : customizer(value);
7736
+ result3 = object4 ? customizer(value, key, object4, stack) : customizer(value);
7546
7737
  }
7547
- if (result2 !== undefined$1) {
7548
- return result2;
7738
+ if (result3 !== undefined$1) {
7739
+ return result3;
7549
7740
  }
7550
7741
  if (!isObject2(value)) {
7551
7742
  return value;
7552
7743
  }
7553
7744
  var isArr = isArray2(value);
7554
7745
  if (isArr) {
7555
- result2 = initCloneArray2(value);
7746
+ result3 = initCloneArray2(value);
7556
7747
  if (!isDeep) {
7557
- return copyArray2(value, result2);
7748
+ return copyArray2(value, result3);
7558
7749
  }
7559
7750
  } else {
7560
7751
  var tag2 = getTag2(value), isFunc = tag2 == funcTag2 || tag2 == genTag2;
@@ -7562,15 +7753,15 @@ var lodash = { exports: {} };
7562
7753
  return cloneBuffer2(value, isDeep);
7563
7754
  }
7564
7755
  if (tag2 == objectTag2 || tag2 == argsTag2 || isFunc && !object4) {
7565
- result2 = isFlat || isFunc ? {} : initCloneObject2(value);
7756
+ result3 = isFlat || isFunc ? {} : initCloneObject2(value);
7566
7757
  if (!isDeep) {
7567
- return isFlat ? copySymbolsIn2(value, baseAssignIn2(result2, value)) : copySymbols2(value, baseAssign2(result2, value));
7758
+ return isFlat ? copySymbolsIn2(value, baseAssignIn2(result3, value)) : copySymbols2(value, baseAssign2(result3, value));
7568
7759
  }
7569
7760
  } else {
7570
7761
  if (!cloneableTags2[tag2]) {
7571
7762
  return object4 ? value : {};
7572
7763
  }
7573
- result2 = initCloneByTag2(value, tag2, isDeep);
7764
+ result3 = initCloneByTag2(value, tag2, isDeep);
7574
7765
  }
7575
7766
  }
7576
7767
  stack || (stack = new Stack2());
@@ -7578,14 +7769,14 @@ var lodash = { exports: {} };
7578
7769
  if (stacked) {
7579
7770
  return stacked;
7580
7771
  }
7581
- stack.set(value, result2);
7772
+ stack.set(value, result3);
7582
7773
  if (isSet2(value)) {
7583
7774
  value.forEach(function(subValue) {
7584
- result2.add(baseClone2(subValue, bitmask, customizer, subValue, value, stack));
7775
+ result3.add(baseClone2(subValue, bitmask, customizer, subValue, value, stack));
7585
7776
  });
7586
7777
  } else if (isMap2(value)) {
7587
7778
  value.forEach(function(subValue, key2) {
7588
- result2.set(key2, baseClone2(subValue, bitmask, customizer, key2, value, stack));
7779
+ result3.set(key2, baseClone2(subValue, bitmask, customizer, key2, value, stack));
7589
7780
  });
7590
7781
  }
7591
7782
  var keysFunc = isFull ? isFlat ? getAllKeysIn2 : getAllKeys2 : isFlat ? keysIn2 : keys2;
@@ -7595,9 +7786,9 @@ var lodash = { exports: {} };
7595
7786
  key2 = subValue;
7596
7787
  subValue = value[key2];
7597
7788
  }
7598
- assignValue2(result2, key2, baseClone2(subValue, bitmask, customizer, key2, value, stack));
7789
+ assignValue2(result3, key2, baseClone2(subValue, bitmask, customizer, key2, value, stack));
7599
7790
  });
7600
- return result2;
7791
+ return result3;
7601
7792
  }
7602
7793
  function baseConforms(source) {
7603
7794
  var props = keys2(source);
@@ -7628,9 +7819,9 @@ var lodash = { exports: {} };
7628
7819
  }, wait);
7629
7820
  }
7630
7821
  function baseDifference(array4, values2, iteratee2, comparator) {
7631
- var index2 = -1, includes2 = arrayIncludes, isCommon = true, length = array4.length, result2 = [], valuesLength = values2.length;
7822
+ var index2 = -1, includes2 = arrayIncludes, isCommon = true, length = array4.length, result3 = [], valuesLength = values2.length;
7632
7823
  if (!length) {
7633
- return result2;
7824
+ return result3;
7634
7825
  }
7635
7826
  if (iteratee2) {
7636
7827
  values2 = arrayMap2(values2, baseUnary2(iteratee2));
@@ -7654,32 +7845,32 @@ var lodash = { exports: {} };
7654
7845
  continue outer;
7655
7846
  }
7656
7847
  }
7657
- result2.push(value);
7848
+ result3.push(value);
7658
7849
  } else if (!includes2(values2, computed2, comparator)) {
7659
- result2.push(value);
7850
+ result3.push(value);
7660
7851
  }
7661
7852
  }
7662
- return result2;
7853
+ return result3;
7663
7854
  }
7664
7855
  var baseEach = createBaseEach(baseForOwn);
7665
7856
  var baseEachRight = createBaseEach(baseForOwnRight, true);
7666
7857
  function baseEvery(collection, predicate) {
7667
- var result2 = true;
7858
+ var result3 = true;
7668
7859
  baseEach(collection, function(value, index2, collection2) {
7669
- result2 = !!predicate(value, index2, collection2);
7670
- return result2;
7860
+ result3 = !!predicate(value, index2, collection2);
7861
+ return result3;
7671
7862
  });
7672
- return result2;
7863
+ return result3;
7673
7864
  }
7674
7865
  function baseExtremum(array4, iteratee2, comparator) {
7675
7866
  var index2 = -1, length = array4.length;
7676
7867
  while (++index2 < length) {
7677
7868
  var value = array4[index2], current = iteratee2(value);
7678
7869
  if (current != null && (computed2 === undefined$1 ? current === current && !isSymbol2(current) : comparator(current, computed2))) {
7679
- var computed2 = current, result2 = value;
7870
+ var computed2 = current, result3 = value;
7680
7871
  }
7681
7872
  }
7682
- return result2;
7873
+ return result3;
7683
7874
  }
7684
7875
  function baseFill(array4, value, start, end) {
7685
7876
  var length = array4.length;
@@ -7698,31 +7889,31 @@ var lodash = { exports: {} };
7698
7889
  return array4;
7699
7890
  }
7700
7891
  function baseFilter(collection, predicate) {
7701
- var result2 = [];
7892
+ var result3 = [];
7702
7893
  baseEach(collection, function(value, index2, collection2) {
7703
7894
  if (predicate(value, index2, collection2)) {
7704
- result2.push(value);
7895
+ result3.push(value);
7705
7896
  }
7706
7897
  });
7707
- return result2;
7898
+ return result3;
7708
7899
  }
7709
- function baseFlatten2(array4, depth, predicate, isStrict, result2) {
7900
+ function baseFlatten2(array4, depth, predicate, isStrict, result3) {
7710
7901
  var index2 = -1, length = array4.length;
7711
7902
  predicate || (predicate = isFlattenable2);
7712
- result2 || (result2 = []);
7903
+ result3 || (result3 = []);
7713
7904
  while (++index2 < length) {
7714
7905
  var value = array4[index2];
7715
7906
  if (depth > 0 && predicate(value)) {
7716
7907
  if (depth > 1) {
7717
- baseFlatten2(value, depth - 1, predicate, isStrict, result2);
7908
+ baseFlatten2(value, depth - 1, predicate, isStrict, result3);
7718
7909
  } else {
7719
- arrayPush2(result2, value);
7910
+ arrayPush2(result3, value);
7720
7911
  }
7721
7912
  } else if (!isStrict) {
7722
- result2[result2.length] = value;
7913
+ result3[result3.length] = value;
7723
7914
  }
7724
7915
  }
7725
- return result2;
7916
+ return result3;
7726
7917
  }
7727
7918
  var baseFor2 = createBaseFor2();
7728
7919
  var baseForRight = createBaseFor2(true);
@@ -7746,8 +7937,8 @@ var lodash = { exports: {} };
7746
7937
  return index2 && index2 == length ? object4 : undefined$1;
7747
7938
  }
7748
7939
  function baseGetAllKeys2(object4, keysFunc, symbolsFunc) {
7749
- var result2 = keysFunc(object4);
7750
- return isArray2(object4) ? result2 : arrayPush2(result2, symbolsFunc(object4));
7940
+ var result3 = keysFunc(object4);
7941
+ return isArray2(object4) ? result3 : arrayPush2(result3, symbolsFunc(object4));
7751
7942
  }
7752
7943
  function baseGetTag2(value) {
7753
7944
  if (value == null) {
@@ -7768,7 +7959,7 @@ var lodash = { exports: {} };
7768
7959
  return number4 >= nativeMin2(start, end) && number4 < nativeMax2(start, end);
7769
7960
  }
7770
7961
  function baseIntersection(arrays, iteratee2, comparator) {
7771
- var includes2 = comparator ? arrayIncludesWith : arrayIncludes, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array2(othLength), maxLength = Infinity, result2 = [];
7962
+ var includes2 = comparator ? arrayIncludesWith : arrayIncludes, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array2(othLength), maxLength = Infinity, result3 = [];
7772
7963
  while (othIndex--) {
7773
7964
  var array4 = arrays[othIndex];
7774
7965
  if (othIndex && iteratee2) {
@@ -7780,10 +7971,10 @@ var lodash = { exports: {} };
7780
7971
  array4 = arrays[0];
7781
7972
  var index2 = -1, seen = caches[0];
7782
7973
  outer:
7783
- while (++index2 < length && result2.length < maxLength) {
7974
+ while (++index2 < length && result3.length < maxLength) {
7784
7975
  var value = array4[index2], computed2 = iteratee2 ? iteratee2(value) : value;
7785
7976
  value = comparator || value !== 0 ? value : 0;
7786
- if (!(seen ? cacheHas2(seen, computed2) : includes2(result2, computed2, comparator))) {
7977
+ if (!(seen ? cacheHas2(seen, computed2) : includes2(result3, computed2, comparator))) {
7787
7978
  othIndex = othLength;
7788
7979
  while (--othIndex) {
7789
7980
  var cache = caches[othIndex];
@@ -7794,10 +7985,10 @@ var lodash = { exports: {} };
7794
7985
  if (seen) {
7795
7986
  seen.push(computed2);
7796
7987
  }
7797
- result2.push(value);
7988
+ result3.push(value);
7798
7989
  }
7799
7990
  }
7800
- return result2;
7991
+ return result3;
7801
7992
  }
7802
7993
  function baseInverter(object4, setter, iteratee2, accumulator) {
7803
7994
  baseForOwn(object4, function(value, key, object5) {
@@ -7884,9 +8075,9 @@ var lodash = { exports: {} };
7884
8075
  } else {
7885
8076
  var stack = new Stack2();
7886
8077
  if (customizer) {
7887
- var result2 = customizer(objValue, srcValue, key, object4, source, stack);
8078
+ var result3 = customizer(objValue, srcValue, key, object4, source, stack);
7888
8079
  }
7889
- if (!(result2 === undefined$1 ? baseIsEqual2(srcValue, objValue, COMPARE_PARTIAL_FLAG2 | COMPARE_UNORDERED_FLAG2, customizer, stack) : result2)) {
8080
+ if (!(result3 === undefined$1 ? baseIsEqual2(srcValue, objValue, COMPARE_PARTIAL_FLAG2 | COMPARE_UNORDERED_FLAG2, customizer, stack) : result3)) {
7890
8081
  return false;
7891
8082
  }
7892
8083
  }
@@ -7925,35 +8116,35 @@ var lodash = { exports: {} };
7925
8116
  if (!isPrototype2(object4)) {
7926
8117
  return nativeKeys2(object4);
7927
8118
  }
7928
- var result2 = [];
8119
+ var result3 = [];
7929
8120
  for (var key in Object2(object4)) {
7930
8121
  if (hasOwnProperty2.call(object4, key) && key != "constructor") {
7931
- result2.push(key);
8122
+ result3.push(key);
7932
8123
  }
7933
8124
  }
7934
- return result2;
8125
+ return result3;
7935
8126
  }
7936
8127
  function baseKeysIn2(object4) {
7937
8128
  if (!isObject2(object4)) {
7938
8129
  return nativeKeysIn2(object4);
7939
8130
  }
7940
- var isProto = isPrototype2(object4), result2 = [];
8131
+ var isProto = isPrototype2(object4), result3 = [];
7941
8132
  for (var key in object4) {
7942
8133
  if (!(key == "constructor" && (isProto || !hasOwnProperty2.call(object4, key)))) {
7943
- result2.push(key);
8134
+ result3.push(key);
7944
8135
  }
7945
8136
  }
7946
- return result2;
8137
+ return result3;
7947
8138
  }
7948
8139
  function baseLt(value, other) {
7949
8140
  return value < other;
7950
8141
  }
7951
8142
  function baseMap(collection, iteratee2) {
7952
- var index2 = -1, result2 = isArrayLike2(collection) ? Array2(collection.length) : [];
8143
+ var index2 = -1, result3 = isArrayLike2(collection) ? Array2(collection.length) : [];
7953
8144
  baseEach(collection, function(value, key, collection2) {
7954
- result2[++index2] = iteratee2(value, key, collection2);
8145
+ result3[++index2] = iteratee2(value, key, collection2);
7955
8146
  });
7956
- return result2;
8147
+ return result3;
7957
8148
  }
7958
8149
  function baseMatches(source) {
7959
8150
  var matchData = getMatchData(source);
@@ -8056,13 +8247,13 @@ var lodash = { exports: {} };
8056
8247
  }
8057
8248
  var index2 = -1;
8058
8249
  iteratees = arrayMap2(iteratees, baseUnary2(getIteratee()));
8059
- var result2 = baseMap(collection, function(value, key, collection2) {
8250
+ var result3 = baseMap(collection, function(value, key, collection2) {
8060
8251
  var criteria = arrayMap2(iteratees, function(iteratee2) {
8061
8252
  return iteratee2(value);
8062
8253
  });
8063
8254
  return { "criteria": criteria, "index": ++index2, "value": value };
8064
8255
  });
8065
- return baseSortBy(result2, function(object4, other) {
8256
+ return baseSortBy(result3, function(object4, other) {
8066
8257
  return compareMultiple(object4, other, orders);
8067
8258
  });
8068
8259
  }
@@ -8072,14 +8263,14 @@ var lodash = { exports: {} };
8072
8263
  });
8073
8264
  }
8074
8265
  function basePickBy(object4, paths, predicate) {
8075
- var index2 = -1, length = paths.length, result2 = {};
8266
+ var index2 = -1, length = paths.length, result3 = {};
8076
8267
  while (++index2 < length) {
8077
8268
  var path = paths[index2], value = baseGet2(object4, path);
8078
8269
  if (predicate(value, path)) {
8079
- baseSet(result2, castPath2(path, object4), value);
8270
+ baseSet(result3, castPath2(path, object4), value);
8080
8271
  }
8081
8272
  }
8082
- return result2;
8273
+ return result3;
8083
8274
  }
8084
8275
  function basePropertyDeep(path) {
8085
8276
  return function(object4) {
@@ -8124,28 +8315,28 @@ var lodash = { exports: {} };
8124
8315
  return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
8125
8316
  }
8126
8317
  function baseRange(start, end, step, fromRight) {
8127
- var index2 = -1, length = nativeMax2(nativeCeil((end - start) / (step || 1)), 0), result2 = Array2(length);
8318
+ var index2 = -1, length = nativeMax2(nativeCeil((end - start) / (step || 1)), 0), result3 = Array2(length);
8128
8319
  while (length--) {
8129
- result2[fromRight ? length : ++index2] = start;
8320
+ result3[fromRight ? length : ++index2] = start;
8130
8321
  start += step;
8131
8322
  }
8132
- return result2;
8323
+ return result3;
8133
8324
  }
8134
8325
  function baseRepeat(string3, n) {
8135
- var result2 = "";
8326
+ var result3 = "";
8136
8327
  if (!string3 || n < 1 || n > MAX_SAFE_INTEGER2) {
8137
- return result2;
8328
+ return result3;
8138
8329
  }
8139
8330
  do {
8140
8331
  if (n % 2) {
8141
- result2 += string3;
8332
+ result3 += string3;
8142
8333
  }
8143
8334
  n = nativeFloor(n / 2);
8144
8335
  if (n) {
8145
8336
  string3 += string3;
8146
8337
  }
8147
8338
  } while (n);
8148
- return result2;
8339
+ return result3;
8149
8340
  }
8150
8341
  function baseRest2(func, start) {
8151
8342
  return setToString2(overRest2(func, start, identity2), func + "");
@@ -8206,19 +8397,19 @@ var lodash = { exports: {} };
8206
8397
  }
8207
8398
  length = start > end ? 0 : end - start >>> 0;
8208
8399
  start >>>= 0;
8209
- var result2 = Array2(length);
8400
+ var result3 = Array2(length);
8210
8401
  while (++index2 < length) {
8211
- result2[index2] = array4[index2 + start];
8402
+ result3[index2] = array4[index2 + start];
8212
8403
  }
8213
- return result2;
8404
+ return result3;
8214
8405
  }
8215
8406
  function baseSome(collection, predicate) {
8216
- var result2;
8407
+ var result3;
8217
8408
  baseEach(collection, function(value, index2, collection2) {
8218
- result2 = predicate(value, index2, collection2);
8219
- return !result2;
8409
+ result3 = predicate(value, index2, collection2);
8410
+ return !result3;
8220
8411
  });
8221
- return !!result2;
8412
+ return !!result3;
8222
8413
  }
8223
8414
  function baseSortedIndex(array4, value, retHighest) {
8224
8415
  var low = 0, high = array4 == null ? low : array4.length;
@@ -8266,15 +8457,15 @@ var lodash = { exports: {} };
8266
8457
  return nativeMin2(high, MAX_ARRAY_INDEX);
8267
8458
  }
8268
8459
  function baseSortedUniq(array4, iteratee2) {
8269
- var index2 = -1, length = array4.length, resIndex = 0, result2 = [];
8460
+ var index2 = -1, length = array4.length, resIndex = 0, result3 = [];
8270
8461
  while (++index2 < length) {
8271
8462
  var value = array4[index2], computed2 = iteratee2 ? iteratee2(value) : value;
8272
8463
  if (!index2 || !eq2(computed2, seen)) {
8273
8464
  var seen = computed2;
8274
- result2[resIndex++] = value === 0 ? 0 : value;
8465
+ result3[resIndex++] = value === 0 ? 0 : value;
8275
8466
  }
8276
8467
  }
8277
- return result2;
8468
+ return result3;
8278
8469
  }
8279
8470
  function baseToNumber(value) {
8280
8471
  if (typeof value == "number") {
@@ -8295,11 +8486,11 @@ var lodash = { exports: {} };
8295
8486
  if (isSymbol2(value)) {
8296
8487
  return symbolToString2 ? symbolToString2.call(value) : "";
8297
8488
  }
8298
- var result2 = value + "";
8299
- return result2 == "0" && 1 / value == -INFINITY2 ? "-0" : result2;
8489
+ var result3 = value + "";
8490
+ return result3 == "0" && 1 / value == -INFINITY2 ? "-0" : result3;
8300
8491
  }
8301
8492
  function baseUniq(array4, iteratee2, comparator) {
8302
- var index2 = -1, includes2 = arrayIncludes, length = array4.length, isCommon = true, result2 = [], seen = result2;
8493
+ var index2 = -1, includes2 = arrayIncludes, length = array4.length, isCommon = true, result3 = [], seen = result3;
8303
8494
  if (comparator) {
8304
8495
  isCommon = false;
8305
8496
  includes2 = arrayIncludesWith;
@@ -8312,7 +8503,7 @@ var lodash = { exports: {} };
8312
8503
  includes2 = cacheHas2;
8313
8504
  seen = new SetCache2();
8314
8505
  } else {
8315
- seen = iteratee2 ? [] : result2;
8506
+ seen = iteratee2 ? [] : result3;
8316
8507
  }
8317
8508
  outer:
8318
8509
  while (++index2 < length) {
@@ -8328,15 +8519,15 @@ var lodash = { exports: {} };
8328
8519
  if (iteratee2) {
8329
8520
  seen.push(computed2);
8330
8521
  }
8331
- result2.push(value);
8522
+ result3.push(value);
8332
8523
  } else if (!includes2(seen, computed2, comparator)) {
8333
- if (seen !== result2) {
8524
+ if (seen !== result3) {
8334
8525
  seen.push(computed2);
8335
8526
  }
8336
- result2.push(value);
8527
+ result3.push(value);
8337
8528
  }
8338
8529
  }
8339
- return result2;
8530
+ return result3;
8340
8531
  }
8341
8532
  function baseUnset2(object4, path) {
8342
8533
  path = castPath2(path, object4);
@@ -8353,37 +8544,37 @@ var lodash = { exports: {} };
8353
8544
  return isDrop ? baseSlice2(array4, fromRight ? 0 : index2, fromRight ? index2 + 1 : length) : baseSlice2(array4, fromRight ? index2 + 1 : 0, fromRight ? length : index2);
8354
8545
  }
8355
8546
  function baseWrapperValue(value, actions) {
8356
- var result2 = value;
8357
- if (result2 instanceof LazyWrapper) {
8358
- result2 = result2.value();
8547
+ var result3 = value;
8548
+ if (result3 instanceof LazyWrapper) {
8549
+ result3 = result3.value();
8359
8550
  }
8360
- return arrayReduce(actions, function(result3, action) {
8361
- return action.func.apply(action.thisArg, arrayPush2([result3], action.args));
8362
- }, result2);
8551
+ return arrayReduce(actions, function(result4, action) {
8552
+ return action.func.apply(action.thisArg, arrayPush2([result4], action.args));
8553
+ }, result3);
8363
8554
  }
8364
8555
  function baseXor(arrays, iteratee2, comparator) {
8365
8556
  var length = arrays.length;
8366
8557
  if (length < 2) {
8367
8558
  return length ? baseUniq(arrays[0]) : [];
8368
8559
  }
8369
- var index2 = -1, result2 = Array2(length);
8560
+ var index2 = -1, result3 = Array2(length);
8370
8561
  while (++index2 < length) {
8371
8562
  var array4 = arrays[index2], othIndex = -1;
8372
8563
  while (++othIndex < length) {
8373
8564
  if (othIndex != index2) {
8374
- result2[index2] = baseDifference(result2[index2] || array4, arrays[othIndex], iteratee2, comparator);
8565
+ result3[index2] = baseDifference(result3[index2] || array4, arrays[othIndex], iteratee2, comparator);
8375
8566
  }
8376
8567
  }
8377
8568
  }
8378
- return baseUniq(baseFlatten2(result2, 1), iteratee2, comparator);
8569
+ return baseUniq(baseFlatten2(result3, 1), iteratee2, comparator);
8379
8570
  }
8380
8571
  function baseZipObject(props, values2, assignFunc) {
8381
- var index2 = -1, length = props.length, valsLength = values2.length, result2 = {};
8572
+ var index2 = -1, length = props.length, valsLength = values2.length, result3 = {};
8382
8573
  while (++index2 < length) {
8383
8574
  var value = index2 < valsLength ? values2[index2] : undefined$1;
8384
- assignFunc(result2, props[index2], value);
8575
+ assignFunc(result3, props[index2], value);
8385
8576
  }
8386
- return result2;
8577
+ return result3;
8387
8578
  }
8388
8579
  function castArrayLikeObject(value) {
8389
8580
  return isArrayLikeObject2(value) ? value : [];
@@ -8410,23 +8601,23 @@ var lodash = { exports: {} };
8410
8601
  if (isDeep) {
8411
8602
  return buffer.slice();
8412
8603
  }
8413
- var length = buffer.length, result2 = allocUnsafe2 ? allocUnsafe2(length) : new buffer.constructor(length);
8414
- buffer.copy(result2);
8415
- return result2;
8604
+ var length = buffer.length, result3 = allocUnsafe2 ? allocUnsafe2(length) : new buffer.constructor(length);
8605
+ buffer.copy(result3);
8606
+ return result3;
8416
8607
  }
8417
8608
  function cloneArrayBuffer2(arrayBuffer) {
8418
- var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
8419
- new Uint8Array3(result2).set(new Uint8Array3(arrayBuffer));
8420
- return result2;
8609
+ var result3 = new arrayBuffer.constructor(arrayBuffer.byteLength);
8610
+ new Uint8Array3(result3).set(new Uint8Array3(arrayBuffer));
8611
+ return result3;
8421
8612
  }
8422
8613
  function cloneDataView2(dataView, isDeep) {
8423
8614
  var buffer = isDeep ? cloneArrayBuffer2(dataView.buffer) : dataView.buffer;
8424
8615
  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
8425
8616
  }
8426
8617
  function cloneRegExp2(regexp4) {
8427
- var result2 = new regexp4.constructor(regexp4.source, reFlags2.exec(regexp4));
8428
- result2.lastIndex = regexp4.lastIndex;
8429
- return result2;
8618
+ var result3 = new regexp4.constructor(regexp4.source, reFlags2.exec(regexp4));
8619
+ result3.lastIndex = regexp4.lastIndex;
8620
+ return result3;
8430
8621
  }
8431
8622
  function cloneSymbol2(symbol) {
8432
8623
  return symbolValueOf2 ? Object2(symbolValueOf2.call(symbol)) : {};
@@ -8451,47 +8642,47 @@ var lodash = { exports: {} };
8451
8642
  function compareMultiple(object4, other, orders) {
8452
8643
  var index2 = -1, objCriteria = object4.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
8453
8644
  while (++index2 < length) {
8454
- var result2 = compareAscending(objCriteria[index2], othCriteria[index2]);
8455
- if (result2) {
8645
+ var result3 = compareAscending(objCriteria[index2], othCriteria[index2]);
8646
+ if (result3) {
8456
8647
  if (index2 >= ordersLength) {
8457
- return result2;
8648
+ return result3;
8458
8649
  }
8459
8650
  var order = orders[index2];
8460
- return result2 * (order == "desc" ? -1 : 1);
8651
+ return result3 * (order == "desc" ? -1 : 1);
8461
8652
  }
8462
8653
  }
8463
8654
  return object4.index - other.index;
8464
8655
  }
8465
8656
  function composeArgs(args, partials, holders, isCurried) {
8466
- var argsIndex = -1, argsLength = args.length, holdersLength = holders.length, leftIndex = -1, leftLength = partials.length, rangeLength = nativeMax2(argsLength - holdersLength, 0), result2 = Array2(leftLength + rangeLength), isUncurried = !isCurried;
8657
+ var argsIndex = -1, argsLength = args.length, holdersLength = holders.length, leftIndex = -1, leftLength = partials.length, rangeLength = nativeMax2(argsLength - holdersLength, 0), result3 = Array2(leftLength + rangeLength), isUncurried = !isCurried;
8467
8658
  while (++leftIndex < leftLength) {
8468
- result2[leftIndex] = partials[leftIndex];
8659
+ result3[leftIndex] = partials[leftIndex];
8469
8660
  }
8470
8661
  while (++argsIndex < holdersLength) {
8471
8662
  if (isUncurried || argsIndex < argsLength) {
8472
- result2[holders[argsIndex]] = args[argsIndex];
8663
+ result3[holders[argsIndex]] = args[argsIndex];
8473
8664
  }
8474
8665
  }
8475
8666
  while (rangeLength--) {
8476
- result2[leftIndex++] = args[argsIndex++];
8667
+ result3[leftIndex++] = args[argsIndex++];
8477
8668
  }
8478
- return result2;
8669
+ return result3;
8479
8670
  }
8480
8671
  function composeArgsRight(args, partials, holders, isCurried) {
8481
- var argsIndex = -1, argsLength = args.length, holdersIndex = -1, holdersLength = holders.length, rightIndex = -1, rightLength = partials.length, rangeLength = nativeMax2(argsLength - holdersLength, 0), result2 = Array2(rangeLength + rightLength), isUncurried = !isCurried;
8672
+ var argsIndex = -1, argsLength = args.length, holdersIndex = -1, holdersLength = holders.length, rightIndex = -1, rightLength = partials.length, rangeLength = nativeMax2(argsLength - holdersLength, 0), result3 = Array2(rangeLength + rightLength), isUncurried = !isCurried;
8482
8673
  while (++argsIndex < rangeLength) {
8483
- result2[argsIndex] = args[argsIndex];
8674
+ result3[argsIndex] = args[argsIndex];
8484
8675
  }
8485
8676
  var offset = argsIndex;
8486
8677
  while (++rightIndex < rightLength) {
8487
- result2[offset + rightIndex] = partials[rightIndex];
8678
+ result3[offset + rightIndex] = partials[rightIndex];
8488
8679
  }
8489
8680
  while (++holdersIndex < holdersLength) {
8490
8681
  if (isUncurried || argsIndex < argsLength) {
8491
- result2[offset + holders[holdersIndex]] = args[argsIndex++];
8682
+ result3[offset + holders[holdersIndex]] = args[argsIndex++];
8492
8683
  }
8493
8684
  }
8494
- return result2;
8685
+ return result3;
8495
8686
  }
8496
8687
  function copyArray2(source, array4) {
8497
8688
  var index2 = -1, length = source.length;
@@ -8621,8 +8812,8 @@ var lodash = { exports: {} };
8621
8812
  case 7:
8622
8813
  return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
8623
8814
  }
8624
- var thisBinding = baseCreate2(Ctor.prototype), result2 = Ctor.apply(thisBinding, args);
8625
- return isObject2(result2) ? result2 : thisBinding;
8815
+ var thisBinding = baseCreate2(Ctor.prototype), result3 = Ctor.apply(thisBinding, args);
8816
+ return isObject2(result3) ? result3 : thisBinding;
8626
8817
  };
8627
8818
  }
8628
8819
  function createCurry(func, bitmask, arity) {
@@ -8686,11 +8877,11 @@ var lodash = { exports: {} };
8686
8877
  if (wrapper && args.length == 1 && isArray2(value)) {
8687
8878
  return wrapper.plant(value).value();
8688
8879
  }
8689
- var index3 = 0, result2 = length ? funcs[index3].apply(this, args) : value;
8880
+ var index3 = 0, result3 = length ? funcs[index3].apply(this, args) : value;
8690
8881
  while (++index3 < length) {
8691
- result2 = funcs[index3].call(this, result2);
8882
+ result3 = funcs[index3].call(this, result3);
8692
8883
  }
8693
- return result2;
8884
+ return result3;
8694
8885
  };
8695
8886
  });
8696
8887
  }
@@ -8739,15 +8930,15 @@ var lodash = { exports: {} };
8739
8930
  }
8740
8931
  function createMathOperation(operator, defaultValue) {
8741
8932
  return function(value, other) {
8742
- var result2;
8933
+ var result3;
8743
8934
  if (value === undefined$1 && other === undefined$1) {
8744
8935
  return defaultValue;
8745
8936
  }
8746
8937
  if (value !== undefined$1) {
8747
- result2 = value;
8938
+ result3 = value;
8748
8939
  }
8749
8940
  if (other !== undefined$1) {
8750
- if (result2 === undefined$1) {
8941
+ if (result3 === undefined$1) {
8751
8942
  return other;
8752
8943
  }
8753
8944
  if (typeof value == "string" || typeof other == "string") {
@@ -8757,9 +8948,9 @@ var lodash = { exports: {} };
8757
8948
  value = baseToNumber(value);
8758
8949
  other = baseToNumber(other);
8759
8950
  }
8760
- result2 = operator(value, other);
8951
+ result3 = operator(value, other);
8761
8952
  }
8762
- return result2;
8953
+ return result3;
8763
8954
  };
8764
8955
  }
8765
8956
  function createOver(arrayFunc) {
@@ -8779,8 +8970,8 @@ var lodash = { exports: {} };
8779
8970
  if (charsLength < 2) {
8780
8971
  return charsLength ? baseRepeat(chars, length) : chars;
8781
8972
  }
8782
- var result2 = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
8783
- return hasUnicode(chars) ? castSlice(stringToArray(result2), 0, length).join("") : result2.slice(0, length);
8973
+ var result3 = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
8974
+ return hasUnicode(chars) ? castSlice(stringToArray(result3), 0, length).join("") : result3.slice(0, length);
8784
8975
  }
8785
8976
  function createPartial(func, bitmask, thisArg, partials) {
8786
8977
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
@@ -8840,12 +9031,12 @@ var lodash = { exports: {} };
8840
9031
  ary2,
8841
9032
  arity
8842
9033
  ];
8843
- var result2 = wrapFunc.apply(undefined$1, newData);
9034
+ var result3 = wrapFunc.apply(undefined$1, newData);
8844
9035
  if (isLaziable(func)) {
8845
- setData(result2, newData);
9036
+ setData(result3, newData);
8846
9037
  }
8847
- result2.placeholder = placeholder;
8848
- return setWrapToString(result2, func, bitmask);
9038
+ result3.placeholder = placeholder;
9039
+ return setWrapToString(result3, func, bitmask);
8849
9040
  }
8850
9041
  function createRound(methodName) {
8851
9042
  var func = Math2[methodName];
@@ -8918,16 +9109,16 @@ var lodash = { exports: {} };
8918
9109
  bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);
8919
9110
  }
8920
9111
  if (!bitmask || bitmask == WRAP_BIND_FLAG) {
8921
- var result2 = createBind(func, bitmask, thisArg);
9112
+ var result3 = createBind(func, bitmask, thisArg);
8922
9113
  } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {
8923
- result2 = createCurry(func, bitmask, arity);
9114
+ result3 = createCurry(func, bitmask, arity);
8924
9115
  } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {
8925
- result2 = createPartial(func, bitmask, thisArg, partials);
9116
+ result3 = createPartial(func, bitmask, thisArg, partials);
8926
9117
  } else {
8927
- result2 = createHybrid.apply(undefined$1, newData);
9118
+ result3 = createHybrid.apply(undefined$1, newData);
8928
9119
  }
8929
9120
  var setter = data ? baseSetData : setData;
8930
- return setWrapToString(setter(result2, newData), func, bitmask);
9121
+ return setWrapToString(setter(result3, newData), func, bitmask);
8931
9122
  }
8932
9123
  function customDefaultsAssignIn(objValue, srcValue, key, object4) {
8933
9124
  if (objValue === undefined$1 || eq2(objValue, objectProto2[key]) && !hasOwnProperty2.call(object4, key)) {
@@ -8956,7 +9147,7 @@ var lodash = { exports: {} };
8956
9147
  if (arrStacked && othStacked) {
8957
9148
  return arrStacked == other && othStacked == array4;
8958
9149
  }
8959
- var index2 = -1, result2 = true, seen = bitmask & COMPARE_UNORDERED_FLAG2 ? new SetCache2() : undefined$1;
9150
+ var index2 = -1, result3 = true, seen = bitmask & COMPARE_UNORDERED_FLAG2 ? new SetCache2() : undefined$1;
8960
9151
  stack.set(array4, other);
8961
9152
  stack.set(other, array4);
8962
9153
  while (++index2 < arrLength) {
@@ -8968,7 +9159,7 @@ var lodash = { exports: {} };
8968
9159
  if (compared) {
8969
9160
  continue;
8970
9161
  }
8971
- result2 = false;
9162
+ result3 = false;
8972
9163
  break;
8973
9164
  }
8974
9165
  if (seen) {
@@ -8977,17 +9168,17 @@ var lodash = { exports: {} };
8977
9168
  return seen.push(othIndex);
8978
9169
  }
8979
9170
  })) {
8980
- result2 = false;
9171
+ result3 = false;
8981
9172
  break;
8982
9173
  }
8983
9174
  } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
8984
- result2 = false;
9175
+ result3 = false;
8985
9176
  break;
8986
9177
  }
8987
9178
  }
8988
9179
  stack["delete"](array4);
8989
9180
  stack["delete"](other);
8990
- return result2;
9181
+ return result3;
8991
9182
  }
8992
9183
  function equalByTag2(object4, other, tag2, bitmask, customizer, equalFunc, stack) {
8993
9184
  switch (tag2) {
@@ -9025,9 +9216,9 @@ var lodash = { exports: {} };
9025
9216
  }
9026
9217
  bitmask |= COMPARE_UNORDERED_FLAG2;
9027
9218
  stack.set(object4, other);
9028
- var result2 = equalArrays2(convert(object4), convert(other), bitmask, customizer, equalFunc, stack);
9219
+ var result3 = equalArrays2(convert(object4), convert(other), bitmask, customizer, equalFunc, stack);
9029
9220
  stack["delete"](object4);
9030
- return result2;
9221
+ return result3;
9031
9222
  case symbolTag2:
9032
9223
  if (symbolValueOf2) {
9033
9224
  return symbolValueOf2.call(object4) == symbolValueOf2.call(other);
@@ -9052,7 +9243,7 @@ var lodash = { exports: {} };
9052
9243
  if (objStacked && othStacked) {
9053
9244
  return objStacked == other && othStacked == object4;
9054
9245
  }
9055
- var result2 = true;
9246
+ var result3 = true;
9056
9247
  stack.set(object4, other);
9057
9248
  stack.set(other, object4);
9058
9249
  var skipCtor = isPartial;
@@ -9063,20 +9254,20 @@ var lodash = { exports: {} };
9063
9254
  var compared = isPartial ? customizer(othValue, objValue, key, other, object4, stack) : customizer(objValue, othValue, key, object4, other, stack);
9064
9255
  }
9065
9256
  if (!(compared === undefined$1 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
9066
- result2 = false;
9257
+ result3 = false;
9067
9258
  break;
9068
9259
  }
9069
9260
  skipCtor || (skipCtor = key == "constructor");
9070
9261
  }
9071
- if (result2 && !skipCtor) {
9262
+ if (result3 && !skipCtor) {
9072
9263
  var objCtor = object4.constructor, othCtor = other.constructor;
9073
9264
  if (objCtor != othCtor && ("constructor" in object4 && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
9074
- result2 = false;
9265
+ result3 = false;
9075
9266
  }
9076
9267
  }
9077
9268
  stack["delete"](object4);
9078
9269
  stack["delete"](other);
9079
- return result2;
9270
+ return result3;
9080
9271
  }
9081
9272
  function flatRest2(func) {
9082
9273
  return setToString2(overRest2(func, undefined$1, flatten2), func + "");
@@ -9091,35 +9282,35 @@ var lodash = { exports: {} };
9091
9282
  return metaMap.get(func);
9092
9283
  };
9093
9284
  function getFuncName(func) {
9094
- var result2 = func.name + "", array4 = realNames[result2], length = hasOwnProperty2.call(realNames, result2) ? array4.length : 0;
9285
+ var result3 = func.name + "", array4 = realNames[result3], length = hasOwnProperty2.call(realNames, result3) ? array4.length : 0;
9095
9286
  while (length--) {
9096
9287
  var data = array4[length], otherFunc = data.func;
9097
9288
  if (otherFunc == null || otherFunc == func) {
9098
9289
  return data.name;
9099
9290
  }
9100
9291
  }
9101
- return result2;
9292
+ return result3;
9102
9293
  }
9103
9294
  function getHolder(func) {
9104
9295
  var object4 = hasOwnProperty2.call(lodash2, "placeholder") ? lodash2 : func;
9105
9296
  return object4.placeholder;
9106
9297
  }
9107
9298
  function getIteratee() {
9108
- var result2 = lodash2.iteratee || iteratee;
9109
- result2 = result2 === iteratee ? baseIteratee : result2;
9110
- return arguments.length ? result2(arguments[0], arguments[1]) : result2;
9299
+ var result3 = lodash2.iteratee || iteratee;
9300
+ result3 = result3 === iteratee ? baseIteratee : result3;
9301
+ return arguments.length ? result3(arguments[0], arguments[1]) : result3;
9111
9302
  }
9112
9303
  function getMapData2(map2, key) {
9113
9304
  var data = map2.__data__;
9114
9305
  return isKeyable2(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
9115
9306
  }
9116
9307
  function getMatchData(object4) {
9117
- var result2 = keys2(object4), length = result2.length;
9308
+ var result3 = keys2(object4), length = result3.length;
9118
9309
  while (length--) {
9119
- var key = result2[length], value = object4[key];
9120
- result2[length] = [key, value, isStrictComparable(value)];
9310
+ var key = result3[length], value = object4[key];
9311
+ result3[length] = [key, value, isStrictComparable(value)];
9121
9312
  }
9122
- return result2;
9313
+ return result3;
9123
9314
  }
9124
9315
  function getNative2(object4, key) {
9125
9316
  var value = getValue2(object4, key);
@@ -9132,7 +9323,7 @@ var lodash = { exports: {} };
9132
9323
  var unmasked = true;
9133
9324
  } catch (e) {
9134
9325
  }
9135
- var result2 = nativeObjectToString2.call(value);
9326
+ var result3 = nativeObjectToString2.call(value);
9136
9327
  if (unmasked) {
9137
9328
  if (isOwn) {
9138
9329
  value[symToStringTag2] = tag2;
@@ -9140,7 +9331,7 @@ var lodash = { exports: {} };
9140
9331
  delete value[symToStringTag2];
9141
9332
  }
9142
9333
  }
9143
- return result2;
9334
+ return result3;
9144
9335
  }
9145
9336
  var getSymbols2 = !nativeGetSymbols2 ? stubArray2 : function(object4) {
9146
9337
  if (object4 == null) {
@@ -9152,17 +9343,17 @@ var lodash = { exports: {} };
9152
9343
  });
9153
9344
  };
9154
9345
  var getSymbolsIn2 = !nativeGetSymbols2 ? stubArray2 : function(object4) {
9155
- var result2 = [];
9346
+ var result3 = [];
9156
9347
  while (object4) {
9157
- arrayPush2(result2, getSymbols2(object4));
9348
+ arrayPush2(result3, getSymbols2(object4));
9158
9349
  object4 = getPrototype2(object4);
9159
9350
  }
9160
- return result2;
9351
+ return result3;
9161
9352
  };
9162
9353
  var getTag2 = baseGetTag2;
9163
9354
  if (DataView2 && getTag2(new DataView2(new ArrayBuffer(1))) != dataViewTag2 || Map2 && getTag2(new Map2()) != mapTag2 || Promise2 && getTag2(Promise2.resolve()) != promiseTag2 || Set2 && getTag2(new Set2()) != setTag2 || WeakMap2 && getTag2(new WeakMap2()) != weakMapTag2) {
9164
9355
  getTag2 = function(value) {
9165
- var result2 = baseGetTag2(value), Ctor = result2 == objectTag2 ? value.constructor : undefined$1, ctorString = Ctor ? toSource2(Ctor) : "";
9356
+ var result3 = baseGetTag2(value), Ctor = result3 == objectTag2 ? value.constructor : undefined$1, ctorString = Ctor ? toSource2(Ctor) : "";
9166
9357
  if (ctorString) {
9167
9358
  switch (ctorString) {
9168
9359
  case dataViewCtorString2:
@@ -9177,7 +9368,7 @@ var lodash = { exports: {} };
9177
9368
  return weakMapTag2;
9178
9369
  }
9179
9370
  }
9180
- return result2;
9371
+ return result3;
9181
9372
  };
9182
9373
  }
9183
9374
  function getView(start, end, transforms) {
@@ -9207,27 +9398,27 @@ var lodash = { exports: {} };
9207
9398
  }
9208
9399
  function hasPath(object4, path, hasFunc) {
9209
9400
  path = castPath2(path, object4);
9210
- var index2 = -1, length = path.length, result2 = false;
9401
+ var index2 = -1, length = path.length, result3 = false;
9211
9402
  while (++index2 < length) {
9212
9403
  var key = toKey2(path[index2]);
9213
- if (!(result2 = object4 != null && hasFunc(object4, key))) {
9404
+ if (!(result3 = object4 != null && hasFunc(object4, key))) {
9214
9405
  break;
9215
9406
  }
9216
9407
  object4 = object4[key];
9217
9408
  }
9218
- if (result2 || ++index2 != length) {
9219
- return result2;
9409
+ if (result3 || ++index2 != length) {
9410
+ return result3;
9220
9411
  }
9221
9412
  length = object4 == null ? 0 : object4.length;
9222
9413
  return !!length && isLength2(length) && isIndex2(key, length) && (isArray2(object4) || isArguments2(object4));
9223
9414
  }
9224
9415
  function initCloneArray2(array4) {
9225
- var length = array4.length, result2 = new array4.constructor(length);
9416
+ var length = array4.length, result3 = new array4.constructor(length);
9226
9417
  if (length && typeof array4[0] == "string" && hasOwnProperty2.call(array4, "index")) {
9227
- result2.index = array4.index;
9228
- result2.input = array4.input;
9418
+ result3.index = array4.index;
9419
+ result3.input = array4.input;
9229
9420
  }
9230
- return result2;
9421
+ return result3;
9231
9422
  }
9232
9423
  function initCloneObject2(object4) {
9233
9424
  return typeof object4.constructor == "function" && !isPrototype2(object4) ? baseCreate2(getPrototype2(object4)) : {};
@@ -9338,14 +9529,14 @@ var lodash = { exports: {} };
9338
9529
  };
9339
9530
  }
9340
9531
  function memoizeCapped2(func) {
9341
- var result2 = memoize2(func, function(key) {
9532
+ var result3 = memoize2(func, function(key) {
9342
9533
  if (cache.size === MAX_MEMOIZE_SIZE2) {
9343
9534
  cache.clear();
9344
9535
  }
9345
9536
  return key;
9346
9537
  });
9347
- var cache = result2.cache;
9348
- return result2;
9538
+ var cache = result3.cache;
9539
+ return result3;
9349
9540
  }
9350
9541
  function mergeData(data, source) {
9351
9542
  var bitmask = data[1], srcBitmask = source[1], newBitmask = bitmask | srcBitmask, isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);
@@ -9384,13 +9575,13 @@ var lodash = { exports: {} };
9384
9575
  return data;
9385
9576
  }
9386
9577
  function nativeKeysIn2(object4) {
9387
- var result2 = [];
9578
+ var result3 = [];
9388
9579
  if (object4 != null) {
9389
9580
  for (var key in Object2(object4)) {
9390
- result2.push(key);
9581
+ result3.push(key);
9391
9582
  }
9392
9583
  }
9393
- return result2;
9584
+ return result3;
9394
9585
  }
9395
9586
  function objectToString2(value) {
9396
9587
  return nativeObjectToString2.call(value);
@@ -9467,21 +9658,21 @@ var lodash = { exports: {} };
9467
9658
  return array4;
9468
9659
  }
9469
9660
  var stringToPath2 = memoizeCapped2(function(string3) {
9470
- var result2 = [];
9661
+ var result3 = [];
9471
9662
  if (string3.charCodeAt(0) === 46) {
9472
- result2.push("");
9663
+ result3.push("");
9473
9664
  }
9474
9665
  string3.replace(rePropName2, function(match, number4, quote, subString) {
9475
- result2.push(quote ? subString.replace(reEscapeChar2, "$1") : number4 || match);
9666
+ result3.push(quote ? subString.replace(reEscapeChar2, "$1") : number4 || match);
9476
9667
  });
9477
- return result2;
9668
+ return result3;
9478
9669
  });
9479
9670
  function toKey2(value) {
9480
9671
  if (typeof value == "string" || isSymbol2(value)) {
9481
9672
  return value;
9482
9673
  }
9483
- var result2 = value + "";
9484
- return result2 == "0" && 1 / value == -INFINITY2 ? "-0" : result2;
9674
+ var result3 = value + "";
9675
+ return result3 == "0" && 1 / value == -INFINITY2 ? "-0" : result3;
9485
9676
  }
9486
9677
  function toSource2(func) {
9487
9678
  if (func != null) {
@@ -9509,11 +9700,11 @@ var lodash = { exports: {} };
9509
9700
  if (wrapper instanceof LazyWrapper) {
9510
9701
  return wrapper.clone();
9511
9702
  }
9512
- var result2 = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);
9513
- result2.__actions__ = copyArray2(wrapper.__actions__);
9514
- result2.__index__ = wrapper.__index__;
9515
- result2.__values__ = wrapper.__values__;
9516
- return result2;
9703
+ var result3 = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);
9704
+ result3.__actions__ = copyArray2(wrapper.__actions__);
9705
+ result3.__index__ = wrapper.__index__;
9706
+ result3.__values__ = wrapper.__values__;
9707
+ return result3;
9517
9708
  }
9518
9709
  function chunk(array4, size2, guard) {
9519
9710
  if (guard ? isIterateeCall2(array4, size2, guard) : size2 === undefined$1) {
@@ -9525,21 +9716,21 @@ var lodash = { exports: {} };
9525
9716
  if (!length || size2 < 1) {
9526
9717
  return [];
9527
9718
  }
9528
- var index2 = 0, resIndex = 0, result2 = Array2(nativeCeil(length / size2));
9719
+ var index2 = 0, resIndex = 0, result3 = Array2(nativeCeil(length / size2));
9529
9720
  while (index2 < length) {
9530
- result2[resIndex++] = baseSlice2(array4, index2, index2 += size2);
9721
+ result3[resIndex++] = baseSlice2(array4, index2, index2 += size2);
9531
9722
  }
9532
- return result2;
9723
+ return result3;
9533
9724
  }
9534
9725
  function compact(array4) {
9535
- var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result2 = [];
9726
+ var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result3 = [];
9536
9727
  while (++index2 < length) {
9537
9728
  var value = array4[index2];
9538
9729
  if (value) {
9539
- result2[resIndex++] = value;
9730
+ result3[resIndex++] = value;
9540
9731
  }
9541
9732
  }
9542
- return result2;
9733
+ return result3;
9543
9734
  }
9544
9735
  function concat() {
9545
9736
  var length = arguments.length;
@@ -9643,12 +9834,12 @@ var lodash = { exports: {} };
9643
9834
  return baseFlatten2(array4, depth);
9644
9835
  }
9645
9836
  function fromPairs(pairs) {
9646
- var index2 = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
9837
+ var index2 = -1, length = pairs == null ? 0 : pairs.length, result3 = {};
9647
9838
  while (++index2 < length) {
9648
9839
  var pair = pairs[index2];
9649
- result2[pair[0]] = pair[1];
9840
+ result3[pair[0]] = pair[1];
9650
9841
  }
9651
- return result2;
9842
+ return result3;
9652
9843
  }
9653
9844
  function head(array4) {
9654
9845
  return array4 && array4.length ? array4[0] : undefined$1;
@@ -9722,28 +9913,28 @@ var lodash = { exports: {} };
9722
9913
  return array4 && array4.length && values2 && values2.length ? basePullAll(array4, values2, undefined$1, comparator) : array4;
9723
9914
  }
9724
9915
  var pullAt = flatRest2(function(array4, indexes) {
9725
- var length = array4 == null ? 0 : array4.length, result2 = baseAt(array4, indexes);
9916
+ var length = array4 == null ? 0 : array4.length, result3 = baseAt(array4, indexes);
9726
9917
  basePullAt(array4, arrayMap2(indexes, function(index2) {
9727
9918
  return isIndex2(index2, length) ? +index2 : index2;
9728
9919
  }).sort(compareAscending));
9729
- return result2;
9920
+ return result3;
9730
9921
  });
9731
9922
  function remove2(array4, predicate) {
9732
- var result2 = [];
9923
+ var result3 = [];
9733
9924
  if (!(array4 && array4.length)) {
9734
- return result2;
9925
+ return result3;
9735
9926
  }
9736
9927
  var index2 = -1, indexes = [], length = array4.length;
9737
9928
  predicate = getIteratee(predicate, 3);
9738
9929
  while (++index2 < length) {
9739
9930
  var value = array4[index2];
9740
9931
  if (predicate(value, index2, array4)) {
9741
- result2.push(value);
9932
+ result3.push(value);
9742
9933
  indexes.push(index2);
9743
9934
  }
9744
9935
  }
9745
9936
  basePullAt(array4, indexes);
9746
- return result2;
9937
+ return result3;
9747
9938
  }
9748
9939
  function reverse(array4) {
9749
9940
  return array4 == null ? array4 : nativeReverse.call(array4);
@@ -9870,11 +10061,11 @@ var lodash = { exports: {} };
9870
10061
  if (!(array4 && array4.length)) {
9871
10062
  return [];
9872
10063
  }
9873
- var result2 = unzip(array4);
10064
+ var result3 = unzip(array4);
9874
10065
  if (iteratee2 == null) {
9875
- return result2;
10066
+ return result3;
9876
10067
  }
9877
- return arrayMap2(result2, function(group) {
10068
+ return arrayMap2(result3, function(group) {
9878
10069
  return apply2(iteratee2, undefined$1, group);
9879
10070
  });
9880
10071
  }
@@ -9909,9 +10100,9 @@ var lodash = { exports: {} };
9909
10100
  return unzipWith(arrays, iteratee2);
9910
10101
  });
9911
10102
  function chain(value) {
9912
- var result2 = lodash2(value);
9913
- result2.__chain__ = true;
9914
- return result2;
10103
+ var result3 = lodash2(value);
10104
+ result3.__chain__ = true;
10105
+ return result3;
9915
10106
  }
9916
10107
  function tap(value, interceptor) {
9917
10108
  interceptor(value);
@@ -9957,21 +10148,21 @@ var lodash = { exports: {} };
9957
10148
  return this;
9958
10149
  }
9959
10150
  function wrapperPlant(value) {
9960
- var result2, parent3 = this;
10151
+ var result3, parent3 = this;
9961
10152
  while (parent3 instanceof baseLodash) {
9962
10153
  var clone2 = wrapperClone(parent3);
9963
10154
  clone2.__index__ = 0;
9964
10155
  clone2.__values__ = undefined$1;
9965
- if (result2) {
10156
+ if (result3) {
9966
10157
  previous.__wrapped__ = clone2;
9967
10158
  } else {
9968
- result2 = clone2;
10159
+ result3 = clone2;
9969
10160
  }
9970
10161
  var previous = clone2;
9971
10162
  parent3 = parent3.__wrapped__;
9972
10163
  }
9973
10164
  previous.__wrapped__ = value;
9974
- return result2;
10165
+ return result3;
9975
10166
  }
9976
10167
  function wrapperReverse() {
9977
10168
  var value = this.__wrapped__;
@@ -9993,11 +10184,11 @@ var lodash = { exports: {} };
9993
10184
  function wrapperValue() {
9994
10185
  return baseWrapperValue(this.__wrapped__, this.__actions__);
9995
10186
  }
9996
- var countBy = createAggregator(function(result2, value, key) {
9997
- if (hasOwnProperty2.call(result2, key)) {
9998
- ++result2[key];
10187
+ var countBy = createAggregator(function(result3, value, key) {
10188
+ if (hasOwnProperty2.call(result3, key)) {
10189
+ ++result3[key];
9999
10190
  } else {
10000
- baseAssignValue2(result2, key, 1);
10191
+ baseAssignValue2(result3, key, 1);
10001
10192
  }
10002
10193
  });
10003
10194
  function every(collection, predicate, guard) {
@@ -10031,11 +10222,11 @@ var lodash = { exports: {} };
10031
10222
  var func = isArray2(collection) ? arrayEachRight : baseEachRight;
10032
10223
  return func(collection, getIteratee(iteratee2, 3));
10033
10224
  }
10034
- var groupBy = createAggregator(function(result2, value, key) {
10035
- if (hasOwnProperty2.call(result2, key)) {
10036
- result2[key].push(value);
10225
+ var groupBy = createAggregator(function(result3, value, key) {
10226
+ if (hasOwnProperty2.call(result3, key)) {
10227
+ result3[key].push(value);
10037
10228
  } else {
10038
- baseAssignValue2(result2, key, [value]);
10229
+ baseAssignValue2(result3, key, [value]);
10039
10230
  }
10040
10231
  });
10041
10232
  function includes(collection, value, fromIndex, guard) {
@@ -10048,14 +10239,14 @@ var lodash = { exports: {} };
10048
10239
  return isString2(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
10049
10240
  }
10050
10241
  var invokeMap = baseRest2(function(collection, path, args) {
10051
- var index2 = -1, isFunc = typeof path == "function", result2 = isArrayLike2(collection) ? Array2(collection.length) : [];
10242
+ var index2 = -1, isFunc = typeof path == "function", result3 = isArrayLike2(collection) ? Array2(collection.length) : [];
10052
10243
  baseEach(collection, function(value) {
10053
- result2[++index2] = isFunc ? apply2(path, value, args) : baseInvoke(value, path, args);
10244
+ result3[++index2] = isFunc ? apply2(path, value, args) : baseInvoke(value, path, args);
10054
10245
  });
10055
- return result2;
10246
+ return result3;
10056
10247
  });
10057
- var keyBy = createAggregator(function(result2, value, key) {
10058
- baseAssignValue2(result2, key, value);
10248
+ var keyBy = createAggregator(function(result3, value, key) {
10249
+ baseAssignValue2(result3, key, value);
10059
10250
  });
10060
10251
  function map(collection, iteratee2) {
10061
10252
  var func = isArray2(collection) ? arrayMap2 : baseMap;
@@ -10074,8 +10265,8 @@ var lodash = { exports: {} };
10074
10265
  }
10075
10266
  return baseOrderBy(collection, iteratees, orders);
10076
10267
  }
10077
- var partition = createAggregator(function(result2, value, key) {
10078
- result2[key ? 0 : 1].push(value);
10268
+ var partition = createAggregator(function(result3, value, key) {
10269
+ result3[key ? 0 : 1].push(value);
10079
10270
  }, function() {
10080
10271
  return [[], []];
10081
10272
  });
@@ -10160,19 +10351,19 @@ var lodash = { exports: {} };
10160
10351
  return createWrap(func, WRAP_ARY_FLAG, undefined$1, undefined$1, undefined$1, undefined$1, n);
10161
10352
  }
10162
10353
  function before(n, func) {
10163
- var result2;
10354
+ var result3;
10164
10355
  if (typeof func != "function") {
10165
10356
  throw new TypeError2(FUNC_ERROR_TEXT2);
10166
10357
  }
10167
10358
  n = toInteger(n);
10168
10359
  return function() {
10169
10360
  if (--n > 0) {
10170
- result2 = func.apply(this, arguments);
10361
+ result3 = func.apply(this, arguments);
10171
10362
  }
10172
10363
  if (n <= 1) {
10173
10364
  func = undefined$1;
10174
10365
  }
10175
- return result2;
10366
+ return result3;
10176
10367
  };
10177
10368
  }
10178
10369
  var bind2 = baseRest2(function(func, thisArg, partials) {
@@ -10193,18 +10384,18 @@ var lodash = { exports: {} };
10193
10384
  });
10194
10385
  function curry(func, arity, guard) {
10195
10386
  arity = guard ? undefined$1 : arity;
10196
- var result2 = createWrap(func, WRAP_CURRY_FLAG, undefined$1, undefined$1, undefined$1, undefined$1, undefined$1, arity);
10197
- result2.placeholder = curry.placeholder;
10198
- return result2;
10387
+ var result3 = createWrap(func, WRAP_CURRY_FLAG, undefined$1, undefined$1, undefined$1, undefined$1, undefined$1, arity);
10388
+ result3.placeholder = curry.placeholder;
10389
+ return result3;
10199
10390
  }
10200
10391
  function curryRight(func, arity, guard) {
10201
10392
  arity = guard ? undefined$1 : arity;
10202
- var result2 = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined$1, undefined$1, undefined$1, undefined$1, undefined$1, arity);
10203
- result2.placeholder = curryRight.placeholder;
10204
- return result2;
10393
+ var result3 = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined$1, undefined$1, undefined$1, undefined$1, undefined$1, arity);
10394
+ result3.placeholder = curryRight.placeholder;
10395
+ return result3;
10205
10396
  }
10206
10397
  function debounce2(func, wait, options) {
10207
- var lastArgs, lastThis, maxWait, result2, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
10398
+ var lastArgs, lastThis, maxWait, result3, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
10208
10399
  if (typeof func != "function") {
10209
10400
  throw new TypeError2(FUNC_ERROR_TEXT2);
10210
10401
  }
@@ -10219,13 +10410,13 @@ var lodash = { exports: {} };
10219
10410
  var args = lastArgs, thisArg = lastThis;
10220
10411
  lastArgs = lastThis = undefined$1;
10221
10412
  lastInvokeTime = time;
10222
- result2 = func.apply(thisArg, args);
10223
- return result2;
10413
+ result3 = func.apply(thisArg, args);
10414
+ return result3;
10224
10415
  }
10225
10416
  function leadingEdge(time) {
10226
10417
  lastInvokeTime = time;
10227
10418
  timerId = setTimeout2(timerExpired, wait);
10228
- return leading ? invokeFunc(time) : result2;
10419
+ return leading ? invokeFunc(time) : result3;
10229
10420
  }
10230
10421
  function remainingWait(time) {
10231
10422
  var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
@@ -10248,7 +10439,7 @@ var lodash = { exports: {} };
10248
10439
  return invokeFunc(time);
10249
10440
  }
10250
10441
  lastArgs = lastThis = undefined$1;
10251
- return result2;
10442
+ return result3;
10252
10443
  }
10253
10444
  function cancel() {
10254
10445
  if (timerId !== undefined$1) {
@@ -10258,7 +10449,7 @@ var lodash = { exports: {} };
10258
10449
  lastArgs = lastCallTime = lastThis = timerId = undefined$1;
10259
10450
  }
10260
10451
  function flush() {
10261
- return timerId === undefined$1 ? result2 : trailingEdge(now2());
10452
+ return timerId === undefined$1 ? result3 : trailingEdge(now2());
10262
10453
  }
10263
10454
  function debounced() {
10264
10455
  var time = now2(), isInvoking = shouldInvoke(time);
@@ -10278,7 +10469,7 @@ var lodash = { exports: {} };
10278
10469
  if (timerId === undefined$1) {
10279
10470
  timerId = setTimeout2(timerExpired, wait);
10280
10471
  }
10281
- return result2;
10472
+ return result3;
10282
10473
  }
10283
10474
  debounced.cancel = cancel;
10284
10475
  debounced.flush = flush;
@@ -10302,9 +10493,9 @@ var lodash = { exports: {} };
10302
10493
  if (cache.has(key)) {
10303
10494
  return cache.get(key);
10304
10495
  }
10305
- var result2 = func.apply(this, args);
10306
- memoized.cache = cache.set(key, result2) || cache;
10307
- return result2;
10496
+ var result3 = func.apply(this, args);
10497
+ memoized.cache = cache.set(key, result3) || cache;
10498
+ return result3;
10308
10499
  };
10309
10500
  memoized.cache = new (memoize2.Cache || MapCache2)();
10310
10501
  return memoized;
@@ -10473,8 +10664,8 @@ var lodash = { exports: {} };
10473
10664
  }
10474
10665
  function isEqualWith(value, other, customizer) {
10475
10666
  customizer = typeof customizer == "function" ? customizer : undefined$1;
10476
- var result2 = customizer ? customizer(value, other) : undefined$1;
10477
- return result2 === undefined$1 ? baseIsEqual2(value, other, undefined$1, customizer) : !!result2;
10667
+ var result3 = customizer ? customizer(value, other) : undefined$1;
10668
+ return result3 === undefined$1 ? baseIsEqual2(value, other, undefined$1, customizer) : !!result3;
10478
10669
  }
10479
10670
  function isError(value) {
10480
10671
  if (!isObjectLike2(value)) {
@@ -10593,8 +10784,8 @@ var lodash = { exports: {} };
10593
10784
  return value === value ? value : 0;
10594
10785
  }
10595
10786
  function toInteger(value) {
10596
- var result2 = toFinite(value), remainder = result2 % 1;
10597
- return result2 === result2 ? remainder ? result2 - remainder : result2 : 0;
10787
+ var result3 = toFinite(value), remainder = result3 % 1;
10788
+ return result3 === result3 ? remainder ? result3 - remainder : result3 : 0;
10598
10789
  }
10599
10790
  function toLength(value) {
10600
10791
  return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;
@@ -10648,8 +10839,8 @@ var lodash = { exports: {} };
10648
10839
  });
10649
10840
  var at = flatRest2(baseAt);
10650
10841
  function create(prototype, properties) {
10651
- var result2 = baseCreate2(prototype);
10652
- return properties == null ? result2 : baseAssign2(result2, properties);
10842
+ var result3 = baseCreate2(prototype);
10843
+ return properties == null ? result3 : baseAssign2(result3, properties);
10653
10844
  }
10654
10845
  var defaults = baseRest2(function(object4, sources) {
10655
10846
  object4 = Object2(object4);
@@ -10703,8 +10894,8 @@ var lodash = { exports: {} };
10703
10894
  return object4 == null ? [] : baseFunctions(object4, keysIn2(object4));
10704
10895
  }
10705
10896
  function get(object4, path, defaultValue) {
10706
- var result2 = object4 == null ? undefined$1 : baseGet2(object4, path);
10707
- return result2 === undefined$1 ? defaultValue : result2;
10897
+ var result3 = object4 == null ? undefined$1 : baseGet2(object4, path);
10898
+ return result3 === undefined$1 ? defaultValue : result3;
10708
10899
  }
10709
10900
  function has(object4, path) {
10710
10901
  return object4 != null && hasPath(object4, path, baseHas);
@@ -10712,20 +10903,20 @@ var lodash = { exports: {} };
10712
10903
  function hasIn(object4, path) {
10713
10904
  return object4 != null && hasPath(object4, path, baseHasIn);
10714
10905
  }
10715
- var invert = createInverter(function(result2, value, key) {
10906
+ var invert = createInverter(function(result3, value, key) {
10716
10907
  if (value != null && typeof value.toString != "function") {
10717
10908
  value = nativeObjectToString2.call(value);
10718
10909
  }
10719
- result2[value] = key;
10910
+ result3[value] = key;
10720
10911
  }, constant2(identity2));
10721
- var invertBy = createInverter(function(result2, value, key) {
10912
+ var invertBy = createInverter(function(result3, value, key) {
10722
10913
  if (value != null && typeof value.toString != "function") {
10723
10914
  value = nativeObjectToString2.call(value);
10724
10915
  }
10725
- if (hasOwnProperty2.call(result2, value)) {
10726
- result2[value].push(key);
10916
+ if (hasOwnProperty2.call(result3, value)) {
10917
+ result3[value].push(key);
10727
10918
  } else {
10728
- result2[value] = [key];
10919
+ result3[value] = [key];
10729
10920
  }
10730
10921
  }, getIteratee);
10731
10922
  var invoke = baseRest2(baseInvoke);
@@ -10736,20 +10927,20 @@ var lodash = { exports: {} };
10736
10927
  return isArrayLike2(object4) ? arrayLikeKeys2(object4, true) : baseKeysIn2(object4);
10737
10928
  }
10738
10929
  function mapKeys(object4, iteratee2) {
10739
- var result2 = {};
10930
+ var result3 = {};
10740
10931
  iteratee2 = getIteratee(iteratee2, 3);
10741
10932
  baseForOwn(object4, function(value, key, object5) {
10742
- baseAssignValue2(result2, iteratee2(value, key, object5), value);
10933
+ baseAssignValue2(result3, iteratee2(value, key, object5), value);
10743
10934
  });
10744
- return result2;
10935
+ return result3;
10745
10936
  }
10746
10937
  function mapValues(object4, iteratee2) {
10747
- var result2 = {};
10938
+ var result3 = {};
10748
10939
  iteratee2 = getIteratee(iteratee2, 3);
10749
10940
  baseForOwn(object4, function(value, key, object5) {
10750
- baseAssignValue2(result2, key, iteratee2(value, key, object5));
10941
+ baseAssignValue2(result3, key, iteratee2(value, key, object5));
10751
10942
  });
10752
- return result2;
10943
+ return result3;
10753
10944
  }
10754
10945
  var merge2 = createAssigner2(function(object4, source, srcIndex) {
10755
10946
  baseMerge2(object4, source, srcIndex);
@@ -10758,9 +10949,9 @@ var lodash = { exports: {} };
10758
10949
  baseMerge2(object4, source, srcIndex, customizer);
10759
10950
  });
10760
10951
  var omit2 = flatRest2(function(object4, paths) {
10761
- var result2 = {};
10952
+ var result3 = {};
10762
10953
  if (object4 == null) {
10763
- return result2;
10954
+ return result3;
10764
10955
  }
10765
10956
  var isDeep = false;
10766
10957
  paths = arrayMap2(paths, function(path) {
@@ -10768,15 +10959,15 @@ var lodash = { exports: {} };
10768
10959
  isDeep || (isDeep = path.length > 1);
10769
10960
  return path;
10770
10961
  });
10771
- copyObject2(object4, getAllKeysIn2(object4), result2);
10962
+ copyObject2(object4, getAllKeysIn2(object4), result3);
10772
10963
  if (isDeep) {
10773
- result2 = baseClone2(result2, CLONE_DEEP_FLAG2 | CLONE_FLAT_FLAG2 | CLONE_SYMBOLS_FLAG2, customOmitClone2);
10964
+ result3 = baseClone2(result3, CLONE_DEEP_FLAG2 | CLONE_FLAT_FLAG2 | CLONE_SYMBOLS_FLAG2, customOmitClone2);
10774
10965
  }
10775
10966
  var length = paths.length;
10776
10967
  while (length--) {
10777
- baseUnset2(result2, paths[length]);
10968
+ baseUnset2(result3, paths[length]);
10778
10969
  }
10779
- return result2;
10970
+ return result3;
10780
10971
  });
10781
10972
  function omitBy(object4, predicate) {
10782
10973
  return pickBy(object4, negate(getIteratee(predicate)));
@@ -10796,7 +10987,7 @@ var lodash = { exports: {} };
10796
10987
  return predicate(value, path[0]);
10797
10988
  });
10798
10989
  }
10799
- function result(object4, path, defaultValue) {
10990
+ function result2(object4, path, defaultValue) {
10800
10991
  path = castPath2(path, object4);
10801
10992
  var index2 = -1, length = path.length;
10802
10993
  if (!length) {
@@ -10918,9 +11109,9 @@ var lodash = { exports: {} };
10918
11109
  }
10919
11110
  return baseRandom(lower, upper);
10920
11111
  }
10921
- var camelCase = createCompounder(function(result2, word, index2) {
11112
+ var camelCase = createCompounder(function(result3, word, index2) {
10922
11113
  word = word.toLowerCase();
10923
- return result2 + (index2 ? capitalize(word) : word);
11114
+ return result3 + (index2 ? capitalize(word) : word);
10924
11115
  });
10925
11116
  function capitalize(string3) {
10926
11117
  return upperFirst(toString2(string3).toLowerCase());
@@ -10946,11 +11137,11 @@ var lodash = { exports: {} };
10946
11137
  string3 = toString2(string3);
10947
11138
  return string3 && reHasRegExpChar.test(string3) ? string3.replace(reRegExpChar2, "\\$&") : string3;
10948
11139
  }
10949
- var kebabCase = createCompounder(function(result2, word, index2) {
10950
- return result2 + (index2 ? "-" : "") + word.toLowerCase();
11140
+ var kebabCase = createCompounder(function(result3, word, index2) {
11141
+ return result3 + (index2 ? "-" : "") + word.toLowerCase();
10951
11142
  });
10952
- var lowerCase = createCompounder(function(result2, word, index2) {
10953
- return result2 + (index2 ? " " : "") + word.toLowerCase();
11143
+ var lowerCase = createCompounder(function(result3, word, index2) {
11144
+ return result3 + (index2 ? " " : "") + word.toLowerCase();
10954
11145
  });
10955
11146
  var lowerFirst = createCaseFirst("toLowerCase");
10956
11147
  function pad(string3, length, chars) {
@@ -10995,8 +11186,8 @@ var lodash = { exports: {} };
10995
11186
  var args = arguments, string3 = toString2(args[0]);
10996
11187
  return args.length < 3 ? string3 : string3.replace(args[1], args[2]);
10997
11188
  }
10998
- var snakeCase = createCompounder(function(result2, word, index2) {
10999
- return result2 + (index2 ? "_" : "") + word.toLowerCase();
11189
+ var snakeCase = createCompounder(function(result3, word, index2) {
11190
+ return result3 + (index2 ? "_" : "") + word.toLowerCase();
11000
11191
  });
11001
11192
  function split(string3, separator, limit) {
11002
11193
  if (limit && typeof limit != "number" && isIterateeCall2(string3, separator, limit)) {
@@ -11015,8 +11206,8 @@ var lodash = { exports: {} };
11015
11206
  }
11016
11207
  return string3.split(separator, limit);
11017
11208
  }
11018
- var startCase = createCompounder(function(result2, word, index2) {
11019
- return result2 + (index2 ? " " : "") + upperFirst(word);
11209
+ var startCase = createCompounder(function(result3, word, index2) {
11210
+ return result3 + (index2 ? " " : "") + upperFirst(word);
11020
11211
  });
11021
11212
  function startsWith(string3, target, position) {
11022
11213
  string3 = toString2(string3);
@@ -11061,14 +11252,14 @@ var lodash = { exports: {} };
11061
11252
  }
11062
11253
  source = (isEvaluating ? source.replace(reEmptyStringLeading, "") : source).replace(reEmptyStringMiddle, "$1").replace(reEmptyStringTrailing, "$1;");
11063
11254
  source = "function(" + (variable || "obj") + ") {\n" + (variable ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (isEscaping ? ", __e = _.escape" : "") + (isEvaluating ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + source + "return __p\n}";
11064
- var result2 = attempt(function() {
11255
+ var result3 = attempt(function() {
11065
11256
  return Function2(importsKeys, sourceURL + "return " + source).apply(undefined$1, importsValues);
11066
11257
  });
11067
- result2.source = source;
11068
- if (isError(result2)) {
11069
- throw result2;
11258
+ result3.source = source;
11259
+ if (isError(result3)) {
11260
+ throw result3;
11070
11261
  }
11071
- return result2;
11262
+ return result3;
11072
11263
  }
11073
11264
  function toLower(value) {
11074
11265
  return toString2(value).toLowerCase();
@@ -11129,16 +11320,16 @@ var lodash = { exports: {} };
11129
11320
  if (end < 1) {
11130
11321
  return omission;
11131
11322
  }
11132
- var result2 = strSymbols ? castSlice(strSymbols, 0, end).join("") : string3.slice(0, end);
11323
+ var result3 = strSymbols ? castSlice(strSymbols, 0, end).join("") : string3.slice(0, end);
11133
11324
  if (separator === undefined$1) {
11134
- return result2 + omission;
11325
+ return result3 + omission;
11135
11326
  }
11136
11327
  if (strSymbols) {
11137
- end += result2.length - end;
11328
+ end += result3.length - end;
11138
11329
  }
11139
11330
  if (isRegExp(separator)) {
11140
11331
  if (string3.slice(end).search(separator)) {
11141
- var match, substring = result2;
11332
+ var match, substring = result3;
11142
11333
  if (!separator.global) {
11143
11334
  separator = RegExp2(separator.source, toString2(reFlags2.exec(separator)) + "g");
11144
11335
  }
@@ -11146,22 +11337,22 @@ var lodash = { exports: {} };
11146
11337
  while (match = separator.exec(substring)) {
11147
11338
  var newEnd = match.index;
11148
11339
  }
11149
- result2 = result2.slice(0, newEnd === undefined$1 ? end : newEnd);
11340
+ result3 = result3.slice(0, newEnd === undefined$1 ? end : newEnd);
11150
11341
  }
11151
11342
  } else if (string3.indexOf(baseToString2(separator), end) != end) {
11152
- var index2 = result2.lastIndexOf(separator);
11343
+ var index2 = result3.lastIndexOf(separator);
11153
11344
  if (index2 > -1) {
11154
- result2 = result2.slice(0, index2);
11345
+ result3 = result3.slice(0, index2);
11155
11346
  }
11156
11347
  }
11157
- return result2 + omission;
11348
+ return result3 + omission;
11158
11349
  }
11159
11350
  function unescape(string3) {
11160
11351
  string3 = toString2(string3);
11161
11352
  return string3 && reHasEscapedHtml.test(string3) ? string3.replace(reEscapedHtml, unescapeHtmlChar) : string3;
11162
11353
  }
11163
- var upperCase = createCompounder(function(result2, word, index2) {
11164
- return result2 + (index2 ? " " : "") + word.toUpperCase();
11354
+ var upperCase = createCompounder(function(result3, word, index2) {
11355
+ return result3 + (index2 ? " " : "") + word.toUpperCase();
11165
11356
  });
11166
11357
  var upperFirst = createCaseFirst("toUpperCase");
11167
11358
  function words(string3, pattern4, guard) {
@@ -11255,10 +11446,10 @@ var lodash = { exports: {} };
11255
11446
  object4.prototype[methodName] = function() {
11256
11447
  var chainAll = this.__chain__;
11257
11448
  if (chain2 || chainAll) {
11258
- var result2 = object4(this.__wrapped__), actions = result2.__actions__ = copyArray2(this.__actions__);
11449
+ var result3 = object4(this.__wrapped__), actions = result3.__actions__ = copyArray2(this.__actions__);
11259
11450
  actions.push({ "func": func, "args": arguments, "thisArg": object4 });
11260
- result2.__chain__ = chainAll;
11261
- return result2;
11451
+ result3.__chain__ = chainAll;
11452
+ return result3;
11262
11453
  }
11263
11454
  return func.apply(object4, arrayPush2([this.value()], arguments));
11264
11455
  };
@@ -11316,11 +11507,11 @@ var lodash = { exports: {} };
11316
11507
  var index2 = MAX_ARRAY_LENGTH, length = nativeMin2(n, MAX_ARRAY_LENGTH);
11317
11508
  iteratee2 = getIteratee(iteratee2);
11318
11509
  n -= MAX_ARRAY_LENGTH;
11319
- var result2 = baseTimes2(length, iteratee2);
11510
+ var result3 = baseTimes2(length, iteratee2);
11320
11511
  while (++index2 < n) {
11321
11512
  iteratee2(index2);
11322
11513
  }
11323
- return result2;
11514
+ return result3;
11324
11515
  }
11325
11516
  function toPath(value) {
11326
11517
  if (isArray2(value)) {
@@ -11638,7 +11829,7 @@ var lodash = { exports: {} };
11638
11829
  lodash2.reduceRight = reduceRight;
11639
11830
  lodash2.repeat = repeat;
11640
11831
  lodash2.replace = replace;
11641
- lodash2.result = result;
11832
+ lodash2.result = result2;
11642
11833
  lodash2.round = round;
11643
11834
  lodash2.runInContext = runInContext2;
11644
11835
  lodash2.sample = sample;
@@ -11693,16 +11884,16 @@ var lodash = { exports: {} };
11693
11884
  arrayEach2(["drop", "take"], function(methodName, index2) {
11694
11885
  LazyWrapper.prototype[methodName] = function(n) {
11695
11886
  n = n === undefined$1 ? 1 : nativeMax2(toInteger(n), 0);
11696
- var result2 = this.__filtered__ && !index2 ? new LazyWrapper(this) : this.clone();
11697
- if (result2.__filtered__) {
11698
- result2.__takeCount__ = nativeMin2(n, result2.__takeCount__);
11887
+ var result3 = this.__filtered__ && !index2 ? new LazyWrapper(this) : this.clone();
11888
+ if (result3.__filtered__) {
11889
+ result3.__takeCount__ = nativeMin2(n, result3.__takeCount__);
11699
11890
  } else {
11700
- result2.__views__.push({
11891
+ result3.__views__.push({
11701
11892
  "size": nativeMin2(n, MAX_ARRAY_LENGTH),
11702
- "type": methodName + (result2.__dir__ < 0 ? "Right" : "")
11893
+ "type": methodName + (result3.__dir__ < 0 ? "Right" : "")
11703
11894
  });
11704
11895
  }
11705
- return result2;
11896
+ return result3;
11706
11897
  };
11707
11898
  LazyWrapper.prototype[methodName + "Right"] = function(n) {
11708
11899
  return this.reverse()[methodName](n).reverse();
@@ -11711,13 +11902,13 @@ var lodash = { exports: {} };
11711
11902
  arrayEach2(["filter", "map", "takeWhile"], function(methodName, index2) {
11712
11903
  var type4 = index2 + 1, isFilter = type4 == LAZY_FILTER_FLAG || type4 == LAZY_WHILE_FLAG;
11713
11904
  LazyWrapper.prototype[methodName] = function(iteratee2) {
11714
- var result2 = this.clone();
11715
- result2.__iteratees__.push({
11905
+ var result3 = this.clone();
11906
+ result3.__iteratees__.push({
11716
11907
  "iteratee": getIteratee(iteratee2, 3),
11717
11908
  "type": type4
11718
11909
  });
11719
- result2.__filtered__ = result2.__filtered__ || isFilter;
11720
- return result2;
11910
+ result3.__filtered__ = result3.__filtered__ || isFilter;
11911
+ return result3;
11721
11912
  };
11722
11913
  });
11723
11914
  arrayEach2(["head", "last"], function(methodName, index2) {
@@ -11754,20 +11945,20 @@ var lodash = { exports: {} };
11754
11945
  };
11755
11946
  LazyWrapper.prototype.slice = function(start, end) {
11756
11947
  start = toInteger(start);
11757
- var result2 = this;
11758
- if (result2.__filtered__ && (start > 0 || end < 0)) {
11759
- return new LazyWrapper(result2);
11948
+ var result3 = this;
11949
+ if (result3.__filtered__ && (start > 0 || end < 0)) {
11950
+ return new LazyWrapper(result3);
11760
11951
  }
11761
11952
  if (start < 0) {
11762
- result2 = result2.takeRight(-start);
11953
+ result3 = result3.takeRight(-start);
11763
11954
  } else if (start) {
11764
- result2 = result2.drop(start);
11955
+ result3 = result3.drop(start);
11765
11956
  }
11766
11957
  if (end !== undefined$1) {
11767
11958
  end = toInteger(end);
11768
- result2 = end < 0 ? result2.dropRight(-end) : result2.take(end - start);
11959
+ result3 = end < 0 ? result3.dropRight(-end) : result3.take(end - start);
11769
11960
  }
11770
- return result2;
11961
+ return result3;
11771
11962
  };
11772
11963
  LazyWrapper.prototype.takeRightWhile = function(predicate) {
11773
11964
  return this.reverse().takeWhile(predicate).reverse();
@@ -11783,8 +11974,8 @@ var lodash = { exports: {} };
11783
11974
  lodash2.prototype[methodName] = function() {
11784
11975
  var value = this.__wrapped__, args = isTaker ? [1] : arguments, isLazy = value instanceof LazyWrapper, iteratee2 = args[0], useLazy2 = isLazy || isArray2(value);
11785
11976
  var interceptor = function(value2) {
11786
- var result3 = lodashFunc.apply(lodash2, arrayPush2([value2], args));
11787
- return isTaker && chainAll ? result3[0] : result3;
11977
+ var result4 = lodashFunc.apply(lodash2, arrayPush2([value2], args));
11978
+ return isTaker && chainAll ? result4[0] : result4;
11788
11979
  };
11789
11980
  if (useLazy2 && checkIteratee && typeof iteratee2 == "function" && iteratee2.length != 1) {
11790
11981
  isLazy = useLazy2 = false;
@@ -11792,15 +11983,15 @@ var lodash = { exports: {} };
11792
11983
  var chainAll = this.__chain__, isHybrid = !!this.__actions__.length, isUnwrapped = retUnwrapped && !chainAll, onlyLazy = isLazy && !isHybrid;
11793
11984
  if (!retUnwrapped && useLazy2) {
11794
11985
  value = onlyLazy ? value : new LazyWrapper(this);
11795
- var result2 = func.apply(value, args);
11796
- result2.__actions__.push({ "func": thru, "args": [interceptor], "thisArg": undefined$1 });
11797
- return new LodashWrapper(result2, chainAll);
11986
+ var result3 = func.apply(value, args);
11987
+ result3.__actions__.push({ "func": thru, "args": [interceptor], "thisArg": undefined$1 });
11988
+ return new LodashWrapper(result3, chainAll);
11798
11989
  }
11799
11990
  if (isUnwrapped && onlyLazy) {
11800
11991
  return func.apply(this, args);
11801
11992
  }
11802
- result2 = this.thru(interceptor);
11803
- return isUnwrapped ? isTaker ? result2.value()[0] : result2.value() : result2;
11993
+ result3 = this.thru(interceptor);
11994
+ return isUnwrapped ? isTaker ? result3.value()[0] : result3.value() : result3;
11804
11995
  };
11805
11996
  });
11806
11997
  arrayEach2(["pop", "push", "shift", "sort", "splice", "unshift"], function(methodName) {
@@ -12023,7 +12214,7 @@ EditableSelect.install = function(app) {
12023
12214
  var EditableSelectInstall = {
12024
12215
  title: "EditableSelect \u53EF\u8F93\u5165\u4E0B\u62C9\u9009\u62E9\u6846",
12025
12216
  category: "\u6570\u636E\u5F55\u5165",
12026
- status: void 0,
12217
+ status: "10%",
12027
12218
  install(app) {
12028
12219
  app.use(EditableSelect);
12029
12220
  }
@@ -13455,7 +13646,7 @@ var FormControl = defineComponent$1({
13455
13646
  }, [createVNode("div", {
13456
13647
  "class": `devui-form-control-container${isHorizontal ? " devui-form-control-container-horizontal" : ""}${feedbackStatus ? " has-feedback" : ""}${feedbackStatus === "error" ? " feedback-error" : ""}`
13457
13648
  }, [createVNode("div", {
13458
- "class": "devui-control-content-wrapper"
13649
+ "class": `devui-control-content-wrapper ${showPopover.value ? "with-popover" : ""}`
13459
13650
  }, [(_b = (_a = ctx2.slots).default) == null ? void 0 : _b.call(_a), showPopover.value && createVNode("div", {
13460
13651
  "class": "devui-popover-wrapper"
13461
13652
  }, [createVNode(Popover, {
@@ -13969,7 +14160,7 @@ Fullscreen.install = function(app) {
13969
14160
  var FullscreenInstall = {
13970
14161
  title: "Fullscreen \u5168\u5C4F",
13971
14162
  category: "\u901A\u7528",
13972
- status: "\u5DF2\u5B8C\u6210",
14163
+ status: "100%",
13973
14164
  install(app) {
13974
14165
  app.use(Fullscreen);
13975
14166
  }
@@ -14560,7 +14751,7 @@ function useColClassNames(props) {
14560
14751
  });
14561
14752
  }
14562
14753
  function setSpace(val) {
14563
- return val && ` ${val.trim()} `;
14754
+ return ` ${val.trim()}${val && " "}`;
14564
14755
  }
14565
14756
  function useSize(colSizes) {
14566
14757
  const keys2 = Object.keys(colSizes).filter((key) => key in screenSizes);
@@ -14615,8 +14806,8 @@ function removeSubscribeCb(id) {
14615
14806
  }
14616
14807
  function register2() {
14617
14808
  Object.keys(screenMedias).forEach((key) => {
14618
- const result = window.matchMedia(screenMedias[key]);
14619
- if (result.matches) {
14809
+ const result2 = window.matchMedia(screenMedias[key]);
14810
+ if (result2.matches) {
14620
14811
  screen[key] = true;
14621
14812
  dispatch();
14622
14813
  }
@@ -14624,9 +14815,9 @@ function register2() {
14624
14815
  screen[key] = e.matches;
14625
14816
  dispatch();
14626
14817
  };
14627
- result.addEventListener("change", listener);
14818
+ result2.addEventListener("change", listener);
14628
14819
  results[key] = {
14629
- res: result,
14820
+ res: result2,
14630
14821
  listener
14631
14822
  };
14632
14823
  });
@@ -14752,7 +14943,7 @@ Col.install = function(app) {
14752
14943
  var GridInstall = {
14753
14944
  title: "Grid \u6805\u683C",
14754
14945
  category: "\u5E03\u5C40",
14755
- status: "\u5DF2\u5B8C\u6210",
14946
+ status: "100%",
14756
14947
  install(app) {
14757
14948
  app.use(Col);
14758
14949
  app.use(Row);
@@ -15184,7 +15375,7 @@ var ImagePreviewDirective = {
15184
15375
  var ImagePreviewInstall = {
15185
15376
  title: "ImagePreview \u56FE\u7247\u9884\u89C8",
15186
15377
  category: "\u6570\u636E\u5C55\u793A",
15187
- status: "\u5DF2\u5B8C\u6210",
15378
+ status: "100%",
15188
15379
  install(app) {
15189
15380
  app.directive("d-image-preview", ImagePreviewDirective);
15190
15381
  app.config.globalProperties.$imagePreviewService = ImagePreviewService;
@@ -15531,7 +15722,7 @@ Aside.install = function(app) {
15531
15722
  var LayoutInstall = {
15532
15723
  title: "Layout \u5E03\u5C40",
15533
15724
  category: "\u5E03\u5C40",
15534
- status: "\u5DF2\u5B8C\u6210",
15725
+ status: "100%",
15535
15726
  install(app) {
15536
15727
  app.use(Layout);
15537
15728
  app.use(Content);
@@ -15765,7 +15956,7 @@ const loading = {
15765
15956
  var LoadingInstall = {
15766
15957
  title: "Loading \u52A0\u8F7D\u63D0\u793A",
15767
15958
  category: "\u53CD\u9988",
15768
- status: "\u5DF2\u5B8C\u6210",
15959
+ status: "100%",
15769
15960
  install(app) {
15770
15961
  app.directive("dLoading", loadingDirective);
15771
15962
  app.config.globalProperties.$loadingService = loading;
@@ -15851,11 +16042,11 @@ var Modal = defineComponent$1({
15851
16042
  (_a2 = props.onClose) == null ? void 0 : _a2.call(props);
15852
16043
  }
15853
16044
  };
15854
- const result = (_a = typeof beforeHidden === "function" ? beforeHidden() : beforeHidden) != null ? _a : true;
15855
- if (result instanceof Promise) {
15856
- result.then(close);
16045
+ const result2 = (_a = typeof beforeHidden === "function" ? beforeHidden() : beforeHidden) != null ? _a : true;
16046
+ if (result2 instanceof Promise) {
16047
+ result2.then(close);
15857
16048
  } else {
15858
- close(result);
16049
+ close(result2);
15859
16050
  }
15860
16051
  }
15861
16052
  };
@@ -16252,7 +16443,7 @@ Modal.install = function(app) {
16252
16443
  var ModalInstall = {
16253
16444
  title: "Modal \u5F39\u7A97",
16254
16445
  category: "\u53CD\u9988",
16255
- status: "\u5DF2\u5B8C\u6210",
16446
+ status: "100%",
16256
16447
  install(app) {
16257
16448
  app.use(Modal);
16258
16449
  if (!inBrowser) {
@@ -16684,7 +16875,7 @@ function findInsertionIndex(id) {
16684
16875
  let end = queue.length;
16685
16876
  while (start < end) {
16686
16877
  const middle = start + end >>> 1;
16687
- const middleJobId = getId(queue[middle]);
16878
+ const middleJobId = getId$1(queue[middle]);
16688
16879
  middleJobId < id ? start = middle + 1 : end = middle;
16689
16880
  }
16690
16881
  return start;
@@ -16744,7 +16935,7 @@ function flushPostFlushCbs(seen) {
16744
16935
  return;
16745
16936
  }
16746
16937
  activePostFlushCbs = deduped;
16747
- activePostFlushCbs.sort((a, b) => getId(a) - getId(b));
16938
+ activePostFlushCbs.sort((a, b) => getId$1(a) - getId$1(b));
16748
16939
  for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
16749
16940
  activePostFlushCbs[postFlushIndex]();
16750
16941
  }
@@ -16752,12 +16943,12 @@ function flushPostFlushCbs(seen) {
16752
16943
  postFlushIndex = 0;
16753
16944
  }
16754
16945
  }
16755
- const getId = (job) => job.id == null ? Infinity : job.id;
16946
+ const getId$1 = (job) => job.id == null ? Infinity : job.id;
16756
16947
  function flushJobs(seen) {
16757
16948
  isFlushPending = false;
16758
16949
  isFlushing = true;
16759
16950
  flushPreFlushCbs(seen);
16760
- queue.sort((a, b) => getId(a) - getId(b));
16951
+ queue.sort((a, b) => getId$1(a) - getId$1(b));
16761
16952
  const check = NOOP;
16762
16953
  try {
16763
16954
  for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
@@ -17267,8 +17458,8 @@ var JumpPage = defineComponent$1({
17267
17458
  createVNode(resolveComponent("d-input"), {
17268
17459
  "class": ["devui-pagination-input", size ? "devui-pagination-input-" + size : ""],
17269
17460
  "size": size,
17270
- "value": String(inputNum),
17271
- "onUpdate:value": jumpPageChange,
17461
+ "modelValue": String(inputNum),
17462
+ "onUpdate:modelValue": jumpPageChange,
17272
17463
  "onKeydown": jump
17273
17464
  }, null),
17274
17465
  goToText === "\u8DF3\u81F3" && "\u9875",
@@ -17578,7 +17769,7 @@ Pagination.install = (app) => {
17578
17769
  var PaginationInstall = {
17579
17770
  title: "Pagination \u5206\u9875",
17580
17771
  category: "\u5BFC\u822A",
17581
- status: "\u5DF2\u5B8C\u6210",
17772
+ status: "100%",
17582
17773
  install(app) {
17583
17774
  app.use(Pagination);
17584
17775
  }
@@ -17664,12 +17855,12 @@ var PanelHeader = defineComponent$1({
17664
17855
  const canToggle = () => {
17665
17856
  let changeResult = Promise.resolve(true);
17666
17857
  if (beforeToggle) {
17667
- const result = beforeToggle(isCollapsed);
17668
- if (typeof result !== void 0) {
17669
- if (result instanceof Promise) {
17670
- changeResult = result;
17858
+ const result2 = beforeToggle(isCollapsed);
17859
+ if (typeof result2 !== void 0) {
17860
+ if (result2 instanceof Promise) {
17861
+ changeResult = result2;
17671
17862
  } else {
17672
- changeResult = Promise.resolve(result);
17863
+ changeResult = Promise.resolve(result2);
17673
17864
  }
17674
17865
  }
17675
17866
  }
@@ -17792,7 +17983,7 @@ Popover.install = function(app) {
17792
17983
  var PopoverInstall = {
17793
17984
  title: "Popover \u60AC\u6D6E\u63D0\u793A",
17794
17985
  category: "\u53CD\u9988",
17795
- status: "\u5DF2\u5B8C\u6210",
17986
+ status: "100%",
17796
17987
  install(app) {
17797
17988
  app.use(Popover);
17798
17989
  }
@@ -17943,7 +18134,7 @@ Progress.install = function(app) {
17943
18134
  var ProgressInstall = {
17944
18135
  title: "Progress \u8FDB\u5EA6\u6761",
17945
18136
  category: "\u6570\u636E\u5C55\u793A",
17946
- status: "\u5DF2\u5B8C\u6210",
18137
+ status: "100%",
17947
18138
  install(app) {
17948
18139
  app.use(Progress);
17949
18140
  }
@@ -18460,7 +18651,7 @@ RadioGroup.install = function(app) {
18460
18651
  var RadioInstall = {
18461
18652
  title: "Radio \u5355\u9009\u6846",
18462
18653
  category: "\u6570\u636E\u5F55\u5165",
18463
- status: "\u5DF2\u5B8C\u6210",
18654
+ status: "100%",
18464
18655
  install(app) {
18465
18656
  app.use(Radio);
18466
18657
  app.use(RadioGroup);
@@ -18679,7 +18870,7 @@ Rate.install = function(app) {
18679
18870
  var RateInstall = {
18680
18871
  title: "Rate \u8BC4\u5206",
18681
18872
  category: "\u6570\u636E\u5C55\u793A",
18682
- status: "\u5DF2\u5B8C\u6210",
18873
+ status: "100%",
18683
18874
  install(app) {
18684
18875
  app.use(Rate);
18685
18876
  }
@@ -18780,7 +18971,6 @@ var ReadTip = defineComponent$1({
18780
18971
  selector: null
18781
18972
  }
18782
18973
  };
18783
- ref(0);
18784
18974
  const options = __spreadValues(__spreadValues({}, defaultOptions), props.readTipOptions);
18785
18975
  const defaultSlot = ref(null);
18786
18976
  const onMouseenter = (rule) => () => {
@@ -18888,7 +19078,9 @@ var ReadTip = defineComponent$1({
18888
19078
  }, [createVNode("div", {
18889
19079
  "ref": defaultSlot,
18890
19080
  "onClick": onClick
18891
- }, [(_a = ctx2.slots) == null ? void 0 : _a.default()]), refRules.map((rule) => createVNode("div", null, [rule.status && createVNode(TipsTemplate, {
19081
+ }, [(_a = ctx2.slots) == null ? void 0 : _a.default()]), refRules.map((rule) => createVNode("div", {
19082
+ "data-test": "todo"
19083
+ }, [rule.status && createVNode(TipsTemplate, {
18892
19084
  "defaultTemplateProps": __spreadValues({}, rule)
18893
19085
  }, {
18894
19086
  default: () => {
@@ -18905,11 +19097,66 @@ ReadTip.install = function(app) {
18905
19097
  var ReadTipInstall = {
18906
19098
  title: "ReadTip \u9605\u8BFB\u63D0\u793A",
18907
19099
  category: "\u53CD\u9988",
18908
- status: "50%",
19100
+ status: "100%",
18909
19101
  install(app) {
18910
19102
  app.use(ReadTip);
18911
19103
  }
18912
19104
  };
19105
+ const resultProps = {
19106
+ icon: {
19107
+ type: String,
19108
+ default: "info"
19109
+ },
19110
+ title: {
19111
+ type: String,
19112
+ default: ""
19113
+ },
19114
+ desc: {
19115
+ type: String,
19116
+ default: ""
19117
+ }
19118
+ };
19119
+ var result = "";
19120
+ var Result = defineComponent$1({
19121
+ name: "DResult",
19122
+ props: resultProps,
19123
+ setup(props, ctx2) {
19124
+ let IconEnum;
19125
+ (function(IconEnum2) {
19126
+ IconEnum2["success"] = "right-o";
19127
+ IconEnum2["danger"] = "error-o";
19128
+ IconEnum2["warning"] = "warning-o";
19129
+ IconEnum2["info"] = "info-o";
19130
+ })(IconEnum || (IconEnum = {}));
19131
+ return () => {
19132
+ var _a, _b, _c, _d;
19133
+ return createVNode("div", {
19134
+ "class": "devui-result"
19135
+ }, [ctx2.slots.icon ? createVNode("div", null, [(_a = ctx2.slots) == null ? void 0 : _a.icon()]) : createVNode(Icon, {
19136
+ "name": IconEnum[props.icon] || "",
19137
+ "class": `devui-result__icon-${props.icon}`,
19138
+ "size": "64px"
19139
+ }, null), createVNode("div", {
19140
+ "class": "devui-result__title"
19141
+ }, [ctx2.slots.title ? (_b = ctx2.slots) == null ? void 0 : _b.title() : props.title]), createVNode("div", {
19142
+ "class": "devui-result__desc"
19143
+ }, [ctx2.slots.desc ? (_c = ctx2.slots) == null ? void 0 : _c.desc() : props.desc]), createVNode("div", {
19144
+ "class": "devui-result__extra"
19145
+ }, [ctx2.slots.extra ? (_d = ctx2.slots) == null ? void 0 : _d.extra() : ""])]);
19146
+ };
19147
+ }
19148
+ });
19149
+ Result.install = function(app) {
19150
+ app.component(Result.name, Result);
19151
+ };
19152
+ var ResultInstall = {
19153
+ title: "Result \u7ED3\u679C",
19154
+ category: "\u53CD\u9988",
19155
+ status: "100%",
19156
+ install(app) {
19157
+ app.use(Result);
19158
+ }
19159
+ };
18913
19160
  const DEFAULT_PLUGIN_OPTIONS = {
18914
19161
  directive: "ripple",
18915
19162
  color: "currentColor",
@@ -18917,7 +19164,8 @@ const DEFAULT_PLUGIN_OPTIONS = {
18917
19164
  finalOpacity: 0.1,
18918
19165
  duration: 0.8,
18919
19166
  easing: "ease-out",
18920
- delayTime: 75
19167
+ delayTime: 75,
19168
+ disabled: false
18921
19169
  };
18922
19170
  const createContainer = ({
18923
19171
  borderTopLeftRadius,
@@ -19053,6 +19301,8 @@ var RippleDirective = {
19053
19301
  optionMap.set(el, (_a = binding.value) != null ? _a : {});
19054
19302
  el.addEventListener("pointerdown", (event) => {
19055
19303
  const options = optionMap.get(el);
19304
+ if (binding.value && binding.value.disabled)
19305
+ return;
19056
19306
  if (options === false)
19057
19307
  return;
19058
19308
  ripple(event, el, __spreadValues(__spreadValues({}, globalOptions), options));
@@ -19066,7 +19316,7 @@ var RippleDirective = {
19066
19316
  var RippleInstall = {
19067
19317
  title: "Ripple \u6C34\u6CE2\u7EB9",
19068
19318
  category: "\u901A\u7528",
19069
- status: "\u5DF2\u5B8C\u6210",
19319
+ status: "100%",
19070
19320
  install(app) {
19071
19321
  app.directive("Ripple", RippleDirective);
19072
19322
  }
@@ -19226,12 +19476,12 @@ var DSearch = defineComponent$1({
19226
19476
  "size": props.size,
19227
19477
  "disabled": props.disabled,
19228
19478
  "autoFocus": props.autoFocus,
19229
- "value": keywords.value,
19479
+ "modelValue": keywords.value,
19230
19480
  "maxLength": props.maxLength,
19231
19481
  "placeholder": props.placeholder,
19232
19482
  "cssClass": props.cssClass,
19233
19483
  "onKeydown": onInputKeydown,
19234
- "onUpdate:value": onInputUpdate
19484
+ "onUpdate:modelValue": onInputUpdate
19235
19485
  }, null), clearIconShow.value && createVNode("div", {
19236
19486
  "class": "devui-search__clear",
19237
19487
  "onClick": onClearHandle
@@ -19254,7 +19504,7 @@ DSearch.install = function(app) {
19254
19504
  var SearchInstall = {
19255
19505
  title: "Search \u641C\u7D22\u6846",
19256
19506
  category: "\u901A\u7528",
19257
- status: "\u5DF2\u5B8C\u6210",
19507
+ status: "100%",
19258
19508
  install(app) {
19259
19509
  app.use(DSearch);
19260
19510
  }
@@ -19838,7 +20088,7 @@ Skeleton.install = function(app) {
19838
20088
  var SkeletonInstall = {
19839
20089
  title: "Skeleton \u9AA8\u67B6\u5C4F",
19840
20090
  category: "\u6570\u636E\u5C55\u793A",
19841
- status: "\u5DF2\u5B8C\u6210",
20091
+ status: "100%",
19842
20092
  install(app) {
19843
20093
  app.use(Skeleton);
19844
20094
  }
@@ -20035,7 +20285,7 @@ Slider.install = function(app) {
20035
20285
  var SliderInstall = {
20036
20286
  title: "Slider \u6ED1\u5757",
20037
20287
  category: "\u6570\u636E\u5F55\u5165",
20038
- status: "\u5DF2\u5B8C\u6210",
20288
+ status: "100%",
20039
20289
  install(app) {
20040
20290
  app.use(Slider);
20041
20291
  }
@@ -20176,28 +20426,26 @@ var DSplitterBar = defineComponent$1({
20176
20426
  wrapperClass: `devui-splitter-bar devui-splitter-bar-${props.orientation}`
20177
20427
  });
20178
20428
  const domRef = ref();
20179
- onMounted(() => {
20180
- watch([() => props.splitBarSize, domRef], ([curSplitBarSize, ele]) => {
20181
- if (!(ele instanceof HTMLElement)) {
20182
- return;
20183
- }
20429
+ watch([() => props.splitBarSize, domRef], ([curSplitBarSize, ele]) => {
20430
+ if (!(ele instanceof HTMLElement)) {
20431
+ return;
20432
+ }
20433
+ setStyle(ele, {
20434
+ flexBasis: curSplitBarSize
20435
+ });
20436
+ }, {
20437
+ immediate: true
20438
+ });
20439
+ watch([() => store.state.panes, domRef], ([panes, ele]) => {
20440
+ if (!store.isStaticBar(props.index)) {
20441
+ state.wrapperClass += " resizable";
20442
+ } else {
20184
20443
  setStyle(ele, {
20185
- flexBasis: curSplitBarSize
20444
+ flexBasis: props.disabledBarSize
20186
20445
  });
20187
- }, {
20188
- immediate: true
20189
- });
20190
- watch([() => store.state.panes, domRef], ([panes, ele]) => {
20191
- if (!store.isStaticBar(props.index)) {
20192
- state.wrapperClass += " resizable";
20193
- } else {
20194
- setStyle(ele, {
20195
- flexBasis: props.disabledBarSize
20196
- });
20197
- }
20198
- }, {
20199
- deep: true
20200
- });
20446
+ }
20447
+ }, {
20448
+ deep: true
20201
20449
  });
20202
20450
  const coordinate = {
20203
20451
  pageX: 0,
@@ -20415,11 +20663,11 @@ class SplitterStore {
20415
20663
  return /%$/.test(size);
20416
20664
  }
20417
20665
  toPixels(size) {
20418
- let result = parseFloat(size);
20666
+ let result2 = parseFloat(size);
20419
20667
  if (this.isPercent(size)) {
20420
- result = this.state.splitterContainerSize * result / 100;
20668
+ result2 = this.state.splitterContainerSize * result2 / 100;
20421
20669
  }
20422
- return result;
20670
+ return result2;
20423
20671
  }
20424
20672
  tooglePane(paneIndex, nearPaneIndex, lockStatus) {
20425
20673
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
@@ -20557,8 +20805,7 @@ var SplitterPane = defineComponent$1({
20557
20805
  order
20558
20806
  });
20559
20807
  });
20560
- const setSizeStyle = (curSize) => {
20561
- const ele = domRef.value;
20808
+ const setSizeStyle = (curSize, ele) => {
20562
20809
  if (!ele) {
20563
20810
  return;
20564
20811
  }
@@ -20570,7 +20817,9 @@ var SplitterPane = defineComponent$1({
20570
20817
  removeClass(ele, paneFixedClass);
20571
20818
  }
20572
20819
  };
20573
- watch(() => props.size, setSizeStyle, {
20820
+ watch([() => props.size, domRef], ([size, ele]) => {
20821
+ setSizeStyle(size, ele);
20822
+ }, {
20574
20823
  immediate: true
20575
20824
  });
20576
20825
  const orientation = inject("orientation");
@@ -20654,7 +20903,7 @@ Splitter.install = function(app) {
20654
20903
  var SplitterInstall = {
20655
20904
  title: "Splitter \u5206\u5272\u5668",
20656
20905
  category: "\u5E03\u5C40",
20657
- status: "\u5DF2\u5B8C\u6210",
20906
+ status: "100%",
20658
20907
  install(app) {
20659
20908
  app.use(Splitter);
20660
20909
  }
@@ -20694,7 +20943,7 @@ Status.install = function(app) {
20694
20943
  var StatusInstall = {
20695
20944
  title: "Status \u72B6\u6001",
20696
20945
  category: "\u901A\u7528",
20697
- status: "\u5DF2\u5B8C\u6210",
20946
+ status: "100%",
20698
20947
  install(app) {
20699
20948
  app.use(Status);
20700
20949
  }
@@ -21103,8 +21352,8 @@ var Sticky = defineComponent$1({
21103
21352
  const calculateRemainPosition = (element, relativeElement, container2) => {
21104
21353
  if (window && window.getComputedStyle) {
21105
21354
  const computedStyle = window.getComputedStyle(container2);
21106
- const result = container2.getBoundingClientRect().height - element.getBoundingClientRect().height + container2.getBoundingClientRect().top - relativeElement.getBoundingClientRect().top - parseInt(computedStyle["paddingTop"], 10) - parseInt(computedStyle["borderTopWidth"], 10) - parseInt(computedStyle["paddingBottom"], 10) - parseInt(computedStyle["borderBottomWidth"], 10);
21107
- return result < 0 ? 0 : result;
21355
+ const result2 = container2.getBoundingClientRect().height - element.getBoundingClientRect().height + container2.getBoundingClientRect().top - relativeElement.getBoundingClientRect().top - parseInt(computedStyle["paddingTop"], 10) - parseInt(computedStyle["borderTopWidth"], 10) - parseInt(computedStyle["paddingBottom"], 10) - parseInt(computedStyle["borderBottomWidth"], 10);
21356
+ return result2 < 0 ? 0 : result2;
21108
21357
  }
21109
21358
  };
21110
21359
  onMounted(() => {
@@ -21222,7 +21471,7 @@ Switch.install = function(app) {
21222
21471
  var SwitchInstall = {
21223
21472
  title: "Switch \u5F00\u5173",
21224
21473
  category: "\u6570\u636E\u5F55\u5165",
21225
- status: "\u5DF2\u5B8C\u6210",
21474
+ status: "100%",
21226
21475
  install(app) {
21227
21476
  app.use(Switch);
21228
21477
  }
@@ -22047,13 +22296,13 @@ var Tabs = defineComponent$1({
22047
22296
  const canChange = function(currentTab) {
22048
22297
  let changeResult = Promise.resolve(true);
22049
22298
  if (typeof props.beforeChange === "function") {
22050
- const result = props.beforeChange(currentTab);
22051
- if (typeof result !== "undefined") {
22052
- if (result.then) {
22053
- changeResult = result;
22299
+ const result2 = props.beforeChange(currentTab);
22300
+ if (typeof result2 !== "undefined") {
22301
+ if (result2.then) {
22302
+ changeResult = result2;
22054
22303
  } else {
22055
- console.log(result);
22056
- changeResult = Promise.resolve(result);
22304
+ console.log(result2);
22305
+ changeResult = Promise.resolve(result2);
22057
22306
  }
22058
22307
  }
22059
22308
  }
@@ -22238,7 +22487,7 @@ var tag = "";
22238
22487
  var Tag = defineComponent$1({
22239
22488
  name: "DTag",
22240
22489
  props: tagProps,
22241
- emits: ["click"],
22490
+ emits: ["click", "tagDelete", "checkedChange"],
22242
22491
  setup(props, {
22243
22492
  slots,
22244
22493
  emit
@@ -22247,28 +22496,54 @@ var Tag = defineComponent$1({
22247
22496
  type: type4,
22248
22497
  color,
22249
22498
  checked,
22250
- titleContent
22499
+ titleContent,
22500
+ deletable
22251
22501
  } = toRefs(props);
22252
22502
  const tagClass = useClass(props);
22253
22503
  const themeColor = useColor(props);
22254
22504
  const tagTitle = titleContent.value || "";
22255
- const Click = () => {
22505
+ const isDefaultTag = () => !type4.value && !color.value;
22506
+ const isShow = ref(true);
22507
+ const handleClick = () => {
22256
22508
  emit("click");
22257
22509
  };
22510
+ const handleDelete = () => {
22511
+ isShow.value = false;
22512
+ emit("tagDelete");
22513
+ };
22514
+ const closeIconEl = () => {
22515
+ return deletable.value ? createVNode("a", {
22516
+ "class": "remove-button",
22517
+ "onClick": handleDelete
22518
+ }, [isDefaultTag() ? createVNode(resolveComponent("d-icon"), {
22519
+ "size": "12px",
22520
+ "name": "error-o",
22521
+ "color": "#adb0b8"
22522
+ }, null) : createVNode(resolveComponent("d-icon"), {
22523
+ "size": "12px",
22524
+ "name": "close",
22525
+ "color": themeColor.value
22526
+ }, null)]) : null;
22527
+ };
22528
+ const unWatch = watch(checked, (newVal) => {
22529
+ console.log("checkedChange");
22530
+ emit("checkedChange", newVal);
22531
+ });
22532
+ onUnmounted(() => unWatch());
22258
22533
  return () => {
22259
22534
  var _a;
22260
- return createVNode("div", {
22535
+ return isShow.value && withDirectives(createVNode("div", {
22261
22536
  "class": "devui-tag",
22262
- "onClick": Click
22537
+ "onClick": handleClick
22263
22538
  }, [createVNode("span", {
22264
22539
  "class": tagClass.value,
22265
22540
  "style": {
22266
22541
  display: "block",
22267
22542
  color: checked.value ? "#fff" : themeColor.value,
22268
- backgroundColor: checked.value ? themeColor.value : type4.value ? "" : !color.value ? "" : "#fff"
22543
+ backgroundColor: checked.value ? themeColor.value : !color.value ? "" : "#fff"
22269
22544
  },
22270
22545
  "title": tagTitle
22271
- }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]);
22546
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots), closeIconEl()])]), [[vShow, isShow.value]]);
22272
22547
  };
22273
22548
  }
22274
22549
  });
@@ -22278,7 +22553,7 @@ Tag.install = function(app) {
22278
22553
  var TagInstall = {
22279
22554
  title: "Tag \u6807\u7B7E",
22280
22555
  category: "\u6570\u636E\u5C55\u793A",
22281
- status: "20%",
22556
+ status: "70%",
22282
22557
  install(app) {
22283
22558
  app.use(Tag);
22284
22559
  }
@@ -22601,7 +22876,7 @@ TagInput.install = function(app) {
22601
22876
  var TagInputInstall = {
22602
22877
  title: "TagInput \u6807\u7B7E\u8F93\u5165\u6846",
22603
22878
  category: "\u6570\u636E\u5F55\u5165",
22604
- status: "\u5DF2\u5B8C\u6210",
22879
+ status: "100%",
22605
22880
  install(app) {
22606
22881
  app.use(TagInput);
22607
22882
  }
@@ -22731,7 +23006,7 @@ Textarea.install = function(app) {
22731
23006
  var TextareaInstall = {
22732
23007
  title: "Textarea \u591A\u884C\u6587\u672C\u6846",
22733
23008
  category: "\u6570\u636E\u5F55\u5165",
22734
- status: "\u5DF2\u5B8C\u6210",
23009
+ status: "100%",
22735
23010
  install(app) {
22736
23011
  app.use(Textarea);
22737
23012
  }
@@ -22958,12 +23233,14 @@ var TimeAxis = defineComponent$1({
22958
23233
  });
22959
23234
  TimeAxis.install = function(app) {
22960
23235
  app.component(TimeAxis.name, TimeAxis);
23236
+ };
23237
+ TimeAxisItem.install = function(app) {
22961
23238
  app.component(TimeAxisItem.name, TimeAxisItem);
22962
23239
  };
22963
23240
  var TimeAxisInstall = {
22964
23241
  title: "TimeAxis \u65F6\u95F4\u8F74",
22965
23242
  category: "\u6570\u636E\u5C55\u793A",
22966
- status: "\u5DF2\u5B8C\u6210",
23243
+ status: "100%",
22967
23244
  install(app) {
22968
23245
  app.use(TimeAxis);
22969
23246
  app.use(TimeAxisItem);
@@ -24267,7 +24544,7 @@ Toast.install = function(app) {
24267
24544
  var ToastInstall = {
24268
24545
  title: "Toast \u5168\u5C40\u63D0\u793A",
24269
24546
  category: "\u53CD\u9988",
24270
- status: "\u5DF2\u5B8C\u6210",
24547
+ status: "100%",
24271
24548
  install(app) {
24272
24549
  app.use(Toast);
24273
24550
  app.config.globalProperties.$toastService = ToastService;
@@ -24983,32 +25260,55 @@ const CHECK_CONFIG = {
24983
25260
  const flatten = (tree2, key = "children") => {
24984
25261
  return tree2.reduce((acc, item2) => !item2[key] ? acc.concat(item2) : acc.concat(item2, flatten(item2[key], key)), []);
24985
25262
  };
24986
- const precheckNodeId = (d) => {
24987
- const random = parseInt((Math.random() * 10 ** 8).toString().padEnd(8, "0"));
24988
- return __spreadProps(__spreadValues({}, d), { id: d.id ? `${d.id}_${random}` : `${d.label.replaceAll(" ", "-")}_${random}` });
25263
+ const getRandomId = () => (Math.random() * 10 ** 9).toString().slice(0, 8);
25264
+ const preCheckNodeId = (d, postfixId) => {
25265
+ const randomStr = getRandomId();
25266
+ console.info("randomStr: ", randomStr);
25267
+ return __spreadProps(__spreadValues({}, d), { id: postfixId ? `${postfixId}_${randomStr}` : randomStr });
24989
25268
  };
24990
- const precheckTree = (ds) => {
25269
+ const getId = (id) => {
25270
+ const ids = id.split("_");
25271
+ return [...ids.slice(0, ids.length), getRandomId()].join("_");
25272
+ };
25273
+ const preCheckTree = (ds, postfixId) => {
24991
25274
  return ds.map((d) => {
24992
- const dd = precheckNodeId(d);
24993
- if (d.children) {
24994
- return __spreadProps(__spreadValues({}, dd), {
24995
- children: precheckTree(d.children)
24996
- });
25275
+ const dd = preCheckNodeId(d, postfixId);
25276
+ return d.children ? __spreadProps(__spreadValues({}, dd), {
25277
+ children: preCheckTree(d.children, dd.id)
25278
+ }) : dd;
25279
+ });
25280
+ };
25281
+ const _deleteNode = (ids, data, index2 = 0) => {
25282
+ const curTargetId = ids.slice(0, index2 + 2).join("_");
25283
+ data.forEach((item2) => {
25284
+ if (item2.id === ids.slice(0, index2 + 1).join("_")) {
25285
+ if (ids.length === index2 + 2) {
25286
+ item2.children = item2.children.filter(({ id: d }) => d !== curTargetId);
25287
+ } else {
25288
+ item2.children = _deleteNode(ids, item2.children, index2 + 1);
25289
+ }
24997
25290
  }
24998
- return dd;
24999
25291
  });
25292
+ return data;
25293
+ };
25294
+ const deleteNode = (id, data) => {
25295
+ if (id.includes("_")) {
25296
+ return _deleteNode(id.split("_"), data);
25297
+ }
25298
+ return data.filter(({ id: d }) => d !== id);
25000
25299
  };
25001
25300
  function useToggle$1(data) {
25002
25301
  const openedTree = (tree2) => {
25003
25302
  return tree2.reduce((acc, item2) => item2.open ? acc.concat(item2, openedTree(item2.children)) : acc.concat(item2), []);
25004
25303
  };
25005
- const openedData = ref(openedTree(data));
25304
+ const openedData = ref(openedTree(data.value));
25305
+ watch(() => data.value, (d) => openedData.value = openedTree(d), { deep: true });
25006
25306
  const toggle = (target, item2) => {
25007
25307
  target.stopPropagation();
25008
25308
  if (!item2.children)
25009
25309
  return;
25010
25310
  item2.open = !item2.open;
25011
- openedData.value = openedTree(data);
25311
+ openedData.value = openedTree(data.value);
25012
25312
  };
25013
25313
  return {
25014
25314
  openedData,
@@ -25050,16 +25350,21 @@ const HIGHLIGHT_CLASS = "active";
25050
25350
  const IS_DISABLED_FLAG = "devui-tree_isDisabledNode";
25051
25351
  const useHighlightNode = () => {
25052
25352
  const nodeClassNameReflectRef = ref({});
25353
+ const prevActiveNodeKey = ref("");
25053
25354
  const handleInit = (isDisabled = false, ...keys2) => {
25054
25355
  const key = keys2.join("-");
25055
25356
  nodeClassNameReflectRef.value[key] = isDisabled ? IS_DISABLED_FLAG : nodeClassNameReflectRef.value[key] || "";
25056
25357
  return key;
25057
25358
  };
25058
25359
  const handleClick = (key) => {
25059
- if (nodeClassNameReflectRef.value[key] === IS_DISABLED_FLAG) {
25360
+ if (nodeClassNameReflectRef.value[key] === IS_DISABLED_FLAG)
25060
25361
  return;
25061
- }
25062
- nodeClassNameReflectRef.value = Object.fromEntries(Object.entries(nodeClassNameReflectRef.value).map(([k]) => [k, k === key ? HIGHLIGHT_CLASS : ""]));
25362
+ if (prevActiveNodeKey.value === key)
25363
+ return;
25364
+ if (prevActiveNodeKey.value)
25365
+ nodeClassNameReflectRef.value[prevActiveNodeKey.value] = "";
25366
+ nodeClassNameReflectRef.value[key] = HIGHLIGHT_CLASS;
25367
+ prevActiveNodeKey.value = key;
25063
25368
  };
25064
25369
  return {
25065
25370
  nodeClassNameReflect: nodeClassNameReflectRef,
@@ -25200,6 +25505,42 @@ const useLazy = () => {
25200
25505
  getLazyData
25201
25506
  };
25202
25507
  };
25508
+ const reflectIconWithHandle = (data, operator) => {
25509
+ const handleAdd = (payload) => operator.handleAdd();
25510
+ const handleEdit = (payload) => operator.handleEdit();
25511
+ const handleDelete = (payload) => operator.handleDelete();
25512
+ return createVNode(Fragment, null, [operator.addable && createVNode("span", {
25513
+ "class": "op-icons icon icon-add",
25514
+ "onClick": handleAdd
25515
+ }, null), operator.editable && createVNode("span", {
25516
+ "class": "op-icons icon icon-edit",
25517
+ "onClick": handleEdit
25518
+ }, null), operator.deletable && createVNode("span", {
25519
+ "class": "op-icons icon icon-close",
25520
+ "onClick": handleDelete
25521
+ }, null)]);
25522
+ };
25523
+ const useOperate = (treeData) => {
25524
+ const operateIconReflect = ref([]);
25525
+ const editStatusReflect = ref({});
25526
+ const handleReflectIdToIcon = (id, operator) => {
25527
+ const isNotExistedReflectItem = operateIconReflect.value.every(({
25528
+ id: d
25529
+ }) => d != id);
25530
+ if (isNotExistedReflectItem) {
25531
+ editStatusReflect.value[id] = false;
25532
+ operateIconReflect.value.push({
25533
+ id,
25534
+ renderIcon: (data) => reflectIconWithHandle(data, operator)
25535
+ });
25536
+ }
25537
+ };
25538
+ return {
25539
+ operateIconReflect,
25540
+ editStatusReflect,
25541
+ handleReflectIdToIcon
25542
+ };
25543
+ };
25203
25544
  var IconOpen$1 = "data:image/svg+xml;base64,PHN2ZwogIHdpZHRoPSIxNnB4IgogIGhlaWdodD0iMTZweCIKICB2aWV3Qm94PSIwIDAgMTYgMTYiCiAgdmVyc2lvbj0iMS4xIgogIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIKICBjbGFzcz0ic3ZnLWljb24gc3ZnLWljb24tY2xvc2UiCj4KICA8ZyBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICA8cmVjdCB4PSIwLjUiIHk9IjAuNSIgd2lkdGg9IjE1IiBoZWlnaHQ9IjE1IiByeD0iMiIgc3Ryb2tlPSIjNWU3Y2UwIj48L3JlY3Q+CiAgICA8cmVjdCB4PSI0IiB5PSI3IiB3aWR0aD0iOCIgaGVpZ2h0PSIyIiBmaWxsPSIjNWU3Y2UwIj48L3JlY3Q+CiAgPC9nPgo8L3N2Zz4=";
25204
25545
  var IconClose$1 = "data:image/svg+xml;base64,PHN2ZwogIHdpZHRoPSIxNnB4IgogIGhlaWdodD0iMTZweCIKICB2aWV3Qm94PSIwIDAgMTYgMTYiCiAgdmVyc2lvbj0iMS4xIgogIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIKICBjbGFzcz0ic3ZnLWljb24iCj4KICA8ZyBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxyZWN0IHg9IjAuNSIgeT0iMC41IiB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHJ4PSIyIiBzdHJva2U9IiMyNTJiM2EiPjwvcmVjdD4KICAgIDxwYXRoCiAgICAgIGZpbGw9IiMyNTJiM2EiCiAgICAgIGQ9Ik04Ljc1LDQgTDguNzUsNy4yNSBMMTIsNy4yNSBMMTIsOC43NSBMOC43NDksOC43NSBMOC43NSwxMiBMNy4yNSwxMiBMNy4yNDksOC43NSBMNCw4Ljc1IEw0LDcuMjUgTDcuMjUsNy4yNSBMNy4yNSw0IEw4Ljc1LDQgWiIKICAgID48L3BhdGg+CiAgPC9nPgo8L3N2Zz4K";
25205
25546
  var NodeContent = defineComponent$1({
@@ -25208,21 +25549,48 @@ var NodeContent = defineComponent$1({
25208
25549
  node: {
25209
25550
  type: Object,
25210
25551
  required: true
25552
+ },
25553
+ editStatusReflect: {
25554
+ type: Object,
25555
+ required: true
25211
25556
  }
25212
25557
  },
25213
25558
  setup(props) {
25214
25559
  const tree2 = inject("treeRoot");
25560
+ const getCurID = (id) => `devui-tree-node__input-${id}`;
25561
+ onUpdated(() => {
25562
+ const target = document.querySelector(`#${getCurID(props.node.id)}`);
25563
+ target == null ? void 0 : target.focus();
25564
+ });
25215
25565
  return () => {
25216
- const node = props.node;
25566
+ const {
25567
+ node,
25568
+ editStatusReflect
25569
+ } = toRefs(props);
25217
25570
  const {
25218
25571
  disabled,
25219
- label
25220
- } = node;
25572
+ label,
25573
+ id
25574
+ } = node.value;
25575
+ const handleChange = ({
25576
+ target
25577
+ }) => {
25578
+ node.value.label = target.value;
25579
+ };
25580
+ const handleBlur = () => {
25581
+ editStatusReflect.value[id] = false;
25582
+ };
25221
25583
  return tree2.ctx.slots.default ? tree2.ctx.slots.default({
25222
25584
  node
25223
25585
  }) : createVNode("span", {
25224
25586
  "class": ["devui-tree-node__title", disabled && "select-disabled"]
25225
- }, [label]);
25587
+ }, [editStatusReflect.value[id] ? createVNode("input", {
25588
+ "id": getCurID(id),
25589
+ "ref": ref,
25590
+ "value": label,
25591
+ "onChange": handleChange,
25592
+ "onBlur": handleBlur
25593
+ }, null) : label]);
25226
25594
  };
25227
25595
  }
25228
25596
  });
@@ -25236,16 +25604,16 @@ var Tree = defineComponent$1({
25236
25604
  data,
25237
25605
  checkable,
25238
25606
  checkableRelation: cbr
25239
- } = toRefs(__spreadProps(__spreadValues({}, props), {
25240
- data: precheckTree(props.data)
25241
- }));
25607
+ } = toRefs(reactive(__spreadProps(__spreadValues({}, props), {
25608
+ data: preCheckTree(props.data)
25609
+ })));
25242
25610
  const {
25243
25611
  mergeData
25244
25612
  } = useMergeNode(data.value);
25245
25613
  const {
25246
25614
  openedData,
25247
25615
  toggle
25248
- } = useToggle$1(mergeData.value);
25616
+ } = useToggle$1(mergeData);
25249
25617
  const {
25250
25618
  nodeClassNameReflect,
25251
25619
  handleInitNodeClassNameReflect,
@@ -25260,6 +25628,11 @@ var Tree = defineComponent$1({
25260
25628
  selected,
25261
25629
  onNodeClick
25262
25630
  } = useChecked(cbr, ctx2, data.value);
25631
+ const {
25632
+ editStatusReflect,
25633
+ operateIconReflect,
25634
+ handleReflectIdToIcon
25635
+ } = useOperate();
25263
25636
  provide("treeRoot", {
25264
25637
  ctx: ctx2,
25265
25638
  props
@@ -25278,8 +25651,38 @@ var Tree = defineComponent$1({
25278
25651
  open,
25279
25652
  isParent,
25280
25653
  level,
25281
- children
25654
+ children,
25655
+ addable,
25656
+ editable,
25657
+ deletable
25282
25658
  } = item2;
25659
+ handleReflectIdToIcon(id, {
25660
+ addable,
25661
+ editable,
25662
+ deletable,
25663
+ handleAdd: () => {
25664
+ const newItem = {
25665
+ id: getId(item2.id),
25666
+ label: "new item",
25667
+ level: item2.level + 1,
25668
+ addable,
25669
+ editable,
25670
+ deletable
25671
+ };
25672
+ item2.open = true;
25673
+ if (item2.children && Array.isArray(item2.children)) {
25674
+ item2.children.push(newItem);
25675
+ } else {
25676
+ item2.children = [newItem];
25677
+ }
25678
+ },
25679
+ handleEdit: () => {
25680
+ editStatusReflect.value[id] = !editStatusReflect.value[id];
25681
+ },
25682
+ handleDelete: () => {
25683
+ mergeData.value = deleteNode(id, mergeData.value);
25684
+ }
25685
+ });
25283
25686
  handleInitNodeClassNameReflect(disabled, id);
25284
25687
  handleInitLazyNodeReflect(item2, {
25285
25688
  id,
@@ -25307,14 +25710,14 @@ var Tree = defineComponent$1({
25307
25710
  });
25308
25711
  }
25309
25712
  });
25310
- const renderNodeWithIcon = (item3) => {
25713
+ const renderFoldIcon = (item3) => {
25311
25714
  const handleClick = async (target) => {
25312
25715
  if (item3.isParent) {
25313
25716
  item3.children = await getLazyData(id);
25314
25717
  }
25315
25718
  return toggle(target, item3);
25316
25719
  };
25317
- return isParent || children ? open ? createVNode(IconOpen$1, {
25720
+ return isParent || children && children.length ? open ? createVNode(IconOpen$1, {
25318
25721
  "class": "mr-xs",
25319
25722
  "onClick": handleClick
25320
25723
  }, null) : createVNode(IconClose$1, {
@@ -25333,16 +25736,19 @@ var Tree = defineComponent$1({
25333
25736
  "onClick": () => handleClickOnNode(id)
25334
25737
  }, [createVNode("div", {
25335
25738
  "class": "devui-tree-node__content--value-wrapper"
25336
- }, [renderNodeWithIcon(item2), checkable.value && createVNode(Checkbox, mergeProps({
25739
+ }, [renderFoldIcon(item2), checkable.value && createVNode(Checkbox, mergeProps({
25337
25740
  "key": id,
25338
25741
  "onClick": () => onNodeClick(item2),
25339
25742
  "disabled": disabled
25340
25743
  }, checkState), null), createVNode(NodeContent, {
25341
- "node": item2
25342
- }, null), item2.isParent && createVNode("div", {
25744
+ "node": item2,
25745
+ "editStatusReflect": editStatusReflect.value
25746
+ }, null), operateIconReflect.value.find(({
25747
+ id: d
25748
+ }) => id === d).renderIcon(item2), item2.isParent ? createVNode("div", {
25343
25749
  "class": "devui-tree-node_loading",
25344
25750
  "id": lazyNodesReflect.value[id].loadingTargetId
25345
- }, null)])])]);
25751
+ }, null) : null])])]);
25346
25752
  };
25347
25753
  return () => {
25348
25754
  return createVNode("div", {
@@ -26177,12 +26583,12 @@ var Upload = defineComponent$1({
26177
26583
  const canUpload = () => {
26178
26584
  let uploadResult = Promise.resolve(true);
26179
26585
  if (beforeUpload.value) {
26180
- const result = beforeUpload.value(getFullFiles()[0] || {});
26181
- if (typeof result !== "undefined") {
26182
- if (result.then) {
26183
- uploadResult = result;
26586
+ const result2 = beforeUpload.value(getFullFiles()[0] || {});
26587
+ if (typeof result2 !== "undefined") {
26588
+ if (result2.then) {
26589
+ uploadResult = result2;
26184
26590
  } else {
26185
- uploadResult = Promise.resolve(result);
26591
+ uploadResult = Promise.resolve(result2);
26186
26592
  }
26187
26593
  }
26188
26594
  }
@@ -26195,7 +26601,7 @@ var Upload = defineComponent$1({
26195
26601
  }
26196
26602
  upload2().then((results2) => {
26197
26603
  ctx2.emit("successEvent", results2);
26198
- const newFiles = results2.map((result) => result.file);
26604
+ const newFiles = results2.map((result2) => result2.file);
26199
26605
  const newUploadedFiles = [...newFiles, ...uploadedFiles.value];
26200
26606
  ctx2.emit("update:uploadedFiles", newUploadedFiles);
26201
26607
  }).catch((error) => {
@@ -26511,12 +26917,12 @@ var MultiUpload = defineComponent$1({
26511
26917
  const canUpload = () => {
26512
26918
  let uploadResult = Promise.resolve(true);
26513
26919
  if (beforeUpload.value) {
26514
- const result = beforeUpload.value(getFullFiles());
26515
- if (typeof result !== "undefined") {
26516
- if (result.then) {
26517
- uploadResult = result;
26920
+ const result2 = beforeUpload.value(getFullFiles());
26921
+ if (typeof result2 !== "undefined") {
26922
+ if (result2.then) {
26923
+ uploadResult = result2;
26518
26924
  } else {
26519
- uploadResult = Promise.resolve(result);
26925
+ uploadResult = Promise.resolve(result2);
26520
26926
  }
26521
26927
  }
26522
26928
  }
@@ -26534,7 +26940,7 @@ var MultiUpload = defineComponent$1({
26534
26940
  const uploadObservable = oneTimeUpload.value ? _oneTimeUpload() : upload2(fileUploader);
26535
26941
  uploadObservable.then((results2) => {
26536
26942
  ctx2.emit("successEvent", results2);
26537
- const newFiles = results2.map((result) => result.file);
26943
+ const newFiles = results2.map((result2) => result2.file);
26538
26944
  const newUploadedFiles = [...newFiles, ...uploadedFiles.value];
26539
26945
  ctx2.emit("update:uploadedFiles", newUploadedFiles);
26540
26946
  }).catch((error) => {
@@ -26767,7 +27173,7 @@ Upload.install = function(app) {
26767
27173
  var UploadInstall = {
26768
27174
  title: "Upload \u4E0A\u4F20",
26769
27175
  category: "\u6570\u636E\u5F55\u5165",
26770
- status: "\u5DF2\u5B8C\u6210",
27176
+ status: "100%",
26771
27177
  install(app) {
26772
27178
  app.use(Upload);
26773
27179
  }
@@ -26786,6 +27192,7 @@ const installs = [
26786
27192
  CascaderInstall,
26787
27193
  CheckboxInstall,
26788
27194
  CommentInstall,
27195
+ CountdownInstall,
26789
27196
  DatePickerInstall,
26790
27197
  DragdropInstall,
26791
27198
  DrawerInstall,
@@ -26813,6 +27220,7 @@ const installs = [
26813
27220
  RadioInstall,
26814
27221
  RateInstall,
26815
27222
  ReadTipInstall,
27223
+ ResultInstall,
26816
27224
  RippleInstall,
26817
27225
  SearchInstall,
26818
27226
  SelectInstall,
@@ -26843,4 +27251,4 @@ var vueDevui = {
26843
27251
  installs.forEach((p) => app.use(p));
26844
27252
  }
26845
27253
  };
26846
- export { Accordion, Alert, Anchor, Aside, Avatar, BackTop, Badge, Breadcrumb, DButton as Button, Card, Carousel, Cascader, Checkbox, Col, Column, Comment, Content, DatePicker, DraggableDirective, Drawer, Dropdown, DroppableDirective, EditableSelect, FixedOverlay, FlexibleOverlay, Footer, Form, FormControl, FormItem, FormLabel, FormOperation, Fullscreen, Gantt, Header, Icon, ImagePreviewDirective, ImagePreviewService, DInput as Input, InputIcon, InputNumber, Layout, loadingDirective as Loading, loading as LoadingService, Modal, MultiUpload, NavSprite, Pagination, Panel, Popover, Progress, QuadrantDiagram, Radio, RadioGroup, Rate, ReadTip, RippleDirective, Row, DSearch as Search, Select, Skeleton, SkeletonItem, Slider, Splitter, Status, StepsGuide, StickSlider, Sticky, Switch, Table, Tabs, Tag, TagInput, Textarea, TimeAxis, TimeAxisItem, TimePicker, Toast, ToastService, DTooltip as Tooltip, Transfer, Tree, TreeSelect, Upload, vueDevui as default };
27254
+ export { Accordion, Alert, Anchor, Aside, Avatar, BackTop, Badge, Breadcrumb, DButton as Button, Card, Carousel, Cascader, Checkbox, Col, Column, Comment, Content, Countdown, DatePicker, DraggableDirective, Drawer, Dropdown, DroppableDirective, EditableSelect, FixedOverlay, FlexibleOverlay, Footer, Form, FormControl, FormItem, FormLabel, FormOperation, Fullscreen, Gantt, Header, Icon, ImagePreviewDirective, ImagePreviewService, DInput as Input, InputIcon, InputNumber, Layout, loadingDirective as Loading, loading as LoadingService, Modal, MultiUpload, NavSprite, Pagination, Panel, Popover, Progress, QuadrantDiagram, Radio, RadioGroup, Rate, ReadTip, Result, RippleDirective, Row, DSearch as Search, Select, Skeleton, SkeletonItem, Slider, Splitter, Status, StepsGuide, StickSlider, Sticky, Switch, Table, Tabs, Tag, TagInput, Textarea, TimeAxis, TimeAxisItem, TimePicker, Toast, ToastService, DTooltip as Tooltip, Transfer, Tree, TreeSelect, Upload, vueDevui as default };