bm-admin-ui 1.0.31-alpha → 1.0.33-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 (102) hide show
  1. package/es/components/feedback/index.js +1 -1
  2. package/es/components/float-table/index.d.ts +2 -2
  3. package/es/components/float-table/src/float-table.vue.d.ts +2 -2
  4. package/es/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
  5. package/es/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
  6. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +249 -0
  7. package/es/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
  8. package/es/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
  9. package/es/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
  10. package/es/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
  11. package/es/components/flow-designer/src/config.d.ts +24 -0
  12. package/es/components/flow-designer/src/flow-designer-test.d.ts +20 -0
  13. package/es/components/flow-designer/src/flow-designer.d.ts +11 -0
  14. package/es/components/flow-designer/src/utils.d.ts +29 -0
  15. package/es/components/index.d.ts +0 -1
  16. package/es/components/index.js +0 -1
  17. package/es/components/input-tags-display/index.d.ts +22 -4
  18. package/es/components/input-tags-display/index.js +26 -22
  19. package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +22 -4
  20. package/es/components/search-filter/index.d.ts +1 -1
  21. package/es/components/search-filter/index.js +28 -603
  22. package/es/components/search-filter/src/search-filter.vue.d.ts +1 -1
  23. package/es/components/shops-filter/index.d.ts +1 -1
  24. package/es/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
  25. package/es/components/staffs-selector/index.js +4 -4
  26. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
  27. package/es/components/upload/index.d.ts +2 -1
  28. package/es/components/upload/index.js +183 -208
  29. package/es/components/upload/src/upload.vue.d.ts +2 -1
  30. package/index.esm.js +344 -900
  31. package/index.js +342 -899
  32. package/lib/components/feedback/index.js +1 -1
  33. package/lib/components/float-table/index.d.ts +2 -2
  34. package/lib/components/float-table/src/float-table.vue.d.ts +2 -2
  35. package/lib/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
  36. package/lib/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
  37. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +249 -0
  38. package/lib/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
  39. package/lib/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
  40. package/lib/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
  41. package/lib/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
  42. package/lib/components/flow-designer/src/config.d.ts +24 -0
  43. package/lib/components/flow-designer/src/flow-designer-test.d.ts +20 -0
  44. package/lib/components/flow-designer/src/flow-designer.d.ts +11 -0
  45. package/lib/components/flow-designer/src/utils.d.ts +29 -0
  46. package/lib/components/index.d.ts +0 -1
  47. package/lib/components/index.js +0 -7
  48. package/lib/components/input-tags-display/index.d.ts +22 -4
  49. package/lib/components/input-tags-display/index.js +25 -21
  50. package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +22 -4
  51. package/lib/components/search-filter/index.d.ts +1 -1
  52. package/lib/components/search-filter/index.js +27 -602
  53. package/lib/components/search-filter/src/search-filter.vue.d.ts +1 -1
  54. package/lib/components/shops-filter/index.d.ts +1 -1
  55. package/lib/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
  56. package/lib/components/staffs-selector/index.js +4 -4
  57. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
  58. package/lib/components/upload/index.d.ts +2 -1
  59. package/lib/components/upload/index.js +182 -207
  60. package/lib/components/upload/src/upload.vue.d.ts +2 -1
  61. package/package.json +1 -1
  62. package/theme-chalk/flow-designer.css +1 -1
  63. package/theme-chalk/index.css +1 -1
  64. package/theme-chalk/upload.css +1 -1
  65. package/types/components/float-table/index.d.ts +2 -2
  66. package/types/components/float-table/src/float-table.vue.d.ts +2 -2
  67. package/types/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
  68. package/types/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
  69. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +249 -0
  70. package/types/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
  71. package/types/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
  72. package/types/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
  73. package/types/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
  74. package/types/components/flow-designer/src/config.d.ts +24 -0
  75. package/types/components/flow-designer/src/flow-designer-test.d.ts +20 -0
  76. package/types/components/flow-designer/src/flow-designer.d.ts +11 -0
  77. package/types/components/flow-designer/src/utils.d.ts +29 -0
  78. package/types/components/index.d.ts +0 -1
  79. package/types/components/input-tags-display/index.d.ts +22 -4
  80. package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +22 -4
  81. package/types/components/search-filter/index.d.ts +1 -1
  82. package/types/components/search-filter/src/search-filter.vue.d.ts +1 -1
  83. package/types/components/shops-filter/index.d.ts +1 -1
  84. package/types/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
  85. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
  86. package/types/components/upload/index.d.ts +2 -1
  87. package/types/components/upload/src/upload.vue.d.ts +2 -1
  88. package/es/components/multi-cascader-compose/index.d.ts +0 -164
  89. package/es/components/multi-cascader-compose/index.js +0 -1710
  90. package/es/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +0 -164
  91. package/es/components/multi-cascader-compose/src/props.d.ts +0 -40
  92. package/es/components/multi-cascader-compose/types.d.ts +0 -10
  93. package/lib/components/multi-cascader-compose/index.d.ts +0 -164
  94. package/lib/components/multi-cascader-compose/index.js +0 -1715
  95. package/lib/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +0 -164
  96. package/lib/components/multi-cascader-compose/src/props.d.ts +0 -40
  97. package/lib/components/multi-cascader-compose/types.d.ts +0 -10
  98. package/theme-chalk/multi-cascader-compose.css +0 -1
  99. package/types/components/multi-cascader-compose/index.d.ts +0 -164
  100. package/types/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +0 -164
  101. package/types/components/multi-cascader-compose/src/props.d.ts +0 -40
  102. package/types/components/multi-cascader-compose/types.d.ts +0 -10
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, 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, normalizeStyle, toDisplayString, createCommentVNode, renderList, withModifiers, normalizeClass, 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, normalizeStyle, toDisplayString, createCommentVNode, normalizeClass, withModifiers, renderList, readonly, toHandlers, normalizeProps, guardReactiveProps } from 'vue';
7
7
 
8
8
  const withInstall$2 = (comp) => {
9
9
  comp.install = function (app) {
@@ -5012,9 +5012,9 @@ var _insertCss = _interopRequireDefault$1o(insertCss$1);
5012
5012
 
5013
5013
  function _interopRequireDefault$1o(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
5014
5014
 
5015
- function _objectSpread$k(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$n(target, key, source[key]); }); } return target; }
5015
+ function _objectSpread$j(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$m(target, key, source[key]); }); } return target; }
5016
5016
 
5017
- function _defineProperty$n(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; }
5017
+ function _defineProperty$m(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; }
5018
5018
 
5019
5019
  function warn$1(valid, message) {
5020
5020
  // Support uglify
@@ -5053,14 +5053,14 @@ function normalizeAttrs() {
5053
5053
 
5054
5054
  function generate$1(node, key, rootProps) {
5055
5055
  if (!rootProps) {
5056
- return (0, _vue$18.h)(node.tag, _objectSpread$k({
5056
+ return (0, _vue$18.h)(node.tag, _objectSpread$j({
5057
5057
  key: key
5058
5058
  }, node.attrs), (node.children || []).map(function (child, index) {
5059
5059
  return generate$1(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
5060
5060
  }));
5061
5061
  }
5062
5062
 
5063
- return (0, _vue$18.h)(node.tag, _objectSpread$k({
5063
+ return (0, _vue$18.h)(node.tag, _objectSpread$j({
5064
5064
  key: key
5065
5065
  }, rootProps, node.attrs), (node.children || []).map(function (child, index) {
5066
5066
  return generate$1(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
@@ -8567,11 +8567,11 @@ var _export_sfc = (sfc, props) => {
8567
8567
  return target;
8568
8568
  };
8569
8569
 
8570
- const __default__$8 = {
8570
+ const __default__$7 = {
8571
8571
  name: "BmButton"
8572
8572
  };
8573
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
8574
- ...__default__$8,
8573
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8574
+ ...__default__$7,
8575
8575
  props: buttonProps$2,
8576
8576
  setup(__props) {
8577
8577
  const props = __props;
@@ -8588,15 +8588,15 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
8588
8588
  };
8589
8589
  }
8590
8590
  });
8591
- var Button$1 = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "button.vue"]]);
8591
+ var Button$1 = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "button.vue"]]);
8592
8592
 
8593
8593
  const BmButton = withInstall$2(Button$1);
8594
8594
 
8595
- const __default__$7 = {
8595
+ const __default__$6 = {
8596
8596
  name: "BmFormDesigner"
8597
8597
  };
8598
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
8599
- ...__default__$7,
8598
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
8599
+ ...__default__$6,
8600
8600
  setup(__props) {
8601
8601
  const rule = [
8602
8602
  {
@@ -8611,7 +8611,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8611
8611
  };
8612
8612
  }
8613
8613
  });
8614
- var FormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "form-designer.vue"]]);
8614
+ var FormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "form-designer.vue"]]);
8615
8615
 
8616
8616
  const BmFormDesigner = withInstall$2(FormDesigner);
8617
8617
 
@@ -8637,11 +8637,11 @@ and limitations under the License.
8637
8637
 
8638
8638
  var LogicFlow = /*@__PURE__*/getDefaultExportFromCjs(logicFlow.exports);
8639
8639
 
8640
- const __default__$6 = {
8640
+ const __default__$5 = {
8641
8641
  name: "BmFlowDesigner"
8642
8642
  };
8643
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
8644
- ...__default__$6,
8643
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
8644
+ ...__default__$5,
8645
8645
  setup(__props) {
8646
8646
  const container = ref();
8647
8647
  let lf;
@@ -8664,7 +8664,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
8664
8664
  };
8665
8665
  }
8666
8666
  });
8667
- var FlowDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "flow-designer.vue"]]);
8667
+ var FlowDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "flow-designer.vue"]]);
8668
8668
 
8669
8669
  const BmFlowDesigner = withInstall$2(FlowDesigner);
8670
8670
 
@@ -8693,7 +8693,7 @@ function __awaiter$1(thisArg, _arguments, P, generator) {
8693
8693
  });
8694
8694
  }
8695
8695
 
