@hoci/components 0.6.0 → 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.cjs +487 -139
- package/dist/index.d.cts +304 -258
- package/dist/index.d.mts +304 -258
- package/dist/index.d.ts +304 -258
- package/dist/index.mjs +481 -134
- package/package.json +3 -4
package/dist/index.d.cts
CHANGED
|
@@ -3,6 +3,10 @@ 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
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<{}>>, {}, {}>;
|
|
9
|
+
|
|
6
10
|
declare const HiAffix: vue.DefineComponent<{
|
|
7
11
|
as: {
|
|
8
12
|
type: StringConstructor;
|
|
@@ -29,7 +33,7 @@ declare const HiAffix: vue.DefineComponent<{
|
|
|
29
33
|
};
|
|
30
34
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
31
35
|
[key: string]: any;
|
|
32
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.
|
|
36
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
33
37
|
as: {
|
|
34
38
|
type: StringConstructor;
|
|
35
39
|
default: string;
|
|
@@ -61,111 +65,133 @@ declare const HiAffix: vue.DefineComponent<{
|
|
|
61
65
|
as: string;
|
|
62
66
|
}, {}>;
|
|
63
67
|
|
|
64
|
-
declare const
|
|
65
|
-
[key: string]: any;
|
|
66
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}, {}>;
|
|
67
|
-
|
|
68
|
-
declare const HiSelection: vue.DefineComponent<{
|
|
68
|
+
declare const HiConfigProvider: vue.DefineComponent<{
|
|
69
69
|
as: {
|
|
70
70
|
type: StringConstructor;
|
|
71
|
-
default: string;
|
|
72
71
|
};
|
|
73
|
-
|
|
74
|
-
type: vue.PropType<
|
|
75
|
-
default: () => null;
|
|
72
|
+
icon: {
|
|
73
|
+
type: vue.PropType<Partial<_hoci_core.SharedConfig["icon"]>>;
|
|
76
74
|
};
|
|
77
|
-
|
|
78
|
-
type: vue.PropType<
|
|
79
|
-
default: string;
|
|
75
|
+
activateEvent: {
|
|
76
|
+
type: vue.PropType<Partial<_hoci_core.SharedConfig["activateEvent"]>>;
|
|
80
77
|
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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;
|
|
84
83
|
};
|
|
85
|
-
|
|
86
|
-
type: vue.PropType<
|
|
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;
|
|
87
95
|
default: string;
|
|
88
96
|
};
|
|
89
|
-
|
|
90
|
-
type:
|
|
97
|
+
as: {
|
|
98
|
+
type: StringConstructor;
|
|
91
99
|
default: string;
|
|
92
100
|
};
|
|
93
|
-
|
|
94
|
-
type: vue.PropType<
|
|
101
|
+
modelValue: {
|
|
102
|
+
type: vue.PropType<File | File[]>;
|
|
103
|
+
default: () => never[];
|
|
95
104
|
};
|
|
96
105
|
multiple: {
|
|
97
|
-
type: vue.PropType<boolean | number | [number, number?]>;
|
|
98
|
-
default: () => false;
|
|
99
|
-
};
|
|
100
|
-
clearable: {
|
|
101
106
|
type: BooleanConstructor;
|
|
102
|
-
|
|
103
|
-
defaultValue: {
|
|
104
|
-
type: vue.PropType<any>;
|
|
105
|
-
default: () => null;
|
|
106
|
-
};
|
|
107
|
-
activateEvent: {
|
|
108
|
-
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
107
|
+
default: boolean;
|
|
109
108
|
};
|
|
110
109
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
111
110
|
[key: string]: any;
|
|
112
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "
|
|
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
|
+
};
|
|
113
116
|
as: {
|
|
114
117
|
type: StringConstructor;
|
|
115
118
|
default: string;
|
|
116
119
|
};
|
|
117
120
|
modelValue: {
|
|
118
|
-
type: vue.PropType<
|
|
119
|
-
default: () =>
|
|
121
|
+
type: vue.PropType<File | File[]>;
|
|
122
|
+
default: () => never[];
|
|
120
123
|
};
|
|
121
|
-
|
|
122
|
-
type:
|
|
123
|
-
default:
|
|
124
|
+
multiple: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
124
127
|
};
|
|
125
|
-
|
|
126
|
-
|
|
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;
|
|
127
141
|
default: string;
|
|
128
142
|
};
|
|
129
|
-
|
|
130
|
-
type:
|
|
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;
|
|
131
158
|
default: string;
|
|
132
159
|
};
|
|
133
|
-
|
|
134
|
-
type: vue.PropType<
|
|
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;
|
|
135
169
|
default: string;
|
|
136
170
|
};
|
|
137
|
-
|
|
138
|
-
type:
|
|
171
|
+
src: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
required: true;
|
|
139
174
|
};
|
|
140
|
-
|
|
141
|
-
type:
|
|
142
|
-
default: () => false;
|
|
175
|
+
size: {
|
|
176
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
143
177
|
};
|
|
144
|
-
|
|
145
|
-
type:
|
|
178
|
+
width: {
|
|
179
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
146
180
|
};
|
|
147
|
-
|
|
148
|
-
type:
|
|
149
|
-
default: () => null;
|
|
181
|
+
height: {
|
|
182
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
150
183
|
};
|
|
151
|
-
|
|
152
|
-
type:
|
|
184
|
+
color: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
153
187
|
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
multiple: number | boolean | [number, (number | undefined)?];
|
|
162
|
-
modelValue: any;
|
|
163
|
-
activeClass: string | string[] | Record<string, boolean>;
|
|
164
|
-
itemClass: string | string[] | Record<string, boolean>;
|
|
165
|
-
disabledClass: string | string[] | Record<string, boolean>;
|
|
166
|
-
unactiveClass: string | string[] | Record<string, boolean>;
|
|
167
|
-
clearable: boolean;
|
|
168
|
-
defaultValue: any;
|
|
188
|
+
mask: {
|
|
189
|
+
type: vue.PropType<boolean | "auto">;
|
|
190
|
+
default: () => "auto";
|
|
191
|
+
};
|
|
192
|
+
}>>, {
|
|
193
|
+
mask: boolean | "auto";
|
|
194
|
+
color: string;
|
|
169
195
|
as: string;
|
|
170
196
|
}, {}>;
|
|
171
197
|
|
|
@@ -194,7 +220,7 @@ declare const HiItem: vue.DefineComponent<{
|
|
|
194
220
|
};
|
|
195
221
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
196
222
|
[key: string]: any;
|
|
197
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "reject"[], "reject", vue.
|
|
223
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "reject"[], "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
198
224
|
as: {
|
|
199
225
|
type: StringConstructor;
|
|
200
226
|
default: string;
|
|
@@ -226,63 +252,195 @@ declare const HiItem: vue.DefineComponent<{
|
|
|
226
252
|
as: string;
|
|
227
253
|
}, {}>;
|
|
228
254
|
|
|
229
|
-
declare const
|
|
255
|
+
declare const HiPopover: vue.DefineComponent<{
|
|
230
256
|
as: {
|
|
231
257
|
type: StringConstructor;
|
|
232
258
|
default: string;
|
|
233
259
|
};
|
|
234
|
-
|
|
260
|
+
popupClass: {
|
|
235
261
|
type: StringConstructor;
|
|
236
|
-
required: true;
|
|
237
262
|
};
|
|
238
|
-
|
|
239
|
-
type:
|
|
263
|
+
placement: {
|
|
264
|
+
type: vue.PropType<_hoci_core.Placement>;
|
|
265
|
+
default: () => "auto";
|
|
240
266
|
};
|
|
241
|
-
|
|
242
|
-
type:
|
|
267
|
+
triggerEvent: {
|
|
268
|
+
type: vue.PropType<_hoci_core.TriggerEvent>;
|
|
269
|
+
default: () => "hover";
|
|
243
270
|
};
|
|
244
|
-
|
|
245
|
-
type:
|
|
271
|
+
offset: {
|
|
272
|
+
type: NumberConstructor;
|
|
273
|
+
default: () => 8;
|
|
274
|
+
};
|
|
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: {
|
|
295
|
+
type: StringConstructor;
|
|
296
|
+
default: string;
|
|
297
|
+
};
|
|
298
|
+
popupClass: {
|
|
299
|
+
type: StringConstructor;
|
|
300
|
+
};
|
|
301
|
+
placement: {
|
|
302
|
+
type: vue.PropType<_hoci_core.Placement>;
|
|
303
|
+
default: () => "auto";
|
|
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;
|
|
246
377
|
};
|
|
247
|
-
|
|
248
|
-
type:
|
|
249
|
-
default:
|
|
378
|
+
defaultValue: {
|
|
379
|
+
type: vue.PropType<any>;
|
|
380
|
+
default: () => null;
|
|
250
381
|
};
|
|
251
|
-
|
|
252
|
-
type: vue.PropType<
|
|
253
|
-
default: () => "auto";
|
|
382
|
+
activateEvent: {
|
|
383
|
+
type: vue.PropType<_hoci_core.ActivateEvent>;
|
|
254
384
|
};
|
|
255
385
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
256
386
|
[key: string]: any;
|
|
257
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin,
|
|
387
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "load" | "unload" | "update:modelValue" | "reject")[], "change" | "load" | "unload" | "update:modelValue" | "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
258
388
|
as: {
|
|
259
389
|
type: StringConstructor;
|
|
260
390
|
default: string;
|
|
261
391
|
};
|
|
262
|
-
|
|
263
|
-
type:
|
|
264
|
-
|
|
392
|
+
modelValue: {
|
|
393
|
+
type: vue.PropType<any>;
|
|
394
|
+
default: () => null;
|
|
265
395
|
};
|
|
266
|
-
|
|
267
|
-
type:
|
|
396
|
+
activeClass: {
|
|
397
|
+
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
398
|
+
default: string;
|
|
268
399
|
};
|
|
269
|
-
|
|
270
|
-
type:
|
|
400
|
+
itemClass: {
|
|
401
|
+
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
402
|
+
default: string;
|
|
271
403
|
};
|
|
272
|
-
|
|
273
|
-
type:
|
|
404
|
+
disabledClass: {
|
|
405
|
+
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
406
|
+
default: string;
|
|
274
407
|
};
|
|
275
|
-
|
|
276
|
-
type:
|
|
408
|
+
unactiveClass: {
|
|
409
|
+
type: vue.PropType<string | string[] | Record<string, boolean>>;
|
|
277
410
|
default: string;
|
|
278
411
|
};
|
|
279
|
-
|
|
280
|
-
type: vue.PropType<
|
|
281
|
-
default: () => "auto";
|
|
412
|
+
label: {
|
|
413
|
+
type: vue.PropType<string | ((val?: any) => string) | null>;
|
|
282
414
|
};
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
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;
|
|
286
444
|
as: string;
|
|
287
445
|
}, {}>;
|
|
288
446
|
|
|
@@ -316,7 +474,7 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
316
474
|
};
|
|
317
475
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
318
476
|
[key: string]: any;
|
|
319
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue" | "reject")[], "change" | "update:modelValue" | "reject", vue.
|
|
477
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue" | "reject")[], "change" | "update:modelValue" | "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
320
478
|
as: {
|
|
321
479
|
type: StringConstructor;
|
|
322
480
|
default: string;
|
|
@@ -354,29 +512,53 @@ declare const HiSwitch: vue.DefineComponent<{
|
|
|
354
512
|
as: string;
|
|
355
513
|
}, {}>;
|
|
356
514
|
|
|
357
|
-
declare const
|
|
358
|
-
|
|
359
|
-
type:
|
|
515
|
+
declare const HiTabPane: vue.DefineComponent<{
|
|
516
|
+
value: {
|
|
517
|
+
type: vue.PropType<any>;
|
|
518
|
+
default(): string;
|
|
360
519
|
};
|
|
361
|
-
|
|
362
|
-
type: vue.PropType<
|
|
520
|
+
label: {
|
|
521
|
+
type: vue.PropType<string | ((val: any) => string) | _hoci_shared.ElementLike | null>;
|
|
522
|
+
};
|
|
523
|
+
keepAlive: {
|
|
524
|
+
type: BooleanConstructor;
|
|
525
|
+
default: () => true;
|
|
363
526
|
};
|
|
364
527
|
activateEvent: {
|
|
365
|
-
type: vue.PropType<
|
|
528
|
+
type: vue.PropType<_hoci_shared.ActivateEvent>;
|
|
529
|
+
};
|
|
530
|
+
disabled: {
|
|
531
|
+
type: BooleanConstructor;
|
|
532
|
+
default: boolean;
|
|
366
533
|
};
|
|
367
534
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
368
535
|
[key: string]: any;
|
|
369
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin,
|
|
370
|
-
|
|
371
|
-
type:
|
|
536
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "reject"[], "reject", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
537
|
+
value: {
|
|
538
|
+
type: vue.PropType<any>;
|
|
539
|
+
default(): string;
|
|
372
540
|
};
|
|
373
|
-
|
|
374
|
-
type: vue.PropType<
|
|
541
|
+
label: {
|
|
542
|
+
type: vue.PropType<string | ((val: any) => string) | _hoci_shared.ElementLike | null>;
|
|
543
|
+
};
|
|
544
|
+
keepAlive: {
|
|
545
|
+
type: BooleanConstructor;
|
|
546
|
+
default: () => true;
|
|
375
547
|
};
|
|
376
548
|
activateEvent: {
|
|
377
|
-
type: vue.PropType<
|
|
549
|
+
type: vue.PropType<_hoci_shared.ActivateEvent>;
|
|
378
550
|
};
|
|
379
|
-
|
|
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
|
+
}, {}>;
|
|
380
562
|
|
|
381
563
|
declare const HiTabs: vue.DefineComponent<{
|
|
382
564
|
headerClass: {
|
|
@@ -440,7 +622,7 @@ declare const HiTabs: vue.DefineComponent<{
|
|
|
440
622
|
};
|
|
441
623
|
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
442
624
|
[key: string]: any;
|
|
443
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.
|
|
625
|
+
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
444
626
|
headerClass: {
|
|
445
627
|
type: PropType<string | string[] | Record<string, boolean>>;
|
|
446
628
|
};
|
|
@@ -515,142 +697,6 @@ declare const HiTabs: vue.DefineComponent<{
|
|
|
515
697
|
contentAs: string;
|
|
516
698
|
}, {}>;
|
|
517
699
|
|
|
518
|
-
declare const HiTabPane: vue.DefineComponent<{
|
|
519
|
-
value: {
|
|
520
|
-
type: vue.PropType<any>;
|
|
521
|
-
default(): string;
|
|
522
|
-
};
|
|
523
|
-
label: {
|
|
524
|
-
type: vue.PropType<string | ((val: any) => string) | _hoci_shared.ElementLike | null>;
|
|
525
|
-
};
|
|
526
|
-
keepAlive: {
|
|
527
|
-
type: BooleanConstructor;
|
|
528
|
-
default: () => true;
|
|
529
|
-
};
|
|
530
|
-
activateEvent: {
|
|
531
|
-
type: vue.PropType<_hoci_shared.ActivateEvent>;
|
|
532
|
-
};
|
|
533
|
-
disabled: {
|
|
534
|
-
type: BooleanConstructor;
|
|
535
|
-
default: boolean;
|
|
536
|
-
};
|
|
537
|
-
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
538
|
-
[key: string]: any;
|
|
539
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "reject"[], "reject", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
540
|
-
value: {
|
|
541
|
-
type: vue.PropType<any>;
|
|
542
|
-
default(): string;
|
|
543
|
-
};
|
|
544
|
-
label: {
|
|
545
|
-
type: vue.PropType<string | ((val: any) => string) | _hoci_shared.ElementLike | null>;
|
|
546
|
-
};
|
|
547
|
-
keepAlive: {
|
|
548
|
-
type: BooleanConstructor;
|
|
549
|
-
default: () => true;
|
|
550
|
-
};
|
|
551
|
-
activateEvent: {
|
|
552
|
-
type: vue.PropType<_hoci_shared.ActivateEvent>;
|
|
553
|
-
};
|
|
554
|
-
disabled: {
|
|
555
|
-
type: BooleanConstructor;
|
|
556
|
-
default: boolean;
|
|
557
|
-
};
|
|
558
|
-
}>> & {
|
|
559
|
-
onReject?: ((...args: any[]) => any) | undefined;
|
|
560
|
-
}, {
|
|
561
|
-
value: any;
|
|
562
|
-
disabled: boolean;
|
|
563
|
-
keepAlive: boolean;
|
|
564
|
-
}, {}>;
|
|
565
|
-
|
|
566
|
-
declare const HiPopover: vue.DefineComponent<{
|
|
567
|
-
as: {
|
|
568
|
-
type: StringConstructor;
|
|
569
|
-
default: string;
|
|
570
|
-
};
|
|
571
|
-
popupClass: {
|
|
572
|
-
type: StringConstructor;
|
|
573
|
-
};
|
|
574
|
-
placement: {
|
|
575
|
-
type: vue.PropType<_hoci_core.Placement>;
|
|
576
|
-
default: () => "auto";
|
|
577
|
-
};
|
|
578
|
-
triggerEvent: {
|
|
579
|
-
type: vue.PropType<_hoci_core.TriggerEvent>;
|
|
580
|
-
default: () => "hover";
|
|
581
|
-
};
|
|
582
|
-
offset: {
|
|
583
|
-
type: NumberConstructor;
|
|
584
|
-
default: () => 8;
|
|
585
|
-
};
|
|
586
|
-
lazy: {
|
|
587
|
-
type: BooleanConstructor;
|
|
588
|
-
default: () => false;
|
|
589
|
-
};
|
|
590
|
-
visible: {
|
|
591
|
-
type: BooleanConstructor;
|
|
592
|
-
default: () => false;
|
|
593
|
-
};
|
|
594
|
-
disabled: {
|
|
595
|
-
type: BooleanConstructor;
|
|
596
|
-
default: () => false;
|
|
597
|
-
};
|
|
598
|
-
teleport: {
|
|
599
|
-
type: vue.PropType<string | HTMLElement | boolean>;
|
|
600
|
-
default: () => true;
|
|
601
|
-
};
|
|
602
|
-
}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
603
|
-
[key: string]: any;
|
|
604
|
-
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:visible")[], "change" | "update:visible", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
605
|
-
as: {
|
|
606
|
-
type: StringConstructor;
|
|
607
|
-
default: string;
|
|
608
|
-
};
|
|
609
|
-
popupClass: {
|
|
610
|
-
type: StringConstructor;
|
|
611
|
-
};
|
|
612
|
-
placement: {
|
|
613
|
-
type: vue.PropType<_hoci_core.Placement>;
|
|
614
|
-
default: () => "auto";
|
|
615
|
-
};
|
|
616
|
-
triggerEvent: {
|
|
617
|
-
type: vue.PropType<_hoci_core.TriggerEvent>;
|
|
618
|
-
default: () => "hover";
|
|
619
|
-
};
|
|
620
|
-
offset: {
|
|
621
|
-
type: NumberConstructor;
|
|
622
|
-
default: () => 8;
|
|
623
|
-
};
|
|
624
|
-
lazy: {
|
|
625
|
-
type: BooleanConstructor;
|
|
626
|
-
default: () => false;
|
|
627
|
-
};
|
|
628
|
-
visible: {
|
|
629
|
-
type: BooleanConstructor;
|
|
630
|
-
default: () => false;
|
|
631
|
-
};
|
|
632
|
-
disabled: {
|
|
633
|
-
type: BooleanConstructor;
|
|
634
|
-
default: () => false;
|
|
635
|
-
};
|
|
636
|
-
teleport: {
|
|
637
|
-
type: vue.PropType<string | HTMLElement | boolean>;
|
|
638
|
-
default: () => true;
|
|
639
|
-
};
|
|
640
|
-
}>> & {
|
|
641
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
642
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
643
|
-
}, {
|
|
644
|
-
offset: number;
|
|
645
|
-
visible: boolean;
|
|
646
|
-
disabled: boolean;
|
|
647
|
-
placement: _hoci_core.Placement;
|
|
648
|
-
triggerEvent: _hoci_core.TriggerEvent;
|
|
649
|
-
lazy: boolean;
|
|
650
|
-
teleport: string | boolean | HTMLElement;
|
|
651
|
-
as: string;
|
|
652
|
-
}, {}>;
|
|
653
|
-
|
|
654
700
|
declare function install(app: App): void;
|
|
655
701
|
|
|
656
|
-
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 };
|