bm-admin-ui 1.0.84-alpha → 1.0.85-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 +62 -54
  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 +70 -10
  17. package/es/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  18. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
  19. package/es/components/select-all/index.d.ts +6 -6
  20. package/es/components/select-all/src/selectAll.vue.d.ts +6 -6
  21. package/es/components/staffs-selector/index.d.ts +8 -8
  22. package/es/components/staffs-selector/index.js +2 -2
  23. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  24. package/es/components/videoView/index.d.ts +1 -1
  25. package/es/components/videoView/src/videoView.vue.d.ts +1 -1
  26. package/lib/components/attachment/index.d.ts +3 -3
  27. package/lib/components/attachment/src/attachment.vue.d.ts +3 -3
  28. package/lib/components/breadcrumb/index.d.ts +7 -7
  29. package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  30. package/lib/components/button/index.d.ts +6 -6
  31. package/lib/components/button/src/button.vue.d.ts +6 -6
  32. package/lib/components/edit-form/index.d.ts +4 -4
  33. package/lib/components/edit-form/index.js +1 -1
  34. package/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
  35. package/lib/components/feedback/index.d.ts +12 -12
  36. package/lib/components/feedback/src/bmAlert.vue.d.ts +6 -6
  37. package/lib/components/feedback/src/bmModal.vue.d.ts +6 -6
  38. package/lib/components/float-table/index.js +62 -54
  39. package/lib/components/flow-designer/index.js +1 -1
  40. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  41. package/lib/components/form-create/index.js +68 -8
  42. package/lib/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  43. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
  44. package/lib/components/select-all/index.d.ts +6 -6
  45. package/lib/components/select-all/src/selectAll.vue.d.ts +6 -6
  46. package/lib/components/staffs-selector/index.d.ts +8 -8
  47. package/lib/components/staffs-selector/index.js +2 -2
  48. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  49. package/lib/components/videoView/index.d.ts +1 -1
  50. package/lib/components/videoView/src/videoView.vue.d.ts +1 -1
  51. package/package.json +34 -34
  52. package/theme-chalk/form-create.css +1 -1
  53. package/theme-chalk/index.css +1 -1
  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 +6 -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
- AAlert: {
30
+ readonly 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, {}>>;
71
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
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>, {}>;
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
- }> & {
100
+ }, {}, string> & {
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, {}>>, 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;
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;
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
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
172
+ }, {}, string> & 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
- AModal: {
40
+ readonly 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, {}>>;
240
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
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>, {}>;
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
- }> & {
428
+ }, {}, string> & {
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, {}>>, 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;
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;
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
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
808
+ }, {}, string> & 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.14.0
11
+ * Sortable 1.15.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.14.0";
139
+ var version = "1.15.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) {
1130
+ if (documentExists && !ChromeForAndroid) {
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,6 +1746,7 @@ Sortable.prototype =
1746
1746
 
1747
1747
  if (!Sortable.eventCanceled) {
1748
1748
  cloneEl = clone(dragEl);
1749
+ cloneEl.removeAttribute("id");
1749
1750
  cloneEl.draggable = false;
1750
1751
  cloneEl.style['will-change'] = '';
1751
1752
 
@@ -1987,7 +1988,14 @@ Sortable.prototype =
1987
1988
 
1988
1989
  if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1989
1990
  capture();
1990
- el.appendChild(dragEl);
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
+
1991
1999
  parentEl = el; // actualization
1992
2000
 
1993
2001
  changed();
@@ -2310,9 +2318,9 @@ Sortable.prototype =
2310
2318
  }
2311
2319
  },
2312
2320
 
2313
- /**
2314
- * Serializes the item into an array of string.
2315
- * @returns {String[]}
2321
+ /**
2322
+ * Serializes the item into an array of string.
2323
+ * @returns {String[]}
2316
2324
  */
2317
2325
  toArray: function toArray() {
2318
2326
  var order = [],
@@ -2333,9 +2341,9 @@ Sortable.prototype =
2333
2341
  return order;
2334
2342
  },
2335
2343
 
2336
- /**
2337
- * Sorts the elements according to the array.
2338
- * @param {String[]} order order of the items
2344
+ /**
2345
+ * Sorts the elements according to the array.
2346
+ * @param {String[]} order order of the items
2339
2347
  */
2340
2348
  sort: function sort(order, useAnimation) {
2341
2349
  var items = {},
@@ -2357,29 +2365,29 @@ Sortable.prototype =
2357
2365
  useAnimation && this.animateAll();
2358
2366
  },
2359
2367
 
2360
- /**
2361
- * Save the current sorting
2368
+ /**
2369
+ * Save the current sorting
2362
2370
  */
