bm-admin-ui 1.0.90-alpha → 1.0.91-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 (73) hide show
  1. package/es/components/attachment/index.d.ts +3 -3
  2. package/es/components/attachment/src/attachment.vue.d.ts +3 -3
  3. package/es/components/breadcrumb/index.d.ts +7 -7
  4. package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  5. package/es/components/button/index.d.ts +6 -6
  6. package/es/components/button/src/button.vue.d.ts +6 -6
  7. package/es/components/edit-form/index.d.ts +4 -4
  8. package/es/components/edit-form/index.js +1 -1
  9. package/es/components/edit-form/src/edit-form.vue.d.ts +4 -4
  10. package/es/components/feedback/index.d.ts +12 -12
  11. package/es/components/feedback/src/bmAlert.vue.d.ts +6 -6
  12. package/es/components/feedback/src/bmModal.vue.d.ts +6 -6
  13. package/es/components/float-table/index.js +54 -62
  14. package/es/components/flow-designer/index.js +1 -1
  15. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  16. package/es/components/form-create/index.js +1 -1
  17. package/es/components/search-filter/index.js +35 -14
  18. package/es/components/search-filter/src/form-select-all.vue.d.ts +21 -6
  19. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
  20. package/es/components/select-all/index.d.ts +6 -6
  21. package/es/components/select-all/index.js +1 -0
  22. package/es/components/select-all/src/selectAll.vue.d.ts +6 -6
  23. package/es/components/staffs-selector/index.d.ts +8 -8
  24. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  25. package/es/components/videoView/index.d.ts +1 -1
  26. package/es/components/videoView/src/videoView.vue.d.ts +1 -1
  27. package/lib/components/attachment/index.d.ts +3 -3
  28. package/lib/components/attachment/src/attachment.vue.d.ts +3 -3
  29. package/lib/components/breadcrumb/index.d.ts +7 -7
  30. package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  31. package/lib/components/button/index.d.ts +6 -6
  32. package/lib/components/button/src/button.vue.d.ts +6 -6
  33. package/lib/components/edit-form/index.d.ts +4 -4
  34. package/lib/components/edit-form/index.js +1 -1
  35. package/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
  36. package/lib/components/feedback/index.d.ts +12 -12
  37. package/lib/components/feedback/src/bmAlert.vue.d.ts +6 -6
  38. package/lib/components/feedback/src/bmModal.vue.d.ts +6 -6
  39. package/lib/components/float-table/index.js +54 -62
  40. package/lib/components/flow-designer/index.js +1 -1
  41. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  42. package/lib/components/form-create/index.js +1 -1
  43. package/lib/components/search-filter/index.js +35 -14
  44. package/lib/components/search-filter/src/form-select-all.vue.d.ts +21 -6
  45. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
  46. package/lib/components/select-all/index.d.ts +6 -6
  47. package/lib/components/select-all/index.js +1 -0
  48. package/lib/components/select-all/src/selectAll.vue.d.ts +6 -6
  49. package/lib/components/staffs-selector/index.d.ts +8 -8
  50. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  51. package/lib/components/videoView/index.d.ts +1 -1
  52. package/lib/components/videoView/src/videoView.vue.d.ts +1 -1
  53. package/package.json +34 -34
  54. package/types/components/attachment/index.d.ts +3 -3
  55. package/types/components/attachment/src/attachment.vue.d.ts +3 -3
  56. package/types/components/breadcrumb/index.d.ts +7 -7
  57. package/types/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  58. package/types/components/button/index.d.ts +6 -6
  59. package/types/components/button/src/button.vue.d.ts +6 -6
  60. package/types/components/edit-form/index.d.ts +4 -4
  61. package/types/components/edit-form/src/edit-form.vue.d.ts +4 -4
  62. package/types/components/feedback/index.d.ts +12 -12
  63. package/types/components/feedback/src/bmAlert.vue.d.ts +6 -6
  64. package/types/components/feedback/src/bmModal.vue.d.ts +6 -6
  65. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  66. package/types/components/search-filter/src/form-select-all.vue.d.ts +21 -6
  67. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
  68. package/types/components/select-all/index.d.ts +6 -6
  69. package/types/components/select-all/src/selectAll.vue.d.ts +6 -6
  70. package/types/components/staffs-selector/index.d.ts +8 -8
  71. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  72. package/types/components/videoView/index.d.ts +1 -1
  73. package/types/components/videoView/src/videoView.vue.d.ts +1 -1
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  };
28
28
  }>> & {}>>;
