bm-admin-ui 1.0.84-alpha → 1.0.86-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.
- package/es/components/float-table/index.js +62 -54
- package/es/components/form-create/index.js +70 -10
- package/es/components/index.d.ts +0 -1
- package/es/components/shops-filter/index.js +33 -5
- package/es/components/staffs-selector/index.d.ts +8 -8
- package/es/components/staffs-selector/index.js +2 -2
- package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +3 -3
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +3 -3
- package/es/components/staffs-selector/src/radioCmp.vue.d.ts +2 -2
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
- package/lib/components/float-table/index.js +62 -54
- package/lib/components/form-create/index.js +68 -8
- package/lib/components/index.d.ts +0 -1
- package/lib/components/shops-filter/index.js +33 -5
- package/lib/components/staffs-selector/index.d.ts +8 -8
- package/lib/components/staffs-selector/index.js +2 -2
- package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +3 -3
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +3 -3
- package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +2 -2
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
- package/package.json +1 -1
- package/theme-chalk/form-create.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/shops-filter.css +1 -1
- package/types/components/index.d.ts +0 -1
- package/types/components/staffs-selector/index.d.ts +8 -8
- package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +3 -3
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +3 -3
- package/types/components/staffs-selector/src/radioCmp.vue.d.ts +2 -2
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
- package/es/components/shops-filter/index.d.ts +0 -99
- package/es/components/shops-filter/src/shops-filter.d.ts +0 -25
- package/es/components/shops-filter/src/shops-filter.vue.d.ts +0 -98
- package/lib/components/shops-filter/index.d.ts +0 -99
- package/lib/components/shops-filter/src/shops-filter.d.ts +0 -25
- package/lib/components/shops-filter/src/shops-filter.vue.d.ts +0 -98
- package/types/components/shops-filter/index.d.ts +0 -99
- package/types/components/shops-filter/src/shops-filter.d.ts +0 -25
- package/types/components/shops-filter/src/shops-filter.vue.d.ts +0 -98
|
@@ -908,7 +908,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
908
908
|
[key: string]: any;
|
|
909
909
|
}> | null | undefined)[]>;
|
|
910
910
|
isFulfill: import("vue").Ref<boolean>;
|
|
911
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
911
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetchList" | "update:selected")[], "fetchList" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
912
912
|
limit: {
|
|
913
913
|
type: NumberConstructor;
|
|
914
914
|
default: number;
|
|
@@ -918,11 +918,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
918
918
|
default: () => never[];
|
|
919
919
|
};
|
|
920
920
|
}>> & {
|
|
921
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
922
921
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
922
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
923
923
|
}, {
|
|
924
|
-
selected: unknown[];
|
|
925
924
|
limit: number;
|
|
925
|
+
selected: unknown[];
|
|
926
926
|
}>;
|
|
927
927
|
radioCmp: import("vue").DefineComponent<{
|
|
928
928
|
list: {
|
|
@@ -939,7 +939,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
939
939
|
searched: import("vue").ComputedRef<boolean>;
|
|
940
940
|
search: () => void;
|
|
941
941
|
radioChange: (e: any) => void;
|
|
942
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
942
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetchList" | "update:selected")[], "fetchList" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
943
943
|
list: {
|
|
944
944
|
type: ArrayConstructor;
|
|
945
945
|
default: () => never[];
|
|
@@ -949,8 +949,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
949
949
|
default: string;
|
|
950
950
|
};
|
|
951
951
|
}>> & {
|
|
952
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
953
952
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
953
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
954
954
|
}, {
|
|
955
955
|
list: unknown[];
|
|
956
956
|
selected: string;
|
|
@@ -984,7 +984,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
984
984
|
}> | null | undefined)[]>;
|
|
985
985
|
isFulfill: import("vue").Ref<boolean>;
|
|
986
986
|
changeTreeCheck: (checkedKeys: any) => void;
|
|
987
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
987
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetchList" | "update:selected")[], "fetchList" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
988
988
|
limit: {
|
|
989
989
|
type: NumberConstructor;
|
|
990
990
|
default: number;
|
|
@@ -994,11 +994,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
994
994
|
default: () => never[];
|
|
995
995
|
};
|
|
996
996
|
}>> & {
|
|
997
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
998
997
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
998
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
999
999
|
}, {
|
|
1000
|
-
selected: unknown[];
|
|
1001
1000
|
limit: number;
|
|
1001
|
+
selected: unknown[];
|
|
1002
1002
|
}>;
|
|
1003
1003
|
list: any;
|
|
1004
1004
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:visible" | "update:select")[], "change" | "update:visible" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
changeArea: (item: any) => void;
|
|
40
40
|
inputPlaceHolder: import("vue").ComputedRef<"请输入部门搜索" | "请输入工作组搜索" | "请输入店铺搜索" | "请输入人名搜索">;
|
|
41
41
|
changeTreeCheck: (checkedKeys: any) => void;
|
|
42
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetchList" | "update:selected")[], "fetchList" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
43
|
list: {
|
|
44
44
|
type: ArrayConstructor;
|
|
45
45
|
default: () => any;
|
|
@@ -57,12 +57,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
default: () => Set<unknown>;
|
|
58
58
|
};
|
|
59
59
|
}>> & {
|
|
60
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
61
60
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
list: unknown[];
|
|
64
|
-
selected: unknown[];
|
|
65
64
|
dataMap: Map<unknown, unknown>;
|
|
66
65
|
curlistKeys: Set<unknown>;
|
|
66
|
+
selected: unknown[];
|
|
67
67
|
}>;
|
|
68
68
|
export default _default;
|
|
@@ -8,7 +8,7 @@ var antDesignVue = require('ant-design-vue');
|
|
|
8
8
|
var vxeTable = require('vxe-table');
|
|
9
9
|
|
|
10
10
|
/**!
|
|
11
|
-
* Sortable 1.
|
|
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.
|
|
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
|
-
|
|
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
|
|
|
@@ -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
|
-
},
|
|
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
|
|
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.
|
|
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.
|
|
20101
|
+
inject.api.form[inject.self.field] = value;
|
|
20102
|
+
setTimeout(() => {
|
|
20103
|
+
inject.api.validateField(inject.self.field);
|
|
20104
|
+
});
|
|
20045
20105
|
});
|
|
20046
20106
|
},
|
|
20047
20107
|
},
|
|
@@ -2,7 +2,6 @@ export * from './button';
|
|
|
2
2
|
export * from './flow-designer';
|
|
3
3
|
export * from './feedback';
|
|
4
4
|
export * from './search-filter';
|
|
5
|
-
export * from './shops-filter';
|
|
6
5
|
export * from './staffs-selector/index';
|
|
7
6
|
export * from './float-table';
|
|
8
7
|
export * from './over-tooltips';
|
|
@@ -39,6 +39,16 @@ const _sfc_main = vue.defineComponent({
|
|
|
39
39
|
Empty: Empty__default["default"]
|
|
40
40
|
},
|
|
41
41
|
props: {
|
|
42
|
+
selected: {
|
|
43
|
+
type: Array,
|
|
44
|
+
default() {
|
|
45
|
+
return [];
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
searchShopProp: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: "search"
|
|
51
|
+
},
|
|
42
52
|
labelTitle: {
|
|
43
53
|
type: String,
|
|
44
54
|
default: "\u5E97\u94FA"
|
|
@@ -157,7 +167,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
157
167
|
filters.forEach((item, index) => {
|
|
158
168
|
params[String(item.paramsStr)] = state.filterSelects[index] || "";
|
|
159
169
|
});
|
|
160
|
-
params[
|
|
170
|
+
params[props.searchShopProp] = state.searchVal;
|
|
161
171
|
props.loadData(params).then((data) => {
|
|
162
172
|
state.shopList = data;
|
|
163
173
|
data.forEach((item) => {
|
|
@@ -208,6 +218,24 @@ const _sfc_main = vue.defineComponent({
|
|
|
208
218
|
},
|
|
209
219
|
{ deep: true }
|
|
210
220
|
);
|
|
221
|
+
vue.watch(
|
|
222
|
+
() => props.selected,
|
|
223
|
+
(val) => {
|
|
224
|
+
state.selected = [...val];
|
|
225
|
+
for (let [key, value] of Object.entries(state.shopCheck)) {
|
|
226
|
+
if (props.selected?.includes(key)) {
|
|
227
|
+
state.shopCheck[key] = true;
|
|
228
|
+
} else {
|
|
229
|
+
state.shopCheck[key] = false;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
state.selected.forEach((code) => {
|
|
233
|
+
state.shopCheck[code] = true;
|
|
234
|
+
});
|
|
235
|
+
methods.checkboxChange();
|
|
236
|
+
},
|
|
237
|
+
{ deep: true, immediate: true }
|
|
238
|
+
);
|
|
211
239
|
if (props.showAlways) {
|
|
212
240
|
state.isActive = true;
|
|
213
241
|
}
|
|
@@ -225,7 +253,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
225
253
|
};
|
|
226
254
|
}
|
|
227
255
|
});
|
|
228
|
-
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("span",
|
|
256
|
+
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("span", { class: "__shops-filter-input-placeholder" }, "\u8BF7\u9009\u62E9", -1);
|
|
229
257
|
const _hoisted_2 = { class: "input-icon active-icon" };
|
|
230
258
|
const _hoisted_3 = { class: "pop-seleted-title" };
|
|
231
259
|
const _hoisted_4 = { class: "__shops-filter-list" };
|
|
@@ -336,12 +364,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
336
364
|
style: vue.normalizeStyle({ width: _ctx.displayParams?.searchWidth || "240px" })
|
|
337
365
|
}, [
|
|
338
366
|
vue.createVNode(_component_input_search, {
|
|
339
|
-
|
|
340
|
-
"onUpdate:
|
|
367
|
+
value: _ctx.searchVal,
|
|
368
|
+
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => _ctx.searchVal = $event),
|
|
341
369
|
placeholder: "\u641C\u7D22\u5E97\u94FA\u540D\u79F0",
|
|
342
370
|
"allow-clear": true,
|
|
343
371
|
onSearch: _ctx.fetchData
|
|
344
|
-
}, null, 8, ["
|
|
372
|
+
}, null, 8, ["value", "onSearch"])
|
|
345
373
|
], 4), [
|
|
346
374
|
[vue.vShow, _ctx.isActive]
|
|
347
375
|
]),
|
|
@@ -908,7 +908,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
908
908
|
[key: string]: any;
|
|
909
909
|
}> | null | undefined)[]>;
|
|
910
910
|
isFulfill: import("vue").Ref<boolean>;
|
|
911
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
911
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetchList" | "update:selected")[], "fetchList" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
912
912
|
limit: {
|
|
913
913
|
type: NumberConstructor;
|
|
914
914
|
default: number;
|
|
@@ -918,11 +918,11 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
918
918
|
default: () => never[];
|
|
919
919
|
};
|
|
920
920
|
}>> & {
|
|
921
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
922
921
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
922
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
923
923
|
}, {
|
|
924
|
-
selected: unknown[];
|
|
925
924
|
limit: number;
|
|
925
|
+
selected: unknown[];
|
|
926
926
|
}>;
|
|
927
927
|
radioCmp: import("vue").DefineComponent<{
|
|
928
928
|
list: {
|
|
@@ -939,7 +939,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
939
939
|
searched: import("vue").ComputedRef<boolean>;
|
|
940
940
|
search: () => void;
|
|
941
941
|
radioChange: (e: any) => void;
|
|
942
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
942
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetchList" | "update:selected")[], "fetchList" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
943
943
|
list: {
|
|
944
944
|
type: ArrayConstructor;
|
|
945
945
|
default: () => never[];
|
|
@@ -949,8 +949,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
949
949
|
default: string;
|
|
950
950
|
};
|
|
951
951
|
}>> & {
|
|
952
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
953
952
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
953
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
954
954
|
}, {
|
|
955
955
|
list: unknown[];
|
|
956
956
|
selected: string;
|
|
@@ -984,7 +984,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
984
984
|
}> | null | undefined)[]>;
|
|
985
985
|
isFulfill: import("vue").Ref<boolean>;
|
|
986
986
|
changeTreeCheck: (checkedKeys: any) => void;
|
|
987
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
987
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetchList" | "update:selected")[], "fetchList" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
988
988
|
limit: {
|
|
989
989
|
type: NumberConstructor;
|
|
990
990
|
default: number;
|
|
@@ -994,11 +994,11 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
994
994
|
default: () => never[];
|
|
995
995
|
};
|
|
996
996
|
}>> & {
|
|
997
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
998
997
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
998
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
999
999
|
}, {
|
|
1000
|
-
selected: unknown[];
|
|
1001
1000
|
limit: number;
|
|
1001
|
+
selected: unknown[];
|
|
1002
1002
|
}>;
|
|
1003
1003
|
list: any;
|
|
1004
1004
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:visible" | "update:select")[], "change" | "update:visible" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -194,7 +194,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
194
194
|
vue.createVNode(_component_AInput, {
|
|
195
195
|
value: _ctx.searchVal,
|
|
196
196
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.searchVal = $event),
|
|
197
|
-
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D
|
|
197
|
+
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D",
|
|
198
198
|
onBlur: _ctx.search
|
|
199
199
|
}, {
|
|
200
200
|
suffix: vue.withCtx(() => [
|
|
@@ -307,7 +307,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
307
307
|
vue.createVNode(_component_a_input, {
|
|
308
308
|
value: _ctx.searchVal,
|
|
309
309
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.searchVal = $event),
|
|
310
|
-
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D
|
|
310
|
+
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D",
|
|
311
311
|
onBlur: _ctx.search
|
|
312
312
|
}, {
|
|
313
313
|
suffix: vue.withCtx(() => [
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
}> | null | undefined)[]>;
|
|
28
28
|
isFulfill: import("vue").Ref<boolean>;
|
|
29
29
|
changeTreeCheck: (checkedKeys: any) => void;
|
|
30
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fetchList" | "update:selected")[], "fetchList" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
limit: {
|
|
32
32
|
type: NumberConstructor;
|
|
33
33
|
default: number;
|
|
@@ -37,10 +37,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
default: () => never[];
|
|
38
38
|
};
|
|
39
39
|
}>> & {
|
|
40
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
41
40
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
selected: unknown[];
|
|
44
43
|
limit: number;
|
|
44
|
+
selected: unknown[];
|
|
45
45
|
}>;
|
|
46
46
|
export default _default;
|