bm-admin-ui 1.0.20-alpha → 1.0.21-alpha

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 (158) hide show
  1. package/es/components/button/index.d.ts +307 -0
  2. package/es/components/button/src/button.d.ts +12 -0
  3. package/es/components/button/src/button.vue.d.ts +308 -0
  4. package/es/components/feedback/index.d.ts +1037 -0
  5. package/es/components/feedback/index.js +4 -4
  6. package/es/components/feedback/src/bmAlert.vue.d.ts +193 -0
  7. package/es/components/feedback/src/bmModal.vue.d.ts +839 -0
  8. package/es/components/float-table/index.d.ts +70 -0
  9. package/es/components/float-table/index.js +1 -1
  10. package/es/components/float-table/src/float-table.vue.d.ts +69 -0
  11. package/es/components/flow-designer/index.d.ts +7 -0
  12. package/es/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
  13. package/es/components/form-designer/index.d.ts +9 -0
  14. package/es/components/form-designer/src/form-designer.vue.d.ts +8 -0
  15. package/es/components/index.d.ts +13 -0
  16. package/es/components/input-tags-display/index.d.ts +113 -0
  17. package/es/components/input-tags-display/index.js +5 -5
  18. package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +110 -0
  19. package/es/components/multi-cascader-compose/index.d.ts +164 -0
  20. package/es/components/multi-cascader-compose/index.js +4 -4
  21. package/es/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +164 -0
  22. package/es/components/multi-cascader-compose/src/props.d.ts +40 -0
  23. package/es/components/multi-cascader-compose/types.d.ts +10 -0
  24. package/es/components/over-tooltips/index.d.ts +35 -0
  25. package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  26. package/es/components/search-filter/index.d.ts +218 -0
  27. package/es/components/search-filter/index.js +19 -9
  28. package/es/components/search-filter/src/search-filter.d.ts +77 -0
  29. package/es/components/search-filter/src/search-filter.vue.d.ts +217 -0
  30. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +89 -0
  31. package/es/components/shops-filter/index.d.ts +99 -0
  32. package/es/components/shops-filter/index.js +4 -4
  33. package/es/components/shops-filter/src/shops-filter.d.ts +25 -0
  34. package/es/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  35. package/es/components/staffs-selector/index.d.ts +109 -0
  36. package/es/components/staffs-selector/index.js +5 -5
  37. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
  38. package/es/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  39. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
  40. package/es/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  41. package/es/components/timeline/index.d.ts +107 -0
  42. package/es/components/timeline/src/props.d.ts +24 -0
  43. package/es/components/timeline/src/timeline-item.vue.d.ts +65 -0
  44. package/es/components/timeline/src/timeline.vue.d.ts +42 -0
  45. package/es/components/upload/index.d.ts +136 -0
  46. package/es/components/upload/index.js +11 -9
  47. package/es/components/upload/src/icons.d.ts +13 -0
  48. package/es/components/upload/src/upload.vue.d.ts +135 -0
  49. package/es/components/upload/utils/index.d.ts +7 -0
  50. package/es/index.d.ts +6 -0
  51. package/es/utils/bm-admin-ui-resolver.d.ts +9 -0
  52. package/es/utils/vxe-table.d.ts +6 -0
  53. package/es/utils/with-install.d.ts +3 -0
  54. package/index.esm.js +787 -388
  55. package/index.js +709 -310
  56. package/lib/components/button/index.d.ts +307 -0
  57. package/lib/components/button/src/button.d.ts +12 -0
  58. package/lib/components/button/src/button.vue.d.ts +308 -0
  59. package/lib/components/feedback/index.d.ts +1037 -0
  60. package/lib/components/feedback/index.js +4 -4
  61. package/lib/components/feedback/src/bmAlert.vue.d.ts +193 -0
  62. package/lib/components/feedback/src/bmModal.vue.d.ts +839 -0
  63. package/lib/components/float-table/index.d.ts +70 -0
  64. package/lib/components/float-table/index.js +1 -1
  65. package/lib/components/float-table/src/float-table.vue.d.ts +69 -0
  66. package/lib/components/flow-designer/index.d.ts +7 -0
  67. package/lib/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
  68. package/lib/components/form-designer/index.d.ts +9 -0
  69. package/lib/components/form-designer/src/form-designer.vue.d.ts +8 -0
  70. package/lib/components/index.d.ts +13 -0
  71. package/lib/components/input-tags-display/index.d.ts +113 -0
  72. package/lib/components/input-tags-display/index.js +7 -7
  73. package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +110 -0
  74. package/lib/components/multi-cascader-compose/index.d.ts +164 -0
  75. package/lib/components/multi-cascader-compose/index.js +4 -4
  76. package/lib/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +164 -0
  77. package/lib/components/multi-cascader-compose/src/props.d.ts +40 -0
  78. package/lib/components/multi-cascader-compose/types.d.ts +10 -0
  79. package/lib/components/over-tooltips/index.d.ts +35 -0
  80. package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  81. package/lib/components/search-filter/index.d.ts +218 -0
  82. package/lib/components/search-filter/index.js +19 -9
  83. package/lib/components/search-filter/src/search-filter.d.ts +77 -0
  84. package/lib/components/search-filter/src/search-filter.vue.d.ts +217 -0
  85. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +89 -0
  86. package/lib/components/shops-filter/index.d.ts +99 -0
  87. package/lib/components/shops-filter/index.js +4 -4
  88. package/lib/components/shops-filter/src/shops-filter.d.ts +25 -0
  89. package/lib/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  90. package/lib/components/staffs-selector/index.d.ts +109 -0
  91. package/lib/components/staffs-selector/index.js +5 -5
  92. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
  93. package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  94. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
  95. package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  96. package/lib/components/timeline/index.d.ts +107 -0
  97. package/lib/components/timeline/src/props.d.ts +24 -0
  98. package/lib/components/timeline/src/timeline-item.vue.d.ts +65 -0
  99. package/lib/components/timeline/src/timeline.vue.d.ts +42 -0
  100. package/lib/components/upload/index.d.ts +136 -0
  101. package/lib/components/upload/index.js +11 -9
  102. package/lib/components/upload/src/icons.d.ts +13 -0
  103. package/lib/components/upload/src/upload.vue.d.ts +135 -0
  104. package/lib/components/upload/utils/index.d.ts +7 -0
  105. package/lib/index.d.ts +6 -0
  106. package/lib/utils/bm-admin-ui-resolver.d.ts +9 -0
  107. package/lib/utils/vxe-table.d.ts +6 -0
  108. package/lib/utils/with-install.d.ts +3 -0
  109. package/package.json +1 -1
  110. package/theme-chalk/feedback.css +1 -1
  111. package/theme-chalk/float-table.css +1 -1
  112. package/theme-chalk/index.css +1 -1
  113. package/theme-chalk/upload.css +1 -1
  114. package/types/components/button/index.d.ts +307 -0
  115. package/types/components/button/src/button.d.ts +12 -0
  116. package/types/components/button/src/button.vue.d.ts +308 -0
  117. package/types/components/feedback/index.d.ts +1037 -0
  118. package/types/components/feedback/src/bmAlert.vue.d.ts +193 -0
  119. package/types/components/feedback/src/bmModal.vue.d.ts +839 -0
  120. package/types/components/float-table/index.d.ts +70 -0
  121. package/types/components/float-table/src/float-table.vue.d.ts +69 -0
  122. package/types/components/flow-designer/index.d.ts +7 -0
  123. package/types/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
  124. package/types/components/form-designer/index.d.ts +9 -0
  125. package/types/components/form-designer/src/form-designer.vue.d.ts +8 -0
  126. package/types/components/index.d.ts +13 -0
  127. package/types/components/input-tags-display/index.d.ts +113 -0
  128. package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +110 -0
  129. package/types/components/multi-cascader-compose/index.d.ts +164 -0
  130. package/types/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +164 -0
  131. package/types/components/multi-cascader-compose/src/props.d.ts +40 -0
  132. package/types/components/multi-cascader-compose/types.d.ts +10 -0
  133. package/types/components/over-tooltips/index.d.ts +35 -0
  134. package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  135. package/types/components/search-filter/index.d.ts +218 -0
  136. package/types/components/search-filter/src/search-filter.d.ts +77 -0
  137. package/types/components/search-filter/src/search-filter.vue.d.ts +217 -0
  138. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +89 -0
  139. package/types/components/shops-filter/index.d.ts +99 -0
  140. package/types/components/shops-filter/src/shops-filter.d.ts +25 -0
  141. package/types/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  142. package/types/components/staffs-selector/index.d.ts +109 -0
  143. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
  144. package/types/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  145. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
  146. package/types/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  147. package/types/components/timeline/index.d.ts +107 -0
  148. package/types/components/timeline/src/props.d.ts +24 -0
  149. package/types/components/timeline/src/timeline-item.vue.d.ts +65 -0
  150. package/types/components/timeline/src/timeline.vue.d.ts +42 -0
  151. package/types/components/upload/index.d.ts +136 -0
  152. package/types/components/upload/src/icons.d.ts +13 -0
  153. package/types/components/upload/src/upload.vue.d.ts +135 -0
  154. package/types/components/upload/utils/index.d.ts +7 -0
  155. package/types/index.d.ts +6 -0
  156. package/types/utils/bm-admin-ui-resolver.d.ts +9 -0
  157. package/types/utils/vxe-table.d.ts +6 -0
  158. package/types/utils/with-install.d.ts +3 -0
package/index.esm.js CHANGED
@@ -3,7 +3,7 @@ var process = {
3
3
  NODE_ENV: 'production'
4
4
  }
5
5
  };
6
- import require$$1$1, { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot, resolveComponent, ref as ref$1, onMounted, createElementBlock, Fragment, isVNode, Comment, Text, inject, computed, createVNode, reactive, provide, watch as watch$1, Transition, onUnmounted, Teleport, TransitionGroup, render as render$9, h as h$2, nextTick, watchEffect, onBeforeMount, onUpdated, onBeforeUnmount, getCurrentInstance, withDirectives, vShow, resolveDynamicComponent, useSlots, createSlots, createElementVNode, createTextVNode, mergeProps as mergeProps$1, markRaw, toRef, createApp, toRefs, resolveDirective, toDisplayString, createCommentVNode, renderList, withModifiers, normalizeClass, normalizeStyle, readonly, toHandlers, normalizeProps, guardReactiveProps } from 'vue';
6
+ import require$$1$1, { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot, resolveComponent, ref, onMounted, createElementBlock, Fragment, isVNode, Comment, Text, inject, computed, createVNode, reactive, provide, watch, Transition, onUnmounted, Teleport, TransitionGroup, render as render$9, h as h$2, nextTick, watchEffect, onBeforeMount, onUpdated, onBeforeUnmount, getCurrentInstance, withDirectives, vShow, resolveDynamicComponent, useSlots, createSlots, createElementVNode, createTextVNode, mergeProps as mergeProps$1, markRaw, toRef, createApp, toRefs, resolveDirective, toDisplayString, createCommentVNode, renderList, withModifiers, normalizeClass, normalizeStyle, readonly, toHandlers, normalizeProps, guardReactiveProps } from 'vue';
7
7
 
