@hoci/components 0.8.0 → 0.9.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.d.cts DELETED
@@ -1,793 +0,0 @@
1
- import * as vue from 'vue';
2
- import { PropType, KeepAliveProps, CSSProperties, App } from 'vue';
3
- import * as _hoci_core from '@hoci/core';
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';
7
-
8
- declare const HiAffixTarget: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
9
- [key: string]: any;
10
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
11
-
12
- declare const HiAffix: vue.DefineComponent<vue.ExtractPropTypes<{
13
- as: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- fixedClass: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- offset: {
22
- type: NumberConstructor;
23
- default: number;
24
- };
25
- position: {
26
- type: vue.PropType<"top" | "bottom">;
27
- default: string;
28
- };
29
- target: {
30
- type: vue.PropType<string | Element | (() => Element | null | undefined)>;
31
- };
32
- zIndex: {
33
- type: NumberConstructor;
34
- default: number;
35
- };
36
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
37
- [key: string]: any;
38
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
39
- as: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- fixedClass: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- offset: {
48
- type: NumberConstructor;
49
- default: number;
50
- };
51
- position: {
52
- type: vue.PropType<"top" | "bottom">;
53
- default: string;
54
- };
55
- target: {
56
- type: vue.PropType<string | Element | (() => Element | null | undefined)>;
57
- };
58
- zIndex: {
59
- type: NumberConstructor;
60
- default: number;
61
- };
62
- }>> & Readonly<{}>, {
63
- fixedClass: string;
64
- offset: number;
65
- position: "top" | "bottom";
66
- zIndex: number;
67
- as: string;
68
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
69
-
70
- declare const HiConfigProvider: vue.DefineComponent<vue.ExtractPropTypes<{
71
- as: {
72
- type: StringConstructor;
73
- };
74
- icon: {
75
- type: vue.PropType<Partial<_hoci_core.SharedConfig["icon"]>>;
76
- };
77
- activateEvent: {
78
- type: vue.PropType<Partial<_hoci_core.SharedConfig["activateEvent"]>>;
79
- };
80
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
81
- [key: string]: any;
82
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
83
- as: {
84
- type: StringConstructor;
85
- };
86
- icon: {
87
- type: vue.PropType<Partial<_hoci_core.SharedConfig["icon"]>>;
88
- };
89
- activateEvent: {
90
- type: vue.PropType<Partial<_hoci_core.SharedConfig["activateEvent"]>>;
91
- };
92
- }>> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
93
-
94
- declare const HiFileUpload: vue.DefineComponent<vue.ExtractPropTypes<{
95
- accept: {
96
- type: StringConstructor;
97
- default: string;
98
- };
99
- as: {
100
- type: StringConstructor;
101
- default: string;
102
- };
103
- modelValue: {
104
- type: vue.PropType<File | File[]>;
105
- default: () => never[];
106
- };
107
- multiple: {
108
- type: BooleanConstructor;
109
- default: boolean;
110
- };
111
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
112
- [key: string]: any;
113
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
114
- accept: {
115
- type: StringConstructor;
116
- default: string;
117
- };
118
- as: {
119
- type: StringConstructor;
120
- default: string;
121
- };
122
- modelValue: {
123
- type: vue.PropType<File | File[]>;
124
- default: () => never[];
125
- };
126
- multiple: {
127
- type: BooleanConstructor;
128
- default: boolean;
129
- };
130
- }>> & Readonly<{
131
- onChange?: ((...args: any[]) => any) | undefined;
132
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
133
- }>, {
134
- multiple: boolean;
135
- modelValue: File | File[];
136
- as: string;
137
- accept: string;
138
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
139
-
140
- declare const HiIcon: vue.DefineComponent<vue.ExtractPropTypes<{
141
- as: {
142
- type: StringConstructor;
143
- default: string;
144
- };
145
- src: {
146
- type: StringConstructor;
147
- required: true;
148
- };
149
- size: {
150
- type: (StringConstructor | NumberConstructor)[];
151
- };
152
- width: {
153
- type: (StringConstructor | NumberConstructor)[];
154
- };
155
- height: {
156
- type: (StringConstructor | NumberConstructor)[];
157
- };
158
- color: {
159
- type: StringConstructor;
160
- default: string;
161
- };
162
- mask: {
163
- type: vue.PropType<boolean | "auto">;
164
- default: () => "auto";
165
- };
166
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
167
- [key: string]: any;
168
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
169
- as: {
170
- type: StringConstructor;
171
- default: string;
172
- };
173
- src: {
174
- type: StringConstructor;
175
- required: true;
176
- };
177
- size: {
178
- type: (StringConstructor | NumberConstructor)[];
179
- };
180
- width: {
181
- type: (StringConstructor | NumberConstructor)[];
182
- };
183
- height: {
184
- type: (StringConstructor | NumberConstructor)[];
185
- };
186
- color: {
187
- type: StringConstructor;
188
- default: string;
189
- };
190
- mask: {
191
- type: vue.PropType<boolean | "auto">;
192
- default: () => "auto";
193
- };
194
- }>> & Readonly<{}>, {
195
- mask: boolean | "auto";
196
- color: string;
197
- as: string;
198
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
199
-
200
- declare const HiItem: vue.DefineComponent<vue.ExtractPropTypes<{
201
- as: {
202
- type: StringConstructor;
203
- default: string;
204
- };
205
- value: {
206
- type: vue.PropType<any>;
207
- default(): string;
208
- };
209
- label: {
210
- type: vue.PropType<string | ((val: any) => string) | _hoci_core.ElementLike | null>;
211
- };
212
- keepAlive: {
213
- type: BooleanConstructor;
214
- default: () => true;
215
- };
216
- activateEvent: {
217
- type: vue.PropType<_hoci_core.ActivateEvent>;
218
- };
219
- disabled: {
220
- type: BooleanConstructor;
221
- default: boolean;
222
- };
223
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
224
- [key: string]: any;
225
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "reject"[], "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
226
- as: {
227
- type: StringConstructor;
228
- default: string;
229
- };
230
- value: {
231
- type: vue.PropType<any>;
232
- default(): string;
233
- };
234
- label: {
235
- type: vue.PropType<string | ((val: any) => string) | _hoci_core.ElementLike | null>;
236
- };
237
- keepAlive: {
238
- type: BooleanConstructor;
239
- default: () => true;
240
- };
241
- activateEvent: {
242
- type: vue.PropType<_hoci_core.ActivateEvent>;
243
- };
244
- disabled: {
245
- type: BooleanConstructor;
246
- default: boolean;
247
- };
248
- }>> & Readonly<{
249
- onReject?: ((...args: any[]) => any) | undefined;
250
- }>, {
251
- value: any;
252
- disabled: boolean;
253
- keepAlive: boolean;
254
- as: string;
255
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
256
-
257
- declare const HiPopover: vue.DefineComponent<vue.ExtractPropTypes<{
258
- as: {
259
- type: StringConstructor;
260
- default: string;
261
- };
262
- popupClass: {
263
- type: StringConstructor;
264
- };
265
- placement: {
266
- type: vue.PropType<_hoci_core.Placement>;
267
- default: () => "auto";
268
- };
269
- triggerEvent: {
270
- type: vue.PropType<_hoci_core.TriggerEvent>;
271
- default: () => "hover";
272
- };
273
- offset: {
274
- type: NumberConstructor;
275
- default: () => 8;
276
- };
277
- lazy: {
278
- type: BooleanConstructor;
279
- default: () => false;
280
- };
281
- visible: {
282
- type: BooleanConstructor;
283
- default: () => false;
284
- };
285
- disabled: {
286
- type: BooleanConstructor;
287
- default: () => false;
288
- };
289
- teleport: {
290
- type: vue.PropType<string | HTMLElement | boolean>;
291
- default: () => true;
292
- };
293
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
294
- [key: string]: any;
295
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:visible")[], "change" | "update:visible", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
296
- as: {
297
- type: StringConstructor;
298
- default: string;
299
- };
300
- popupClass: {
301
- type: StringConstructor;
302
- };
303
- placement: {
304
- type: vue.PropType<_hoci_core.Placement>;
305
- default: () => "auto";
306
- };
307
- triggerEvent: {
308
- type: vue.PropType<_hoci_core.TriggerEvent>;
309
- default: () => "hover";
310
- };
311
- offset: {
312
- type: NumberConstructor;
313
- default: () => 8;
314
- };
315
- lazy: {
316
- type: BooleanConstructor;
317
- default: () => false;
318
- };
319
- visible: {
320
- type: BooleanConstructor;
321
- default: () => false;
322
- };
323
- disabled: {
324
- type: BooleanConstructor;
325
- default: () => false;
326
- };
327
- teleport: {
328
- type: vue.PropType<string | HTMLElement | boolean>;
329
- default: () => true;
330
- };
331
- }>> & Readonly<{
332
- onChange?: ((...args: any[]) => any) | undefined;
333
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
334
- }>, {
335
- offset: number;
336
- visible: boolean;
337
- disabled: boolean;
338
- placement: _hoci_core.Placement;
339
- triggerEvent: _hoci_core.TriggerEvent;
340
- lazy: boolean;
341
- teleport: string | boolean | HTMLElement;
342
- as: string;
343
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
344
-
345
- declare const HiSelection: vue.DefineComponent<vue.ExtractPropTypes<{
346
- as: {
347
- type: StringConstructor;
348
- default: string;
349
- };
350
- modelValue: {
351
- type: vue.PropType<any>;
352
- default: () => null;
353
- };
354
- activeClass: {
355
- type: vue.PropType<string | string[] | Record<string, boolean>>;
356
- default: string;
357
- };
358
- itemClass: {
359
- type: vue.PropType<string | string[] | Record<string, boolean>>;
360
- default: string;
361
- };
362
- disabledClass: {
363
- type: vue.PropType<string | string[] | Record<string, boolean>>;
364
- default: string;
365
- };
366
- unactiveClass: {
367
- type: vue.PropType<string | string[] | Record<string, boolean>>;
368
- default: string;
369
- };
370
- label: {
371
- type: vue.PropType<string | ((val?: any) => string) | null>;
372
- };
373
- multiple: {
374
- type: vue.PropType<boolean | number | [number, number?]>;
375
- default: () => false;
376
- };
377
- clearable: {
378
- type: BooleanConstructor;
379
- };
380
- defaultValue: {
381
- type: vue.PropType<any>;
382
- default: () => null;
383
- };
384
- activateEvent: {
385
- type: vue.PropType<_hoci_core.ActivateEvent>;
386
- };
387
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
388
- [key: string]: any;
389
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "load" | "unload" | "update:modelValue" | "reject")[], "change" | "load" | "unload" | "update:modelValue" | "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
390
- as: {
391
- type: StringConstructor;
392
- default: string;
393
- };
394
- modelValue: {
395
- type: vue.PropType<any>;
396
- default: () => null;
397
- };
398
- activeClass: {
399
- type: vue.PropType<string | string[] | Record<string, boolean>>;
400
- default: string;
401
- };
402
- itemClass: {
403
- type: vue.PropType<string | string[] | Record<string, boolean>>;
404
- default: string;
405
- };
406
- disabledClass: {
407
- type: vue.PropType<string | string[] | Record<string, boolean>>;
408
- default: string;
409
- };
410
- unactiveClass: {
411
- type: vue.PropType<string | string[] | Record<string, boolean>>;
412
- default: string;
413
- };
414
- label: {
415
- type: vue.PropType<string | ((val?: any) => string) | null>;
416
- };
417
- multiple: {
418
- type: vue.PropType<boolean | number | [number, number?]>;
419
- default: () => false;
420
- };
421
- clearable: {
422
- type: BooleanConstructor;
423
- };
424
- defaultValue: {
425
- type: vue.PropType<any>;
426
- default: () => null;
427
- };
428
- activateEvent: {
429
- type: vue.PropType<_hoci_core.ActivateEvent>;
430
- };
431
- }>> & Readonly<{
432
- onChange?: ((...args: any[]) => any) | undefined;
433
- onLoad?: ((...args: any[]) => any) | undefined;
434
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
435
- onReject?: ((...args: any[]) => any) | undefined;
436
- onUnload?: ((...args: any[]) => any) | undefined;
437
- }>, {
438
- multiple: number | boolean | [number, (number | undefined)?];
439
- modelValue: any;
440
- activeClass: string | string[] | Record<string, boolean>;
441
- itemClass: string | string[] | Record<string, boolean>;
442
- disabledClass: string | string[] | Record<string, boolean>;
443
- unactiveClass: string | string[] | Record<string, boolean>;
444
- clearable: boolean;
445
- defaultValue: any;
446
- as: string;
447
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
448
-
449
- declare const HiSwitch: vue.DefineComponent<vue.ExtractPropTypes<{
450
- as: {
451
- type: StringConstructor;
452
- default: string;
453
- };
454
- modelValue: {
455
- type: BooleanConstructor;
456
- default: () => false;
457
- };
458
- class: {
459
- type: vue.PropType<string | string[] | Record<string, boolean>>;
460
- };
461
- activeClass: {
462
- type: vue.PropType<string | string[] | Record<string, boolean>>;
463
- };
464
- unactiveClass: {
465
- type: vue.PropType<string | string[] | Record<string, boolean>>;
466
- };
467
- activateEvent: {
468
- type: vue.PropType<_hoci_core.ActivateEvent>;
469
- };
470
- disabled: {
471
- type: BooleanConstructor;
472
- default: () => false;
473
- };
474
- disabledClass: {
475
- type: vue.PropType<string | string[] | Record<string, boolean>>;
476
- };
477
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
478
- [key: string]: any;
479
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue" | "reject")[], "change" | "update:modelValue" | "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
480
- as: {
481
- type: StringConstructor;
482
- default: string;
483
- };
484
- modelValue: {
485
- type: BooleanConstructor;
486
- default: () => false;
487
- };
488
- class: {
489
- type: vue.PropType<string | string[] | Record<string, boolean>>;
490
- };
491
- activeClass: {
492
- type: vue.PropType<string | string[] | Record<string, boolean>>;
493
- };
494
- unactiveClass: {
495
- type: vue.PropType<string | string[] | Record<string, boolean>>;
496
- };
497
- activateEvent: {
498
- type: vue.PropType<_hoci_core.ActivateEvent>;
499
- };
500
- disabled: {
501
- type: BooleanConstructor;
502
- default: () => false;
503
- };
504
- disabledClass: {
505
- type: vue.PropType<string | string[] | Record<string, boolean>>;
506
- };
507
- }>> & Readonly<{
508
- onChange?: ((...args: any[]) => any) | undefined;
509
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
510
- onReject?: ((...args: any[]) => any) | undefined;
511
- }>, {
512
- disabled: boolean;
513
- modelValue: boolean;
514
- as: string;
515
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
516
-
517
- declare const HiTabPane: vue.DefineComponent<vue.ExtractPropTypes<{
518
- value: {
519
- type: vue.PropType<any>;
520
- default(): string;
521
- };
522
- label: {
523
- type: vue.PropType<string | ((val: any) => string) | _hoci_shared.ElementLike | null>;
524
- };
525
- keepAlive: {
526
- type: BooleanConstructor;
527
- default: () => true;
528
- };
529
- activateEvent: {
530
- type: vue.PropType<_hoci_shared.ActivateEvent>;
531
- };
532
- disabled: {
533
- type: BooleanConstructor;
534
- default: boolean;
535
- };
536
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
537
- [key: string]: any;
538
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "reject"[], "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
539
- value: {
540
- type: vue.PropType<any>;
541
- default(): string;
542
- };
543
- label: {
544
- type: vue.PropType<string | ((val: any) => string) | _hoci_shared.ElementLike | null>;
545
- };
546
- keepAlive: {
547
- type: BooleanConstructor;
548
- default: () => true;
549
- };
550
- activateEvent: {
551
- type: vue.PropType<_hoci_shared.ActivateEvent>;
552
- };
553
- disabled: {
554
- type: BooleanConstructor;
555
- default: boolean;
556
- };
557
- }>> & Readonly<{
558
- onReject?: ((...args: any[]) => any) | undefined;
559
- }>, {
560
- value: any;
561
- disabled: boolean;
562
- keepAlive: boolean;
563
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
564
-
565
- declare const HiTabs: vue.DefineComponent<vue.ExtractPropTypes<{
566
- headerClass: {
567
- type: PropType<string | string[] | Record<string, boolean>>;
568
- };
569
- as: {
570
- type: StringConstructor;
571
- default: string;
572
- };
573
- headerAs: {
574
- type: StringConstructor;
575
- default: string;
576
- };
577
- contentAs: {
578
- type: StringConstructor;
579
- default: string;
580
- };
581
- contentClass: {
582
- type: PropType<string | string[] | Record<string, boolean>>;
583
- };
584
- keepAlive: {
585
- type: PropType<boolean | KeepAliveProps>;
586
- default: boolean;
587
- };
588
- modelValue: {
589
- type: PropType<any>;
590
- default: () => null;
591
- };
592
- activeClass: {
593
- type: PropType<string | string[] | Record<string, boolean>>;
594
- default: string;
595
- };
596
- itemClass: {
597
- type: PropType<string | string[] | Record<string, boolean>>;
598
- default: string;
599
- };
600
- disabledClass: {
601
- type: PropType<string | string[] | Record<string, boolean>>;
602
- default: string;
603
- };
604
- unactiveClass: {
605
- type: PropType<string | string[] | Record<string, boolean>>;
606
- default: string;
607
- };
608
- label: {
609
- type: PropType<string | ((val?: any) => string) | null>;
610
- };
611
- multiple: {
612
- type: PropType<boolean | number | [number, number?]>;
613
- default: () => false;
614
- };
615
- clearable: {
616
- type: BooleanConstructor;
617
- };
618
- defaultValue: {
619
- type: PropType<any>;
620
- default: () => null;
621
- };
622
- activateEvent: {
623
- type: PropType<_hoci_shared.ActivateEvent>;
624
- };
625
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
626
- [key: string]: any;
627
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
628
- headerClass: {
629
- type: PropType<string | string[] | Record<string, boolean>>;
630
- };
631
- as: {
632
- type: StringConstructor;
633
- default: string;
634
- };
635
- headerAs: {
636
- type: StringConstructor;
637
- default: string;
638
- };
639
- contentAs: {
640
- type: StringConstructor;
641
- default: string;
642
- };
643
- contentClass: {
644
- type: PropType<string | string[] | Record<string, boolean>>;
645
- };
646
- keepAlive: {
647
- type: PropType<boolean | KeepAliveProps>;
648
- default: boolean;
649
- };
650
- modelValue: {
651
- type: PropType<any>;
652
- default: () => null;
653
- };
654
- activeClass: {
655
- type: PropType<string | string[] | Record<string, boolean>>;
656
- default: string;
657
- };
658
- itemClass: {
659
- type: PropType<string | string[] | Record<string, boolean>>;
660
- default: string;
661
- };
662
- disabledClass: {
663
- type: PropType<string | string[] | Record<string, boolean>>;
664
- default: string;
665
- };
666
- unactiveClass: {
667
- type: PropType<string | string[] | Record<string, boolean>>;
668
- default: string;
669
- };
670
- label: {
671
- type: PropType<string | ((val?: any) => string) | null>;
672
- };
673
- multiple: {
674
- type: PropType<boolean | number | [number, number?]>;
675
- default: () => false;
676
- };
677
- clearable: {
678
- type: BooleanConstructor;
679
- };
680
- defaultValue: {
681
- type: PropType<any>;
682
- default: () => null;
683
- };
684
- activateEvent: {
685
- type: PropType<_hoci_shared.ActivateEvent>;
686
- };
687
- }>> & Readonly<{}>, {
688
- multiple: number | boolean | [number, (number | undefined)?];
689
- modelValue: any;
690
- activeClass: string | string[] | Record<string, boolean>;
691
- itemClass: string | string[] | Record<string, boolean>;
692
- disabledClass: string | string[] | Record<string, boolean>;
693
- unactiveClass: string | string[] | Record<string, boolean>;
694
- clearable: boolean;
695
- defaultValue: any;
696
- keepAlive: boolean | KeepAliveProps;
697
- as: string;
698
- headerAs: string;
699
- contentAs: string;
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>;
790
-
791
- declare function install(app: App): void;
792
-
793
- export { HiAffix, HiAffixTarget, HiConfigProvider, HiFileUpload, HiIcon, HiItem, HiPopover, HiSelection, HiSwitch, HiTabPane, HiTabs, HiVirtualList, install };