2363
2371
  save: function save() {
2364
2372
  var store = this.options.store;
2365
2373
  store && store.set && store.set(this);
2366
2374
  },
2367
2375
 
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}
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}
2373
2381
  */
2374
2382
  closest: function closest$1(el, selector) {
2375
2383
  return closest(el, selector || this.options.draggable, this.el, false);
2376
2384
  },
2377
2385
 
2378
- /**
2379
- * Set/get option
2380
- * @param {string} name
2381
- * @param {*} [value]
2382
- * @returns {*}
2386
+ /**
2387
+ * Set/get option
2388
+ * @param {string} name
2389
+ * @param {*} [value]
2390
+ * @returns {*}
2383
2391
  */
2384
2392
  option: function option(name, value) {
2385
2393
  var options = this.options;
@@ -2401,8 +2409,8 @@ Sortable.prototype =
2401
2409
  }
2402
2410
  },
2403
2411
 
2404
- /**
2405
- * Destroy
2412
+ /**
2413
+ * Destroy
2406
2414
  */
2407
2415
  destroy: function destroy() {
2408
2416
  pluginEvent('destroy', this);
@@ -2579,11 +2587,11 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
2579
2587
 
2580
2588
  return 0;
2581
2589
  }
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
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
2587
2595
  */
2588
2596
 
2589
2597
 
@@ -2594,11 +2602,11 @@ function _getInsertDirection(target) {
2594
2602
  return -1;
2595
2603
  }
2596
2604
  }
2597
- /**
2598
- * Generate id
2599
- * @param {HTMLElement} el
2600
- * @returns {String}
2601
- * @private
2605
+ /**
2606
+ * Generate id
2607
+ * @param {HTMLElement} el
2608
+ * @returns {String}
2609
+ * @private
2602
2610
  */
2603
2611
 
2604
2612
 
@@ -2662,18 +2670,18 @@ Sortable.utils = {
2662
2670
  detectDirection: _detectDirection,
2663
2671
  getChild: getChild
2664
2672
  };
2665
- /**
2666
- * Get the Sortable instance of an element
2667
- * @param {HTMLElement} element The element
2668
- * @return {Sortable|undefined} The instance of Sortable
2673
+ /**
2674
+ * Get the Sortable instance of an element
2675
+ * @param {HTMLElement} element The element
2676
+ * @return {Sortable|undefined} The instance of Sortable
2669
2677
  */
2670
2678
 
2671
2679
  Sortable.get = function (element) {
2672
2680
  return element[expando];
2673
2681
  };
2674
- /**
2675
- * Mount a plugin to Sortable
2676
- * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
2682
+ /**
2683
+ * Mount a plugin to Sortable
2684
+ * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
2677
2685
  */
2678
2686
 
2679
2687
 
@@ -2692,10 +2700,10 @@ Sortable.mount = function () {
2692
2700
  PluginManager.mount(plugin);
2693
2701
  });
2694
2702
  };
2695
- /**
2696
- * Create sortable instance
2697
- * @param {HTMLElement} el
2698
- * @param {Object} [options]
2703
+ /**
2704
+ * Create sortable instance
2705
+ * @param {HTMLElement} el
2706
+ * @param {Object} [options]
2699
2707
  */
2700
2708
 
2701
2709
 