8696
- function _defineProperty$m(obj, key, value) {
8696
+ function _defineProperty$l(obj, key, value) {
8697
8697
  if (key in obj) {
8698
8698
  Object.defineProperty(obj, key, {
8699
8699
  value: value,
@@ -8725,7 +8725,7 @@ function _objectSpread2$v(target) {
8725
8725
  for (var i = 1; i < arguments.length; i++) {
8726
8726
  var source = null != arguments[i] ? arguments[i] : {};
8727
8727
  i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) {
8728
- _defineProperty$m(target, key, source[key]);
8728
+ _defineProperty$l(target, key, source[key]);
8729
8729
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) {
8730
8730
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8731
8731
  });
@@ -10441,7 +10441,7 @@ var Empty = function Empty(props, _ref) {
10441
10441
  }
10442
10442
 
10443
10443
  return createVNode("div", _objectSpread2$v({
10444
- "class": classNames(prefixCls, className, (_classNames = {}, _defineProperty$m(_classNames, "".concat(prefixCls, "-normal"), image === simpleEmptyImg), _defineProperty$m(_classNames, "".concat(prefixCls, "-rtl"), direction.value === 'rtl'), _classNames))
10444
+ "class": classNames(prefixCls, className, (_classNames = {}, _defineProperty$l(_classNames, "".concat(prefixCls, "-normal"), image === simpleEmptyImg), _defineProperty$l(_classNames, "".concat(prefixCls, "-rtl"), direction.value === 'rtl'), _classNames))
10445
10445
  }, restProps), [createVNode("div", {
10446
10446
  "class": "".concat(prefixCls, "-image"),
10447
10447
  "style": imageStyle
@@ -10716,7 +10716,7 @@ var Notice = defineComponent({
10716
10716
  }, {});
10717
10717
 
10718
10718
  var node = createVNode("div", _objectSpread2$v({
10719
- "class": classNames(componentClass, className, _defineProperty$m({}, "".concat(componentClass, "-closable"), closable)),
10719
+ "class": classNames(componentClass, className, _defineProperty$l({}, "".concat(componentClass, "-closable"), closable)),
10720
10720
  "style": style,
10721
10721
  "onMouseenter": clearCloseTimer,
10722
10722
  "onMouseleave": startCloseTimer,
@@ -10913,7 +10913,7 @@ var Notification = defineComponent({
10913
10913
  }
10914
10914
  });
10915
10915
  });
10916
- var className = (_className = {}, _defineProperty$m(_className, prefixCls, 1), _defineProperty$m(_className, attrs.class, !!attrs.class), _className);
10916
+ var className = (_className = {}, _defineProperty$l(_className, prefixCls, 1), _defineProperty$l(_className, attrs.class, !!attrs.class), _className);
10917
10917
  return createVNode("div", {
10918
10918
  "class": className,
10919
10919
  "style": attrs.style || {
@@ -11071,9 +11071,9 @@ function insertCss(css, options) {
11071
11071
  return styleElement;
11072
11072
  }
11073
11073
 
11074
- function _objectSpread$j(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$l(target, key, source[key]); }); } return target; }
11074
+ function _objectSpread$i(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$k(target, key, source[key]); }); } return target; }
11075
11075
 
11076
- function _defineProperty$l(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; }
11076
+ function _defineProperty$k(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; }
11077
11077
  function warn(valid, message) {
11078
11078
  // Support uglify
11079
11079
  if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
@@ -11089,14 +11089,14 @@ function isIconDefinition(target) {
11089
11089
  }
11090
11090
  function generate(node, key, rootProps) {
11091
11091
  if (!rootProps) {
11092
- return h$2(node.tag, _objectSpread$j({
11092
+ return h$2(node.tag, _objectSpread$i({
11093
11093
  key: key
11094
11094
  }, node.attrs), (node.children || []).map(function (child, index) {
11095
11095
  return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
11096
11096
  }));
11097
11097
  }
11098
11098
 
11099
- return h$2(node.tag, _objectSpread$j({
11099
+ return h$2(node.tag, _objectSpread$i({
11100
11100
  key: key
11101
11101
  }, rootProps, node.attrs), (node.children || []).map(function (child, index) {
11102
11102
  return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
@@ -11136,9 +11136,9 @@ function _objectWithoutProperties$1(source, excluded) { if (source == null) retu
11136
11136
 
11137
11137
  function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11138
11138
 
11139
- function _objectSpread$i(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$k(target, key, source[key]); }); } return target; }
11139
+ function _objectSpread$h(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$j(target, key, source[key]); }); } return target; }
11140
11140
 
11141
- function _defineProperty$k(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; }
11141
+ function _defineProperty$j(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; }
11142
11142
  var twoToneColorPalette = {
11143
11143
  primaryColor: '#333',
11144
11144
  secondaryColor: '#E6E6E6',
@@ -11154,11 +11154,11 @@ function setTwoToneColors(_ref) {
11154
11154
  }
11155
11155
 
11156
11156
  function getTwoToneColors() {
11157
- return _objectSpread$i({}, twoToneColorPalette);
11157
+ return _objectSpread$h({}, twoToneColorPalette);
11158
11158
  }
11159
11159
 
11160
11160
  var IconBase = function IconBase(props, context) {
11161
- var _props$context$attrs = _objectSpread$i({}, props, context.attrs),
11161
+ var _props$context$attrs = _objectSpread$h({}, props, context.attrs),
11162
11162
  icon = _props$context$attrs.icon,
11163
11163
  primaryColor = _props$context$attrs.primaryColor,
11164
11164
  secondaryColor = _props$context$attrs.secondaryColor,
@@ -11183,12 +11183,12 @@ var IconBase = function IconBase(props, context) {
11183
11183
  var target = icon;
11184
11184
 
11185
11185
  if (target && typeof target.icon === 'function') {
11186
- target = _objectSpread$i({}, target, {
11186
+ target = _objectSpread$h({}, target, {
11187
11187
  icon: target.icon(colors.primaryColor, colors.secondaryColor)
11188
11188
  });
11189
11189
  }
11190
11190
 
11191
- return generate(target.icon, "svg-".concat(target.name), _objectSpread$i({}, restProps, {
11191
+ return generate(target.icon, "svg-".concat(target.name), _objectSpread$h({}, restProps, {
11192
11192
  'data-icon': target.name,
11193
11193
  width: '1em',
11194
11194
  height: '1em',
@@ -11255,9 +11255,9 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
11255
11255
 
11256
11256
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11257
11257
 
11258
- function _objectSpread$h(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$j(target, key, source[key]); }); } return target; }
11258
+ function _objectSpread$g(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$i(target, key, source[key]); }); } return target; }
11259
11259
 
11260
- function _defineProperty$j(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; }
11260
+ function _defineProperty$i(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; }
11261
11261
 
11262
11262
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11263
11263
 
@@ -11268,7 +11268,7 @@ setTwoToneColor('#1890ff');
11268
11268
  var Icon = function Icon(props, context) {
11269
11269
  var _classObj;
11270
11270
 
11271
- var _props$context$attrs = _objectSpread$h({}, props, context.attrs),
11271
+ var _props$context$attrs = _objectSpread$g({}, props, context.attrs),
11272
11272
  cls = _props$context$attrs["class"],
11273
11273
  icon = _props$context$attrs.icon,
11274
11274
  spin = _props$context$attrs.spin,
@@ -11280,7 +11280,7 @@ var Icon = function Icon(props, context) {
11280
11280
 
11281
11281
  var classObj = (_classObj = {
11282
11282
  anticon: true
11283
- }, _defineProperty$j(_classObj, "anticon-".concat(icon.name), Boolean(icon.name)), _defineProperty$j(_classObj, cls, cls), _classObj);
11283
+ }, _defineProperty$i(_classObj, "anticon-".concat(icon.name), Boolean(icon.name)), _defineProperty$i(_classObj, cls, cls), _classObj);
11284
11284
  var svgClassString = spin === '' || !!spin || icon.name === 'loading' ? 'anticon-spin' : '';
11285
11285
  var iconTabIndex = tabindex;
11286
11286
 
@@ -11299,7 +11299,7 @@ var Icon = function Icon(props, context) {
11299
11299
  primaryColor = _normalizeTwoToneColo2[0],
11300
11300
  secondaryColor = _normalizeTwoToneColo2[1];
11301
11301
 
11302
- return createVNode("span", _objectSpread$h({
11302
+ return createVNode("span", _objectSpread$g({
11303
11303
  "role": "img",
11304
11304
  "aria-label": icon.name
11305
11305
  }, restProps, {
@@ -11326,14 +11326,14 @@ Icon.getTwoToneColor = getTwoToneColor;
11326
11326
  Icon.setTwoToneColor = setTwoToneColor;
11327
11327
  var AntdIcon = Icon;
11328
11328
 
11329
- function _objectSpread$g(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$i(target, key, source[key]); }); } return target; }
11329
+ function _objectSpread$f(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$h(target, key, source[key]); }); } return target; }
11330
11330
 
11331
- function _defineProperty$i(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; }
11331
+ function _defineProperty$h(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; }
11332
11332
 
11333
11333
  var LoadingOutlined = function LoadingOutlined(props, context) {
11334
- var p = _objectSpread$g({}, props, context.attrs);
11334
+ var p = _objectSpread$f({}, props, context.attrs);
11335
11335
 
11336
- return createVNode(AntdIcon, _objectSpread$g({}, p, {
11336
+ return createVNode(AntdIcon, _objectSpread$f({}, p, {
11337
11337
  "icon": LoadingOutlinedSvg
11338
11338
  }), null);
11339
11339
  };
@@ -11346,14 +11346,14 @@ var LoadingOutlined$1 = LoadingOutlined;
11346
11346
  var ExclamationCircleFilled$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "exclamation-circle", "theme": "filled" };
11347
11347
  var ExclamationCircleFilledSvg = ExclamationCircleFilled$2;
11348
11348
 
11349
- function _objectSpread$f(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$h(target, key, source[key]); }); } return target; }
11349
+ function _objectSpread$e(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$g(target, key, source[key]); }); } return target; }
11350
11350
 
11351
- function _defineProperty$h(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; }
11351
+ function _defineProperty$g(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; }
11352
11352
 
11353
11353
  var ExclamationCircleFilled = function ExclamationCircleFilled(props, context) {
11354
- var p = _objectSpread$f({}, props, context.attrs);
11354
+ var p = _objectSpread$e({}, props, context.attrs);
11355
11355
 
11356
- return createVNode(AntdIcon, _objectSpread$f({}, p, {
11356
+ return createVNode(AntdIcon, _objectSpread$e({}, p, {
11357
11357
  "icon": ExclamationCircleFilledSvg
11358
11358
  }), null);
11359
11359
  };
@@ -11366,14 +11366,14 @@ var ExclamationCircleFilled$1 = ExclamationCircleFilled;
11366
11366
  var CloseCircleFilled$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" } }] }, "name": "close-circle", "theme": "filled" };
11367
11367
  var CloseCircleFilledSvg = CloseCircleFilled$2;
11368
11368
 
11369
- function _objectSpread$e(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$g(target, key, source[key]); }); } return target; }
11369
+ function _objectSpread$d(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$f(target, key, source[key]); }); } return target; }
11370
11370
 
11371
- function _defineProperty$g(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; }
11371
+ function _defineProperty$f(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; }
11372
11372
 
11373
11373
  var CloseCircleFilled = function CloseCircleFilled(props, context) {
11374
- var p = _objectSpread$e({}, props, context.attrs);
11374
+ var p = _objectSpread$d({}, props, context.attrs);
11375
11375
 
11376
- return createVNode(AntdIcon, _objectSpread$e({}, p, {
11376
+ return createVNode(AntdIcon, _objectSpread$d({}, p, {
11377
11377
  "icon": CloseCircleFilledSvg
11378
11378
  }), null);
11379
11379
  };
@@ -11386,14 +11386,14 @@ var CloseCircleFilled$1 = CloseCircleFilled;
11386
11386
  var CheckCircleFilled$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, "name": "check-circle", "theme": "filled" };
11387
11387
  var CheckCircleFilledSvg = CheckCircleFilled$2;
11388
11388
 
11389
- function _objectSpread$d(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$f(target, key, source[key]); }); } return target; }
11389
+ function _objectSpread$c(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$e(target, key, source[key]); }); } return target; }
11390
11390
 
11391
- function _defineProperty$f(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; }
11391
+ function _defineProperty$e(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; }
11392
11392
 
11393
11393
  var CheckCircleFilled = function CheckCircleFilled(props, context) {
11394
- var p = _objectSpread$d({}, props, context.attrs);
11394
+ var p = _objectSpread$c({}, props, context.attrs);
11395
11395
 
11396
- return createVNode(AntdIcon, _objectSpread$d({}, p, {
11396
+ return createVNode(AntdIcon, _objectSpread$c({}, p, {
11397
11397
  "icon": CheckCircleFilledSvg
11398
11398
  }), null);
11399
11399
  };
@@ -11406,14 +11406,14 @@ var CheckCircleFilled$1 = CheckCircleFilled;
11406
11406
  var InfoCircleFilled$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "info-circle", "theme": "filled" };
11407
11407
  var InfoCircleFilledSvg = InfoCircleFilled$2;
11408
11408
 
11409
- function _objectSpread$c(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$e(target, key, source[key]); }); } return target; }
11409
+ function _objectSpread$b(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$d(target, key, source[key]); }); } return target; }
11410
11410
 
11411
- function _defineProperty$e(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; }
11411
+ function _defineProperty$d(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; }
11412
11412
 
11413
11413
  var InfoCircleFilled = function InfoCircleFilled(props, context) {
11414
- var p = _objectSpread$c({}, props, context.attrs);
11414
+ var p = _objectSpread$b({}, props, context.attrs);
11415
11415
 
11416
- return createVNode(AntdIcon, _objectSpread$c({}, p, {
11416
+ return createVNode(AntdIcon, _objectSpread$b({}, p, {
11417
11417
  "icon": InfoCircleFilledSvg
11418
11418
  }), null);
11419
11419
  };
@@ -11537,7 +11537,7 @@ function notice$1(args) {
11537
11537
  var prefixCls = _ref.prefixCls;
11538
11538
  var Icon = typeToIcon$1[args.type];
11539
11539
  var iconNode = Icon ? createVNode(Icon, null, null) : '';
11540
- var messageClass = classNames("".concat(prefixCls, "-custom-content"), (_classNames = {}, _defineProperty$m(_classNames, "".concat(prefixCls, "-").concat(args.type), args.type), _defineProperty$m(_classNames, "".concat(prefixCls, "-rtl"), rtl$1 === true), _classNames));
11540
+ var messageClass = classNames("".concat(prefixCls, "-custom-content"), (_classNames = {}, _defineProperty$l(_classNames, "".concat(prefixCls, "-").concat(args.type), args.type), _defineProperty$l(_classNames, "".concat(prefixCls, "-rtl"), rtl$1 === true), _classNames));
11541
11541
  return createVNode("div", {
11542
11542
  "class": messageClass
11543
11543
  }, [typeof args.icon === 'function' ? args.icon() : args.icon || iconNode, createVNode("span", null, [typeof args.content === 'function' ? args.content() : args.content])]);
@@ -11615,14 +11615,14 @@ var message = api$1;
11615
11615
  var CheckCircleOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "check-circle", "theme": "outlined" };
11616
11616
  var CheckCircleOutlinedSvg = CheckCircleOutlined$2;
11617
11617
 
11618
- function _objectSpread$b(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$d(target, key, source[key]); }); } return target; }
11618
+ function _objectSpread$a(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$c(target, key, source[key]); }); } return target; }
11619
11619
 
11620
- function _defineProperty$d(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; }
11620
+ function _defineProperty$c(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; }
11621
11621
 
11622
11622
  var CheckCircleOutlined = function CheckCircleOutlined(props, context) {
11623
- var p = _objectSpread$b({}, props, context.attrs);
11623
+ var p = _objectSpread$a({}, props, context.attrs);
11624
11624
 
11625
- return createVNode(AntdIcon, _objectSpread$b({}, p, {
11625
+ return createVNode(AntdIcon, _objectSpread$a({}, p, {
11626
11626
  "icon": CheckCircleOutlinedSvg
11627
11627
  }), null);
11628
11628
  };
@@ -11635,14 +11635,14 @@ var CheckCircleOutlined$1 = CheckCircleOutlined;
11635
11635
  var InfoCircleOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" } }] }, "name": "info-circle", "theme": "outlined" };
11636
11636
  var InfoCircleOutlinedSvg = InfoCircleOutlined$2;
11637
11637
 
11638
- function _objectSpread$a(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$c(target, key, source[key]); }); } return target; }
11638
+ function _objectSpread$9(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$b(target, key, source[key]); }); } return target; }
11639
11639
 
11640
- function _defineProperty$c(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; }
11640
+ function _defineProperty$b(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; }
11641
11641
 
11642
11642
  var InfoCircleOutlined = function InfoCircleOutlined(props, context) {
11643
- var p = _objectSpread$a({}, props, context.attrs);
11643
+ var p = _objectSpread$9({}, props, context.attrs);
11644
11644
 
11645
- return createVNode(AntdIcon, _objectSpread$a({}, p, {
11645
+ return createVNode(AntdIcon, _objectSpread$9({}, p, {
11646
11646
  "icon": InfoCircleOutlinedSvg
11647
11647
  }), null);
11648
11648
  };
@@ -11655,14 +11655,14 @@ var InfoCircleOutlined$1 = InfoCircleOutlined;
11655
11655
  var CloseCircleOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z" } }, { "tag": "path", "attrs": { "d": "M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "close-circle", "theme": "outlined" };
11656
11656
  var CloseCircleOutlinedSvg = CloseCircleOutlined$2;
11657
11657
 
11658
- function _objectSpread$9(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$b(target, key, source[key]); }); } return target; }
11658
+ function _objectSpread$8(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$a(target, key, source[key]); }); } return target; }
11659
11659
 