29
29
  getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType | undefined>;
30
- readonly AAlert: {
30
+ AAlert: {
31
31
  new (...args: any[]): {
32
32
  $: import("vue").ComponentInternalInstance;
33
33
  $data: {};
@@ -67,8 +67,8 @@ declare const _default: import("vue").DefineComponent<{
67
67
  $slots: Readonly<{
68
68
  [name: string]: import("vue").Slot;
69
69
  }>;
70
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
71
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
70
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
71
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
72
72
  $emit: (event: string, ...args: any[]) => void;
73
73
  $el: any;
74
74
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
97
97
  showIcon: boolean;
98
98
  closable: boolean;
99
99
  banner: boolean;
100
- }, {}, string> & {
100
+ }> & {
101
101
  beforeCreate?: (() => void) | (() => void)[] | undefined;
102
102
  created?: (() => void) | (() => void)[] | undefined;
103
103
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -112,7 +112,7 @@ declare const _default: import("vue").DefineComponent<{
112
112
  unmounted?: (() => void) | (() => void)[] | undefined;
113
113
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
114
114
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
115
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
115
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
116
116
  };
117
117
  $forceUpdate: () => void;
118
118
  $nextTick: typeof import("vue").nextTick;
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
169
169
  showIcon: boolean;
170
170
  closable: boolean;
171
171
  banner: boolean;
172
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
172
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
173
173
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
174
174
  type: {
175
175
  type: StringConstructor;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  }>>;
38
38
  caculWidth: import("vue").ComputedRef<string>;
39
39
  onOkCallback: (e: any) => void;
40
- readonly AModal: {
40
+ AModal: {
41
41
  new (...args: any[]): {
42
42
  $: import("vue").ComponentInternalInstance;
43
43
  $data: {};
@@ -236,8 +236,8 @@ declare const _default: import("vue").DefineComponent<{
236
236
  $slots: Readonly<{
237
237
  [name: string]: import("vue").Slot;
238
238
  }>;
239
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
240
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
239
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
240
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
241
241
  $emit: (event: string, ...args: any[]) => void;
242
242
  $el: any;
243
243
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -425,7 +425,7 @@ declare const _default: import("vue").DefineComponent<{
425
425
  destroyOnClose: boolean;
426
426
  focusTriggerAfterClose: boolean;
427
427
  confirmLoading: boolean;
428
- }, {}, string> & {
428
+ }> & {
429
429
  beforeCreate?: (() => void) | (() => void)[] | undefined;
430
430
  created?: (() => void) | (() => void)[] | undefined;
431
431
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -440,7 +440,7 @@ declare const _default: import("vue").DefineComponent<{
440
440
  unmounted?: (() => void) | (() => void)[] | undefined;
441
441
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
442
442
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
443
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
443
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
444
444
  };
445
445
  $forceUpdate: () => void;
446
446
  $nextTick: typeof import("vue").nextTick;
@@ -805,7 +805,7 @@ declare const _default: import("vue").DefineComponent<{
805
805
  destroyOnClose: boolean;
806
806
  focusTriggerAfterClose: boolean;
807
807
  confirmLoading: boolean;
808
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
808
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
809
809
  readonly info: import("ant-design-vue/lib/modal/Modal").ModalFunc;
810
810
  readonly success: import("ant-design-vue/lib/modal/Modal").ModalFunc;
811
811
  readonly error: import("ant-design-vue/lib/modal/Modal").ModalFunc;
@@ -8,7 +8,7 @@ var antDesignVue = require('ant-design-vue');
8
8
  var vxeTable = require('vxe-table');
9
9
 
10
10
  /**!
11
- * Sortable 1.15.0
11
+ * Sortable 1.14.0
12
12
  * @author RubaXa <trash@rubaxa.org>
13
13
  * @author owenm <owen23355@gmail.com>
14
14
  * @license MIT
@@ -136,7 +136,7 @@ function _objectWithoutProperties(source, excluded) {
136
136
  return target;
137
137
  }
138
138
 
139
- var version = "1.15.0";
139
+ var version = "1.14.0";
140
140
 
141
141
  function userAgent(pattern) {
142
142
  if (typeof window !== 'undefined' && window.navigator) {
@@ -1057,11 +1057,11 @@ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in
1057
1057
  return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
1058
1058
  },
1059
1059
 
1060
- /**
1061
- * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
1062
- * @param {Number} x X position
1063
- * @param {Number} y Y position
1064
- * @return {HTMLElement} Element of the first found nearest Sortable
1060
+ /**
1061
+ * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
1062
+ * @param {Number} x X position
1063
+ * @param {Number} y Y position
1064
+ * @return {HTMLElement} Element of the first found nearest Sortable
1065
1065
  */
1066
1066
  _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
1067
1067
  var ret;
@@ -1127,7 +1127,7 @@ _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
1127
1127
  }; // #1184 fix - Prevent click event on fallback if dragged but item not changed position
1128
1128
 
1129
1129
 
1130
- if (documentExists && !ChromeForAndroid) {
1130
+ if (documentExists) {
1131
1131
  document.addEventListener('click', function (evt) {
1132
1132
  if (ignoreNextClick) {
1133
1133
  evt.preventDefault();
@@ -1169,10 +1169,10 @@ var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
1169
1169
  dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1170
1170
  }
1171
1171
  };
1172
- /**
1173
- * @class Sortable
1174
- * @param {HTMLElement} el
1175
- * @param {Object} [options]
1172
+ /**
1173
+ * @class Sortable
1174
+ * @param {HTMLElement} el
1175
+ * @param {Object} [options]
1176
1176
  */
1177
1177
 
1178
1178
 
@@ -1746,7 +1746,6 @@ Sortable.prototype =
1746
1746
 
1747
1747
  if (!Sortable.eventCanceled) {
1748
1748
  cloneEl = clone(dragEl);
1749
- cloneEl.removeAttribute("id");
1750
1749
  cloneEl.draggable = false;
1751
1750
  cloneEl.style['will-change'] = '';
1752
1751
 
@@ -1988,14 +1987,7 @@ Sortable.prototype =
1988
1987
 
1989
1988
  if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1990
1989
  capture();
1991
-
1992
- if (elLastChild && elLastChild.nextSibling) {
1993
- // the last draggable element is not the last node
1994
- el.insertBefore(dragEl, elLastChild.nextSibling);
1995
- } else {
1996
- el.appendChild(dragEl);
1997
- }
1998
-
1990
+ el.appendChild(dragEl);
1999
1991
  parentEl = el; // actualization
2000
1992
 
2001
1993
  changed();
@@ -2318,9 +2310,9 @@ Sortable.prototype =
2318
2310
  }
2319
2311
  },
2320
2312
 
2321
- /**
2322
- * Serializes the item into an array of string.
2323
- * @returns {String[]}
2313
+ /**
2314
+ * Serializes the item into an array of string.
2315
+ * @returns {String[]}
2324
2316
  */
2325
2317
  toArray: function toArray() {
2326
2318
  var order = [],
@@ -2341,9 +2333,9 @@ Sortable.prototype =
2341
2333
  return order;
2342
2334
  },
2343
2335
 
2344
- /**
2345
- * Sorts the elements according to the array.
2346
- * @param {String[]} order order of the items
2336
+ /**
2337
+ * Sorts the elements according to the array.
2338
+ * @param {String[]} order order of the items
2347
2339
  */
2348
2340
  sort: function sort(order, useAnimation) {
2349
2341
  var items = {},
@@ -2365,29 +2357,29 @@ Sortable.prototype =
2365
2357
  useAnimation && this.animateAll();
2366
2358
  },
2367
2359
 
2368
- /**
2369
- * Save the current sorting
2360
+ /**
2361
+ * Save the current sorting
2370
2362
  */
2371
2363
  save: function save() {
2372
2364
  var store = this.options.store;
2373
2365
  store && store.set && store.set(this);
2374
2366
  },
2375
2367
 
2376
- /**
2377
- * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
2378
- * @param {HTMLElement} el
2379
- * @param {String} [selector] default: `options.draggable`
2380
- * @returns {HTMLElement|null}
2368
+ /**
2369
+ * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
2370
+ * @param {HTMLElement} el
2371
+ * @param {String} [selector] default: `options.draggable`
2372
+ * @returns {HTMLElement|null}
2381
2373
  */
2382
2374
  closest: function closest$1(el, selector) {
2383
2375
  return closest(el, selector || this.options.draggable, this.el, false);
2384
2376
  },
2385
2377
 
2386
- /**
2387
- * Set/get option
2388
- * @param {string} name
2389
- * @param {*} [value]
2390
- * @returns {*}
2378
+ /**
2379
+ * Set/get option
2380
+ * @param {string} name
2381
+ * @param {*} [value]
2382
+ * @returns {*}
2391
2383
  */
2392
2384
  option: function option(name, value) {
2393
2385
  var options = this.options;
@@ -2409,8 +2401,8 @@ Sortable.prototype =
2409
2401
  }
2410
2402
  },
2411
2403
 
2412
- /**
2413
- * Destroy
2404
+ /**
2405
+ * Destroy
2414
2406
  */
2415
2407
  destroy: function destroy() {
2416
2408
  pluginEvent('destroy', this);
@@ -2587,11 +2579,11 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
2587
2579
 
2588
2580
  return 0;
2589
2581
  }
2590
- /**
2591
- * Gets the direction dragEl must be swapped relative to target in order to make it
2592
- * seem that dragEl has been "inserted" into that element's position
2593
- * @param {HTMLElement} target The target whose position dragEl is being inserted at
2594
- * @return {Number} Direction dragEl must be swapped
2582
+ /**
2583
+ * Gets the direction dragEl must be swapped relative to target in order to make it
2584
+ * seem that dragEl has been "inserted" into that element's position
2585
+ * @param {HTMLElement} target The target whose position dragEl is being inserted at
2586
+ * @return {Number} Direction dragEl must be swapped
2595
2587
  */
2596
2588
 
2597
2589
 
@@ -2602,11 +2594,11 @@ function _getInsertDirection(target) {
2602
2594
  return -1;
2603
2595
  }
2604
2596
  }
2605
- /**
2606
- * Generate id
2607
- * @param {HTMLElement} el
2608
- * @returns {String}
2609
- * @private
2597
+ /**
2598
+ * Generate id
2599
+ * @param {HTMLElement} el
2600
+ * @returns {String}
2601
+ * @private
2610
2602
  */
2611
2603
 
2612
2604
 
@@ -2670,18 +2662,18 @@ Sortable.utils = {
2670
2662
  detectDirection: _detectDirection,
2671
2663
  getChild: getChild
2672
2664
  };
2673
- /**
2674
- * Get the Sortable instance of an element
2675
- * @param {HTMLElement} element The element
2676
- * @return {Sortable|undefined} The instance of Sortable
2665
+ /**
2666
+ * Get the Sortable instance of an element
2667
+ * @param {HTMLElement} element The element
2668
+ * @return {Sortable|undefined} The instance of Sortable
2677
2669
  */
2678
2670
 
2679
2671
  Sortable.get = function (element) {
2680
2672
  return element[expando];
2681
2673
  };
2682
- /**
2683
- * Mount a plugin to Sortable
2684
- * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
2674
+ /**
2675
+ * Mount a plugin to Sortable
2676
+ * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
2685
2677
  */
2686
2678
 
2687
2679
 
@@ -2700,10 +2692,10 @@ Sortable.mount = function () {
2700
2692
  PluginManager.mount(plugin);
2701
2693
  });
2702
2694
  };
2703
- /**
2704
- * Create sortable instance
2705
- * @param {HTMLElement} el
2706
- * @param {Object} [options]
2695
+ /**
2696
+ * Create sortable instance
2697
+ * @param {HTMLElement} el
2698
+ * @param {Object} [options]
2707
2699
  */
2708
2700
 
2709
2701
 
@@ -268,7 +268,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
268
268
  vue.createElementVNode("span", {
269
269
  class: vue.normalizeClass(["opeator", { active: __props.isCustom }])
270
270
  }, [
271
- vue.createCommentVNode(' <CopyOutlined\r\n @click.stop="\r\n () => {\r\n copyCallback()\r\n }\r\n " />&nbsp;\u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
271
+ vue.createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " />&nbsp;\u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
272
272
  vue.createVNode(vue.unref(iconsVue.CloseOutlined), {
273
273
  onClick: _cache[0] || (_cache[0] = () => {
274
274
  __props.deleteCallback();
@@ -50,9 +50,9 @@ declare const _default: import("vue").DefineComponent<{
50
50
  default: () => void;
51
51
  };
52
52
  }>> & {}>>;
53
- readonly CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
54
- readonly RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
55
- readonly Tag: {
53
+ CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
54
+ RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
55
+ Tag: {
56
56
  new (...args: any[]): {
57
57
  $: import("vue").ComponentInternalInstance;
58
58
  $data: {};
@@ -88,8 +88,8 @@ declare const _default: import("vue").DefineComponent<{
88
88
  $slots: Readonly<{
89
89
  [name: string]: import("vue").Slot;
90
90
  }>;
91
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
92
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
91
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
92
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
93
93
  $emit: (event: string, ...args: any[]) => void;
94
94
  $el: any;
95
95
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -114,7 +114,7 @@ declare const _default: import("vue").DefineComponent<{
114
114
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
115
115
  visible: boolean;
116
116
  closable: boolean;
117
- }, {}, string> & {
117
+ }> & {
118
118
  beforeCreate?: (() => void) | (() => void)[] | undefined;
119
119
  created?: (() => void) | (() => void)[] | undefined;
120
120
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -129,7 +129,7 @@ declare const _default: import("vue").DefineComponent<{
129
129
  unmounted?: (() => void) | (() => void)[] | undefined;
130
130
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
131
131
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
132
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
132
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
133
133
  };
134
134
  $forceUpdate: () => void;
135
135
  $nextTick: typeof import("vue").nextTick;
@@ -179,7 +179,7 @@ declare const _default: import("vue").DefineComponent<{
179
179
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
180
180
  visible: boolean;
181
181
  closable: boolean;
182
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
182
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
183
183
  readonly CheckableTag: import("vue").DefineComponent<{
184
184
  prefixCls: StringConstructor;
185
185
  checked: {
@@ -18704,7 +18704,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
18704
18704
  debounceFetch("");
18705
18705
  return (_ctx, _cache) => {
18706
18706
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
18707
- vue.createCommentVNode(' <Input\r\n v-model:value="inputValue"\r\n placeholder="\u8BF7\u8F93\u5165"\r\n :disabled="disabled"\r\n @change="debounceFn($event.target.value)"\r\n ></Input> '),
18707
+ vue.createCommentVNode(' <Input\n v-model:value="inputValue"\n placeholder="\u8BF7\u8F93\u5165"\n :disabled="disabled"\n @change="debounceFn($event.target.value)"\n ></Input> '),
18708
18708
  vue.createVNode(vue.unref(antDesignVue.Select), {
18709
18709
  value: __props.value,
18710
18710
  placeholder: "\u8BF7\u9009\u62E9",
@@ -185,14 +185,19 @@ const _hoisted_3 = ["onClick"];
185
185
  const _hoisted_4 = /* @__PURE__ */ vue.createElementVNode("span", { class: "checkbox-label" }, "\u5168\u9009", -1);
186
186
  const _hoisted_5 = ["onClick"];
187
187
  const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("span", { class: "checkbox-label" }, "\u53CD\u9009", -1);
188
- const _hoisted_7 = { class: "blue" };
188
+ const _hoisted_7 = { key: 0 };
189
+ const _hoisted_8 = { class: "blue" };
189
190
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
190
191
  __name: "form-select-all",
191
192
  props: {
192
193
  modelValue: {
193
194
  type: Array || String || Number || void 0
194
195
  },
195
- disabled: Boolean
196
+ disabled: Boolean,
197
+ showSelectAll: {
198
+ type: Boolean,
199
+ default: true
200
+ }
196
201
  },
197
202
  emits: ["onSelectAll", "onChange", "update:modelValue"],
198
203
  setup(__props, { emit }) {
@@ -202,7 +207,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
202
207
  search: {
203
208
  indeterminate: false,
204
209
  checkedAll: false,
205
- checkedReverse: false
210
+ checkedReverse: false,
211
+ searchList: []
206
212
  }
207
213
  });
208
214
  let selectValue = vue.ref([]);
@@ -214,7 +220,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
214
220
  state.search = {
215
221
  indeterminate: false,
216
222
  checkedAll: false,
217
- checkedReverse: false
223
+ checkedReverse: false,
224
+ searchList: []
218
225
  };
219
226
  }
220
227
  },
@@ -224,17 +231,20 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
224
231
  );
225
232
  const selectAll = (e) => {
226
233
  let key = "value";
234
+ let list = [];
227
235
  if (instance?.attrs.fieldNames || instance?.attrs["field-names"])
228
236
  key = (instance?.attrs).fieldNames?.value || (instance?.attrs)["field-names"].value;
229
237
  state.search.checkedAll = !state.search.checkedAll;
230
238
  state.search.indeterminate = false;
231
239
  state.search.checkedReverse = false;
240
+ if (state.search.searchList.length > 0)
241
+ list = state.search.searchList;
242
+ else
243
+ list = instance?.attrs.options;
232
244
  if (state.search.checkedAll) {
233
- selectValue.value = (instance?.attrs.options).map(
234
- (v) => {
235
- return v[key];
236
- }
237
- );
245
+ selectValue.value = list.map((v) => {
246
+ return v[key];
247
+ });
238
248
  } else {
239
249
  selectValue.value = [];
240
250
  }
@@ -277,6 +287,15 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
277
287
  option
278
288
  });
279
289
  };
290
+ const onSearch = (val) => {
291
+ if (val) {
292
+ const key = (instance?.attrs).optionFilterProp || (instance?.attrs)["option-filter-prop"] || "value";
293
+ const list = (instance?.attrs).options.filter((ele) => {
294
+ return String(ele[key]).indexOf(String(val)) > -1;
295
+ });
296
+ state.search.searchList = list;
297
+ }
298
+ };
280
299
  const VNodes = (_, { attrs }) => {
281
300
  return vue.h(attrs.vnodes);
282
301
  };
@@ -289,10 +308,12 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
289
308
  class: "bm-select search"
290
309
  }, _ctx.$attrs, {
291
310
  mode: "multiple",
311
+ class: { w200: !props.showSelectAll },
292
312
  disabled: props.disabled,
293
313
  placeholder: vue.unref(instance)?.attrs.placeholder ? vue.unref(instance)?.attrs.placeholder : "\u8BF7\u9009\u62E9",
294
314
  "get-popup-container": (nodes) => nodes.parentNode,
295
- onChange
315
+ onChange,
316
+ onSearch
296
317
  }), {
297
318
  dropdownRender: vue.withCtx(({ menuNode: menu }) => [
298
319
  vue.createElementVNode("div", _hoisted_1, [
@@ -324,16 +345,16 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
324
345
  ]),
325
346
  _: 1
326
347
  }),
327
- vue.createElementVNode("div", null, [
348
+ __props.showSelectAll ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
328
349
  vue.createTextVNode(" \u5DF2\u9009\u62E9 "),
329
- vue.createElementVNode("span", _hoisted_7, vue.toDisplayString(vue.unref(selectValue)?.length || 0), 1),
350
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(vue.unref(selectValue)?.length || 0), 1),
330
351
  vue.createTextVNode(" \u9879 ")
331
- ])
352
+ ])) : vue.createCommentVNode("v-if", true)
332
353
  ]),
333
354
  vue.createVNode(VNodes, { vnodes: menu }, null, 8, ["vnodes"])
334
355
  ]),
335
356
  _: 1
336
- }, 16, ["value", "disabled", "placeholder", "get-popup-container"]);
357
+ }, 16, ["value", "class", "disabled", "placeholder", "get-popup-container"]);
337
358
  };
338
359
  }
339
360
  });
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: ArrayConstructor;
4
4
  };
