bm-admin-ui 1.0.19-alpha → 1.0.21-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/es/components/button/index.d.ts +3 -3
  2. package/es/components/button/src/button.vue.d.ts +3 -3
  3. package/es/components/feedback/index.d.ts +4 -4
  4. package/es/components/feedback/src/bmAlert.vue.d.ts +2 -2
  5. package/es/components/feedback/src/bmModal.vue.d.ts +2 -2
  6. package/es/components/float-table/index.js +1 -1
  7. package/es/components/input-tags-display/index.d.ts +42 -1
  8. package/es/components/input-tags-display/index.js +57 -22
  9. package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
  10. package/es/components/search-filter/index.d.ts +40 -16
  11. package/es/components/search-filter/index.js +18 -6
  12. package/es/components/search-filter/src/search-filter.d.ts +24 -4
  13. package/es/components/search-filter/src/search-filter.vue.d.ts +40 -16
  14. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
  15. package/es/components/staffs-selector/index.d.ts +1 -1
  16. package/es/components/staffs-selector/index.js +1 -1
  17. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
  18. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  19. package/es/components/upload/index.d.ts +1 -0
  20. package/es/components/upload/index.js +52 -22
  21. package/es/components/upload/src/upload.vue.d.ts +1 -0
  22. package/index.esm.js +222 -145
  23. package/index.js +221 -144
  24. package/lib/components/button/index.d.ts +3 -3
  25. package/lib/components/button/src/button.vue.d.ts +3 -3
  26. package/lib/components/feedback/index.d.ts +4 -4
  27. package/lib/components/feedback/src/bmAlert.vue.d.ts +2 -2
  28. package/lib/components/feedback/src/bmModal.vue.d.ts +2 -2
  29. package/lib/components/float-table/index.js +1 -1
  30. package/lib/components/input-tags-display/index.d.ts +42 -1
  31. package/lib/components/input-tags-display/index.js +57 -22
  32. package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
  33. package/lib/components/search-filter/index.d.ts +40 -16
  34. package/lib/components/search-filter/index.js +18 -6
  35. package/lib/components/search-filter/src/search-filter.d.ts +24 -4
  36. package/lib/components/search-filter/src/search-filter.vue.d.ts +40 -16
  37. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
  38. package/lib/components/staffs-selector/index.d.ts +1 -1
  39. package/lib/components/staffs-selector/index.js +1 -1
  40. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
  41. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  42. package/lib/components/upload/index.d.ts +1 -0
  43. package/lib/components/upload/index.js +52 -22
  44. package/lib/components/upload/src/upload.vue.d.ts +1 -0
  45. package/package.json +1 -1
  46. package/theme-chalk/feedback.css +1 -1
  47. package/theme-chalk/float-table.css +1 -1
  48. package/theme-chalk/index.css +1 -1
  49. package/theme-chalk/upload.css +1 -1
  50. package/types/components/button/index.d.ts +3 -3
  51. package/types/components/button/src/button.vue.d.ts +3 -3
  52. package/types/components/feedback/index.d.ts +4 -4
  53. package/types/components/feedback/src/bmAlert.vue.d.ts +2 -2
  54. package/types/components/feedback/src/bmModal.vue.d.ts +2 -2
  55. package/types/components/input-tags-display/index.d.ts +42 -1
  56. package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
  57. package/types/components/search-filter/index.d.ts +40 -16
  58. package/types/components/search-filter/src/search-filter.d.ts +24 -4
  59. package/types/components/search-filter/src/search-filter.vue.d.ts +40 -16
  60. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
  61. package/types/components/staffs-selector/index.d.ts +1 -1
  62. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
  63. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  64. package/types/components/upload/index.d.ts +1 -0
  65. package/types/components/upload/src/upload.vue.d.ts +1 -0
package/index.esm.js CHANGED
@@ -3,7 +3,7 @@ var process = {
3
3
  NODE_ENV: 'production'
4
4
  }
5
5
  };
6
- import require$$1$1, { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot, resolveComponent, ref, onMounted, createElementBlock, Fragment, isVNode, Comment, Text, inject, computed, createVNode, reactive, provide, watch, Transition, onUnmounted, Teleport, TransitionGroup, render as render$9, h as h$2, nextTick, watchEffect, onBeforeMount, onUpdated, onBeforeUnmount, getCurrentInstance, withDirectives, vShow, resolveDynamicComponent, useSlots, createSlots, createElementVNode, createTextVNode, mergeProps as mergeProps$1, markRaw, toRef, createApp, toRefs, resolveDirective, toDisplayString, createCommentVNode, renderList, withModifiers, normalizeClass, normalizeStyle, readonly, toHandlers } from 'vue';
6
+ import require$$1$1, { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot, resolveComponent, ref, onMounted, createElementBlock, Fragment, isVNode, Comment, Text, inject, computed, createVNode, reactive, provide, watch, Transition, onUnmounted, Teleport, TransitionGroup, render as render$9, h as h$2, nextTick, watchEffect, onBeforeMount, onUpdated, onBeforeUnmount, getCurrentInstance, withDirectives, vShow, resolveDynamicComponent, useSlots, createSlots, createElementVNode, createTextVNode, mergeProps as mergeProps$1, markRaw, toRef, createApp, toRefs, resolveDirective, toDisplayString, createCommentVNode, renderList, withModifiers, normalizeClass, normalizeStyle, readonly, toHandlers, normalizeProps, guardReactiveProps } from 'vue';
7
7
 