@@ -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\n @click.stop="\n () => {\n copyCallback()\n }\n " />&nbsp;\u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
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 '),
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
- CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
54
- RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
55
- Tag: {
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: {
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, {}>>;
92
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
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>, {}>;
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
- }> & {
117
+ }, {}, string> & {
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, {}>>, 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;
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;
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
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
182
+ }, {}, string> & 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: {
@@ -1038,9 +1038,12 @@ var people = {
1038
1038
  },
1039
1039
  };
1040
1040
 
1041
+ const _hoisted_1$6 = ["onClick"];
1042
+ const _hoisted_2$6 = ["onClick"];
1043
+ const _hoisted_3$5 = { class: "box" };
1041
1044
  const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
1042
1045
  __name: "temp-content",
1043
- props: ["content"],
1046
+ props: ["content", "preview"],
1044
1047
  setup(__props) {
1045
1048
  const props = __props;
1046
1049
  const layers = vue.computed(() => {
@@ -1063,6 +1066,10 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
1063
1066
  }
1064
1067
  return "";
1065
1068
  });
1069
+ const picPreview = vue.ref(false);
1070
+ function triggerPreview() {
1071
+ picPreview.value = !picPreview.value;
1072
+ }
1066
1073
  return (_ctx, _cache) => {
1067
1074
  return vue.openBlock(), vue.createElementBlock("div", {
1068
1075
  class: "bm-fc-rect-outer",
@@ -1070,13 +1077,45 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
1070
1077
  vue.unref(layerBackGround) ? { backgroundImage: `url('${vue.unref(layerBackGround)}')` } : {}
1071
1078
  )
1072
1079
  }, [
1080
+ props?.preview ? (vue.openBlock(), vue.createElementBlock("div", {
1081
+ key: 0,
1082
+ class: "mask-hover",
1083
+ onClick: vue.withModifiers(triggerPreview, ["stop"])
1084
+ }, [
1085
+ vue.createElementVNode("p", null, [
1086
+ vue.createVNode(vue.unref(iconsVue.EyeOutlined)),
1087
+ vue.createTextVNode("\xA0\u9884\u89C8")
1088
+ ])
1089
+ ], 8, _hoisted_1$6)) : vue.createCommentVNode("v-if", true),
1073
1090
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(layers), (layer) => {
1074
1091
  return vue.openBlock(), vue.createElementBlock("div", {
1075
1092
  key: layer.uuid,
1076
1093
  class: vue.normalizeClass(["bm-fc-rect", { "is-ele": layer.backgroundImage }]),
1077
1094
  style: vue.normalizeStyle(layer)
1078
- }, null, 6);
1079
- }), 128))
1095
+ }, vue.toDisplayString(layer.name), 7);
1096
+ }), 128)),
1097
+ __props.preview && picPreview.value ? (vue.openBlock(), vue.createElementBlock("div", {
1098
+ key: 1,
1099
+ class: "bm-fc-rect-wrapper",
1100
+ onClick: vue.withModifiers(triggerPreview, ["self"])
1101
+ }, [
1102
+ vue.createElementVNode("div", _hoisted_3$5, [
1103
+ vue.createElementVNode("div", {
1104
+ class: "bm-fc-rect-outer",
1105
+ style: vue.normalizeStyle(
1106
+ vue.unref(layerBackGround) ? { backgroundImage: `url('${vue.unref(layerBackGround)}')` } : {}
1107
+ )
1108
+ }, [
1109
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(layers), (layer) => {
1110
+ return vue.openBlock(), vue.createElementBlock("div", {
1111
+ key: layer.uuid,
1112
+ class: vue.normalizeClass(["bm-fc-rect", { "is-ele": layer.backgroundImage }]),
1113
+ style: vue.normalizeStyle(layer)
1114
+ }, vue.toDisplayString(layer.name), 7);
1115
+ }), 128))
1116
+ ], 4)
1117
+ ])
1118
+ ], 8, _hoisted_2$6)) : vue.createCommentVNode("v-if", true)
1080
1119
  ], 4);
1081
1120
  };
1082
1121
  }
@@ -19465,6 +19504,22 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
19465
19504
  }
19466
19505
  return tableRule;
19467
19506
  }
19507
+ function getTempContentWithName(tempData) {
19508
+ if (tempData?.coverageArr) {
19509
+ try {
19510
+ return JSON.stringify(
19511
+ tempData?.coverageArr?.map((arr) => {
19512
+ const style = JSON.parse(arr?.extraValues);
19513
+ style.name = ![98, 99].includes(+arr?.fieldType) ? arr.name : "";
19514
+ return style;
19515
+ })
19516
+ );
19517
+ } catch (e) {
19518
+ throw Error("\u6A21\u677F\u6570\u636E\u5B57\u6BB5\u9519\u8BEF");
19519
+ }
19520
+ }
19521
+ return [];
19522
+ }
19468
19523
  props.value && initValue(props.value);