11660
- function _defineProperty$b(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; }
11660
+ function _defineProperty$a(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; }
11661
11661
 
11662
11662
  var CloseCircleOutlined = function CloseCircleOutlined(props, context) {
11663
- var p = _objectSpread$9({}, props, context.attrs);
11663
+ var p = _objectSpread$8({}, props, context.attrs);
11664
11664
 
11665
- return createVNode(AntdIcon, _objectSpread$9({}, p, {
11665
+ return createVNode(AntdIcon, _objectSpread$8({}, p, {
11666
11666
  "icon": CloseCircleOutlinedSvg
11667
11667
  }), null);
11668
11668
  };
@@ -11675,14 +11675,14 @@ var CloseCircleOutlined$1 = CloseCircleOutlined;
11675
11675
  var ExclamationCircleOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" };
11676
11676
  var ExclamationCircleOutlinedSvg = ExclamationCircleOutlined$2;
11677
11677
 
11678
- function _objectSpread$8(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$a(target, key, source[key]); }); } return target; }
11678
+ function _objectSpread$7(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$9(target, key, source[key]); }); } return target; }
11679
11679
 
11680
- function _defineProperty$a(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; }
11680
+ function _defineProperty$9(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; }
11681
11681
 
11682
11682
  var ExclamationCircleOutlined = function ExclamationCircleOutlined(props, context) {
11683
- var p = _objectSpread$8({}, props, context.attrs);
11683
+ var p = _objectSpread$7({}, props, context.attrs);
11684
11684
 
11685
- return createVNode(AntdIcon, _objectSpread$8({}, p, {
11685
+ return createVNode(AntdIcon, _objectSpread$7({}, p, {
11686
11686
  "icon": ExclamationCircleOutlinedSvg
11687
11687
  }), null);
11688
11688
  };
@@ -11695,14 +11695,14 @@ var ExclamationCircleOutlined$1 = ExclamationCircleOutlined;
11695
11695
  var CloseOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" };
11696
11696
  var CloseOutlinedSvg = CloseOutlined$2;
11697
11697
 
11698
- function _objectSpread$7(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$9(target, key, source[key]); }); } return target; }
11698
+ function _objectSpread$6(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$8(target, key, source[key]); }); } return target; }
11699
11699
 
11700
- function _defineProperty$9(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; }
11700
+ function _defineProperty$8(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; }
11701
11701
 