8
8
  const withInstall$2 = (comp) => {
9
9
  comp.install = function (app) {
@@ -1496,8 +1496,8 @@ function filterEmpty() {
1496
1496
  children.forEach(function (child) {
1497
1497
  if (Array.isArray(child)) {
1498
1498
  res.push.apply(res, (0, _toConsumableArray2.default)(child));
1499
- } else if (child.type === _vue.Fragment) {
1500
- res.push.apply(res, (0, _toConsumableArray2.default)(child.children));
1499
+ } else if ((child === null || child === void 0 ? void 0 : child.type) === _vue.Fragment) {
1500
+ res.push.apply(res, (0, _toConsumableArray2.default)(filterEmpty(child.children)));
1501
1501
  } else {
1502
1502
  res.push(child);
1503
1503
  }
@@ -7290,7 +7290,7 @@ function registerTheme$1(globalPrefixCls, theme) {
7290
7290
  variables["".concat(type, "-color")] = formatColor(baseColor);
7291
7291
  variables["".concat(type, "-color-disabled")] = colorPalettes[1];
7292
7292
  variables["".concat(type, "-color-hover")] = colorPalettes[4];
7293
- variables["".concat(type, "-color-active")] = colorPalettes[7];
7293
+ variables["".concat(type, "-color-active")] = colorPalettes[6];
7294
7294
  variables["".concat(type, "-color-outline")] = baseColor.clone().setAlpha(0.2).toRgbString();
7295
7295
  variables["".concat(type, "-color-deprecated-bg")] = colorPalettes[1];
7296
7296
  variables["".concat(type, "-color-deprecated-border")] = colorPalettes[3];
@@ -9893,8 +9893,8 @@ function filterEmpty() {
9893
9893
  children.forEach(function (child) {
9894
9894
  if (Array.isArray(child)) {
9895
9895
  res.push.apply(res, _toConsumableArray$1(child));
9896
- } else if (child.type === Fragment) {
9897
- res.push.apply(res, _toConsumableArray$1(child.children));
9896
+ } else if ((child === null || child === void 0 ? void 0 : child.type) === Fragment) {
9897
+ res.push.apply(res, _toConsumableArray$1(filterEmpty(child.children)));
9898
9898
  } else {
9899
9899
  res.push(child);
9900
9900
  }
@@ -12108,7 +12108,7 @@ function registerTheme(globalPrefixCls, theme) {
12108
12108
  variables["".concat(type, "-color")] = formatColor(baseColor);
12109
12109
  variables["".concat(type, "-color-disabled")] = colorPalettes[1];
12110
12110
  variables["".concat(type, "-color-hover")] = colorPalettes[4];
12111
- variables["".concat(type, "-color-active")] = colorPalettes[7];
12111
+ variables["".concat(type, "-color-active")] = colorPalettes[6];
12112
12112
  variables["".concat(type, "-color-outline")] = baseColor.clone().setAlpha(0.2).toRgbString();
12113
12113
  variables["".concat(type, "-color-deprecated-bg")] = colorPalettes[1];
12114
12114
  variables["".concat(type, "-color-deprecated-border")] = colorPalettes[3];
@@ -15461,37 +15461,17 @@ RightOutlined.inheritAttrs = false;
15461
15461
  var RightOutlined$1 = RightOutlined;
15462
15462
 
15463
15463
  // This icon file is generated automatically.
15464
- var DeleteOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
15465
- var DeleteOutlinedSvg = DeleteOutlined$2;
15464
+ var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
15465
+ var PlusOutlinedSvg = PlusOutlined$2;
15466
15466
 
15467
15467
  function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } return target; }
15468
15468
 
15469
15469
  function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15470
15470
 
15471
- var DeleteOutlined = function DeleteOutlined(props, context) {
15471
+ var PlusOutlined = function PlusOutlined(props, context) {
15472
15472
  var p = _objectSpread$3({}, props, context.attrs);
15473
15473
 
15474
15474
  return createVNode(AntdIcon, _objectSpread$3({}, p, {
15475
- "icon": DeleteOutlinedSvg
15476
- }), null);
15477
- };
15478
-
15479
- DeleteOutlined.displayName = 'DeleteOutlined';
15480
- DeleteOutlined.inheritAttrs = false;
15481
- var DeleteOutlined$1 = DeleteOutlined;
15482
-
15483
- // This icon file is generated automatically.
15484
- 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" };
15485
- var PlusOutlinedSvg = PlusOutlined$2;
15486
-
15487
- function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
15488
-
15489
- function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15490
-
15491
- var PlusOutlined = function PlusOutlined(props, context) {
15492
- var p = _objectSpread$2({}, props, context.attrs);
15493
-
15494
- return createVNode(AntdIcon, _objectSpread$2({}, p, {
15495
15475
  "icon": PlusOutlinedSvg
15496
15476
  }), null);
15497
15477
  };
@@ -15500,46 +15480,6 @@ PlusOutlined.displayName = 'PlusOutlined';
15500
15480
  PlusOutlined.inheritAttrs = false;
15501
15481
  var PlusOutlined$1 = PlusOutlined;
15502
15482
 
15503
- // This icon file is generated automatically.
15504
- var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
15505
- var UpOutlinedSvg = UpOutlined$2;
15506
-
15507
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
15508
-
15509
- function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15510
-
15511
- var UpOutlined = function UpOutlined(props, context) {
15512
- var p = _objectSpread$1({}, props, context.attrs);
15513
-
15514
- return createVNode(AntdIcon, _objectSpread$1({}, p, {
15515
- "icon": UpOutlinedSvg
15516
- }), null);
15517
- };
15518
-
15519
- UpOutlined.displayName = 'UpOutlined';
15520
- UpOutlined.inheritAttrs = false;
15521
- var UpOutlined$1 = UpOutlined;
15522
-
15523
- // This icon file is generated automatically.
15524
- var UploadOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
15525
- var UploadOutlinedSvg = UploadOutlined$2;
15526
-
15527
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
15528
-
15529
- function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15530
-
15531
- var UploadOutlined = function UploadOutlined(props, context) {
15532
- var p = _objectSpread({}, props, context.attrs);
15533
-
15534
- return createVNode(AntdIcon, _objectSpread({}, p, {
15535
- "icon": UploadOutlinedSvg
15536
- }), null);
15537
- };
15538
-
15539
- UploadOutlined.displayName = 'UploadOutlined';
15540
- UploadOutlined.inheritAttrs = false;
15541
- var UploadOutlined$1 = UploadOutlined;
15542
-
15543
15483
  var canUseDocElement$1 = function canUseDocElement() {
15544
15484
  return canUseDom() && window.document.documentElement;
15545
15485
  };
@@ -16598,6 +16538,26 @@ var DialogWrap$2 = defineComponent({
16598
16538
  });
16599
16539
  var DialogWrap$3 = DialogWrap$2;
16600
16540
 
16541
+ // This icon file is generated automatically.
16542
+ var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
16543
+ var UpOutlinedSvg = UpOutlined$2;
16544
+
16545
+ function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
16546
+
16547
+ function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16548
+
16549
+ var UpOutlined = function UpOutlined(props, context) {
16550
+ var p = _objectSpread$2({}, props, context.attrs);
16551
+
16552
+ return createVNode(AntdIcon, _objectSpread$2({}, p, {
16553
+ "icon": UpOutlinedSvg
16554
+ }), null);
16555
+ };
16556
+
16557
+ UpOutlined.displayName = 'UpOutlined';
16558
+ UpOutlined.inheritAttrs = false;
16559
+ var UpOutlined$1 = UpOutlined;
16560
+
16601
16561
  var __rest$e = undefined && undefined.__rest || function (s, e) {
16602
16562
  var t = {};
16603
16563
 
@@ -17277,6 +17237,46 @@ Modal$1.install = function (app) {
17277
17237
  return app;
17278
17238
  };
17279
17239
 
17240
+ // This icon file is generated automatically.
17241
+ var DeleteOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
17242
+ var DeleteOutlinedSvg = DeleteOutlined$2;
17243
+
17244
+ function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
17245
+
17246
+ function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17247
+
17248
+ var DeleteOutlined = function DeleteOutlined(props, context) {
17249
+ var p = _objectSpread$1({}, props, context.attrs);
17250
+
17251
+ return createVNode(AntdIcon, _objectSpread$1({}, p, {
17252
+ "icon": DeleteOutlinedSvg
17253
+ }), null);
17254
+ };
17255
+
17256
+ DeleteOutlined.displayName = 'DeleteOutlined';
17257
+ DeleteOutlined.inheritAttrs = false;
17258
+ var DeleteOutlined$1 = DeleteOutlined;
17259
+
17260
+ // This icon file is generated automatically.
17261
+ var UploadOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
17262
+ var UploadOutlinedSvg = UploadOutlined$2;
17263
+
17264
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
17265
+
17266
+ function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17267
+
17268
+ var UploadOutlined = function UploadOutlined(props, context) {
17269
+ var p = _objectSpread({}, props, context.attrs);
17270
+
17271
+ return createVNode(AntdIcon, _objectSpread({}, p, {
17272
+ "icon": UploadOutlinedSvg
17273
+ }), null);
17274
+ };
17275
+
17276
+ UploadOutlined.displayName = 'UploadOutlined';
17277
+ UploadOutlined.inheritAttrs = false;
17278
+ var UploadOutlined$1 = UploadOutlined;
17279
+
17280
17280
  var alert = {};
17281
17281
 
17282
17282
  var vnode = {};
@@ -27412,6 +27412,18 @@ const searchResetBtnProps = {
27412
27412
  type: Boolean,
27413
27413
  default: false,
27414
27414
  },
27415
+ expandPlacement: {
27416
+ type: String,
27417
+ default: 'left',
27418
+ },
27419
+ expandText: {
27420
+ type: String,
27421
+ default: '展开',
27422
+ },
27423
+ collapseText: {
27424
+ type: String,
27425
+ default: '收起',
27426
+ },
27415
27427
  };
27416
27428
  const searchFilterProps = Object.assign({ userRule: {
27417
27429
  type: Array,
@@ -27448,9 +27460,6 @@ const searchFilterProps = Object.assign({ userRule: {
27448
27460
  default() {
27449
27461
  return [];
27450
27462
  },
27451
- }, expandPlacement: {
27452
- type: String,
27453
- default: 'left',
27454
27463
  } }, searchResetBtnProps);
27455
27464
 
27456
27465
  const _hoisted_1$a = { class: "bm-search-filter-btn" };
@@ -27458,6 +27467,7 @@ const _hoisted_2$8 = { class: "bm-search-filter-actions" };
27458
27467
  const _hoisted_3$7 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
27459
27468
  const _hoisted_4$7 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
27460
27469
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
27470
+ name: "search-reset-btn",
27461
27471
  props: searchResetBtnProps,
27462
27472
  emits: ["submit", "reset", "expand"],
27463
27473
  setup(__props, { emit: emits }) {
@@ -27481,7 +27491,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
27481
27491
  class: "bm-search-filter-expand",
27482
27492
  onClick: handleExpandBtnChange
27483
27493
  }, [
27484
- createTextVNode(toDisplayString(isExpand.value ? "\u6536\u8D77" : "\u5C55\u5F00"), 1),
27494
+ createTextVNode(toDisplayString(isExpand.value ? props.collapseText : props.expandText), 1),
27485
27495
  isExpand.value ? (openBlock(), createBlock(unref(UpOutlined$1), { key: 0 })) : (openBlock(), createBlock(unref(DownOutlined$1), { key: 1 }))
27486
27496
  ])) : createCommentVNode("v-if", true),
27487
27497
  createElementVNode("span", _hoisted_2$8, [
@@ -27563,11 +27573,11 @@ const _hoisted_7$5 = {
27563
27573
  class: "bm-multi-cascader-tag"
27564
27574
  };
27565
27575
  const _hoisted_8$5 = { class: "bm-multi-cascader-tag-text" };
27566
- const _hoisted_9$5 = {
27576
+ const _hoisted_9$4 = {
27567
27577
  key: 1,
27568
27578
  class: "bm-multi-cascader-placeholder"
27569
27579
  };
27570
- const _hoisted_10$5 = { class: "bm-multi-cascader-action" };
27580
+ const _hoisted_10$4 = { class: "bm-multi-cascader-action" };
27571
27581
  const _hoisted_11$4 = {
27572
27582
  key: 0,
27573
27583
  class: "bm-multi-cascader-popover"
@@ -27998,9 +28008,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
27998
28008
  unref(checkedHideCount) ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
27999
28009
  createElementVNode("span", _hoisted_8$5, "+ " + toDisplayString(unref(checkedHideCount)), 1)
28000
28010
  ])) : createCommentVNode("v-if", true)
28001
- ])) : (openBlock(), createElementBlock("div", _hoisted_9$5, toDisplayString(props.placeholder), 1))
28011
+ ])) : (openBlock(), createElementBlock("div", _hoisted_9$4, toDisplayString(props.placeholder), 1))
28002
28012
  ]),
28003
- createElementVNode("div", _hoisted_10$5, [
28013
+ createElementVNode("div", _hoisted_10$4, [
28004
28014
  props.allowClear && props.modelValue.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
28005
28015
  createVNode(unref(DownOutlined$1), { class: "bm-multi-cascader-icon bm-multi-cascader-caret" }),
28006
28016
  createVNode(unref(CloseCircleFilled$1), {
@@ -28128,7 +28138,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
28128
28138
  }
28129
28139
  }
28130
28140
  watch(isExpand, (val) => {
28131
- handleChangeExpand(val);
28141
+ setTimeout(() => {
28142
+ handleChangeExpand(val);
28143
+ }, 0);
28132
28144
  }, {
28133
28145
  immediate: true
28134
28146
  });
@@ -28145,7 +28157,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
28145
28157
  "onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
28146
28158
  "model-value": props.value,
28147
28159
  rule: unref(rule),
28148
- option: unref(option),
28160
+ option,
28149
28161
  onChange: handleChange
28150
28162
  }, null, 8, ["api", "model-value", "rule", "option"])
28151
28163
  ], 2);
@@ -29165,8 +29177,8 @@ var _default$x = (0, _vue$K.defineComponent)({
29165
29177
 
29166
29178
  return (0, _vue$K.createVNode)("span", {
29167
29179
  "class": cls.value,
29168
- "onMouseenter": props.onMouseEnter,
29169
- "onMouseleave": props.onMouseLeave,
29180
+ "onMouseenter": props.onMouseenter,
29181
+ "onMouseleave": props.onMouseleave,
29170
29182
  "onFocus": props.onFocus,
29171
29183
  "onBlur": props.onBlur
29172
29184
  }, [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]);
@@ -36925,8 +36937,8 @@ const _hoisted_7$4 = {
36925
36937
  class: "__shops-filter-tabs"
36926
36938
  };
36927
36939
  const _hoisted_8$4 = { class: "label" };
36928
- const _hoisted_9$4 = { class: "__shops-filter-areas" };
36929
- const _hoisted_10$4 = ["onClick"];
36940
+ const _hoisted_9$3 = { class: "__shops-filter-areas" };
36941
+ const _hoisted_10$3 = ["onClick"];
36930
36942
  const _hoisted_11$3 = ["onClick"];
36931
36943
  const _hoisted_12$3 = { class: "__shops-filter-selecting" };
36932
36944
  const _hoisted_13$3 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
@@ -37053,13 +37065,13 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
37053
37065
  class: "__shops-filter-area-tabs"
37054
37066
  }, [
37055
37067
  createElementVNode("div", _hoisted_8$4, toDisplayString(item.label) + ":", 1),
37056
- createElementVNode("div", _hoisted_9$4, [
37068
+ createElementVNode("div", _hoisted_9$3, [
37057
37069
  createElementVNode("span", {
37058
37070
  class: normalizeClass({
37059
37071
  active: !(item.multiple ? _ctx.filterSelects[index].length : !!_ctx.filterSelects[index])
37060
37072
  }),
37061
37073
  onClick: withModifiers(($event) => _ctx.changeFilterSelect(index, ""), ["self"])
37062
- }, "\u5168\u90E8", 10, _hoisted_10$4),
37074
+ }, "\u5168\u90E8", 10, _hoisted_10$3),
37063
37075
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element) => {
37064
37076
  return openBlock(), createElementBlock("span", {
37065
37077
  key: element.code,
@@ -39623,7 +39635,7 @@ function useScrollTo(containerRef, mergedData, heights, props, getKey, collectHe
39623
39635
  });
39624
39636
  };
39625
39637
 
39626
- syncScroll(3);
39638
+ syncScroll(5);
39627
39639
  }
39628
39640
  };
39629
39641
  }
@@ -44289,12 +44301,12 @@ const _hoisted_8$3 = {
44289
44301
  key: 0,
44290
44302
  class: "department-desc"
44291
44303
  };
44292
- const _hoisted_9$3 = {
44304
+ const _hoisted_9$2 = {
44293
44305
  key: 2,
44294
44306
  class: "noData",
44295
44307
  style: { "height": "280px" }
44296
44308
  };
44297
- const _hoisted_10$3 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
44309
+ const _hoisted_10$2 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
44298
44310
  const _hoisted_11$2 = { class: "__selector-chosen-panel" };
44299
44311
  const _hoisted_12$2 = {
44300
44312
  key: 0,
@@ -44377,10 +44389,10 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
44377
44389
  ]),
44378
44390
  _: 1
44379
44391
  }, 8, ["checkedKeys", "tree-data"])) : createCommentVNode("v-if", true),
44380
- _ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
44392
+ _ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
44381
44393
  createVNode(_component_Empty, { image: _ctx.emptyPic }, {
44382
44394
  description: withCtx(() => [
44383
- createElementVNode("span", _hoisted_10$3, toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
44395
+ createElementVNode("span", _hoisted_10$2, toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
44384
44396
  ]),
44385
44397
  _: 1
44386
44398
  }, 8, ["image"])
@@ -45127,11 +45139,11 @@ const _hoisted_8$2 = {
45127
45139
  key: 0,
45128
45140
  class: "__selector-modal-options"
45129
45141
  };
45130
- const _hoisted_9$2 = {
45142
+ const _hoisted_9$1 = {
45131
45143
  key: 1,
45132
45144
  class: "__selector-modal-options"
45133
45145
  };
45134
- const _hoisted_10$2 = { class: "department-option-item" };
45146
+ const _hoisted_10$1 = { class: "department-option-item" };
45135
45147
  const _hoisted_11$1 = {
45136
45148
  key: 0,
45137
45149
  class: "department-desc"
@@ -45203,7 +45215,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
45203
45215
  }, 1032, ["checked", "onUpdate:checked"])
45204
45216
  ]);
45205
45217
  }), 128))
