cnhis-design-vue 3.1.57-beta.1 → 3.1.57-beta.3
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/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +0 -3
- package/es/components/expand-field/index.d.ts +95 -23
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +95 -23
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +95 -23
- package/es/components/expand-field/src/components/form.vue.d.ts +95 -23
- package/es/components/expand-field/src/index.vue.d.ts +95 -23
- package/es/components/form-config/index.d.ts +24 -12
- package/es/components/form-config/src/FormConfig.vue.d.ts +24 -12
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +5 -2
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +5 -2
- package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.d.ts +2 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +16 -12
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +12 -0
- package/es/components/index.css +1 -1
- package/es/components/select-person/index.d.ts +95 -23
- package/es/components/select-person/src/SelectPerson.vue.d.ts +84 -17
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/types/enums.d.ts +9 -0
- package/es/components/select-person/src/types/enums.js +1 -1
- package/es/components/select-person/style/index.css +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -699,9 +699,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
699
699
|
handleInitConditions: () => Promise<void>;
|
|
700
700
|
validate: () => Promise<unknown>;
|
|
701
701
|
saveAdd: () => void;
|
|
702
|
-
/**
|
|
703
|
-
* 改变展示方式
|
|
704
|
-
*/
|
|
705
702
|
cancelSaveAdd: () => void;
|
|
706
703
|
checkActionList: () => boolean;
|
|
707
704
|
NSpin: any;
|
|
@@ -827,7 +827,6 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
827
827
|
type: import("vue").PropType<((string | number) | {
|
|
828
828
|
[key: string]: any;
|
|
829
829
|
key: string | number;
|
|
830
|
-
name: string;
|
|
831
830
|
})[]>;
|
|
832
831
|
default: () => never[];
|
|
833
832
|
};
|
|
@@ -847,6 +846,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
847
846
|
};
|
|
848
847
|
wordbook: {
|
|
849
848
|
type: import("vue").PropType<{
|
|
849
|
+
[key: string]: any;
|
|
850
850
|
parent_id_obj: string | number;
|
|
851
851
|
parent_name_obj: string | number;
|
|
852
852
|
user_count_obj?: string | number | undefined;
|
|
@@ -896,6 +896,24 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
896
896
|
type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
|
|
897
897
|
default: () => Promise<never[]>;
|
|
898
898
|
};
|
|
899
|
+
showSelectType: {
|
|
900
|
+
type: BooleanConstructor;
|
|
901
|
+
default: boolean;
|
|
902
|
+
};
|
|
903
|
+
roleData: {
|
|
904
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
905
|
+
[k: string]: unknown;
|
|
906
|
+
} & import("../../shared/types").AnyObject)[]>;
|
|
907
|
+
default: () => never[];
|
|
908
|
+
};
|
|
909
|
+
roleFields: {
|
|
910
|
+
type: ObjectConstructor;
|
|
911
|
+
default: () => {
|
|
912
|
+
label: string;
|
|
913
|
+
key: string;
|
|
914
|
+
children: string;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
899
917
|
}, {
|
|
900
918
|
searchFilterBase: {
|
|
901
919
|
isOpen: boolean;
|
|
@@ -903,12 +921,19 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
903
921
|
customTitles: string[];
|
|
904
922
|
itemHeight: number;
|
|
905
923
|
};
|
|
924
|
+
labelList: {
|
|
925
|
+
key: string;
|
|
926
|
+
label: string;
|
|
927
|
+
}[];
|
|
928
|
+
labelListName: {
|
|
929
|
+
dept: string;
|
|
930
|
+
role: string;
|
|
931
|
+
};
|
|
906
932
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
907
933
|
defaultList: {
|
|
908
934
|
type: import("vue").PropType<((string | number) | {
|
|
909
935
|
[key: string]: any;
|
|
910
936
|
key: string | number;
|
|
911
|
-
name: string;
|
|
912
937
|
})[]>;
|
|
913
938
|
default: () => never[];
|
|
914
939
|
};
|
|
@@ -928,6 +953,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
928
953
|
};
|
|
929
954
|
wordbook: {
|
|
930
955
|
type: import("vue").PropType<{
|
|
956
|
+
[key: string]: any;
|
|
931
957
|
parent_id_obj: string | number;
|
|
932
958
|
parent_name_obj: string | number;
|
|
933
959
|
user_count_obj?: string | number | undefined;
|
|
@@ -977,6 +1003,24 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
977
1003
|
type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
|
|
978
1004
|
default: () => Promise<never[]>;
|
|
979
1005
|
};
|
|
1006
|
+
showSelectType: {
|
|
1007
|
+
type: BooleanConstructor;
|
|
1008
|
+
default: boolean;
|
|
1009
|
+
};
|
|
1010
|
+
roleData: {
|
|
1011
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
1012
|
+
[k: string]: unknown;
|
|
1013
|
+
} & import("../../shared/types").AnyObject)[]>;
|
|
1014
|
+
default: () => never[];
|
|
1015
|
+
};
|
|
1016
|
+
roleFields: {
|
|
1017
|
+
type: ObjectConstructor;
|
|
1018
|
+
default: () => {
|
|
1019
|
+
label: string;
|
|
1020
|
+
key: string;
|
|
1021
|
+
children: string;
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
980
1024
|
}>> & {
|
|
981
1025
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
982
1026
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
|
@@ -1000,19 +1044,18 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1000
1044
|
tagData: import("vue").Ref<{
|
|
1001
1045
|
[x: string]: any;
|
|
1002
1046
|
key: string | number;
|
|
1003
|
-
name: string;
|
|
1004
1047
|
}[]>;
|
|
1005
1048
|
initTagData: import("vue").Ref<{
|
|
1006
1049
|
[x: string]: any;
|
|
1007
1050
|
key: string | number;
|
|
1008
|
-
name: string;
|
|
1009
1051
|
}[]>;
|
|
1010
1052
|
isSearch: import("vue").Ref<boolean>;
|
|
1011
|
-
|
|
1012
|
-
|
|
1053
|
+
tempData: import("naive-ui").TreeOption[];
|
|
1054
|
+
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
|
1013
1055
|
isRemote: import("vue").ComputedRef<boolean>;
|
|
1014
1056
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
|
1015
1057
|
isSearchFilter: import("vue").ComputedRef<boolean>;
|
|
1058
|
+
curSelectKey: import("vue").Ref<string>;
|
|
1016
1059
|
mergeSearchFilter: import("vue").ComputedRef<{
|
|
1017
1060
|
isOpen: boolean;
|
|
1018
1061
|
multiple: boolean;
|
|
@@ -1020,10 +1063,24 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1020
1063
|
itemHeight: number;
|
|
1021
1064
|
}>;
|
|
1022
1065
|
wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
|
|
1023
|
-
caculateTagData: import("vue").ComputedRef<any
|
|
1066
|
+
caculateTagData: import("vue").ComputedRef<any>;
|
|
1067
|
+
treeDataMiddle: any;
|
|
1068
|
+
checkedKeysMiddle: any;
|
|
1069
|
+
checkedTagsMiddle: any;
|
|
1070
|
+
allCheckedKeysMiddle: any;
|
|
1071
|
+
attrType: import("vue").ComputedRef<any>;
|
|
1072
|
+
keyStr: import("vue").ComputedRef<string>;
|
|
1073
|
+
getTreeDataMiddleData: () => void;
|
|
1074
|
+
getDeptData: (list: any[], cb?: any) => any[];
|
|
1075
|
+
getRoleData: (list: any[], cb?: any) => any[];
|
|
1076
|
+
onHandleLabelChange: (item: any) => void;
|
|
1077
|
+
setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
|
|
1078
|
+
uniqArrObj: (arr: any[], name: string) => any;
|
|
1024
1079
|
init: () => void;
|
|
1025
|
-
|
|
1026
|
-
|
|
1080
|
+
getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
|
|
1081
|
+
setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
|
|
1082
|
+
setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
|
1083
|
+
setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
|
1027
1084
|
queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
|
|
1028
1085
|
setDisabled: (data: import("naive-ui").TreeOption) => void;
|
|
1029
1086
|
renderLabel: ({ option }: {
|
|
@@ -1032,10 +1089,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1032
1089
|
getLabelName: (option: import("naive-ui").TreeOption) => unknown;
|
|
1033
1090
|
transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
|
|
1034
1091
|
calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
|
|
1035
|
-
transformParentNodeName: (trees: import("naive-ui").TreeOption[],
|
|
1036
|
-
setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
|
|
1037
|
-
setAllCheckedKeysWithChild: (tree: import("naive-ui").TreeOption[]) => void;
|
|
1038
|
-
setAllCheckedKeysWithParent: (tree: import("naive-ui").TreeOption[]) => void;
|
|
1092
|
+
transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
|
|
1039
1093
|
searchSetting: () => string;
|
|
1040
1094
|
onSearch: () => Promise<void>;
|
|
1041
1095
|
setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
|
@@ -1045,11 +1099,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1045
1099
|
uniq: (arr: {
|
|
1046
1100
|
[key: string]: any;
|
|
1047
1101
|
key: string | number;
|
|
1048
|
-
name: string;
|
|
1049
1102
|
}[]) => {
|
|
1050
1103
|
[key: string]: any;
|
|
1051
1104
|
key: string | number;
|
|
1052
|
-
name: string;
|
|
1053
1105
|
}[];
|
|
1054
1106
|
setTagData: (tree: import("naive-ui").TreeOption[]) => void;
|
|
1055
1107
|
updateTreeChecked: (keys: (string | number)[]) => void;
|
|
@@ -1058,15 +1110,10 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1058
1110
|
closeTag: (tag: {
|
|
1059
1111
|
[key: string]: any;
|
|
1060
1112
|
key: string | number;
|
|
1061
|
-
name: string;
|
|
1062
1113
|
}) => void;
|
|
1063
1114
|
notifyCheck: (keys: (string | number)[]) => void;
|
|
1064
1115
|
notifySearchClear: () => void;
|
|
1065
|
-
getCheckWithLevel: () =>
|
|
1066
|
-
[x: string]: any;
|
|
1067
|
-
key: string | number;
|
|
1068
|
-
name: string;
|
|
1069
|
-
}[];
|
|
1116
|
+
getCheckWithLevel: () => any;
|
|
1070
1117
|
NButton: any;
|
|
1071
1118
|
NInput: any;
|
|
1072
1119
|
NInputGroup: import("vue").DefineComponent<{
|
|
@@ -1082,6 +1129,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1082
1129
|
}>>, {}>;
|
|
1083
1130
|
NCheckbox: any;
|
|
1084
1131
|
NTree: any;
|
|
1132
|
+
NTag: any;
|
|
1085
1133
|
NIcon: any;
|
|
1086
1134
|
NSpace: any;
|
|
1087
1135
|
NGrid: any;
|
|
@@ -1135,6 +1183,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1135
1183
|
readonly suffix: boolean;
|
|
1136
1184
|
readonly privateShow: boolean;
|
|
1137
1185
|
}>;
|
|
1186
|
+
NEmpty: any;
|
|
1138
1187
|
CloseCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1139
1188
|
SearchMultiple: import("vue").DefineComponent<{
|
|
1140
1189
|
treeData: {
|
|
@@ -1404,7 +1453,6 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1404
1453
|
type: import("vue").PropType<((string | number) | {
|
|
1405
1454
|
[key: string]: any;
|
|
1406
1455
|
key: string | number;
|
|
1407
|
-
name: string;
|
|
1408
1456
|
})[]>;
|
|
1409
1457
|
default: () => never[];
|
|
1410
1458
|
};
|
|
@@ -1424,6 +1472,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1424
1472
|
};
|
|
1425
1473
|
wordbook: {
|
|
1426
1474
|
type: import("vue").PropType<{
|
|
1475
|
+
[key: string]: any;
|
|
1427
1476
|
parent_id_obj: string | number;
|
|
1428
1477
|
parent_name_obj: string | number;
|
|
1429
1478
|
user_count_obj?: string | number | undefined;
|
|
@@ -1473,6 +1522,24 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1473
1522
|
type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
|
|
1474
1523
|
default: () => Promise<never[]>;
|
|
1475
1524
|
};
|
|
1525
|
+
showSelectType: {
|
|
1526
|
+
type: BooleanConstructor;
|
|
1527
|
+
default: boolean;
|
|
1528
|
+
};
|
|
1529
|
+
roleData: {
|
|
1530
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
1531
|
+
[k: string]: unknown;
|
|
1532
|
+
} & import("../../shared/types").AnyObject)[]>;
|
|
1533
|
+
default: () => never[];
|
|
1534
|
+
};
|
|
1535
|
+
roleFields: {
|
|
1536
|
+
type: ObjectConstructor;
|
|
1537
|
+
default: () => {
|
|
1538
|
+
label: string;
|
|
1539
|
+
key: string;
|
|
1540
|
+
children: string;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1476
1543
|
}>> & {
|
|
1477
1544
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
1478
1545
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
|
@@ -1483,11 +1550,11 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1483
1550
|
defaultList: ((string | number) | {
|
|
1484
1551
|
[key: string]: any;
|
|
1485
1552
|
key: string | number;
|
|
1486
|
-
name: string;
|
|
1487
1553
|
})[];
|
|
1488
1554
|
searchPlaceholder: string;
|
|
1489
1555
|
searchButtonText: string;
|
|
1490
1556
|
wordbook: {
|
|
1557
|
+
[key: string]: any;
|
|
1491
1558
|
parent_id_obj: string | number;
|
|
1492
1559
|
parent_name_obj: string | number;
|
|
1493
1560
|
user_count_obj?: string | number | undefined;
|
|
@@ -1508,6 +1575,11 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1508
1575
|
} & import("../../shared/types").AnyObject;
|
|
1509
1576
|
queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
|
|
1510
1577
|
queryTreeSearch: (keyWork: string) => Promise<import("../../shared/types").AnyObject[]>;
|
|
1578
|
+
showSelectType: boolean;
|
|
1579
|
+
roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
1580
|
+
[k: string]: unknown;
|
|
1581
|
+
} & import("../../shared/types").AnyObject)[];
|
|
1582
|
+
roleFields: Record<string, any>;
|
|
1511
1583
|
}>>;
|
|
1512
1584
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1513
1585
|
visible: {
|
|
@@ -109,7 +109,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
type: PropType<((string | number) | {
|
|
110
110
|
[key: string]: any;
|
|
111
111
|
key: string | number;
|
|
112
|
-
name: string;
|
|
113
112
|
})[]>;
|
|
114
113
|
default: () => never[];
|
|
115
114
|
};
|
|
@@ -129,6 +128,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
128
|
};
|
|
130
129
|
wordbook: {
|
|
131
130
|
type: PropType<{
|
|
131
|
+
[key: string]: any;
|
|
132
132
|
parent_id_obj: string | number;
|
|
133
133
|
parent_name_obj: string | number;
|
|
134
134
|
user_count_obj?: string | number | undefined;
|
|
@@ -178,6 +178,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
178
178
|
type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
|
|
179
179
|
default: () => Promise<never[]>;
|
|
180
180
|
};
|
|
181
|
+
showSelectType: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
roleData: {
|
|
186
|
+
type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
187
|
+
[k: string]: unknown;
|
|
188
|
+
} & import("../../..").AnyObject)[]>;
|
|
189
|
+
default: () => never[];
|
|
190
|
+
};
|
|
191
|
+
roleFields: {
|
|
192
|
+
type: ObjectConstructor;
|
|
193
|
+
default: () => {
|
|
194
|
+
label: string;
|
|
195
|
+
key: string;
|
|
196
|
+
children: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
181
199
|
}, {
|
|
182
200
|
searchFilterBase: {
|
|
183
201
|
isOpen: boolean;
|
|
@@ -185,12 +203,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
185
203
|
customTitles: string[];
|
|
186
204
|
itemHeight: number;
|
|
187
205
|
};
|
|
206
|
+
labelList: {
|
|
207
|
+
key: string;
|
|
208
|
+
label: string;
|
|
209
|
+
}[];
|
|
210
|
+
labelListName: {
|
|
211
|
+
dept: string;
|
|
212
|
+
role: string;
|
|
213
|
+
};
|
|
188
214
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
189
215
|
defaultList: {
|
|
190
216
|
type: PropType<((string | number) | {
|
|
191
217
|
[key: string]: any;
|
|
192
218
|
key: string | number;
|
|
193
|
-
name: string;
|
|
194
219
|
})[]>;
|
|
195
220
|
default: () => never[];
|
|
196
221
|
};
|
|
@@ -210,6 +235,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
235
|
};
|
|
211
236
|
wordbook: {
|
|
212
237
|
type: PropType<{
|
|
238
|
+
[key: string]: any;
|
|
213
239
|
parent_id_obj: string | number;
|
|
214
240
|
parent_name_obj: string | number;
|
|
215
241
|
user_count_obj?: string | number | undefined;
|
|
@@ -259,6 +285,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
259
285
|
type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
|
|
260
286
|
default: () => Promise<never[]>;
|
|
261
287
|
};
|
|
288
|
+
showSelectType: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
default: boolean;
|
|
291
|
+
};
|
|
292
|
+
roleData: {
|
|
293
|
+
type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
294
|
+
[k: string]: unknown;
|
|
295
|
+
} & import("../../..").AnyObject)[]>;
|
|
296
|
+
default: () => never[];
|
|
297
|
+
};
|
|
298
|
+
roleFields: {
|
|
299
|
+
type: ObjectConstructor;
|
|
300
|
+
default: () => {
|
|
301
|
+
label: string;
|
|
302
|
+
key: string;
|
|
303
|
+
children: string;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
262
306
|
}>> & {
|
|
263
307
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
264
308
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
|
@@ -282,19 +326,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
282
326
|
tagData: import("vue").Ref<{
|
|
283
327
|
[x: string]: any;
|
|
284
328
|
key: string | number;
|
|
285
|
-
name: string;
|
|
286
329
|
}[]>;
|
|
287
330
|
initTagData: import("vue").Ref<{
|
|
288
331
|
[x: string]: any;
|
|
289
332
|
key: string | number;
|
|
290
|
-
name: string;
|
|
291
333
|
}[]>;
|
|
292
334
|
isSearch: import("vue").Ref<boolean>;
|
|
293
|
-
|
|
294
|
-
|
|
335
|
+
tempData: import("naive-ui").TreeOption[];
|
|
336
|
+
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
|
295
337
|
isRemote: import("vue").ComputedRef<boolean>;
|
|
296
338
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
|
297
339
|
isSearchFilter: import("vue").ComputedRef<boolean>;
|
|
340
|
+
curSelectKey: import("vue").Ref<string>;
|
|
298
341
|
mergeSearchFilter: import("vue").ComputedRef<{
|
|
299
342
|
isOpen: boolean;
|
|
300
343
|
multiple: boolean;
|
|
@@ -302,10 +345,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
302
345
|
itemHeight: number;
|
|
303
346
|
}>;
|
|
304
347
|
wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
|
|
305
|
-
caculateTagData: import("vue").ComputedRef<any
|
|
348
|
+
caculateTagData: import("vue").ComputedRef<any>;
|
|
349
|
+
treeDataMiddle: any;
|
|
350
|
+
checkedKeysMiddle: any;
|
|
351
|
+
checkedTagsMiddle: any;
|
|
352
|
+
allCheckedKeysMiddle: any;
|
|
353
|
+
attrType: import("vue").ComputedRef<any>;
|
|
354
|
+
keyStr: import("vue").ComputedRef<string>;
|
|
355
|
+
getTreeDataMiddleData: () => void;
|
|
356
|
+
getDeptData: (list: any[], cb?: any) => any[];
|
|
357
|
+
getRoleData: (list: any[], cb?: any) => any[];
|
|
358
|
+
onHandleLabelChange: (item: any) => void;
|
|
359
|
+
setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
|
|
360
|
+
uniqArrObj: (arr: any[], name: string) => any;
|
|
306
361
|
init: () => void;
|
|
307
|
-
|
|
308
|
-
|
|
362
|
+
getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
|
|
363
|
+
setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
|
|
364
|
+
setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
|
365
|
+
setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
|
309
366
|
queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>;
|
|
310
367
|
setDisabled: (data: import("naive-ui").TreeOption) => void;
|
|
311
368
|
renderLabel: ({ option }: {
|
|
@@ -314,10 +371,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
314
371
|
getLabelName: (option: import("naive-ui").TreeOption) => unknown;
|
|
315
372
|
transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
|
|
316
373
|
calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
|
|
317
|
-
transformParentNodeName: (trees: import("naive-ui").TreeOption[],
|
|
318
|
-
setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
|
|
319
|
-
setAllCheckedKeysWithChild: (tree: import("naive-ui").TreeOption[]) => void;
|
|
320
|
-
setAllCheckedKeysWithParent: (tree: import("naive-ui").TreeOption[]) => void;
|
|
374
|
+
transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
|
|
321
375
|
searchSetting: () => string;
|
|
322
376
|
onSearch: () => Promise<void>;
|
|
323
377
|
setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
|
@@ -327,11 +381,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
327
381
|
uniq: (arr: {
|
|
328
382
|
[key: string]: any;
|
|
329
383
|
key: string | number;
|
|
330
|
-
name: string;
|
|
331
384
|
}[]) => {
|
|
332
385
|
[key: string]: any;
|
|
333
386
|
key: string | number;
|
|
334
|
-
name: string;
|
|
335
387
|
}[];
|
|
336
388
|
setTagData: (tree: import("naive-ui").TreeOption[]) => void;
|
|
337
389
|
updateTreeChecked: (keys: (string | number)[]) => void;
|
|
@@ -340,15 +392,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
340
392
|
closeTag: (tag: {
|
|
341
393
|
[key: string]: any;
|
|
342
394
|
key: string | number;
|
|
343
|
-
name: string;
|
|
344
395
|
}) => void;
|
|
345
396
|
notifyCheck: (keys: (string | number)[]) => void;
|
|
346
397
|
notifySearchClear: () => void;
|
|
347
|
-
getCheckWithLevel: () =>
|
|
348
|
-
[x: string]: any;
|
|
349
|
-
key: string | number;
|
|
350
|
-
name: string;
|
|
351
|
-
}[];
|
|
398
|
+
getCheckWithLevel: () => any;
|
|
352
399
|
NButton: any;
|
|
353
400
|
NInput: any;
|
|
354
401
|
NInputGroup: import("vue").DefineComponent<{
|
|
@@ -364,6 +411,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
364
411
|
}>>, {}>;
|
|
365
412
|
NCheckbox: any;
|
|
366
413
|
NTree: any;
|
|
414
|
+
NTag: any;
|
|
367
415
|
NIcon: any;
|
|
368
416
|
NSpace: any;
|
|
369
417
|
NGrid: any;
|
|
@@ -417,6 +465,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
417
465
|
readonly suffix: boolean;
|
|
418
466
|
readonly privateShow: boolean;
|
|
419
467
|
}>;
|
|
468
|
+
NEmpty: any;
|
|
420
469
|
CloseCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
421
470
|
SearchMultiple: import("vue").DefineComponent<{
|
|
422
471
|
treeData: {
|
|
@@ -686,7 +735,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
686
735
|
type: PropType<((string | number) | {
|
|
687
736
|
[key: string]: any;
|
|
688
737
|
key: string | number;
|
|
689
|
-
name: string;
|
|
690
738
|
})[]>;
|
|
691
739
|
default: () => never[];
|
|
692
740
|
};
|
|
@@ -706,6 +754,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
706
754
|
};
|
|
707
755
|
wordbook: {
|
|
708
756
|
type: PropType<{
|
|
757
|
+
[key: string]: any;
|
|
709
758
|
parent_id_obj: string | number;
|
|
710
759
|
parent_name_obj: string | number;
|
|
711
760
|
user_count_obj?: string | number | undefined;
|
|
@@ -755,6 +804,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
755
804
|
type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
|
|
756
805
|
default: () => Promise<never[]>;
|
|
757
806
|
};
|
|
807
|
+
showSelectType: {
|
|
808
|
+
type: BooleanConstructor;
|
|
809
|
+
default: boolean;
|
|
810
|
+
};
|
|
811
|
+
roleData: {
|
|
812
|
+
type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
813
|
+
[k: string]: unknown;
|
|
814
|
+
} & import("../../..").AnyObject)[]>;
|
|
815
|
+
default: () => never[];
|
|
816
|
+
};
|
|
817
|
+
roleFields: {
|
|
818
|
+
type: ObjectConstructor;
|
|
819
|
+
default: () => {
|
|
820
|
+
label: string;
|
|
821
|
+
key: string;
|
|
822
|
+
children: string;
|
|
823
|
+
};
|
|
824
|
+
};
|
|
758
825
|
}>> & {
|
|
759
826
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
760
827
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
|
@@ -765,11 +832,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
765
832
|
defaultList: ((string | number) | {
|
|
766
833
|
[key: string]: any;
|
|
767
834
|
key: string | number;
|
|
768
|
-
name: string;
|
|
769
835
|
})[];
|
|
770
836
|
searchPlaceholder: string;
|
|
771
837
|
searchButtonText: string;
|
|
772
838
|
wordbook: {
|
|
839
|
+
[key: string]: any;
|
|
773
840
|
parent_id_obj: string | number;
|
|
774
841
|
parent_name_obj: string | number;
|
|
775
842
|
user_count_obj?: string | number | undefined;
|
|
@@ -790,6 +857,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
790
857
|
} & import("../../..").AnyObject;
|
|
791
858
|
queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>;
|
|
792
859
|
queryTreeSearch: (keyWork: string) => Promise<import("../../..").AnyObject[]>;
|
|
860
|
+
showSelectType: boolean;
|
|
861
|
+
roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
862
|
+
[k: string]: unknown;
|
|
863
|
+
} & import("../../..").AnyObject)[];
|
|
864
|
+
roleFields: Record<string, any>;
|
|
793
865
|
}>>;
|
|
794
866
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
795
867
|
visible: {
|