19469
19524
  props.extraConfig.materialTemp.getDict().then((data) => {
19470
19525
  measrueDicts.value = data;
@@ -19665,7 +19720,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
19665
19720
  pane.tempSelected.content ? (vue.openBlock(), vue.createBlock(TempContent, {
19666
19721
  key: 0,
19667
19722
  class: "bm-fc-form-item__temp-content",
19668
- content: pane.tempSelected.content
19723
+ content: getTempContentWithName(pane.tempSelected),
19724
+ preview: true
19669
19725
  }, null, 8, ["content"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_9$2, "\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6"))
19670
19726
  ]),
19671
19727
  _: 2
@@ -20012,9 +20068,11 @@ var product = {
20012
20068
  on: {
20013
20069
  change(inject, value) {
20014
20070
  inject.self.props.defalutValue = value;
20015
- inject.api.form[inject.self.field] = value;
20016
20071
  vue.nextTick(() => {
20017
- inject.api.validateField(inject.self.field);
20072
+ inject.api.form[inject.self.field] = value;
20073
+ setTimeout(() => {
20074
+ inject.api.validateField(inject.self.field);
20075
+ });
20018
20076
  });
20019
20077
  },
20020
20078
  },
@@ -20039,9 +20097,11 @@ var product = {
20039
20097
  on: {
20040
20098
  change(inject, value) {
20041
20099
  inject.self.props.defalutValue = value;
20042
- inject.api.form[inject.self.field] = value;
20043
20100
  vue.nextTick(() => {
20044
- inject.api.validateField(inject.self.field);
20101
+ inject.api.form[inject.self.field] = value;
20102
+ setTimeout(() => {
20103
+ inject.api.validateField(inject.self.field);
20104
+ });
20045
20105
  });
20046
20106
  },
20047
20107
  },
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
32
32
  }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
33
  [key: string]: any;
34
34
  }>;
35
- ASelect: {
35
+ readonly ASelect: {
36
36
  new (...args: any[]): {
37
37
  $: import("vue").ComponentInternalInstance;
38
38
  $data: {};
@@ -212,8 +212,8 @@ declare const _default: import("vue").DefineComponent<{
212
212
  $slots: Readonly<{
213
213
  [name: string]: import("vue").Slot;
214
214
  }>;
215
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
216
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
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>, {}>;
217
217
  $emit: (event: string, ...args: any[]) => void;
218
218
  $el: any;
219
219
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -382,7 +382,7 @@ declare const _default: import("vue").DefineComponent<{
382
382
  defaultActiveFirstOption: boolean;
383
383
  labelInValue: boolean;
384
384
  bordered: boolean;
385
- }> & {
385
+ }, {}, string> & {
386
386
  beforeCreate?: (() => void) | (() => void)[] | undefined;
387
387
  created?: (() => void) | (() => void)[] | undefined;
388
388
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -397,7 +397,7 @@ declare const _default: import("vue").DefineComponent<{
397
397
  unmounted?: (() => void) | (() => void)[] | undefined;
398
398
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
399
399
  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, {}>>, 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;
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;
401
401
  };
402
402
  $forceUpdate: () => void;
403
403
  $nextTick: typeof import("vue").nextTick;
@@ -721,7 +721,7 @@ declare const _default: import("vue").DefineComponent<{
721
721
  defaultActiveFirstOption: boolean;
722
722
  labelInValue: boolean;
723
723
  bordered: boolean;
724
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
724
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
725
725
  readonly Option: import("ant-design-vue/lib/vc-select/Option").OptionFC;
726
726
  readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
727
727
  readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
@@ -71,9 +71,9 @@ declare const _default: import("vue").DefineComponent<{
71
71
  handleExpandBtnChange: () => void;
72
72
  handleSubmit: () => void;
73
73
  handleReset: () => void;
74
- DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
75
- UpOutlined: import("@ant-design/icons-vue/lib/icons/UpOutlined").UpOutlinedIconType;
76
- SearchOutlined: import("@ant-design/icons-vue/lib/icons/SearchOutlined").SearchOutlinedIconType;
74
+ readonly DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
75
+ readonly UpOutlined: import("@ant-design/icons-vue/lib/icons/UpOutlined").UpOutlinedIconType;
76
+ readonly SearchOutlined: import("@ant-design/icons-vue/lib/icons/SearchOutlined").SearchOutlinedIconType;
77
77
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "expand")[], "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
78
78
  showExpandBtn: {
79
79
  type: BooleanConstructor;
@@ -40,7 +40,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
40
40
  }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
41
  [key: string]: any;
42
42
  }>;
43
- ASelect: {
43
+ readonly ASelect: {
44
44
  new (...args: any[]): {
45
45
  $: import("vue").ComponentInternalInstance;
46
46
  $data: {};
@@ -220,8 +220,8 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
220
220
  $slots: Readonly<{
221
221
  [name: string]: import("vue").Slot;
222
222
  }>;
223
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
224
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
223
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
224
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
225
225
  $emit: (event: string, ...args: any[]) => void;
226
226
  $el: any;
227
227
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -390,7 +390,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
390
390
  defaultActiveFirstOption: boolean;
391
391
  labelInValue: boolean;
392
392
  bordered: boolean;
393
- }> & {
393
+ }, {}, string> & {
394
394
  beforeCreate?: (() => void) | (() => void)[] | undefined;
395
395
  created?: (() => void) | (() => void)[] | undefined;
396
396
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -405,7 +405,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
405
405
  unmounted?: (() => void) | (() => void)[] | undefined;
406
406
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
407
407
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
408
- 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;
408
+ 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;
409
409
  };
410
410
  $forceUpdate: () => void;
411
411
  $nextTick: typeof import("vue").nextTick;
@@ -729,7 +729,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
729
729
  defaultActiveFirstOption: boolean;
730
730
  labelInValue: boolean;
731
731
  bordered: boolean;
732
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
732
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
733
733
  readonly Option: import("ant-design-vue/lib/vc-select/Option").OptionFC;
734
734
  readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
735
735
  readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";