11702
11702
  var CloseOutlined = function CloseOutlined(props, context) {
11703
- var p = _objectSpread$7({}, props, context.attrs);
11703
+ var p = _objectSpread$6({}, props, context.attrs);
11704
11704
 
11705
- return createVNode(AntdIcon, _objectSpread$7({}, p, {
11705
+ return createVNode(AntdIcon, _objectSpread$6({}, p, {
11706
11706
  "icon": CloseOutlinedSvg
11707
11707
  }), null);
11708
11708
  };
@@ -11871,7 +11871,7 @@ function getNotificationInstance(_ref, callback) {
11871
11871
  return;
11872
11872
  }
11873
11873
 
11874
- var notificationClass = classNames("".concat(prefixCls, "-").concat(placement), _defineProperty$m({}, "".concat(prefixCls, "-rtl"), rtl === true));
11874
+ var notificationClass = classNames("".concat(prefixCls, "-").concat(placement), _defineProperty$l({}, "".concat(prefixCls, "-rtl"), rtl === true));
11875
11875
  Notification$1.newInstance({
11876
11876
  name: 'notification',
11877
11877
  prefixCls: customizePrefixCls || defaultPrefixCls$1,
@@ -12560,7 +12560,7 @@ function _objectSpread2$u(target) {
12560
12560
 
12561
12561
  if (i % 2) {
12562
12562
  ownKeys$1(Object(source), true).forEach(function (key) {
12563
- _defineProperty$8(target, key, source[key]);
12563
+ _defineProperty$7(target, key, source[key]);
12564
12564
  });
12565
12565
  } else if (Object.getOwnPropertyDescriptors) {
12566
12566
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
@@ -12590,7 +12590,7 @@ function _typeof$8(obj) {
12590
12590
  return _typeof$8(obj);
12591
12591
  }
12592
12592
 
12593
- function _defineProperty$8(obj, key, value) {
12593
+ function _defineProperty$7(obj, key, value) {
12594
12594
  if (key in obj) {
12595
12595
  Object.defineProperty(obj, key, {
12596
12596
  value: value,
@@ -14666,14 +14666,14 @@ function pickAttrs$2(props) {
14666
14666
  var DownOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
14667
14667
  var DownOutlinedSvg = DownOutlined$2;
14668
14668
 
14669
- function _objectSpread$6(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$7(target, key, source[key]); }); } return target; }
14669
+ function _objectSpread$5(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$6(target, key, source[key]); }); } return target; }
14670
14670
 
14671
- function _defineProperty$7(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; }
14671
+ function _defineProperty$6(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; }
14672
14672
 
14673
14673
  var DownOutlined = function DownOutlined(props, context) {
14674
- var p = _objectSpread$6({}, props, context.attrs);
14674
+ var p = _objectSpread$5({}, props, context.attrs);
14675
14675
 
14676
- return createVNode(AntdIcon, _objectSpread$6({}, p, {
14676
+ return createVNode(AntdIcon, _objectSpread$5({}, p, {
14677
14677
  "icon": DownOutlinedSvg
14678
14678
  }), null);
14679
14679
  };
@@ -14686,14 +14686,14 @@ var DownOutlined$1 = DownOutlined;
14686
14686
  var SearchOutlined$5 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
14687
14687
  var SearchOutlinedSvg = SearchOutlined$5;
14688
14688
 
14689
- function _objectSpread$5(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$6(target, key, source[key]); }); } return target; }
14689
+ function _objectSpread$4(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$5(target, key, source[key]); }); } return target; }
14690
14690
 
14691
- function _defineProperty$6(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; }
14691
+ function _defineProperty$5(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; }
14692
14692
 
14693
14693
  var SearchOutlined$3 = function SearchOutlined(props, context) {
14694
- var p = _objectSpread$5({}, props, context.attrs);
14694
+ var p = _objectSpread$4({}, props, context.attrs);
14695
14695
 
14696
- return createVNode(AntdIcon, _objectSpread$5({}, p, {
14696
+ return createVNode(AntdIcon, _objectSpread$4({}, p, {
14697
14697
  "icon": SearchOutlinedSvg
14698
14698
  }), null);
14699
14699
  };
@@ -15221,7 +15221,7 @@ var Button = defineComponent({
15221
15221
  };
15222
15222
  var sizeFullname = size.value;
15223
15223
  var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
15224
- return _ref2 = {}, _defineProperty$m(_ref2, "".concat(pre), true), _defineProperty$m(_ref2, "".concat(pre, "-").concat(type), type), _defineProperty$m(_ref2, "".concat(pre, "-").concat(shape), shape !== 'default' && shape), _defineProperty$m(_ref2, "".concat(pre, "-").concat(sizeCls), sizeCls), _defineProperty$m(_ref2, "".concat(pre, "-loading"), innerLoading.value), _defineProperty$m(_ref2, "".concat(pre, "-background-ghost"), ghost && !isUnborderedButtonType(type)), _defineProperty$m(_ref2, "".concat(pre, "-two-chinese-chars"), hasTwoCNChar.value && autoInsertSpace.value), _defineProperty$m(_ref2, "".concat(pre, "-block"), block), _defineProperty$m(_ref2, "".concat(pre, "-dangerous"), !!danger), _defineProperty$m(_ref2, "".concat(pre, "-rtl"), direction.value === 'rtl'), _ref2;
15224
+ return _ref2 = {}, _defineProperty$l(_ref2, "".concat(pre), true), _defineProperty$l(_ref2, "".concat(pre, "-").concat(type), type), _defineProperty$l(_ref2, "".concat(pre, "-").concat(shape), shape !== 'default' && shape), _defineProperty$l(_ref2, "".concat(pre, "-").concat(sizeCls), sizeCls), _defineProperty$l(_ref2, "".concat(pre, "-loading"), innerLoading.value), _defineProperty$l(_ref2, "".concat(pre, "-background-ghost"), ghost && !isUnborderedButtonType(type)), _defineProperty$l(_ref2, "".concat(pre, "-two-chinese-chars"), hasTwoCNChar.value && autoInsertSpace.value), _defineProperty$l(_ref2, "".concat(pre, "-block"), block), _defineProperty$l(_ref2, "".concat(pre, "-dangerous"), !!danger), _defineProperty$l(_ref2, "".concat(pre, "-rtl"), direction.value === 'rtl'), _ref2;
15225
15225
  });
15226
15226
 
15227
15227
  var fixTwoCNChar = function fixTwoCNChar() {
@@ -15296,7 +15296,7 @@ var Button = defineComponent({
15296
15296
  var buttonProps = _extends$1(_extends$1({}, attrs), {
15297
15297
  title: title,
15298
15298
  disabled: disabled,
15299
- class: [classes.value, attrs.class, _defineProperty$m({}, "".concat(prefixCls.value, "-icon-only"), children.length === 0 && !!iconType)],
15299
+ class: [classes.value, attrs.class, _defineProperty$l({}, "".concat(prefixCls.value, "-icon-only"), children.length === 0 && !!iconType)],
15300
15300
  onClick: handleClick,
15301
15301
  onMousedown: onMousedown
15302
15302
  }); // https://github.com/vueComponent/ant-design-vue/issues/4930
@@ -15419,7 +15419,7 @@ var ButtonGroup = defineComponent({
15419
15419
  console.warn(new UnreachableException(size).error);
15420
15420
  }
15421
15421
 
15422
- return _ref2 = {}, _defineProperty$m(_ref2, "".concat(prefixCls.value), true), _defineProperty$m(_ref2, "".concat(prefixCls.value, "-").concat(sizeCls), sizeCls), _defineProperty$m(_ref2, "".concat(prefixCls.value, "-rtl"), direction.value === 'rtl'), _ref2;
15422
+ return _ref2 = {}, _defineProperty$l(_ref2, "".concat(prefixCls.value), true), _defineProperty$l(_ref2, "".concat(prefixCls.value, "-").concat(sizeCls), sizeCls), _defineProperty$l(_ref2, "".concat(prefixCls.value, "-rtl"), direction.value === 'rtl'), _ref2;
15423
15423
  });
15424
15424
  return function () {
15425
15425
  var _a;
@@ -15440,26 +15440,6 @@ Button.install = function (app) {
15440
15440
  return app;
15441
15441
  };
15442
15442
 
15443
- // This icon file is generated automatically.
15444
- var RightOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, "name": "right", "theme": "outlined" };
15445
- var RightOutlinedSvg = RightOutlined$2;
15446
-
15447
- function _objectSpread$4(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$5(target, key, source[key]); }); } return target; }
15448
-
15449
- function _defineProperty$5(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; }
15450
-
15451
- var RightOutlined = function RightOutlined(props, context) {
15452
- var p = _objectSpread$4({}, props, context.attrs);
15453
-
15454
- return createVNode(AntdIcon, _objectSpread$4({}, p, {
15455
- "icon": RightOutlinedSvg
15456
- }), null);
15457
- };
15458
-
15459
- RightOutlined.displayName = 'RightOutlined';
15460
- RightOutlined.inheritAttrs = false;
15461
- var RightOutlined$1 = RightOutlined;
15462
-
15463
15443
  // This icon file is generated automatically.
15464
15444
  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
15445
  var PlusOutlinedSvg = PlusOutlined$2;
@@ -16746,7 +16726,7 @@ var Modal$1 = defineComponent({
16746
16726
  focusTriggerAfterClose = _props$focusTriggerAf === void 0 ? true : _props$focusTriggerAf,
16747
16727
  restProps = __rest$e(props, ["prefixCls", "visible", "wrapClassName", "centered", "getContainer", "closeIcon", "focusTriggerAfterClose"]);
16748
16728
 
16749
- var wrapClassNameExtended = classNames(wrapClassName, (_classNames = {}, _defineProperty$m(_classNames, "".concat(prefixCls.value, "-centered"), !!centered), _defineProperty$m(_classNames, "".concat(prefixCls.value, "-wrap-rtl"), direction.value === 'rtl'), _classNames));
16729
+ var wrapClassNameExtended = classNames(wrapClassName, (_classNames = {}, _defineProperty$l(_classNames, "".concat(prefixCls.value, "-centered"), !!centered), _defineProperty$l(_classNames, "".concat(prefixCls.value, "-wrap-rtl"), direction.value === 'rtl'), _classNames));
16750
16730
  return createVNode(DialogWrap$3, _objectSpread2$v(_objectSpread2$v(_objectSpread2$v({}, restProps), attrs), {}, {
16751
16731
  "getContainer": getContainer || getPopupContainer.value,
16752
16732
  "prefixCls": prefixCls.value,
@@ -16966,7 +16946,7 @@ var ConfirmDialog$1 = defineComponent({
16966
16946
  var okText = renderSomeContent$1(props.okText) || (okCancel ? locale.value.okText : locale.value.justOkText);
16967
16947
  var cancelText = renderSomeContent$1(props.cancelText) || locale.value.cancelText;
16968
16948
  var autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok';
16969
- var classString = classNames(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(type), "".concat(prefixCls, "-").concat(type), _defineProperty$m({}, "".concat(contentPrefixCls, "-rtl"), direction === 'rtl'), attrs.class);
16949
+ var classString = classNames(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(type), "".concat(prefixCls, "-").concat(type), _defineProperty$l({}, "".concat(contentPrefixCls, "-rtl"), direction === 'rtl'), attrs.class);
16970
16950
 
16971
16951
  var cancelButton = okCancel && createVNode(ActionButton$1, {
16972
16952
  "actionFn": onCancel,
@@ -16983,7 +16963,7 @@ var ConfirmDialog$1 = defineComponent({
16983
16963
  return createVNode(Modal$1, {
16984
16964
  "prefixCls": prefixCls,
16985
16965
  "class": classString,
16986
- "wrapClassName": classNames(_defineProperty$m({}, "".concat(contentPrefixCls, "-centered"), !!centered), wrapClassName),
16966
+ "wrapClassName": classNames(_defineProperty$l({}, "".concat(contentPrefixCls, "-centered"), !!centered), wrapClassName),
16987
16967
  "onCancel": function onCancel(e) {
16988
16968
  return close({
16989
16969
  triggerCancel: true
@@ -17549,11 +17529,11 @@ var _default2$l = (0, _type$4.withInstall)(Alert$1);
17549
17529
 
17550
17530
  _default$P = alert.default = _default2$l;
17551
17531
 
17552
- const __default__$5 = {
17532
+ const __default__$4 = {
17553
17533
  name: "BmAlert"
17554
17534
  };
17555
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
17556
- ...__default__$5,
17535
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
17536
+ ...__default__$4,
17557
17537
  props: {
17558
17538
  type: {
17559
17539
  type: String,
@@ -17605,7 +17585,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
17605
17585
  };
17606
17586
  }
17607
17587
  });
17608
- var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "bmAlert.vue"]]);
17588
+ var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "bmAlert.vue"]]);
17609
17589
 
17610
17590
  var modal = {};
17611
17591
 
@@ -20836,15 +20816,15 @@ _Modal.default.install = function (app) {
20836
20816
  var _default$D = _Modal.default;
20837
20817
  default_1$1 = modal.default = _default$D;
20838
20818
 
20839
- const _hoisted_1$c = {
20819
+ const _hoisted_1$b = {
20840
20820
  ref: "modalBody",
20841
20821
  class: "bm-modal-body"
20842
20822
  };
20843
- const __default__$4 = {
20823
+ const __default__$3 = {
20844
20824
  name: "BmModal"
20845
20825
  };
20846
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
20847
- ...__default__$4,
20826
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
20827
+ ...__default__$3,
20848
20828
  props: {
20849
20829
  width: {
20850
20830
  type: String,
@@ -20886,7 +20866,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
20886
20866
  onChange: _cache[1] || (_cache[1] = (v) => _ctx.$emit("close", v))
20887
20867
  }, createSlots({
20888
20868
  default: withCtx(() => [
20889
- createElementVNode("div", _hoisted_1$c, [
20869
+ createElementVNode("div", _hoisted_1$b, [
20890
20870
  renderSlot(_ctx.$slots, "default")
20891
20871
  ], 512)
20892
20872
  ]),
@@ -20930,7 +20910,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
20930
20910
  };
20931
20911
  }
20932
20912
  });
20933
- var AModal = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "bmModal.vue"]]);
20913
+ var AModal = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "bmModal.vue"]]);
20934
20914
 
20935
20915
  const idGenerator = (function () {
20936
20916
  let id = 0;
@@ -20962,7 +20942,7 @@ const feedbackIcon = {
20962
20942
  warning: () => h$2(ExclamationCircleFilled$1, { style: `color: ${feedbackColor.WARNING}` }),
20963
20943
  info: () => h$2(InfoCircleFilled$1, { style: `color: ${feedbackColor.INFO}` }),
20964
20944
  confirm: () => h$2(InfoCircleFilled$1, { style: `color: ${feedbackColor.INFO}` }),
20965
- warn: () => h$2(ExclamationCircleFilled$1, { style: `color: ${feedbackColor.WARNING}` })
20945
+ warn: () => h$2(ExclamationCircleFilled$1, { style: `color: ${feedbackColor.WARNING}` }),
20966
20946
  };
20967
20947
  function __createBtn(btnText = '确定', onClick = (() => '点击'), style = '', type = 'primary', size = 'small') {
20968
20948
  return h$2(Button, {
@@ -21250,7 +21230,7 @@ var _hoisted_1$8$1 = {
21250
21230
  "class": "anticon"
21251
21231
  };
21252
21232
 
21253
- var _hoisted_2$8$1 = /*#__PURE__*/createElementVNode("svg", {
21233
+ var _hoisted_2$8 = /*#__PURE__*/createElementVNode("svg", {
21254
21234
  height: "1em",
21255
21235
  width: "1em",
21256
21236
  xmlns: "http://www.w3.org/2000/svg",
@@ -21263,7 +21243,7 @@ var _hoisted_2$8$1 = /*#__PURE__*/createElementVNode("svg", {
21263
21243
  fill: "currentColor"
21264
21244
  })], -1);
21265
21245
 
21266
- var _hoisted_3$8 = [_hoisted_2$8$1];
21246
+ var _hoisted_3$8 = [_hoisted_2$8];
21267
21247
  function render$8(_ctx, _cache, $props, $setup, $data, $options) {
21268
21248
  return openBlock(), createElementBlock("span", _hoisted_1$8$1, _hoisted_3$8);
21269
21249
  }
@@ -21470,9 +21450,9 @@ var _hoisted_2$7$1 = /*#__PURE__*/createElementVNode("svg", {
21470
21450
  fill: "currentColor"
21471
21451
  })], -1);
21472
21452
 
21473
- var _hoisted_3$7$1 = [_hoisted_2$7$1];
21453
+ var _hoisted_3$7 = [_hoisted_2$7$1];
21474
21454
  function render$7(_ctx, _cache, $props, $setup, $data, $options) {
21475
- return openBlock(), createElementBlock("span", _hoisted_1$7$1, _hoisted_3$7$1);
21455
+ return openBlock(), createElementBlock("span", _hoisted_1$7$1, _hoisted_3$7);
21476
21456
  }
21477
21457
 
21478
21458
  script$7.render = render$7;
@@ -22705,7 +22685,7 @@ var script = {
22705
22685
  name: 'QuestionCircleOutlined'
22706
22686
  };
22707
22687
 
22708
- var _hoisted_1$b = {
22688
+ var _hoisted_1$a = {
22709
22689
  "class": "anticon"
22710
22690
  };
22711
22691
 
@@ -22724,7 +22704,7 @@ var _hoisted_2$9 = /*#__PURE__*/createElementVNode("svg", {
22724
22704
 
22725
22705
  var _hoisted_3$9 = [_hoisted_2$9];
22726
22706
  function render(_ctx, _cache, $props, $setup, $data, $options) {
22727
- return openBlock(), createElementBlock("span", _hoisted_1$b, _hoisted_3$9);
22707
+ return openBlock(), createElementBlock("span", _hoisted_1$a, _hoisted_3$9);
22728
22708
  }
22729
22709
 
22730
22710
  script.render = render;
@@ -27463,10 +27443,10 @@ const searchFilterProps = Object.assign({ userRule: {
27463
27443
  },
27464
27444
  } }, searchResetBtnProps);
27465
27445
 
27466
- const _hoisted_1$a = { class: "bm-search-filter-actions" };
27467
- const _hoisted_2$8 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
27468
- const _hoisted_3$7 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
27469
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
27446
+ const _hoisted_1$9 = { class: "bm-search-filter-actions" };
27447
+ const _hoisted_2$7 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
27448
+ const _hoisted_3$6 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
27449
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
27470
27450
  props: searchResetBtnProps,
27471
27451
  emits: ["submit", "reset", "expand"],
27472
27452
  setup(__props, { emit: emits }) {
@@ -27500,10 +27480,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
27500
27480
  createTextVNode(toDisplayString(isExpand.value ? props.collapseText : props.expandText), 1),
27501
27481
  isExpand.value ? (openBlock(), createBlock(unref(UpOutlined$1), { key: 0 })) : (openBlock(), createBlock(unref(DownOutlined$1), { key: 1 }))
27502
27482
  ])) : createCommentVNode("v-if", true),
27503
- createElementVNode("span", _hoisted_1$a, [
27483
+ createElementVNode("span", _hoisted_1$9, [
27504
27484
  createVNode(_component_a_button, { onClick: handleReset }, {
27505
27485
  default: withCtx(() => [
27506
- _hoisted_2$8
27486
+ _hoisted_2$7
27507
27487
  ]),
27508
27488
  _: 1
27509
27489
  }),
@@ -27513,7 +27493,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
27513
27493
  }, {
27514
27494
  default: withCtx(() => [
27515
27495
  props.showSearchIcon ? (openBlock(), createBlock(unref(SearchOutlined$4), { key: 0 })) : createCommentVNode("v-if", true),
27516
- _hoisted_3$7
27496
+ _hoisted_3$6
27517
27497
  ]),
27518
27498
  _: 1
27519
27499
  })
@@ -27522,520 +27502,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
27522
27502
  };
27523
27503
  }
27524
27504
  });
27525
- var SearchResetBtn = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "search-reset-btn.vue"]]);
27526
-
27527
- function multiCascaderComposeProps() {
27528
- return {
27529
- options: {
27530
- type: Array,
27531
- default() {
27532
- return [];
27533
- },
27534
- },
27535
- modelValue: {
27536
- type: Array,
27537
- default() {
27538
- return [];
27539
- },
27540
- },
27541
- optionValueName: {
27542
- type: String,
27543
- default: 'value',
27544
- },
27545
- optionLabelName: {
27546
- type: String,
27547
- default: 'label',
27548
- },
27549
- maxTagCount: {
27550
- type: Number,
27551
- default: 1,
27552
- },
27553
- placeholder: {
27554
- type: String,
27555
- default: '请选择',
27556
- },
27557
- allowClear: {
27558
- type: Boolean,
27559
- default: true,
27560
- },
27561
- emptyImage: {
27562
- type: [String, Object],
27563
- default: undefined,
27564
- },
27565
- };
27566
- }
27567
-
27568
- const _hoisted_1$9 = { class: "bm-multi-cascader-wrapper" };
27569
- const _hoisted_2$7 = { class: "bm-multi-cascader" };
27570
- const _hoisted_3$6 = { class: "bm-multi-cascader-inner" };
27571
- const _hoisted_4$6 = {
27572
- key: 0,
27573
- class: "bm-multi-cascader-tags"
27574
- };
27575
- const _hoisted_5$6 = { class: "bm-multi-cascader-tag-text" };
27576
- const _hoisted_6$5 = ["onClick"];
27577
- const _hoisted_7$5 = {
27578
- key: 0,
27579
- class: "bm-multi-cascader-tag"
27580
- };
27581
- const _hoisted_8$5 = { class: "bm-multi-cascader-tag-text" };
27582
- const _hoisted_9$4 = {
27583
- key: 1,
27584
- class: "bm-multi-cascader-placeholder"
27585
- };
27586
- const _hoisted_10$4 = { class: "bm-multi-cascader-action" };
27587
- const _hoisted_11$4 = {
27588
- key: 0,
27589
- class: "bm-multi-cascader-popover"
27590
- };
27591
- const _hoisted_12$4 = { class: "bm-multi-cascader-moduler-container" };
27592
- const _hoisted_13$4 = ["onClick"];
27593
- const _hoisted_14$4 = /* @__PURE__ */ createElementVNode("span", { class: "bm-multi-cascader-item-desc" }, "\u5168\u9009", -1);
27594
- const _hoisted_15$4 = ["onClick"];
27595
- const _hoisted_16$3 = { class: "bm-multi-cascader-item-desc" };
27596
- const _hoisted_17$2 = { class: "bm-multi-cascader-item-text" };
27597
- const _hoisted_18$2 = {
27598
- key: 1,
27599
- class: "bm-multi-cascader-popover"
27600
- };
27601
- const _hoisted_19$2 = { class: "bm-multi-cascader-moduler" };
27602
- const __default__$3 = {
27603
- name: "BmMultiCascaderCompose"
27604
- };
27605
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
27606
- ...__default__$3,
27607
- props: multiCascaderComposeProps(),
27608
- emits: ["update:modelValue", "change"],
27609
- setup(__props, { emit: emits }) {
27610
- const props = __props;
27611
- const path = ref([]);
27612
- const optionsMap = computed(() => {
27613
- let res = {};
27614
- const getValue = (list) => {
27615
- list.forEach((row) => {
27616
- let key = row[props.optionValueName];
27617
- let value = row[props.optionLabelName];
27618
- if (!res[key]) {
27619
- res[key] = {
27620
- [props.optionValueName]: key,
27621
- [props.optionLabelName]: value
27622
- };
27623
- }
27624
- if (row.children) {
27625
- getValue(row.children);
27626
- }
27627
- });
27628
- };
27629
- getValue(props.options);
27630
- return res;
27631
- });
27632
- const checkedMap = computed(() => {
27633
- let res = [];
27634
- props.modelValue.forEach((item) => {
27635
- let temp = optionsMap.value[item] || {};
27636
- temp = {
27637
- [props.optionValueName]: item,
27638
- [props.optionLabelName]: item,
27639
- ...temp
27640
- };
27641
- res.push(temp);
27642
- });
27643
- return res;
27644
- });
27645
- const checkedHideCount = computed(() => {
27646
- if (props.maxTagCount && checkedMap.value.length > props.maxTagCount) {
27647
- return checkedMap.value.length - props.maxTagCount;
27648
- } else {
27649
- return 0;
27650
- }
27651
- });
27652
- const checkedShowMap = computed(() => {
27653
- if (checkedHideCount.value > 0) {
27654
- return checkedMap.value.slice(0, props.maxTagCount);
27655
- } else {
27656
- return checkedMap.value;
27657
- }
27658
- });
27659
- const modulersOptions = computed(() => {
27660
- let res = [{ children: props.options }];
27661
- for (let i = 0; i < path.value.length; i++) {
27662
- let parent = res[res.length - 1];
27663
- let index = path.value[i].index;
27664
- let next = parent.children?.[index];
27665
- next && res.push(next);
27666
- }
27667
- return res;
27668
- });
27669
- const modulersStatusOptions = computed(() => {
27670
- let res = [];
27671
- let parentChecked = false;
27672
- for (let i = 0; i < modulersOptions.value.length; i++) {
27673
- let tempRes = [];
27674
- let tempChildren = modulersOptions.value[i].children;
27675
- if (tempChildren) {
27676
- for (let j = 0; j < tempChildren.length; j++) {
27677
- if (parentChecked) {
27678
- tempRes.push({ checked: true });
27679
- } else {
27680
- let tempRes2 = tempChildren[j];
27681
- let tempIndex2 = props.modelValue.indexOf(tempRes2[props.optionValueName]);
27682
- if (tempIndex2 !== -1) {
27683
- tempRes.push({ checked: true });
27684
- } else {
27685
- if (tempRes2.children) {
27686
- let allSonValues = getAllSonValues(tempRes2.children);
27687
- let indeterminate = false;
27688
- for (let k = 0; k < allSonValues.length; k++) {
27689
- if (props.modelValue.indexOf(allSonValues[k]) !== -1) {
27690
- indeterminate = true;
27691
- break;
27692
- }
27693
- }
27694
- tempRes.push({ checked: false, indeterminate });
27695
- } else {
27696
- tempRes.push({ checked: false });
27697
- }
27698
- }
27699
- }
27700
- }
27701
- }
27702
- res.push(tempRes);
27703
- if (!parentChecked) {
27704
- if (tempChildren) {
27705
- for (let j = 0; j < tempChildren.length; j++) {
27706
- let tempRes2 = tempChildren[j];
27707
- let tempIndex2 = props.modelValue.indexOf(tempRes2[props.optionValueName]);
27708
- if (path.value[i] && tempRes2[props.optionValueName] === path.value[i][props.optionValueName] && tempIndex2 !== -1) {
27709
- parentChecked = true;
27710
- break;
27711
- }
27712
- }
27713
- }
27714
- }
27715
- }
27716
- return res;
27717
- });
27718
- const modulersAllStatusOptions = computed(() => {
27719
- let res = [];
27720
- for (let i = 0; i < modulersStatusOptions.value.length; i++) {
27721
- let checked = true;
27722
- let indeterminate = false;
27723
- for (let j = 0; j < modulersStatusOptions.value[i].length; j++) {
27724
- let tempRes2 = modulersStatusOptions.value[i][j];
27725
- if (!tempRes2.checked) {
27726
- checked = false;
27727
- break;
27728
- }
27729
- }
27730
- if (!checked) {
27731
- for (let k = 0; k < modulersStatusOptions.value[i].length; k++) {
27732
- let tempRes2 = modulersStatusOptions.value[i][k];
27733
- if (tempRes2.indeterminate || tempRes2.checked) {
27734
- indeterminate = true;
27735
- break;
27736
- }
27737
- }
27738
- }
27739
- res.push({ checked, indeterminate });
27740
- }
27741
- return res;
27742
- });
27743
- const handleClick = (option, level, index) => {
27744
- if (option.children) {
27745
- path.value.splice(level);
27746
- path.value[level] = { ...option, index };
27747
- } else {
27748
- path.value.splice(level);
27749
- handleToggle(option, level, index);
27750
- }
27751
- };
27752
- const handleClickCheckbox = (option, level, index) => {
27753
- if (option.children) {
27754
- path.value.splice(level);
27755
- path.value[level] = { ...option, index };
27756
- } else {
27757
- path.value.splice(level);
27758
- }
27759
- handleToggle(option, level, index);
27760
- };
27761
- const handleToggle = (option, level, index) => {
27762
- let checked = [...props.modelValue];
27763
- let unChecked = [];
27764
- let tempOption = modulersOptions.value[level].children?.[index];
27765
- let tempStatus = modulersStatusOptions.value[level][index];
27766
- if (tempStatus.checked) {
27767
- unChecked.push(tempOption?.[props.optionValueName]);
27768
- if (tempOption?.children) {
27769
- let allSonValues = getAllSonValues(tempOption.children);
27770
- unChecked = unChecked.concat(allSonValues);
27771
- }
27772
- if (level >= 0) {
27773
- tempOption = modulersOptions.value[level];
27774
- }
27775
- for (let i = level; i >= 0; i--) {
27776
- let tempOption2 = modulersOptions.value[i];
27777
- let tempStatus2 = modulersAllStatusOptions.value[i];
27778
- if (tempStatus2.checked) {
27779
- let tempValues = tempOption2.children?.map((item) => item[props.optionValueName]).filter((item) => item !== tempOption?.[props.optionValueName]) || [];
27780
- unChecked.push(tempOption2[props.optionValueName]);
27781
- checked = checked.concat(tempValues);
27782
- }
27783
- tempOption = tempOption2;
27784
- }
27785
- } else {
27786
- checked.push(tempOption?.[props.optionValueName]);
27787
- if (tempOption?.children) {
27788
- let allSonValues = getAllSonValues(tempOption.children);
27789
- allSonValues = allSonValues.filter((item) => item !== tempOption?.[props.optionValueName]);
27790
- unChecked = unChecked.concat(allSonValues);
27791
- }
27792
- for (let i = level; i > 0; i--) {
27793
- let tempOption2 = modulersOptions.value[i];
27794
- let allIsChecked = true;
27795
- tempOption2.children?.forEach((item) => {
27796
- if (checked.indexOf(item[props.optionValueName]) === -1) {
27797
- allIsChecked = false;
27798
- }
27799
- });
27800
- if (allIsChecked) {
27801
- checked.push(tempOption2[props.optionValueName]);
27802
- if (tempOption2.children) {
27803
- let allSonValues = getAllSonValues(tempOption2.children);
27804
- allSonValues = allSonValues.filter((item) => item !== tempOption2[props.optionValueName]);
27805
- unChecked = unChecked.concat(allSonValues);
27806
- }
27807
- }
27808
- }
27809
- }
27810
- unChecked = unChecked.filter((item, index2, arr) => {
27811
- return item !== void 0 && arr.indexOf(item) === index2;
27812
- });
27813
- checked = checked.filter((item, index2, arr) => {
27814
- return item !== void 0 && arr.indexOf(item) === index2;
27815
- }).filter((item) => {
27816
- return unChecked.indexOf(item) === -1;
27817
- });
27818
- emits("update:modelValue", checked);
27819
- emits("change", checked);
27820
- };
27821
- const handleClickAll = (level) => {
27822
- let checked = [...props.modelValue];
27823
- let unChecked = [];
27824
- let tempOption = modulersOptions.value[level];
27825
- let tempStatus = modulersAllStatusOptions.value[level];
27826
- if (level === 0) {
27827
- if (tempStatus.checked) {
27828
- checked = [];
27829
- } else {
27830
- checked = modulersOptions.value[level].children?.map((item) => item[props.optionValueName]) || [];
27831
- }
27832
- } else {
27833
- if (tempStatus.checked) {
27834
- unChecked.push(tempOption[props.optionValueName]);
27835
- if (tempOption.children) {
27836
- let allSonValues = getAllSonValues(tempOption.children);
27837
- unChecked = unChecked.concat(allSonValues);
27838
- }
27839
- for (let i = level; i >= 0; i--) {
27840
- let tempOption2 = modulersOptions.value[i];
27841
- let tempStatus2 = modulersAllStatusOptions.value[i];
27842
- if (tempStatus2.checked) {
27843
- let tempValues = tempOption2.children?.map((item) => item[props.optionValueName]).filter((item) => item !== tempOption[props.optionValueName]) || [];
27844
- unChecked.push(tempOption2[props.optionValueName]);
27845
- checked = checked.concat(tempValues);
27846
- }
27847
- tempOption = tempOption2;
27848
- }
27849
- } else {
27850
- checked.push(tempOption[props.optionValueName]);
27851
- if (tempOption.children) {
27852
- let allSonValues = getAllSonValues(tempOption.children);
27853
- allSonValues = allSonValues.filter((item) => item !== tempOption[props.optionValueName]);
27854
- unChecked = unChecked.concat(allSonValues);
27855
- }
27856
- for (let i = level; i > 0; i--) {
27857
- let tempOption2 = modulersOptions.value[i];
27858
- let allIsChecked = true;
27859
- tempOption2.children?.forEach((item) => {
27860
- if (checked.indexOf(item[props.optionValueName]) === -1) {
27861
- allIsChecked = false;
27862
- }
27863
- });
27864
- if (allIsChecked) {
27865
- checked.push(tempOption2[props.optionValueName]);
27866
- if (tempOption2.children) {
27867
- let allSonValues = getAllSonValues(tempOption2.children);
27868
- allSonValues = allSonValues.filter((item) => item !== tempOption2[props.optionValueName]);
27869
- unChecked = unChecked.concat(allSonValues);
27870
- }
27871
- }
27872
- }
27873
- }
27874
- }
27875
- unChecked = unChecked.filter((item, index, arr) => {
27876
- return item !== void 0 && arr.indexOf(item) === index;
27877
- });
27878
- checked = checked.filter((item, index, arr) => {
27879
- return item !== void 0 && arr.indexOf(item) === index;
27880
- }).filter((item) => {
27881
- return unChecked.indexOf(item) === -1;
27882
- });
27883
- emits("update:modelValue", checked);
27884
- emits("change", checked);
27885
- };
27886
- const getAllSonValues = (data) => {
27887
- let res = [];
27888
- const getValue = (list) => {
27889
- list.forEach((row) => {
27890
- if (row.children) {
27891
- res.push(row[props.optionValueName]);
27892
- getValue(row.children);
27893
- } else {
27894
- res.push(row[props.optionValueName]);
27895
- }
27896
- });
27897
- };
27898
- getValue(data);
27899
- return res;
27900
- };
27901
- const removeItem = (value) => {
27902
- let checked = [...props.modelValue];
27903
- checked = checked.filter((item) => item !== value);
27904
- emits("update:modelValue", checked);
27905
- emits("change", checked);
27906
- };
27907
- const removeAll = () => {
27908
- emits("update:modelValue", []);
27909
- emits("change", []);
27910
- };
27911
- return (_ctx, _cache) => {
27912
- const _component_a_checkbox = resolveComponent("a-checkbox");
27913
- const _component_a_form_item_rest = resolveComponent("a-form-item-rest");
27914
- const _component_a_empty = resolveComponent("a-empty");
27915
- const _component_v_dropdown = resolveComponent("v-dropdown");
27916
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
27917
- createVNode(_component_v_dropdown, {
27918
- placement: "bottom-start",
27919
- container: false,
27920
- distance: 2
27921
- }, {
27922
- popper: withCtx(() => [
27923
- props.options.length ? (openBlock(), createElementBlock("div", _hoisted_11$4, [
27924
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(modulersOptions), (moduler, level) => {
27925
- return openBlock(), createElementBlock("div", {
27926
- key: level,
27927
- class: "bm-multi-cascader-moduler"
27928
- }, [
27929
- createCommentVNode(" container "),
27930
- createElementVNode("section", _hoisted_12$4, [
27931
- moduler.children && moduler.children.length > 0 ? (openBlock(), createElementBlock("div", {
27932
- key: 0,
27933
- class: "bm-multi-cascader-item bm-multi-cascader-all",
27934
- onClick: ($event) => handleClickAll(level)
27935
- }, [
27936
- createVNode(_component_a_form_item_rest, null, {
27937
- default: withCtx(() => [
27938
- createVNode(_component_a_checkbox, {
27939
- class: "bm-multi-cascader-item-checkbox",
27940
- checked: unref(modulersAllStatusOptions)[level].checked,
27941
- indeterminate: unref(modulersAllStatusOptions)[level].indeterminate,
27942
- onChange: _cache[0] || (_cache[0] = withModifiers(() => {
27943
- }, ["stop"]))
27944
- }, null, 8, ["checked", "indeterminate"])
27945
- ]),
27946
- _: 2
27947
- }, 1024),
27948
- _hoisted_14$4
27949
- ], 8, _hoisted_13$4)) : createCommentVNode("v-if", true),
27950
- (openBlock(true), createElementBlock(Fragment, null, renderList(moduler.children, (option, index) => {
27951
- return openBlock(), createElementBlock("div", {
27952
- key: index,
27953
- class: normalizeClass(["bm-multi-cascader-item", {
27954
- "is-active": path.value.find((item) => option[props.optionValueName] === item[props.optionValueName])
27955
- }]),
27956
- onClick: ($event) => handleClick(option, level, index)
27957
- }, [
27958
- createVNode(_component_a_form_item_rest, null, {
27959
- default: withCtx(() => [
27960
- createVNode(_component_a_checkbox, {
27961
- class: "bm-multi-cascader-item-checkbox",
27962
- checked: unref(modulersStatusOptions)[level][index].checked,
27963
- indeterminate: unref(modulersStatusOptions)[level][index].indeterminate,
27964
- onClick: withModifiers(($event) => handleClickCheckbox(option, level, index), ["stop"]),
27965
- onChange: _cache[1] || (_cache[1] = withModifiers(() => {
27966
- }, ["stop"]))
27967
- }, null, 8, ["checked", "indeterminate", "onClick"])
27968
- ]),
27969
- _: 2
27970
- }, 1024),
27971
- createElementVNode("span", _hoisted_16$3, [
27972
- createElementVNode("span", _hoisted_17$2, toDisplayString(option[props.optionLabelName]), 1),
27973
- option.children ? (openBlock(), createBlock(unref(RightOutlined$1), {
27974
- key: 0,
27975
- class: "bm-multi-cascader-item-caret"
27976
- })) : createCommentVNode("v-if", true)
27977
- ])
27978
- ], 10, _hoisted_15$4);
27979
- }), 128))
27980
- ])
27981
- ]);
27982
- }), 128))
27983
- ])) : (openBlock(), createElementBlock("div", _hoisted_18$2, [
27984
- createElementVNode("div", _hoisted_19$2, [
27985
- renderSlot(_ctx.$slots, "empty", {}, () => [
27986
- createVNode(_component_a_empty, {
27987
- class: "bm-multi-cascader-popover-empty",
27988
- image: props.emptyImage
27989
- }, null, 8, ["image"])
27990
- ])
27991
- ])
27992
- ]))
27993
- ]),
27994
- default: withCtx(() => [
27995
- createElementVNode("div", _hoisted_2$7, [
27996
- createCommentVNode(" container "),
27997
- createElementVNode("section", _hoisted_3$6, [
27998
- props.modelValue.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
27999
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(checkedShowMap), (item, index) => {
28000
- return openBlock(), createElementBlock("div", {
28001
- key: index,
28002
- class: "bm-multi-cascader-tag"
28003
- }, [
28004
- createElementVNode("span", _hoisted_5$6, toDisplayString(item[props.optionLabelName]), 1),
28005
- createElementVNode("span", {
28006
- class: "bm-multi-cascader-tag-close",
28007
- onClick: withModifiers(($event) => removeItem(item[props.optionValueName]), ["stop"])
28008
- }, [
28009
- createVNode(unref(CloseOutlined$1), { class: "bm-multi-cascader-tag-close-inner" })
28010
- ], 8, _hoisted_6$5)
28011
- ]);
28012
- }), 128)),
28013
- createCommentVNode(" \u66F4\u591A\u6570\u91CF\u9690\u85CF "),
28014
- unref(checkedHideCount) ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
28015
- createElementVNode("span", _hoisted_8$5, "+ " + toDisplayString(unref(checkedHideCount)), 1)
28016
- ])) : createCommentVNode("v-if", true)
28017
- ])) : (openBlock(), createElementBlock("div", _hoisted_9$4, toDisplayString(props.placeholder), 1))
28018
- ]),
28019
- createElementVNode("div", _hoisted_10$4, [
28020
- props.allowClear && props.modelValue.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
28021
- createVNode(unref(DownOutlined$1), { class: "bm-multi-cascader-icon bm-multi-cascader-caret" }),
28022
- createVNode(unref(CloseCircleFilled$1), {
28023
- class: "bm-multi-cascader-icon bm-multi-cascader-remove-all",
28024
- onClick: withModifiers(removeAll, ["stop"])
28025
- }, null, 8, ["onClick"])
28026
- ], 64)) : (openBlock(), createBlock(unref(DownOutlined$1), { key: 1 }))
28027
- ])
28028
- ])
28029
- ]),
28030
- _: 3
28031
- })
28032
- ]);
28033
- };
28034
- }
28035
- });
28036
- var MultiCascaderCompose = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "multi-cascader-compose.vue"]]);
28037
-
28038
- const BmMultiCascaderCompose = withInstall$2(MultiCascaderCompose);
27505
+ var SearchResetBtn = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "search-reset-btn.vue"]]);
28039
27506
 
