bm-admin-ui 1.2.47-alpha → 1.2.49-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/form-create/index.js +15 -2
- package/es/components/shops-filter/index.d.ts +117 -0
- package/es/components/shops-filter/index.js +1 -3
- package/es/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/es/components/shops-filter/src/shops-filter.vue.d.ts +116 -0
- package/es/components/staffs-selector/index.d.ts +21 -8
- package/es/components/staffs-selector/index.js +6 -1
- package/es/components/staffs-selector/src/action.d.ts +4 -0
- 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 +21 -8
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
- package/lib/components/form-create/index.js +15 -2
- package/lib/components/shops-filter/index.d.ts +117 -0
- package/lib/components/shops-filter/index.js +1 -3
- package/lib/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/lib/components/shops-filter/src/shops-filter.vue.d.ts +116 -0
- package/lib/components/staffs-selector/index.d.ts +21 -8
- package/lib/components/staffs-selector/index.js +6 -1
- package/lib/components/staffs-selector/src/action.d.ts +4 -0
- 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 +21 -8
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
- package/package.json +1 -1
- package/types/components/shops-filter/index.d.ts +117 -0
- package/types/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/types/components/shops-filter/src/shops-filter.vue.d.ts +116 -0
- package/types/components/staffs-selector/index.d.ts +21 -8
- package/types/components/staffs-selector/src/action.d.ts +4 -0
- 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 +21 -8
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
|
@@ -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, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", 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
|
-
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
61
60
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
list: unknown[];
|
|
64
|
+
selected: unknown[];
|
|
64
65
|
dataMap: Map<unknown, unknown>;
|
|
65
66
|
curlistKeys: Set<unknown>;
|
|
66
|
-
selected: unknown[];
|
|
67
67
|
}>;
|
|
68
68
|
export default _default;
|
|
@@ -309,6 +309,11 @@ function handleRadioRule(rule) {
|
|
|
309
309
|
rule.on = {
|
|
310
310
|
change({ self, api }, value) {
|
|
311
311
|
api.form[self.field] = value;
|
|
312
|
+
vue.nextTick(() => {
|
|
313
|
+
setTimeout(() => {
|
|
314
|
+
api.validateField(rule.field);
|
|
315
|
+
});
|
|
316
|
+
});
|
|
312
317
|
},
|
|
313
318
|
};
|
|
314
319
|
}
|
|
@@ -889,7 +894,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
889
894
|
"load",
|
|
890
895
|
"disabled",
|
|
891
896
|
"fieldNames",
|
|
892
|
-
"immediateFetch"
|
|
897
|
+
"immediateFetch",
|
|
898
|
+
"centered"
|
|
893
899
|
],
|
|
894
900
|
emits: ["change"],
|
|
895
901
|
setup(__props, { emit: emits }) {
|
|
@@ -938,8 +944,9 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
938
944
|
load: __props.load,
|
|
939
945
|
limit: __props.limit,
|
|
940
946
|
"immediate-fetch": __props.immediateFetch,
|
|
947
|
+
centered: _ctx.$props.centered,
|
|
941
948
|
"onUpdate:select": selectedChange
|
|
942
|
-
}, null, 8, ["visible", "select", "title", "mode", "load", "limit", "immediate-fetch"])
|
|
949
|
+
}, null, 8, ["visible", "select", "title", "mode", "load", "limit", "immediate-fetch", "centered"])
|
|
943
950
|
]);
|
|
944
951
|
};
|
|
945
952
|
}
|
|
@@ -966,6 +973,7 @@ var people = {
|
|
|
966
973
|
});
|
|
967
974
|
},
|
|
968
975
|
fieldNames: (_a = extraConfig.people) === null || _a === void 0 ? void 0 : _a.fieldNames,
|
|
976
|
+
centered: true,
|
|
969
977
|
},
|
|
970
978
|
effect: {
|
|
971
979
|
required: data.effect.required && (((_b = data.effect) === null || _b === void 0 ? void 0 : _b.requiredTip) || '请选择'),
|
|
@@ -1011,6 +1019,7 @@ var people = {
|
|
|
1011
1019
|
});
|
|
1012
1020
|
},
|
|
1013
1021
|
fieldNames: (_a = extraConfig.people) === null || _a === void 0 ? void 0 : _a.fieldNames,
|
|
1022
|
+
centered: true,
|
|
1014
1023
|
},
|
|
1015
1024
|
effect: {
|
|
1016
1025
|
required: data.effect.required && (((_b = data.effect) === null || _b === void 0 ? void 0 : _b.requiredTip) || '请选择'),
|
|
@@ -1051,6 +1060,7 @@ var people = {
|
|
|
1051
1060
|
mode: data.props.limit ? 'radio' : 'multiple',
|
|
1052
1061
|
placeholder: data.props.placeholder,
|
|
1053
1062
|
disabled: data.disabled,
|
|
1063
|
+
centered: true,
|
|
1054
1064
|
onChange: (value) => {
|
|
1055
1065
|
row[field] = value;
|
|
1056
1066
|
},
|
|
@@ -29432,6 +29442,7 @@ var department = {
|
|
|
29432
29442
|
immediateFetch: true,
|
|
29433
29443
|
unitStr: '个',
|
|
29434
29444
|
defaultSelected: data.value,
|
|
29445
|
+
centered: true,
|
|
29435
29446
|
load() {
|
|
29436
29447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29437
29448
|
return yield extraConfig.department.fetch();
|
|
@@ -29480,6 +29491,7 @@ var department = {
|
|
|
29480
29491
|
immediateFetch: true,
|
|
29481
29492
|
unitStr: '个',
|
|
29482
29493
|
defaultSelected: data.value,
|
|
29494
|
+
centered: true,
|
|
29483
29495
|
load() {
|
|
29484
29496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29485
29497
|
return yield extraConfig.department.fetch();
|
|
@@ -29529,6 +29541,7 @@ var department = {
|
|
|
29529
29541
|
immediateFetch: true,
|
|
29530
29542
|
unitStr: '个',
|
|
29531
29543
|
disabled: data.disabled,
|
|
29544
|
+
centered: true,
|
|
29532
29545
|
onChange: (value) => {
|
|
29533
29546
|
row[field] = value;
|
|
29534
29547
|
},
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
declare const BmShopsFilter: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
selected: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
searchShopProp: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
labelTitle: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
showAlways: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
displayParams: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
default: () => {
|
|
21
|
+
width: string;
|
|
22
|
+
labelOffset: string;
|
|
23
|
+
labelWidth: string;
|
|
24
|
+
searchWidth: string;
|
|
25
|
+
listMaxHeight: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
loadFilter: {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
default: () => Promise<never[]>;
|
|
31
|
+
};
|
|
32
|
+
loadData: {
|
|
33
|
+
type: FunctionConstructor;
|
|
34
|
+
default: () => Promise<never>;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
triggleActive(): void;
|
|
38
|
+
outSideClick(): void;
|
|
39
|
+
changeFilterSelect(index: any, code: any): void;
|
|
40
|
+
onCheckAllChange(e: any): void;
|
|
41
|
+
checkboxChange(): void;
|
|
42
|
+
invertChange(): void;
|
|
43
|
+
clearAll(): void;
|
|
44
|
+
fetchData(): void;
|
|
45
|
+
clearAllSelected(e: any): void;
|
|
46
|
+
filterIsActive(filterIndex: any, code: any): boolean;
|
|
47
|
+
isActive: import("vue").Ref<boolean>;
|
|
48
|
+
searchVal: import("vue").Ref<string>;
|
|
49
|
+
selected: import("vue").Ref<any[]>;
|
|
50
|
+
shopList: import("vue").Ref<{
|
|
51
|
+
shopCode: string;
|
|
52
|
+
shopName: string;
|
|
53
|
+
}[]>;
|
|
54
|
+
shopListByCode: import("vue").Ref<{}>;
|
|
55
|
+
checkAll: import("vue").Ref<boolean>;
|
|
56
|
+
hasCheck: import("vue").Ref<boolean>;
|
|
57
|
+
inverSelect: import("vue").Ref<boolean>;
|
|
58
|
+
shopCheck: import("vue").Ref<{}>;
|
|
59
|
+
filterSelects: import("vue").Ref<never[]>;
|
|
60
|
+
filterArr: import("vue").Ref<{
|
|
61
|
+
list: {
|
|
62
|
+
code: string;
|
|
63
|
+
label: string;
|
|
64
|
+
}[];
|
|
65
|
+
paramsStr: string;
|
|
66
|
+
label?: string | undefined;
|
|
67
|
+
multiple?: boolean | undefined;
|
|
68
|
+
}[]>;
|
|
69
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:selected")[], "change" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
selected: {
|
|
71
|
+
type: ArrayConstructor;
|
|
72
|
+
default: () => never[];
|
|
73
|
+
};
|
|
74
|
+
searchShopProp: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
labelTitle: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
showAlways: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
displayParams: {
|
|
87
|
+
type: ObjectConstructor;
|
|
88
|
+
default: () => {
|
|
89
|
+
width: string;
|
|
90
|
+
labelOffset: string;
|
|
91
|
+
labelWidth: string;
|
|
92
|
+
searchWidth: string;
|
|
93
|
+
listMaxHeight: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
loadFilter: {
|
|
97
|
+
type: FunctionConstructor;
|
|
98
|
+
default: () => Promise<never[]>;
|
|
99
|
+
};
|
|
100
|
+
loadData: {
|
|
101
|
+
type: FunctionConstructor;
|
|
102
|
+
default: () => Promise<never>;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
labelTitle: string;
|
|
109
|
+
showAlways: boolean;
|
|
110
|
+
loadData: Function;
|
|
111
|
+
selected: unknown[];
|
|
112
|
+
searchShopProp: string;
|
|
113
|
+
displayParams: Record<string, any>;
|
|
114
|
+
loadFilter: Function;
|
|
115
|
+
}>>;
|
|
116
|
+
export { BmShopsFilter };
|
|
117
|
+
export default BmShopsFilter;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const shopsFilterProps: {
|
|
3
|
+
labelTitle: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
showAlways: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
displayParams: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
default: () => {
|
|
14
|
+
width: string;
|
|
15
|
+
labelOffset: string;
|
|
16
|
+
labelWidth: string;
|
|
17
|
+
searchWidth: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
filterArr: {
|
|
21
|
+
type: PromiseConstructor;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare type ShopsFilterProps = ExtractPropTypes<typeof shopsFilterProps>;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
selected: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
searchShopProp: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
labelTitle: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
showAlways: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
displayParams: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
default: () => {
|
|
21
|
+
width: string;
|
|
22
|
+
labelOffset: string;
|
|
23
|
+
labelWidth: string;
|
|
24
|
+
searchWidth: string;
|
|
25
|
+
listMaxHeight: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
loadFilter: {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
default: () => Promise<never[]>;
|
|
31
|
+
};
|
|
32
|
+
loadData: {
|
|
33
|
+
type: FunctionConstructor;
|
|
34
|
+
default: () => Promise<never>;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
triggleActive(): void;
|
|
38
|
+
outSideClick(): void;
|
|
39
|
+
changeFilterSelect(index: any, code: any): void;
|
|
40
|
+
onCheckAllChange(e: any): void;
|
|
41
|
+
checkboxChange(): void;
|
|
42
|
+
invertChange(): void;
|
|
43
|
+
clearAll(): void;
|
|
44
|
+
fetchData(): void;
|
|
45
|
+
clearAllSelected(e: any): void;
|
|
46
|
+
filterIsActive(filterIndex: any, code: any): boolean;
|
|
47
|
+
isActive: import("vue").Ref<boolean>;
|
|
48
|
+
searchVal: import("vue").Ref<string>;
|
|
49
|
+
selected: import("vue").Ref<any[]>;
|
|
50
|
+
shopList: import("vue").Ref<{
|
|
51
|
+
shopCode: string;
|
|
52
|
+
shopName: string;
|
|
53
|
+
}[]>;
|
|
54
|
+
shopListByCode: import("vue").Ref<{}>;
|
|
55
|
+
checkAll: import("vue").Ref<boolean>;
|
|
56
|
+
hasCheck: import("vue").Ref<boolean>;
|
|
57
|
+
inverSelect: import("vue").Ref<boolean>;
|
|
58
|
+
shopCheck: import("vue").Ref<{}>;
|
|
59
|
+
filterSelects: import("vue").Ref<never[]>;
|
|
60
|
+
filterArr: import("vue").Ref<{
|
|
61
|
+
list: {
|
|
62
|
+
code: string;
|
|
63
|
+
label: string;
|
|
64
|
+
}[];
|
|
65
|
+
paramsStr: string;
|
|
66
|
+
label?: string | undefined;
|
|
67
|
+
multiple?: boolean | undefined;
|
|
68
|
+
}[]>;
|
|
69
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:selected")[], "change" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
selected: {
|
|
71
|
+
type: ArrayConstructor;
|
|
72
|
+
default: () => never[];
|
|
73
|
+
};
|
|
74
|
+
searchShopProp: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
labelTitle: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
showAlways: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
displayParams: {
|
|
87
|
+
type: ObjectConstructor;
|
|
88
|
+
default: () => {
|
|
89
|
+
width: string;
|
|
90
|
+
labelOffset: string;
|
|
91
|
+
labelWidth: string;
|
|
92
|
+
searchWidth: string;
|
|
93
|
+
listMaxHeight: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
loadFilter: {
|
|
97
|
+
type: FunctionConstructor;
|
|
98
|
+
default: () => Promise<never[]>;
|
|
99
|
+
};
|
|
100
|
+
loadData: {
|
|
101
|
+
type: FunctionConstructor;
|
|
102
|
+
default: () => Promise<never>;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
labelTitle: string;
|
|
109
|
+
showAlways: boolean;
|
|
110
|
+
loadData: Function;
|
|
111
|
+
selected: unknown[];
|
|
112
|
+
searchShopProp: string;
|
|
113
|
+
displayParams: Record<string, any>;
|
|
114
|
+
loadFilter: Function;
|
|
115
|
+
}>;
|
|
116
|
+
export default _default;
|
|
@@ -39,6 +39,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
centered: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
}, {
|
|
43
47
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
44
48
|
visible: {
|
|
@@ -81,6 +85,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
81
85
|
type: StringConstructor;
|
|
82
86
|
default: string;
|
|
83
87
|
};
|
|
88
|
+
centered: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
84
92
|
}>> & {
|
|
85
93
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
86
94
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -908,7 +916,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
908
916
|
[key: string]: any;
|
|
909
917
|
}> | null | undefined)[]>;
|
|
910
918
|
isFulfill: import("vue").Ref<boolean>;
|
|
911
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
919
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
912
920
|
limit: {
|
|
913
921
|
type: NumberConstructor;
|
|
914
922
|
default: number;
|
|
@@ -918,11 +926,11 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
918
926
|
default: () => never[];
|
|
919
927
|
};
|
|
920
928
|
}>> & {
|
|
921
|
-
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
922
929
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
930
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
923
931
|
}, {
|
|
924
|
-
limit: number;
|
|
925
932
|
selected: unknown[];
|
|
933
|
+
limit: number;
|
|
926
934
|
}>;
|
|
927
935
|
radioCmp: import("vue").DefineComponent<{
|
|
928
936
|
list: {
|
|
@@ -939,7 +947,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
939
947
|
searched: import("vue").ComputedRef<boolean>;
|
|
940
948
|
search: () => void;
|
|
941
949
|
radioChange: (e: any) => void;
|
|
942
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
950
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
943
951
|
list: {
|
|
944
952
|
type: ArrayConstructor;
|
|
945
953
|
default: () => never[];
|
|
@@ -949,8 +957,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
949
957
|
default: string;
|
|
950
958
|
};
|
|
951
959
|
}>> & {
|
|
952
|
-
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
953
960
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
961
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
954
962
|
}, {
|
|
955
963
|
list: unknown[];
|
|
956
964
|
selected: string;
|
|
@@ -984,7 +992,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
984
992
|
}> | null | undefined)[]>;
|
|
985
993
|
isFulfill: import("vue").Ref<boolean>;
|
|
986
994
|
changeTreeCheck: (checkedKeys: any) => void;
|
|
987
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
995
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
988
996
|
limit: {
|
|
989
997
|
type: NumberConstructor;
|
|
990
998
|
default: number;
|
|
@@ -994,11 +1002,11 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
994
1002
|
default: () => never[];
|
|
995
1003
|
};
|
|
996
1004
|
}>> & {
|
|
997
|
-
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
998
1005
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
1006
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
999
1007
|
}, {
|
|
1000
|
-
limit: number;
|
|
1001
1008
|
selected: unknown[];
|
|
1009
|
+
limit: number;
|
|
1002
1010
|
}>;
|
|
1003
1011
|
list: any;
|
|
1004
1012
|
}, 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<{
|
|
@@ -1042,6 +1050,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1042
1050
|
type: StringConstructor;
|
|
1043
1051
|
default: string;
|
|
1044
1052
|
};
|
|
1053
|
+
centered: {
|
|
1054
|
+
type: BooleanConstructor;
|
|
1055
|
+
default: boolean;
|
|
1056
|
+
};
|
|
1045
1057
|
}>> & {
|
|
1046
1058
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1047
1059
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -1049,6 +1061,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1049
1061
|
}, {
|
|
1050
1062
|
visible: boolean;
|
|
1051
1063
|
title: string;
|
|
1064
|
+
centered: boolean;
|
|
1052
1065
|
mode: string;
|
|
1053
1066
|
showCount: boolean;
|
|
1054
1067
|
unitStr: string;
|
|
@@ -56,6 +56,10 @@ const selectProps = {
|
|
|
56
56
|
type: String,
|
|
57
57
|
default: '人',
|
|
58
58
|
},
|
|
59
|
+
centered: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: false,
|
|
62
|
+
},
|
|
59
63
|
};
|
|
60
64
|
vue.readonly([
|
|
61
65
|
{ title: '成员', key: 0, paramStr: 'staff' },
|
|
@@ -672,6 +676,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
672
676
|
"ok-text": "\u786E\u5B9A",
|
|
673
677
|
"cancel-text": "\u53D6\u6D88",
|
|
674
678
|
"destroy-on-close": true,
|
|
679
|
+
centered: _ctx.$props.centered,
|
|
675
680
|
onCancel: modalCancel,
|
|
676
681
|
onOk: summitSelect
|
|
677
682
|
}, {
|
|
@@ -721,7 +726,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
721
726
|
])
|
|
722
727
|
]),
|
|
723
728
|
_: 1
|
|
724
|
-
}, 8, ["title", "visible", "width"]);
|
|
729
|
+
}, 8, ["title", "visible", "width", "centered"]);
|
|
725
730
|
};
|
|
726
731
|
}
|
|
727
732
|
});
|
|
@@ -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, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", 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
|
-
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
41
40
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
limit: number;
|
|
44
43
|
selected: unknown[];
|
|
44
|
+
limit: number;
|
|
45
45
|
}>;
|
|
46
46
|
export default _default;
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
[key: string]: any;
|
|
28
28
|
}> | null | undefined)[]>;
|
|
29
29
|
isFulfill: import("vue").Ref<boolean>;
|
|
30
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", 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
|
-
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
41
40
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
limit: number;
|
|
44
43
|
selected: unknown[];
|
|
44
|
+
limit: number;
|
|
45
45
|
}>;
|
|
46
46
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
searched: import("vue").ComputedRef<boolean>;
|
|
14
14
|
search: () => void;
|
|
15
15
|
radioChange: (e: any) => void;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
list: {
|
|
18
18
|
type: ArrayConstructor;
|
|
19
19
|
default: () => never[];
|
|
@@ -23,8 +23,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
}>> & {
|
|
26
|
-
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
27
26
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
list: unknown[];
|
|
30
30
|
selected: string;
|