orion-design 0.1.45 → 0.1.47
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/Form/FileInput/FileInput.vue.d.ts +24 -42
- package/dist/components/Form/Form.vue.d.ts +22 -22
- package/dist/components/Form/LovInput/LovInput.vue.d.ts +650 -662
- package/dist/components/Form/TableSelect/TableSelect.vue.d.ts +650 -662
- package/dist/components/Form/index.d.ts +11 -11
- package/dist/components/LovTable/LovPagetable.vue.d.ts +112 -0
- package/dist/components/LovTable/index.d.ts +56 -0
- package/dist/components/Pagetable/Pagetable.d.ts +52 -0
- package/dist/components/Pagetable/index.d.ts +36 -0
- package/dist/components/Pagetable/index.js +174 -165
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/RichTextEditor/RichTextEditor.d.ts +13 -0
- package/dist/components/RichTextEditor/index.d.ts +9 -0
- package/dist/components/RichTextEditor/index.js +25 -22
- package/dist/components/RichTextEditor/index.js.map +1 -1
- package/dist/components/TableSelectPagetable/TableSelectPagetable.vue.d.ts +112 -0
- package/dist/components/TableSelectPagetable/index.d.ts +56 -0
- package/dist/components/Tree/Tree.vue.d.ts +198 -198
- package/dist/components/Tree/index.d.ts +99 -99
- package/dist/components-G3_R2B-U.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/package.json +1 -1
@@ -44,8 +44,8 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
44
44
|
type: BooleanConstructor;
|
45
45
|
default: boolean;
|
46
46
|
};
|
47
|
-
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
48
|
-
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
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
49
|
currentNodeKey: import('vue').PropType<string | number>;
|
50
50
|
renderContent: FunctionConstructor;
|
51
51
|
showCheckbox: {
|
@@ -59,7 +59,7 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
59
59
|
allowDrag: FunctionConstructor;
|
60
60
|
allowDrop: FunctionConstructor;
|
61
61
|
props: {
|
62
|
-
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
62
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
63
63
|
default: () => {
|
64
64
|
children: string;
|
65
65
|
label: string;
|
@@ -71,20 +71,20 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
71
71
|
default: boolean;
|
72
72
|
};
|
73
73
|
highlightCurrent: BooleanConstructor;
|
74
|
-
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
75
|
-
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
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
76
|
accordion: BooleanConstructor;
|
77
77
|
indent: {
|
78
78
|
type: NumberConstructor;
|
79
79
|
default: number;
|
80
80
|
};
|
81
81
|
icon: {
|
82
|
-
type: import('vue').PropType<string | import('vue').Component
|
82
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
83
83
|
};
|
84
84
|
}>> & {
|
85
|
-
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
86
85
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
87
86
|
onCheck?: ((...args: any[]) => any) | undefined;
|
87
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
88
88
|
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
89
89
|
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
90
90
|
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
@@ -99,12 +99,12 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
99
99
|
ns: {
|
100
100
|
namespace: import('vue').ComputedRef<string>;
|
101
101
|
b: (blockSuffix?: string) => string;
|
102
|
-
e: (element?: string) => string;
|
103
|
-
m: (modifier?: string) => string;
|
104
|
-
be: (blockSuffix?: string, element?: string) => string;
|
105
|
-
em: (element?: string, modifier?: string) => string;
|
106
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
107
|
-
bem: (blockSuffix?: string, element?: string, modifier?: 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
108
|
is: {
|
109
109
|
(name: string, state: boolean | undefined): string;
|
110
110
|
(name: string): string;
|
@@ -142,17 +142,17 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
142
142
|
readonly previousSibling: any | null;
|
143
143
|
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
144
144
|
remove: () => void;
|
145
|
-
insertChild: (child?: import('element-plus/es/components/tree/src/
|
146
|
-
insertBefore: (child: import('element-plus/es/components/tree/src/
|
147
|
-
insertAfter: (child: import('element-plus/es/components/tree/src/
|
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
148
|
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
149
149
|
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
150
|
-
expand: (callback?: () => void, expandParent?: boolean) => void;
|
150
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
151
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
152
|
collapse: () => void;
|
153
153
|
shouldLoadData: () => boolean;
|
154
154
|
updateLeafState: () => void;
|
155
|
-
setChecked: (value?: boolean |
|
155
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
156
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
157
|
updateChildren: () => void;
|
158
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;
|
@@ -188,17 +188,17 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
188
188
|
readonly previousSibling: any | null;
|
189
189
|
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
190
190
|
remove: () => void;
|
191
|
-
insertChild: (child?: import('element-plus/es/components/tree/src/
|
192
|
-
insertBefore: (child: import('element-plus/es/components/tree/src/
|
193
|
-
insertAfter: (child: import('element-plus/es/components/tree/src/
|
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
194
|
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
195
195
|
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
196
|
-
expand: (callback?: () => void, expandParent?: boolean) => void;
|
196
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
197
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
198
|
collapse: () => void;
|
199
199
|
shouldLoadData: () => boolean;
|
200
200
|
updateLeafState: () => void;
|
201
|
-
setChecked: (value?: boolean |
|
201
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
202
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
203
|
updateChildren: () => void;
|
204
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;
|
@@ -218,21 +218,21 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
218
218
|
checkDescendants: boolean;
|
219
219
|
props: {
|
220
220
|
children?: string | undefined;
|
221
|
-
label?:
|
222
|
-
disabled?:
|
223
|
-
isLeaf?:
|
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
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
225
|
[key: string]: boolean;
|
226
226
|
}) | undefined;
|
227
227
|
};
|
228
228
|
initialize: () => void;
|
229
|
-
filter: (value:
|
229
|
+
filter: (value: any) => void;
|
230
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/
|
232
|
-
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/
|
233
|
-
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/
|
234
|
-
remove: (data: import('element-plus/es/components/tree/src/
|
235
|
-
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentData: import('element-plus/es/components/tree/src/
|
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
236
|
_initDefaultCheckedNodes: () => void;
|
237
237
|
_initDefaultCheckedNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
238
238
|
setDefaultCheckedKey: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
@@ -250,11 +250,11 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
250
250
|
setCheckedNodes: (array: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
251
251
|
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
252
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').
|
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
254
|
getCurrentNode: () => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
255
255
|
setCurrentNode: (currentNode: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
256
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, shouldAutoExpandParent?: boolean) => void;
|
257
|
+
setCurrentNodeKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | undefined, shouldAutoExpandParent?: boolean) => void;
|
258
258
|
}>;
|
259
259
|
root: import('vue').Ref<{
|
260
260
|
id: number;
|
@@ -283,17 +283,17 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
283
283
|
readonly previousSibling: any | null;
|
284
284
|
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
285
285
|
remove: () => void;
|
286
|
-
insertChild: (child?: import('element-plus/es/components/tree/src/
|
287
|
-
insertBefore: (child: import('element-plus/es/components/tree/src/
|
288
|
-
insertAfter: (child: import('element-plus/es/components/tree/src/
|
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
289
|
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
290
290
|
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
291
|
-
expand: (callback?: () => void, expandParent?: boolean) => void;
|
291
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
292
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
293
|
collapse: () => void;
|
294
294
|
shouldLoadData: () => boolean;
|
295
295
|
updateLeafState: () => void;
|
296
|
-
setChecked: (value?: boolean |
|
296
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
297
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
298
|
updateChildren: () => void;
|
299
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;
|
@@ -327,17 +327,17 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
327
327
|
readonly previousSibling: any | null;
|
328
328
|
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
329
329
|
remove: () => void;
|
330
|
-
insertChild: (child?: import('element-plus/es/components/tree/src/
|
331
|
-
insertBefore: (child: import('element-plus/es/components/tree/src/
|
332
|
-
insertAfter: (child: import('element-plus/es/components/tree/src/
|
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
333
|
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
334
334
|
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
335
|
-
expand: (callback?: () => void, expandParent?: boolean) => void;
|
335
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
336
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
337
|
collapse: () => void;
|
338
338
|
shouldLoadData: () => boolean;
|
339
339
|
updateLeafState: () => void;
|
340
|
-
setChecked: (value?: boolean |
|
340
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
341
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
342
|
updateChildren: () => void;
|
343
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;
|
@@ -404,8 +404,8 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
404
404
|
type: BooleanConstructor;
|
405
405
|
default: boolean;
|
406
406
|
};
|
407
|
-
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
408
|
-
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
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
409
|
currentNodeKey: import('vue').PropType<string | number>;
|
410
410
|
renderContent: FunctionConstructor;
|
411
411
|
showCheckbox: {
|
@@ -419,7 +419,7 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
419
419
|
allowDrag: FunctionConstructor;
|
420
420
|
allowDrop: FunctionConstructor;
|
421
421
|
props: {
|
422
|
-
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
422
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
423
423
|
default: () => {
|
424
424
|
children: string;
|
425
425
|
label: string;
|
@@ -431,20 +431,20 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
431
431
|
default: boolean;
|
432
432
|
};
|
433
433
|
highlightCurrent: BooleanConstructor;
|
434
|
-
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
435
|
-
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
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
436
|
accordion: BooleanConstructor;
|
437
437
|
indent: {
|
438
438
|
type: NumberConstructor;
|
439
439
|
default: number;
|
440
440
|
};
|
441
441
|
icon: {
|
442
|
-
type: import('vue').PropType<string | import('vue').Component
|
442
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
443
443
|
};
|
444
444
|
}>> & {
|
445
|
-
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
446
445
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
447
446
|
onCheck?: ((...args: any[]) => any) | undefined;
|
447
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
448
448
|
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
449
449
|
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
450
450
|
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
@@ -462,15 +462,15 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
462
462
|
lazy: boolean;
|
463
463
|
accordion: boolean;
|
464
464
|
draggable: boolean;
|
465
|
-
defaultExpandAll: boolean;
|
466
|
-
indent: number;
|
467
465
|
renderAfterExpand: boolean;
|
468
466
|
showCheckbox: boolean;
|
467
|
+
defaultExpandAll: boolean;
|
469
468
|
expandOnClickNode: boolean;
|
470
469
|
checkOnClickNode: boolean;
|
471
470
|
checkDescendants: boolean;
|
472
471
|
autoExpandParent: boolean;
|
473
472
|
highlightCurrent: boolean;
|
473
|
+
indent: number;
|
474
474
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
475
475
|
P: {};
|
476
476
|
B: {};
|
@@ -506,8 +506,8 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
506
506
|
type: BooleanConstructor;
|
507
507
|
default: boolean;
|
508
508
|
};
|
509
|
-
defaultCheckedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
510
|
-
defaultExpandedKeys: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
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
511
|
currentNodeKey: import('vue').PropType<string | number>;
|
512
512
|
renderContent: FunctionConstructor;
|
513
513
|
showCheckbox: {
|
@@ -521,7 +521,7 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
521
521
|
allowDrag: FunctionConstructor;
|
522
522
|
allowDrop: FunctionConstructor;
|
523
523
|
props: {
|
524
|
-
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
524
|
+
type: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').TreeOptionProps>;
|
525
525
|
default: () => {
|
526
526
|
children: string;
|
527
527
|
label: string;
|
@@ -533,20 +533,20 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
533
533
|
default: boolean;
|
534
534
|
};
|
535
535
|
highlightCurrent: BooleanConstructor;
|
536
|
-
load: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
537
|
-
filterNodeMethod: import('vue').PropType<import('element-plus/es/components/tree/src/tree.type.mjs').
|
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
538
|
accordion: BooleanConstructor;
|
539
539
|
indent: {
|
540
540
|
type: NumberConstructor;
|
541
541
|
default: number;
|
542
542
|
};
|
543
543
|
icon: {
|
544
|
-
type: import('vue').PropType<string | import('vue').Component
|
544
|
+
type: import('vue').PropType<string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions>>;
|
545
545
|
};
|
546
546
|
}>> & {
|
547
|
-
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
548
547
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
549
548
|
onCheck?: ((...args: any[]) => any) | undefined;
|
549
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
550
550
|
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
551
551
|
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
552
552
|
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
@@ -561,12 +561,12 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
561
561
|
ns: {
|
562
562
|
namespace: import('vue').ComputedRef<string>;
|
563
563
|
b: (blockSuffix?: string) => string;
|
564
|
-
e: (element?: string) => string;
|
565
|
-
m: (modifier?: string) => string;
|
566
|
-
be: (blockSuffix?: string, element?: string) => string;
|
567
|
-
em: (element?: string, modifier?: string) => string;
|
568
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
569
|
-
bem: (blockSuffix?: string, element?: string, modifier?: 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
570
|
is: {
|
571
571
|
(name: string, state: boolean | undefined): string;
|
572
572
|
(name: string): string;
|
@@ -604,17 +604,17 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
604
604
|
readonly previousSibling: any | null;
|
605
605
|
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
606
606
|
remove: () => void;
|
607
|
-
insertChild: (child?: import('element-plus/es/components/tree/src/
|
608
|
-
insertBefore: (child: import('element-plus/es/components/tree/src/
|
609
|
-
insertAfter: (child: import('element-plus/es/components/tree/src/
|
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
610
|
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
611
611
|
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
612
|
-
expand: (callback?: () => void, expandParent?: boolean) => void;
|
612
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
613
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
614
|
collapse: () => void;
|
615
615
|
shouldLoadData: () => boolean;
|
616
616
|
updateLeafState: () => void;
|
617
|
-
setChecked: (value?: boolean |
|
617
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
618
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
619
|
updateChildren: () => void;
|
620
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;
|
@@ -650,17 +650,17 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
650
650
|
readonly previousSibling: any | null;
|
651
651
|
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
652
652
|
remove: () => void;
|
653
|
-
insertChild: (child?: import('element-plus/es/components/tree/src/
|
654
|
-
insertBefore: (child: import('element-plus/es/components/tree/src/
|
655
|
-
insertAfter: (child: import('element-plus/es/components/tree/src/
|
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
656
|
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
657
657
|
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
658
|
-
expand: (callback?: () => void, expandParent?: boolean) => void;
|
658
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
659
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
660
|
collapse: () => void;
|
661
661
|
shouldLoadData: () => boolean;
|
662
662
|
updateLeafState: () => void;
|
663
|
-
setChecked: (value?: boolean |
|
663
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
664
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
665
|
updateChildren: () => void;
|
666
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;
|
@@ -680,21 +680,21 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
680
680
|
checkDescendants: boolean;
|
681
681
|
props: {
|
682
682
|
children?: string | undefined;
|
683
|
-
label?:
|
684
|
-
disabled?:
|
685
|
-
isLeaf?:
|
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
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
687
|
[key: string]: boolean;
|
688
688
|
}) | undefined;
|
689
689
|
};
|
690
690
|
initialize: () => void;
|
691
|
-
filter: (value:
|
691
|
+
filter: (value: any) => void;
|
692
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/
|
694
|
-
insertBefore: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/
|
695
|
-
insertAfter: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, refData: import('element-plus/es/components/tree/src/
|
696
|
-
remove: (data: import('element-plus/es/components/tree/src/
|
697
|
-
append: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData, parentData: import('element-plus/es/components/tree/src/
|
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
698
|
_initDefaultCheckedNodes: () => void;
|
699
699
|
_initDefaultCheckedNode: (node: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
700
700
|
setDefaultCheckedKey: (newVal: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[]) => void;
|
@@ -712,11 +712,11 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
712
712
|
setCheckedNodes: (array: import('element-plus/es/components/tree/src/model/node.mjs').default[], leafOnly?: boolean) => void;
|
713
713
|
setCheckedKeys: (keys: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey[], leafOnly?: boolean) => void;
|
714
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').
|
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
716
|
getCurrentNode: () => import('element-plus/es/components/tree/src/model/node.mjs').default;
|
717
717
|
setCurrentNode: (currentNode: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
718
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, shouldAutoExpandParent?: boolean) => void;
|
719
|
+
setCurrentNodeKey: (key?: import('element-plus/es/components/tree/src/tree.type.mjs').TreeKey | undefined, shouldAutoExpandParent?: boolean) => void;
|
720
720
|
}>;
|
721
721
|
root: import('vue').Ref<{
|
722
722
|
id: number;
|
@@ -745,17 +745,17 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
745
745
|
readonly previousSibling: any | null;
|
746
746
|
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
747
747
|
remove: () => void;
|
748
|
-
insertChild: (child?: import('element-plus/es/components/tree/src/
|
749
|
-
insertBefore: (child: import('element-plus/es/components/tree/src/
|
750
|
-
insertAfter: (child: import('element-plus/es/components/tree/src/
|
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
751
|
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
752
752
|
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
753
|
-
expand: (callback?: () => void, expandParent?: boolean) => void;
|
753
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
754
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
755
|
collapse: () => void;
|
756
756
|
shouldLoadData: () => boolean;
|
757
757
|
updateLeafState: () => void;
|
758
|
-
setChecked: (value?: boolean |
|
758
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
759
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
760
|
updateChildren: () => void;
|
761
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;
|
@@ -789,17 +789,17 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
789
789
|
readonly previousSibling: any | null;
|
790
790
|
contains: (target: import('element-plus/es/components/tree/src/model/node.mjs').default, deep?: boolean) => boolean;
|
791
791
|
remove: () => void;
|
792
|
-
insertChild: (child?: import('element-plus/es/components/tree/src/
|
793
|
-
insertBefore: (child: import('element-plus/es/components/tree/src/
|
794
|
-
insertAfter: (child: import('element-plus/es/components/tree/src/
|
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
795
|
removeChild: (child: import('element-plus/es/components/tree/src/model/node.mjs').default) => void;
|
796
796
|
removeChildByData: (data: import('element-plus/es/components/tree/src/tree.type.mjs').TreeNodeData) => void;
|
797
|
-
expand: (callback?: () => void, expandParent?: boolean) => void;
|
797
|
+
expand: (callback?: (() => void) | undefined, expandParent?: boolean | undefined) => void;
|
798
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
799
|
collapse: () => void;
|
800
800
|
shouldLoadData: () => boolean;
|
801
801
|
updateLeafState: () => void;
|
802
|
-
setChecked: (value?: boolean |
|
802
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue?: boolean | undefined) => void;
|
803
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
804
|
updateChildren: () => void;
|
805
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;
|
@@ -845,15 +845,15 @@ export declare const OTree: import('../_util').SFCWithInstall<{
|
|
845
845
|
lazy: boolean;
|
846
846
|
accordion: boolean;
|
847
847
|
draggable: boolean;
|
848
|
-
defaultExpandAll: boolean;
|
849
|
-
indent: number;
|
850
848
|
renderAfterExpand: boolean;
|
851
849
|
showCheckbox: boolean;
|
850
|
+
defaultExpandAll: boolean;
|
852
851
|
expandOnClickNode: boolean;
|
853
852
|
checkOnClickNode: boolean;
|
854
853
|
checkDescendants: boolean;
|
855
854
|
autoExpandParent: boolean;
|
856
855
|
highlightCurrent: boolean;
|
856
|
+
indent: number;
|
857
857
|
}> | null;
|
858
858
|
}, any, import('vue').ComponentProvideOptions, {
|
859
859
|
P: {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"components-G3_R2B-U.js","sources":["../src/components/Throne/ThroneContextProvider.tsx"],"sourcesContent":["import { defineComponent, renderSlot, watch, provide, computed } from 'vue'\
|
1
|
+
{"version":3,"file":"components-G3_R2B-U.js","sources":["../src/components/Throne/ThroneContextProvider.tsx"],"sourcesContent":["import { defineComponent, renderSlot, watch, provide, computed } from 'vue'\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\n\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../_util/type'\n\nimport { provideThroneContext } from '../../Throne/hooks/use-throne-context'\n\nimport { withInstall } from '../_util'\n\nexport const throneContextProviderProps = () => ({\n context: objectType<Record<string, any>>(),\n})\n\nexport type ThroneContextProviderProps = Partial<ExtractPropTypes<ReturnType<typeof throneContextProviderProps>>>\n\nexport type ThroneContextProviderContext = Partial<ThroneContextProviderProps>\n\nconst ThroneContextProvider = defineComponent({\n name: 'OThroneContextProvider',\n inheritAttrs: false,\n props: throneContextProviderProps(),\n setup(props, { slots }) {\n provideThroneContext(props)\n return () => {\n return renderSlot(slots, 'default')\n }\n },\n})\n\nexport default withInstall<typeof ThroneContextProvider, {}>(ThroneContextProvider)\n"],"names":["throneContextProviderProps","context","objectType","ThroneContextProvider","defineComponent","name","inheritAttrs","props","setup","slots","provideThroneContext","renderSlot","withInstall"],"mappings":";;;;;;;;;;;;;;;;;;;AASO,MAAMA,IAA6BA,OAAO;AAAA,EAC/CC,SAASC,EAAgC;AAC3C,IAMMC,IAAwBC,gBAAAA,EAAgB;AAAA,EAC5CC,MAAM;AAAA,EACNC,cAAc;AAAA,EACdC,OAAOP,EAA4B;AAAA,EACnCQ,MAAMD,GAAO;AAAA,IAAEE,OAAAA;AAAAA,EAAM,GAAG;AACtBC,WAAAA,EAAqBH,CAAK,GACnB,MACEI,EAAWF,GAAO,SAAS;AAAA,EAEtC;AACF,CAAC,GAEcG,IAAAA,EAA8CT,CAAqB;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: "0.1.
|
1
|
+
declare const _default: "0.1.47";
|
2
2
|
export default _default;
|
package/dist/version/version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.
|
1
|
+
{"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.47';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
|