bm-admin-ui 1.2.52-alpha → 1.2.53-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 +24 -0
- package/es/components/staffs-selector/index.js +114 -38
- package/es/components/staffs-selector/src/action.d.ts +4 -0
- package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +10 -0
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +24 -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 +24 -0
- package/lib/components/staffs-selector/index.js +113 -37
- package/lib/components/staffs-selector/src/action.d.ts +4 -0
- package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +10 -0
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +24 -0
- package/package.json +34 -34
- package/types/components/staffs-selector/index.d.ts +24 -0
- package/types/components/staffs-selector/src/action.d.ts +4 -0
- package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +10 -0
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +24 -0
|
@@ -7,7 +7,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
type: ArrayConstructor;
|
|
8
8
|
default: () => never[];
|
|
9
9
|
};
|
|
10
|
+
loadData: {
|
|
11
|
+
type: FunctionConstructor;
|
|
12
|
+
default: () => Promise<never[]>;
|
|
13
|
+
};
|
|
10
14
|
}, {
|
|
15
|
+
realLoadData: (treeNode: any) => any;
|
|
11
16
|
search(): void;
|
|
12
17
|
treeRef: import("vue").Ref<any>;
|
|
13
18
|
list: any;
|
|
@@ -36,10 +41,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
41
|
type: ArrayConstructor;
|
|
37
42
|
default: () => never[];
|
|
38
43
|
};
|
|
44
|
+
loadData: {
|
|
45
|
+
type: FunctionConstructor;
|
|
46
|
+
default: () => Promise<never[]>;
|
|
47
|
+
};
|
|
39
48
|
}>> & {
|
|
40
49
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
41
50
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
42
51
|
}, {
|
|
52
|
+
loadData: Function;
|
|
43
53
|
selected: unknown[];
|
|
44
54
|
limit: number;
|
|
45
55
|
}>;
|
|
@@ -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,12 @@ 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;
|
|
976
990
|
search(): void;
|
|
977
991
|
treeRef: import("vue").Ref<any>;
|
|
978
992
|
list: any;
|
|
@@ -1001,10 +1015,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1001
1015
|
type: ArrayConstructor;
|
|
1002
1016
|
default: () => never[];
|
|
1003
1017
|
};
|
|
1018
|
+
loadData: {
|
|
1019
|
+
type: FunctionConstructor;
|
|
1020
|
+
default: () => Promise<never[]>;
|
|
1021
|
+
};
|
|
1004
1022
|
}>> & {
|
|
1005
1023
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
1006
1024
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
1007
1025
|
}, {
|
|
1026
|
+
loadData: Function;
|
|
1008
1027
|
selected: unknown[];
|
|
1009
1028
|
limit: number;
|
|
1010
1029
|
}>;
|
|
@@ -1030,6 +1049,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1030
1049
|
type: FunctionConstructor;
|
|
1031
1050
|
default: () => Promise<never[]>;
|
|
1032
1051
|
};
|
|
1052
|
+
lazyload: {
|
|
1053
|
+
type: FunctionConstructor;
|
|
1054
|
+
default: () => Promise<never[]>;
|
|
1055
|
+
};
|
|
1033
1056
|
select: {
|
|
1034
1057
|
type: ArrayConstructor;
|
|
1035
1058
|
defualt: () => never[];
|
|
@@ -1067,6 +1090,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1067
1090
|
unitStr: string;
|
|
1068
1091
|
limit: number;
|
|
1069
1092
|
load: Function;
|
|
1093
|
+
lazyload: Function;
|
|
1070
1094
|
forceStatic: boolean;
|
|
1071
1095
|
immediateFetch: boolean;
|
|
1072
1096
|
}>;
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "bm-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "An Admin Component Library for Bm",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
|
|
10
|
-
},
|
|
11
|
-
"main": "lib/index.js",
|
|
12
|
-
"module": "es/index.js",
|
|
13
|
-
"unpkg": "index.js",
|
|
14
|
-
"peerDependencies": {
|
|
15
|
-
"vue": "^3.2.31"
|
|
16
|
-
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@ant-design/icons-vue": "^6.1.0",
|
|
19
|
-
"@form-create/ant-design-vue": "^3.1.12",
|
|
20
|
-
"@logicflow/core": "1.1",
|
|
21
|
-
"@logicflow/extension": "1.1",
|
|
22
|
-
"ant-design-vue": "^3.2.10",
|
|
23
|
-
"bm-admin-icons": "^0.2.7",
|
|
24
|
-
"dayjs": "^1.11.4",
|
|
25
|
-
"floating-vue": "2.0.0-beta.17",
|
|
26
|
-
"lodash-es": "^4.17.21",
|
|
27
|
-
"vuedraggable": "^4.1.0",
|
|
28
|
-
"vxe-table": "4.2.3",
|
|
29
|
-
"xe-utils": "3.5.4"
|
|
30
|
-
},
|
|
31
|
-
"sideEffects": [
|
|
32
|
-
"theme-chalk/*.css"
|
|
33
|
-
]
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "bm-admin-ui",
|
|
3
|
+
"version": "1.2.53-alpha",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "An Admin Component Library for Bm",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
|
|
10
|
+
},
|
|
11
|
+
"main": "lib/index.js",
|
|
12
|
+
"module": "es/index.js",
|
|
13
|
+
"unpkg": "index.js",
|
|
14
|
+
"peerDependencies": {
|
|
15
|
+
"vue": "^3.2.31"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@ant-design/icons-vue": "^6.1.0",
|
|
19
|
+
"@form-create/ant-design-vue": "^3.1.12",
|
|
20
|
+
"@logicflow/core": "1.1",
|
|
21
|
+
"@logicflow/extension": "1.1",
|
|
22
|
+
"ant-design-vue": "^3.2.10",
|
|
23
|
+
"bm-admin-icons": "^0.2.7",
|
|
24
|
+
"dayjs": "^1.11.4",
|
|
25
|
+
"floating-vue": "2.0.0-beta.17",
|
|
26
|
+
"lodash-es": "^4.17.21",
|
|
27
|
+
"vuedraggable": "^4.1.0",
|
|
28
|
+
"vxe-table": "4.2.3",
|
|
29
|
+
"xe-utils": "3.5.4"
|
|
30
|
+
},
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"theme-chalk/*.css"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -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,12 @@ 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;
|
|
976
990
|
search(): void;
|
|
977
991
|
treeRef: import("vue").Ref<any>;
|
|
978
992
|
list: any;
|
|
@@ -1001,10 +1015,15 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1001
1015
|
type: ArrayConstructor;
|
|
1002
1016
|
default: () => never[];
|
|
1003
1017
|
};
|
|
1018
|
+
loadData: {
|
|
1019
|
+
type: FunctionConstructor;
|
|
1020
|
+
default: () => Promise<never[]>;
|
|
1021
|
+
};
|
|
1004
1022
|
}>> & {
|
|
1005
1023
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
1006
1024
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
1007
1025
|
}, {
|
|
1026
|
+
loadData: Function;
|
|
1008
1027
|
selected: unknown[];
|
|
1009
1028
|
limit: number;
|
|
1010
1029
|
}>;
|
|
@@ -1030,6 +1049,10 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1030
1049
|
type: FunctionConstructor;
|
|
1031
1050
|
default: () => Promise<never[]>;
|
|
1032
1051
|
};
|
|
1052
|
+
lazyload: {
|
|
1053
|
+
type: FunctionConstructor;
|
|
1054
|
+
default: () => Promise<never[]>;
|
|
1055
|
+
};
|
|
1033
1056
|
select: {
|
|
1034
1057
|
type: ArrayConstructor;
|
|
1035
1058
|
defualt: () => never[];
|
|
@@ -1067,6 +1090,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
|
|
|
1067
1090
|
unitStr: string;
|
|
1068
1091
|
limit: number;
|
|
1069
1092
|
load: Function;
|
|
1093
|
+
lazyload: Function;
|
|
1070
1094
|
forceStatic: boolean;
|
|
1071
1095
|
immediateFetch: boolean;
|
|
1072
1096
|
}>>;
|
|
@@ -25,6 +25,10 @@ export declare const selectProps: {
|
|
|
25
25
|
type: FunctionConstructor;
|
|
26
26
|
default: () => Promise<never[]>;
|
|
27
27
|
};
|
|
28
|
+
lazyload: {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
default: () => Promise<never[]>;
|
|
31
|
+
};
|
|
28
32
|
select: {
|
|
29
33
|
type: ArrayConstructor;
|
|
30
34
|
defualt: () => never[];
|
|
@@ -7,7 +7,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
type: ArrayConstructor;
|
|
8
8
|
default: () => never[];
|
|
9
9
|
};
|
|
10
|
+
loadData: {
|
|
11
|
+
type: FunctionConstructor;
|
|
12
|
+
default: () => Promise<never[]>;
|
|
13
|
+
};
|
|
10
14
|
}, {
|
|
15
|
+
realLoadData: (treeNode: any) => any;
|
|
11
16
|
search(): void;
|
|
12
17
|
treeRef: import("vue").Ref<any>;
|
|
13
18
|
list: any;
|
|
@@ -36,10 +41,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
41
|
type: ArrayConstructor;
|
|
37
42
|
default: () => never[];
|
|
38
43
|
};
|
|
44
|
+
loadData: {
|
|
45
|
+
type: FunctionConstructor;
|
|
46
|
+
default: () => Promise<never[]>;
|
|
47
|
+
};
|
|
39
48
|
}>> & {
|
|
40
49
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
41
50
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
42
51
|
}, {
|
|
52
|
+
loadData: Function;
|
|
43
53
|
selected: unknown[];
|
|
44
54
|
limit: number;
|
|
45
55
|
}>;
|
|
@@ -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,12 @@ 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;
|
|
976
990
|
search(): void;
|
|
977
991
|
treeRef: import("vue").Ref<any>;
|
|
978
992
|
list: any;
|
|
@@ -1001,10 +1015,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1001
1015
|
type: ArrayConstructor;
|
|
1002
1016
|
default: () => never[];
|
|
1003
1017
|
};
|
|
1018
|
+
loadData: {
|
|
1019
|
+
type: FunctionConstructor;
|
|
1020
|
+
default: () => Promise<never[]>;
|
|
1021
|
+
};
|
|
1004
1022
|
}>> & {
|
|
1005
1023
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
1006
1024
|
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
1007
1025
|
}, {
|
|
1026
|
+
loadData: Function;
|
|
1008
1027
|
selected: unknown[];
|
|
1009
1028
|
limit: number;
|
|
1010
1029
|
}>;
|
|
@@ -1030,6 +1049,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1030
1049
|
type: FunctionConstructor;
|
|
1031
1050
|
default: () => Promise<never[]>;
|
|
1032
1051
|
};
|
|
1052
|
+
lazyload: {
|
|
1053
|
+
type: FunctionConstructor;
|
|
1054
|
+
default: () => Promise<never[]>;
|
|
1055
|
+
};
|
|
1033
1056
|
select: {
|
|
1034
1057
|
type: ArrayConstructor;
|
|
1035
1058
|
defualt: () => never[];
|
|
@@ -1067,6 +1090,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1067
1090
|
unitStr: string;
|
|
1068
1091
|
limit: number;
|
|
1069
1092
|
load: Function;
|
|
1093
|
+
lazyload: Function;
|
|
1070
1094
|
forceStatic: boolean;
|
|
1071
1095
|
immediateFetch: boolean;
|
|
1072
1096
|
}>;
|