5
5
  disabled: BooleanConstructor;
6
+ showSelectAll: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
6
10
  }, {
7
11
  instance: import("vue").ComponentInternalInstance | null;
8
12
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -10,6 +14,10 @@ declare const _default: import("vue").DefineComponent<{
10
14
  type: ArrayConstructor;
11
15
  };
12
16
  disabled: BooleanConstructor;
17
+ showSelectAll: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
13
21
  }>> & {
14
22
  onOnChange?: ((...args: any[]) => any) | undefined;
15
23
  onOnSelectAll?: ((...args: any[]) => any) | undefined;
@@ -20,6 +28,7 @@ declare const _default: import("vue").DefineComponent<{
20
28
  indeterminate: boolean;
21
29
  checkedAll: boolean;
22
30
  checkedReverse: boolean;
31
+ searchList: never[];
23
32
  };
24
33
  };
25
34
  emit: (event: "onChange" | "onSelectAll" | "update:modelValue", ...args: any[]) => void;
@@ -27,12 +36,13 @@ declare const _default: import("vue").DefineComponent<{
27
36
  selectAll: (e: any) => void;
28
37
  reverseAll: (e: any) => false | undefined;
29
38
  onChange: (value: any, option: any) => void;
39
+ onSearch: (val: string | number) => void;
30
40
  VNodes: (_: any, { attrs }: {
31
41
  attrs: any;
32
42
  }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
43
  [key: string]: any;
34
44
  }>;
35
- readonly ASelect: {
45
+ ASelect: {
36
46
  new (...args: any[]): {
37
47
  $: import("vue").ComponentInternalInstance;
38
48
  $data: {};
@@ -212,8 +222,8 @@ declare const _default: import("vue").DefineComponent<{
212
222
  $slots: Readonly<{
213
223
  [name: string]: import("vue").Slot;
214
224
  }>;
215
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
216
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
225
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
226
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
217
227
  $emit: (event: string, ...args: any[]) => void;
218
228
  $el: any;
219
229
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -382,7 +392,7 @@ declare const _default: import("vue").DefineComponent<{
382
392
  defaultActiveFirstOption: boolean;
383
393
  labelInValue: boolean;
384
394
  bordered: boolean;
385
- }, {}, string> & {
395
+ }> & {
386
396
  beforeCreate?: (() => void) | (() => void)[] | undefined;
387
397
  created?: (() => void) | (() => void)[] | undefined;
388
398
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -397,7 +407,7 @@ declare const _default: import("vue").DefineComponent<{
397
407
  unmounted?: (() => void) | (() => void)[] | undefined;
398
408
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
399
409
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
400
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
410
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
401
411
  };
402
412
  $forceUpdate: () => void;
403
413
  $nextTick: typeof import("vue").nextTick;
@@ -721,7 +731,7 @@ declare const _default: import("vue").DefineComponent<{
721
731
  defaultActiveFirstOption: boolean;
722
732
  labelInValue: boolean;
723
733
  bordered: boolean;
724
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
734
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
725
735
  readonly Option: import("ant-design-vue/lib/vc-select/Option").OptionFC;
726
736
  readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
727
737
  readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
@@ -731,11 +741,16 @@ declare const _default: import("vue").DefineComponent<{
731
741
  type: ArrayConstructor;
732
742
  };
733
743
  disabled: BooleanConstructor;
744
+ showSelectAll: {
745
+ type: BooleanConstructor;
746
+ default: boolean;
747
+ };
734
748
  }>> & {
735
749
  onOnChange?: ((...args: any[]) => any) | undefined;
736
750
  onOnSelectAll?: ((...args: any[]) => any) | undefined;
737
751
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
738
752
  }, {
739
753
  disabled: boolean;
754
+ showSelectAll: boolean;
740
755
  }>;
741
756
  export default _default;
@@ -113,9 +113,9 @@ declare const _default: import("vue").DefineComponent<{
113
113
  handleSubmit: () => void;
114
114
  handleReset: () => void;
115
115
  handleSetDefault: () => void;
116
- readonly DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
117
- readonly UpOutlined: import("@ant-design/icons-vue/lib/icons/UpOutlined").UpOutlinedIconType;
118
- readonly SearchOutlined: import("@ant-design/icons-vue/lib/icons/SearchOutlined").SearchOutlinedIconType;
116
+ DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
117
+ UpOutlined: import("@ant-design/icons-vue/lib/icons/UpOutlined").UpOutlinedIconType;
118
+ SearchOutlined: import("@ant-design/icons-vue/lib/icons/SearchOutlined").SearchOutlinedIconType;
119
119
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "expand" | "setDefault")[], "submit" | "reset" | "expand" | "setDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
120
120
  showExpandBtn: {
121
121
  type: BooleanConstructor;