cnhis-design-vue 3.1.37-beta.1 → 3.1.37
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/big-table/index.d.ts +66 -166
- package/es/components/big-table/src/BigTable.vue.d.ts +79 -194
- package/es/components/button-print/index.d.ts +24 -27
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +101 -100
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
- package/es/components/button-print/src/utils/print.js +1 -6
- package/es/components/fabric-chart/index.d.ts +34 -11
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +35 -12
- package/es/components/fabric-chart/src/FabricChart.vue.js +9 -9
- package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +1 -18
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +129 -42
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.d.ts +25 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +151 -0
- package/es/components/fabric-chart/src/hooks/useCenter.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useCenter.js +6 -7
- package/es/components/fabric-chart/src/hooks/useOther.js +3 -2
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +3 -1
- package/es/components/fabric-chart/src/utils/utils.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/utils.js +7 -4
- package/es/components/form-config/index.d.ts +2 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +2 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +19 -18
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +0 -3
- package/es/components/scale-view/src/hooks/use-component.d.ts +30 -81
- package/es/components/select-label/index.d.ts +30 -81
- package/es/components/select-label/src/SelectLabel.vue.d.ts +30 -81
- package/es/components/select-person/index.d.ts +113 -41
- package/es/components/select-person/src/SelectPerson.vue.d.ts +76 -45
- package/es/shared/utils/tapable/AsyncParallelBailHook.js +1 -1
- package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.js +2 -3
- package/es/shared/utils/tapable/Hook.d.ts +1 -1
- package/es/shared/utils/tapable/Hook.js +1 -1
- package/es/shared/utils/tapable/HookCodeFactory.js +3 -6
- package/es/shared/utils/tapable/SyncWaterfallHook.js +1 -2
- package/package.json +2 -2
- package/es/components/drag-layout/index.d.ts +0 -606
- package/es/components/drag-layout/index.js +0 -11
- package/es/components/drag-layout/src/DragFormLeftItem.vue.d.ts +0 -21
- package/es/components/drag-layout/src/DragFormLeftItem.vue.js +0 -122
- package/es/components/drag-layout/src/DragFormRightItem.vue.d.ts +0 -125
- package/es/components/drag-layout/src/DragFormRightItem.vue.js +0 -267
- package/es/components/drag-layout/src/DragLayout.vue.d.ts +0 -606
- package/es/components/drag-layout/src/DragLayout.vue.js +0 -662
- package/es/components/drag-layout/style/index.css +0 -1
- package/es/components/fabric-chart/src/BirthProcessChart.vue.d.ts +0 -181
|
@@ -64,107 +64,56 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
64
64
|
}>;
|
|
65
65
|
};
|
|
66
66
|
}, {
|
|
67
|
-
props:
|
|
68
|
-
selectedList:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
required: false;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
isLock: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
required: false;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
sourceType: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
required: false;
|
|
91
|
-
default: string;
|
|
92
|
-
};
|
|
93
|
-
getLabelList: {
|
|
94
|
-
type: FunctionConstructor;
|
|
95
|
-
required: false;
|
|
96
|
-
default: () => Promise<{
|
|
97
|
-
rows: never[];
|
|
98
|
-
}>;
|
|
99
|
-
};
|
|
100
|
-
explicit: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
required: false;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
explicitHeiht: {
|
|
106
|
-
type: StringConstructor;
|
|
107
|
-
required: false;
|
|
108
|
-
default: string;
|
|
109
|
-
};
|
|
110
|
-
queryCommonlabels: {
|
|
111
|
-
type: FunctionConstructor;
|
|
112
|
-
required: false;
|
|
113
|
-
default: () => Promise<{
|
|
114
|
-
data: {};
|
|
115
|
-
}>;
|
|
116
|
-
};
|
|
117
|
-
deleteLabel: {
|
|
118
|
-
type: FunctionConstructor;
|
|
119
|
-
required: false;
|
|
120
|
-
default: () => Promise<{
|
|
121
|
-
status: boolean;
|
|
122
|
-
}>;
|
|
123
|
-
};
|
|
124
|
-
saveLabelItem: {
|
|
125
|
-
type: FunctionConstructor;
|
|
126
|
-
required: false;
|
|
127
|
-
default: () => Promise<{
|
|
128
|
-
status: boolean;
|
|
129
|
-
}>;
|
|
130
|
-
};
|
|
131
|
-
}>> & {
|
|
132
|
-
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
onScaleChange?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
onVodFileList?: ((...args: any[]) => any) | undefined;
|
|
135
|
-
}>>;
|
|
67
|
+
props: {
|
|
68
|
+
selectedList: any[];
|
|
69
|
+
item: any;
|
|
70
|
+
isDetail: boolean;
|
|
71
|
+
isLock: boolean;
|
|
72
|
+
sourceType: string;
|
|
73
|
+
getLabelList: Function;
|
|
74
|
+
explicit: boolean;
|
|
75
|
+
explicitHeiht: string;
|
|
76
|
+
queryCommonlabels: Function;
|
|
77
|
+
deleteLabel: Function;
|
|
78
|
+
saveLabelItem: Function;
|
|
79
|
+
};
|
|
136
80
|
emit: (event: "onChange" | "scaleChange" | "vodFileList", ...args: any[]) => void;
|
|
137
|
-
labelFormContentRef:
|
|
81
|
+
labelFormContentRef: any;
|
|
138
82
|
state: {
|
|
139
83
|
labelVisible: boolean;
|
|
140
|
-
editLabelItem:
|
|
141
|
-
labelSelectedList:
|
|
142
|
-
labelSelectedEdit:
|
|
84
|
+
editLabelItem: any;
|
|
85
|
+
labelSelectedList: any[];
|
|
86
|
+
labelSelectedEdit: any[];
|
|
143
87
|
inited: boolean;
|
|
144
88
|
isChangeWindow: boolean;
|
|
145
89
|
modalWidth: string;
|
|
146
90
|
modalHeight: string;
|
|
147
91
|
maxHeight: string;
|
|
148
|
-
commonLabelList:
|
|
92
|
+
commonLabelList: any[];
|
|
149
93
|
multipleChoiceConfig: {};
|
|
150
94
|
};
|
|
151
|
-
updateCommonChecked: (value:
|
|
95
|
+
updateCommonChecked: (value: boolean, item: any) => void;
|
|
152
96
|
item_is_edit: import("vue").ComputedRef<any>;
|
|
153
97
|
titleRender: () => JSX.Element;
|
|
154
|
-
hadleCommonlabels: (commonLabelList: any, selectList: any) => void;
|
|
98
|
+
hadleCommonlabels: (commonLabelList: any[], selectList: any[]) => void;
|
|
155
99
|
getCommonlabelsList: (type: any) => Promise<void>;
|
|
156
|
-
closeTag: (d:
|
|
157
|
-
|
|
158
|
-
|
|
100
|
+
closeTag: (d: {
|
|
101
|
+
labelId: any;
|
|
102
|
+
}) => void;
|
|
103
|
+
handleCommonLabelChange: (v: any, d: {
|
|
104
|
+
labelId: any;
|
|
105
|
+
typeId: string | number;
|
|
106
|
+
}) => void;
|
|
107
|
+
handleEditLabel: (type?: any) => void;
|
|
159
108
|
handleLabelCancel: () => void;
|
|
160
109
|
changeModalWindow: () => void;
|
|
161
110
|
handleSaveLabel: () => void;
|
|
162
|
-
handleGetLabelData: (v: any, update
|
|
111
|
+
handleGetLabelData: (v: any, update?: boolean | undefined) => Promise<void>;
|
|
163
112
|
setLabelTypeStatus: (results: any) => false | undefined;
|
|
164
113
|
updateLabelData: () => void;
|
|
165
114
|
handleResetOptions: () => void;
|
|
166
115
|
explicitOnChange: () => void;
|
|
167
|
-
hanldeSetLabelItem: (id:
|
|
116
|
+
hanldeSetLabelItem: (id: string | number, state: boolean) => void;
|
|
168
117
|
handleGetMultipleChoiceConfig: (v: any) => Promise<false | undefined>;
|
|
169
118
|
NTag: any;
|
|
170
119
|
NIcon: any;
|
|
@@ -64,107 +64,56 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
}>;
|
|
65
65
|
};
|
|
66
66
|
}, {
|
|
67
|
-
props:
|
|
68
|
-
selectedList:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
required: false;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
isLock: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
required: false;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
sourceType: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
required: false;
|
|
91
|
-
default: string;
|
|
92
|
-
};
|
|
93
|
-
getLabelList: {
|
|
94
|
-
type: FunctionConstructor;
|
|
95
|
-
required: false;
|
|
96
|
-
default: () => Promise<{
|
|
97
|
-
rows: never[];
|
|
98
|
-
}>;
|
|
99
|
-
};
|
|
100
|
-
explicit: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
required: false;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
explicitHeiht: {
|
|
106
|
-
type: StringConstructor;
|
|
107
|
-
required: false;
|
|
108
|
-
default: string;
|
|
109
|
-
};
|
|
110
|
-
queryCommonlabels: {
|
|
111
|
-
type: FunctionConstructor;
|
|
112
|
-
required: false;
|
|
113
|
-
default: () => Promise<{
|
|
114
|
-
data: {};
|
|
115
|
-
}>;
|
|
116
|
-
};
|
|
117
|
-
deleteLabel: {
|
|
118
|
-
type: FunctionConstructor;
|
|
119
|
-
required: false;
|
|
120
|
-
default: () => Promise<{
|
|
121
|
-
status: boolean;
|
|
122
|
-
}>;
|
|
123
|
-
};
|
|
124
|
-
saveLabelItem: {
|
|
125
|
-
type: FunctionConstructor;
|
|
126
|
-
required: false;
|
|
127
|
-
default: () => Promise<{
|
|
128
|
-
status: boolean;
|
|
129
|
-
}>;
|
|
130
|
-
};
|
|
131
|
-
}>> & {
|
|
132
|
-
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
onScaleChange?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
onVodFileList?: ((...args: any[]) => any) | undefined;
|
|
135
|
-
}>>;
|
|
67
|
+
props: {
|
|
68
|
+
selectedList: any[];
|
|
69
|
+
item: any;
|
|
70
|
+
isDetail: boolean;
|
|
71
|
+
isLock: boolean;
|
|
72
|
+
sourceType: string;
|
|
73
|
+
getLabelList: Function;
|
|
74
|
+
explicit: boolean;
|
|
75
|
+
explicitHeiht: string;
|
|
76
|
+
queryCommonlabels: Function;
|
|
77
|
+
deleteLabel: Function;
|
|
78
|
+
saveLabelItem: Function;
|
|
79
|
+
};
|
|
136
80
|
emit: (event: "onChange" | "scaleChange" | "vodFileList", ...args: any[]) => void;
|
|
137
|
-
labelFormContentRef:
|
|
81
|
+
labelFormContentRef: any;
|
|
138
82
|
state: {
|
|
139
83
|
labelVisible: boolean;
|
|
140
|
-
editLabelItem:
|
|
141
|
-
labelSelectedList:
|
|
142
|
-
labelSelectedEdit:
|
|
84
|
+
editLabelItem: any;
|
|
85
|
+
labelSelectedList: any[];
|
|
86
|
+
labelSelectedEdit: any[];
|
|
143
87
|
inited: boolean;
|
|
144
88
|
isChangeWindow: boolean;
|
|
145
89
|
modalWidth: string;
|
|
146
90
|
modalHeight: string;
|
|
147
91
|
maxHeight: string;
|
|
148
|
-
commonLabelList:
|
|
92
|
+
commonLabelList: any[];
|
|
149
93
|
multipleChoiceConfig: {};
|
|
150
94
|
};
|
|
151
|
-
updateCommonChecked: (value:
|
|
95
|
+
updateCommonChecked: (value: boolean, item: any) => void;
|
|
152
96
|
item_is_edit: import("vue").ComputedRef<any>;
|
|
153
97
|
titleRender: () => JSX.Element;
|
|
154
|
-
hadleCommonlabels: (commonLabelList: any, selectList: any) => void;
|
|
98
|
+
hadleCommonlabels: (commonLabelList: any[], selectList: any[]) => void;
|
|
155
99
|
getCommonlabelsList: (type: any) => Promise<void>;
|
|
156
|
-
closeTag: (d:
|
|
157
|
-
|
|
158
|
-
|
|
100
|
+
closeTag: (d: {
|
|
101
|
+
labelId: any;
|
|
102
|
+
}) => void;
|
|
103
|
+
handleCommonLabelChange: (v: any, d: {
|
|
104
|
+
labelId: any;
|
|
105
|
+
typeId: string | number;
|
|
106
|
+
}) => void;
|
|
107
|
+
handleEditLabel: (type?: any) => void;
|
|
159
108
|
handleLabelCancel: () => void;
|
|
160
109
|
changeModalWindow: () => void;
|
|
161
110
|
handleSaveLabel: () => void;
|
|
162
|
-
handleGetLabelData: (v: any, update
|
|
111
|
+
handleGetLabelData: (v: any, update?: boolean) => Promise<void>;
|
|
163
112
|
setLabelTypeStatus: (results: any) => false | undefined;
|
|
164
113
|
updateLabelData: () => void;
|
|
165
114
|
handleResetOptions: () => void;
|
|
166
115
|
explicitOnChange: () => void;
|
|
167
|
-
hanldeSetLabelItem: (id:
|
|
116
|
+
hanldeSetLabelItem: (id: string | number, state: boolean) => void;
|
|
168
117
|
handleGetMultipleChoiceConfig: (v: any) => Promise<false | undefined>;
|
|
169
118
|
NTag: any;
|
|
170
119
|
NIcon: any;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
2
|
declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
defaultList: {
|
|
4
|
-
type:
|
|
4
|
+
type: import("vue").PropType<((string | number) | {
|
|
5
|
+
key: string | number;
|
|
6
|
+
name: string;
|
|
7
|
+
})[]>;
|
|
5
8
|
default: () => never[];
|
|
6
9
|
};
|
|
7
10
|
data: {
|
|
8
|
-
type:
|
|
11
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
} & import("../../../es/shared/types").AnyObject)[]>;
|
|
9
14
|
default: () => never[];
|
|
10
15
|
};
|
|
11
16
|
searchPlaceholder: {
|
|
@@ -17,11 +22,18 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
17
22
|
default: string;
|
|
18
23
|
};
|
|
19
24
|
wordbook: {
|
|
20
|
-
type:
|
|
25
|
+
type: import("vue").PropType<{
|
|
26
|
+
parent_id_obj: string | number;
|
|
27
|
+
parent_name_obj: string | number;
|
|
28
|
+
user_count_obj?: string | number | undefined;
|
|
29
|
+
}>;
|
|
21
30
|
default: () => {};
|
|
22
31
|
};
|
|
23
32
|
wordbookChild: {
|
|
24
|
-
type:
|
|
33
|
+
type: import("vue").PropType<{
|
|
34
|
+
user_id_obj: string | number;
|
|
35
|
+
user_name_obj: string | number;
|
|
36
|
+
}>;
|
|
25
37
|
default: () => {};
|
|
26
38
|
};
|
|
27
39
|
showCount: {
|
|
@@ -37,21 +49,26 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
37
49
|
default: boolean;
|
|
38
50
|
};
|
|
39
51
|
queryLoadChildData: {
|
|
40
|
-
type:
|
|
52
|
+
type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<void>>;
|
|
41
53
|
default: undefined;
|
|
42
54
|
};
|
|
43
55
|
queryTreeSearch: {
|
|
44
|
-
type:
|
|
56
|
+
type: import("vue").PropType<(keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>>;
|
|
45
57
|
default: () => Promise<never[]>;
|
|
46
58
|
};
|
|
47
59
|
}, {
|
|
48
60
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
49
61
|
defaultList: {
|
|
50
|
-
type:
|
|
62
|
+
type: import("vue").PropType<((string | number) | {
|
|
63
|
+
key: string | number;
|
|
64
|
+
name: string;
|
|
65
|
+
})[]>;
|
|
51
66
|
default: () => never[];
|
|
52
67
|
};
|
|
53
68
|
data: {
|
|
54
|
-
type:
|
|
69
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
70
|
+
[k: string]: unknown;
|
|
71
|
+
} & import("../../../es/shared/types").AnyObject)[]>;
|
|
55
72
|
default: () => never[];
|
|
56
73
|
};
|
|
57
74
|
searchPlaceholder: {
|
|
@@ -63,11 +80,18 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
63
80
|
default: string;
|
|
64
81
|
};
|
|
65
82
|
wordbook: {
|
|
66
|
-
type:
|
|
83
|
+
type: import("vue").PropType<{
|
|
84
|
+
parent_id_obj: string | number;
|
|
85
|
+
parent_name_obj: string | number;
|
|
86
|
+
user_count_obj?: string | number | undefined;
|
|
87
|
+
}>;
|
|
67
88
|
default: () => {};
|
|
68
89
|
};
|
|
69
90
|
wordbookChild: {
|
|
70
|
-
type:
|
|
91
|
+
type: import("vue").PropType<{
|
|
92
|
+
user_id_obj: string | number;
|
|
93
|
+
user_name_obj: string | number;
|
|
94
|
+
}>;
|
|
71
95
|
default: () => {};
|
|
72
96
|
};
|
|
73
97
|
showCount: {
|
|
@@ -83,11 +107,11 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
83
107
|
default: boolean;
|
|
84
108
|
};
|
|
85
109
|
queryLoadChildData: {
|
|
86
|
-
type:
|
|
110
|
+
type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<void>>;
|
|
87
111
|
default: undefined;
|
|
88
112
|
};
|
|
89
113
|
queryTreeSearch: {
|
|
90
|
-
type:
|
|
114
|
+
type: import("vue").PropType<(keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>>;
|
|
91
115
|
default: () => Promise<never[]>;
|
|
92
116
|
};
|
|
93
117
|
}>> & {
|
|
@@ -96,29 +120,53 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
96
120
|
emit: (event: "check", ...args: any[]) => void;
|
|
97
121
|
keyword: import("vue").Ref<string>;
|
|
98
122
|
checkedAll: import("vue").Ref<boolean>;
|
|
99
|
-
checkedKeys: import("vue").Ref<
|
|
100
|
-
expandedKeys: import("vue").Ref<
|
|
101
|
-
treeData: import("vue").Ref<
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
123
|
+
checkedKeys: import("vue").Ref<(string | number)[]>;
|
|
124
|
+
expandedKeys: import("vue").Ref<(string | number)[]>;
|
|
125
|
+
treeData: import("vue").Ref<{
|
|
126
|
+
[x: string]: unknown;
|
|
127
|
+
key?: import("naive-ui/es/tree/src/interface").Key | undefined;
|
|
128
|
+
label?: string | undefined;
|
|
129
|
+
checkboxDisabled?: boolean | undefined;
|
|
130
|
+
disabled?: boolean | undefined;
|
|
131
|
+
isLeaf?: boolean | undefined;
|
|
132
|
+
children?: any[] | undefined;
|
|
133
|
+
prefix?: (() => import("vue").VNodeChild) | undefined;
|
|
134
|
+
suffix?: (() => import("vue").VNodeChild) | undefined;
|
|
135
|
+
}[]>;
|
|
136
|
+
tagData: import("vue").Ref<{
|
|
137
|
+
key: string | number;
|
|
138
|
+
name: string;
|
|
139
|
+
}[]>;
|
|
140
|
+
temp: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
141
|
+
[k: string]: unknown;
|
|
142
|
+
} & import("../../../es/shared/types").AnyObject)[];
|
|
143
|
+
allCheckedKeys: (string | number)[];
|
|
105
144
|
isRemote: import("vue").ComputedRef<boolean>;
|
|
106
145
|
init: () => void;
|
|
107
|
-
setDisabled: (data:
|
|
146
|
+
setDisabled: (data: import("naive-ui").TreeOption) => void;
|
|
108
147
|
renderLabel: ({ option }: {
|
|
109
|
-
option:
|
|
110
|
-
}) =>
|
|
111
|
-
getLabelName: (option:
|
|
112
|
-
setAllCheckedKeys: (tree:
|
|
148
|
+
option: import("naive-ui").TreeOption;
|
|
149
|
+
}) => JSX.Element;
|
|
150
|
+
getLabelName: (option: import("naive-ui").TreeOption) => unknown;
|
|
151
|
+
setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
|
|
113
152
|
onSearch: () => Promise<void>;
|
|
114
|
-
setTreeCheckd: (tree:
|
|
115
|
-
checkedAllChange: (checked:
|
|
116
|
-
uniq: (arr:
|
|
117
|
-
|
|
118
|
-
|
|
153
|
+
setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
|
154
|
+
checkedAllChange: (checked: boolean) => void;
|
|
155
|
+
uniq: (arr: {
|
|
156
|
+
key: string | number;
|
|
157
|
+
name: string;
|
|
158
|
+
}[]) => {
|
|
159
|
+
key: string | number;
|
|
160
|
+
name: string;
|
|
161
|
+
}[];
|
|
162
|
+
setTagData: (tree: import("naive-ui").TreeOption[]) => void;
|
|
163
|
+
updateTreeChecked: (keys: (string | number)[]) => void;
|
|
119
164
|
setCheckedAll: () => void;
|
|
120
165
|
clearAll: () => void;
|
|
121
|
-
closeTag: (tag:
|
|
166
|
+
closeTag: (tag: {
|
|
167
|
+
key: string | number;
|
|
168
|
+
name: string;
|
|
169
|
+
}) => void;
|
|
122
170
|
NButton: any;
|
|
123
171
|
NInput: any;
|
|
124
172
|
NInputGroup: import("vue").DefineComponent<{
|
|
@@ -190,11 +238,16 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
190
238
|
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<{}>>, {}>;
|
|
191
239
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "check"[], "check", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
192
240
|
defaultList: {
|
|
193
|
-
type:
|
|
241
|
+
type: import("vue").PropType<((string | number) | {
|
|
242
|
+
key: string | number;
|
|
243
|
+
name: string;
|
|
244
|
+
})[]>;
|
|
194
245
|
default: () => never[];
|
|
195
246
|
};
|
|
196
247
|
data: {
|
|
197
|
-
type:
|
|
248
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
249
|
+
[k: string]: unknown;
|
|
250
|
+
} & import("../../../es/shared/types").AnyObject)[]>;
|
|
198
251
|
default: () => never[];
|
|
199
252
|
};
|
|
200
253
|
searchPlaceholder: {
|
|
@@ -206,11 +259,18 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
206
259
|
default: string;
|
|
207
260
|
};
|
|
208
261
|
wordbook: {
|
|
209
|
-
type:
|
|
262
|
+
type: import("vue").PropType<{
|
|
263
|
+
parent_id_obj: string | number;
|
|
264
|
+
parent_name_obj: string | number;
|
|
265
|
+
user_count_obj?: string | number | undefined;
|
|
266
|
+
}>;
|
|
210
267
|
default: () => {};
|
|
211
268
|
};
|
|
212
269
|
wordbookChild: {
|
|
213
|
-
type:
|
|
270
|
+
type: import("vue").PropType<{
|
|
271
|
+
user_id_obj: string | number;
|
|
272
|
+
user_name_obj: string | number;
|
|
273
|
+
}>;
|
|
214
274
|
default: () => {};
|
|
215
275
|
};
|
|
216
276
|
showCount: {
|
|
@@ -226,26 +286,38 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
226
286
|
default: boolean;
|
|
227
287
|
};
|
|
228
288
|
queryLoadChildData: {
|
|
229
|
-
type:
|
|
289
|
+
type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<void>>;
|
|
230
290
|
default: undefined;
|
|
231
291
|
};
|
|
232
292
|
queryTreeSearch: {
|
|
233
|
-
type:
|
|
293
|
+
type: import("vue").PropType<(keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>>;
|
|
234
294
|
default: () => Promise<never[]>;
|
|
235
295
|
};
|
|
236
296
|
}>> & {
|
|
237
297
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
238
298
|
}, {
|
|
239
|
-
data:
|
|
240
|
-
|
|
299
|
+
data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
300
|
+
[k: string]: unknown;
|
|
301
|
+
} & import("../../../es/shared/types").AnyObject)[];
|
|
302
|
+
defaultList: ((string | number) | {
|
|
303
|
+
key: string | number;
|
|
304
|
+
name: string;
|
|
305
|
+
})[];
|
|
241
306
|
searchPlaceholder: string;
|
|
242
307
|
searchButtonText: string;
|
|
243
|
-
wordbook:
|
|
244
|
-
|
|
308
|
+
wordbook: {
|
|
309
|
+
parent_id_obj: string | number;
|
|
310
|
+
parent_name_obj: string | number;
|
|
311
|
+
user_count_obj?: string | number | undefined;
|
|
312
|
+
};
|
|
313
|
+
wordbookChild: {
|
|
314
|
+
user_id_obj: string | number;
|
|
315
|
+
user_name_obj: string | number;
|
|
316
|
+
};
|
|
245
317
|
showCount: boolean;
|
|
246
318
|
showClear: boolean;
|
|
247
319
|
multiple: boolean;
|
|
248
|
-
queryLoadChildData:
|
|
249
|
-
queryTreeSearch:
|
|
320
|
+
queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<void>;
|
|
321
|
+
queryTreeSearch: (keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>;
|
|
250
322
|
}>>;
|
|
251
323
|
export default SelectPerson;
|