28040
27507
  const __default__$2 = {
28041
27508
  name: "BmSearchFilter"
@@ -28047,7 +27514,6 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
28047
27514
  setup(__props, { expose, emit: emits }) {
28048
27515
  const props = __props;
28049
27516
  FormCreate.component("SearchResetBtn", SearchResetBtn);
28050
- FormCreate.component("BmMultiCascaderCompose", BmMultiCascaderCompose);
28051
27517
  const isExpand = ref(false);
28052
27518
  const searchResetBtnRule = reactive([
28053
27519
  {
@@ -36944,8 +36410,8 @@ const _hoisted_7$4 = {
36944
36410
  class: "__shops-filter-tabs"
36945
36411
  };
36946
36412
  const _hoisted_8$4 = { class: "label" };
36947
- const _hoisted_9$3 = { class: "__shops-filter-areas" };
36948
- const _hoisted_10$3 = ["onClick"];
36413
+ const _hoisted_9$4 = { class: "__shops-filter-areas" };
36414
+ const _hoisted_10$4 = ["onClick"];
36949
36415
  const _hoisted_11$3 = ["onClick"];
36950
36416
  const _hoisted_12$3 = { class: "__shops-filter-selecting" };
36951
36417
  const _hoisted_13$3 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
@@ -37072,13 +36538,13 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
37072
36538
  class: "__shops-filter-area-tabs"
37073
36539
  }, [
37074
36540
  createElementVNode("div", _hoisted_8$4, toDisplayString(item.label) + ":", 1),
37075
- createElementVNode("div", _hoisted_9$3, [
36541
+ createElementVNode("div", _hoisted_9$4, [
37076
36542
  createElementVNode("span", {
37077
36543
  class: normalizeClass({
37078
36544
  active: !(item.multiple ? _ctx.filterSelects[index].length : !!_ctx.filterSelects[index])
37079
36545
  }),
37080
36546
  onClick: withModifiers(($event) => _ctx.changeFilterSelect(index, ""), ["self"])
37081
- }, "\u5168\u90E8", 10, _hoisted_10$3),
36547
+ }, "\u5168\u90E8", 10, _hoisted_10$4),
37082
36548
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element) => {
37083
36549
  return openBlock(), createElementBlock("span", {
37084
36550
  key: element.code,
@@ -44308,12 +43774,12 @@ const _hoisted_8$3 = {
44308
43774
  key: 0,
44309
43775
  class: "department-desc"
44310
43776
  };
44311
- const _hoisted_9$2 = {
43777
+ const _hoisted_9$3 = {
44312
43778
  key: 2,
44313
43779
  class: "noData",
44314
43780
  style: { "height": "280px" }
44315
43781
  };
44316
- const _hoisted_10$2 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
43782
+ const _hoisted_10$3 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
44317
43783
  const _hoisted_11$2 = { class: "__selector-chosen-panel" };
44318
43784
  const _hoisted_12$2 = {
44319
43785
  key: 0,
@@ -44396,10 +43862,10 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
44396
43862
  ]),
44397
43863
  _: 1
44398
43864
  }, 8, ["checkedKeys", "tree-data"])) : createCommentVNode("v-if", true),
44399
- _ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
43865
+ _ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
44400
43866
  createVNode(_component_Empty, { image: _ctx.emptyPic }, {
44401
43867
  description: withCtx(() => [
44402
- createElementVNode("span", _hoisted_10$2, toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
43868
+ createElementVNode("span", _hoisted_10$3, toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
44403
43869
  ]),
44404
43870
  _: 1
44405
43871
  }, 8, ["image"])
@@ -45146,11 +44612,11 @@ const _hoisted_8$2 = {
45146
44612
  key: 0,
45147
44613
  class: "__selector-modal-options"
45148
44614
  };
45149
- const _hoisted_9$1 = {
44615
+ const _hoisted_9$2 = {
45150
44616
  key: 1,
45151
44617
  class: "__selector-modal-options"
45152
44618
  };
45153
- const _hoisted_10$1 = { class: "department-option-item" };
44619
+ const _hoisted_10$2 = { class: "department-option-item" };
45154
44620
  const _hoisted_11$1 = {
45155
44621
  key: 0,
45156
44622
  class: "department-desc"
@@ -45222,7 +44688,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
45222
44688
  }, 1032, ["checked", "onUpdate:checked"])
45223
44689
  ]);
45224
44690
  }), 128))
45225
- ])) : _ctx.activeKey === 1 ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
44691
+ ])) : _ctx.activeKey === 1 ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
45226
44692
  createVNode(_component_a_tree, {
45227
44693
  checkedKeys: _ctx.departmentChecked,
45228
44694
  "onUpdate:checkedKeys": _cache[1] || (_cache[1] = ($event) => _ctx.departmentChecked = $event),
@@ -45231,7 +44697,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
45231
44697
  "tree-data": _ctx.list
45232
44698
  }, {
45233
44699
  title: withCtx(({ title, description }) => [
45234
- createElementVNode("div", _hoisted_10$1, [
44700
+ createElementVNode("div", _hoisted_10$2, [
45235
44701
  createElementVNode("span", null, toDisplayString(title), 1),
45236
44702
  description ? (openBlock(), createElementBlock("p", _hoisted_11$1, toDisplayString(description), 1)) : createCommentVNode("v-if", true)
45237
44703
  ])
@@ -45468,10 +44934,10 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
45468
44934
  "curlist-keys": _ctx.curlistKeys,
45469
44935
  "is-tree": _ctx.multipTree,
45470
44936
  "data-map": _ctx.dataMap,
45471
- onFetchList: _ctx.fetch,
45472
- showCount: _ctx.showCount,
45473
- unitStr: _ctx.unitStr
45474
- }, null, 8, ["selected", "limit", "list", "curlist-keys", "is-tree", "data-map", "onFetchList", "showCount", "unitStr"]))
44937
+ "show-count": _ctx.showCount,
44938
+ "unit-str": _ctx.unitStr,
44939
+ onFetchList: _ctx.fetch
44940
+ }, null, 8, ["selected", "limit", "list", "curlist-keys", "is-tree", "data-map", "show-count", "unit-str", "onFetchList"]))
45475
44941
  ])
