qy-ui-for-ls 0.4.52 → 0.4.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -69,6 +69,29 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
69
69
|
* 默认高亮
|
|
70
70
|
*/
|
|
71
71
|
active: null;
|
|
72
|
+
/**
|
|
73
|
+
* 传递给 el-tree 的额外属性
|
|
74
|
+
* 用于扩展 el-tree 组件的配置项
|
|
75
|
+
*/
|
|
76
|
+
treeAttrs: {
|
|
77
|
+
type: ObjectConstructor;
|
|
78
|
+
default: () => {};
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* 树的高度,设置后树超出高度可滚动
|
|
82
|
+
* 不传则树不限制高度,不滚动
|
|
83
|
+
*/
|
|
84
|
+
treeHeight: {
|
|
85
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* 滚动条的最大高度,默认 530px
|
|
90
|
+
*/
|
|
91
|
+
maxHeight: {
|
|
92
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
72
95
|
}>, {
|
|
73
96
|
getTreeData: () => void;
|
|
74
97
|
clearCurrent: () => void;
|
|
@@ -146,6 +169,29 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
146
169
|
* 默认高亮
|
|
147
170
|
*/
|
|
148
171
|
active: null;
|
|
172
|
+
/**
|
|
173
|
+
* 传递给 el-tree 的额外属性
|
|
174
|
+
* 用于扩展 el-tree 组件的配置项
|
|
175
|
+
*/
|
|
176
|
+
treeAttrs: {
|
|
177
|
+
type: ObjectConstructor;
|
|
178
|
+
default: () => {};
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* 树的高度,设置后树超出高度可滚动
|
|
182
|
+
* 不传则树不限制高度,不滚动
|
|
183
|
+
*/
|
|
184
|
+
treeHeight: {
|
|
185
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
186
|
+
default: undefined;
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* 滚动条的最大高度,默认 530px
|
|
190
|
+
*/
|
|
191
|
+
maxHeight: {
|
|
192
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
193
|
+
default: number;
|
|
194
|
+
};
|
|
149
195
|
}>> & Readonly<{
|
|
150
196
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
151
197
|
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -159,5 +205,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
159
205
|
leafKey: string;
|
|
160
206
|
dashColor: string;
|
|
161
207
|
showExpand: boolean;
|
|
208
|
+
treeAttrs: Record<string, any>;
|
|
209
|
+
treeHeight: string | number;
|
|
210
|
+
maxHeight: string | number;
|
|
162
211
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
163
212
|
export default _default;
|