@hb-hellotech/hb-ui 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/index.d.ts +232 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/src/HbMutilpleSelectModal.vue.d.ts +3 -3
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/index.d.ts +124 -1
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/index.d.ts +124 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/src/HbListPageAct.vue.d.ts +3 -3
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/index.d.ts +97 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/index.d.ts +1 -2
- package/dist/components/business_comp/list_page_comp/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_copy/index.d.ts +151 -1
- package/dist/components/func_comp/hb_func_comp_copy/index.d.ts.map +1 -1
- package/dist/components/func_comp/index.d.ts +3 -4
- package/dist/components/func_comp/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/hb_component_lib.js +990 -1133
- package/dist/hb_component_lib.umd.cjs +1 -1
- package/package.json +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/index.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/index.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_list_form/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_list_form/index.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_list_table/index.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/index.d.ts.map +0 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/index.d.ts +0 -5
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/index.d.ts.map +0 -1
- package/dist/components/func_comp/hb_func_comp_tree/index.d.ts +0 -458
- package/dist/components/func_comp/hb_func_comp_tree/index.d.ts.map +0 -1
- package/dist/components/func_comp/hb_func_comp_tree/src/tree.d.ts +0 -59
- package/dist/components/func_comp/hb_func_comp_tree/src/tree.d.ts.map +0 -1
- package/dist/components/func_comp/hb_func_comp_tree/src/tree.vue.d.ts +0 -187
- package/dist/components/func_comp/hb_func_comp_tree/src/tree.vue.d.ts.map +0 -1
- package/dist/components/func_comp/hb_func_comp_tree/src/treeNode.vue.d.ts +0 -39
- package/dist/components/func_comp/hb_func_comp_tree/src/treeNode.vue.d.ts.map +0 -1
|
@@ -1,458 +0,0 @@
|
|
|
1
|
-
export * from './src/tree';
|
|
2
|
-
declare const HbTree: ({
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
readonly data: {
|
|
5
|
-
readonly type: import("vue").PropType<import("./src/tree").TreeOptions[]>;
|
|
6
|
-
readonly required: true;
|
|
7
|
-
};
|
|
8
|
-
readonly modelValue: {
|
|
9
|
-
readonly type: ArrayConstructor;
|
|
10
|
-
readonly default: () => never[];
|
|
11
|
-
};
|
|
12
|
-
readonly labelKey: {
|
|
13
|
-
readonly type: StringConstructor;
|
|
14
|
-
readonly default: "label";
|
|
15
|
-
};
|
|
16
|
-
readonly keyKey: {
|
|
17
|
-
readonly type: StringConstructor;
|
|
18
|
-
readonly default: "key";
|
|
19
|
-
};
|
|
20
|
-
readonly childrenKey: {
|
|
21
|
-
readonly type: StringConstructor;
|
|
22
|
-
readonly default: "children";
|
|
23
|
-
};
|
|
24
|
-
readonly defaultExpandKeys: {
|
|
25
|
-
readonly type: import("vue").PropType<import("./src/tree").Key[]>;
|
|
26
|
-
readonly default: () => never[];
|
|
27
|
-
};
|
|
28
|
-
readonly multiple: {
|
|
29
|
-
readonly type: BooleanConstructor;
|
|
30
|
-
readonly default: false;
|
|
31
|
-
};
|
|
32
|
-
readonly remote: {
|
|
33
|
-
readonly type: BooleanConstructor;
|
|
34
|
-
readonly default: false;
|
|
35
|
-
};
|
|
36
|
-
readonly clickToSelect: {
|
|
37
|
-
readonly type: BooleanConstructor;
|
|
38
|
-
};
|
|
39
|
-
}>> & Readonly<{}>, {
|
|
40
|
-
props: any;
|
|
41
|
-
bem: {
|
|
42
|
-
b: (block?: string | undefined) => string;
|
|
43
|
-
e: (element: string) => string;
|
|
44
|
-
m: (modifier: string) => string;
|
|
45
|
-
be: (block: string, element: string) => string;
|
|
46
|
-
em: (element: string, modifier: string) => string;
|
|
47
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
48
|
-
is: (name: string, state: string | boolean) => string;
|
|
49
|
-
};
|
|
50
|
-
afterFormatData: import("vue").Ref<{
|
|
51
|
-
[x: string]: unknown;
|
|
52
|
-
expanded?: boolean | undefined;
|
|
53
|
-
checked?: boolean | undefined;
|
|
54
|
-
indeterminate?: boolean | undefined;
|
|
55
|
-
disabled?: boolean | undefined;
|
|
56
|
-
loading?: boolean | undefined;
|
|
57
|
-
selected?: boolean | undefined;
|
|
58
|
-
leaf?: boolean | undefined;
|
|
59
|
-
parentKey?: import("./src/tree").Key | null | undefined;
|
|
60
|
-
level?: number | undefined;
|
|
61
|
-
originData?: {
|
|
62
|
-
[x: string]: unknown;
|
|
63
|
-
label?: import("./src/tree").Key | undefined;
|
|
64
|
-
key?: import("./src/tree").Key | undefined;
|
|
65
|
-
children?: any[] | undefined;
|
|
66
|
-
} | undefined;
|
|
67
|
-
label: import("./src/tree").Key;
|
|
68
|
-
key: import("./src/tree").Key;
|
|
69
|
-
children: {
|
|
70
|
-
[x: string]: unknown;
|
|
71
|
-
label?: import("./src/tree").Key | undefined;
|
|
72
|
-
key?: import("./src/tree").Key | undefined;
|
|
73
|
-
children?: any[] | undefined;
|
|
74
|
-
}[];
|
|
75
|
-
}[], import("./src/tree").TreeNodes[] | {
|
|
76
|
-
[x: string]: unknown;
|
|
77
|
-
expanded?: boolean | undefined;
|
|
78
|
-
checked?: boolean | undefined;
|
|
79
|
-
indeterminate?: boolean | undefined;
|
|
80
|
-
disabled?: boolean | undefined;
|
|
81
|
-
loading?: boolean | undefined;
|
|
82
|
-
selected?: boolean | undefined;
|
|
83
|
-
leaf?: boolean | undefined;
|
|
84
|
-
parentKey?: import("./src/tree").Key | null | undefined;
|
|
85
|
-
level?: number | undefined;
|
|
86
|
-
originData?: {
|
|
87
|
-
[x: string]: unknown;
|
|
88
|
-
label?: import("./src/tree").Key | undefined;
|
|
89
|
-
key?: import("./src/tree").Key | undefined;
|
|
90
|
-
children?: any[] | undefined;
|
|
91
|
-
} | undefined;
|
|
92
|
-
label: import("./src/tree").Key;
|
|
93
|
-
key: import("./src/tree").Key;
|
|
94
|
-
children: {
|
|
95
|
-
[x: string]: unknown;
|
|
96
|
-
label?: import("./src/tree").Key | undefined;
|
|
97
|
-
key?: import("./src/tree").Key | undefined;
|
|
98
|
-
children?: any[] | undefined;
|
|
99
|
-
}[];
|
|
100
|
-
}[]>;
|
|
101
|
-
expandedKeys: import("vue").Ref<Set<import("./src/tree").Key> & Omit<Set<import("./src/tree").Key>, keyof Set<any>>, Set<import("./src/tree").Key> | (Set<import("./src/tree").Key> & Omit<Set<import("./src/tree").Key>, keyof Set<any>>)>;
|
|
102
|
-
formatData: (data: import("./src/tree").TreeOptions[]) => import("./src/tree").TreeNodes[];
|
|
103
|
-
flatterTree: import("vue").ComputedRef<import("./src/tree").TreeNodes[]>;
|
|
104
|
-
toggleExpand: (key: import("./src/tree").Key) => void;
|
|
105
|
-
handleClick: () => void;
|
|
106
|
-
TreeNode: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
107
|
-
item: {
|
|
108
|
-
type: import("vue").PropType<import("./src/tree").TreeNodes>;
|
|
109
|
-
default(): {};
|
|
110
|
-
};
|
|
111
|
-
expandedKeys: {
|
|
112
|
-
type: import("vue").PropType<Set<string | number>>;
|
|
113
|
-
};
|
|
114
|
-
}>, {
|
|
115
|
-
props: any;
|
|
116
|
-
emits: (event: "toggleExpand", ...args: any[]) => void;
|
|
117
|
-
bem: {
|
|
118
|
-
b: (block?: string | undefined) => string;
|
|
119
|
-
e: (element: string) => string;
|
|
120
|
-
m: (modifier: string) => string;
|
|
121
|
-
be: (block: string, element: string) => string;
|
|
122
|
-
em: (element: string, modifier: string) => string;
|
|
123
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
124
|
-
is: (name: string, state: string | boolean) => string;
|
|
125
|
-
};
|
|
126
|
-
isExpanded: import("vue").ComputedRef<boolean>;
|
|
127
|
-
handleClick: () => void;
|
|
128
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "toggleExpand"[], "toggleExpand", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
item: {
|
|
130
|
-
type: import("vue").PropType<import("./src/tree").TreeNodes>;
|
|
131
|
-
default(): {};
|
|
132
|
-
};
|
|
133
|
-
expandedKeys: {
|
|
134
|
-
type: import("vue").PropType<Set<string | number>>;
|
|
135
|
-
};
|
|
136
|
-
}>> & Readonly<{
|
|
137
|
-
onToggleExpand?: ((...args: any[]) => any) | undefined;
|
|
138
|
-
}>, {
|
|
139
|
-
item: import("./src/tree").TreeNodes;
|
|
140
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
141
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
142
|
-
readonly modelValue: unknown[];
|
|
143
|
-
readonly labelKey: string;
|
|
144
|
-
readonly keyKey: string;
|
|
145
|
-
readonly childrenKey: string;
|
|
146
|
-
readonly defaultExpandKeys: import("./src/tree").Key[];
|
|
147
|
-
readonly multiple: boolean;
|
|
148
|
-
readonly remote: boolean;
|
|
149
|
-
readonly clickToSelect: boolean;
|
|
150
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
151
|
-
P: {};
|
|
152
|
-
B: {};
|
|
153
|
-
D: {};
|
|
154
|
-
C: {};
|
|
155
|
-
M: {};
|
|
156
|
-
Defaults: {};
|
|
157
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
158
|
-
readonly data: {
|
|
159
|
-
readonly type: import("vue").PropType<import("./src/tree").TreeOptions[]>;
|
|
160
|
-
readonly required: true;
|
|
161
|
-
};
|
|
162
|
-
readonly modelValue: {
|
|
163
|
-
readonly type: ArrayConstructor;
|
|
164
|
-
readonly default: () => never[];
|
|
165
|
-
};
|
|
166
|
-
readonly labelKey: {
|
|
167
|
-
readonly type: StringConstructor;
|
|
168
|
-
readonly default: "label";
|
|
169
|
-
};
|
|
170
|
-
readonly keyKey: {
|
|
171
|
-
readonly type: StringConstructor;
|
|
172
|
-
readonly default: "key";
|
|
173
|
-
};
|
|
174
|
-
readonly childrenKey: {
|
|
175
|
-
readonly type: StringConstructor;
|
|
176
|
-
readonly default: "children";
|
|
177
|
-
};
|
|
178
|
-
readonly defaultExpandKeys: {
|
|
179
|
-
readonly type: import("vue").PropType<import("./src/tree").Key[]>;
|
|
180
|
-
readonly default: () => never[];
|
|
181
|
-
};
|
|
182
|
-
readonly multiple: {
|
|
183
|
-
readonly type: BooleanConstructor;
|
|
184
|
-
readonly default: false;
|
|
185
|
-
};
|
|
186
|
-
readonly remote: {
|
|
187
|
-
readonly type: BooleanConstructor;
|
|
188
|
-
readonly default: false;
|
|
189
|
-
};
|
|
190
|
-
readonly clickToSelect: {
|
|
191
|
-
readonly type: BooleanConstructor;
|
|
192
|
-
};
|
|
193
|
-
}>> & Readonly<{}>, {
|
|
194
|
-
props: any;
|
|
195
|
-
bem: {
|
|
196
|
-
b: (block?: string | undefined) => string;
|
|
197
|
-
e: (element: string) => string;
|
|
198
|
-
m: (modifier: string) => string;
|
|
199
|
-
be: (block: string, element: string) => string;
|
|
200
|
-
em: (element: string, modifier: string) => string;
|
|
201
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
202
|
-
is: (name: string, state: string | boolean) => string;
|
|
203
|
-
};
|
|
204
|
-
afterFormatData: import("vue").Ref<{
|
|
205
|
-
[x: string]: unknown;
|
|
206
|
-
expanded?: boolean | undefined;
|
|
207
|
-
checked?: boolean | undefined;
|
|
208
|
-
indeterminate?: boolean | undefined;
|
|
209
|
-
disabled?: boolean | undefined;
|
|
210
|
-
loading?: boolean | undefined;
|
|
211
|
-
selected?: boolean | undefined;
|
|
212
|
-
leaf?: boolean | undefined;
|
|
213
|
-
parentKey?: import("./src/tree").Key | null | undefined;
|
|
214
|
-
level?: number | undefined;
|
|
215
|
-
originData?: {
|
|
216
|
-
[x: string]: unknown;
|
|
217
|
-
label?: import("./src/tree").Key | undefined;
|
|
218
|
-
key?: import("./src/tree").Key | undefined;
|
|
219
|
-
children?: any[] | undefined;
|
|
220
|
-
} | undefined;
|
|
221
|
-
label: import("./src/tree").Key;
|
|
222
|
-
key: import("./src/tree").Key;
|
|
223
|
-
children: {
|
|
224
|
-
[x: string]: unknown;
|
|
225
|
-
label?: import("./src/tree").Key | undefined;
|
|
226
|
-
key?: import("./src/tree").Key | undefined;
|
|
227
|
-
children?: any[] | undefined;
|
|
228
|
-
}[];
|
|
229
|
-
}[], import("./src/tree").TreeNodes[] | {
|
|
230
|
-
[x: string]: unknown;
|
|
231
|
-
expanded?: boolean | undefined;
|
|
232
|
-
checked?: boolean | undefined;
|
|
233
|
-
indeterminate?: boolean | undefined;
|
|
234
|
-
disabled?: boolean | undefined;
|
|
235
|
-
loading?: boolean | undefined;
|
|
236
|
-
selected?: boolean | undefined;
|
|
237
|
-
leaf?: boolean | undefined;
|
|
238
|
-
parentKey?: import("./src/tree").Key | null | undefined;
|
|
239
|
-
level?: number | undefined;
|
|
240
|
-
originData?: {
|
|
241
|
-
[x: string]: unknown;
|
|
242
|
-
label?: import("./src/tree").Key | undefined;
|
|
243
|
-
key?: import("./src/tree").Key | undefined;
|
|
244
|
-
children?: any[] | undefined;
|
|
245
|
-
} | undefined;
|
|
246
|
-
label: import("./src/tree").Key;
|
|
247
|
-
key: import("./src/tree").Key;
|
|
248
|
-
children: {
|
|
249
|
-
[x: string]: unknown;
|
|
250
|
-
label?: import("./src/tree").Key | undefined;
|
|
251
|
-
key?: import("./src/tree").Key | undefined;
|
|
252
|
-
children?: any[] | undefined;
|
|
253
|
-
}[];
|
|
254
|
-
}[]>;
|
|
255
|
-
expandedKeys: import("vue").Ref<Set<import("./src/tree").Key> & Omit<Set<import("./src/tree").Key>, keyof Set<any>>, Set<import("./src/tree").Key> | (Set<import("./src/tree").Key> & Omit<Set<import("./src/tree").Key>, keyof Set<any>>)>;
|
|
256
|
-
formatData: (data: import("./src/tree").TreeOptions[]) => import("./src/tree").TreeNodes[];
|
|
257
|
-
flatterTree: import("vue").ComputedRef<import("./src/tree").TreeNodes[]>;
|
|
258
|
-
toggleExpand: (key: import("./src/tree").Key) => void;
|
|
259
|
-
handleClick: () => void;
|
|
260
|
-
TreeNode: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
261
|
-
item: {
|
|
262
|
-
type: import("vue").PropType<import("./src/tree").TreeNodes>;
|
|
263
|
-
default(): {};
|
|
264
|
-
};
|
|
265
|
-
expandedKeys: {
|
|
266
|
-
type: import("vue").PropType<Set<string | number>>;
|
|
267
|
-
};
|
|
268
|
-
}>, {
|
|
269
|
-
props: any;
|
|
270
|
-
emits: (event: "toggleExpand", ...args: any[]) => void;
|
|
271
|
-
bem: {
|
|
272
|
-
b: (block?: string | undefined) => string;
|
|
273
|
-
e: (element: string) => string;
|
|
274
|
-
m: (modifier: string) => string;
|
|
275
|
-
be: (block: string, element: string) => string;
|
|
276
|
-
em: (element: string, modifier: string) => string;
|
|
277
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
278
|
-
is: (name: string, state: string | boolean) => string;
|
|
279
|
-
};
|
|
280
|
-
isExpanded: import("vue").ComputedRef<boolean>;
|
|
281
|
-
handleClick: () => void;
|
|
282
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "toggleExpand"[], "toggleExpand", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
283
|
-
item: {
|
|
284
|
-
type: import("vue").PropType<import("./src/tree").TreeNodes>;
|
|
285
|
-
default(): {};
|
|
286
|
-
};
|
|
287
|
-
expandedKeys: {
|
|
288
|
-
type: import("vue").PropType<Set<string | number>>;
|
|
289
|
-
};
|
|
290
|
-
}>> & Readonly<{
|
|
291
|
-
onToggleExpand?: ((...args: any[]) => any) | undefined;
|
|
292
|
-
}>, {
|
|
293
|
-
item: import("./src/tree").TreeNodes;
|
|
294
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
295
|
-
}, {}, {}, {}, {
|
|
296
|
-
readonly modelValue: unknown[];
|
|
297
|
-
readonly labelKey: string;
|
|
298
|
-
readonly keyKey: string;
|
|
299
|
-
readonly childrenKey: string;
|
|
300
|
-
readonly defaultExpandKeys: import("./src/tree").Key[];
|
|
301
|
-
readonly multiple: boolean;
|
|
302
|
-
readonly remote: boolean;
|
|
303
|
-
readonly clickToSelect: boolean;
|
|
304
|
-
}>;
|
|
305
|
-
__isFragment?: undefined;
|
|
306
|
-
__isTeleport?: undefined;
|
|
307
|
-
__isSuspense?: undefined;
|
|
308
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
309
|
-
readonly data: {
|
|
310
|
-
readonly type: import("vue").PropType<import("./src/tree").TreeOptions[]>;
|
|
311
|
-
readonly required: true;
|
|
312
|
-
};
|
|
313
|
-
readonly modelValue: {
|
|
314
|
-
readonly type: ArrayConstructor;
|
|
315
|
-
readonly default: () => never[];
|
|
316
|
-
};
|
|
317
|
-
readonly labelKey: {
|
|
318
|
-
readonly type: StringConstructor;
|
|
319
|
-
readonly default: "label";
|
|
320
|
-
};
|
|
321
|
-
readonly keyKey: {
|
|
322
|
-
readonly type: StringConstructor;
|
|
323
|
-
readonly default: "key";
|
|
324
|
-
};
|
|
325
|
-
readonly childrenKey: {
|
|
326
|
-
readonly type: StringConstructor;
|
|
327
|
-
readonly default: "children";
|
|
328
|
-
};
|
|
329
|
-
readonly defaultExpandKeys: {
|
|
330
|
-
readonly type: import("vue").PropType<import("./src/tree").Key[]>;
|
|
331
|
-
readonly default: () => never[];
|
|
332
|
-
};
|
|
333
|
-
readonly multiple: {
|
|
334
|
-
readonly type: BooleanConstructor;
|
|
335
|
-
readonly default: false;
|
|
336
|
-
};
|
|
337
|
-
readonly remote: {
|
|
338
|
-
readonly type: BooleanConstructor;
|
|
339
|
-
readonly default: false;
|
|
340
|
-
};
|
|
341
|
-
readonly clickToSelect: {
|
|
342
|
-
readonly type: BooleanConstructor;
|
|
343
|
-
};
|
|
344
|
-
}>> & Readonly<{}>, {
|
|
345
|
-
props: any;
|
|
346
|
-
bem: {
|
|
347
|
-
b: (block?: string | undefined) => string;
|
|
348
|
-
e: (element: string) => string;
|
|
349
|
-
m: (modifier: string) => string;
|
|
350
|
-
be: (block: string, element: string) => string;
|
|
351
|
-
em: (element: string, modifier: string) => string;
|
|
352
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
353
|
-
is: (name: string, state: string | boolean) => string;
|
|
354
|
-
};
|
|
355
|
-
afterFormatData: import("vue").Ref<{
|
|
356
|
-
[x: string]: unknown;
|
|
357
|
-
expanded?: boolean | undefined;
|
|
358
|
-
checked?: boolean | undefined;
|
|
359
|
-
indeterminate?: boolean | undefined;
|
|
360
|
-
disabled?: boolean | undefined;
|
|
361
|
-
loading?: boolean | undefined;
|
|
362
|
-
selected?: boolean | undefined;
|
|
363
|
-
leaf?: boolean | undefined;
|
|
364
|
-
parentKey?: import("./src/tree").Key | null | undefined;
|
|
365
|
-
level?: number | undefined;
|
|
366
|
-
originData?: {
|
|
367
|
-
[x: string]: unknown;
|
|
368
|
-
label?: import("./src/tree").Key | undefined;
|
|
369
|
-
key?: import("./src/tree").Key | undefined;
|
|
370
|
-
children?: any[] | undefined;
|
|
371
|
-
} | undefined;
|
|
372
|
-
label: import("./src/tree").Key;
|
|
373
|
-
key: import("./src/tree").Key;
|
|
374
|
-
children: {
|
|
375
|
-
[x: string]: unknown;
|
|
376
|
-
label?: import("./src/tree").Key | undefined;
|
|
377
|
-
key?: import("./src/tree").Key | undefined;
|
|
378
|
-
children?: any[] | undefined;
|
|
379
|
-
}[];
|
|
380
|
-
}[], import("./src/tree").TreeNodes[] | {
|
|
381
|
-
[x: string]: unknown;
|
|
382
|
-
expanded?: boolean | undefined;
|
|
383
|
-
checked?: boolean | undefined;
|
|
384
|
-
indeterminate?: boolean | undefined;
|
|
385
|
-
disabled?: boolean | undefined;
|
|
386
|
-
loading?: boolean | undefined;
|
|
387
|
-
selected?: boolean | undefined;
|
|
388
|
-
leaf?: boolean | undefined;
|
|
389
|
-
parentKey?: import("./src/tree").Key | null | undefined;
|
|
390
|
-
level?: number | undefined;
|
|
391
|
-
originData?: {
|
|
392
|
-
[x: string]: unknown;
|
|
393
|
-
label?: import("./src/tree").Key | undefined;
|
|
394
|
-
key?: import("./src/tree").Key | undefined;
|
|
395
|
-
children?: any[] | undefined;
|
|
396
|
-
} | undefined;
|
|
397
|
-
label: import("./src/tree").Key;
|
|
398
|
-
key: import("./src/tree").Key;
|
|
399
|
-
children: {
|
|
400
|
-
[x: string]: unknown;
|
|
401
|
-
label?: import("./src/tree").Key | undefined;
|
|
402
|
-
key?: import("./src/tree").Key | undefined;
|
|
403
|
-
children?: any[] | undefined;
|
|
404
|
-
}[];
|
|
405
|
-
}[]>;
|
|
406
|
-
expandedKeys: import("vue").Ref<Set<import("./src/tree").Key> & Omit<Set<import("./src/tree").Key>, keyof Set<any>>, Set<import("./src/tree").Key> | (Set<import("./src/tree").Key> & Omit<Set<import("./src/tree").Key>, keyof Set<any>>)>;
|
|
407
|
-
formatData: (data: import("./src/tree").TreeOptions[]) => import("./src/tree").TreeNodes[];
|
|
408
|
-
flatterTree: import("vue").ComputedRef<import("./src/tree").TreeNodes[]>;
|
|
409
|
-
toggleExpand: (key: import("./src/tree").Key) => void;
|
|
410
|
-
handleClick: () => void;
|
|
411
|
-
TreeNode: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
412
|
-
item: {
|
|
413
|
-
type: import("vue").PropType<import("./src/tree").TreeNodes>;
|
|
414
|
-
default(): {};
|
|
415
|
-
};
|
|
416
|
-
expandedKeys: {
|
|
417
|
-
type: import("vue").PropType<Set<string | number>>;
|
|
418
|
-
};
|
|
419
|
-
}>, {
|
|
420
|
-
props: any;
|
|
421
|
-
emits: (event: "toggleExpand", ...args: any[]) => void;
|
|
422
|
-
bem: {
|
|
423
|
-
b: (block?: string | undefined) => string;
|
|
424
|
-
e: (element: string) => string;
|
|
425
|
-
m: (modifier: string) => string;
|
|
426
|
-
be: (block: string, element: string) => string;
|
|
427
|
-
em: (element: string, modifier: string) => string;
|
|
428
|
-
bem: (block: string, element: string, modifier: string) => string;
|
|
429
|
-
is: (name: string, state: string | boolean) => string;
|
|
430
|
-
};
|
|
431
|
-
isExpanded: import("vue").ComputedRef<boolean>;
|
|
432
|
-
handleClick: () => void;
|
|
433
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "toggleExpand"[], "toggleExpand", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
434
|
-
item: {
|
|
435
|
-
type: import("vue").PropType<import("./src/tree").TreeNodes>;
|
|
436
|
-
default(): {};
|
|
437
|
-
};
|
|
438
|
-
expandedKeys: {
|
|
439
|
-
type: import("vue").PropType<Set<string | number>>;
|
|
440
|
-
};
|
|
441
|
-
}>> & Readonly<{
|
|
442
|
-
onToggleExpand?: ((...args: any[]) => any) | undefined;
|
|
443
|
-
}>, {
|
|
444
|
-
item: import("./src/tree").TreeNodes;
|
|
445
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
446
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
447
|
-
readonly modelValue: unknown[];
|
|
448
|
-
readonly labelKey: string;
|
|
449
|
-
readonly keyKey: string;
|
|
450
|
-
readonly childrenKey: string;
|
|
451
|
-
readonly defaultExpandKeys: import("./src/tree").Key[];
|
|
452
|
-
readonly multiple: boolean;
|
|
453
|
-
readonly remote: boolean;
|
|
454
|
-
readonly clickToSelect: boolean;
|
|
455
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]>) & Record<string, any>;
|
|
456
|
-
export default HbTree;
|
|
457
|
-
export type TreeInstance = InstanceType<typeof HbTree>;
|
|
458
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC;AAI3B,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mSAAoB,CAAC;AAEjC,eAAe,MAAM,CAAC;AAEtB,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
export type Key = string | number;
|
|
3
|
-
export interface TreeOptions {
|
|
4
|
-
label?: Key;
|
|
5
|
-
key?: Key;
|
|
6
|
-
children?: TreeOptions[];
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface TreeNodes extends Required<TreeOptions> {
|
|
10
|
-
expanded?: boolean;
|
|
11
|
-
checked?: boolean;
|
|
12
|
-
indeterminate?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
loading?: boolean;
|
|
15
|
-
selected?: boolean;
|
|
16
|
-
leaf?: boolean;
|
|
17
|
-
parentKey?: Key | null;
|
|
18
|
-
level?: number;
|
|
19
|
-
originData?: TreeOptions;
|
|
20
|
-
}
|
|
21
|
-
export declare const btreeProps: {
|
|
22
|
-
readonly data: {
|
|
23
|
-
readonly type: PropType<TreeOptions[]>;
|
|
24
|
-
readonly required: true;
|
|
25
|
-
};
|
|
26
|
-
readonly modelValue: {
|
|
27
|
-
readonly type: ArrayConstructor;
|
|
28
|
-
readonly default: () => never[];
|
|
29
|
-
};
|
|
30
|
-
readonly labelKey: {
|
|
31
|
-
readonly type: StringConstructor;
|
|
32
|
-
readonly default: "label";
|
|
33
|
-
};
|
|
34
|
-
readonly keyKey: {
|
|
35
|
-
readonly type: StringConstructor;
|
|
36
|
-
readonly default: "key";
|
|
37
|
-
};
|
|
38
|
-
readonly childrenKey: {
|
|
39
|
-
readonly type: StringConstructor;
|
|
40
|
-
readonly default: "children";
|
|
41
|
-
};
|
|
42
|
-
readonly defaultExpandKeys: {
|
|
43
|
-
readonly type: PropType<Key[]>;
|
|
44
|
-
readonly default: () => never[];
|
|
45
|
-
};
|
|
46
|
-
readonly multiple: {
|
|
47
|
-
readonly type: BooleanConstructor;
|
|
48
|
-
readonly default: false;
|
|
49
|
-
};
|
|
50
|
-
readonly remote: {
|
|
51
|
-
readonly type: BooleanConstructor;
|
|
52
|
-
readonly default: false;
|
|
53
|
-
};
|
|
54
|
-
readonly clickToSelect: {
|
|
55
|
-
readonly type: BooleanConstructor;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export type TreeProps = Partial<ExtractPropTypes<typeof btreeProps>>;
|
|
59
|
-
//# sourceMappingURL=tree.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAErD,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG,MAAM,CAAA;AAEjC,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,GAAG,CAAC,EAAE,GAAG,CAAA;IACT,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAGD,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,WAAW,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,WAAW,CAAA;CACzB;AACD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDb,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC,OAAO,UAAU,CAAC,CAAC,CAAA"}
|