8
8
  const withInstall$2 = (comp) => {
9
9
  comp.install = function (app) {
@@ -119,7 +119,7 @@ var _extends$2 = {exports: {}};
119
119
 
120
120
  (function (module) {
121
121
  function _extends() {
122
- module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {
122
+ module.exports = _extends = Object.assign || function (target) {
123
123
  for (var i = 1; i < arguments.length; i++) {
124
124
  var source = arguments[i];
125
125
 
@@ -1496,8 +1496,8 @@ function filterEmpty() {
1496
1496
  children.forEach(function (child) {
1497
1497
  if (Array.isArray(child)) {
1498
1498
  res.push.apply(res, (0, _toConsumableArray2.default)(child));
1499
- } else if (child.type === _vue.Fragment) {
1500
- res.push.apply(res, (0, _toConsumableArray2.default)(child.children));
1499
+ } else if ((child === null || child === void 0 ? void 0 : child.type) === _vue.Fragment) {
1500
+ res.push.apply(res, (0, _toConsumableArray2.default)(filterEmpty(child.children)));
1501
1501
  } else {
1502
1502
  res.push(child);
1503
1503
  }
@@ -3178,7 +3178,7 @@ function boundAlpha(a) {
3178
3178
  */
3179
3179
  function convertToPercentage(n) {
3180
3180
  if (n <= 1) {
3181
- return "".concat(Number(n) * 100, "%");
3181
+ return Number(n) * 100 + "%";
3182
3182
  }
3183
3183
  return n;
3184
3184
  }
@@ -3644,12 +3644,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
3644
3644
  // <http://www.w3.org/TR/css3-values/#number-value>
3645
3645
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
3646
3646
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
3647
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
3647
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
3648
3648
  // Actual matching.
3649
3649
  // Parentheses and commas are optional, but not required.
3650
3650
  // Whitespace can take the place of commas or opening paren
3651
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
3652
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
3651
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
3652
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
3653
3653
  var matchers = {
3654
3654
  CSS_UNIT: new RegExp(CSS_UNIT),
3655
3655
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -3875,7 +3875,7 @@ var TinyColor = /** @class */ (function () {
3875
3875
  var h = Math.round(hsv.h * 360);
3876
3876
  var s = Math.round(hsv.s * 100);
3877
3877
  var v = Math.round(hsv.v * 100);
3878
- return this.a === 1 ? "hsv(".concat(h, ", ").concat(s, "%, ").concat(v, "%)") : "hsva(".concat(h, ", ").concat(s, "%, ").concat(v, "%, ").concat(this.roundA, ")");
3878
+ return this.a === 1 ? "hsv(" + h + ", " + s + "%, " + v + "%)" : "hsva(" + h + ", " + s + "%, " + v + "%, " + this.roundA + ")";
3879
3879
  };
3880
3880
  /**
3881
3881
  * Returns the object as a HSLA object.
@@ -3893,7 +3893,7 @@ var TinyColor = /** @class */ (function () {
3893
3893
  var h = Math.round(hsl.h * 360);
3894
3894
  var s = Math.round(hsl.s * 100);
3895
3895
  var l = Math.round(hsl.l * 100);
3896
- return this.a === 1 ? "hsl(".concat(h, ", ").concat(s, "%, ").concat(l, "%)") : "hsla(".concat(h, ", ").concat(s, "%, ").concat(l, "%, ").concat(this.roundA, ")");
3896
+ return this.a === 1 ? "hsl(" + h + ", " + s + "%, " + l + "%)" : "hsla(" + h + ", " + s + "%, " + l + "%, " + this.roundA + ")";
3897
3897
  };
3898
3898
  /**
3899
3899
  * Returns the hex value of the color.
@@ -3946,13 +3946,13 @@ var TinyColor = /** @class */ (function () {
3946
3946
  var r = Math.round(this.r);
3947
3947
  var g = Math.round(this.g);
3948
3948
  var b = Math.round(this.b);
3949
- return this.a === 1 ? "rgb(".concat(r, ", ").concat(g, ", ").concat(b, ")") : "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(this.roundA, ")");
3949
+ return this.a === 1 ? "rgb(" + r + ", " + g + ", " + b + ")" : "rgba(" + r + ", " + g + ", " + b + ", " + this.roundA + ")";
3950
3950
  };
3951
3951
  /**
3952
3952
  * Returns the object as a RGBA object.
3953
3953
  */
3954
3954
  TinyColor.prototype.toPercentageRgb = function () {
3955
- var fmt = function (x) { return "".concat(Math.round(bound01(x, 255) * 100), "%"); };
3955
+ var fmt = function (x) { return Math.round(bound01(x, 255) * 100) + "%"; };
3956
3956
  return {
3957
3957
  r: fmt(this.r),
3958
3958
  g: fmt(this.g),
@@ -3966,8 +3966,8 @@ var TinyColor = /** @class */ (function () {
3966
3966
  TinyColor.prototype.toPercentageRgbString = function () {
3967
3967
  var rnd = function (x) { return Math.round(bound01(x, 255) * 100); };
3968
3968
  return this.a === 1
3969
- ? "rgb(".concat(rnd(this.r), "%, ").concat(rnd(this.g), "%, ").concat(rnd(this.b), "%)")
3970
- : "rgba(".concat(rnd(this.r), "%, ").concat(rnd(this.g), "%, ").concat(rnd(this.b), "%, ").concat(this.roundA, ")");
3969
+ ? "rgb(" + rnd(this.r) + "%, " + rnd(this.g) + "%, " + rnd(this.b) + "%)"
3970
+ : "rgba(" + rnd(this.r) + "%, " + rnd(this.g) + "%, " + rnd(this.b) + "%, " + this.roundA + ")";
3971
3971
  };
3972
3972
  /**
3973
3973
  * The 'real' name of the color -if there is one.
@@ -4335,7 +4335,7 @@ function toMsFilter(firstColor, secondColor) {
4335
4335
  var s = new TinyColor(secondColor);
4336
4336
  secondHex8String = '#' + rgbaToArgbHex(s.r, s.g, s.b, s.a);
4337
4337
  }
4338
- return "progid:DXImageTransform.Microsoft.gradient(".concat(gradientType, "startColorstr=").concat(hex8String, ",endColorstr=").concat(secondHex8String, ")");
4338
+ return "progid:DXImageTransform.Microsoft.gradient(" + gradientType + "startColorstr=" + hex8String + ",endColorstr=" + secondHex8String + ")";
4339
4339
  }
4340
4340
 
4341
4341
  /**
@@ -5787,379 +5787,765 @@ var default_1$2 = message$1.default = _default$V;
5787
5787
 
5788
5788
  var notification$1 = {};
5789
5789
 
5790
- var regeneratorRuntime$1 = {exports: {}};
5790
+ var runtime = {exports: {}};
5791
5791
 
5792
- (function (module) {
5793
- var _typeof = _typeof$c.exports["default"];
5792
+ /**
5793
+ * Copyright (c) 2014-present, Facebook, Inc.
5794
+ *
5795
+ * This source code is licensed under the MIT license found in the
5796
+ * LICENSE file in the root directory of this source tree.
5797
+ */
5794
5798
 
5795
- function _regeneratorRuntime() {
5796
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
5799
+ (function (module) {
5800
+ var runtime = (function (exports) {
5797
5801
 
5798
- module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
5799
- return exports;
5800
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
5801
- var exports = {},
5802
- Op = Object.prototype,
5803
- hasOwn = Op.hasOwnProperty,
5804
- $Symbol = "function" == typeof Symbol ? Symbol : {},
5805
- iteratorSymbol = $Symbol.iterator || "@@iterator",
5806
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
5807
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
5802
+ var Op = Object.prototype;
5803
+ var hasOwn = Op.hasOwnProperty;
5804
+ var undefined$1; // More compressible than void 0.
5805
+ var $Symbol = typeof Symbol === "function" ? Symbol : {};
5806
+ var iteratorSymbol = $Symbol.iterator || "@@iterator";
5807
+ var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
5808
+ var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
5808
5809
 
5809
5810
  function define(obj, key, value) {
5810
- return Object.defineProperty(obj, key, {
5811
+ Object.defineProperty(obj, key, {
5811
5812
  value: value,
5812
- enumerable: !0,
5813
- configurable: !0,
5814
- writable: !0
5815
- }), obj[key];
5813
+ enumerable: true,
5814
+ configurable: true,
5815
+ writable: true
5816
+ });
5817
+ return obj[key];
5816
5818
  }
5817
-
5818
5819
  try {
5820
+ // IE 8 has a broken Object.defineProperty that only works on DOM objects.
5819
5821
  define({}, "");
5820
5822
  } catch (err) {
5821
- define = function define(obj, key, value) {
5823
+ define = function(obj, key, value) {
5822
5824
  return obj[key] = value;
5823
5825
  };
5824
5826
  }
5825
5827
 
5826
5828
  function wrap(innerFn, outerFn, self, tryLocsList) {
5827
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
5828
- generator = Object.create(protoGenerator.prototype),
5829
- context = new Context(tryLocsList || []);
5830
- return generator._invoke = function (innerFn, self, context) {
5831
- var state = "suspendedStart";
5832
- return function (method, arg) {
5833
- if ("executing" === state) throw new Error("Generator is already running");
5834
-
5835
- if ("completed" === state) {
5836
- if ("throw" === method) throw arg;
5837
- return doneResult();
5838
- }
5839
-
5840
- for (context.method = method, context.arg = arg;;) {
5841
- var delegate = context.delegate;
5842
-
5843
- if (delegate) {
5844
- var delegateResult = maybeInvokeDelegate(delegate, context);
5829
+ // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
5830
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
5831
+ var generator = Object.create(protoGenerator.prototype);
5832
+ var context = new Context(tryLocsList || []);
5845
5833
 
5846
- if (delegateResult) {
5847
- if (delegateResult === ContinueSentinel) continue;
5848
- return delegateResult;
5849
- }
5850
- }
5851
-
5852
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
5853
- if ("suspendedStart" === state) throw state = "completed", context.arg;
5854
- context.dispatchException(context.arg);
5855
- } else "return" === context.method && context.abrupt("return", context.arg);
5856
- state = "executing";
5857
- var record = tryCatch(innerFn, self, context);
5858
-
5859
- if ("normal" === record.type) {
5860
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
5861
- return {
5862
- value: record.arg,
5863
- done: context.done
5864
- };
5865
- }
5834
+ // The ._invoke method unifies the implementations of the .next,
5835
+ // .throw, and .return methods.
5836
+ generator._invoke = makeInvokeMethod(innerFn, self, context);
5866
5837
 
5867
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
5868
- }
5869
- };
5870
- }(innerFn, self, context), generator;
5838
+ return generator;
5871
5839
  }
5840
+ exports.wrap = wrap;
5872
5841
 
5842
+ // Try/catch helper to minimize deoptimizations. Returns a completion
5843
+ // record like context.tryEntries[i].completion. This interface could
5844
+ // have been (and was previously) designed to take a closure to be
5845
+ // invoked without arguments, but in all the cases we care about we
5846
+ // already have an existing method we want to call, so there's no need
5847
+ // to create a new function object. We can even get away with assuming
5848
+ // the method takes exactly one argument, since that happens to be true
5849
+ // in every case, so we don't have to touch the arguments object. The
5850
+ // only additional allocation required is the completion record, which
5851
+ // has a stable shape and so hopefully should be cheap to allocate.
5873
5852
  function tryCatch(fn, obj, arg) {
5874
5853
  try {
5875
- return {
5876
- type: "normal",
5877
- arg: fn.call(obj, arg)
5878
- };
5854
+ return { type: "normal", arg: fn.call(obj, arg) };
5879
5855
  } catch (err) {
5880
- return {
5881
- type: "throw",
5882
- arg: err
5883
- };
5856
+ return { type: "throw", arg: err };
5884
5857
  }
5885
5858
  }
5886
5859
 
5887
- exports.wrap = wrap;
5860
+ var GenStateSuspendedStart = "suspendedStart";
5861
+ var GenStateSuspendedYield = "suspendedYield";
5862
+ var GenStateExecuting = "executing";
5863
+ var GenStateCompleted = "completed";
5864
+
5865
+ // Returning this object from the innerFn has the same effect as
5866
+ // breaking out of the dispatch switch statement.
5888
5867
  var ContinueSentinel = {};
5889
5868
 
5869
+ // Dummy constructor functions that we use as the .constructor and
5870
+ // .constructor.prototype properties for functions that return Generator
5871
+ // objects. For full spec compliance, you may wish to configure your
5872
+ // minifier not to mangle the names of these two functions.
5890
5873
  function Generator() {}
5891
-
5892
5874
  function GeneratorFunction() {}
5893
-
5894
5875
  function GeneratorFunctionPrototype() {}
5895
5876
 
5877
+ // This is a polyfill for %IteratorPrototype% for environments that
5878
+ // don't natively support it.
5896
5879
  var IteratorPrototype = {};
5897
5880
  define(IteratorPrototype, iteratorSymbol, function () {
5898
5881
  return this;
5899
5882
  });
5900
- var getProto = Object.getPrototypeOf,
5901
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
5902
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
5903
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
5904
5883
 
5884
+ var getProto = Object.getPrototypeOf;
5885
+ var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
5886
+ if (NativeIteratorPrototype &&
5887
+ NativeIteratorPrototype !== Op &&
5888
+ hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
5889
+ // This environment has a native %IteratorPrototype%; use it instead
5890
+ // of the polyfill.
5891
+ IteratorPrototype = NativeIteratorPrototype;
5892
+ }
5893
+
5894
+ var Gp = GeneratorFunctionPrototype.prototype =
5895
+ Generator.prototype = Object.create(IteratorPrototype);
5896
+ GeneratorFunction.prototype = GeneratorFunctionPrototype;
5897
+ define(Gp, "constructor", GeneratorFunctionPrototype);
5898
+ define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
5899
+ GeneratorFunction.displayName = define(
5900
+ GeneratorFunctionPrototype,
5901
+ toStringTagSymbol,
5902
+ "GeneratorFunction"
5903
+ );
5904
+
5905
+ // Helper for defining the .next, .throw, and .return methods of the
5906
+ // Iterator interface in terms of a single ._invoke method.
5905
5907
  function defineIteratorMethods(prototype) {
5906
- ["next", "throw", "return"].forEach(function (method) {
5907
- define(prototype, method, function (arg) {
5908
+ ["next", "throw", "return"].forEach(function(method) {
5909
+ define(prototype, method, function(arg) {
5908
5910
  return this._invoke(method, arg);
5909
5911
  });
5910
5912
  });
5911
5913
  }
5912
5914
 
5915
+ exports.isGeneratorFunction = function(genFun) {
5916
+ var ctor = typeof genFun === "function" && genFun.constructor;
5917
+ return ctor
5918
+ ? ctor === GeneratorFunction ||
5919
+ // For the native GeneratorFunction constructor, the best we can
5920
+ // do is to check its .name property.
5921
+ (ctor.displayName || ctor.name) === "GeneratorFunction"
5922
+ : false;
5923
+ };
5924
+
5925
+ exports.mark = function(genFun) {
5926
+ if (Object.setPrototypeOf) {
5927
+ Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
5928
+ } else {
5929
+ genFun.__proto__ = GeneratorFunctionPrototype;
5930
+ define(genFun, toStringTagSymbol, "GeneratorFunction");
5931
+ }
5932
+ genFun.prototype = Object.create(Gp);
5933
+ return genFun;
5934
+ };
5935
+
5936
+ // Within the body of any async function, `await x` is transformed to
5937
+ // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
5938
+ // `hasOwn.call(value, "__await")` to determine if the yielded value is
5939
+ // meant to be awaited.
5940
+ exports.awrap = function(arg) {
5941
+ return { __await: arg };
5942
+ };
5943
+
5913
5944
  function AsyncIterator(generator, PromiseImpl) {
5914
5945
  function invoke(method, arg, resolve, reject) {
5915
5946
  var record = tryCatch(generator[method], generator, arg);
5947
+ if (record.type === "throw") {
5948
+ reject(record.arg);
5949
+ } else {
5950
+ var result = record.arg;
5951
+ var value = result.value;
5952
+ if (value &&
5953
+ typeof value === "object" &&
5954
+ hasOwn.call(value, "__await")) {
5955
+ return PromiseImpl.resolve(value.__await).then(function(value) {
5956
+ invoke("next", value, resolve, reject);
5957
+ }, function(err) {
5958
+ invoke("throw", err, resolve, reject);
5959
+ });
5960
+ }
5916
5961
 
5917
- if ("throw" !== record.type) {
5918
- var result = record.arg,
5919
- value = result.value;
5920
- return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
5921
- invoke("next", value, resolve, reject);
5922
- }, function (err) {
5923
- invoke("throw", err, resolve, reject);
5924
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
5925
- result.value = unwrapped, resolve(result);
5926
- }, function (error) {
5962
+ return PromiseImpl.resolve(value).then(function(unwrapped) {
5963
+ // When a yielded Promise is resolved, its final value becomes
5964
+ // the .value of the Promise<{value,done}> result for the
5965
+ // current iteration.
5966
+ result.value = unwrapped;
5967
+ resolve(result);
5968
+ }, function(error) {
5969
+ // If a rejected Promise was yielded, throw the rejection back
5970
+ // into the async generator function so it can be handled there.
5927
5971
  return invoke("throw", error, resolve, reject);
5928
5972
  });
5929
5973
  }
5930
-
5931
- reject(record.arg);
5932
5974
  }
5933
5975
 
5934
5976
  var previousPromise;
5935
5977
 
5936
- this._invoke = function (method, arg) {
5978
+ function enqueue(method, arg) {
5937
5979
  function callInvokeWithMethodAndArg() {
5938
- return new PromiseImpl(function (resolve, reject) {
5980
+ return new PromiseImpl(function(resolve, reject) {
5939
5981
  invoke(method, arg, resolve, reject);
5940
5982
  });
5941
5983
  }
5942
5984
 
5943
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
5985
+ return previousPromise =
5986
+ // If enqueue has been called before, then we want to wait until
5987
+ // all previous Promises have been resolved before calling invoke,
5988
+ // so that results are always delivered in the correct order. If
5989
+ // enqueue has not been called before, then it is important to
5990
+ // call invoke immediately, without waiting on a callback to fire,
5991
+ // so that the async generator function has the opportunity to do
5992
+ // any necessary setup in a predictable way. This predictability
5993
+ // is why the Promise constructor synchronously invokes its
5994
+ // executor callback, and why async functions synchronously
5995
+ // execute code before the first await. Since we implement simple
5996
+ // async functions in terms of async generators, it is especially
5997
+ // important to get this right, even though it requires care.
5998
+ previousPromise ? previousPromise.then(
5999
+ callInvokeWithMethodAndArg,
6000
+ // Avoid propagating failures to Promises returned by later
6001
+ // invocations of the iterator.
6002
+ callInvokeWithMethodAndArg
6003
+ ) : callInvokeWithMethodAndArg();
6004
+ }
6005
+
6006
+ // Define the unified helper method that is used to implement .next,
6007
+ // .throw, and .return (see defineIteratorMethods).
6008
+ this._invoke = enqueue;
6009
+ }
6010
+
6011
+ defineIteratorMethods(AsyncIterator.prototype);
6012
+ define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
6013
+ return this;
6014
+ });
6015
+ exports.AsyncIterator = AsyncIterator;
6016
+
6017
+ // Note that simple async functions are implemented on top of
6018
+ // AsyncIterator objects; they just return a Promise for the value of
6019
+ // the final result produced by the iterator.
6020
+ exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
6021
+ if (PromiseImpl === void 0) PromiseImpl = Promise;
6022
+
6023
+ var iter = new AsyncIterator(
6024
+ wrap(innerFn, outerFn, self, tryLocsList),
6025
+ PromiseImpl
6026
+ );
6027
+
6028
+ return exports.isGeneratorFunction(outerFn)
6029
+ ? iter // If outerFn is a generator, return the full iterator.
6030
+ : iter.next().then(function(result) {
6031
+ return result.done ? result.value : iter.next();
6032
+ });
6033
+ };
6034
+
6035
+ function makeInvokeMethod(innerFn, self, context) {
6036
+ var state = GenStateSuspendedStart;
6037
+
6038
+ return function invoke(method, arg) {
6039
+ if (state === GenStateExecuting) {
6040
+ throw new Error("Generator is already running");
6041
+ }
6042
+
6043
+ if (state === GenStateCompleted) {
6044
+ if (method === "throw") {
6045
+ throw arg;
6046
+ }
6047
+
6048
+ // Be forgiving, per 25.3.3.3.3 of the spec:
6049
+ // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
6050
+ return doneResult();
6051
+ }
6052
+
6053
+ context.method = method;
6054
+ context.arg = arg;
6055
+
6056
+ while (true) {
6057
+ var delegate = context.delegate;
6058
+ if (delegate) {
6059
+ var delegateResult = maybeInvokeDelegate(delegate, context);
6060
+ if (delegateResult) {
6061
+ if (delegateResult === ContinueSentinel) continue;
6062
+ return delegateResult;
6063
+ }
6064
+ }
6065
+
6066
+ if (context.method === "next") {
6067
+ // Setting context._sent for legacy support of Babel's
6068
+ // function.sent implementation.
6069
+ context.sent = context._sent = context.arg;
6070
+
6071
+ } else if (context.method === "throw") {
6072
+ if (state === GenStateSuspendedStart) {
6073
+ state = GenStateCompleted;
6074
+ throw context.arg;
6075
+ }
6076
+
6077
+ context.dispatchException(context.arg);
6078
+
6079
+ } else if (context.method === "return") {
6080
+ context.abrupt("return", context.arg);
6081
+ }
6082
+
6083
+ state = GenStateExecuting;
6084
+
6085
+ var record = tryCatch(innerFn, self, context);
6086
+ if (record.type === "normal") {
6087
+ // If an exception is thrown from innerFn, we leave state ===
6088
+ // GenStateExecuting and loop back for another invocation.
6089
+ state = context.done
6090
+ ? GenStateCompleted
6091
+ : GenStateSuspendedYield;
6092
+
6093
+ if (record.arg === ContinueSentinel) {
6094
+ continue;
6095
+ }
6096
+
6097
+ return {
6098
+ value: record.arg,
6099
+ done: context.done
6100
+ };
6101
+
6102
+ } else if (record.type === "throw") {
6103
+ state = GenStateCompleted;
6104
+ // Dispatch the exception by looping back around to the
6105
+ // context.dispatchException(context.arg) call above.
6106
+ context.method = "throw";
6107
+ context.arg = record.arg;
6108
+ }
6109
+ }
5944
6110
  };
5945
6111
  }
5946
6112
 
6113
+ // Call delegate.iterator[context.method](context.arg) and handle the
6114
+ // result, either by returning a { value, done } result from the
6115
+ // delegate iterator, or by modifying context.method and context.arg,
6116
+ // setting context.delegate to null, and returning the ContinueSentinel.
5947
6117
  function maybeInvokeDelegate(delegate, context) {
5948
6118
  var method = delegate.iterator[context.method];
6119
+ if (method === undefined$1) {
6120
+ // A .throw or .return when the delegate iterator has no .throw
6121
+ // method always terminates the yield* loop.
6122
+ context.delegate = null;
6123
+
6124
+ if (context.method === "throw") {
6125
+ // Note: ["return"] must be used for ES3 parsing compatibility.
6126
+ if (delegate.iterator["return"]) {
6127
+ // If the delegate iterator has a return method, give it a
6128
+ // chance to clean up.
6129
+ context.method = "return";
6130
+ context.arg = undefined$1;
6131
+ maybeInvokeDelegate(delegate, context);
6132
+
6133
+ if (context.method === "throw") {
6134
+ // If maybeInvokeDelegate(context) changed context.method from
6135
+ // "return" to "throw", let that override the TypeError below.
6136
+ return ContinueSentinel;
6137
+ }
6138
+ }
5949
6139
 
5950
- if (undefined === method) {
5951
- if (context.delegate = null, "throw" === context.method) {
5952
- if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
5953
- context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
6140
+ context.method = "throw";
6141
+ context.arg = new TypeError(
6142
+ "The iterator does not provide a 'throw' method");
5954
6143
  }
5955
6144
 
5956
6145
  return ContinueSentinel;
5957
6146
  }
5958
6147
 
5959
6148
  var record = tryCatch(method, delegate.iterator, context.arg);
5960
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
6149
+
6150
+ if (record.type === "throw") {
6151
+ context.method = "throw";
6152
+ context.arg = record.arg;
6153
+ context.delegate = null;
6154
+ return ContinueSentinel;
6155
+ }
6156
+
5961
6157
  var info = record.arg;
5962
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
6158
+
6159
+ if (! info) {
6160
+ context.method = "throw";
6161
+ context.arg = new TypeError("iterator result is not an object");
6162
+ context.delegate = null;
6163
+ return ContinueSentinel;
6164
+ }
6165
+
6166
+ if (info.done) {
6167
+ // Assign the result of the finished delegate to the temporary
6168
+ // variable specified by delegate.resultName (see delegateYield).
6169
+ context[delegate.resultName] = info.value;
6170
+
6171
+ // Resume execution at the desired location (see delegateYield).
6172
+ context.next = delegate.nextLoc;
6173
+
6174
+ // If context.method was "throw" but the delegate handled the
6175
+ // exception, let the outer generator proceed normally. If
6176
+ // context.method was "next", forget context.arg since it has been
6177
+ // "consumed" by the delegate iterator. If context.method was
6178
+ // "return", allow the original .return call to continue in the
6179
+ // outer generator.
6180
+ if (context.method !== "return") {
6181
+ context.method = "next";
6182
+ context.arg = undefined$1;
6183
+ }
6184
+
6185
+ } else {
6186
+ // Re-yield the result returned by the delegate method.
6187
+ return info;
6188
+ }
6189
+
6190
+ // The delegate iterator is finished, so forget it and continue with
6191
+ // the outer generator.
6192
+ context.delegate = null;
6193
+ return ContinueSentinel;
5963
6194
  }
5964
6195
 
6196
+ // Define Generator.prototype.{next,throw,return} in terms of the
6197
+ // unified ._invoke helper method.
6198
+ defineIteratorMethods(Gp);
6199
+
6200
+ define(Gp, toStringTagSymbol, "Generator");
6201
+
6202
+ // A Generator should always return itself as the iterator object when the
6203
+ // @@iterator function is called on it. Some browsers' implementations of the
6204
+ // iterator prototype chain incorrectly implement this, causing the Generator
6205
+ // object to not be returned from this call. This ensures that doesn't happen.
6206
+ // See https://github.com/facebook/regenerator/issues/274 for more details.
6207
+ define(Gp, iteratorSymbol, function() {
6208
+ return this;
6209
+ });
6210
+
6211
+ define(Gp, "toString", function() {
6212
+ return "[object Generator]";
6213
+ });
6214
+
5965
6215
  function pushTryEntry(locs) {
5966
- var entry = {
5967
- tryLoc: locs[0]
5968
- };
5969
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
6216
+ var entry = { tryLoc: locs[0] };
6217
+
6218
+ if (1 in locs) {
6219
+ entry.catchLoc = locs[1];
6220
+ }
6221
+
6222
+ if (2 in locs) {
6223
+ entry.finallyLoc = locs[2];
6224
+ entry.afterLoc = locs[3];
6225
+ }
6226
+
6227
+ this.tryEntries.push(entry);
5970
6228
  }
5971
6229
 
5972
6230
  function resetTryEntry(entry) {
5973
6231
  var record = entry.completion || {};
5974
- record.type = "normal", delete record.arg, entry.completion = record;
6232
+ record.type = "normal";
6233
+ delete record.arg;
6234
+ entry.completion = record;
5975
6235
  }
5976
6236
 
5977
6237
  function Context(tryLocsList) {
5978
- this.tryEntries = [{
5979
- tryLoc: "root"
5980
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
6238
+ // The root entry object (effectively a try statement without a catch
6239
+ // or a finally block) gives us a place to store values thrown from
6240
+ // locations where there is no enclosing try statement.
6241
+ this.tryEntries = [{ tryLoc: "root" }];
6242
+ tryLocsList.forEach(pushTryEntry, this);
6243
+ this.reset(true);
5981
6244
  }
5982
6245
 
6246
+ exports.keys = function(object) {
6247
+ var keys = [];
6248
+ for (var key in object) {
6249
+ keys.push(key);
6250
+ }
6251
+ keys.reverse();
6252
+
6253
+ // Rather than returning an object with a next method, we keep
6254
+ // things simple and return the next function itself.
6255
+ return function next() {
6256
+ while (keys.length) {
6257
+ var key = keys.pop();
6258
+ if (key in object) {
6259
+ next.value = key;
6260
+ next.done = false;
6261
+ return next;
6262
+ }
6263
+ }
6264
+
6265
+ // To avoid creating an additional object, we just hang the .value
6266
+ // and .done properties off the next function object itself. This
6267
+ // also ensures that the minifier will not anonymize the function.
6268
+ next.done = true;
6269
+ return next;
6270
+ };
6271
+ };
6272
+
5983
6273
  function values(iterable) {
5984
6274
  if (iterable) {
5985
6275
  var iteratorMethod = iterable[iteratorSymbol];
5986
- if (iteratorMethod) return iteratorMethod.call(iterable);
5987
- if ("function" == typeof iterable.next) return iterable;
6276
+ if (iteratorMethod) {
6277
+ return iteratorMethod.call(iterable);
6278
+ }
6279
+
6280
+ if (typeof iterable.next === "function") {
6281
+ return iterable;
6282
+ }
5988
6283
 
5989
6284
  if (!isNaN(iterable.length)) {
5990
- var i = -1,
5991
- next = function next() {
5992
- for (; ++i < iterable.length;) {
5993
- if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
6285
+ var i = -1, next = function next() {
6286
+ while (++i < iterable.length) {
6287
+ if (hasOwn.call(iterable, i)) {
6288
+ next.value = iterable[i];
6289
+ next.done = false;
6290
+ return next;
6291
+ }
5994
6292
  }
5995
6293
 
5996
- return next.value = undefined, next.done = !0, next;
6294
+ next.value = undefined$1;
6295
+ next.done = true;
6296
+
6297
+ return next;
5997
6298
  };
5998
6299
 
5999
6300
  return next.next = next;
6000
6301
  }
6001
6302
  }
6002
6303
 
6003
- return {
6004
- next: doneResult
6005
- };
6304
+ // Return an iterator with no values.
6305
+ return { next: doneResult };
6006
6306
  }
6307
+ exports.values = values;
6007
6308
 
6008
6309
  function doneResult() {
6009
- return {
6010
- value: undefined,
6011
- done: !0
6012
- };
6310
+ return { value: undefined$1, done: true };
6013
6311
  }
6014
6312
 
6015
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
6016
- var ctor = "function" == typeof genFun && genFun.constructor;
6017
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
6018
- }, exports.mark = function (genFun) {
6019
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
6020
- }, exports.awrap = function (arg) {
6021
- return {
6022
- __await: arg
6023
- };
6024
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
6025
- return this;
6026
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
6027
- void 0 === PromiseImpl && (PromiseImpl = Promise);
6028
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
6029
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
6030
- return result.done ? result.value : iter.next();
6031
- });
6032
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
6033
- return this;
6034
- }), define(Gp, "toString", function () {
6035
- return "[object Generator]";
6036
- }), exports.keys = function (object) {
6037
- var keys = [];
6038
-
6039
- for (var key in object) {
6040
- keys.push(key);
6041
- }
6313
+ Context.prototype = {
6314
+ constructor: Context,
6042
6315
 
6043
- return keys.reverse(), function next() {
6044
- for (; keys.length;) {
6045
- var key = keys.pop();
6046
- if (key in object) return next.value = key, next.done = !1, next;
6316
+ reset: function(skipTempReset) {
6317
+ this.prev = 0;
6318
+ this.next = 0;
6319
+ // Resetting context._sent for legacy support of Babel's
6320
+ // function.sent implementation.
6321
+ this.sent = this._sent = undefined$1;
6322
+ this.done = false;
6323
+ this.delegate = null;
6324
+
6325
+ this.method = "next";
6326
+ this.arg = undefined$1;
6327
+
6328
+ this.tryEntries.forEach(resetTryEntry);
6329
+
6330
+ if (!skipTempReset) {
6331
+ for (var name in this) {
6332
+ // Not sure about the optimal order of these conditions:
6333
+ if (name.charAt(0) === "t" &&
6334
+ hasOwn.call(this, name) &&
6335
+ !isNaN(+name.slice(1))) {
6336
+ this[name] = undefined$1;
6337
+ }
6338
+ }
6047
6339
  }
6340
+ },
6048
6341
 
6049
- return next.done = !0, next;
6050
- };
6051
- }, exports.values = values, Context.prototype = {
6052
- constructor: Context,
6053
- reset: function reset(skipTempReset) {
6054
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
6055
- "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
6342
+ stop: function() {
6343
+ this.done = true;
6344
+
6345
+ var rootEntry = this.tryEntries[0];
6346
+ var rootRecord = rootEntry.completion;
6347
+ if (rootRecord.type === "throw") {
6348
+ throw rootRecord.arg;
6056
6349
  }
6057
- },
6058
- stop: function stop() {
6059
- this.done = !0;
6060
- var rootRecord = this.tryEntries[0].completion;
6061
- if ("throw" === rootRecord.type) throw rootRecord.arg;
6350
+
6062
6351
  return this.rval;
6063
6352
  },
6064
- dispatchException: function dispatchException(exception) {
6065
- if (this.done) throw exception;
6066
- var context = this;
6067
6353
 
6354
+ dispatchException: function(exception) {
6355
+ if (this.done) {
6356
+ throw exception;
6357
+ }
6358
+
6359
+ var context = this;
6068
6360
  function handle(loc, caught) {
6069
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
6361
+ record.type = "throw";
6362
+ record.arg = exception;
6363
+ context.next = loc;
6364
+
6365
+ if (caught) {
6366
+ // If the dispatched exception was caught by a catch block,
6367
+ // then let that catch block handle the exception normally.
6368
+ context.method = "next";
6369
+ context.arg = undefined$1;
6370
+ }
6371
+
6372
+ return !! caught;
6070
6373
  }
6071
6374
 
6072
6375
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
6073
- var entry = this.tryEntries[i],
6074
- record = entry.completion;
6075
- if ("root" === entry.tryLoc) return handle("end");
6376
+ var entry = this.tryEntries[i];
6377
+ var record = entry.completion;
6378
+
6379
+ if (entry.tryLoc === "root") {
6380
+ // Exception thrown outside of any try block that could handle
6381
+ // it, so set the completion value of the entire function to
6382
+ // throw the exception.
6383
+ return handle("end");
6384
+ }
6076
6385
 
6077
6386
  if (entry.tryLoc <= this.prev) {
6078
- var hasCatch = hasOwn.call(entry, "catchLoc"),
6079
- hasFinally = hasOwn.call(entry, "finallyLoc");
6387
+ var hasCatch = hasOwn.call(entry, "catchLoc");
6388
+ var hasFinally = hasOwn.call(entry, "finallyLoc");
6080
6389
 
6081
6390
  if (hasCatch && hasFinally) {
6082
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
6083
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
6391
+ if (this.prev < entry.catchLoc) {
6392
+ return handle(entry.catchLoc, true);
6393
+ } else if (this.prev < entry.finallyLoc) {
6394
+ return handle(entry.finallyLoc);
6395
+ }
6396
+
6084
6397
  } else if (hasCatch) {
6085
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
6398
+ if (this.prev < entry.catchLoc) {
6399
+ return handle(entry.catchLoc, true);
6400
+ }
6401
+
6402
+ } else if (hasFinally) {
6403
+ if (this.prev < entry.finallyLoc) {
6404
+ return handle(entry.finallyLoc);
6405
+ }
6406
+
6086
6407
  } else {
6087
- if (!hasFinally) throw new Error("try statement without catch or finally");
6088
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
6408
+ throw new Error("try statement without catch or finally");
6089
6409
  }
6090
6410
  }
6091
6411
  }
6092
6412
  },
6093
- abrupt: function abrupt(type, arg) {
6413
+
6414
+ abrupt: function(type, arg) {
6094
6415
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
6095
6416
  var entry = this.tryEntries[i];
6096
-
6097
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
6417
+ if (entry.tryLoc <= this.prev &&
6418
+ hasOwn.call(entry, "finallyLoc") &&
6419
+ this.prev < entry.finallyLoc) {
6098
6420
  var finallyEntry = entry;
6099
6421
  break;
6100
6422
  }
6101
6423
  }
6102
6424
 
6103
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
6425
+ if (finallyEntry &&
6426
+ (type === "break" ||
6427
+ type === "continue") &&
6428
+ finallyEntry.tryLoc <= arg &&
6429
+ arg <= finallyEntry.finallyLoc) {
6430
+ // Ignore the finally entry if control is not jumping to a
6431
+ // location outside the try/catch block.
6432
+ finallyEntry = null;
6433
+ }
6434
+
6104
6435
  var record = finallyEntry ? finallyEntry.completion : {};
6105
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
6436
+ record.type = type;
6437
+ record.arg = arg;
6438
+
6439
+ if (finallyEntry) {
6440
+ this.method = "next";
6441
+ this.next = finallyEntry.finallyLoc;
6442
+ return ContinueSentinel;
6443
+ }
6444
+
6445
+ return this.complete(record);
6106
6446
  },
6107
- complete: function complete(record, afterLoc) {
6108
- if ("throw" === record.type) throw record.arg;
6109
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
6447
+
6448
+ complete: function(record, afterLoc) {
6449
+ if (record.type === "throw") {
6450
+ throw record.arg;
6451
+ }
6452
+
6453
+ if (record.type === "break" ||
6454
+ record.type === "continue") {
6455
+ this.next = record.arg;
6456
+ } else if (record.type === "return") {
6457
+ this.rval = this.arg = record.arg;
6458
+ this.method = "return";
6459
+ this.next = "end";
6460
+ } else if (record.type === "normal" && afterLoc) {
6461
+ this.next = afterLoc;
6462
+ }
6463
+
6464
+ return ContinueSentinel;
6110
6465
  },
6111
- finish: function finish(finallyLoc) {
6466
+
6467
+ finish: function(finallyLoc) {
6112
6468
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
6113
6469
  var entry = this.tryEntries[i];
6114
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
6470
+ if (entry.finallyLoc === finallyLoc) {
6471
+ this.complete(entry.completion, entry.afterLoc);
6472
+ resetTryEntry(entry);
6473
+ return ContinueSentinel;
6474
+ }
6115
6475
  }
6116
6476
  },
6117
- "catch": function _catch(tryLoc) {
6477
+
6478
+ "catch": function(tryLoc) {
6118
6479
  for (var i = this.tryEntries.length - 1; i >= 0; --i) {
6119
6480
  var entry = this.tryEntries[i];
6120
-
6121
6481
  if (entry.tryLoc === tryLoc) {
6122
6482
  var record = entry.completion;
6123
-
6124
- if ("throw" === record.type) {
6483
+ if (record.type === "throw") {
6125
6484
  var thrown = record.arg;
6126
6485
  resetTryEntry(entry);
6127
6486
  }
6128
-
6129
6487
  return thrown;
6130
6488
  }
6131
6489
  }
6132
6490
 
6491
+ // The context.catch method must only be called with a location
6492
+ // argument that corresponds to a known catch block.
6133
6493
  throw new Error("illegal catch attempt");
6134
6494
  },
6135
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
6136
- return this.delegate = {
6495
+
6496
+ delegateYield: function(iterable, resultName, nextLoc) {
6497
+ this.delegate = {
6137
6498
  iterator: values(iterable),
6138
6499
  resultName: resultName,
6139
6500
  nextLoc: nextLoc
6140
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
6141
- }
6142
- }, exports;
6143
- }
6501
+ };
6502
+
6503
+ if (this.method === "next") {
6504
+ // Deliberately forget the last sent value so that we don't
6505
+ // accidentally pass it on to the delegate.
6506
+ this.arg = undefined$1;
6507
+ }
6144
6508
 
6145
- module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
6146
- }(regeneratorRuntime$1));
6509
+ return ContinueSentinel;
6510
+ }
6511
+ };
6147
6512
 
6148
- // TODO(Babel 8): Remove this file.
6513
+ // Regardless of whether this script is executing as a CommonJS module
6514
+ // or not, return the runtime object so that we can declare the variable
6515
+ // regeneratorRuntime in the outer scope, which allows this module to be
6516
+ // injected easily by `bin/regenerator --include-runtime script.js`.
6517
+ return exports;
6149
6518
 
6150
- var runtime = regeneratorRuntime$1.exports();
6151
- var regenerator = runtime;
6519
+ }(
6520
+ // If this script is executing as a CommonJS module, use module.exports
6521
+ // as the regeneratorRuntime namespace. Otherwise create a new empty
6522
+ // object. Either way, the resulting object will be used to initialize
6523
+ // the regeneratorRuntime variable at the top of this file.
6524
+ module.exports
6525
+ ));
6152
6526
 
6153
- // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
6154
6527
  try {
6155
6528
  regeneratorRuntime = runtime;
6156
6529
  } catch (accidentalStrictMode) {
6530
+ // This module should not be running in strict mode, so the above
6531
+ // assignment should always work unless something is misconfigured. Just
6532
+ // in case runtime.js accidentally runs in strict mode, in modern engines
6533
+ // we can explicitly access globalThis. In older engines we can escape
6534
+ // strict mode using a global Function call. This could conceivably fail
6535
+ // if a Content Security Policy forbids using Function, but in that case
6536
+ // the proper solution is to fix the accidental strict mode problem. If
6537
+ // you've misconfigured your bundler to force strict mode and applied a
6538
+ // CSP to forbid Function, and you're not willing to fix either of those
6539
+ // problems, please detail your unique predicament in a GitHub issue.
6157
6540
  if (typeof globalThis === "object") {
6158
6541
  globalThis.regeneratorRuntime = runtime;
6159
6542
  } else {
6160
6543
  Function("r", "regeneratorRuntime = r")(runtime);
6161
6544
  }
6162
6545
  }
6546
+ }(runtime));
6547
+
6548
+ var regenerator = runtime.exports;
6163
6549
 
6164
6550
  var CheckCircleOutlined$5 = {};
6165
6551
 
@@ -6904,7 +7290,7 @@ function registerTheme$1(globalPrefixCls, theme) {
6904
7290
  variables["".concat(type, "-color")] = formatColor(baseColor);
6905
7291
  variables["".concat(type, "-color-disabled")] = colorPalettes[1];
6906
7292
  variables["".concat(type, "-color-hover")] = colorPalettes[4];
6907
- variables["".concat(type, "-color-active")] = colorPalettes[7];
7293
+ variables["".concat(type, "-color-active")] = colorPalettes[6];
6908
7294
  variables["".concat(type, "-color-outline")] = baseColor.clone().setAlpha(0.2).toRgbString();
6909
7295
  variables["".concat(type, "-color-deprecated-bg")] = colorPalettes[1];
6910
7296
  variables["".concat(type, "-color-deprecated-border")] = colorPalettes[3];
@@ -8257,7 +8643,7 @@ const __default__$6 = {
8257
8643
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
8258
8644
  ...__default__$6,
8259
8645
  setup(__props) {
8260
- const container = ref$1();
8646
+ const container = ref();
8261
8647
  let lf;
8262
8648
  function init() {
8263
8649
  lf = new LogicFlow({
@@ -8349,7 +8735,7 @@ function _objectSpread2$v(target) {
8349
8735
  }
8350
8736
 
8351
8737
  function _extends$1() {
8352
- _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
8738
+ _extends$1 = Object.assign || function (target) {
8353
8739
  for (var i = 1; i < arguments.length; i++) {
8354
8740
  var source = arguments[i];
8355
8741
 
@@ -8362,6 +8748,7 @@ function _extends$1() {
8362
8748
 
8363
8749
  return target;
8364
8750
  };
8751
+
8365
8752
  return _extends$1.apply(this, arguments);
8366
8753
  }
8367
8754
 
@@ -9506,8 +9893,8 @@ function filterEmpty() {
9506
9893
  children.forEach(function (child) {
9507
9894
  if (Array.isArray(child)) {
9508
9895
  res.push.apply(res, _toConsumableArray$1(child));
9509
- } else if (child.type === Fragment) {
9510
- res.push.apply(res, _toConsumableArray$1(child.children));
9896
+ } else if ((child === null || child === void 0 ? void 0 : child.type) === Fragment) {
9897
+ res.push.apply(res, _toConsumableArray$1(filterEmpty(child.children)));
9511
9898
  } else {
9512
9899
  res.push(child);
9513
9900
  }
@@ -10161,7 +10548,7 @@ var LocaleProvider = defineComponent({
10161
10548
  ANT_MARK__: ANT_MARK
10162
10549
  });
10163
10550
  provide('localeData', state);
10164
- watch$1(function () {
10551
+ watch(function () {
10165
10552
  return props.locale;
10166
10553
  }, function () {
10167
10554
  state.antLocale = _extends$1(_extends$1({}, props.locale), {
@@ -10287,7 +10674,7 @@ var Notice = defineComponent({
10287
10674
  onUnmounted(function () {
10288
10675
  clearCloseTimer();
10289
10676
  });
10290
- watch$1([duration, function () {
10677
+ watch([duration, function () {
10291
10678
  return props.updateMark;
10292
10679
  }, function () {
10293
10680
  return props.visible;
@@ -10389,7 +10776,7 @@ var Notification = defineComponent({
10389
10776
  expose = _ref.expose,
10390
10777
  slots = _ref.slots;
10391
10778
  var hookRefs = new Map();
10392
- var notices = ref$1([]);
10779
+ var notices = ref([]);
10393
10780
  var transitionProps = computed(function () {
10394
10781
  var prefixCls = props.prefixCls,
10395
10782
  _props$animation = props.animation,
@@ -10569,7 +10956,7 @@ Notification.newInstance = function newNotificationInstance(properties, callback
10569
10956
  name: 'NotificationWrapper',
10570
10957
  setup: function setup(_props, _ref4) {
10571
10958
  var attrs = _ref4.attrs;
10572
- var notiRef = ref$1();
10959
+ var notiRef = ref();
10573
10960
  onMounted(function () {
10574
10961
  callback({
10575
10962
  notice: function notice(noticeProps) {
@@ -11721,7 +12108,7 @@ function registerTheme(globalPrefixCls, theme) {
11721
12108
  variables["".concat(type, "-color")] = formatColor(baseColor);
11722
12109
  variables["".concat(type, "-color-disabled")] = colorPalettes[1];
11723
12110
  variables["".concat(type, "-color-hover")] = colorPalettes[4];
11724
- variables["".concat(type, "-color-active")] = colorPalettes[7];
12111
+ variables["".concat(type, "-color-active")] = colorPalettes[6];
11725
12112
  variables["".concat(type, "-color-outline")] = baseColor.clone().setAlpha(0.2).toRgbString();
11726
12113
  variables["".concat(type, "-color-deprecated-bg")] = colorPalettes[1];
11727
12114
  variables["".concat(type, "-color-deprecated-border")] = colorPalettes[3];
@@ -11973,7 +12360,7 @@ var ConfigProvider = defineComponent({
11973
12360
  renderEmpty: renderEmptyComponent
11974
12361
  }));
11975
12362
  Object.keys(props).forEach(function (key) {
11976
- watch$1(function () {
12363
+ watch(function () {
11977
12364
  return props[key];
11978
12365
  }, function () {
11979
12366
  configProvider[key] = props[key];
@@ -11983,7 +12370,7 @@ var ConfigProvider = defineComponent({
11983
12370
  if (!props.notUpdateGlobalConfig) {
11984
12371
  _extends$1(globalConfigByCom, configProvider);
11985
12372
 
11986
- watch$1(configProvider, function () {
12373
+ watch(configProvider, function () {
11987
12374
  _extends$1(globalConfigByCom, configProvider);
11988
12375
  });
11989
12376
  }
@@ -12376,8 +12763,8 @@ function getClientPosition(elem) {
12376
12763
  // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
12377
12764
  // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin
12378
12765
 
12379
- x = Math.floor(box.left);
12380
- y = Math.floor(box.top); // In IE, most of the time, 2 extra pixels are added to the top and left
12766
+ x = box.left;
12767
+ y = box.top; // In IE, most of the time, 2 extra pixels are added to the top and left
12381
12768
  // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and
12382
12769
  // IE6 standards mode, this border can be overridden by setting the
12383
12770
  // document element's border to zero -- thus, we cannot rely on the
@@ -12784,7 +13171,7 @@ function getWH(elem, name, ex) {
12784
13171
  }
12785
13172
 
12786
13173
  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
12787
- var borderBoxValue = name === 'width' ? Math.floor(elem.getBoundingClientRect().width) : Math.floor(elem.getBoundingClientRect().height);
13174
+ var borderBoxValue = name === 'width' ? elem.getBoundingClientRect().width : elem.getBoundingClientRect().height;
12788
13175
  var isBorderBox = isBorderBoxFn(elem);
12789
13176
  var cssBoxValue = 0;
12790
13177
 
@@ -13564,7 +13951,7 @@ var Portal$2 = defineComponent({
13564
13951
  container = props.getContainer();
13565
13952
  }
13566
13953
  });
13567
- var stopWatch = watch$1(shouldRender, function () {
13954
+ var stopWatch = watch(shouldRender, function () {
13568
13955
  if (shouldRender.value && !container) {
13569
13956
  container = props.getContainer();
13570
13957
  }
@@ -14792,11 +15179,11 @@ var Button = defineComponent({
14792
15179
  direction = _useConfigInject.direction,
14793
15180
  size = _useConfigInject.size;
14794
15181
 
14795
- var buttonNodeRef = ref$1(null);
14796
- var delayTimeoutRef = ref$1(undefined);
15182
+ var buttonNodeRef = ref(null);
15183
+ var delayTimeoutRef = ref(undefined);
14797
15184
  var isNeedInserted = false;
14798
- var innerLoading = ref$1(false);
14799
- var hasTwoCNChar = ref$1(false);
15185
+ var innerLoading = ref(false);
15186
+ var hasTwoCNChar = ref(false);
14800
15187
  var autoInsertSpace = computed(function () {
14801
15188
  return autoInsertSpaceInButton.value !== false;
14802
15189
  }); // =============== Update Loading ===============
@@ -14804,7 +15191,7 @@ var Button = defineComponent({
14804
15191
  var loadingOrDelay = computed(function () {
14805
15192
  return _typeof$9(props.loading) === 'object' && props.loading.delay ? props.loading.delay || true : !!props.loading;
14806
15193
  });
14807
- watch$1(loadingOrDelay, function (val) {
15194
+ watch(loadingOrDelay, function (val) {
14808
15195
  clearTimeout(delayTimeoutRef.value);
14809
15196
 
14810
15197
  if (typeof loadingOrDelay.value === 'number') {
@@ -15074,37 +15461,17 @@ RightOutlined.inheritAttrs = false;
15074
15461
  var RightOutlined$1 = RightOutlined;
15075
15462
 
15076
15463
  // This icon file is generated automatically.
15077
- var DeleteOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
15078
- var DeleteOutlinedSvg = DeleteOutlined$2;
15464
+ var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
15465
+ var PlusOutlinedSvg = PlusOutlined$2;
15079
15466
 
15080
15467
  function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } return target; }
15081
15468
 
15082
15469
  function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15083
15470
 
15084
- var DeleteOutlined = function DeleteOutlined(props, context) {
15471
+ var PlusOutlined = function PlusOutlined(props, context) {
15085
15472
  var p = _objectSpread$3({}, props, context.attrs);
15086
15473
 
15087
15474
  return createVNode(AntdIcon, _objectSpread$3({}, p, {
15088
- "icon": DeleteOutlinedSvg
15089
- }), null);
15090
- };
15091
-
15092
- DeleteOutlined.displayName = 'DeleteOutlined';
15093
- DeleteOutlined.inheritAttrs = false;
15094
- var DeleteOutlined$1 = DeleteOutlined;
15095
-
15096
- // This icon file is generated automatically.
15097
- var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
15098
- var PlusOutlinedSvg = PlusOutlined$2;
15099
-
15100
- function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
15101
-
15102
- function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15103
-
15104
- var PlusOutlined = function PlusOutlined(props, context) {
15105
- var p = _objectSpread$2({}, props, context.attrs);
15106
-
15107
- return createVNode(AntdIcon, _objectSpread$2({}, p, {
15108
15475
  "icon": PlusOutlinedSvg
15109
15476
  }), null);
15110
15477
  };
@@ -15113,46 +15480,6 @@ PlusOutlined.displayName = 'PlusOutlined';
15113
15480
  PlusOutlined.inheritAttrs = false;
15114
15481
  var PlusOutlined$1 = PlusOutlined;
15115
15482
 
15116
- // This icon file is generated automatically.
15117
- var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
15118
- var UpOutlinedSvg = UpOutlined$2;
15119
-
15120
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
15121
-
15122
- function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15123
-
15124
- var UpOutlined = function UpOutlined(props, context) {
15125
- var p = _objectSpread$1({}, props, context.attrs);
15126
-
15127
- return createVNode(AntdIcon, _objectSpread$1({}, p, {
15128
- "icon": UpOutlinedSvg
15129
- }), null);
15130
- };
15131
-
15132
- UpOutlined.displayName = 'UpOutlined';
15133
- UpOutlined.inheritAttrs = false;
15134
- var UpOutlined$1 = UpOutlined;
15135
-
15136
- // This icon file is generated automatically.
15137
- var UploadOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
15138
- var UploadOutlinedSvg = UploadOutlined$2;
15139
-
15140
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
15141
-
15142
- function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15143
-
15144
- var UploadOutlined = function UploadOutlined(props, context) {
15145
- var p = _objectSpread({}, props, context.attrs);
15146
-
15147
- return createVNode(AntdIcon, _objectSpread({}, p, {
15148
- "icon": UploadOutlinedSvg
15149
- }), null);
15150
- };
15151
-
15152
- UploadOutlined.displayName = 'UploadOutlined';
15153
- UploadOutlined.inheritAttrs = false;
15154
- var UploadOutlined$1 = UploadOutlined;
15155
-
15156
15483
  var canUseDocElement$1 = function canUseDocElement() {
15157
15484
  return canUseDom() && window.document.documentElement;
15158
15485
  };
@@ -15435,9 +15762,9 @@ var Portal$1 = defineComponent({
15435
15762
  },
15436
15763
  setup: function setup(props, _ref) {
15437
15764
  var slots = _ref.slots;
15438
- var container = ref$1();
15439
- var componentRef = ref$1();
15440
- var rafId = ref$1();
15765
+ var container = ref();
15766
+ var componentRef = ref();
15767
+ var rafId = ref();
15441
15768
  var scrollLocker = new ScrollLocker$1({
15442
15769
  container: getParent$1(props.getContainer)
15443
15770
  });
@@ -15522,7 +15849,7 @@ var Portal$1 = defineComponent({
15522
15849
  var instance = getCurrentInstance();
15523
15850
  onMounted(function () {
15524
15851
  var init = false;
15525
- watch$1([function () {
15852
+ watch([function () {
15526
15853
  return props.visible;
15527
15854
  }, function () {
15528
15855
  return props.getContainer;
@@ -15763,9 +16090,9 @@ var Content$2 = defineComponent({
15763
16090
  var expose = _ref.expose,
15764
16091
  slots = _ref.slots,
15765
16092
  attrs = _ref.attrs;
15766
- var sentinelStartRef = ref$1();
15767
- var sentinelEndRef = ref$1();
15768
- var dialogRef = ref$1();
16093
+ var sentinelStartRef = ref();
16094
+ var sentinelEndRef = ref();
16095
+ var dialogRef = ref();
15769
16096
  expose({
15770
16097
  focus: function focus() {
15771
16098
  var _a;
@@ -15783,7 +16110,7 @@ var Content$2 = defineComponent({
15783
16110
  }
15784
16111
  }
15785
16112
  });
15786
- var transformOrigin = ref$1();
16113
+ var transformOrigin = ref();
15787
16114
  var contentStyleRef = computed(function () {
15788
16115
  var width = props.width,
15789
16116
  height = props.height;
@@ -15970,11 +16297,11 @@ var Dialog$1 = defineComponent({
15970
16297
  setup: function setup(props, _ref) {
15971
16298
  var attrs = _ref.attrs,
15972
16299
  slots = _ref.slots;
15973
- var lastOutSideActiveElementRef = ref$1();
15974
- var wrapperRef = ref$1();
15975
- var contentRef = ref$1();
15976
- var animatedVisible = ref$1(props.visible);
15977
- var ariaIdRef = ref$1("vcDialogTitle".concat(getUUID$1())); // ========================= Events =========================
16300
+ var lastOutSideActiveElementRef = ref();
16301
+ var wrapperRef = ref();
16302
+ var contentRef = ref();
16303
+ var animatedVisible = ref(props.visible);
16304
+ var ariaIdRef = ref("vcDialogTitle".concat(getUUID$1())); // ========================= Events =========================
15978
16305
 
15979
16306
  var onDialogVisibleChanged = function onDialogVisibleChanged(newVisible) {
15980
16307
  var _a, _b;
@@ -16015,8 +16342,8 @@ var Dialog$1 = defineComponent({
16015
16342
  }; // >>> Content
16016
16343
 
16017
16344
 
16018
- var contentClickRef = ref$1(false);
16019
- var contentTimeoutRef = ref$1(); // We need record content click incase content popup out of dialog
16345
+ var contentClickRef = ref(false);
16346
+ var contentTimeoutRef = ref(); // We need record content click incase content popup out of dialog
16020
16347
 
16021
16348
  var onContentMouseDown = function onContentMouseDown() {
16022
16349
  clearTimeout(contentTimeoutRef.value);
@@ -16054,7 +16381,7 @@ var Dialog$1 = defineComponent({
16054
16381
  }
16055
16382
  };
16056
16383
 
16057
- watch$1(function () {
16384
+ watch(function () {
16058
16385
  return props.visible;
16059
16386
  }, function () {
16060
16387
  if (props.visible) {
@@ -16151,11 +16478,11 @@ var DialogWrap$2 = defineComponent({
16151
16478
  setup: function setup(props, _ref) {
16152
16479
  var attrs = _ref.attrs,
16153
16480
  slots = _ref.slots;
16154
- var animatedVisible = ref$1(props.visible);
16481
+ var animatedVisible = ref(props.visible);
16155
16482
  useProvidePortal$1({}, {
16156
16483
  inTriggerContext: false
16157
16484
  });
16158
- watch$1(function () {
16485
+ watch(function () {
16159
16486
  return props.visible;
16160
16487
  }, function () {
16161
16488
  if (props.visible) {
@@ -16211,6 +16538,26 @@ var DialogWrap$2 = defineComponent({
16211
16538
  });
16212
16539
  var DialogWrap$3 = DialogWrap$2;
16213
16540
 
16541
+ // This icon file is generated automatically.
16542
+ var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
16543
+ var UpOutlinedSvg = UpOutlined$2;
16544
+
16545
+ function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
16546
+
16547
+ function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16548
+
16549
+ var UpOutlined = function UpOutlined(props, context) {
16550
+ var p = _objectSpread$2({}, props, context.attrs);
16551
+
16552
+ return createVNode(AntdIcon, _objectSpread$2({}, p, {
16553
+ "icon": UpOutlinedSvg
16554
+ }), null);
16555
+ };
16556
+
16557
+ UpOutlined.displayName = 'UpOutlined';
16558
+ UpOutlined.inheritAttrs = false;
16559
+ var UpOutlined$1 = UpOutlined;
16560
+
16214
16561
  var __rest$e = undefined && undefined.__rest || function (s, e) {
16215
16562
  var t = {};
16216
16563
 
@@ -16425,7 +16772,7 @@ var Modal$1 = defineComponent({
16425
16772
  });
16426
16773
 
16427
16774
  var useDestroyed$2 = function useDestroyed() {
16428
- var destroyed = ref$1(false);
16775
+ var destroyed = ref(false);
16429
16776
  onBeforeUnmount(function () {
16430
16777
  destroyed.value = true;
16431
16778
  });
@@ -16456,9 +16803,9 @@ var ActionButton$1 = defineComponent({
16456
16803
  props: actionButtonProps$1,
16457
16804
  setup: function setup(props, _ref) {
16458
16805
  var slots = _ref.slots;
16459
- var clickedRef = ref$1(false);
16460
- var buttonRef = ref$1();
16461
- var loading = ref$1(false);
16806
+ var clickedRef = ref(false);
16807
+ var buttonRef = ref();
16808
+ var loading = ref(false);
16462
16809
  var timeoutId;
16463
16810
  var isDestroyed = useDestroyed$3();
16464
16811
  onMounted(function () {
@@ -16890,6 +17237,46 @@ Modal$1.install = function (app) {
16890
17237
  return app;
16891
17238
  };
16892
17239
 
17240
+ // This icon file is generated automatically.
17241
+ var DeleteOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
17242
+ var DeleteOutlinedSvg = DeleteOutlined$2;
17243
+
17244
+ function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
17245
+
17246
+ function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17247
+
17248
+ var DeleteOutlined = function DeleteOutlined(props, context) {
17249
+ var p = _objectSpread$1({}, props, context.attrs);
17250
+
17251
+ return createVNode(AntdIcon, _objectSpread$1({}, p, {
17252
+ "icon": DeleteOutlinedSvg
17253
+ }), null);
17254
+ };
17255
+
17256
+ DeleteOutlined.displayName = 'DeleteOutlined';
17257
+ DeleteOutlined.inheritAttrs = false;
17258
+ var DeleteOutlined$1 = DeleteOutlined;
17259
+
17260
+ // This icon file is generated automatically.
17261
+ var UploadOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
17262
+ var UploadOutlinedSvg = UploadOutlined$2;
17263
+
17264
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
17265
+
17266
+ function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17267
+
17268
+ var UploadOutlined = function UploadOutlined(props, context) {
17269
+ var p = _objectSpread({}, props, context.attrs);
17270
+
17271
+ return createVNode(AntdIcon, _objectSpread({}, p, {
17272
+ "icon": UploadOutlinedSvg
17273
+ }), null);
17274
+ };
17275
+
17276
+ UploadOutlined.displayName = 'UploadOutlined';
17277
+ UploadOutlined.inheritAttrs = false;
17278
+ var UploadOutlined$1 = UploadOutlined;
17279
+
16893
17280
  var alert = {};
16894
17281
 
16895
17282
  var vnode = {};
@@ -22478,12 +22865,12 @@ function $FormCreate(FormCreate) {
22478
22865
  onUpdated(function () {
22479
22866
  fc.updated();
22480
22867
  });
22481
- watch$1(subForm, function (n) {
22868
+ watch(subForm, function (n) {
22482
22869
  n ? addSubForm() : rmSubForm();
22483
22870
  }, {
22484
22871
  immediate: true
22485
22872
  });
22486
- watch$1(function () {
22873
+ watch(function () {
22487
22874
  return _toConsumableArray(rule.value);
22488
22875
  }, function (n) {
22489
22876
  if (fc.$handle.isBreakWatch() || n.length === data.renderRule.length && n.every(function (v) {
@@ -22492,11 +22879,11 @@ function $FormCreate(FormCreate) {
22492
22879
  fc.$handle.reloadRule(rule.value);
22493
22880
  vm.setupState.renderRule();
22494
22881
  });
22495
- watch$1(props.option, function (n) {
22882
+ watch(props.option, function (n) {
22496
22883
  fc.initOptions(n);
22497
22884
  fapi.refresh();
22498
22885
  });
22499
- watch$1(modelValue, function (n) {
22886
+ watch(modelValue, function (n) {
22500
22887
  if (JSON.stringify(n || {}) === data.updateValue) return;
22501
22888
  fapi.setValue(n || {});
22502
22889
  }, {
@@ -24976,7 +25363,7 @@ function useContext(Handler) {
24976
25363
  var ref = toRef(ctx.rule, key);
24977
25364
  var flag = key === 'children';
24978
25365
  ctx.refRule[key] = ref;
24979
- ctx.watch.push(watch$1(flag ? function () {
25366
+ ctx.watch.push(watch(flag ? function () {
24980
25367
  return is.Function(ref.value) ? ref.value : _toConsumableArray(ref.value || []);
24981
25368
  } : function () {
24982
25369
  return ref.value;
@@ -25030,7 +25417,7 @@ function useContext(Handler) {
25030
25417
 
25031
25418
  if (ctx.input) {
25032
25419
  var val = toRef(ctx.rule, 'value');
25033
- ctx.watch.push(watch$1(function () {
25420
+ ctx.watch.push(watch(function () {
25034
25421
  return val.value;
25035
25422
  }, function () {
25036
25423
  var formValue = ctx.parser.toFormValue(val.value, ctx);
@@ -25042,7 +25429,7 @@ function useContext(Handler) {
25042
25429
  }));
25043
25430
  this.bus.$once('load-end', function () {
25044
25431
  var computedRef = toRef(ctx.rule, 'computed');
25045
- ctx.watch.push(watch$1(function () {
25432
+ ctx.watch.push(watch(function () {
25046
25433
  var computed = computedRef.value;
25047
25434
  if (!computed) return undefined;
25048
25435
  var fn;
@@ -25220,7 +25607,7 @@ function useEffect(Handler) {
25220
25607
  }
25221
25608
  });
25222
25609
  Object.keys(effect).forEach(function (k) {
25223
- ctx.watch.push(watch$1(effect[k], function (n) {
25610
+ ctx.watch.push(watch(effect[k], function (n) {
25224
25611
  _this3.effect(ctx, 'watch', _defineProperty({}, k, n));
25225
25612
  }, {
25226
25613
  deep: true
@@ -25929,13 +26316,13 @@ function FormCreateFactory(config) {
25929
26316
  CreateNode: CreateNode,
25930
26317
  bus: new Mitt(),
25931
26318
  unwatch: null,
25932
- options: ref$1(vm.props.option || {}),
26319
+ options: ref(vm.props.option || {}),
25933
26320
  extendApi: config.extendApi || function (api) {
25934
26321
  return api;
25935
26322
  }
25936
26323
  });
25937
26324
  nextTick(function () {
25938
- watch$1(_this.options, function () {
26325
+ watch(_this.options, function () {
25939
26326
  _this.$handle.$manager.updateOptions(_this.options.value);
25940
26327
 
25941
26328
  _this.api().refresh();
@@ -25962,7 +26349,7 @@ function FormCreateFactory(config) {
25962
26349
  var _this2 = this;
25963
26350
 
25964
26351
  if (this.isSub()) {
25965
- this.unwatch = watch$1(function () {
26352
+ this.unwatch = watch(function () {
25966
26353
  return _this2.vm.parent.option;
25967
26354
  }, function () {
25968
26355
  _this2.initOptions(_this2.options.value);
@@ -27025,6 +27412,18 @@ const searchResetBtnProps = {
27025
27412
  type: Boolean,
27026
27413
  default: false,
27027
27414
  },
27415
+ expandPlacement: {
27416
+ type: String,
27417
+ default: 'left',
27418
+ },
27419
+ expandText: {
27420
+ type: String,
27421
+ default: '展开',
27422
+ },
27423
+ collapseText: {
27424
+ type: String,
27425
+ default: '收起',
27426
+ },
27028
27427
  };
27029
27428
  const searchFilterProps = Object.assign({ userRule: {
27030
27429
  type: Array,
@@ -27061,9 +27460,6 @@ const searchFilterProps = Object.assign({ userRule: {
27061
27460
  default() {
27062
27461
  return [];
27063
27462
  },
27064
- }, expandPlacement: {
27065
- type: String,
27066
- default: 'left',
27067
27463
  } }, searchResetBtnProps);
27068
27464
 
27069
27465
  const _hoisted_1$a = { class: "bm-search-filter-btn" };
@@ -27071,11 +27467,12 @@ const _hoisted_2$8 = { class: "bm-search-filter-actions" };
27071
27467
  const _hoisted_3$7 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
27072
27468
  const _hoisted_4$7 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
27073
27469
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
27470
+ name: "search-reset-btn",
27074
27471
  props: searchResetBtnProps,
27075
27472
  emits: ["submit", "reset", "expand"],
27076
27473
  setup(__props, { emit: emits }) {
27077
27474
  const props = __props;
27078
- const isExpand = ref$1(false);
27475
+ const isExpand = ref(false);
27079
27476
  function handleExpandBtnChange() {
27080
27477
  isExpand.value = !isExpand.value;
27081
27478
  emits("expand", isExpand.value);
@@ -27094,7 +27491,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
27094
27491
  class: "bm-search-filter-expand",
27095
27492
  onClick: handleExpandBtnChange
27096
27493
  }, [
27097
- createTextVNode(toDisplayString(isExpand.value ? "\u6536\u8D77" : "\u5C55\u5F00"), 1),
27494
+ createTextVNode(toDisplayString(isExpand.value ? props.collapseText : props.expandText), 1),
27098
27495
  isExpand.value ? (openBlock(), createBlock(unref(UpOutlined$1), { key: 0 })) : (openBlock(), createBlock(unref(DownOutlined$1), { key: 1 }))
27099
27496
  ])) : createCommentVNode("v-if", true),
27100
27497
  createElementVNode("span", _hoisted_2$8, [
@@ -27205,7 +27602,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
27205
27602
  emits: ["update:modelValue", "change"],
27206
27603
  setup(__props, { emit: emits }) {
27207
27604
  const props = __props;
27208
- const path = ref$1([]);
27605
+ const path = ref([]);
27209
27606
  const optionsMap = computed(() => {
27210
27607
  let res = {};
27211
27608
  const getValue = (list) => {
@@ -27645,7 +28042,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
27645
28042
  const props = __props;
27646
28043
  FormCreate.component("SearchResetBtn", SearchResetBtn);
27647
28044
  FormCreate.component("BmMultiCascaderCompose", BmMultiCascaderCompose);
27648
- const isExpand = ref$1(false);
28045
+ const isExpand = ref(false);
27649
28046
  const searchResetBtnRule = reactive([
27650
28047
  {
27651
28048
  type: "SearchResetBtn",
@@ -27668,7 +28065,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
27668
28065
  }
27669
28066
  }
27670
28067
  ]);
27671
- const fApi = ref$1({});
28068
+ const fApi = ref({});
27672
28069
  const option = reactive({
27673
28070
  col: {
27674
28071
  span: 8
@@ -27717,7 +28114,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
27717
28114
  onBeforeUnmount(() => {
27718
28115
  window.removeEventListener("resize", handleResize);
27719
28116
  });
27720
- watch$1(() => props.showExpandBtn, (val) => {
28117
+ watch(() => props.showExpandBtn, (val) => {
27721
28118
  handleShowExpandBtn(val);
27722
28119
  }, {
27723
28120
  immediate: true
@@ -27740,7 +28137,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
27740
28137
  });
27741
28138
  }
27742
28139
  }
27743
- watch$1(isExpand, (val) => {
28140
+ watch(isExpand, (val) => {
27744
28141
  setTimeout(() => {
27745
28142
  handleChangeExpand(val);
27746
28143
  }, 0);
@@ -27760,7 +28157,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
27760
28157
  "onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
27761
28158
  "model-value": props.value,
27762
28159
  rule: unref(rule),
27763
- option: unref(option),
28160
+ option,
27764
28161
  onChange: handleChange
27765
28162
  }, null, 8, ["api", "model-value", "rule", "option"])
27766
28163
  ], 2);
@@ -28780,8 +29177,8 @@ var _default$x = (0, _vue$K.defineComponent)({
28780
29177
 
28781
29178
  return (0, _vue$K.createVNode)("span", {
28782
29179
  "class": cls.value,
28783
- "onMouseenter": props.onMouseEnter,
28784
- "onMouseleave": props.onMouseLeave,
29180
+ "onMouseenter": props.onMouseenter,
29181
+ "onMouseleave": props.onMouseleave,
28785
29182
  "onFocus": props.onFocus,
28786
29183
  "onBlur": props.onBlur
28787
29184
  }, [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]);
@@ -36502,7 +36899,7 @@ const _sfc_main$a = defineComponent({
36502
36899
  }).finally(() => {
36503
36900
  methods.fetchData();
36504
36901
  });
36505
- watch$1(() => state.shopCheck, () => {
36902
+ watch(() => state.shopCheck, () => {
36506
36903
  let list = [];
36507
36904
  for (let [key, value] of Object.entries(state.shopCheck)) {
36508
36905
  value && list.push(key);
@@ -39238,7 +39635,7 @@ function useScrollTo(containerRef, mergedData, heights, props, getKey, collectHe
39238
39635
  });
39239
39636
  };
39240
39637
 
39241
- syncScroll(3);
39638
+ syncScroll(5);
39242
39639
  }
39243
39640
  };
39244
39641
  }
@@ -43848,7 +44245,7 @@ const _sfc_main$9 = defineComponent({
43848
44245
  return data ? data.title : "\u672A\u77E5";
43849
44246
  }
43850
44247
  };
43851
- watch$1(() => state.listChecked, () => {
44248
+ watch(() => state.listChecked, () => {
43852
44249
  let list = [];
43853
44250
  for (let [key, value] of Object.entries(state.listChecked)) {
43854
44251
  value && list.push(key);
@@ -43860,7 +44257,7 @@ const _sfc_main$9 = defineComponent({
43860
44257
  methods.setState();
43861
44258
  emit("update:selected", list);
43862
44259
  }, { deep: true });
43863
- watch$1(() => state.departmentChecked, () => {
44260
+ watch(() => state.departmentChecked, () => {
43864
44261
  let flatMap = props.dataMap;
43865
44262
  let curlistKeys = props.curlistKeys;
43866
44263
  let hadselected = new Set(props.selected);
@@ -43878,7 +44275,7 @@ const _sfc_main$9 = defineComponent({
43878
44275
  }
43879
44276
  emit("update:selected", Array.from(hadselected));
43880
44277
  }, { deep: true });
43881
- watch$1(() => props.list, () => {
44278
+ watch(() => props.list, () => {
43882
44279
  !props.isTree && methods.setState();
43883
44280
  });
43884
44281
  onMounted(() => {
@@ -44479,7 +44876,7 @@ const _sfc_main$8 = defineComponent({
44479
44876
  },
44480
44877
  emits: ["fetchList", "update:selected"],
44481
44878
  setup(_, { emit }) {
44482
- const searchVal = ref$1("");
44879
+ const searchVal = ref("");
44483
44880
  const emptyPic = default_1$3.PRESENTED_IMAGE_SIMPLE;
44484
44881
  function search() {
44485
44882
  let data = searchVal.value ? { searchVal: searchVal.value } : false;
@@ -44593,12 +44990,12 @@ const _sfc_main$7 = defineComponent({
44593
44990
  emits: ["fetchList", "update:selected"],
44594
44991
  setup(props, { emit }) {
44595
44992
  const emptyPic = default_1$3.PRESENTED_IMAGE_SIMPLE;
44596
- const activeKey = ref$1(0);
44597
- const searchVal = ref$1("");
44598
- const staffsChecked = ref$1({});
44599
- const groupChecked = ref$1({});
44600
- const departmentChecked = ref$1([]);
44601
- const shopChecked = ref$1({});
44993
+ const activeKey = ref(0);
44994
+ const searchVal = ref("");
44995
+ const staffsChecked = ref({});
44996
+ const groupChecked = ref({});
44997
+ const departmentChecked = ref([]);
44998
+ const shopChecked = ref({});
44602
44999
  const inputPlaceHolder = computed(() => {
44603
45000
  if (activeKey.value === 2) {
44604
45001
  return "\u8BF7\u8F93\u5165\u90E8\u95E8\u641C\u7D22";
@@ -44654,7 +45051,7 @@ const _sfc_main$7 = defineComponent({
44654
45051
  return data ? data.title : "\u672A\u77E5";
44655
45052
  }
44656
45053
  };
44657
- watch$1(() => departmentChecked, () => {
45054
+ watch(() => departmentChecked, () => {
44658
45055
  let flatMap = props.dataMap;
44659
45056
  let curlistKeys = props.curlistKeys;
44660
45057
  let hadselected = new Set(props.selected);
@@ -44672,7 +45069,7 @@ const _sfc_main$7 = defineComponent({
44672
45069
  }
44673
45070
  emit("update:selected", Array.from(hadselected));
44674
45071
  }, { deep: true });
44675
- watch$1(() => staffsChecked, () => {
45072
+ watch(() => staffsChecked, () => {
44676
45073
  let set = new Set(props.selected.length ? props.selected : null);
44677
45074
  for (let [key, value] of Object.entries(staffsChecked.value)) {
44678
45075
  if (value) {
@@ -44683,7 +45080,7 @@ const _sfc_main$7 = defineComponent({
44683
45080
  }
44684
45081
  emit("update:selected", Array.from(set));
44685
45082
  }, { deep: true });
44686
- watch$1(() => shopChecked, () => {
45083
+ watch(() => shopChecked, () => {
44687
45084
  let set = new Set(props.selected.length ? props.selected : null);
44688
45085
  for (let [key, value] of Object.entries(shopChecked.value)) {
44689
45086
  if (value) {
@@ -44694,7 +45091,7 @@ const _sfc_main$7 = defineComponent({
44694
45091
  }
44695
45092
  emit("update:selected", Array.from(set));
44696
45093
  }, { deep: true });
44697
- watch$1(() => groupChecked, () => {
45094
+ watch(() => groupChecked, () => {
44698
45095
  let set = new Set(props.selected.length ? props.selected : null);
44699
45096
  for (let [key, value] of Object.entries(groupChecked.value)) {
44700
45097
  if (value) {
@@ -44871,7 +45268,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
44871
45268
  ]);
44872
45269
  }), 128))
44873
45270
  ])) : createCommentVNode("v-if", true)
44874
- ], 2112))
45271
+ ], 64))
44875
45272
  ])
44876
45273
  ]),
44877
45274
  createElementVNode("div", _hoisted_14$1, [
@@ -45011,7 +45408,7 @@ const _sfc_main$6 = defineComponent({
45011
45408
  return 648;
45012
45409
  })
45013
45410
  });
45014
- watch$1(() => props.visible, (val) => {
45411
+ watch(() => props.visible, (val) => {
45015
45412
  if (val && props.immediateFetch) {
45016
45413
  methods.fetch({});
45017
45414
  }
@@ -45116,8 +45513,8 @@ const _sfc_main$5 = {
45116
45513
  "pageSizeChange"
45117
45514
  ],
45118
45515
  setup(props, { emit }) {
45119
- const floatTable = ref$1();
45120
- const xGrid = ref$1();
45516
+ const floatTable = ref();
45517
+ const xGrid = ref();
45121
45518
  onBeforeUnmount(function() {
45122
45519
  inObserverDom && inObserverDom.disconnect();
45123
45520
  scrollNotShowFloatTime && clearTimeout(scrollNotShowFloatTime);
@@ -45135,7 +45532,7 @@ const _sfc_main$5 = {
45135
45532
  showHeaderOverflow: true,
45136
45533
  align: null,
45137
45534
  columns: [],
45138
- tooltipConfig: { leaveDelay: 1e6 },
45535
+ tooltipConfig: { leaveDelay: 10 },
45139
45536
  data: [],
45140
45537
  pagerConfig: {},
45141
45538
  emptyText: "\u6682\u65E0\u6570\u636E",
@@ -45385,7 +45782,7 @@ const _sfc_main$5 = {
45385
45782
  }, {
45386
45783
  threshold: 0.1
45387
45784
  });
45388
- watch$1(() => state.floatHandleDomCol, function(col) {
45785
+ watch(() => state.floatHandleDomCol, function(col) {
45389
45786
  if (col) {
45390
45787
  inObserverDom.observe(col);
45391
45788
  }
@@ -45539,8 +45936,8 @@ const _sfc_main$4 = {
45539
45936
  onBeforeUnmount(function() {
45540
45937
  observer.disconnect();
45541
45938
  });
45542
- let mySelf = ref$1();
45543
- watch$1(() => props.showAlways, function(showAlways) {
45939
+ let mySelf = ref();
45940
+ watch(() => props.showAlways, function(showAlways) {
45544
45941
  if (showAlways)
45545
45942
  state.openShow = showAlways;
45546
45943
  mySelf.value && observer.unobserve(mySelf.value);
@@ -45826,10 +46223,12 @@ const _sfc_main$3 = {
45826
46223
  emit("update", state.uploadedList);
45827
46224
  },
45828
46225
  uploadError(error, file = {}) {
45829
- if (methods.fileIsDelete(file)) {
45830
- return;
46226
+ if (file) {
46227
+ if (methods.fileIsDelete(file)) {
46228
+ return;
46229
+ }
46230
+ state.fileList[file.uid].status = "error";
45831
46231
  }
45832
- state.fileList[file.uid].status = "error";
45833
46232
  emit("error", error);
45834
46233
  },
45835
46234
  async deleteFile(uid) {
@@ -45899,7 +46298,7 @@ const _sfc_main$3 = {
45899
46298
  }
45900
46299
  }
45901
46300
  };
45902
- watch$1(() => props.defaultList, function(list) {
46301
+ watch(() => props.defaultList, function(list) {
45903
46302
  if (list?.length) {
45904
46303
  list.forEach((item) => {
45905
46304
  if (!item.uid) {
@@ -45929,7 +46328,7 @@ const _sfc_main$3 = {
45929
46328
  }, {
45930
46329
  immediate: true
45931
46330
  });
45932
- watch$1([() => props.uploadProps, () => props.extraProps], function([config, extra]) {
46331
+ watch([() => props.uploadProps, () => props.extraProps], function([config, extra]) {
45933
46332
  state.uploadConfigs = {
45934
46333
  ...state.uploadConfigs,
45935
46334
  ...config,
@@ -45952,7 +46351,7 @@ const _sfc_main$3 = {
45952
46351
  watchEffect(() => {
45953
46352
  state.uploadConfigs.disabled = uploadDisabled.value;
45954
46353
  });
45955
- watch$1(() => uploadDisabled.value, (value) => {
46354
+ watch(() => uploadDisabled.value, (value) => {
45956
46355
  emit("updateDisabledStatus", value);
45957
46356
  }, {
45958
46357
  immediate: true
@@ -45967,7 +46366,7 @@ const _sfc_main$3 = {
45967
46366
  });
45968
46367
  return ret;
45969
46368
  });
45970
- watch$1(() => isUploading.value, (value) => {
46369
+ watch(() => isUploading.value, (value) => {
45971
46370
  emit("updateIsUploadingStatus", value);
45972
46371
  }, {
45973
46372
  immediate: true
@@ -46157,7 +46556,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46157
46556
  key: 1,
46158
46557
  file: item
46159
46558
  })
46160
- ], 2112)) : createCommentVNode("v-if", true),
46559
+ ], 64)) : createCommentVNode("v-if", true),
46161
46560
  createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
46162
46561
  item.status === "error" ? (openBlock(), createElementBlock("div", {
46163
46562
  key: 2,
@@ -46203,7 +46602,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46203
46602
  }, 8, ["class", "disabled"]),
46204
46603
  _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
46205
46604
  ])) : createCommentVNode("v-if", true)
46206
- ], 2112))
46605
+ ], 64))
46207
46606
  ]),
46208
46607
  _: 3
46209
46608
  }, 16, ["class"])) : createCommentVNode("v-if", true),
@@ -46372,8 +46771,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
46372
46771
  setup(__props) {
46373
46772
  const props = __props;
46374
46773
  const slots = useSlots();
46375
- const labelWidth = inject("labelWidth", ref$1(""));
46376
- const mode = inject("mode", ref$1("left"));
46774
+ const labelWidth = inject("labelWidth", ref(""));
46775
+ const mode = inject("mode", ref("left"));
46377
46776
  const offsetStyle = computed(() => {
46378
46777
  if (labelWidth.value) {
46379
46778
  if (mode.value !== "right") {