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