45476
44942
  ]),
45477
44943
  _: 1
@@ -46121,12 +45587,11 @@ const _sfc_main$3 = {
46121
45587
  ];
46122
45588
  const state = reactive({
46123
45589
  uploadBarColor: "#4DA0FF",
46124
- uploadDisabled: false,
46125
45590
  uploadedList: [],
46126
45591
  fileList: {},
46127
45592
  onepViewImageHover: {},
46128
45593
  previewVisible: false,
46129
- onepViewImage: "",
45594
+ onepViewImage: {},
46130
45595
  extraConfigs: {
46131
45596
  maxSize: 5,
46132
45597
  maxCount: 5,
@@ -46176,7 +45641,22 @@ const _sfc_main$3 = {
46176
45641
  }, 1e3);
46177
45642
  methods.customUploadRequest(file);
46178
45643
  }
46179
- }
45644
+ },
45645
+ pictureFileTypes: [
45646
+ "img",
45647
+ "image",
45648
+ "png",
45649
+ "PNG",
45650
+ "image/png",
45651
+ "jpg",
45652
+ "JPG",
45653
+ "jpeg",
45654
+ "JPEG",
45655
+ "image/jpeg",
45656
+ "gif",
45657
+ "GIF",
45658
+ "image/gif"
45659
+ ]
46180
45660
  });
