bm-admin-ui 1.2.52-alpha → 1.2.54-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/cascader/index.js +77 -77
- package/es/components/edit-form/index.js +1 -1
- package/es/components/flow-designer/index.js +1 -1
- package/es/components/form-create/index.js +23 -6
- package/es/components/staffs-selector/index.d.ts +25 -0
- package/es/components/staffs-selector/index.js +127 -43
- package/es/components/staffs-selector/src/action.d.ts +4 -0
- package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +11 -0
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +25 -0
- package/lib/components/cascader/index.js +77 -77
- package/lib/components/edit-form/index.js +1 -1
- package/lib/components/flow-designer/index.js +1 -1
- package/lib/components/form-create/index.js +23 -6
- package/lib/components/staffs-selector/index.d.ts +25 -0
- package/lib/components/staffs-selector/index.js +126 -42
- package/lib/components/staffs-selector/src/action.d.ts +4 -0
- package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +11 -0
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +25 -0
- package/package.json +34 -34
- package/types/components/staffs-selector/index.d.ts +25 -0
- package/types/components/staffs-selector/src/action.d.ts +4 -0
- package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +11 -0
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +25 -0
|
@@ -19,6 +19,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: FunctionConstructor;
|
|
20
20
|
default: () => Promise<never[]>;
|
|
21
21
|
};
|
|
22
|
+
lazyload: {
|
|
23
|
+
type: FunctionConstructor;
|
|
24
|
+
default: () => Promise<never[]>;
|
|
25
|
+
};
|
|
22
26
|
select: {
|
|
23
27
|
type: ArrayConstructor;
|
|
24
28
|
defualt: () => never[];
|
|
@@ -65,6 +69,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
69
|
type: FunctionConstructor;
|
|
66
70
|
default: () => Promise<never[]>;
|
|
67
71
|
};
|
|
72
|
+
lazyload: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
default: () => Promise<never[]>;
|
|
75
|
+
};
|
|
68
76
|
select: {
|
|
69
77
|
type: ArrayConstructor;
|
|
70
78
|
defualt: () => never[];
|
|
@@ -109,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
117
|
summitSelect: () => void;
|
|
110
118
|
getOptionName: (key: any) => any;
|
|
111
119
|
deleteOptions: (key: any) => void;
|
|
120
|
+
onLoadData: (treeNode: any, list: any) => any;
|
|
112
121
|
AModal: {
|
|
113
122
|
new (...args: any[]): {
|
|
114
123
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -972,7 +981,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
972
981
|
type: ArrayConstructor;
|
|
973
982
|
default: () => never[];
|
|
974
983
|
};
|
|
984
|
+
loadData: {
|
|
985
|
+
type: FunctionConstructor;
|
|
986
|
+
default: () => Promise<never[]>;
|
|
987
|
+
};
|
|
975
988
|
}, {
|
|
989
|
+
realLoadData: (treeNode: any) => any;
|
|
990
|
+
showTree: import("vue").Ref<boolean>;
|
|
976
991
|
search(): void;
|
|
977
992
|
treeRef: import("vue").Ref<any>;
|
|
978
993
|
list: any;
|
|
@@ -1001,10 +1016,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1001
1016
|
type: ArrayConstructor;
|
|
1002
1017
|
default: () => never[];
|
|
1003
1018
|
};
|
|
1019
|
+
loadData: {
|
|
1020
|
+
type: FunctionConstructor;
|
|
1021
|
+
default: () => Promise<never[]>;
|
|
1022
|
+
};
|
|
1004
1023
|
}>> & {
|
|
1005
1024
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
1006
1025
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
1007
1026
|
}, {
|
|
1027
|
+
loadData: Function;
|
|
1008
1028
|
selected: unknown[];
|
|
1009
1029
|
limit: number;
|
|
1010
1030
|
}>;
|
|
@@ -1030,6 +1050,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1030
1050
|
type: FunctionConstructor;
|
|
1031
1051
|
default: () => Promise<never[]>;
|
|
1032
1052
|
};
|
|
1053
|
+
lazyload: {
|
|
1054
|
+
type: FunctionConstructor;
|
|
1055
|
+
default: () => Promise<never[]>;
|
|
1056
|
+
};
|
|
1033
1057
|
select: {
|
|
1034
1058
|
type: ArrayConstructor;
|
|
1035
1059
|
defualt: () => never[];
|
|
@@ -1067,6 +1091,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1067
1091
|
unitStr: string;
|
|
1068
1092
|
limit: number;
|
|
1069
1093
|
load: Function;
|
|
1094
|
+
lazyload: Function;
|
|
1070
1095
|
forceStatic: boolean;
|
|
1071
1096
|
immediateFetch: boolean;
|
|
1072
1097
|
}>;
|
|
@@ -14,71 +14,71 @@ var _export_sfc = (sfc, props) => {
|
|
|
14
14
|
return target;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
const _sfc_main = vue.defineComponent({
|
|
18
|
-
name: 'BmCascader',
|
|
19
|
-
components: { DownOutlined: iconsVue.DownOutlined },
|
|
20
|
-
props: {
|
|
21
|
-
tipType: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: () => {
|
|
24
|
-
return 'none'
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
width: {
|
|
28
|
-
type: Number,
|
|
29
|
-
default: () => {
|
|
30
|
-
return 200
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
setup(props, { emit, attrs }) {
|
|
35
|
-
const nameArr = (arr) => {
|
|
36
|
-
return arr.reduce(
|
|
37
|
-
(acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
|
|
38
|
-
[]
|
|
39
|
-
)
|
|
40
|
-
};
|
|
41
|
-
const state = vue.reactive({
|
|
42
|
-
labelNameList: '',
|
|
43
|
-
visible: false,
|
|
44
|
-
});
|
|
45
|
-
const methods = {
|
|
46
|
-
onmouseover() {
|
|
47
|
-
state.labelNameList.length && (state.visible = true);
|
|
48
|
-
},
|
|
49
|
-
onmouseout() {
|
|
50
|
-
state.labelNameList.length && (state.visible = false);
|
|
51
|
-
},
|
|
52
|
-
onchange(value, selectedOptions) {
|
|
53
|
-
if (attrs.multiple === '' || attrs.multiple) {
|
|
54
|
-
let res = selectedOptions.map((v, k) => {
|
|
55
|
-
return v.map((e, i) => {
|
|
56
|
-
return e.label
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
state.labelNameList = nameArr(res).join(',');
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
vue.watch(
|
|
64
|
-
() => state.labelNameList.length,
|
|
65
|
-
(val) => {
|
|
66
|
-
if (!val) {
|
|
67
|
-
state.visible = false;
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
{ deep: true }
|
|
71
|
-
);
|
|
72
|
-
vue.onMounted(() => {
|
|
73
|
-
attrs.value?.length &&
|
|
74
|
-
(state.labelNameList = nameArr(attrs.value).join(','));
|
|
75
|
-
});
|
|
76
|
-
return {
|
|
77
|
-
...vue.toRefs(state),
|
|
78
|
-
...methods,
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
});
|
|
17
|
+
const _sfc_main = vue.defineComponent({
|
|
18
|
+
name: 'BmCascader',
|
|
19
|
+
components: { DownOutlined: iconsVue.DownOutlined },
|
|
20
|
+
props: {
|
|
21
|
+
tipType: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: () => {
|
|
24
|
+
return 'none'
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
width: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: () => {
|
|
30
|
+
return 200
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
setup(props, { emit, attrs }) {
|
|
35
|
+
const nameArr = (arr) => {
|
|
36
|
+
return arr.reduce(
|
|
37
|
+
(acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
|
|
38
|
+
[]
|
|
39
|
+
)
|
|
40
|
+
};
|
|
41
|
+
const state = vue.reactive({
|
|
42
|
+
labelNameList: '',
|
|
43
|
+
visible: false,
|
|
44
|
+
});
|
|
45
|
+
const methods = {
|
|
46
|
+
onmouseover() {
|
|
47
|
+
state.labelNameList.length && (state.visible = true);
|
|
48
|
+
},
|
|
49
|
+
onmouseout() {
|
|
50
|
+
state.labelNameList.length && (state.visible = false);
|
|
51
|
+
},
|
|
52
|
+
onchange(value, selectedOptions) {
|
|
53
|
+
if (attrs.multiple === '' || attrs.multiple) {
|
|
54
|
+
let res = selectedOptions.map((v, k) => {
|
|
55
|
+
return v.map((e, i) => {
|
|
56
|
+
return e.label
|
|
57
|
+
})
|
|
58
|
+
});
|
|
59
|
+
state.labelNameList = nameArr(res).join(',');
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
vue.watch(
|
|
64
|
+
() => state.labelNameList.length,
|
|
65
|
+
(val) => {
|
|
66
|
+
if (!val) {
|
|
67
|
+
state.visible = false;
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{ deep: true }
|
|
71
|
+
);
|
|
72
|
+
vue.onMounted(() => {
|
|
73
|
+
attrs.value?.length &&
|
|
74
|
+
(state.labelNameList = nameArr(attrs.value).join(','));
|
|
75
|
+
});
|
|
76
|
+
return {
|
|
77
|
+
...vue.toRefs(state),
|
|
78
|
+
...methods,
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
82
|
|
|
83
83
|
const _hoisted_1 = {
|
|
84
84
|
ref: "BmCascader",
|
|
@@ -99,18 +99,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
99
99
|
? (vue.openBlock(), vue.createBlock(_component_a_popover, {
|
|
100
100
|
key: 0,
|
|
101
101
|
visible: _ctx.visible,
|
|
102
|
-
"get-popup-container":
|
|
103
|
-
(triggerNode) => {
|
|
104
|
-
return triggerNode.parentNode
|
|
105
|
-
}
|
|
102
|
+
"get-popup-container":
|
|
103
|
+
(triggerNode) => {
|
|
104
|
+
return triggerNode.parentNode
|
|
105
|
+
}
|
|
106
106
|
|
|
107
107
|
}, vue.createSlots({
|
|
108
108
|
default: vue.withCtx(() => [
|
|
109
109
|
vue.createVNode(_component_a_cascader, vue.mergeProps(_ctx.$attrs, {
|
|
110
|
-
style: {
|
|
111
|
-
width:
|
|
112
|
-
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
113
|
-
minWidth: _ctx.width + 'px',
|
|
110
|
+
style: {
|
|
111
|
+
width:
|
|
112
|
+
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
113
|
+
minWidth: _ctx.width + 'px',
|
|
114
114
|
},
|
|
115
115
|
"show-arrow": true,
|
|
116
116
|
onMouseover: _ctx.onmouseover,
|
|
@@ -163,10 +163,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
163
163
|
}, vue.createSlots({
|
|
164
164
|
default: vue.withCtx(() => [
|
|
165
165
|
vue.createVNode(_component_a_cascader, vue.mergeProps(_ctx.$attrs, {
|
|
166
|
-
style: {
|
|
167
|
-
width:
|
|
168
|
-
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
169
|
-
minWidth: _ctx.width + 'px',
|
|
166
|
+
style: {
|
|
167
|
+
width:
|
|
168
|
+
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
169
|
+
minWidth: _ctx.width + 'px',
|
|
170
170
|
},
|
|
171
171
|
"show-arrow": true,
|
|
172
172
|
onMouseover: _ctx.onmouseover,
|
|
@@ -1078,7 +1078,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1078
1078
|
vue.createVNode(vue.unref(BmOverTooltips__default["default"]), {
|
|
1079
1079
|
title: vue.unref(getShowValue)(item) || tmpForm.value[item.prop]
|
|
1080
1080
|
}, null, 8, ["title"]),
|
|
1081
|
-
vue.createCommentVNode(' <AutoTooltip\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\n /> ')
|
|
1081
|
+
vue.createCommentVNode(' <AutoTooltip\r\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\r\n /> ')
|
|
1082
1082
|
], 6)) : vue.createCommentVNode("v-if", true),
|
|
1083
1083
|
item.type === "multiText" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1084
1084
|
key: 15,
|
|
@@ -287,7 +287,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
287
287
|
vue.createElementVNode("span", {
|
|
288
288
|
class: vue.normalizeClass(["opeator", { active: __props.isCustom }])
|
|
289
289
|
}, [
|
|
290
|
-
vue.createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
290
|
+
vue.createCommentVNode(' <CopyOutlined\r\n @click.stop="\r\n () => {\r\n copyCallback()\r\n }\r\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
291
291
|
vue.createVNode(vue.unref(iconsVue.CloseOutlined), {
|
|
292
292
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(
|
|
293
293
|
() => {
|
|
@@ -892,6 +892,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
892
892
|
"placeholder",
|
|
893
893
|
"defaultSelected",
|
|
894
894
|
"load",
|
|
895
|
+
"lazyload",
|
|
895
896
|
"disabled",
|
|
896
897
|
"fieldNames",
|
|
897
898
|
"immediateFetch",
|
|
@@ -942,11 +943,12 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
942
943
|
title: __props.title,
|
|
943
944
|
mode: __props.mode,
|
|
944
945
|
load: __props.load,
|
|
946
|
+
lazyload: __props.lazyload,
|
|
945
947
|
limit: __props.limit,
|
|
946
948
|
"immediate-fetch": __props.immediateFetch,
|
|
947
949
|
centered: _ctx.$props.centered,
|
|
948
950
|
"onUpdate:select": selectedChange
|
|
949
|
-
}, null, 8, ["visible", "select", "title", "mode", "load", "limit", "immediate-fetch", "centered"])
|
|
951
|
+
}, null, 8, ["visible", "select", "title", "mode", "load", "lazyload", "limit", "immediate-fetch", "centered"])
|
|
950
952
|
]);
|
|
951
953
|
};
|
|
952
954
|
}
|
|
@@ -18790,7 +18792,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18790
18792
|
debounceFetch("");
|
|
18791
18793
|
return (_ctx, _cache) => {
|
|
18792
18794
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
18793
|
-
vue.createCommentVNode(' <Input\n v-model:value="inputValue"\n placeholder="\u8BF7\u8F93\u5165"\n :disabled="disabled"\n @change="debounceFn($event.target.value)"\n ></Input> '),
|
|
18795
|
+
vue.createCommentVNode(' <Input\r\n v-model:value="inputValue"\r\n placeholder="\u8BF7\u8F93\u5165"\r\n :disabled="disabled"\r\n @change="debounceFn($event.target.value)"\r\n ></Input> '),
|
|
18794
18796
|
vue.createVNode(vue.unref(antDesignVue.Select), {
|
|
18795
18797
|
value: __props.value,
|
|
18796
18798
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
@@ -29450,9 +29452,14 @@ var department = {
|
|
|
29450
29452
|
unitStr: '个',
|
|
29451
29453
|
defaultSelected: data.value,
|
|
29452
29454
|
centered: true,
|
|
29453
|
-
|
|
29455
|
+
lazyload(_, params, list) {
|
|
29454
29456
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29455
|
-
return yield extraConfig.department.
|
|
29457
|
+
return yield extraConfig.department.lazyload(params, list);
|
|
29458
|
+
});
|
|
29459
|
+
},
|
|
29460
|
+
load(_, params) {
|
|
29461
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29462
|
+
return yield extraConfig.department.fetch(params);
|
|
29456
29463
|
});
|
|
29457
29464
|
},
|
|
29458
29465
|
fieldNames: (_a = extraConfig.department) === null || _a === void 0 ? void 0 : _a.fieldNames,
|
|
@@ -29499,9 +29506,14 @@ var department = {
|
|
|
29499
29506
|
unitStr: '个',
|
|
29500
29507
|
defaultSelected: data.value,
|
|
29501
29508
|
centered: true,
|
|
29502
|
-
|
|
29509
|
+
lazyload(_, params, list) {
|
|
29503
29510
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29504
|
-
return yield extraConfig.department.
|
|
29511
|
+
return yield extraConfig.department.lazyload(params, list);
|
|
29512
|
+
});
|
|
29513
|
+
},
|
|
29514
|
+
load(_, params) {
|
|
29515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29516
|
+
return yield extraConfig.department.fetch(params);
|
|
29505
29517
|
});
|
|
29506
29518
|
},
|
|
29507
29519
|
fieldNames: (_a = extraConfig.department) === null || _a === void 0 ? void 0 : _a.fieldNames,
|
|
@@ -29553,6 +29565,11 @@ var department = {
|
|
|
29553
29565
|
row[field] = value;
|
|
29554
29566
|
},
|
|
29555
29567
|
defaultSelected: row[field],
|
|
29568
|
+
lazyload(params, list) {
|
|
29569
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29570
|
+
return yield extraConfig.department.lazyload(params, list);
|
|
29571
|
+
});
|
|
29572
|
+
},
|
|
29556
29573
|
load(params) {
|
|
29557
29574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29558
29575
|
return yield extraConfig.department.fetch(params);
|
|
@@ -19,6 +19,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
19
19
|
type: FunctionConstructor;
|
|
20
20
|
default: () => Promise<never[]>;
|
|
21
21
|
};
|
|
22
|
+
lazyload: {
|
|
23
|
+
type: FunctionConstructor;
|
|
24
|
+
default: () => Promise<never[]>;
|
|
25
|
+
};
|
|
22
26
|
select: {
|
|
23
27
|
type: ArrayConstructor;
|
|
24
28
|
defualt: () => never[];
|
|
@@ -65,6 +69,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
65
69
|
type: FunctionConstructor;
|
|
66
70
|
default: () => Promise<never[]>;
|
|
67
71
|
};
|
|
72
|
+
lazyload: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
default: () => Promise<never[]>;
|
|
75
|
+
};
|
|
68
76
|
select: {
|
|
69
77
|
type: ArrayConstructor;
|
|
70
78
|
defualt: () => never[];
|
|
@@ -109,6 +117,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
109
117
|
summitSelect: () => void;
|
|
110
118
|
getOptionName: (key: any) => any;
|
|
111
119
|
deleteOptions: (key: any) => void;
|
|
120
|
+
onLoadData: (treeNode: any, list: any) => any;
|
|
112
121
|
AModal: {
|
|
113
122
|
new (...args: any[]): {
|
|
114
123
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -972,7 +981,13 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
972
981
|
type: ArrayConstructor;
|
|
973
982
|
default: () => never[];
|
|
974
983
|
};
|
|
984
|
+
loadData: {
|
|
985
|
+
type: FunctionConstructor;
|
|
986
|
+
default: () => Promise<never[]>;
|
|
987
|
+
};
|
|
975
988
|
}, {
|
|
989
|
+
realLoadData: (treeNode: any) => any;
|
|
990
|
+
showTree: import("vue").Ref<boolean>;
|
|
976
991
|
search(): void;
|
|
977
992
|
treeRef: import("vue").Ref<any>;
|
|
978
993
|
list: any;
|
|
@@ -1001,10 +1016,15 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1001
1016
|
type: ArrayConstructor;
|
|
1002
1017
|
default: () => never[];
|
|
1003
1018
|
};
|
|
1019
|
+
loadData: {
|
|
1020
|
+
type: FunctionConstructor;
|
|
1021
|
+
default: () => Promise<never[]>;
|
|
1022
|
+
};
|
|
1004
1023
|
}>> & {
|
|
1005
1024
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
1006
1025
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
1007
1026
|
}, {
|
|
1027
|
+
loadData: Function;
|
|
1008
1028
|
selected: unknown[];
|
|
1009
1029
|
limit: number;
|
|
1010
1030
|
}>;
|
|
@@ -1030,6 +1050,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1030
1050
|
type: FunctionConstructor;
|
|
1031
1051
|
default: () => Promise<never[]>;
|
|
1032
1052
|
};
|
|
1053
|
+
lazyload: {
|
|
1054
|
+
type: FunctionConstructor;
|
|
1055
|
+
default: () => Promise<never[]>;
|
|
1056
|
+
};
|
|
1033
1057
|
select: {
|
|
1034
1058
|
type: ArrayConstructor;
|
|
1035
1059
|
defualt: () => never[];
|
|
@@ -1067,6 +1091,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1067
1091
|
unitStr: string;
|
|
1068
1092
|
limit: number;
|
|
1069
1093
|
load: Function;
|
|
1094
|
+
lazyload: Function;
|
|
1070
1095
|
forceStatic: boolean;
|
|
1071
1096
|
immediateFetch: boolean;
|
|
1072
1097
|
}>>;
|