orion-design 0.1.42 → 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/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
@@ -1 +1,899 @@
|
|
1
|
-
|
1
|
+
import { TransformOptions, TreeData } from './Tree';
|
2
|
+
export declare const OTree: import('../_util').SFCWithInstall<{
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Tree').TreeProps> & Readonly<{
|
4
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
5
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
6
|
+
}>, {
|
7
|
+
filter: (value: any) => void;
|
8
|
+
getCheckedKeys: (leafOnly?: boolean) => import('./Tree').TreeKey[];
|
9
|
+
setCheckedKeys: (keys: import('./Tree').TreeKey[]) => void;
|
10
|
+
getCurrentKey: () => any;
|
11
|
+
setCurrentKey: (key?: import('./Tree').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
13
|
+
"current-change": (...args: any[]) => void;
|
14
|
+
"node-click": (...args: any[]) => void;
|
15
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('./Tree').TreeProps> & Readonly<{
|
16
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
17
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
18
|
+
}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
19
|
+
_tree: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
20
|
+
data: {
|
21
|
+
type: ArrayConstructor;
|
22
|
+
default: () => never[];
|
23
|
+
};
|
24
|
+
emptyText: {
|
25
|
+
type: StringConstructor;
|
26
|
+
};
|
27
|
+
renderAfterExpand: {
|
28
|
+
type: BooleanConstructor;
|
29
|
+
default: boolean;
|
30
|
+
};
|
31
|
+
nodeKey: StringConstructor;
|
32
|
+
checkStrictly: BooleanConstructor;
|
33
|
+
defaultExpandAll: BooleanConstructor;
|
34
|
+
expandOnClickNode: {
|
35
|
+
type: BooleanConstructor;
|
36
|
+
default: boolean;
|
37
|
+
};
|
38
|
+
checkOnClickNode: BooleanConstructor;
|
39
|
+
checkDescendants: {
|
40
|
+
type: BooleanConstructor;
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
autoExpandParent: {
|
44
|
+
type: BooleanConstructor;
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
48
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
49
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
50
|
+
renderContent: FunctionConstructor;
|
51
|
+
showCheckbox: {
|
52
|
+
type: BooleanConstructor;
|
53
|
+
default: boolean;
|
54
|
+
};
|
55
|
+
draggable: {
|
56
|
+
type: BooleanConstructor;
|
57
|
+
default: boolean;
|
58
|
+
};
|
59
|
+
allowDrag: FunctionConstructor;
|
60
|
+
allowDrop: FunctionConstructor;
|
61
|
+
props: {
|
62
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
63
|
+
default: () => {
|
64
|
+
children: string;
|
65
|
+
label: string;
|
66
|
+
disabled: string;
|
67
|
+
};
|
68
|
+
};
|
69
|
+
lazy: {
|
70
|
+
type: BooleanConstructor;
|
71
|
+
default: boolean;
|
72
|
+
};
|
73
|
+
highlightCurrent: BooleanConstructor;
|
74
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
75
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
76
|
+
accordion: BooleanConstructor;
|
77
|
+
indent: {
|
78
|
+
type: NumberConstructor;
|
79
|
+
default: number;
|
80
|
+
};
|
81
|
+
icon: {
|
82
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
83
|
+
};
|
84
|
+
}>> & {
|
85
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
86
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
87
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
88
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
89
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
90
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
91
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
92
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
93
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
94
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
95
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
96
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
97
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
98
|
+
}, {
|
99
|
+
ns: {
|
100
|
+
namespace: import('vue').ComputedRef<string>;
|
101
|
+
b: (blockSuffix?: string) => string;
|
102
|
+
e: (element?: string | undefined) => string;
|
103
|
+
m: (modifier?: string | undefined) => string;
|
104
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
105
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
106
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
107
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
108
|
+
is: {
|
109
|
+
(name: string, state: boolean | undefined): string;
|
110
|
+
(name: string): string;
|
111
|
+
};
|
112
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
113
|
+
cssVarName: (name: string) => string;
|
114
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
115
|
+
cssVarBlockName: (name: string) => string;
|
116
|
+
};
|
117
|
+
store: import('vue').Ref<{
|
118
|
+
currentNode: {
|
119
|
+
id: number;
|
120
|
+
text: string;
|
121
|
+
checked: boolean;
|
122
|
+
indeterminate: boolean;
|
123
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
124
|
+
expanded: boolean;
|
125
|
+
parent: any;
|
126
|
+
visible: boolean;
|
127
|
+
isCurrent: boolean;
|
128
|
+
store: any;
|
129
|
+
isLeafByUser: boolean;
|
130
|
+
isLeaf: boolean;
|
131
|
+
canFocus: boolean;
|
132
|
+
level: number;
|
133
|
+
loaded: boolean;
|
134
|
+
childNodes: any[];
|
135
|
+
loading: boolean;
|
136
|
+
initialize: () => void;
|
137
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
138
|
+
readonly label: string;
|
139
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
140
|
+
readonly disabled: boolean;
|
141
|
+
readonly nextSibling: any | null;
|
142
|
+
readonly previousSibling: any | null;
|
143
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
144
|
+
remove: () => void;
|
145
|
+
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;
|
146
|
+
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;
|
147
|
+
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;
|
148
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
149
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
150
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
151
|
+
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;
|
152
|
+
collapse: () => void;
|
153
|
+
shouldLoadData: () => boolean;
|
154
|
+
updateLeafState: () => void;
|
155
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
156
|
+
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[];
|
157
|
+
updateChildren: () => void;
|
158
|
+
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;
|
159
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
160
|
+
reInitChecked: () => void;
|
161
|
+
};
|
162
|
+
currentNodeKey: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
163
|
+
nodesMap: import('element-plus/es/components/tree/src/tree.type.mjs').TreeStoreNodesMap;
|
164
|
+
root: {
|
165
|
+
id: number;
|
166
|
+
text: string;
|
167
|
+
checked: boolean;
|
168
|
+
indeterminate: boolean;
|
169
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
170
|
+
expanded: boolean;
|
171
|
+
parent: any;
|
172
|
+
visible: boolean;
|
173
|
+
isCurrent: boolean;
|
174
|
+
store: any;
|
175
|
+
isLeafByUser: boolean;
|
176
|
+
isLeaf: boolean;
|
177
|
+
canFocus: boolean;
|
178
|
+
level: number;
|
179
|
+
loaded: boolean;
|
180
|
+
childNodes: any[];
|
181
|
+
loading: boolean;
|
182
|
+
initialize: () => void;
|
183
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
184
|
+
readonly label: string;
|
185
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
186
|
+
readonly disabled: boolean;
|
187
|
+
readonly nextSibling: any | null;
|
188
|
+
readonly previousSibling: any | null;
|
189
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
190
|
+
remove: () => void;
|
191
|
+
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;
|
192
|
+
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;
|
193
|
+
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;
|
194
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
195
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
196
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
197
|
+
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;
|
198
|
+
collapse: () => void;
|
199
|
+
shouldLoadData: () => boolean;
|
200
|
+
updateLeafState: () => void;
|
201
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
202
|
+
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[];
|
203
|
+
updateChildren: () => void;
|
204
|
+
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;
|
205
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
206
|
+
reInitChecked: () => void;
|
207
|
+
};
|
208
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
209
|
+
lazy: boolean;
|
210
|
+
load: import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction;
|
211
|
+
filterNodeMethod: import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction;
|
212
|
+
key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
213
|
+
defaultCheckedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
214
|
+
checkStrictly: boolean;
|
215
|
+
defaultExpandedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
216
|
+
autoExpandParent: boolean;
|
217
|
+
defaultExpandAll: boolean;
|
218
|
+
checkDescendants: boolean;
|
219
|
+
props: {
|
220
|
+
children?: string | undefined;
|
221
|
+
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;
|
222
|
+
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;
|
223
|
+
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;
|
224
|
+
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 | {
|
225
|
+
[key: string]: boolean;
|
226
|
+
}) | undefined;
|
227
|
+
};
|
228
|
+
initialize: () => void;
|
229
|
+
filter: (value: any) => void;
|
230
|
+
setData: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
231
|
+
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;
|
232
|
+
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;
|
233
|
+
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;
|
234
|
+
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;
|
235
|
+
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;
|
236
|
+
_initDefaultCheckedNodes: () => void;
|
237
|
+
_initDefaultCheckedNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
238
|
+
setDefaultCheckedKey: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
239
|
+
registerNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
240
|
+
deregisterNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
241
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
242
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
243
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
244
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
245
|
+
_getAllNodes: () => import('element-plus/es/components/tree/src/model/node.mjs').default[];
|
246
|
+
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;
|
247
|
+
_setCheckedKeys: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, leafOnly: boolean | undefined, checkedKeys: {
|
248
|
+
[key: string]: boolean;
|
249
|
+
}) => void;
|
250
|
+
setCheckedNodes: (array: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
251
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
252
|
+
setDefaultExpandedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
253
|
+
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;
|
254
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
255
|
+
setCurrentNode: (currentNode: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
256
|
+
setUserCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
257
|
+
setCurrentNodeKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | undefined, shouldAutoExpandParent?: boolean) => void;
|
258
|
+
}>;
|
259
|
+
root: import('vue').Ref<{
|
260
|
+
id: number;
|
261
|
+
text: string;
|
262
|
+
checked: boolean;
|
263
|
+
indeterminate: boolean;
|
264
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
265
|
+
expanded: boolean;
|
266
|
+
parent: any;
|
267
|
+
visible: boolean;
|
268
|
+
isCurrent: boolean;
|
269
|
+
store: any;
|
270
|
+
isLeafByUser: boolean;
|
271
|
+
isLeaf: boolean;
|
272
|
+
canFocus: boolean;
|
273
|
+
level: number;
|
274
|
+
loaded: boolean;
|
275
|
+
childNodes: any[];
|
276
|
+
loading: boolean;
|
277
|
+
initialize: () => void;
|
278
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
279
|
+
readonly label: string;
|
280
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
281
|
+
readonly disabled: boolean;
|
282
|
+
readonly nextSibling: any | null;
|
283
|
+
readonly previousSibling: any | null;
|
284
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
285
|
+
remove: () => void;
|
286
|
+
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;
|
287
|
+
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;
|
288
|
+
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;
|
289
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
290
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
291
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
292
|
+
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;
|
293
|
+
collapse: () => void;
|
294
|
+
shouldLoadData: () => boolean;
|
295
|
+
updateLeafState: () => void;
|
296
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
297
|
+
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[];
|
298
|
+
updateChildren: () => void;
|
299
|
+
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;
|
300
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
301
|
+
reInitChecked: () => void;
|
302
|
+
}>;
|
303
|
+
currentNode: import('vue').Ref<{
|
304
|
+
id: number;
|
305
|
+
text: string;
|
306
|
+
checked: boolean;
|
307
|
+
indeterminate: boolean;
|
308
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
309
|
+
expanded: boolean;
|
310
|
+
parent: any;
|
311
|
+
visible: boolean;
|
312
|
+
isCurrent: boolean;
|
313
|
+
store: any;
|
314
|
+
isLeafByUser: boolean;
|
315
|
+
isLeaf: boolean;
|
316
|
+
canFocus: boolean;
|
317
|
+
level: number;
|
318
|
+
loaded: boolean;
|
319
|
+
childNodes: any[];
|
320
|
+
loading: boolean;
|
321
|
+
initialize: () => void;
|
322
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
323
|
+
readonly label: string;
|
324
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
325
|
+
readonly disabled: boolean;
|
326
|
+
readonly nextSibling: any | null;
|
327
|
+
readonly previousSibling: any | null;
|
328
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
329
|
+
remove: () => void;
|
330
|
+
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;
|
331
|
+
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;
|
332
|
+
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;
|
333
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
334
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
335
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
336
|
+
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;
|
337
|
+
collapse: () => void;
|
338
|
+
shouldLoadData: () => boolean;
|
339
|
+
updateLeafState: () => void;
|
340
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
341
|
+
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[];
|
342
|
+
updateChildren: () => void;
|
343
|
+
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;
|
344
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
345
|
+
reInitChecked: () => void;
|
346
|
+
}>;
|
347
|
+
dragState: import('vue').Ref<{
|
348
|
+
showDropIndicator: boolean;
|
349
|
+
draggingNode: null;
|
350
|
+
dropNode: null;
|
351
|
+
allowDrop: boolean;
|
352
|
+
dropType: null;
|
353
|
+
}>;
|
354
|
+
el$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
355
|
+
dropIndicator$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
356
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
357
|
+
filter: (value: any) => void;
|
358
|
+
getNodeKey: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => any;
|
359
|
+
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[];
|
360
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
361
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
362
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
363
|
+
getCurrentKey: () => any;
|
364
|
+
setCheckedNodes: (nodes: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
365
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
366
|
+
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;
|
367
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
368
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
369
|
+
setCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
370
|
+
setCurrentKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
371
|
+
t: import('element-plus').Translator;
|
372
|
+
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;
|
373
|
+
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;
|
374
|
+
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;
|
375
|
+
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;
|
376
|
+
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;
|
377
|
+
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;
|
378
|
+
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;
|
379
|
+
}, 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<{
|
380
|
+
data: {
|
381
|
+
type: ArrayConstructor;
|
382
|
+
default: () => never[];
|
383
|
+
};
|
384
|
+
emptyText: {
|
385
|
+
type: StringConstructor;
|
386
|
+
};
|
387
|
+
renderAfterExpand: {
|
388
|
+
type: BooleanConstructor;
|
389
|
+
default: boolean;
|
390
|
+
};
|
391
|
+
nodeKey: StringConstructor;
|
392
|
+
checkStrictly: BooleanConstructor;
|
393
|
+
defaultExpandAll: BooleanConstructor;
|
394
|
+
expandOnClickNode: {
|
395
|
+
type: BooleanConstructor;
|
396
|
+
default: boolean;
|
397
|
+
};
|
398
|
+
checkOnClickNode: BooleanConstructor;
|
399
|
+
checkDescendants: {
|
400
|
+
type: BooleanConstructor;
|
401
|
+
default: boolean;
|
402
|
+
};
|
403
|
+
autoExpandParent: {
|
404
|
+
type: BooleanConstructor;
|
405
|
+
default: boolean;
|
406
|
+
};
|
407
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
408
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
409
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
410
|
+
renderContent: FunctionConstructor;
|
411
|
+
showCheckbox: {
|
412
|
+
type: BooleanConstructor;
|
413
|
+
default: boolean;
|
414
|
+
};
|
415
|
+
draggable: {
|
416
|
+
type: BooleanConstructor;
|
417
|
+
default: boolean;
|
418
|
+
};
|
419
|
+
allowDrag: FunctionConstructor;
|
420
|
+
allowDrop: FunctionConstructor;
|
421
|
+
props: {
|
422
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
423
|
+
default: () => {
|
424
|
+
children: string;
|
425
|
+
label: string;
|
426
|
+
disabled: string;
|
427
|
+
};
|
428
|
+
};
|
429
|
+
lazy: {
|
430
|
+
type: BooleanConstructor;
|
431
|
+
default: boolean;
|
432
|
+
};
|
433
|
+
highlightCurrent: BooleanConstructor;
|
434
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
435
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
436
|
+
accordion: BooleanConstructor;
|
437
|
+
indent: {
|
438
|
+
type: NumberConstructor;
|
439
|
+
default: number;
|
440
|
+
};
|
441
|
+
icon: {
|
442
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
443
|
+
};
|
444
|
+
}>> & {
|
445
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
446
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
447
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
448
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
449
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
450
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
451
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
452
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
453
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
454
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
455
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
456
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
457
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
458
|
+
}, {
|
459
|
+
data: unknown[];
|
460
|
+
props: import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps;
|
461
|
+
checkStrictly: boolean;
|
462
|
+
lazy: boolean;
|
463
|
+
accordion: boolean;
|
464
|
+
draggable: boolean;
|
465
|
+
renderAfterExpand: boolean;
|
466
|
+
showCheckbox: boolean;
|
467
|
+
defaultExpandAll: boolean;
|
468
|
+
expandOnClickNode: boolean;
|
469
|
+
checkOnClickNode: boolean;
|
470
|
+
checkDescendants: boolean;
|
471
|
+
autoExpandParent: boolean;
|
472
|
+
highlightCurrent: boolean;
|
473
|
+
indent: number;
|
474
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
475
|
+
P: {};
|
476
|
+
B: {};
|
477
|
+
D: {};
|
478
|
+
C: {};
|
479
|
+
M: {};
|
480
|
+
Defaults: {};
|
481
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
482
|
+
data: {
|
483
|
+
type: ArrayConstructor;
|
484
|
+
default: () => never[];
|
485
|
+
};
|
486
|
+
emptyText: {
|
487
|
+
type: StringConstructor;
|
488
|
+
};
|
489
|
+
renderAfterExpand: {
|
490
|
+
type: BooleanConstructor;
|
491
|
+
default: boolean;
|
492
|
+
};
|
493
|
+
nodeKey: StringConstructor;
|
494
|
+
checkStrictly: BooleanConstructor;
|
495
|
+
defaultExpandAll: BooleanConstructor;
|
496
|
+
expandOnClickNode: {
|
497
|
+
type: BooleanConstructor;
|
498
|
+
default: boolean;
|
499
|
+
};
|
500
|
+
checkOnClickNode: BooleanConstructor;
|
501
|
+
checkDescendants: {
|
502
|
+
type: BooleanConstructor;
|
503
|
+
default: boolean;
|
504
|
+
};
|
505
|
+
autoExpandParent: {
|
506
|
+
type: BooleanConstructor;
|
507
|
+
default: boolean;
|
508
|
+
};
|
509
|
+
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
510
|
+
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]>;
|
511
|
+
currentNodeKey: import('vue').PropType<string | number>;
|
512
|
+
renderContent: FunctionConstructor;
|
513
|
+
showCheckbox: {
|
514
|
+
type: BooleanConstructor;
|
515
|
+
default: boolean;
|
516
|
+
};
|
517
|
+
draggable: {
|
518
|
+
type: BooleanConstructor;
|
519
|
+
default: boolean;
|
520
|
+
};
|
521
|
+
allowDrag: FunctionConstructor;
|
522
|
+
allowDrop: FunctionConstructor;
|
523
|
+
props: {
|
524
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
525
|
+
default: () => {
|
526
|
+
children: string;
|
527
|
+
label: string;
|
528
|
+
disabled: string;
|
529
|
+
};
|
530
|
+
};
|
531
|
+
lazy: {
|
532
|
+
type: BooleanConstructor;
|
533
|
+
default: boolean;
|
534
|
+
};
|
535
|
+
highlightCurrent: BooleanConstructor;
|
536
|
+
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction>;
|
537
|
+
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction>;
|
538
|
+
accordion: BooleanConstructor;
|
539
|
+
indent: {
|
540
|
+
type: NumberConstructor;
|
541
|
+
default: number;
|
542
|
+
};
|
543
|
+
icon: {
|
544
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
545
|
+
};
|
546
|
+
}>> & {
|
547
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
548
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
549
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
550
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
551
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
552
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
553
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
554
|
+
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
555
|
+
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
556
|
+
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
557
|
+
"onNode-drag-leave"?: ((...args: any[]) => any) | undefined;
|
558
|
+
"onNode-drag-enter"?: ((...args: any[]) => any) | undefined;
|
559
|
+
"onNode-drag-over"?: ((...args: any[]) => any) | undefined;
|
560
|
+
}, {
|
561
|
+
ns: {
|
562
|
+
namespace: import('vue').ComputedRef<string>;
|
563
|
+
b: (blockSuffix?: string) => string;
|
564
|
+
e: (element?: string | undefined) => string;
|
565
|
+
m: (modifier?: string | undefined) => string;
|
566
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
567
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
568
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
569
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
570
|
+
is: {
|
571
|
+
(name: string, state: boolean | undefined): string;
|
572
|
+
(name: string): string;
|
573
|
+
};
|
574
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
575
|
+
cssVarName: (name: string) => string;
|
576
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
577
|
+
cssVarBlockName: (name: string) => string;
|
578
|
+
};
|
579
|
+
store: import('vue').Ref<{
|
580
|
+
currentNode: {
|
581
|
+
id: number;
|
582
|
+
text: string;
|
583
|
+
checked: boolean;
|
584
|
+
indeterminate: boolean;
|
585
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
586
|
+
expanded: boolean;
|
587
|
+
parent: any;
|
588
|
+
visible: boolean;
|
589
|
+
isCurrent: boolean;
|
590
|
+
store: any;
|
591
|
+
isLeafByUser: boolean;
|
592
|
+
isLeaf: boolean;
|
593
|
+
canFocus: boolean;
|
594
|
+
level: number;
|
595
|
+
loaded: boolean;
|
596
|
+
childNodes: any[];
|
597
|
+
loading: boolean;
|
598
|
+
initialize: () => void;
|
599
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
600
|
+
readonly label: string;
|
601
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
602
|
+
readonly disabled: boolean;
|
603
|
+
readonly nextSibling: any | null;
|
604
|
+
readonly previousSibling: any | null;
|
605
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
606
|
+
remove: () => void;
|
607
|
+
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;
|
608
|
+
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;
|
609
|
+
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;
|
610
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
611
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
612
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
613
|
+
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;
|
614
|
+
collapse: () => void;
|
615
|
+
shouldLoadData: () => boolean;
|
616
|
+
updateLeafState: () => void;
|
617
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
618
|
+
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[];
|
619
|
+
updateChildren: () => void;
|
620
|
+
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;
|
621
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
622
|
+
reInitChecked: () => void;
|
623
|
+
};
|
624
|
+
currentNodeKey: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
625
|
+
nodesMap: import('element-plus/es/components/tree/src/tree.type.mjs').TreeStoreNodesMap;
|
626
|
+
root: {
|
627
|
+
id: number;
|
628
|
+
text: string;
|
629
|
+
checked: boolean;
|
630
|
+
indeterminate: boolean;
|
631
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
632
|
+
expanded: boolean;
|
633
|
+
parent: any;
|
634
|
+
visible: boolean;
|
635
|
+
isCurrent: boolean;
|
636
|
+
store: any;
|
637
|
+
isLeafByUser: boolean;
|
638
|
+
isLeaf: boolean;
|
639
|
+
canFocus: boolean;
|
640
|
+
level: number;
|
641
|
+
loaded: boolean;
|
642
|
+
childNodes: any[];
|
643
|
+
loading: boolean;
|
644
|
+
initialize: () => void;
|
645
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
646
|
+
readonly label: string;
|
647
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
648
|
+
readonly disabled: boolean;
|
649
|
+
readonly nextSibling: any | null;
|
650
|
+
readonly previousSibling: any | null;
|
651
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
652
|
+
remove: () => void;
|
653
|
+
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;
|
654
|
+
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;
|
655
|
+
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;
|
656
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
657
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
658
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
659
|
+
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;
|
660
|
+
collapse: () => void;
|
661
|
+
shouldLoadData: () => boolean;
|
662
|
+
updateLeafState: () => void;
|
663
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
664
|
+
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[];
|
665
|
+
updateChildren: () => void;
|
666
|
+
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;
|
667
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
668
|
+
reInitChecked: () => void;
|
669
|
+
};
|
670
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
671
|
+
lazy: boolean;
|
672
|
+
load: import('element-plus/es/components/tree/src/tree.type.mjs').LoadFunction;
|
673
|
+
filterNodeMethod: import('element-plus/es/components/tree/src/tree.type.mjs').FilterNodeMethodFunction;
|
674
|
+
key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
675
|
+
defaultCheckedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
676
|
+
checkStrictly: boolean;
|
677
|
+
defaultExpandedKeys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
678
|
+
autoExpandParent: boolean;
|
679
|
+
defaultExpandAll: boolean;
|
680
|
+
checkDescendants: boolean;
|
681
|
+
props: {
|
682
|
+
children?: string | undefined;
|
683
|
+
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;
|
684
|
+
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;
|
685
|
+
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;
|
686
|
+
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 | {
|
687
|
+
[key: string]: boolean;
|
688
|
+
}) | undefined;
|
689
|
+
};
|
690
|
+
initialize: () => void;
|
691
|
+
filter: (value: any) => void;
|
692
|
+
setData: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeData) => void;
|
693
|
+
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;
|
694
|
+
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;
|
695
|
+
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;
|
696
|
+
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;
|
697
|
+
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;
|
698
|
+
_initDefaultCheckedNodes: () => void;
|
699
|
+
_initDefaultCheckedNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
700
|
+
setDefaultCheckedKey: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
701
|
+
registerNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
702
|
+
deregisterNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
703
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
704
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
705
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
706
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
707
|
+
_getAllNodes: () => import('element-plus/es/components/tree/src/model/node.mjs').default[];
|
708
|
+
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;
|
709
|
+
_setCheckedKeys: (key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, leafOnly: boolean | undefined, checkedKeys: {
|
710
|
+
[key: string]: boolean;
|
711
|
+
}) => void;
|
712
|
+
setCheckedNodes: (array: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
713
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
714
|
+
setDefaultExpandedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
715
|
+
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;
|
716
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
717
|
+
setCurrentNode: (currentNode: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
718
|
+
setUserCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
719
|
+
setCurrentNodeKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | undefined, shouldAutoExpandParent?: boolean) => void;
|
720
|
+
}>;
|
721
|
+
root: import('vue').Ref<{
|
722
|
+
id: number;
|
723
|
+
text: string;
|
724
|
+
checked: boolean;
|
725
|
+
indeterminate: boolean;
|
726
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
727
|
+
expanded: boolean;
|
728
|
+
parent: any;
|
729
|
+
visible: boolean;
|
730
|
+
isCurrent: boolean;
|
731
|
+
store: any;
|
732
|
+
isLeafByUser: boolean;
|
733
|
+
isLeaf: boolean;
|
734
|
+
canFocus: boolean;
|
735
|
+
level: number;
|
736
|
+
loaded: boolean;
|
737
|
+
childNodes: any[];
|
738
|
+
loading: boolean;
|
739
|
+
initialize: () => void;
|
740
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
741
|
+
readonly label: string;
|
742
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
743
|
+
readonly disabled: boolean;
|
744
|
+
readonly nextSibling: any | null;
|
745
|
+
readonly previousSibling: any | null;
|
746
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
747
|
+
remove: () => void;
|
748
|
+
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;
|
749
|
+
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;
|
750
|
+
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;
|
751
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
752
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
753
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
754
|
+
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;
|
755
|
+
collapse: () => void;
|
756
|
+
shouldLoadData: () => boolean;
|
757
|
+
updateLeafState: () => void;
|
758
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
759
|
+
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[];
|
760
|
+
updateChildren: () => void;
|
761
|
+
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;
|
762
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
763
|
+
reInitChecked: () => void;
|
764
|
+
}>;
|
765
|
+
currentNode: import('vue').Ref<{
|
766
|
+
id: number;
|
767
|
+
text: string;
|
768
|
+
checked: boolean;
|
769
|
+
indeterminate: boolean;
|
770
|
+
data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
771
|
+
expanded: boolean;
|
772
|
+
parent: any;
|
773
|
+
visible: boolean;
|
774
|
+
isCurrent: boolean;
|
775
|
+
store: any;
|
776
|
+
isLeafByUser: boolean;
|
777
|
+
isLeaf: boolean;
|
778
|
+
canFocus: boolean;
|
779
|
+
level: number;
|
780
|
+
loaded: boolean;
|
781
|
+
childNodes: any[];
|
782
|
+
loading: boolean;
|
783
|
+
initialize: () => void;
|
784
|
+
setData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
785
|
+
readonly label: string;
|
786
|
+
readonly key: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey;
|
787
|
+
readonly disabled: boolean;
|
788
|
+
readonly nextSibling: any | null;
|
789
|
+
readonly previousSibling: any | null;
|
790
|
+
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
791
|
+
remove: () => void;
|
792
|
+
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;
|
793
|
+
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;
|
794
|
+
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;
|
795
|
+
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
796
|
+
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
797
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
798
|
+
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;
|
799
|
+
collapse: () => void;
|
800
|
+
shouldLoadData: () => boolean;
|
801
|
+
updateLeafState: () => void;
|
802
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
803
|
+
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[];
|
804
|
+
updateChildren: () => void;
|
805
|
+
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;
|
806
|
+
eachNode: (callback: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void) => void;
|
807
|
+
reInitChecked: () => void;
|
808
|
+
}>;
|
809
|
+
dragState: import('vue').Ref<{
|
810
|
+
showDropIndicator: boolean;
|
811
|
+
draggingNode: null;
|
812
|
+
dropNode: null;
|
813
|
+
allowDrop: boolean;
|
814
|
+
dropType: null;
|
815
|
+
}>;
|
816
|
+
el$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
817
|
+
dropIndicator$: import('vue').Ref<import('element-plus/es/utils/typescript.mjs').Nullable<HTMLElement>>;
|
818
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
819
|
+
filter: (value: any) => void;
|
820
|
+
getNodeKey: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => any;
|
821
|
+
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[];
|
822
|
+
getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
823
|
+
getCheckedKeys: (leafOnly?: boolean) => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
824
|
+
getCurrentNode: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData;
|
825
|
+
getCurrentKey: () => any;
|
826
|
+
setCheckedNodes: (nodes: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
827
|
+
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
828
|
+
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;
|
829
|
+
getHalfCheckedNodes: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData[];
|
830
|
+
getHalfCheckedKeys: () => import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[];
|
831
|
+
setCurrentNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default, shouldAutoExpandParent?: boolean) => void;
|
832
|
+
setCurrentKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
833
|
+
t: import('element-plus').Translator;
|
834
|
+
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;
|
835
|
+
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;
|
836
|
+
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;
|
837
|
+
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;
|
838
|
+
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;
|
839
|
+
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;
|
840
|
+
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;
|
841
|
+
}, {}, {}, {}, {
|
842
|
+
data: unknown[];
|
843
|
+
props: import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps;
|
844
|
+
checkStrictly: boolean;
|
845
|
+
lazy: boolean;
|
846
|
+
accordion: boolean;
|
847
|
+
draggable: boolean;
|
848
|
+
renderAfterExpand: boolean;
|
849
|
+
showCheckbox: boolean;
|
850
|
+
defaultExpandAll: boolean;
|
851
|
+
expandOnClickNode: boolean;
|
852
|
+
checkOnClickNode: boolean;
|
853
|
+
checkDescendants: boolean;
|
854
|
+
autoExpandParent: boolean;
|
855
|
+
highlightCurrent: boolean;
|
856
|
+
indent: number;
|
857
|
+
}> | null;
|
858
|
+
}, any, import('vue').ComponentProvideOptions, {
|
859
|
+
P: {};
|
860
|
+
B: {};
|
861
|
+
D: {};
|
862
|
+
C: {};
|
863
|
+
M: {};
|
864
|
+
Defaults: {};
|
865
|
+
}, Readonly<import('./Tree').TreeProps> & Readonly<{
|
866
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
867
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
868
|
+
}>, {
|
869
|
+
filter: (value: any) => void;
|
870
|
+
getCheckedKeys: (leafOnly?: boolean) => import('./Tree').TreeKey[];
|
871
|
+
setCheckedKeys: (keys: import('./Tree').TreeKey[]) => void;
|
872
|
+
getCurrentKey: () => any;
|
873
|
+
setCurrentKey: (key?: import('./Tree').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
874
|
+
}, {}, {}, {}, {}>;
|
875
|
+
__isFragment?: never;
|
876
|
+
__isTeleport?: never;
|
877
|
+
__isSuspense?: never;
|
878
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Tree').TreeProps> & Readonly<{
|
879
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
880
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
881
|
+
}>, {
|
882
|
+
filter: (value: any) => void;
|
883
|
+
getCheckedKeys: (leafOnly?: boolean) => import('./Tree').TreeKey[];
|
884
|
+
setCheckedKeys: (keys: import('./Tree').TreeKey[]) => void;
|
885
|
+
getCurrentKey: () => any;
|
886
|
+
setCurrentKey: (key?: import('./Tree').TreeKey, shouldAutoExpandParent?: boolean) => void;
|
887
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
888
|
+
"current-change": (...args: any[]) => void;
|
889
|
+
"node-click": (...args: any[]) => void;
|
890
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
891
|
+
$slots: {
|
892
|
+
default?(_: any): any;
|
893
|
+
};
|
894
|
+
}) & {
|
895
|
+
toTreeNodes: (array: TreeData, options?: TransformOptions) => TreeData;
|
896
|
+
toArray: (treeNodes: TreeData, options?: TransformOptions) => TreeData;
|
897
|
+
}> & {};
|
898
|
+
export default OTree;
|
899
|
+
export * from './Tree';
|