46181
45661
  const methods = {
46182
45662
  updateUploadProgress(file, progress) {
@@ -46257,24 +45737,9 @@ const _sfc_main$3 = {
46257
45737
  state.onepViewImageHover[uid] = false;
46258
45738
  },
46259
45739
  viewOnePicture(item) {
46260
- if ([
46261
- "img",
46262
- "image",
46263
- "png",
46264
- "PNG",
46265
- "image/png",
46266
- "jpg",
46267
- "JPG",
46268
- "jpeg",
46269
- "JPEG",
46270
- "image/jpeg",
46271
- "gif",
46272
- "GIF",
46273
- "image/gif"
46274
- ].includes(item.type.toLowerCase())) {
45740
+ if (state.pictureFileTypes.includes(item.type.toLowerCase())) {
46275
45741
  state.previewVisible = true;
46276
45742
  state.onepViewImage = item;
46277
- return;
46278
45743
  }
46279
45744
  emit("previewFile", item);
46280
45745
  },
@@ -46371,14 +45836,11 @@ const _sfc_main$3 = {
46371
45836
  deep: true
46372
45837
  });
46373
45838
  const uploadDisabled = computed(() => {
46374
- if (Object.keys(state.fileList).length >= state.extraConfigs.maxCount) {
45839
+ if (props.uploadProps.disabled || Object.keys(state.fileList).length >= state.extraConfigs.maxCount) {
46375
45840
  return true;
46376
45841
  }
46377
45842
  return false;
46378
45843
  });
46379
- watchEffect(() => {
46380
- state.uploadConfigs.disabled = uploadDisabled.value;
46381
- });
46382
45844
  watch(() => uploadDisabled.value, (value) => {
46383
45845
  emit("updateDisabledStatus", value);
46384
45846
  }, {
@@ -46418,57 +45880,53 @@ const _hoisted_5$1 = ["src"];
46418
45880
  const _hoisted_6$1 = ["src"];
46419
45881
  const _hoisted_7$1 = ["src"];
46420
45882
  const _hoisted_8$1 = ["src"];
46421
- const _hoisted_9 = ["src"];
46422
- const _hoisted_10 = {
46423
- key: 6,
46424
- class: "bm-upload__picture-result__cover"
46425
- };
46426
- const _hoisted_11 = ["onClick"];
46427
- const _hoisted_12 = ["onClick"];
46428
- const _hoisted_13 = ["onMouseenter", "onMouseleave"];
46429
- const _hoisted_14 = /* @__PURE__ */ createElementVNode("div", { class: "bm-upload__picture-error__image" }, null, -1);
46430
- const _hoisted_15 = /* @__PURE__ */ createElementVNode("div", null, "\u4E0A\u4F20\u9519\u8BEF", -1);
46431
- const _hoisted_16 = {
45883
+ const _hoisted_9$1 = ["onClick"];
45884
+ const _hoisted_10$1 = ["onClick"];
45885
+ const _hoisted_11 = ["onMouseenter", "onMouseleave"];
45886
+ const _hoisted_12 = /* @__PURE__ */ createElementVNode("div", { class: "bm-upload__picture-error__image" }, null, -1);
45887
+ const _hoisted_13 = /* @__PURE__ */ createElementVNode("div", null, "\u4E0A\u4F20\u9519\u8BEF", -1);
45888
+ const _hoisted_14 = {
46432
45889
  key: 0,
46433
45890
  class: "bm-upload__picture-result__cover"
46434
45891
  };
46435
- const _hoisted_17 = ["onClick"];
46436
- const _hoisted_18 = ["onClick"];
46437
- const _hoisted_19 = {
45892
+ const _hoisted_15 = ["onClick"];
45893
+ const _hoisted_16 = ["onClick"];
45894
+ const _hoisted_17 = {
46438
45895
  key: 0,
46439
45896
  style: { "font-size": "24px", "color": "#9393a3" }
46440
45897
  };
46441
- const _hoisted_20 = { class: "ant-upload-text bm-upload__text" };
46442
- const _hoisted_21 = {
45898
+ const _hoisted_18 = { class: "ant-upload-text bm-upload__text" };
45899
+ const _hoisted_19 = {
46443
45900
  key: 0,
46444
45901
  class: "bm-upload__tips"
46445
45902
  };
46446
- const _hoisted_22 = { key: 1 };
46447
- const _hoisted_23 = {
45903
+ const _hoisted_20 = { key: 1 };
45904
+ const _hoisted_21 = {
46448
45905
  key: 0,
46449
45906
  class: "bm-upload__tips"
46450
45907
  };
46451
- const _hoisted_24 = {
45908
+ const _hoisted_22 = {
46452
45909
  key: 2,
46453
45910
  class: "bm-upload__file-list"
46454
45911
  };
46455
- const _hoisted_25 = { class: "bm-upload__file__detail" };
46456
- const _hoisted_26 = /* @__PURE__ */ createElementVNode("div", { class: "bm-upload__file__icon" }, [
45912
+ const _hoisted_23 = { class: "bm-upload__file__detail" };
45913
+ const _hoisted_24 = /* @__PURE__ */ createElementVNode("div", { class: "bm-upload__file__icon" }, [
46457
45914
  /* @__PURE__ */ createElementVNode("div", { class: "bm-upload__attachment" })
46458
45915
  ], -1);
46459
- const _hoisted_27 = { class: "bm-upload__file__name" };
46460
- const _hoisted_28 = { class: "bm-upload__file__progress-tools" };
46461
- const _hoisted_29 = ["onClick"];
46462
- const _hoisted_30 = ["onClick"];
46463
- const _hoisted_31 = {
45916
+ const _hoisted_25 = { class: "bm-upload__file__name" };
45917
+ const _hoisted_26 = { class: "bm-upload__file__progress-tools" };
45918
+ const _hoisted_27 = ["onClick"];
45919
+ const _hoisted_28 = ["onClick"];
45920
+ const _hoisted_29 = {
46464
45921
  key: 0,
46465
45922
  class: "bm-upload__progress"
46466
45923
  };
46467
- const _hoisted_32 = { style: { "padding-top": "20px" } };
46468
- const _hoisted_33 = ["src"];
46469
- const _hoisted_34 = ["title", "src"];
45924
+ const _hoisted_30 = { style: { "padding-top": "20px" } };
45925
+ const _hoisted_31 = ["src"];
45926
+ const _hoisted_32 = ["title", "src"];
46470
45927
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46471
45928
  const _component_a_progress = resolveComponent("a-progress");
45929
+ const _component_a_image = resolveComponent("a-image");
46472
45930
  const _component_PlusOutlined = resolveComponent("PlusOutlined");
46473
45931
  const _component_UploadOutlined = resolveComponent("UploadOutlined");
46474
45932
  const _component_a_button = resolveComponent("a-button");
@@ -46481,148 +45939,145 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46481
45939
  "bm-upload--picture-card--has-tips": !($setup.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) && !_ctx.extraConfigs.myBtn && _ctx.uploadConfigs.listType === "picture-card" && _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips
46482
45940
  }])
46483
45941
  }, [
46484
- _ctx.uploadConfigs.listType === "picture-card" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.fileList, (item) => {
46485
- return openBlock(), createElementBlock("div", {
46486
- key: item,
46487
- class: normalizeClass(["bm-upload__picture", { "bm-upload__picture--error": item.status === "error" }])
46488
- }, [
46489
- createCommentVNode(" \u4E0A\u4F20\u4E2D "),
46490
- item.progress < 100 && item.status !== "error" ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
46491
- _hoisted_2$2,
46492
- createVNode(_component_a_progress, {
46493
- type: "line",
46494
- "stroke-width": 2,
46495
- "show-info": false,
46496
- "stroke-color": _ctx.uploadBarColor,
46497
- percent: item.uid?.progress
46498
- }, null, 8, ["stroke-color", "percent"])
46499
- ])) : createCommentVNode("v-if", true),
46500
- createCommentVNode(" \u56FE\u7247\u5C55\u793A "),
46501
- item.progress >= 100 && item.status !== "error" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
46502
- !_ctx.uploadConfigs.showSlotList ? (openBlock(), createElementBlock("div", {
46503
- key: 0,
46504
- class: "bm-upload__picture-result",
46505
- onMouseenter: ($event) => _ctx.pictureHoverEnter(item.uid),
46506
- onMouseleave: ($event) => _ctx.pictureHoverLeave(item.uid),
46507
- onClick: _cache[0] || (_cache[0] = (e) => e.stopPropagation())
46508
- }, [
46509
- ["pdf", "PDF", "application/pdf"].includes(item.type) ? (openBlock(), createElementBlock("img", {
45942
+ _ctx.uploadConfigs.listType === "picture-card" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
45943
+ createCommentVNode(" \u4E0D\u8981\u4F7F\u7528 a-image-preview-group \u5305\u88F9\uFF0C\u4E0D\u7136\u4F1A\u51FA\u73B0\u91CD\u590D\u56FE\u7247\u548C\u7A7A\u767D\u56FE\u7247 "),
45944
+ createCommentVNode(" <a-image-preview-group> "),
45945
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fileList, (item) => {
45946
+ return openBlock(), createElementBlock("div", {
45947
+ key: item,
45948
+ class: normalizeClass(["bm-upload__picture", { "bm-upload__picture--error": item.status === "error" }])
45949
+ }, [
45950
+ createCommentVNode(" \u4E0A\u4F20\u4E2D "),
45951
+ item.progress < 100 && item.status !== "error" ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
45952
+ _hoisted_2$2,
45953
+ createVNode(_component_a_progress, {
45954
+ type: "line",
45955
+ "stroke-width": 2,
45956
+ "show-info": false,
45957
+ "stroke-color": _ctx.uploadBarColor,
45958
+ percent: item.uid?.progress
45959
+ }, null, 8, ["stroke-color", "percent"])
45960
+ ])) : createCommentVNode("v-if", true),
45961
+ createCommentVNode(" \u56FE\u7247\u5C55\u793A "),
45962
+ item.progress >= 100 && item.status !== "error" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
45963
+ !_ctx.uploadConfigs.showSlotList ? (openBlock(), createElementBlock("div", {
46510
45964
  key: 0,
46511
- class: "bm-upload__picture-result__image",
46512
- src: $setup.icons.pdf,
46513
- alt: "avatar"
46514
- }, null, 8, _hoisted_4$1)) : [
46515
- "xlsx",
46516
- "XLSX",
46517
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
46518
- ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46519
- key: 1,
46520
- class: "bm-upload__picture-result__image",
46521
- src: $setup.icons.excel,
46522
- alt: "avatar"
46523
- }, null, 8, _hoisted_5$1)) : [
46524
- "ppt",
46525
- "PPT",
46526
- "application/vnd.ms-powerpoint",
46527
- "pptx",
46528
- "PPTX",
46529
- "application/vnd.openxmlformats-officedocument.presentationml.presentation"
46530
- ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46531
- key: 2,
46532
- class: "bm-upload__picture-result__image",
46533
- src: $setup.icons.ppt,
46534
- alt: "avatar"
46535
- }, null, 8, _hoisted_6$1)) : [
46536
- "doc",
46537
- "DOC",
46538
- "application/msword",
46539
- "docx",
46540
- "DOCX",
46541
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
46542
- ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46543
- key: 3,
46544
- class: "bm-upload__picture-result__image",
46545
- src: $setup.icons.doc,
46546
- alt: "avatar"
46547
- }, null, 8, _hoisted_7$1)) : [
46548
- "img",
46549
- "image",
46550
- "png",
46551
- "PNG",
46552
- "image/png",
46553
- "jpg",
46554
- "JPG",
46555
- "jpeg",
46556
- "JPEG",
46557
- "image/jpeg",
46558
- "gif",
46559
- "GIF",
46560
- "image/gif"
46561
- ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46562
- key: 4,
46563
- class: "bm-upload__picture-result__image",
46564
- src: item.url,
46565
- alt: "avatar"
46566
- }, null, 8, _hoisted_8$1)) : (openBlock(), createElementBlock("img", {
46567
- key: 5,
46568
- class: "bm-upload__picture-result__image",
46569
- src: $setup.icons.others,
46570
- alt: "avatar"
46571
- }, null, 8, _hoisted_9)),
46572
- _ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_10, [
46573
- !_ctx.extraConfigs.canNotViewAccept?.includes(item?.type) ? (openBlock(), createElementBlock("div", {
45965
+ class: "bm-upload__picture-result",
45966
+ onMouseenter: ($event) => _ctx.pictureHoverEnter(item.uid),
45967
+ onMouseleave: ($event) => _ctx.pictureHoverLeave(item.uid),
45968
+ onClick: _cache[0] || (_cache[0] = (e) => e.stopPropagation())
45969
+ }, [
45970
+ ["pdf", "PDF", "application/pdf"].includes(item.type) ? (openBlock(), createElementBlock("img", {
46574
45971
  key: 0,
46575
- class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
46576
- onClick: ($event) => _ctx.viewOnePicture(item)
46577
- }, null, 8, _hoisted_11)) : createCommentVNode("v-if", true),
46578
- !(_ctx.extraConfigs.hidenDelBtn ?? false) ? (openBlock(), createElementBlock("div", {
45972
+ class: "bm-upload__picture-result__image",
45973
+ src: $setup.icons.pdf,
45974
+ alt: "\u56FE\u7247"
45975
+ }, null, 8, _hoisted_4$1)) : [
45976
+ "xlsx",
45977
+ "XLSX",
45978
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
45979
+ ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46579
45980
  key: 1,
45981
+ class: "bm-upload__picture-result__image",
45982
+ src: $setup.icons.excel,
45983
+ alt: "\u56FE\u7247"
45984
+ }, null, 8, _hoisted_5$1)) : [
45985
+ "ppt",
45986
+ "PPT",
45987
+ "application/vnd.ms-powerpoint",
45988
+ "pptx",
45989
+ "PPTX",
45990
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation"
45991
+ ].includes(item.type) ? (openBlock(), createElementBlock("img", {
45992
+ key: 2,
45993
+ class: "bm-upload__picture-result__image",
45994
+ src: $setup.icons.ppt,
45995
+ alt: "\u56FE\u7247"
45996
+ }, null, 8, _hoisted_6$1)) : [
45997
+ "doc",
45998
+ "DOC",
45999
+ "application/msword",
46000
+ "docx",
46001
+ "DOCX",
46002
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
46003
+ ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46004
+ key: 3,
46005
+ class: "bm-upload__picture-result__image",
46006
+ src: $setup.icons.doc,
46007
+ alt: "\u56FE\u7247"
46008
+ }, null, 8, _hoisted_7$1)) : _ctx.pictureFileTypes.includes(item.type) ? (openBlock(), createBlock(_component_a_image, {
46009
+ key: 4,
46010
+ class: "bm-upload__picture-result__image",
46011
+ src: item.url,
46012
+ alt: "\u56FE\u7247"
46013
+ }, null, 8, ["src"])) : (openBlock(), createElementBlock("img", {
46014
+ key: 5,
46015
+ class: "bm-upload__picture-result__image",
46016
+ src: $setup.icons.others,
46017
+ alt: "\u56FE\u7247"
46018
+ }, null, 8, _hoisted_8$1)),
46019
+ _ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", {
46020
+ key: 6,
46021
+ class: normalizeClass(["bm-upload__picture-result__cover", {
46022
+ isPicture: _ctx.pictureFileTypes.includes(item.type)
46023
+ }])
46024
+ }, [
46025
+ !_ctx.extraConfigs.canNotViewAccept?.includes(item?.type) ? (openBlock(), createElementBlock("div", {
46026
+ key: 0,
46027
+ class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
46028
+ onClick: ($event) => _ctx.viewOnePicture(item)
46029
+ }, null, 8, _hoisted_9$1)) : createCommentVNode("v-if", true),
46030
+ !(_ctx.extraConfigs.hidenDelBtn ?? false) ? (openBlock(), createElementBlock("div", {
46031
+ key: 1,
46032
+ class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--delete",
46033
+ onClick: ($event) => _ctx.deleteFile(item.uid)
46034
+ }, null, 8, _hoisted_10$1)) : createCommentVNode("v-if", true)
46035
+ ], 2)) : createCommentVNode("v-if", true)
46036
+ ], 40, _hoisted_3$1)) : renderSlot(_ctx.$slots, "file", {
46037
+ key: 1,
46038
+ file: item
46039
+ })
46040
+ ], 2112)) : createCommentVNode("v-if", true),
46041
+ createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
46042
+ item.status === "error" ? (openBlock(), createElementBlock("div", {
46043
+ key: 2,
46044
+ class: "bm-upload__picture-error",
46045
+ onMouseenter: ($event) => _ctx.pictureHoverEnter(item.uid),
46046
+ onMouseleave: ($event) => _ctx.pictureHoverLeave(item.uid),
46047
+ onClick: _cache[1] || (_cache[1] = (e) => e.stopPropagation())
46048
+ }, [
46049
+ _hoisted_12,
46050
+ _hoisted_13,
46051
+ _ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_14, [
46052
+ createElementVNode("div", {
46053
+ class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--retry",
46054
+ onClick: (e) => _ctx.reUpload(e, item.uid)
46055
+ }, null, 8, _hoisted_15),
46056
+ createElementVNode("div", {
46580
46057
  class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--delete",
46581
46058
  onClick: ($event) => _ctx.deleteFile(item.uid)
46582
- }, null, 8, _hoisted_12)) : createCommentVNode("v-if", true)
46059
+ }, null, 8, _hoisted_16)
46583
46060
  ])) : createCommentVNode("v-if", true)
