orion-design 0.1.41 → 0.1.43
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/dist/Throne/hooks/use-throne-context.js.map +1 -1
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Modal/index.js +10 -8
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Pagetable/index.js +48 -47
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Querytable/index.js +119 -118
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components/Tree/Tree.d.ts +45 -0
- package/dist/components/Tree/Tree.js +2 -0
- package/dist/components/Tree/Tree.js.map +1 -0
- package/dist/components/Tree/Tree.vue.d.ts +1709 -0
- package/dist/components/Tree/index.d.ts +899 -1
- package/dist/components/Tree/index.js +92 -1
- package/dist/components/Tree/index.js.map +1 -1
- package/dist/components/Tree/utils/index.d.ts +3 -0
- package/dist/components/Tree/utils/index.js +7 -0
- package/dist/components/Tree/utils/index.js.map +1 -0
- package/dist/components/components.d.ts +1 -0
- package/dist/components/components.js +10 -8
- package/dist/components/components.js.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +41 -38
- package/dist/components/index.js.map +1 -1
- package/dist/{components-Pdc4XEej.js → components-G3_R2B-U.js} +14 -12
- package/dist/components-G3_R2B-U.js.map +1 -0
- package/dist/index-C2i44sFt.js +33 -0
- package/dist/index-C2i44sFt.js.map +1 -0
- package/dist/index.js +43 -40
- package/dist/index.js.map +1 -1
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/global.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components-Pdc4XEej.js.map +0 -1
@@ -0,0 +1,1709 @@
|
|
1
|
+
import { TreeProps } from './Tree';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
slots: {
|
4
|
+
default?(_: any): any;
|
5
|
+
};
|
6
|
+
refs: {
|
7
|
+
_tree: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
8
|
+
data: {
|
9
|
+
type: ArrayConstructor;
|
10
|
+
default: () => never[];
|
11
|
+
};
|
12
|
+
emptyText: {
|
13
|
+
type: StringConstructor;
|
14
|
+
};
|
15
|
+
renderAfterExpand: {
|
16
|
+
type: BooleanConstructor;
|
17
|
+
default: boolean;
|
18
|
+
};
|
19
|
+
nodeKey: StringConstructor;
|
20
|
+
checkStrictly: BooleanConstructor;
|
21
|
+
defaultExpandAll: BooleanConstructor;
|
22
|
+
expandOnClickNode: {
|
23
|
+
type: BooleanConstructor;
|
24
|
+
default: boolean;
|
25
|
+
};
|
26
|
+
checkOnClickNode: BooleanConstructor;
|
27
|
+
checkDescendants: {
|
28
|
+
type: BooleanConstructor;
|
29
|
+
default: boolean;
|
30
|
+
};
|
31
|
+
autoExpandParent: {
|
32
|
+
type: BooleanConstructor;
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
36
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
37
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
38
|
+
renderContent: FunctionConstructor;
|
39
|
+
showCheckbox: {
|
40
|
+
type: BooleanConstructor;
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
draggable: {
|
44
|
+
type: BooleanConstructor;
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
allowDrag: FunctionConstructor;
|
48
|
+
allowDrop: FunctionConstructor;
|
49
|
+
props: {
|
50
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
51
|
+
default: () => {
|
52
|
+
children: string;
|
53
|
+
label: string;
|
54
|
+
disabled: string;
|
55
|
+
};
|
56
|
+
};
|
57
|
+
lazy: {
|
58
|
+
type: BooleanConstructor;
|
59
|
+
default: boolean;
|
60
|
+
};
|
61
|
+
highlightCurrent: BooleanConstructor;
|
62
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
63
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
64
|
+
accordion: BooleanConstructor;
|
65
|
+
indent: {
|
66
|
+
type: NumberConstructor;
|
67
|
+
default: number;
|
68
|
+
};
|
69
|
+
icon: {
|
70
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
71
|
+
};
|
72
|
+
}>> & {
|
73
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
74
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
75
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
76
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
77
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
78
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
79
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
80
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
81
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
82
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
83
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
84
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
85
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
86
|
+
}, {
|
87
|
+
ns: {
|
88
|
+
namespace: import('vue').ComputedRef<string>;
|
89
|
+
b: (blockSuffix?: string) => string;
|
90
|
+
e: (element?: string | undefined) => string;
|
91
|
+
m: (modifier?: string | undefined) => string;
|
92
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
93
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
94
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
95
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
96
|
+
is: {
|
97
|
+
(name: string, state: boolean | undefined): string;
|
98
|
+
(name: string): string;
|
99
|
+
};
|
100
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
101
|
+
cssVarName: (name: string) => string;
|
102
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
103
|
+
cssVarBlockName: (name: string) => string;
|
104
|
+
};
|
105
|
+
store: import('vue').Ref<{
|
106
|
+
currentNode: {
|
107
|
+
id: number;
|
108
|
+
text: string;
|
109
|
+
checked: boolean;
|
110
|
+
indeterminate: boolean;
|
111
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
112
|
+
expanded: boolean;
|
113
|
+
parent: any;
|
114
|
+
visible: boolean;
|
115
|
+
isCurrent: boolean;
|
116
|
+
store: any;
|
117
|
+
isLeafByUser: boolean;
|
118
|
+
isLeaf: boolean;
|
119
|
+
canFocus: boolean;
|
120
|
+
level: number;
|
121
|
+
loaded: boolean;
|
122
|
+
childNodes: any[];
|
123
|
+
loading: boolean;
|
124
|
+
initialize: () => void;
|
125
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
126
|
+
readonly label: string;
|
127
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
128
|
+
readonly disabled: boolean;
|
129
|
+
readonly nextSibling: any | null;
|
130
|
+
readonly previousSibling: any | null;
|
131
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
132
|
+
remove: () => void;
|
133
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
134
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
135
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
136
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
137
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
138
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
139
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
140
|
+
collapse: () => void;
|
141
|
+
shouldLoadData: () => boolean;
|
142
|
+
updateLeafState: () => void;
|
143
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
144
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
145
|
+
updateChildren: () => void;
|
146
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
147
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
148
|
+
reInitChecked: () => void;
|
149
|
+
};
|
150
|
+
currentNodeKey: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
151
|
+
nodesMap: import('element-plus/es/components/tree/src/tree.type.mjs').TreeStoreNodesMap;
|
152
|
+
root: {
|
153
|
+
id: number;
|
154
|
+
text: string;
|
155
|
+
checked: boolean;
|
156
|
+
indeterminate: boolean;
|
157
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
158
|
+
expanded: boolean;
|
159
|
+
parent: any;
|
160
|
+
visible: boolean;
|
161
|
+
isCurrent: boolean;
|
162
|
+
store: any;
|
163
|
+
isLeafByUser: boolean;
|
164
|
+
isLeaf: boolean;
|
165
|
+
canFocus: boolean;
|
166
|
+
level: number;
|
167
|
+
loaded: boolean;
|
168
|
+
childNodes: any[];
|
169
|
+
loading: boolean;
|
170
|
+
initialize: () => void;
|
171
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
172
|
+
readonly label: string;
|
173
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
174
|
+
readonly disabled: boolean;
|
175
|
+
readonly nextSibling: any | null;
|
176
|
+
readonly previousSibling: any | null;
|
177
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
178
|
+
remove: () => void;
|
179
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
180
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
181
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
182
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
183
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
184
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
185
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
186
|
+
collapse: () => void;
|
187
|
+
shouldLoadData: () => boolean;
|
188
|
+
updateLeafState: () => void;
|
189
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
190
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
191
|
+
updateChildren: () => void;
|
192
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
193
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
194
|
+
reInitChecked: () => void;
|
195
|
+
};
|
196
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
197
|
+
lazy: boolean;
|
198
|
+
load: import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction;
|
199
|
+
filterNodeMethod: import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction;
|
200
|
+
key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
201
|
+
defaultCheckedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
202
|
+
checkStrictly: boolean;
|
203
|
+
defaultExpandedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
204
|
+
autoExpandParent: boolean;
|
205
|
+
defaultExpandAll: boolean;
|
206
|
+
checkDescendants: boolean;
|
207
|
+
props: {
|
208
|
+
children?: string | undefined;
|
209
|
+
label?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => string) | undefined;
|
210
|
+
disabled?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => boolean) | undefined;
|
211
|
+
isLeaf?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => boolean) | undefined;
|
212
|
+
class?: ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => string | {
|
213
|
+
[key: string]: boolean;
|
214
|
+
}) | undefined;
|
215
|
+
};
|
216
|
+
initialize: () => void;
|
217
|
+
filter: (value: any) => void;
|
218
|
+
setData: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
219
|
+
getNode: (data: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
220
|
+
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
221
|
+
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
222
|
+
remove: (data: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
223
|
+
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
224
|
+
_initDefaultCheckedNodes: () => void;
|
225
|
+
_initDefaultCheckedNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
226
|
+
setDefaultCheckedKey: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
227
|
+
registerNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
228
|
+
deregisterNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
229
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
230
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
231
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
232
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
233
|
+
_getAllNodes: () => import('element-plus/es/components/tree/src/model/node.mjs').default[];
|
234
|
+
updateChildren: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
235
|
+
_setCheckedKeys: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, leafOnly: boolean | undefined, checkedKeys: {
|
236
|
+
[key: string]: boolean;
|
237
|
+
}) => void;
|
238
|
+
setCheckedNodes: (array: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
239
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
240
|
+
setDefaultExpandedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
241
|
+
setChecked: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, checked: boolean, deep: boolean) => void;
|
242
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
243
|
+
setCurrentNode: (currentNode: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
244
|
+
setUserCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
245
|
+
setCurrentNodeKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | undefined, shouldAutoExpandParent?: boolean) => void;
|
246
|
+
}>;
|
247
|
+
root: import('vue').Ref<{
|
248
|
+
id: number;
|
249
|
+
text: string;
|
250
|
+
checked: boolean;
|
251
|
+
indeterminate: boolean;
|
252
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
253
|
+
expanded: boolean;
|
254
|
+
parent: any;
|
255
|
+
visible: boolean;
|
256
|
+
isCurrent: boolean;
|
257
|
+
store: any;
|
258
|
+
isLeafByUser: boolean;
|
259
|
+
isLeaf: boolean;
|
260
|
+
canFocus: boolean;
|
261
|
+
level: number;
|
262
|
+
loaded: boolean;
|
263
|
+
childNodes: any[];
|
264
|
+
loading: boolean;
|
265
|
+
initialize: () => void;
|
266
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
267
|
+
readonly label: string;
|
268
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
269
|
+
readonly disabled: boolean;
|
270
|
+
readonly nextSibling: any | null;
|
271
|
+
readonly previousSibling: any | null;
|
272
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
273
|
+
remove: () => void;
|
274
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
275
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
276
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
277
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
278
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
279
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
280
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
281
|
+
collapse: () => void;
|
282
|
+
shouldLoadData: () => boolean;
|
283
|
+
updateLeafState: () => void;
|
284
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
285
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
286
|
+
updateChildren: () => void;
|
287
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
288
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
289
|
+
reInitChecked: () => void;
|
290
|
+
}>;
|
291
|
+
currentNode: import('vue').Ref<{
|
292
|
+
id: number;
|
293
|
+
text: string;
|
294
|
+
checked: boolean;
|
295
|
+
indeterminate: boolean;
|
296
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
297
|
+
expanded: boolean;
|
298
|
+
parent: any;
|
299
|
+
visible: boolean;
|
300
|
+
isCurrent: boolean;
|
301
|
+
store: any;
|
302
|
+
isLeafByUser: boolean;
|
303
|
+
isLeaf: boolean;
|
304
|
+
canFocus: boolean;
|
305
|
+
level: number;
|
306
|
+
loaded: boolean;
|
307
|
+
childNodes: any[];
|
308
|
+
loading: boolean;
|
309
|
+
initialize: () => void;
|
310
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
311
|
+
readonly label: string;
|
312
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
313
|
+
readonly disabled: boolean;
|
314
|
+
readonly nextSibling: any | null;
|
315
|
+
readonly previousSibling: any | null;
|
316
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
317
|
+
remove: () => void;
|
318
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
319
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
320
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
321
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
322
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
323
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
324
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
325
|
+
collapse: () => void;
|
326
|
+
shouldLoadData: () => boolean;
|
327
|
+
updateLeafState: () => void;
|
328
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
329
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
330
|
+
updateChildren: () => void;
|
331
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
332
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
333
|
+
reInitChecked: () => void;
|
334
|
+
}>;
|
335
|
+
dragState: import('vue').Ref<{
|
336
|
+
showDropIndicator: boolean;
|
337
|
+
draggingNode: null;
|
338
|
+
dropNode: null;
|
339
|
+
allowDrop: boolean;
|
340
|
+
dropType: null;
|
341
|
+
}>;
|
342
|
+
el$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
343
|
+
dropIndicator$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
344
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
345
|
+
filter: (value: any) => void;
|
346
|
+
getNodeKey: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => any;
|
347
|
+
getNodePath: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
348
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
349
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
350
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
351
|
+
getCurrentKey: () => any;
|
352
|
+
setCheckedNodes: (nodes: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
353
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
354
|
+
setChecked: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, checked: boolean, deep: boolean) => void;
|
355
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
356
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
357
|
+
setCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
358
|
+
setCurrentKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
359
|
+
t: import('element-plus').Translator;
|
360
|
+
getNode: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
361
|
+
remove: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
362
|
+
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
363
|
+
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
364
|
+
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
365
|
+
handleNodeExpand: (nodeData: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default, instance: import('vue').ComponentInternalInstance) => void;
|
366
|
+
updateKeyChildren: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
367
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("current-change" | "node-click" | "check" | "node-expand" | "check-change" | "node-contextmenu" | "node-collapse" | "node-drag-start" | "node-drag-end" | "node-drop" | "node-drag-leave" | "node-drag-enter" | "node-drag-over")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
368
|
+
data: {
|
369
|
+
type: ArrayConstructor;
|
370
|
+
default: () => never[];
|
371
|
+
};
|
372
|
+
emptyText: {
|
373
|
+
type: StringConstructor;
|
374
|
+
};
|
375
|
+
renderAfterExpand: {
|
376
|
+
type: BooleanConstructor;
|
377
|
+
default: boolean;
|
378
|
+
};
|
379
|
+
nodeKey: StringConstructor;
|
380
|
+
checkStrictly: BooleanConstructor;
|
381
|
+
defaultExpandAll: BooleanConstructor;
|
382
|
+
expandOnClickNode: {
|
383
|
+
type: BooleanConstructor;
|
384
|
+
default: boolean;
|
385
|
+
};
|
386
|
+
checkOnClickNode: BooleanConstructor;
|
387
|
+
checkDescendants: {
|
388
|
+
type: BooleanConstructor;
|
389
|
+
default: boolean;
|
390
|
+
};
|
391
|
+
autoExpandParent: {
|
392
|
+
type: BooleanConstructor;
|
393
|
+
default: boolean;
|
394
|
+
};
|
395
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
396
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
397
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
398
|
+
renderContent: FunctionConstructor;
|
399
|
+
showCheckbox: {
|
400
|
+
type: BooleanConstructor;
|
401
|
+
default: boolean;
|
402
|
+
};
|
403
|
+
draggable: {
|
404
|
+
type: BooleanConstructor;
|
405
|
+
default: boolean;
|
406
|
+
};
|
407
|
+
allowDrag: FunctionConstructor;
|
408
|
+
allowDrop: FunctionConstructor;
|
409
|
+
props: {
|
410
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
411
|
+
default: () => {
|
412
|
+
children: string;
|
413
|
+
label: string;
|
414
|
+
disabled: string;
|
415
|
+
};
|
416
|
+
};
|
417
|
+
lazy: {
|
418
|
+
type: BooleanConstructor;
|
419
|
+
default: boolean;
|
420
|
+
};
|
421
|
+
highlightCurrent: BooleanConstructor;
|
422
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
423
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
424
|
+
accordion: BooleanConstructor;
|
425
|
+
indent: {
|
426
|
+
type: NumberConstructor;
|
427
|
+
default: number;
|
428
|
+
};
|
429
|
+
icon: {
|
430
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
431
|
+
};
|
432
|
+
}>> & {
|
433
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
434
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
435
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
436
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
437
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
438
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
439
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
440
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
441
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
442
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
443
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
444
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
445
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
446
|
+
}, {
|
447
|
+
data: unknown[];
|
448
|
+
props: import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps;
|
449
|
+
checkStrictly: boolean;
|
450
|
+
lazy: boolean;
|
451
|
+
accordion: boolean;
|
452
|
+
draggable: boolean;
|
453
|
+
renderAfterExpand: boolean;
|
454
|
+
showCheckbox: boolean;
|
455
|
+
defaultExpandAll: boolean;
|
456
|
+
expandOnClickNode: boolean;
|
457
|
+
checkOnClickNode: boolean;
|
458
|
+
checkDescendants: boolean;
|
459
|
+
autoExpandParent: boolean;
|
460
|
+
highlightCurrent: boolean;
|
461
|
+
indent: number;
|
462
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
463
|
+
P: {};
|
464
|
+
B: {};
|
465
|
+
D: {};
|
466
|
+
C: {};
|
467
|
+
M: {};
|
468
|
+
Defaults: {};
|
469
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
470
|
+
data: {
|
471
|
+
type: ArrayConstructor;
|
472
|
+
default: () => never[];
|
473
|
+
};
|
474
|
+
emptyText: {
|
475
|
+
type: StringConstructor;
|
476
|
+
};
|
477
|
+
renderAfterExpand: {
|
478
|
+
type: BooleanConstructor;
|
479
|
+
default: boolean;
|
480
|
+
};
|
481
|
+
nodeKey: StringConstructor;
|
482
|
+
checkStrictly: BooleanConstructor;
|
483
|
+
defaultExpandAll: BooleanConstructor;
|
484
|
+
expandOnClickNode: {
|
485
|
+
type: BooleanConstructor;
|
486
|
+
default: boolean;
|
487
|
+
};
|
488
|
+
checkOnClickNode: BooleanConstructor;
|
489
|
+
checkDescendants: {
|
490
|
+
type: BooleanConstructor;
|
491
|
+
default: boolean;
|
492
|
+
};
|
493
|
+
autoExpandParent: {
|
494
|
+
type: BooleanConstructor;
|
495
|
+
default: boolean;
|
496
|
+
};
|
497
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
498
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
499
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
500
|
+
renderContent: FunctionConstructor;
|
501
|
+
showCheckbox: {
|
502
|
+
type: BooleanConstructor;
|
503
|
+
default: boolean;
|
504
|
+
};
|
505
|
+
draggable: {
|
506
|
+
type: BooleanConstructor;
|
507
|
+
default: boolean;
|
508
|
+
};
|
509
|
+
allowDrag: FunctionConstructor;
|
510
|
+
allowDrop: FunctionConstructor;
|
511
|
+
props: {
|
512
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
513
|
+
default: () => {
|
514
|
+
children: string;
|
515
|
+
label: string;
|
516
|
+
disabled: string;
|
517
|
+
};
|
518
|
+
};
|
519
|
+
lazy: {
|
520
|
+
type: BooleanConstructor;
|
521
|
+
default: boolean;
|
522
|
+
};
|
523
|
+
highlightCurrent: BooleanConstructor;
|
524
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
525
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
526
|
+
accordion: BooleanConstructor;
|
527
|
+
indent: {
|
528
|
+
type: NumberConstructor;
|
529
|
+
default: number;
|
530
|
+
};
|
531
|
+
icon: {
|
532
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
533
|
+
};
|
534
|
+
}>> & {
|
535
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
536
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
537
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
538
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
539
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
540
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
541
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
542
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
543
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
544
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
545
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
546
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
547
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
548
|
+
}, {
|
549
|
+
ns: {
|
550
|
+
namespace: import('vue').ComputedRef<string>;
|
551
|
+
b: (blockSuffix?: string) => string;
|
552
|
+
e: (element?: string | undefined) => string;
|
553
|
+
m: (modifier?: string | undefined) => string;
|
554
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
555
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
556
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
557
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
558
|
+
is: {
|
559
|
+
(name: string, state: boolean | undefined): string;
|
560
|
+
(name: string): string;
|
561
|
+
};
|
562
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
563
|
+
cssVarName: (name: string) => string;
|
564
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
565
|
+
cssVarBlockName: (name: string) => string;
|
566
|
+
};
|
567
|
+
store: import('vue').Ref<{
|
568
|
+
currentNode: {
|
569
|
+
id: number;
|
570
|
+
text: string;
|
571
|
+
checked: boolean;
|
572
|
+
indeterminate: boolean;
|
573
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
574
|
+
expanded: boolean;
|
575
|
+
parent: any;
|
576
|
+
visible: boolean;
|
577
|
+
isCurrent: boolean;
|
578
|
+
store: any;
|
579
|
+
isLeafByUser: boolean;
|
580
|
+
isLeaf: boolean;
|
581
|
+
canFocus: boolean;
|
582
|
+
level: number;
|
583
|
+
loaded: boolean;
|
584
|
+
childNodes: any[];
|
585
|
+
loading: boolean;
|
586
|
+
initialize: () => void;
|
587
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
588
|
+
readonly label: string;
|
589
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
590
|
+
readonly disabled: boolean;
|
591
|
+
readonly nextSibling: any | null;
|
592
|
+
readonly previousSibling: any | null;
|
593
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
594
|
+
remove: () => void;
|
595
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
596
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
597
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
598
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
599
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
600
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
601
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
602
|
+
collapse: () => void;
|
603
|
+
shouldLoadData: () => boolean;
|
604
|
+
updateLeafState: () => void;
|
605
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
606
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
607
|
+
updateChildren: () => void;
|
608
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
609
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
610
|
+
reInitChecked: () => void;
|
611
|
+
};
|
612
|
+
currentNodeKey: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
613
|
+
nodesMap: import('element-plus/es/components/tree/src/tree.type.mjs').TreeStoreNodesMap;
|
614
|
+
root: {
|
615
|
+
id: number;
|
616
|
+
text: string;
|
617
|
+
checked: boolean;
|
618
|
+
indeterminate: boolean;
|
619
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
620
|
+
expanded: boolean;
|
621
|
+
parent: any;
|
622
|
+
visible: boolean;
|
623
|
+
isCurrent: boolean;
|
624
|
+
store: any;
|
625
|
+
isLeafByUser: boolean;
|
626
|
+
isLeaf: boolean;
|
627
|
+
canFocus: boolean;
|
628
|
+
level: number;
|
629
|
+
loaded: boolean;
|
630
|
+
childNodes: any[];
|
631
|
+
loading: boolean;
|
632
|
+
initialize: () => void;
|
633
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
634
|
+
readonly label: string;
|
635
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
636
|
+
readonly disabled: boolean;
|
637
|
+
readonly nextSibling: any | null;
|
638
|
+
readonly previousSibling: any | null;
|
639
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
640
|
+
remove: () => void;
|
641
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
642
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
643
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
644
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
645
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
646
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
647
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
648
|
+
collapse: () => void;
|
649
|
+
shouldLoadData: () => boolean;
|
650
|
+
updateLeafState: () => void;
|
651
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
652
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
653
|
+
updateChildren: () => void;
|
654
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
655
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
656
|
+
reInitChecked: () => void;
|
657
|
+
};
|
658
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
659
|
+
lazy: boolean;
|
660
|
+
load: import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction;
|
661
|
+
filterNodeMethod: import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction;
|
662
|
+
key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
663
|
+
defaultCheckedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
664
|
+
checkStrictly: boolean;
|
665
|
+
defaultExpandedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
666
|
+
autoExpandParent: boolean;
|
667
|
+
defaultExpandAll: boolean;
|
668
|
+
checkDescendants: boolean;
|
669
|
+
props: {
|
670
|
+
children?: string | undefined;
|
671
|
+
label?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => string) | undefined;
|
672
|
+
disabled?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => boolean) | undefined;
|
673
|
+
isLeaf?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => boolean) | undefined;
|
674
|
+
class?: ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => string | {
|
675
|
+
[key: string]: boolean;
|
676
|
+
}) | undefined;
|
677
|
+
};
|
678
|
+
initialize: () => void;
|
679
|
+
filter: (value: any) => void;
|
680
|
+
setData: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
681
|
+
getNode: (data: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
682
|
+
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
683
|
+
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
684
|
+
remove: (data: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
685
|
+
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
686
|
+
_initDefaultCheckedNodes: () => void;
|
687
|
+
_initDefaultCheckedNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
688
|
+
setDefaultCheckedKey: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
689
|
+
registerNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
690
|
+
deregisterNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
691
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
692
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
693
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
694
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
695
|
+
_getAllNodes: () => import('element-plus/es/components/tree/src/model/node.mjs').default[];
|
696
|
+
updateChildren: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
697
|
+
_setCheckedKeys: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, leafOnly: boolean | undefined, checkedKeys: {
|
698
|
+
[key: string]: boolean;
|
699
|
+
}) => void;
|
700
|
+
setCheckedNodes: (array: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
701
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
702
|
+
setDefaultExpandedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
703
|
+
setChecked: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, checked: boolean, deep: boolean) => void;
|
704
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
705
|
+
setCurrentNode: (currentNode: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
706
|
+
setUserCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
707
|
+
setCurrentNodeKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | undefined, shouldAutoExpandParent?: boolean) => void;
|
708
|
+
}>;
|
709
|
+
root: import('vue').Ref<{
|
710
|
+
id: number;
|
711
|
+
text: string;
|
712
|
+
checked: boolean;
|
713
|
+
indeterminate: boolean;
|
714
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
715
|
+
expanded: boolean;
|
716
|
+
parent: any;
|
717
|
+
visible: boolean;
|
718
|
+
isCurrent: boolean;
|
719
|
+
store: any;
|
720
|
+
isLeafByUser: boolean;
|
721
|
+
isLeaf: boolean;
|
722
|
+
canFocus: boolean;
|
723
|
+
level: number;
|
724
|
+
loaded: boolean;
|
725
|
+
childNodes: any[];
|
726
|
+
loading: boolean;
|
727
|
+
initialize: () => void;
|
728
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
729
|
+
readonly label: string;
|
730
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
731
|
+
readonly disabled: boolean;
|
732
|
+
readonly nextSibling: any | null;
|
733
|
+
readonly previousSibling: any | null;
|
734
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
735
|
+
remove: () => void;
|
736
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
737
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
738
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
739
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
740
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
741
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
742
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
743
|
+
collapse: () => void;
|
744
|
+
shouldLoadData: () => boolean;
|
745
|
+
updateLeafState: () => void;
|
746
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
747
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
748
|
+
updateChildren: () => void;
|
749
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
750
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
751
|
+
reInitChecked: () => void;
|
752
|
+
}>;
|
753
|
+
currentNode: import('vue').Ref<{
|
754
|
+
id: number;
|
755
|
+
text: string;
|
756
|
+
checked: boolean;
|
757
|
+
indeterminate: boolean;
|
758
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
759
|
+
expanded: boolean;
|
760
|
+
parent: any;
|
761
|
+
visible: boolean;
|
762
|
+
isCurrent: boolean;
|
763
|
+
store: any;
|
764
|
+
isLeafByUser: boolean;
|
765
|
+
isLeaf: boolean;
|
766
|
+
canFocus: boolean;
|
767
|
+
level: number;
|
768
|
+
loaded: boolean;
|
769
|
+
childNodes: any[];
|
770
|
+
loading: boolean;
|
771
|
+
initialize: () => void;
|
772
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
773
|
+
readonly label: string;
|
774
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
775
|
+
readonly disabled: boolean;
|
776
|
+
readonly nextSibling: any | null;
|
777
|
+
readonly previousSibling: any | null;
|
778
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
779
|
+
remove: () => void;
|
780
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
781
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
782
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
783
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
784
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
785
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
786
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
787
|
+
collapse: () => void;
|
788
|
+
shouldLoadData: () => boolean;
|
789
|
+
updateLeafState: () => void;
|
790
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
791
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
792
|
+
updateChildren: () => void;
|
793
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
794
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
795
|
+
reInitChecked: () => void;
|
796
|
+
}>;
|
797
|
+
dragState: import('vue').Ref<{
|
798
|
+
showDropIndicator: boolean;
|
799
|
+
draggingNode: null;
|
800
|
+
dropNode: null;
|
801
|
+
allowDrop: boolean;
|
802
|
+
dropType: null;
|
803
|
+
}>;
|
804
|
+
el$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
805
|
+
dropIndicator$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
806
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
807
|
+
filter: (value: any) => void;
|
808
|
+
getNodeKey: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => any;
|
809
|
+
getNodePath: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
810
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
811
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
812
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
813
|
+
getCurrentKey: () => any;
|
814
|
+
setCheckedNodes: (nodes: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
815
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
816
|
+
setChecked: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, checked: boolean, deep: boolean) => void;
|
817
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
818
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
819
|
+
setCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
820
|
+
setCurrentKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
821
|
+
t: import('element-plus').Translator;
|
822
|
+
getNode: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
823
|
+
remove: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
824
|
+
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
825
|
+
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
826
|
+
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
827
|
+
handleNodeExpand: (nodeData: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default, instance: import('vue').ComponentInternalInstance) => void;
|
828
|
+
updateKeyChildren: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
829
|
+
}, {}, {}, {}, {
|
830
|
+
data: unknown[];
|
831
|
+
props: import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps;
|
832
|
+
checkStrictly: boolean;
|
833
|
+
lazy: boolean;
|
834
|
+
accordion: boolean;
|
835
|
+
draggable: boolean;
|
836
|
+
renderAfterExpand: boolean;
|
837
|
+
showCheckbox: boolean;
|
838
|
+
defaultExpandAll: boolean;
|
839
|
+
expandOnClickNode: boolean;
|
840
|
+
checkOnClickNode: boolean;
|
841
|
+
checkDescendants: boolean;
|
842
|
+
autoExpandParent: boolean;
|
843
|
+
highlightCurrent: boolean;
|
844
|
+
indent: number;
|
845
|
+
}> | null;
|
846
|
+
};
|
847
|
+
attrs: Partial<{}>;
|
848
|
+
};
|
849
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
850
|
+
declare const __VLS_component: import('vue').DefineComponent<TreeProps, {
|
851
|
+
filter: (value: any) => void;
|
852
|
+
getCheckedKeys: (leafOnly?: boolean) => import('./Tree').TreeKey[];
|
853
|
+
setCheckedKeys: (keys: import('./Tree').TreeKey[]) => void;
|
854
|
+
getCurrentKey: () => any;
|
855
|
+
setCurrentKey: (key?: import('./Tree').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
856
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
857
|
+
"current-change": (...args: any[]) => void;
|
858
|
+
"node-click": (...args: any[]) => void;
|
859
|
+
}, string, import('vue').PublicProps, Readonly<TreeProps> & Readonly<{
|
860
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
861
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
862
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
863
|
+
_tree: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
864
|
+
data: {
|
865
|
+
type: ArrayConstructor;
|
866
|
+
default: () => never[];
|
867
|
+
};
|
868
|
+
emptyText: {
|
869
|
+
type: StringConstructor;
|
870
|
+
};
|
871
|
+
renderAfterExpand: {
|
872
|
+
type: BooleanConstructor;
|
873
|
+
default: boolean;
|
874
|
+
};
|
875
|
+
nodeKey: StringConstructor;
|
876
|
+
checkStrictly: BooleanConstructor;
|
877
|
+
defaultExpandAll: BooleanConstructor;
|
878
|
+
expandOnClickNode: {
|
879
|
+
type: BooleanConstructor;
|
880
|
+
default: boolean;
|
881
|
+
};
|
882
|
+
checkOnClickNode: BooleanConstructor;
|
883
|
+
checkDescendants: {
|
884
|
+
type: BooleanConstructor;
|
885
|
+
default: boolean;
|
886
|
+
};
|
887
|
+
autoExpandParent: {
|
888
|
+
type: BooleanConstructor;
|
889
|
+
default: boolean;
|
890
|
+
};
|
891
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
892
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
893
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
894
|
+
renderContent: FunctionConstructor;
|
895
|
+
showCheckbox: {
|
896
|
+
type: BooleanConstructor;
|
897
|
+
default: boolean;
|
898
|
+
};
|
899
|
+
draggable: {
|
900
|
+
type: BooleanConstructor;
|
901
|
+
default: boolean;
|
902
|
+
};
|
903
|
+
allowDrag: FunctionConstructor;
|
904
|
+
allowDrop: FunctionConstructor;
|
905
|
+
props: {
|
906
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
907
|
+
default: () => {
|
908
|
+
children: string;
|
909
|
+
label: string;
|
910
|
+
disabled: string;
|
911
|
+
};
|
912
|
+
};
|
913
|
+
lazy: {
|
914
|
+
type: BooleanConstructor;
|
915
|
+
default: boolean;
|
916
|
+
};
|
917
|
+
highlightCurrent: BooleanConstructor;
|
918
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
919
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
920
|
+
accordion: BooleanConstructor;
|
921
|
+
indent: {
|
922
|
+
type: NumberConstructor;
|
923
|
+
default: number;
|
924
|
+
};
|
925
|
+
icon: {
|
926
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
927
|
+
};
|
928
|
+
}>> & {
|
929
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
930
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
931
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
932
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
933
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
934
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
935
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
936
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
937
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
938
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
939
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
940
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
941
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
942
|
+
}, {
|
943
|
+
ns: {
|
944
|
+
namespace: import('vue').ComputedRef<string>;
|
945
|
+
b: (blockSuffix?: string) => string;
|
946
|
+
e: (element?: string | undefined) => string;
|
947
|
+
m: (modifier?: string | undefined) => string;
|
948
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
949
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
950
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
951
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
952
|
+
is: {
|
953
|
+
(name: string, state: boolean | undefined): string;
|
954
|
+
(name: string): string;
|
955
|
+
};
|
956
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
957
|
+
cssVarName: (name: string) => string;
|
958
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
959
|
+
cssVarBlockName: (name: string) => string;
|
960
|
+
};
|
961
|
+
store: import('vue').Ref<{
|
962
|
+
currentNode: {
|
963
|
+
id: number;
|
964
|
+
text: string;
|
965
|
+
checked: boolean;
|
966
|
+
indeterminate: boolean;
|
967
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
968
|
+
expanded: boolean;
|
969
|
+
parent: any;
|
970
|
+
visible: boolean;
|
971
|
+
isCurrent: boolean;
|
972
|
+
store: any;
|
973
|
+
isLeafByUser: boolean;
|
974
|
+
isLeaf: boolean;
|
975
|
+
canFocus: boolean;
|
976
|
+
level: number;
|
977
|
+
loaded: boolean;
|
978
|
+
childNodes: any[];
|
979
|
+
loading: boolean;
|
980
|
+
initialize: () => void;
|
981
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
982
|
+
readonly label: string;
|
983
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
984
|
+
readonly disabled: boolean;
|
985
|
+
readonly nextSibling: any | null;
|
986
|
+
readonly previousSibling: any | null;
|
987
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
988
|
+
remove: () => void;
|
989
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
990
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
991
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
992
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
993
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
994
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
995
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
996
|
+
collapse: () => void;
|
997
|
+
shouldLoadData: () => boolean;
|
998
|
+
updateLeafState: () => void;
|
999
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
1000
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1001
|
+
updateChildren: () => void;
|
1002
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1003
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
1004
|
+
reInitChecked: () => void;
|
1005
|
+
};
|
1006
|
+
currentNodeKey: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1007
|
+
nodesMap: import('element-plus/es/components/tree/src/tree.type.mjs').TreeStoreNodesMap;
|
1008
|
+
root: {
|
1009
|
+
id: number;
|
1010
|
+
text: string;
|
1011
|
+
checked: boolean;
|
1012
|
+
indeterminate: boolean;
|
1013
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1014
|
+
expanded: boolean;
|
1015
|
+
parent: any;
|
1016
|
+
visible: boolean;
|
1017
|
+
isCurrent: boolean;
|
1018
|
+
store: any;
|
1019
|
+
isLeafByUser: boolean;
|
1020
|
+
isLeaf: boolean;
|
1021
|
+
canFocus: boolean;
|
1022
|
+
level: number;
|
1023
|
+
loaded: boolean;
|
1024
|
+
childNodes: any[];
|
1025
|
+
loading: boolean;
|
1026
|
+
initialize: () => void;
|
1027
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1028
|
+
readonly label: string;
|
1029
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1030
|
+
readonly disabled: boolean;
|
1031
|
+
readonly nextSibling: any | null;
|
1032
|
+
readonly previousSibling: any | null;
|
1033
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
1034
|
+
remove: () => void;
|
1035
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
1036
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1037
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1038
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1039
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1040
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
1041
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1042
|
+
collapse: () => void;
|
1043
|
+
shouldLoadData: () => boolean;
|
1044
|
+
updateLeafState: () => void;
|
1045
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
1046
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1047
|
+
updateChildren: () => void;
|
1048
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1049
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
1050
|
+
reInitChecked: () => void;
|
1051
|
+
};
|
1052
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1053
|
+
lazy: boolean;
|
1054
|
+
load: import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction;
|
1055
|
+
filterNodeMethod: import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction;
|
1056
|
+
key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1057
|
+
defaultCheckedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1058
|
+
checkStrictly: boolean;
|
1059
|
+
defaultExpandedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1060
|
+
autoExpandParent: boolean;
|
1061
|
+
defaultExpandAll: boolean;
|
1062
|
+
checkDescendants: boolean;
|
1063
|
+
props: {
|
1064
|
+
children?: string | undefined;
|
1065
|
+
label?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => string) | undefined;
|
1066
|
+
disabled?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => boolean) | undefined;
|
1067
|
+
isLeaf?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => boolean) | undefined;
|
1068
|
+
class?: ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => string | {
|
1069
|
+
[key: string]: boolean;
|
1070
|
+
}) | undefined;
|
1071
|
+
};
|
1072
|
+
initialize: () => void;
|
1073
|
+
filter: (value: any) => void;
|
1074
|
+
setData: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
1075
|
+
getNode: (data: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
1076
|
+
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
1077
|
+
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
1078
|
+
remove: (data: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1079
|
+
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
1080
|
+
_initDefaultCheckedNodes: () => void;
|
1081
|
+
_initDefaultCheckedNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1082
|
+
setDefaultCheckedKey: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
1083
|
+
registerNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1084
|
+
deregisterNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1085
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1086
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1087
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1088
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1089
|
+
_getAllNodes: () => import('element-plus/es/components/tree/src/model/node.mjs').default[];
|
1090
|
+
updateChildren: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
1091
|
+
_setCheckedKeys: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, leafOnly: boolean | undefined, checkedKeys: {
|
1092
|
+
[key: string]: boolean;
|
1093
|
+
}) => void;
|
1094
|
+
setCheckedNodes: (array: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
1095
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
1096
|
+
setDefaultExpandedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
1097
|
+
setChecked: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, checked: boolean, deep: boolean) => void;
|
1098
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
1099
|
+
setCurrentNode: (currentNode: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1100
|
+
setUserCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
1101
|
+
setCurrentNodeKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | undefined, shouldAutoExpandParent?: boolean) => void;
|
1102
|
+
}>;
|
1103
|
+
root: import('vue').Ref<{
|
1104
|
+
id: number;
|
1105
|
+
text: string;
|
1106
|
+
checked: boolean;
|
1107
|
+
indeterminate: boolean;
|
1108
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1109
|
+
expanded: boolean;
|
1110
|
+
parent: any;
|
1111
|
+
visible: boolean;
|
1112
|
+
isCurrent: boolean;
|
1113
|
+
store: any;
|
1114
|
+
isLeafByUser: boolean;
|
1115
|
+
isLeaf: boolean;
|
1116
|
+
canFocus: boolean;
|
1117
|
+
level: number;
|
1118
|
+
loaded: boolean;
|
1119
|
+
childNodes: any[];
|
1120
|
+
loading: boolean;
|
1121
|
+
initialize: () => void;
|
1122
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1123
|
+
readonly label: string;
|
1124
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1125
|
+
readonly disabled: boolean;
|
1126
|
+
readonly nextSibling: any | null;
|
1127
|
+
readonly previousSibling: any | null;
|
1128
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
1129
|
+
remove: () => void;
|
1130
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
1131
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1132
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1133
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1134
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1135
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
1136
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1137
|
+
collapse: () => void;
|
1138
|
+
shouldLoadData: () => boolean;
|
1139
|
+
updateLeafState: () => void;
|
1140
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
1141
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1142
|
+
updateChildren: () => void;
|
1143
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1144
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
1145
|
+
reInitChecked: () => void;
|
1146
|
+
}>;
|
1147
|
+
currentNode: import('vue').Ref<{
|
1148
|
+
id: number;
|
1149
|
+
text: string;
|
1150
|
+
checked: boolean;
|
1151
|
+
indeterminate: boolean;
|
1152
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1153
|
+
expanded: boolean;
|
1154
|
+
parent: any;
|
1155
|
+
visible: boolean;
|
1156
|
+
isCurrent: boolean;
|
1157
|
+
store: any;
|
1158
|
+
isLeafByUser: boolean;
|
1159
|
+
isLeaf: boolean;
|
1160
|
+
canFocus: boolean;
|
1161
|
+
level: number;
|
1162
|
+
loaded: boolean;
|
1163
|
+
childNodes: any[];
|
1164
|
+
loading: boolean;
|
1165
|
+
initialize: () => void;
|
1166
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1167
|
+
readonly label: string;
|
1168
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1169
|
+
readonly disabled: boolean;
|
1170
|
+
readonly nextSibling: any | null;
|
1171
|
+
readonly previousSibling: any | null;
|
1172
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
1173
|
+
remove: () => void;
|
1174
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
1175
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1176
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1177
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1178
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1179
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
1180
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1181
|
+
collapse: () => void;
|
1182
|
+
shouldLoadData: () => boolean;
|
1183
|
+
updateLeafState: () => void;
|
1184
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
1185
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1186
|
+
updateChildren: () => void;
|
1187
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1188
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
1189
|
+
reInitChecked: () => void;
|
1190
|
+
}>;
|
1191
|
+
dragState: import('vue').Ref<{
|
1192
|
+
showDropIndicator: boolean;
|
1193
|
+
draggingNode: null;
|
1194
|
+
dropNode: null;
|
1195
|
+
allowDrop: boolean;
|
1196
|
+
dropType: null;
|
1197
|
+
}>;
|
1198
|
+
el$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
1199
|
+
dropIndicator$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
1200
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
1201
|
+
filter: (value: any) => void;
|
1202
|
+
getNodeKey: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => any;
|
1203
|
+
getNodePath: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1204
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1205
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1206
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1207
|
+
getCurrentKey: () => any;
|
1208
|
+
setCheckedNodes: (nodes: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
1209
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
1210
|
+
setChecked: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, checked: boolean, deep: boolean) => void;
|
1211
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1212
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1213
|
+
setCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
1214
|
+
setCurrentKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
1215
|
+
t: import('element-plus').Translator;
|
1216
|
+
getNode: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
1217
|
+
remove: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1218
|
+
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1219
|
+
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1220
|
+
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1221
|
+
handleNodeExpand: (nodeData: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default, instance: import('vue').ComponentInternalInstance) => void;
|
1222
|
+
updateKeyChildren: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
1223
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("current-change" | "node-click" | "check" | "node-expand" | "check-change" | "node-contextmenu" | "node-collapse" | "node-drag-start" | "node-drag-end" | "node-drop" | "node-drag-leave" | "node-drag-enter" | "node-drag-over")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
1224
|
+
data: {
|
1225
|
+
type: ArrayConstructor;
|
1226
|
+
default: () => never[];
|
1227
|
+
};
|
1228
|
+
emptyText: {
|
1229
|
+
type: StringConstructor;
|
1230
|
+
};
|
1231
|
+
renderAfterExpand: {
|
1232
|
+
type: BooleanConstructor;
|
1233
|
+
default: boolean;
|
1234
|
+
};
|
1235
|
+
nodeKey: StringConstructor;
|
1236
|
+
checkStrictly: BooleanConstructor;
|
1237
|
+
defaultExpandAll: BooleanConstructor;
|
1238
|
+
expandOnClickNode: {
|
1239
|
+
type: BooleanConstructor;
|
1240
|
+
default: boolean;
|
1241
|
+
};
|
1242
|
+
checkOnClickNode: BooleanConstructor;
|
1243
|
+
checkDescendants: {
|
1244
|
+
type: BooleanConstructor;
|
1245
|
+
default: boolean;
|
1246
|
+
};
|
1247
|
+
autoExpandParent: {
|
1248
|
+
type: BooleanConstructor;
|
1249
|
+
default: boolean;
|
1250
|
+
};
|
1251
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
1252
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
1253
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
1254
|
+
renderContent: FunctionConstructor;
|
1255
|
+
showCheckbox: {
|
1256
|
+
type: BooleanConstructor;
|
1257
|
+
default: boolean;
|
1258
|
+
};
|
1259
|
+
draggable: {
|
1260
|
+
type: BooleanConstructor;
|
1261
|
+
default: boolean;
|
1262
|
+
};
|
1263
|
+
allowDrag: FunctionConstructor;
|
1264
|
+
allowDrop: FunctionConstructor;
|
1265
|
+
props: {
|
1266
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
1267
|
+
default: () => {
|
1268
|
+
children: string;
|
1269
|
+
label: string;
|
1270
|
+
disabled: string;
|
1271
|
+
};
|
1272
|
+
};
|
1273
|
+
lazy: {
|
1274
|
+
type: BooleanConstructor;
|
1275
|
+
default: boolean;
|
1276
|
+
};
|
1277
|
+
highlightCurrent: BooleanConstructor;
|
1278
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
1279
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
1280
|
+
accordion: BooleanConstructor;
|
1281
|
+
indent: {
|
1282
|
+
type: NumberConstructor;
|
1283
|
+
default: number;
|
1284
|
+
};
|
1285
|
+
icon: {
|
1286
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
1287
|
+
};
|
1288
|
+
}>> & {
|
1289
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
1290
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
1291
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
1292
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
1293
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
1294
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
1295
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
1296
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
1297
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
1298
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
1299
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
1300
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
1301
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
1302
|
+
}, {
|
1303
|
+
data: unknown[];
|
1304
|
+
props: import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps;
|
1305
|
+
checkStrictly: boolean;
|
1306
|
+
lazy: boolean;
|
1307
|
+
accordion: boolean;
|
1308
|
+
draggable: boolean;
|
1309
|
+
renderAfterExpand: boolean;
|
1310
|
+
showCheckbox: boolean;
|
1311
|
+
defaultExpandAll: boolean;
|
1312
|
+
expandOnClickNode: boolean;
|
1313
|
+
checkOnClickNode: boolean;
|
1314
|
+
checkDescendants: boolean;
|
1315
|
+
autoExpandParent: boolean;
|
1316
|
+
highlightCurrent: boolean;
|
1317
|
+
indent: number;
|
1318
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
1319
|
+
P: {};
|
1320
|
+
B: {};
|
1321
|
+
D: {};
|
1322
|
+
C: {};
|
1323
|
+
M: {};
|
1324
|
+
Defaults: {};
|
1325
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
1326
|
+
data: {
|
1327
|
+
type: ArrayConstructor;
|
1328
|
+
default: () => never[];
|
1329
|
+
};
|
1330
|
+
emptyText: {
|
1331
|
+
type: StringConstructor;
|
1332
|
+
};
|
1333
|
+
renderAfterExpand: {
|
1334
|
+
type: BooleanConstructor;
|
1335
|
+
default: boolean;
|
1336
|
+
};
|
1337
|
+
nodeKey: StringConstructor;
|
1338
|
+
checkStrictly: BooleanConstructor;
|
1339
|
+
defaultExpandAll: BooleanConstructor;
|
1340
|
+
expandOnClickNode: {
|
1341
|
+
type: BooleanConstructor;
|
1342
|
+
default: boolean;
|
1343
|
+
};
|
1344
|
+
checkOnClickNode: BooleanConstructor;
|
1345
|
+
checkDescendants: {
|
1346
|
+
type: BooleanConstructor;
|
1347
|
+
default: boolean;
|
1348
|
+
};
|
1349
|
+
autoExpandParent: {
|
1350
|
+
type: BooleanConstructor;
|
1351
|
+
default: boolean;
|
1352
|
+
};
|
1353
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
1354
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
1355
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
1356
|
+
renderContent: FunctionConstructor;
|
1357
|
+
showCheckbox: {
|
1358
|
+
type: BooleanConstructor;
|
1359
|
+
default: boolean;
|
1360
|
+
};
|
1361
|
+
draggable: {
|
1362
|
+
type: BooleanConstructor;
|
1363
|
+
default: boolean;
|
1364
|
+
};
|
1365
|
+
allowDrag: FunctionConstructor;
|
1366
|
+
allowDrop: FunctionConstructor;
|
1367
|
+
props: {
|
1368
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
1369
|
+
default: () => {
|
1370
|
+
children: string;
|
1371
|
+
label: string;
|
1372
|
+
disabled: string;
|
1373
|
+
};
|
1374
|
+
};
|
1375
|
+
lazy: {
|
1376
|
+
type: BooleanConstructor;
|
1377
|
+
default: boolean;
|
1378
|
+
};
|
1379
|
+
highlightCurrent: BooleanConstructor;
|
1380
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
1381
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
1382
|
+
accordion: BooleanConstructor;
|
1383
|
+
indent: {
|
1384
|
+
type: NumberConstructor;
|
1385
|
+
default: number;
|
1386
|
+
};
|
1387
|
+
icon: {
|
1388
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
1389
|
+
};
|
1390
|
+
}>> & {
|
1391
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
1392
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
1393
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
1394
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
1395
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
1396
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
1397
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
1398
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
1399
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
1400
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
1401
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
1402
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
1403
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
1404
|
+
}, {
|
1405
|
+
ns: {
|
1406
|
+
namespace: import('vue').ComputedRef<string>;
|
1407
|
+
b: (blockSuffix?: string) => string;
|
1408
|
+
e: (element?: string | undefined) => string;
|
1409
|
+
m: (modifier?: string | undefined) => string;
|
1410
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
1411
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
1412
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
1413
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
1414
|
+
is: {
|
1415
|
+
(name: string, state: boolean | undefined): string;
|
1416
|
+
(name: string): string;
|
1417
|
+
};
|
1418
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
1419
|
+
cssVarName: (name: string) => string;
|
1420
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
1421
|
+
cssVarBlockName: (name: string) => string;
|
1422
|
+
};
|
1423
|
+
store: import('vue').Ref<{
|
1424
|
+
currentNode: {
|
1425
|
+
id: number;
|
1426
|
+
text: string;
|
1427
|
+
checked: boolean;
|
1428
|
+
indeterminate: boolean;
|
1429
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1430
|
+
expanded: boolean;
|
1431
|
+
parent: any;
|
1432
|
+
visible: boolean;
|
1433
|
+
isCurrent: boolean;
|
1434
|
+
store: any;
|
1435
|
+
isLeafByUser: boolean;
|
1436
|
+
isLeaf: boolean;
|
1437
|
+
canFocus: boolean;
|
1438
|
+
level: number;
|
1439
|
+
loaded: boolean;
|
1440
|
+
childNodes: any[];
|
1441
|
+
loading: boolean;
|
1442
|
+
initialize: () => void;
|
1443
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1444
|
+
readonly label: string;
|
1445
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1446
|
+
readonly disabled: boolean;
|
1447
|
+
readonly nextSibling: any | null;
|
1448
|
+
readonly previousSibling: any | null;
|
1449
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
1450
|
+
remove: () => void;
|
1451
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
1452
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1453
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1454
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1455
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1456
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
1457
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1458
|
+
collapse: () => void;
|
1459
|
+
shouldLoadData: () => boolean;
|
1460
|
+
updateLeafState: () => void;
|
1461
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
1462
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1463
|
+
updateChildren: () => void;
|
1464
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1465
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
1466
|
+
reInitChecked: () => void;
|
1467
|
+
};
|
1468
|
+
currentNodeKey: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1469
|
+
nodesMap: import('element-plus/es/components/tree/src/tree.type.mjs').TreeStoreNodesMap;
|
1470
|
+
root: {
|
1471
|
+
id: number;
|
1472
|
+
text: string;
|
1473
|
+
checked: boolean;
|
1474
|
+
indeterminate: boolean;
|
1475
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1476
|
+
expanded: boolean;
|
1477
|
+
parent: any;
|
1478
|
+
visible: boolean;
|
1479
|
+
isCurrent: boolean;
|
1480
|
+
store: any;
|
1481
|
+
isLeafByUser: boolean;
|
1482
|
+
isLeaf: boolean;
|
1483
|
+
canFocus: boolean;
|
1484
|
+
level: number;
|
1485
|
+
loaded: boolean;
|
1486
|
+
childNodes: any[];
|
1487
|
+
loading: boolean;
|
1488
|
+
initialize: () => void;
|
1489
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1490
|
+
readonly label: string;
|
1491
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1492
|
+
readonly disabled: boolean;
|
1493
|
+
readonly nextSibling: any | null;
|
1494
|
+
readonly previousSibling: any | null;
|
1495
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
1496
|
+
remove: () => void;
|
1497
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
1498
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1499
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1500
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1501
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1502
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
1503
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1504
|
+
collapse: () => void;
|
1505
|
+
shouldLoadData: () => boolean;
|
1506
|
+
updateLeafState: () => void;
|
1507
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
1508
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1509
|
+
updateChildren: () => void;
|
1510
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1511
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
1512
|
+
reInitChecked: () => void;
|
1513
|
+
};
|
1514
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1515
|
+
lazy: boolean;
|
1516
|
+
load: import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction;
|
1517
|
+
filterNodeMethod: import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction;
|
1518
|
+
key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1519
|
+
defaultCheckedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1520
|
+
checkStrictly: boolean;
|
1521
|
+
defaultExpandedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1522
|
+
autoExpandParent: boolean;
|
1523
|
+
defaultExpandAll: boolean;
|
1524
|
+
checkDescendants: boolean;
|
1525
|
+
props: {
|
1526
|
+
children?: string | undefined;
|
1527
|
+
label?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => string) | undefined;
|
1528
|
+
disabled?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => boolean) | undefined;
|
1529
|
+
isLeaf?: string | ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => boolean) | undefined;
|
1530
|
+
class?: ((data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default) => string | {
|
1531
|
+
[key: string]: boolean;
|
1532
|
+
}) | undefined;
|
1533
|
+
};
|
1534
|
+
initialize: () => void;
|
1535
|
+
filter: (value: any) => void;
|
1536
|
+
setData: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
1537
|
+
getNode: (data: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
1538
|
+
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
1539
|
+
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
1540
|
+
remove: (data: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1541
|
+
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentData: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey) => void;
|
1542
|
+
_initDefaultCheckedNodes: () => void;
|
1543
|
+
_initDefaultCheckedNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1544
|
+
setDefaultCheckedKey: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
1545
|
+
registerNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1546
|
+
deregisterNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1547
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1548
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1549
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1550
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1551
|
+
_getAllNodes: () => import('element-plus/es/components/tree/src/model/node.mjs').default[];
|
1552
|
+
updateChildren: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
1553
|
+
_setCheckedKeys: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, leafOnly: boolean | undefined, checkedKeys: {
|
1554
|
+
[key: string]: boolean;
|
1555
|
+
}) => void;
|
1556
|
+
setCheckedNodes: (array: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
1557
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
1558
|
+
setDefaultExpandedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
1559
|
+
setChecked: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, checked: boolean, deep: boolean) => void;
|
1560
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
1561
|
+
setCurrentNode: (currentNode: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1562
|
+
setUserCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
1563
|
+
setCurrentNodeKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | undefined, shouldAutoExpandParent?: boolean) => void;
|
1564
|
+
}>;
|
1565
|
+
root: import('vue').Ref<{
|
1566
|
+
id: number;
|
1567
|
+
text: string;
|
1568
|
+
checked: boolean;
|
1569
|
+
indeterminate: boolean;
|
1570
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1571
|
+
expanded: boolean;
|
1572
|
+
parent: any;
|
1573
|
+
visible: boolean;
|
1574
|
+
isCurrent: boolean;
|
1575
|
+
store: any;
|
1576
|
+
isLeafByUser: boolean;
|
1577
|
+
isLeaf: boolean;
|
1578
|
+
canFocus: boolean;
|
1579
|
+
level: number;
|
1580
|
+
loaded: boolean;
|
1581
|
+
childNodes: any[];
|
1582
|
+
loading: boolean;
|
1583
|
+
initialize: () => void;
|
1584
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1585
|
+
readonly label: string;
|
1586
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1587
|
+
readonly disabled: boolean;
|
1588
|
+
readonly nextSibling: any | null;
|
1589
|
+
readonly previousSibling: any | null;
|
1590
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
1591
|
+
remove: () => void;
|
1592
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
1593
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1594
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1595
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1596
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1597
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
1598
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1599
|
+
collapse: () => void;
|
1600
|
+
shouldLoadData: () => boolean;
|
1601
|
+
updateLeafState: () => void;
|
1602
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
1603
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1604
|
+
updateChildren: () => void;
|
1605
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1606
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
1607
|
+
reInitChecked: () => void;
|
1608
|
+
}>;
|
1609
|
+
currentNode: import('vue').Ref<{
|
1610
|
+
id: number;
|
1611
|
+
text: string;
|
1612
|
+
checked: boolean;
|
1613
|
+
indeterminate: boolean;
|
1614
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1615
|
+
expanded: boolean;
|
1616
|
+
parent: any;
|
1617
|
+
visible: boolean;
|
1618
|
+
isCurrent: boolean;
|
1619
|
+
store: any;
|
1620
|
+
isLeafByUser: boolean;
|
1621
|
+
isLeaf: boolean;
|
1622
|
+
canFocus: boolean;
|
1623
|
+
level: number;
|
1624
|
+
loaded: boolean;
|
1625
|
+
childNodes: any[];
|
1626
|
+
loading: boolean;
|
1627
|
+
initialize: () => void;
|
1628
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1629
|
+
readonly label: string;
|
1630
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
1631
|
+
readonly disabled: boolean;
|
1632
|
+
readonly nextSibling: any | null;
|
1633
|
+
readonly previousSibling: any | null;
|
1634
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
1635
|
+
remove: () => void;
|
1636
|
+
insertChild: (child?: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode | undefined, index?: number | undefined, batch?: boolean | undefined) => void;
|
1637
|
+
insertBefore: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1638
|
+
insertAfter: (child: import('element-plus/es/components/tree/src/model/node.mjs').default | import('element-plus/es/components/tree/src/tree.type.mjs').FakeNode, ref: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1639
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1640
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
1641
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
1642
|
+
doCreateChildren: (array: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[], defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1643
|
+
collapse: () => void;
|
1644
|
+
shouldLoadData: () => boolean;
|
1645
|
+
updateLeafState: () => void;
|
1646
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
1647
|
+
getChildren: (forceInit?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1648
|
+
updateChildren: () => void;
|
1649
|
+
loadData: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void, defaultProps?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeLoadedDefaultProps) => void;
|
1650
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
1651
|
+
reInitChecked: () => void;
|
1652
|
+
}>;
|
1653
|
+
dragState: import('vue').Ref<{
|
1654
|
+
showDropIndicator: boolean;
|
1655
|
+
draggingNode: null;
|
1656
|
+
dropNode: null;
|
1657
|
+
allowDrop: boolean;
|
1658
|
+
dropType: null;
|
1659
|
+
}>;
|
1660
|
+
el$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
1661
|
+
dropIndicator$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
1662
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
1663
|
+
filter: (value: any) => void;
|
1664
|
+
getNodeKey: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => any;
|
1665
|
+
getNodePath: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1666
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1667
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1668
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
1669
|
+
getCurrentKey: () => any;
|
1670
|
+
setCheckedNodes: (nodes: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
1671
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
1672
|
+
setChecked: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, checked: boolean, deep: boolean) => void;
|
1673
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
1674
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
1675
|
+
setCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
1676
|
+
setCurrentKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
1677
|
+
t: import('element-plus').Translator;
|
1678
|
+
getNode: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
1679
|
+
remove: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1680
|
+
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1681
|
+
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1682
|
+
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refNode: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData | import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
1683
|
+
handleNodeExpand: (nodeData: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, node: import('element-plus/es/components/tree/src/model/node.mjs').default, instance: import('vue').ComponentInternalInstance) => void;
|
1684
|
+
updateKeyChildren: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
1685
|
+
}, {}, {}, {}, {
|
1686
|
+
data: unknown[];
|
1687
|
+
props: import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps;
|
1688
|
+
checkStrictly: boolean;
|
1689
|
+
lazy: boolean;
|
1690
|
+
accordion: boolean;
|
1691
|
+
draggable: boolean;
|
1692
|
+
renderAfterExpand: boolean;
|
1693
|
+
showCheckbox: boolean;
|
1694
|
+
defaultExpandAll: boolean;
|
1695
|
+
expandOnClickNode: boolean;
|
1696
|
+
checkOnClickNode: boolean;
|
1697
|
+
checkDescendants: boolean;
|
1698
|
+
autoExpandParent: boolean;
|
1699
|
+
highlightCurrent: boolean;
|
1700
|
+
indent: number;
|
1701
|
+
}> | null;
|
1702
|
+
}, any>;
|
1703
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
1704
|
+
export default _default;
|
1705
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
1706
|
+
new (): {
|
1707
|
+
$slots: S;
|
1708
|
+
};
|
1709
|
+
};
|