45206
- ])) : _ctx.activeKey === 1 ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
45218
+ ])) : _ctx.activeKey === 1 ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
45207
45219
  createVNode(_component_a_tree, {
45208
45220
  checkedKeys: _ctx.departmentChecked,
45209
45221
  "onUpdate:checkedKeys": _cache[1] || (_cache[1] = ($event) => _ctx.departmentChecked = $event),
@@ -45212,7 +45224,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
45212
45224
  "tree-data": _ctx.list
45213
45225
  }, {
45214
45226
  title: withCtx(({ title, description }) => [
45215
- createElementVNode("div", _hoisted_10$2, [
45227
+ createElementVNode("div", _hoisted_10$1, [
45216
45228
  createElementVNode("span", null, toDisplayString(title), 1),
45217
45229
  description ? (openBlock(), createElementBlock("p", _hoisted_11$1, toDisplayString(description), 1)) : createCommentVNode("v-if", true)
45218
45230
  ])
@@ -45256,7 +45268,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
45256
45268
  ]);
45257
45269
  }), 128))
45258
45270
  ])) : createCommentVNode("v-if", true)
45259
- ], 2112))
45271
+ ], 64))
45260
45272
  ])
45261
45273
  ]),
45262
45274
  createElementVNode("div", _hoisted_14$1, [
@@ -45520,7 +45532,7 @@ const _sfc_main$5 = {
45520
45532
  showHeaderOverflow: true,
45521
45533
  align: null,
45522
45534
  columns: [],
45523
- tooltipConfig: { leaveDelay: 1e6 },
45535
+ tooltipConfig: { leaveDelay: 10 },
45524
45536
  data: [],
45525
45537
  pagerConfig: {},
45526
45538
  emptyText: "\u6682\u65E0\u6570\u636E",
@@ -46074,18 +46086,29 @@ const _sfc_main$3 = {
46074
46086
  setup(props, { emit }) {
46075
46087
  let acceptList = [
46076
46088
  ".xlsx",
46089
+ ".XLSX",
46077
46090
  ".pdf",
46091
+ ".PDF",
46078
46092
  ".doc",
46093
+ ".DOC",
46079
46094
  ".docx",
46095
+ ".DOCX",
46080
46096
  ".jpg",
46081
- ".jpeg",
46082
46097
  ".JPG",
46098
+ ".jpeg",
46099
+ ".JPEG",
46083
46100
  ".png",
46101
+ ".PNG",
46084
46102
  ".rar",
46103
+ ".RAR",
46085
46104
  ".zip",
46105
+ ".ZIP",
46086
46106
  ".ppt",
46107
+ ".PPT",
46087
46108
  ".pptx",
46088
- ".mp4"
46109
+ ".PPTX",
46110
+ ".mp4",
46111
+ ".MP4"
46089
46112
  ];
46090
46113
  const state = reactive({
46091
46114
  uploadBarColor: "#4DA0FF",
@@ -46148,26 +46171,26 @@ const _sfc_main$3 = {
46148
46171
  }
46149
46172
  });
46150
46173
  const methods = {
46151
- customUploadRequest(file) {
46152
- const updateUploadProgress = (progress) => {
46153
- if (methods.fileIsDelete(file)) {
46154
- return;
46155
- }
46156
- state.fileList[file.uid] = {
46157
- ...state.fileList[file.uid],
46158
- progress
46159
- };
46174
+ updateUploadProgress(file, progress) {
46175
+ if (methods.fileIsDelete(file)) {
46176
+ return;
46177
+ }
46178
+ state.fileList[file.uid] = {
46179
+ ...state.fileList[file.uid],
46180
+ progress
46160
46181
  };
46182
+ },
46183
+ customUploadRequest(file) {
46161
46184
  props.uploadRequest?.(file, {
46162
46185
  onUploadProgress: (e) => {
46163
46186
  let progress = Math.round(e.loaded / e.total * 100);
46164
46187
  if (props.holdProgress) {
46165
46188
  progress = progress > props.holdProgress ? props.holdProgress : progress;
46166
46189
  }
46167
- updateUploadProgress(progress);
46190
+ methods.updateUploadProgress(file, progress);
46168
46191
  }
46169
46192
  }).then(function(data) {
46170
- updateUploadProgress(100);
46193
+ methods.updateUploadProgress(file, 100);
46171
46194
  methods.uploadSuccess(data, file);
46172
46195
  }).catch(function(error) {
46173
46196
  console.error(error);
@@ -46185,6 +46208,7 @@ const _sfc_main$3 = {
46185
46208
  return;
46186
46209
  }
46187
46210
  emit("successFile", data);
46211
+ state.fileList[file.uid].status = "success";
46188
46212
  let uri = data?.url;
46189
46213
  let item = state.extraConfigs.fileDetail ? {
46190
46214
  name: file.name,
@@ -46199,10 +46223,10 @@ const _sfc_main$3 = {
46199
46223
  emit("update", state.uploadedList);
46200
46224
  },
46201
46225
  uploadError(error, file = {}) {
46202
- if (methods.fileIsDelete(file)) {
46203
- return;
46204
- }
46205
- if (file.uid && state.fileList[file.uid]) {
46226
+ if (file) {
46227
+ if (methods.fileIsDelete(file)) {
46228
+ return;
46229
+ }
46206
46230
  state.fileList[file.uid].status = "error";
46207
46231
  }
46208
46232
  emit("error", error);
@@ -46222,7 +46246,7 @@ const _sfc_main$3 = {
46222
46246
  state.onepViewImageHover[uid] = false;
46223
46247
  },
46224
46248
  viewOnePicture(item) {
46225
- if (["img", "image", "png", "jpg", "jpeg"].includes(item.type.toLowerCase())) {
46249
+ if (["img", "image", "png", "PNG", "jpg", "JPG", "jpeg", "JPEG"].includes(item.type.toLowerCase())) {
46226
46250
  state.previewVisible = true;
46227
46251
  state.onepViewImage = item;
46228
46252
  return;
@@ -46366,8 +46390,8 @@ const _hoisted_5$1 = ["src"];
46366
46390
  const _hoisted_6$1 = ["src"];
46367
46391
  const _hoisted_7$1 = ["src"];
46368
46392
  const _hoisted_8$1 = ["src"];
46369
- const _hoisted_9$1 = ["src"];
46370
- const _hoisted_10$1 = {
46393
+ const _hoisted_9 = ["src"];
46394
+ const _hoisted_10 = {
46371
46395
  key: 6,
46372
46396
  class: "bm-upload__picture-result__cover"
46373
46397
  };
@@ -46453,13 +46477,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46453
46477
  onMouseleave: ($event) => _ctx.pictureHoverLeave(item.uid),
46454
46478
  onClick: _cache[0] || (_cache[0] = (e) => e.stopPropagation())
46455
46479
  }, [
46456
- ["pdf", "application/pdf"].includes(item.type) ? (openBlock(), createElementBlock("img", {
46480
+ ["pdf", "PDF", "application/pdf"].includes(item.type) ? (openBlock(), createElementBlock("img", {
46457
46481
  key: 0,
46458
46482
  class: "bm-upload__picture-result__image",
46459
46483
  src: $setup.icons.pdf,
46460
46484
  alt: "avatar"
46461
46485
  }, null, 8, _hoisted_4$1)) : [
46462
46486
  "xlsx",
46487
+ "XLSX",
46463
46488
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
46464
46489
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46465
46490
  key: 1,
@@ -46468,8 +46493,10 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46468
46493
  alt: "avatar"
46469
46494
  }, null, 8, _hoisted_5$1)) : [
46470
46495
  "ppt",
46496
+ "PPT",
46471
46497
  "application/vnd.ms-powerpoint",
46472
46498
  "pptx",
46499
+ "PPTX",
46473
46500
  "application/vnd.openxmlformats-officedocument.presentationml.presentation"
46474
46501
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46475
46502
  key: 2,
@@ -46478,8 +46505,10 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46478
46505
  alt: "avatar"
46479
46506
  }, null, 8, _hoisted_6$1)) : [
46480
46507
  "doc",
46508
+ "DOC",
46481
46509
  "application/msword",
46482
46510
  "docx",
46511
+ "DOCX",
46483
46512
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
46484
46513
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46485
46514
  key: 3,
@@ -46490,11 +46519,15 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46490
46519
  "img",
46491
46520
  "image",
46492
46521
  "png",
46522
+ "PNG",
46493
46523
  "image/png",
46494
46524
  "jpg",
46525
+ "JPG",
46495
46526
  "jpeg",
46527
+ "JPEG",
46496
46528
  "image/jpeg",
46497
46529
  "gif",
46530
+ "GIF",
46498
46531
  "image/gif"
46499
46532
  ].includes(item.type) ? (openBlock(), createElementBlock("img", {
46500
46533
  key: 4,
@@ -46506,8 +46539,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46506
46539
  class: "bm-upload__picture-result__image",
46507
46540
  src: $setup.icons.others,
46508
46541
  alt: "avatar"
46509
- }, null, 8, _hoisted_9$1)),
46510
- _ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
46542
+ }, null, 8, _hoisted_9)),
46543
+ _ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_10, [
46511
46544
  !_ctx.extraConfigs.canNotViewAccept?.includes(item?.type) ? (openBlock(), createElementBlock("div", {
46512
46545
  key: 0,
46513
46546
  class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
@@ -46523,7 +46556,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46523
46556
  key: 1,
46524
46557
  file: item
46525
46558
  })
46526
- ], 2112)) : createCommentVNode("v-if", true),
46559
+ ], 64)) : createCommentVNode("v-if", true),
46527
46560
  createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
46528
46561
  item.status === "error" ? (openBlock(), createElementBlock("div", {
46529
46562
  key: 2,
@@ -46569,7 +46602,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46569
46602
  }, 8, ["class", "disabled"]),
46570
46603
  _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
46571
46604
  ])) : createCommentVNode("v-if", true)
46572
- ], 2112))
46605
+ ], 64))
46573
46606
  ]),