46584
- ], 40, _hoisted_3$1)) : renderSlot(_ctx.$slots, "file", {
46585
- key: 1,
46586
- file: item
46587
- })
46588
- ], 2112)) : createCommentVNode("v-if", true),
46589
- createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
46590
- item.status === "error" ? (openBlock(), createElementBlock("div", {
46591
- key: 2,
46592
- class: "bm-upload__picture-error",
46593
- onMouseenter: ($event) => _ctx.pictureHoverEnter(item.uid),
46594
- onMouseleave: ($event) => _ctx.pictureHoverLeave(item.uid),
46595
- onClick: _cache[1] || (_cache[1] = (e) => e.stopPropagation())
46596
- }, [
46597
- _hoisted_14,
46598
- _hoisted_15,
46599
- _ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_16, [
46600
- createElementVNode("div", {
46601
- class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--retry",
46602
- onClick: (e) => _ctx.reUpload(e, item.uid)
46603
- }, null, 8, _hoisted_17),
46604
- createElementVNode("div", {
46605
- class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--delete",
46606
- onClick: ($event) => _ctx.deleteFile(item.uid)
46607
- }, null, 8, _hoisted_18)
46608
- ])) : createCommentVNode("v-if", true)
46609
- ], 40, _hoisted_13)) : createCommentVNode("v-if", true)
46610
- ], 2);
46611
- }), 128)) : createCommentVNode("v-if", true),
46061
+ ], 40, _hoisted_11)) : createCommentVNode("v-if", true)
46062
+ ], 2);
46063
+ }), 128)),
46064
+ createCommentVNode(" </a-image-preview-group> ")
46065
+ ], 2112)) : createCommentVNode("v-if", true),
46612
46066
  !($setup.uploadDisabled && _ctx.extraConfigs?.hideDisabledBtn) ? (openBlock(), createBlock(_component_a_upload, mergeProps$1({ key: 1 }, _ctx.uploadConfigs, {
46067
+ disabled: $setup.uploadDisabled,
46613
46068
  class: { "bm--upload__custom-button": _ctx.extraConfigs.myBtn },
46614
46069
  onReject: _ctx.handleReject
46615
46070
  }), {
46616
46071
  default: withCtx(() => [
46617
46072
  _ctx.extraConfigs.myBtn ? renderSlot(_ctx.$slots, "myBtn", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
46618
- _ctx.uploadConfigs.listType === "picture-card" ? (openBlock(), createElementBlock("div", _hoisted_19, [
46073
+ _ctx.uploadConfigs.listType === "picture-card" ? (openBlock(), createElementBlock("div", _hoisted_17, [
46619
46074
  createVNode(_component_PlusOutlined),
46620
- createElementVNode("div", _hoisted_20, toDisplayString(_ctx.uploadConfigs.text || "\u4E0A\u4F20\u56FE\u7247"), 1),
46621
- _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_21, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
46622
- ])) : _ctx.uploadConfigs.listType === "text" ? (openBlock(), createElementBlock("div", _hoisted_22, [
46075
+ createElementVNode("div", _hoisted_18, toDisplayString(_ctx.uploadConfigs.text || "\u4E0A\u4F20\u56FE\u7247"), 1),
46076
+ _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_19, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
46077
+ ])) : _ctx.uploadConfigs.listType === "text" ? (openBlock(), createElementBlock("div", _hoisted_20, [
46623
46078
  createVNode(_component_a_button, {
46624
46079
  class: normalizeClass(_ctx.extraConfigs.btnClass),
46625
- disabled: $setup.uploadDisabled && !_ctx.extraConfigs?.hideDisabledBtn
46080
+ disabled: $setup.uploadDisabled
46626
46081
  }, {
46627
46082
  default: withCtx(() => [
46628
46083
  createVNode(_component_UploadOutlined),
@@ -46630,39 +46085,39 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46630
46085
  ]),
46631
46086
  _: 1
46632
46087
  }, 8, ["class", "disabled"]),
46633
- _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
46088
+ _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_21, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
46634
46089
  ])) : createCommentVNode("v-if", true)
46635
46090
  ], 2112))
46636
46091
  ]),
46637
46092
  _: 3
46638
- }, 16, ["class", "onReject"])) : createCommentVNode("v-if", true),
46639
- _ctx.uploadConfigs.listType === "text" && !_ctx.uploadConfigs.showSlotList ? (openBlock(), createElementBlock("div", _hoisted_24, [
46093
+ }, 16, ["disabled", "class", "onReject"])) : createCommentVNode("v-if", true),
46094
+ _ctx.uploadConfigs.listType === "text" && !_ctx.uploadConfigs.showSlotList ? (openBlock(), createElementBlock("div", _hoisted_22, [
46640
46095
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fileList, (item) => {
46641
46096
  return openBlock(), createElementBlock("div", {
46642
46097
  key: item,
46643
46098
  class: "bm-upload__file"
46644
46099
  }, [
46645
46100
  !_ctx.uploadConfigs.showSlotList ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
46646
- createElementVNode("div", _hoisted_25, [
46647
- _hoisted_26,
46648
- createElementVNode("div", _hoisted_27, [
46101
+ createElementVNode("div", _hoisted_23, [
46102
+ _hoisted_24,
46103
+ createElementVNode("div", _hoisted_25, [
46649
46104
  createVNode(_component_OverTooltips, {
46650
46105
  title: item.name
46651
46106
  }, null, 8, ["title"])
46652
46107
  ]),
46653
- createElementVNode("div", _hoisted_28, [
46108
+ createElementVNode("div", _hoisted_26, [
46654
46109
  item.status === "error" ? (openBlock(), createElementBlock("div", {
46655
46110
  key: 0,
46656
46111
  class: "bm-upload__error-reload",
46657
46112
  onClick: (e) => _ctx.reUpload(e, item.uid)
46658
- }, null, 8, _hoisted_29)) : createCommentVNode("v-if", true),
46113
+ }, null, 8, _hoisted_27)) : createCommentVNode("v-if", true),
46659
46114
  createElementVNode("div", {
46660
46115
  class: "bm-upload__trash",
46661
46116
  onClick: ($event) => _ctx.deleteFile(item.uid)
46662
- }, null, 8, _hoisted_30)
46117
+ }, null, 8, _hoisted_28)
46663
46118
  ])
46664
46119
  ]),
46665
- !item.isDoneDeloy || item.progress < 100 || item.status === "error" ? (openBlock(), createElementBlock("div", _hoisted_31, [
46120
+ !item.isDoneDeloy || item.progress < 100 || item.status === "error" ? (openBlock(), createElementBlock("div", _hoisted_29, [
46666
46121
  createVNode(_component_a_progress, {
46667
46122
  type: "line",
46668
46123
  "stroke-width": 2,
@@ -46685,32 +46140,18 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46685
46140
  onCancel: _ctx.handleClosePictureView
46686
46141
  }, {
46687
46142
  default: withCtx(() => [
46688
- createElementVNode("div", _hoisted_32, [
46689
- [
46690
- "img",
46691
- "image",
46692
- "png",
46693
- "PNG",
46694
- "image/png",
46695
- "jpg",
46696
- "JPG",
46697
- "jpeg",
46698
- "JPEG",
46699
- "image/jpeg",
46700
- "gif",
46701
- "GIF",
46702
- "image/gif"
46703
- ].includes(_ctx.onepViewImage.type) ? (openBlock(), createElementBlock("img", {
46143
+ createElementVNode("div", _hoisted_30, [
46144
+ _ctx.pictureFileTypes.includes(_ctx.onepViewImage.type) ? (openBlock(), createElementBlock("img", {
46704
46145
  key: 0,
46705
46146
  style: { "width": "100%" },
46706
46147
  src: _ctx.onepViewImage.url,
46707
46148
  alt: ""
46708
- }, null, 8, _hoisted_33)) : (openBlock(), createElementBlock("iframe", {
46149
+ }, null, 8, _hoisted_31)) : (openBlock(), createElementBlock("iframe", {
46709
46150
  key: 1,
46710
46151
  title: _ctx.onepViewImage.type,
46711
46152
  style: { "width": "100%", "min-height": "600px" },
46712
46153
  src: _ctx.onepViewImage.url
46713
- }, null, 8, _hoisted_34))
46154
+ }, null, 8, _hoisted_32))
46714
46155
  ])
46715
46156
  ]),
46716
46157
  _: 1
@@ -46888,7 +46329,8 @@ const _sfc_main = defineComponent({
46888
46329
  default: false
46889
46330
  },
46890
46331
  placeholder: {
46891
- type: String
46332
+ type: String,
46333
+ default: "top"
46892
46334
  },
46893
46335
  showEmptyBtn: {
46894
46336
  type: Boolean,
@@ -46902,16 +46344,20 @@ const _sfc_main = defineComponent({
46902
46344
  type: String,
46903
46345
  default: "\u6DFB\u52A0"
46904
46346
  },
46905
- placement: {
46906
- type: String,
46907
- default: "bottom"
46908
- },
46909
46347
  toolTipProps: {
46910
46348
  type: Object,
46911
46349
  default: () => {
46912
46350
  return {};
46913
46351
  }
46914
46352
  },
46353
+ placement: {
46354
+ type: String,
46355
+ default: "bottom"
46356
+ },
46357
+ fieldNames: {
46358
+ type: Object,
46359
+ default: () => ({ key: "key", title: "title" })
46360
+ },
46915
46361
  alwaysInvoke: {
46916
46362
  type: Boolean,
46917
46363
  default: true
@@ -46971,9 +46417,11 @@ const _hoisted_2 = ["id"];
46971
46417
  const _hoisted_3 = { class: "pop-seleted" };
46972
46418
  const _hoisted_4 = { class: "pop-seleted-title" };
46973
46419
  const _hoisted_5 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
46974
- const _hoisted_6 = { key: 1 };
46975
- const _hoisted_7 = { key: 2 };
46976
- const _hoisted_8 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
46420
+ const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u9879 ");
46421
+ const _hoisted_7 = { class: "select-input-wrapper" };
46422
+ const _hoisted_8 = { key: 1 };
46423
+ const _hoisted_9 = { key: 2 };
46424
+ const _hoisted_10 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
46977
46425
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46978
46426
  const _component_a_tag = resolveComponent("a-tag");
46979
46427
  const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
@@ -46991,7 +46439,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46991
46439
  createElementVNode("div", _hoisted_4, [
46992
46440
  _hoisted_5,
46993
46441
  createElementVNode("span", null, toDisplayString(_ctx.list.length), 1),
46994
- createTextVNode(toDisplayString(_ctx.unitStr), 1)
46442
+ _hoisted_6
46995
46443
  ])
46996
46444
  ]),
46997
46445
  createElementVNode("div", {
@@ -47001,11 +46449,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
47001
46449
  }, [
47002
46450
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
47003
46451
  return openBlock(), createBlock(_component_a_tag, {
47004
- key: item.key,
46452
+ key: item[_ctx.fieldNames.key],
47005
46453
  class: "pop-seleted-item"
47006
46454
  }, {
47007
46455
  default: withCtx(() => [
47008
- createTextVNode(toDisplayString(item.title), 1)
46456
+ createTextVNode(toDisplayString(item[_ctx.fieldNames.title]), 1)
47009
46457
  ]),
47010
46458
  _: 2
47011
46459
  }, 1024);
@@ -47013,16 +46461,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
47013
46461
  ], 32)
47014
46462
  ]),
47015
46463
  default: withCtx(() => [
47016
- createElementVNode("div", {
47017
- class: "select-input-wrapper",
47018
- onClick: _cache[4] || (_cache[4] = (...args) => _ctx.toAddTags && _ctx.toAddTags(...args))
47019
- }, [
46464
+ createElementVNode("div", _hoisted_7, [
47020
46465
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
47021
46466
  return openBlock(), createBlock(_component_a_tag, {
47022
- key: item.key
46467
+ key: item[_ctx.fieldNames.key]
47023
46468
  }, {
47024
46469
  default: withCtx(() => [
47025
- createTextVNode(toDisplayString(item.title), 1)
46470
+ createTextVNode(toDisplayString(item[_ctx.fieldNames.title]), 1)
47026
46471
  ]),
47027
46472
  _: 2
47028
46473
  }, 1024);
@@ -47042,7 +46487,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
47042
46487
  _: 1
47043
46488
  }, 16)
47044
46489
  ], 8, _hoisted_2)) : createCommentVNode("v-if", true),
47045
- _ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_6, [
46490
+ _ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_8, [
47046
46491
  createVNode(_component_Button, {
47047
46492
  onClick: withModifiers(_ctx.toAddTags, ["stop"])
47048
46493
  }, {
@@ -47052,13 +46497,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
47052
46497
  _: 1
47053
46498
  }, 8, ["onClick"])
47054
46499
  ])) : createCommentVNode("v-if", true),
47055
- _ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
46500
+ _ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9, [
47056
46501
  createElementVNode("div", {
47057
46502
  class: "selector-empty-input",
47058
- onClick: _cache[5] || (_cache[5] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
46503
+ onClick: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
47059
46504
  }, " \xA0\xA0" + toDisplayString(_ctx.placeholder), 1)
47060
46505
  ])) : createCommentVNode("v-if", true),
47061
- _hoisted_8
46506
+ _hoisted_10
47062
46507
  ]);
47063
46508
  }
47064
46509
  var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
@@ -47076,7 +46521,6 @@ var components = /*#__PURE__*/Object.freeze({
47076
46521
  BmAlert: BmAlert,
47077
46522
  BmModal: BmModal,
47078
46523
  BmSearchFilter: BmSearchFilter,
47079
- BmMultiCascaderCompose: BmMultiCascaderCompose,
47080
46524
  BmShopsFilter: BmShopsFilter,
47081
46525
  BmStaffsSelector: BmStaffsSelector,
47082
46526
  BmFloatTable: BmFloatTable,
@@ -47096,4 +46540,4 @@ var index = {
47096
46540
  install,
47097
46541
  };
47098
46542
 
47099
- export { BmAlert, BmButton, BmFloatTable, BmFlowDesigner, BmFormDesigner, BmMessage, BmModal, BmMultiCascaderCompose, BmNotification, BmOverTooltips, BmSearchFilter, BmShopsFilter, BmStaffsSelector, BmTagsDisplay, BmTimeline, BmTimelineItem, BmUpload, StaticBmModal, index as default };
46543
+ export { BmAlert, BmButton, BmFloatTable, BmFlowDesigner, BmFormDesigner, BmMessage, BmModal, BmNotification, BmOverTooltips, BmSearchFilter, BmShopsFilter, BmStaffsSelector, BmTagsDisplay, BmTimeline, BmTimelineItem, BmUpload, StaticBmModal, index as default };