@hoci/components 0.7.0 → 0.8.0
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/index.cjs +1345 -174
- package/dist/index.d.cts +149 -58
- package/dist/index.d.mts +149 -58
- package/dist/index.d.ts +149 -58
- package/dist/index.mjs +1347 -177
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { PropType, KeepAliveProps, App } from 'vue';
|
|
2
|
+
import { PropType, KeepAliveProps, CSSProperties, App } from 'vue';
|
|
3
3
|
import * as _hoci_core from '@hoci/core';
|
|
4
4
|
import * as _hoci_shared from '@hoci/shared';
|
|
5
|
+
import * as _tanstack_virtual_core from '@tanstack/virtual-core';
|
|
6
|
+
import { PartialKeys, VirtualizerOptions as VirtualizerOptions$1 } from '@tanstack/virtual-core';
|
|
5
7
|
|
|
6
8
|
declare const HiAffixTarget: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
7
9
|
[key: string]: any;
|
|
8
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<
|
|
10
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
9
11
|
|
|
10
|
-
declare const HiAffix: vue.DefineComponent<{
|
|
12
|
+
declare const HiAffix: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
11
13
|
as: {
|
|
12
14
|
type: StringConstructor;
|
|
13
15
|
default: string;
|
|
@@ -31,9 +33,9 @@ declare const HiAffix: vue.DefineComponent<{
|
|
|
31
33
|
type: NumberConstructor;
|
|
32
34
|
default: number;
|
|
33
35
|
};
|
|
34
|
-
}
|
|
36
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
37
|
[key: string]: any;
|
|
36
|
-
}>,
|
|
38
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
37
39
|
as: {
|
|
38
40
|
type: StringConstructor;
|
|
39
41
|
default: string;
|
|
@@ -57,15 +59,15 @@ declare const HiAffix: vue.DefineComponent<{
|
|
|
57
59
|
type: NumberConstructor;
|
|
58
60
|
default: number;
|
|
59
61
|
};
|
|
60
|
-
}
|
|
62
|
+
}>> & Readonly<{}>, {
|
|
61
63
|
fixedClass: string;
|
|
62
64
|
offset: number;
|
|
63
65
|
position: "top" | "bottom";
|
|
64
66
|
zIndex: number;
|
|
65
67
|
as: string;
|
|
66
|
-
}, {}>;
|
|
68
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
67
69
|
|
|
68
|
-
declare const HiConfigProvider: vue.DefineComponent<{
|
|
70
|
+
declare const HiConfigProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
69
71
|
as: {
|
|
70
72
|
type: StringConstructor;
|
|
71
73
|
};
|
|
@@ -75,9 +77,9 @@ declare const HiConfigProvider: vue.DefineComponent<{
|
|
|
75
77
|
activateEvent: {
|
|
76
78
|
type: vue.PropType<Partial<_hoci_core.SharedConfig["activateEvent"]>>;
|
|
77
79
|
};
|
|
78
|
-
}
|
|
80
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
79
81
|
[key: string]: any;
|
|
80
|
-
}>,
|
|
82
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
81
83
|
as: {
|
|
82
84
|
type: StringConstructor;
|
|
83
85
|
};
|
|
@@ -87,9 +89,9 @@ declare const HiConfigProvider: vue.DefineComponent<{
|
|
|
87
89
|
activateEvent: {
|
|
88
90
|
type: vue.PropType<Partial<_hoci_core.SharedConfig["activateEvent"]>>;
|
|
89
91
|
};
|
|
90
|
-
}
|
|
92
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
93
|
|
|
92
|
-
declare const HiFileUpload: vue.DefineComponent<{
|
|
94
|
+
declare const HiFileUpload: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
93
95
|
accept: {
|
|
94
96
|
type: StringConstructor;
|
|
95
97
|
default: string;
|
|
@@ -106,9 +108,9 @@ declare const HiFileUpload: vue.DefineComponent<{
|
|
|
106
108
|
type: BooleanConstructor;
|
|
107
109
|
default: boolean;
|
|
108
110
|
};
|
|
109
|
-
}
|
|
111
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
110
112
|
[key: string]: any;
|
|
111
|
-
}>,
|
|
113
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
112
114
|
accept: {
|
|
113
115
|
type: StringConstructor;
|
|
114
116
|
default: string;
|
|
@@ -125,17 +127,17 @@ declare const HiFileUpload: vue.DefineComponent<{
|
|
|
125
127
|
type: BooleanConstructor;
|
|
126
128
|
default: boolean;
|
|
127
129
|
};
|
|
128
|
-
}>> & {
|
|
130
|
+
}>> & Readonly<{
|
|
129
131
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
130
132
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
131
|
-
}
|
|
133
|
+
}>, {
|
|
132
134
|
multiple: boolean;
|
|
133
135
|
modelValue: File | File[];
|
|
134
136
|
as: string;
|
|
135
137
|
accept: string;
|
|
136
|
-
}, {}>;
|
|
138
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
137
139
|
|
|
138
|
-
declare const HiIcon: vue.DefineComponent<{
|
|
140
|
+
declare const HiIcon: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
139
141
|
as: {
|
|
140
142
|
type: StringConstructor;
|
|
141
143
|
default: string;
|
|
@@ -161,9 +163,9 @@ declare const HiIcon: vue.DefineComponent<{
|
|
|
161
163
|
type: vue.PropType<boolean | "auto">;
|
|
162
164
|
default: () => "auto";
|
|
163
165
|
};
|
|
164
|
-
}
|
|
166
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
165
167
|
[key: string]: any;
|
|
166
|
-
}>,
|
|
168
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
167
169
|
as: {
|
|
168
170
|
type: StringConstructor;
|
|
169
171
|
default: string;
|
|
@@ -189,13 +191,13 @@ declare const HiIcon: vue.DefineComponent<{
|
|
|
189
191
|
type: vue.PropType<boolean | "auto">;
|
|
190
192
|
default: () => "auto";
|
|
191
193
|
};
|
|
192
|
-
}
|
|
194
|
+
}>> & Readonly<{}>, {
|
|
193
195
|
mask: boolean | "auto";
|
|
194
196
|
color: string;
|
|
195
197
|
as: string;
|
|
196
|
-
}, {}>;
|
|
198
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
197
199
|
|
|
198
|
-
declare const HiItem: vue.DefineComponent<{
|
|
200
|
+
declare const HiItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
199
201
|
as: {
|
|
200
202
|
type: StringConstructor;
|
|
201
203
|
default: string;
|
|
@@ -218,9 +220,9 @@ declare const HiItem: vue.DefineComponent<{
|
|
|
218
220
|
type: BooleanConstructor;
|
|
219
221
|
default: boolean;
|
|
220
222
|
};
|
|
221
|
-
}
|
|
223
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
222
224
|
[key: string]: any;
|
|
223
|
-
}>,
|
|
225
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "reject"[], "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
224
226
|
as: {
|
|
225
227
|
type: StringConstructor;
|
|
226
228
|
default: string;
|
|
@@ -243,16 +245,16 @@ declare const HiItem: vue.DefineComponent<{
|
|
|
243
245
|
type: BooleanConstructor;
|
|
244
246
|
default: boolean;
|
|
245
247
|
};
|
|
246
|
-
}>> & {
|
|
248
|
+
}>> & Readonly<{
|
|
247
249
|
onReject?: ((...args: any[]) => any) | undefined;
|
|
248
|
-
}
|
|
250
|
+
}>, {
|
|
249
251
|
value: any;
|
|
250
252
|
disabled: boolean;
|
|
251
253
|
keepAlive: boolean;
|
|
252
254
|
as: string;
|
|
253
|
-
}, {}>;
|
|
255
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
254
256
|
|
|
255
|
-
declare const HiPopover: vue.DefineComponent<{
|
|
257
|
+
declare const HiPopover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
256
258
|
as: {
|
|
257
259
|
type: StringConstructor;
|
|
258
260
|
default: string;
|
|
@@ -288,9 +290,9 @@ declare const HiPopover: vue.DefineComponent<{
|
|
|
288
290
|
type: vue.PropType<string | HTMLElement | boolean>;
|
|
289
291
|
default: () => true;
|
|
290
292
|
};
|
|
291
|
-
}
|
|
293
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
292
294
|
[key: string]: any;
|
|
293
|
-
}>,
|
|
295
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:visible")[], "change" | "update:visible", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
294
296
|
as: {
|
|
295
297
|
type: StringConstructor;
|
|
296
298
|
default: string;
|
|
@@ -326,10 +328,10 @@ declare const HiPopover: vue.DefineComponent<{
|
|
|
326
328
|
type: vue.PropType<string | HTMLElement | boolean>;
|
|
327
329
|
default: () => true;
|
|
328
330
|
};
|
|
329
|
-
}>> & {
|
|
331
|
+
}>> & Readonly<{
|
|
330
332
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
331
333
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
332
|
-
}
|
|
334
|
+
}>, {
|
|
333
335
|
offset: number;
|
|
334
336
|
visible: boolean;
|
|
335
337
|
disabled: boolean;
|
|
@@ -338,9 +340,9 @@ declare const HiPopover: vue.DefineComponent<{
|
|
|
338
340
|
lazy: boolean;
|
|
339
341
|
teleport: string | boolean | HTMLElement;
|
|
340
342
|
as: string;
|
|
341
|
-
}, {}>;
|
|
343
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
342
344
|
|
|
343
|
-
declare const HiSelection: vue.DefineComponent<{
|
|
345
|
+
declare const HiSelection: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
344
346
|
as: {
|
|
345
347
|
type: StringConstructor;
|
|
346
348
|
default: string;
|
|
@@ -382,9 +384,9 @@ declare const HiSelection: vue.DefineComponent<{
|
|
|
382
384
|
activateEvent: {
|
|
383
385
|
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
384
386
|
};
|
|
385
|
-
}
|
|
387
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
386
388
|
[key: string]: any;
|
|
387
|
-
}>,
|
|
389
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "load" | "unload" | "update:modelValue" | "reject")[], "change" | "load" | "unload" | "update:modelValue" | "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
388
390
|
as: {
|
|
389
391
|
type: StringConstructor;
|
|
390
392
|
default: string;
|
|
@@ -426,13 +428,13 @@ declare const HiSelection: vue.DefineComponent<{
|
|
|
426
428
|
activateEvent: {
|
|
427
429
|
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
428
430
|
};
|
|
429
|
-
}>> & {
|
|
431
|
+
}>> & Readonly<{
|
|
430
432
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
431
433
|
onLoad?: ((...args: any[]) => any) | undefined;
|
|
432
434
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
433
435
|
onReject?: ((...args: any[]) => any) | undefined;
|
|
434
436
|
onUnload?: ((...args: any[]) => any) | undefined;
|
|
435
|
-
}
|
|
437
|
+
}>, {
|
|
436
438
|
multiple: number | boolean | [number, (number | undefined)?];
|
|
437
439
|
modelValue: any;
|
|
438
440
|
activeClass: string | string[] | Record<string, boolean>;
|
|
@@ -442,9 +444,9 @@ declare const HiSelection: vue.DefineComponent<{
|
|
|
442
444
|
clearable: boolean;
|
|
443
445
|
defaultValue: any;
|
|
444
446
|
as: string;
|
|
445
|
-
}, {}>;
|
|
447
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
446
448
|
|
|
447
|
-
declare const HiSwitch: vue.DefineComponent<{
|
|
449
|
+
declare const HiSwitch: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
448
450
|
as: {
|
|
449
451
|
type: StringConstructor;
|
|
450
452
|
default: string;
|
|
@@ -472,9 +474,9 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
472
474
|
disabledClass: {
|
|
473
475
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
474
476
|
};
|
|
475
|
-
}
|
|
477
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
476
478
|
[key: string]: any;
|
|
477
|
-
}>,
|
|
479
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue" | "reject")[], "change" | "update:modelValue" | "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
478
480
|
as: {
|
|
479
481
|
type: StringConstructor;
|
|
480
482
|
default: string;
|
|
@@ -502,17 +504,17 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
502
504
|
disabledClass: {
|
|
503
505
|
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
504
506
|
};
|
|
505
|
-
}>> & {
|
|
507
|
+
}>> & Readonly<{
|
|
506
508
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
507
509
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
508
510
|
onReject?: ((...args: any[]) => any) | undefined;
|
|
509
|
-
}
|
|
511
|
+
}>, {
|
|
510
512
|
disabled: boolean;
|
|
511
513
|
modelValue: boolean;
|
|
512
514
|
as: string;
|
|
513
|
-
}, {}>;
|
|
515
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
514
516
|
|
|
515
|
-
declare const HiTabPane: vue.DefineComponent<{
|
|
517
|
+
declare const HiTabPane: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
516
518
|
value: {
|
|
517
519
|
type: vue.PropType<any>;
|
|
518
520
|
default(): string;
|
|
@@ -531,9 +533,9 @@ declare const HiTabPane: vue.DefineComponent<{
|
|
|
531
533
|
type: BooleanConstructor;
|
|
532
534
|
default: boolean;
|
|
533
535
|
};
|
|
534
|
-
}
|
|
536
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
535
537
|
[key: string]: any;
|
|
536
|
-
}>,
|
|
538
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "reject"[], "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
537
539
|
value: {
|
|
538
540
|
type: vue.PropType<any>;
|
|
539
541
|
default(): string;
|
|
@@ -552,15 +554,15 @@ declare const HiTabPane: vue.DefineComponent<{
|
|
|
552
554
|
type: BooleanConstructor;
|
|
553
555
|
default: boolean;
|
|
554
556
|
};
|
|
555
|
-
}>> & {
|
|
557
|
+
}>> & Readonly<{
|
|
556
558
|
onReject?: ((...args: any[]) => any) | undefined;
|
|
557
|
-
}
|
|
559
|
+
}>, {
|
|
558
560
|
value: any;
|
|
559
561
|
disabled: boolean;
|
|
560
562
|
keepAlive: boolean;
|
|
561
|
-
}, {}>;
|
|
563
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
562
564
|
|
|
563
|
-
declare const HiTabs: vue.DefineComponent<{
|
|
565
|
+
declare const HiTabs: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
564
566
|
headerClass: {
|
|
565
567
|
type: PropType<string | string[] | Record<string, boolean>>;
|
|
566
568
|
};
|
|
@@ -620,9 +622,9 @@ declare const HiTabs: vue.DefineComponent<{
|
|
|
620
622
|
activateEvent: {
|
|
621
623
|
type: PropType<_hoci_shared.ActivateEvent>;
|
|
622
624
|
};
|
|
623
|
-
}
|
|
625
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
624
626
|
[key: string]: any;
|
|
625
|
-
}>,
|
|
627
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
626
628
|
headerClass: {
|
|
627
629
|
type: PropType<string | string[] | Record<string, boolean>>;
|
|
628
630
|
};
|
|
@@ -682,7 +684,7 @@ declare const HiTabs: vue.DefineComponent<{
|
|
|
682
684
|
activateEvent: {
|
|
683
685
|
type: PropType<_hoci_shared.ActivateEvent>;
|
|
684
686
|
};
|
|
685
|
-
}
|
|
687
|
+
}>> & Readonly<{}>, {
|
|
686
688
|
multiple: number | boolean | [number, (number | undefined)?];
|
|
687
689
|
modelValue: any;
|
|
688
690
|
activeClass: string | string[] | Record<string, boolean>;
|
|
@@ -695,8 +697,97 @@ declare const HiTabs: vue.DefineComponent<{
|
|
|
695
697
|
as: string;
|
|
696
698
|
headerAs: string;
|
|
697
699
|
contentAs: string;
|
|
698
|
-
}, {}>;
|
|
700
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
701
|
+
|
|
702
|
+
type VirtualizerOptions<TScrollElement extends Element, TItemElement extends Element = Element> = PartialKeys<VirtualizerOptions$1<TScrollElement, TItemElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement" | "initialOffset">;
|
|
703
|
+
|
|
704
|
+
declare const HiVirtualList: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
705
|
+
as: {
|
|
706
|
+
type: StringConstructor;
|
|
707
|
+
default: () => string;
|
|
708
|
+
};
|
|
709
|
+
wrapperAs: {
|
|
710
|
+
type: StringConstructor;
|
|
711
|
+
default: () => string;
|
|
712
|
+
};
|
|
713
|
+
wrapperStyle: {
|
|
714
|
+
type: PropType<CSSProperties>;
|
|
715
|
+
default: () => {};
|
|
716
|
+
};
|
|
717
|
+
wrapperClass: {
|
|
718
|
+
type: PropType<string | string[] | Record<string, boolean>>;
|
|
719
|
+
default: () => string;
|
|
720
|
+
};
|
|
721
|
+
options: {
|
|
722
|
+
type: PropType<_tanstack_virtual_core.PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
|
|
723
|
+
default: () => {};
|
|
724
|
+
};
|
|
725
|
+
count: {
|
|
726
|
+
type: NumberConstructor;
|
|
727
|
+
default: () => 0;
|
|
728
|
+
};
|
|
729
|
+
estimateSize: {
|
|
730
|
+
type: PropType<((index: number) => number) | number>;
|
|
731
|
+
default: () => 50;
|
|
732
|
+
};
|
|
733
|
+
horizontal: {
|
|
734
|
+
type: BooleanConstructor;
|
|
735
|
+
default: () => false;
|
|
736
|
+
};
|
|
737
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
738
|
+
[key: string]: any;
|
|
739
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
740
|
+
scrollEnd: () => boolean;
|
|
741
|
+
scrollStart: () => boolean;
|
|
742
|
+
scroll: (_: number[]) => boolean;
|
|
743
|
+
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
744
|
+
as: {
|
|
745
|
+
type: StringConstructor;
|
|
746
|
+
default: () => string;
|
|
747
|
+
};
|
|
748
|
+
wrapperAs: {
|
|
749
|
+
type: StringConstructor;
|
|
750
|
+
default: () => string;
|
|
751
|
+
};
|
|
752
|
+
wrapperStyle: {
|
|
753
|
+
type: PropType<CSSProperties>;
|
|
754
|
+
default: () => {};
|
|
755
|
+
};
|
|
756
|
+
wrapperClass: {
|
|
757
|
+
type: PropType<string | string[] | Record<string, boolean>>;
|
|
758
|
+
default: () => string;
|
|
759
|
+
};
|
|
760
|
+
options: {
|
|
761
|
+
type: PropType<_tanstack_virtual_core.PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">>;
|
|
762
|
+
default: () => {};
|
|
763
|
+
};
|
|
764
|
+
count: {
|
|
765
|
+
type: NumberConstructor;
|
|
766
|
+
default: () => 0;
|
|
767
|
+
};
|
|
768
|
+
estimateSize: {
|
|
769
|
+
type: PropType<((index: number) => number) | number>;
|
|
770
|
+
default: () => 50;
|
|
771
|
+
};
|
|
772
|
+
horizontal: {
|
|
773
|
+
type: BooleanConstructor;
|
|
774
|
+
default: () => false;
|
|
775
|
+
};
|
|
776
|
+
}>> & Readonly<{
|
|
777
|
+
onScroll?: ((_: number[]) => any) | undefined;
|
|
778
|
+
onScrollEnd?: (() => any) | undefined;
|
|
779
|
+
onScrollStart?: (() => any) | undefined;
|
|
780
|
+
}>, {
|
|
781
|
+
horizontal: boolean;
|
|
782
|
+
count: number;
|
|
783
|
+
estimateSize: number | ((index: number) => number);
|
|
784
|
+
options: _tanstack_virtual_core.PartialKeys<VirtualizerOptions<HTMLElement, HTMLElement>, "observeElementRect" | "observeElementOffset" | "scrollToFn" | "getScrollElement">;
|
|
785
|
+
as: string;
|
|
786
|
+
wrapperAs: string;
|
|
787
|
+
wrapperStyle: CSSProperties;
|
|
788
|
+
wrapperClass: string | string[] | Record<string, boolean>;
|
|
789
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
699
790
|
|
|
700
791
|
declare function install(app: App): void;
|
|
701
792
|
|
|
702
|
-
export { HiAffix, HiAffixTarget, HiConfigProvider, HiFileUpload, HiIcon, HiItem, HiPopover, HiSelection, HiSwitch, HiTabPane, HiTabs, install };
|
|
793
|
+
export { HiAffix, HiAffixTarget, HiConfigProvider, HiFileUpload, HiIcon, HiItem, HiPopover, HiSelection, HiSwitch, HiTabPane, HiTabs, HiVirtualList, install };
|