46574
46607
  _: 3
46575
46608
  }, 16, ["class"])) : createCommentVNode("v-if", true),
@@ -46623,7 +46656,16 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
46623
46656
  }, {
46624
46657
  default: withCtx(() => [
46625
46658
  createElementVNode("div", _hoisted_32, [
46626
- ["img", "image", "png", "jpg", "jpeg"].includes(_ctx.onepViewImage.type) ? (openBlock(), createElementBlock("img", {
46659
+ [
46660
+ "img",
46661
+ "image",
46662
+ "png",
46663
+ "PNG",
46664
+ "jpg",
46665
+ "JPG",
46666
+ "jpeg",
46667
+ "JPEG"
46668
+ ].includes(_ctx.onepViewImage.type) ? (openBlock(), createElementBlock("img", {
46627
46669
  key: 0,
46628
46670
  style: { "width": "100%" },
46629
46671
  src: _ctx.onepViewImage.url,
@@ -46814,6 +46856,10 @@ const _sfc_main = defineComponent({
46814
46856
  type: Boolean,
46815
46857
  default: true
46816
46858
  },
46859
+ unitStr: {
46860
+ type: String,
46861
+ default: "\u9879"
46862
+ },
46817
46863
  btnText: {
46818
46864
  type: String,
46819
46865
  default: "\u6DFB\u52A0"
@@ -46821,6 +46867,16 @@ const _sfc_main = defineComponent({
46821
46867
  placement: {
46822
46868
  type: String,
46823
46869
  default: "bottom"
46870
+ },
46871
+ toolTipProps: {
46872
+ type: Object,
46873
+ default: () => {
46874
+ return {};
46875
+ }
46876
+ },
46877
+ alwaysInvoke: {
46878
+ type: Boolean,
46879
+ default: true
46824
46880
  }
46825
46881
  },
46826
46882
  emits: ["clear", "update:list", "addClick"],
@@ -46837,13 +46893,38 @@ const _sfc_main = defineComponent({
46837
46893
  }
46838
46894
  }
46839
46895
  function toAddTags() {
46840
- emit("addClick");
46841
- }
46896
+ if (!props.list.length || props.alwaysInvoke)
46897
+ emit("addClick");
46898
+ }
46899
+ const tooltipConfig = ref({
46900
+ align: void 0,
46901
+ arrowPointAtCenter: false,
46902
+ autoAdjustOverflow: true,
46903
+ color: "#fff",
46904
+ defaultVisible: false,
46905
+ destroyTooltipOnHide: false,
46906
+ getPopupContainer,
46907
+ mouseEnterDelay: 0.1,
46908
+ mouseLeaveDelay: 0.1,
46909
+ overlayClassName: "__list-filter-popover",
46910
+ overlayStyle: null,
46911
+ placement: props.placement,
46912
+ trigger: "hover"
46913
+ });
46914
+ watch(() => props.toolTipProps, (tooltipprop) => {
46915
+ tooltipConfig.value = {
46916
+ ...tooltipConfig.value,
46917
+ ...tooltipprop
46918
+ };
46919
+ }, {
46920
+ immediate: true,
46921
+ deep: true
46922
+ });
46842
46923
  return {
46843
46924
  containId,
46844
46925
  clear,
46845
46926
  toAddTags,
46846
- getPopupContainer
46927
+ tooltipConfig
46847
46928
  };
46848
46929
  }
46849
46930
  });
@@ -46852,11 +46933,9 @@ const _hoisted_2 = ["id"];
46852
46933
  const _hoisted_3 = { class: "pop-seleted" };
46853
46934
  const _hoisted_4 = { class: "pop-seleted-title" };
46854
46935
  const _hoisted_5 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
46855
- const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u9879 ");
46856
- const _hoisted_7 = { class: "select-input-wrapper" };
46857
- const _hoisted_8 = { key: 1 };
46858
- const _hoisted_9 = { key: 2 };
46859
- const _hoisted_10 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
46936
+ const _hoisted_6 = { key: 1 };
46937
+ const _hoisted_7 = { key: 2 };
46938
+ const _hoisted_8 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
46860
46939
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46861
46940
  const _component_a_tag = resolveComponent("a-tag");
46862
46941
  const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
@@ -46868,18 +46947,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46868
46947
  id: _ctx.containId,
46869
46948
  class: "bm-tags-display-wrapper"
46870
46949
  }, [
46871
- createVNode(_component_ToolTip, {
46872
- color: "#fff",
46873
- "get-popup-container": _ctx.getPopupContainer,
46874
- placement: _ctx.placement,
46875
- "overlay-class-name": "__list-filter-popover"
46876
- }, {
46950
+ createVNode(_component_ToolTip, normalizeProps(guardReactiveProps(_ctx.tooltipConfig)), {
46877
46951
  title: withCtx(() => [
46878
46952
  createElementVNode("div", _hoisted_3, [
46879
46953
  createElementVNode("div", _hoisted_4, [
46880
46954
  _hoisted_5,
46881
46955
  createElementVNode("span", null, toDisplayString(_ctx.list.length), 1),
46882
- _hoisted_6
46956
+ createTextVNode(toDisplayString(_ctx.unitStr), 1)
46883
46957
  ])
46884
46958
  ]),
46885
46959
  createElementVNode("div", {
@@ -46901,7 +46975,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46901
46975
  ], 32)
46902
46976
  ]),
46903
46977
  default: withCtx(() => [
46904
- createElementVNode("div", _hoisted_7, [
46978
+ createElementVNode("div", {
46979
+ class: "select-input-wrapper",
46980
+ onClick: _cache[4] || (_cache[4] = (...args) => _ctx.toAddTags && _ctx.toAddTags(...args))
46981
+ }, [
46905
46982
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
46906
46983
  return openBlock(), createBlock(_component_a_tag, {
46907
46984
  key: item.key
@@ -46925,9 +47002,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46925
47002
  ])
46926
47003
  ]),
46927
47004
  _: 1
46928
- }, 8, ["get-popup-container", "placement"])
47005
+ }, 16)
46929
47006
  ], 8, _hoisted_2)) : createCommentVNode("v-if", true),
46930
- _ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_8, [
47007
+ _ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_6, [
46931
47008
  createVNode(_component_Button, {
46932
47009
  onClick: withModifiers(_ctx.toAddTags, ["stop"])
46933
47010
  }, {
@@ -46937,13 +47014,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46937
47014
  _: 1
46938
47015
  }, 8, ["onClick"])
46939
47016
  ])) : createCommentVNode("v-if", true),
46940
- _ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9, [
47017
+ _ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
46941
47018
  createElementVNode("div", {
46942
47019
  class: "selector-empty-input",
46943
- onClick: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
46944
- }, "\xA0\xA0" + toDisplayString(_ctx.placeholder), 1)
47020
+ onClick: _cache[5] || (_cache[5] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
47021
+ }, " \xA0\xA0" + toDisplayString(_ctx.placeholder), 1)
46945
47022
  ])) : createCommentVNode("v-if", true),
46946
- _hoisted_10
47023
+ _hoisted_8
46947
47024
  ]);
46948
47025
  }
46949
47026
  var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);