@nuxt/ui 2.18.3 → 2.18.5
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/README.md +1 -1
- package/dist/module.d.mts +1 -6
- package/dist/module.d.ts +1 -6
- package/dist/module.json +2 -2
- package/dist/module.mjs +16 -8
- package/dist/runtime/components/data/Table.vue +5 -4
- package/dist/runtime/components/data/Table.vue.d.ts +1749 -9
- package/dist/runtime/components/elements/Accordion.vue.d.ts +1014 -9
- package/dist/runtime/components/elements/Alert.vue.d.ts +1257 -7
- package/dist/runtime/components/elements/Avatar.vue.d.ts +53 -7
- package/dist/runtime/components/elements/AvatarGroup.d.ts +6 -6
- package/dist/runtime/components/elements/Badge.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Button.vue.d.ts +280 -10
- package/dist/runtime/components/elements/ButtonGroup.d.ts +7 -7
- package/dist/runtime/components/elements/Carousel.vue.d.ts +857 -7
- package/dist/runtime/components/elements/Chip.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +639 -10
- package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Kbd.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Link.vue +1 -0
- package/dist/runtime/components/elements/Link.vue.d.ts +8 -8
- package/dist/runtime/components/elements/Meter.vue.d.ts +54 -8
- package/dist/runtime/components/elements/MeterGroup.d.ts +9 -7
- package/dist/runtime/components/elements/Progress.vue.d.ts +9 -9
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +9 -9
- package/dist/runtime/components/forms/Form.vue +6 -8
- package/dist/runtime/components/forms/Form.vue.d.ts +13 -6
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +8 -8
- package/dist/runtime/components/forms/Input.vue +1 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +56 -10
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +710 -13
- package/dist/runtime/components/forms/Radio.vue.d.ts +9 -9
- package/dist/runtime/components/forms/RadioGroup.vue +1 -1
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +188 -8
- package/dist/runtime/components/forms/Range.vue.d.ts +10 -10
- package/dist/runtime/components/forms/Select.vue.d.ts +55 -9
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +909 -12
- package/dist/runtime/components/forms/Textarea.vue +3 -0
- package/dist/runtime/components/forms/Textarea.vue.d.ts +10 -10
- package/dist/runtime/components/forms/Toggle.vue.d.ts +143 -9
- package/dist/runtime/components/layout/Card.vue.d.ts +6 -6
- package/dist/runtime/components/layout/Container.vue.d.ts +6 -6
- package/dist/runtime/components/layout/Divider.vue.d.ts +408 -7
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +6 -6
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +276 -6
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1729 -9
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +545 -6
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +768 -6
- package/dist/runtime/components/navigation/Pagination.vue +4 -0
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +859 -9
- package/dist/runtime/components/navigation/Tabs.vue +9 -2
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +234 -11
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1413 -6
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +9 -9
- package/dist/runtime/components/overlays/Modal.vue.d.ts +343 -9
- package/dist/runtime/components/overlays/Notification.vue.d.ts +1258 -8
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +1541 -11
- package/dist/runtime/components/overlays/Popover.vue.d.ts +113 -11
- package/dist/runtime/components/overlays/Slideover.vue +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +343 -9
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +107 -9
- package/dist/runtime/composables/useFormGroup.d.ts +2 -2
- package/dist/runtime/composables/useFormGroup.js +17 -19
- package/dist/runtime/composables/useModal.d.ts +1 -1
- package/dist/runtime/composables/usePopper.d.ts +262 -1
- package/dist/runtime/composables/useShortcuts.d.ts +4 -4
- package/dist/runtime/composables/useSlideover.d.ts +1 -1
- package/dist/runtime/composables/useUI.d.ts +1 -1
- package/dist/runtime/plugins/colors.js +5 -5
- package/dist/runtime/types/command-palette.d.ts +2 -2
- package/dist/runtime/ui.config/elements/button.js +9 -9
- package/dist/runtime/ui.config/elements/carousel.js +1 -1
- package/dist/runtime/utils/colors.js +75 -67
- package/dist/runtime/utils/index.d.ts +2 -1
- package/dist/runtime/utils/index.js +5 -1
- package/package.json +26 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import { twJoin } from 'tailwind-merge';
|
|
3
|
-
import type { DropdownItem, PopperOptions, Strategy } from '../../types.js';
|
|
3
|
+
import type { DropdownItem, PopperOptions, Strategy } from '../../types/index.js';
|
|
4
4
|
declare const config: {
|
|
5
5
|
wrapper: string;
|
|
6
6
|
container: string;
|
|
@@ -59,7 +59,7 @@ declare const config: {
|
|
|
59
59
|
placement: string;
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
-
declare const _default: import("vue").DefineComponent<{
|
|
62
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
63
63
|
items: {
|
|
64
64
|
type: PropType<DropdownItem[][]>;
|
|
65
65
|
default: () => any[];
|
|
@@ -99,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
99
|
}>;
|
|
100
100
|
default: () => {};
|
|
101
101
|
};
|
|
102
|
-
}
|
|
102
|
+
}>, {
|
|
103
103
|
ui: import("vue").ComputedRef<{
|
|
104
104
|
wrapper: string;
|
|
105
105
|
container: string;
|
|
@@ -162,8 +162,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
162
|
[x: string]: unknown;
|
|
163
163
|
}, string>>;
|
|
164
164
|
popper: import("vue").ComputedRef<PopperOptions>;
|
|
165
|
-
trigger: import("vue").Ref<import("@vueuse/core").MaybeElement>;
|
|
166
|
-
container: import("vue").Ref<import("@vueuse/core").MaybeElement>;
|
|
165
|
+
trigger: import("vue").Ref<import("@vueuse/core").MaybeElement, import("@vueuse/core").MaybeElement>;
|
|
166
|
+
container: import("vue").Ref<import("@vueuse/core").MaybeElement, import("@vueuse/core").MaybeElement>;
|
|
167
167
|
containerStyle: import("vue").ComputedRef<{
|
|
168
168
|
paddingTop?: undefined;
|
|
169
169
|
paddingBottom?: undefined;
|
|
@@ -198,7 +198,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
198
|
twMerge: (...classLists: import("tailwind-merge").ClassNameValue[]) => string;
|
|
199
199
|
twJoin: typeof twJoin;
|
|
200
200
|
NuxtLink: string | import("vue").ConcreteComponent<{}, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
|
|
201
|
-
},
|
|
201
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:open"[], "update:open", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
202
202
|
items: {
|
|
203
203
|
type: PropType<DropdownItem[][]>;
|
|
204
204
|
default: () => any[];
|
|
@@ -238,17 +238,646 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
238
238
|
}>;
|
|
239
239
|
default: () => {};
|
|
240
240
|
};
|
|
241
|
-
}>> & {
|
|
241
|
+
}>> & Readonly<{
|
|
242
242
|
"onUpdate:open"?: (...args: any[]) => any;
|
|
243
|
-
}
|
|
243
|
+
}>, {
|
|
244
244
|
mode: "click" | "hover";
|
|
245
245
|
class: any;
|
|
246
|
-
popper: PopperOptions;
|
|
247
246
|
disabled: boolean;
|
|
247
|
+
popper: PopperOptions;
|
|
248
248
|
ui: {};
|
|
249
249
|
open: boolean;
|
|
250
250
|
items: DropdownItem[][];
|
|
251
251
|
openDelay: number;
|
|
252
252
|
closeDelay: number;
|
|
253
|
-
}, {}
|
|
253
|
+
}, {}, {
|
|
254
|
+
HMenu: import("vue").DefineComponent<{
|
|
255
|
+
as: {
|
|
256
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
257
|
+
default: string;
|
|
258
|
+
};
|
|
259
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
260
|
+
[key: string]: any;
|
|
261
|
+
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
262
|
+
[key: string]: any;
|
|
263
|
+
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
264
|
+
as: {
|
|
265
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
}>>, {
|
|
269
|
+
as: string | Record<string, any>;
|
|
270
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
271
|
+
HMenuButton: import("vue").DefineComponent<{
|
|
272
|
+
disabled: {
|
|
273
|
+
type: BooleanConstructor;
|
|
274
|
+
default: boolean;
|
|
275
|
+
};
|
|
276
|
+
as: {
|
|
277
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
278
|
+
default: string;
|
|
279
|
+
};
|
|
280
|
+
id: {
|
|
281
|
+
type: StringConstructor;
|
|
282
|
+
default: null;
|
|
283
|
+
};
|
|
284
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
285
|
+
[key: string]: any;
|
|
286
|
+
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
287
|
+
[key: string]: any;
|
|
288
|
+
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
289
|
+
disabled: {
|
|
290
|
+
type: BooleanConstructor;
|
|
291
|
+
default: boolean;
|
|
292
|
+
};
|
|
293
|
+
as: {
|
|
294
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
295
|
+
default: string;
|
|
296
|
+
};
|
|
297
|
+
id: {
|
|
298
|
+
type: StringConstructor;
|
|
299
|
+
default: null;
|
|
300
|
+
};
|
|
301
|
+
}>>, {
|
|
302
|
+
id: string;
|
|
303
|
+
as: string | Record<string, any>;
|
|
304
|
+
disabled: boolean;
|
|
305
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
306
|
+
HMenuItems: import("vue").DefineComponent<{
|
|
307
|
+
as: {
|
|
308
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
309
|
+
default: string;
|
|
310
|
+
};
|
|
311
|
+
static: {
|
|
312
|
+
type: BooleanConstructor;
|
|
313
|
+
default: boolean;
|
|
314
|
+
};
|
|
315
|
+
unmount: {
|
|
316
|
+
type: BooleanConstructor;
|
|
317
|
+
default: boolean;
|
|
318
|
+
};
|
|
319
|
+
id: {
|
|
320
|
+
type: StringConstructor;
|
|
321
|
+
default: null;
|
|
322
|
+
};
|
|
323
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
324
|
+
[key: string]: any;
|
|
325
|
+
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
326
|
+
[key: string]: any;
|
|
327
|
+
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
328
|
+
as: {
|
|
329
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
330
|
+
default: string;
|
|
331
|
+
};
|
|
332
|
+
static: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
336
|
+
unmount: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
340
|
+
id: {
|
|
341
|
+
type: StringConstructor;
|
|
342
|
+
default: null;
|
|
343
|
+
};
|
|
344
|
+
}>>, {
|
|
345
|
+
id: string;
|
|
346
|
+
as: string | Record<string, any>;
|
|
347
|
+
unmount: boolean;
|
|
348
|
+
static: boolean;
|
|
349
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
350
|
+
HMenuItem: import("vue").DefineComponent<{
|
|
351
|
+
as: {
|
|
352
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
353
|
+
default: string;
|
|
354
|
+
};
|
|
355
|
+
disabled: {
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
359
|
+
id: {
|
|
360
|
+
type: StringConstructor;
|
|
361
|
+
default: null;
|
|
362
|
+
};
|
|
363
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
364
|
+
[key: string]: any;
|
|
365
|
+
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
366
|
+
[key: string]: any;
|
|
367
|
+
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
368
|
+
as: {
|
|
369
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
370
|
+
default: string;
|
|
371
|
+
};
|
|
372
|
+
disabled: {
|
|
373
|
+
type: BooleanConstructor;
|
|
374
|
+
default: boolean;
|
|
375
|
+
};
|
|
376
|
+
id: {
|
|
377
|
+
type: StringConstructor;
|
|
378
|
+
default: null;
|
|
379
|
+
};
|
|
380
|
+
}>>, {
|
|
381
|
+
id: string;
|
|
382
|
+
as: string | Record<string, any>;
|
|
383
|
+
disabled: boolean;
|
|
384
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
385
|
+
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
386
|
+
name: {
|
|
387
|
+
type: StringConstructor;
|
|
388
|
+
required: true;
|
|
389
|
+
};
|
|
390
|
+
mode: {
|
|
391
|
+
type: PropType<"svg" | "css">;
|
|
392
|
+
required: false;
|
|
393
|
+
default: any;
|
|
394
|
+
};
|
|
395
|
+
size: {
|
|
396
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
397
|
+
required: false;
|
|
398
|
+
default: any;
|
|
399
|
+
};
|
|
400
|
+
customize: {
|
|
401
|
+
type: FunctionConstructor;
|
|
402
|
+
required: false;
|
|
403
|
+
default: any;
|
|
404
|
+
};
|
|
405
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
406
|
+
name: {
|
|
407
|
+
type: StringConstructor;
|
|
408
|
+
required: true;
|
|
409
|
+
};
|
|
410
|
+
mode: {
|
|
411
|
+
type: PropType<"svg" | "css">;
|
|
412
|
+
required: false;
|
|
413
|
+
default: any;
|
|
414
|
+
};
|
|
415
|
+
size: {
|
|
416
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
417
|
+
required: false;
|
|
418
|
+
default: any;
|
|
419
|
+
};
|
|
420
|
+
customize: {
|
|
421
|
+
type: FunctionConstructor;
|
|
422
|
+
required: false;
|
|
423
|
+
default: any;
|
|
424
|
+
};
|
|
425
|
+
}>> & Readonly<{}>, {
|
|
426
|
+
mode: "svg" | "css";
|
|
427
|
+
size: string | number;
|
|
428
|
+
customize: Function;
|
|
429
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
430
|
+
UAvatar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
431
|
+
as: {
|
|
432
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
433
|
+
default: string;
|
|
434
|
+
};
|
|
435
|
+
src: {
|
|
436
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
437
|
+
default: any;
|
|
438
|
+
};
|
|
439
|
+
alt: {
|
|
440
|
+
type: StringConstructor;
|
|
441
|
+
default: any;
|
|
442
|
+
};
|
|
443
|
+
text: {
|
|
444
|
+
type: StringConstructor;
|
|
445
|
+
default: any;
|
|
446
|
+
};
|
|
447
|
+
icon: {
|
|
448
|
+
type: StringConstructor;
|
|
449
|
+
default: () => any;
|
|
450
|
+
};
|
|
451
|
+
size: {
|
|
452
|
+
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
453
|
+
default: () => string;
|
|
454
|
+
validator(value: string): boolean;
|
|
455
|
+
};
|
|
456
|
+
chipColor: {
|
|
457
|
+
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
458
|
+
default: () => any;
|
|
459
|
+
validator(value: string): boolean;
|
|
460
|
+
};
|
|
461
|
+
chipPosition: {
|
|
462
|
+
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
463
|
+
default: () => string;
|
|
464
|
+
validator(value: string): boolean;
|
|
465
|
+
};
|
|
466
|
+
chipText: {
|
|
467
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
468
|
+
default: any;
|
|
469
|
+
};
|
|
470
|
+
imgClass: {
|
|
471
|
+
type: StringConstructor;
|
|
472
|
+
default: string;
|
|
473
|
+
};
|
|
474
|
+
class: {
|
|
475
|
+
type: PropType<any>;
|
|
476
|
+
default: () => "";
|
|
477
|
+
};
|
|
478
|
+
ui: {
|
|
479
|
+
type: PropType<Partial<{
|
|
480
|
+
wrapper: string;
|
|
481
|
+
background: string;
|
|
482
|
+
rounded: string;
|
|
483
|
+
text: string;
|
|
484
|
+
placeholder: string;
|
|
485
|
+
size: {
|
|
486
|
+
'3xs': string;
|
|
487
|
+
'2xs': string;
|
|
488
|
+
xs: string;
|
|
489
|
+
sm: string;
|
|
490
|
+
md: string;
|
|
491
|
+
lg: string;
|
|
492
|
+
xl: string;
|
|
493
|
+
'2xl': string;
|
|
494
|
+
'3xl': string;
|
|
495
|
+
};
|
|
496
|
+
chip: {
|
|
497
|
+
base: string;
|
|
498
|
+
background: string;
|
|
499
|
+
position: {
|
|
500
|
+
'top-right': string;
|
|
501
|
+
'bottom-right': string;
|
|
502
|
+
'top-left': string;
|
|
503
|
+
'bottom-left': string;
|
|
504
|
+
};
|
|
505
|
+
size: {
|
|
506
|
+
'3xs': string;
|
|
507
|
+
'2xs': string;
|
|
508
|
+
xs: string;
|
|
509
|
+
sm: string;
|
|
510
|
+
md: string;
|
|
511
|
+
lg: string;
|
|
512
|
+
xl: string;
|
|
513
|
+
'2xl': string;
|
|
514
|
+
'3xl': string;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
icon: {
|
|
518
|
+
base: string;
|
|
519
|
+
size: {
|
|
520
|
+
'3xs': string;
|
|
521
|
+
'2xs': string;
|
|
522
|
+
xs: string;
|
|
523
|
+
sm: string;
|
|
524
|
+
md: string;
|
|
525
|
+
lg: string;
|
|
526
|
+
xl: string;
|
|
527
|
+
'2xl': string;
|
|
528
|
+
'3xl': string;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
default: {
|
|
532
|
+
size: string;
|
|
533
|
+
icon: any;
|
|
534
|
+
chipColor: any;
|
|
535
|
+
chipPosition: string;
|
|
536
|
+
};
|
|
537
|
+
}> & {
|
|
538
|
+
strategy?: Strategy;
|
|
539
|
+
}>;
|
|
540
|
+
default: () => {};
|
|
541
|
+
};
|
|
542
|
+
}>, {
|
|
543
|
+
ui: import("vue").ComputedRef<{
|
|
544
|
+
wrapper: string;
|
|
545
|
+
background: string;
|
|
546
|
+
rounded: string;
|
|
547
|
+
text: string;
|
|
548
|
+
placeholder: string;
|
|
549
|
+
size: {
|
|
550
|
+
'3xs': string;
|
|
551
|
+
'2xs': string;
|
|
552
|
+
xs: string;
|
|
553
|
+
sm: string;
|
|
554
|
+
md: string;
|
|
555
|
+
lg: string;
|
|
556
|
+
xl: string;
|
|
557
|
+
'2xl': string;
|
|
558
|
+
'3xl': string;
|
|
559
|
+
};
|
|
560
|
+
chip: {
|
|
561
|
+
base: string;
|
|
562
|
+
background: string;
|
|
563
|
+
position: {
|
|
564
|
+
'top-right': string;
|
|
565
|
+
'bottom-right': string;
|
|
566
|
+
'top-left': string;
|
|
567
|
+
'bottom-left': string;
|
|
568
|
+
};
|
|
569
|
+
size: {
|
|
570
|
+
'3xs': string;
|
|
571
|
+
'2xs': string;
|
|
572
|
+
xs: string;
|
|
573
|
+
sm: string;
|
|
574
|
+
md: string;
|
|
575
|
+
lg: string;
|
|
576
|
+
xl: string;
|
|
577
|
+
'2xl': string;
|
|
578
|
+
'3xl': string;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
icon: {
|
|
582
|
+
base: string;
|
|
583
|
+
size: {
|
|
584
|
+
'3xs': string;
|
|
585
|
+
'2xs': string;
|
|
586
|
+
xs: string;
|
|
587
|
+
sm: string;
|
|
588
|
+
md: string;
|
|
589
|
+
lg: string;
|
|
590
|
+
xl: string;
|
|
591
|
+
'2xl': string;
|
|
592
|
+
'3xl': string;
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
default: {
|
|
596
|
+
size: string;
|
|
597
|
+
icon: any;
|
|
598
|
+
chipColor: any;
|
|
599
|
+
chipPosition: string;
|
|
600
|
+
};
|
|
601
|
+
}>;
|
|
602
|
+
attrs: import("vue").ComputedRef<Pick<{
|
|
603
|
+
[x: string]: unknown;
|
|
604
|
+
}, string>>;
|
|
605
|
+
wrapperClass: import("vue").ComputedRef<string>;
|
|
606
|
+
imgClass: import("vue").ComputedRef<string>;
|
|
607
|
+
iconClass: import("vue").ComputedRef<string>;
|
|
608
|
+
chipClass: import("vue").ComputedRef<string>;
|
|
609
|
+
url: import("vue").ComputedRef<string>;
|
|
610
|
+
placeholder: import("vue").ComputedRef<string>;
|
|
611
|
+
error: import("vue").Ref<boolean, boolean>;
|
|
612
|
+
onError: () => void;
|
|
613
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
614
|
+
as: {
|
|
615
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
616
|
+
default: string;
|
|
617
|
+
};
|
|
618
|
+
src: {
|
|
619
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
620
|
+
default: any;
|
|
621
|
+
};
|
|
622
|
+
alt: {
|
|
623
|
+
type: StringConstructor;
|
|
624
|
+
default: any;
|
|
625
|
+
};
|
|
626
|
+
text: {
|
|
627
|
+
type: StringConstructor;
|
|
628
|
+
default: any;
|
|
629
|
+
};
|
|
630
|
+
icon: {
|
|
631
|
+
type: StringConstructor;
|
|
632
|
+
default: () => any;
|
|
633
|
+
};
|
|
634
|
+
size: {
|
|
635
|
+
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
636
|
+
default: () => string;
|
|
637
|
+
validator(value: string): boolean;
|
|
638
|
+
};
|
|
639
|
+
chipColor: {
|
|
640
|
+
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
641
|
+
default: () => any;
|
|
642
|
+
validator(value: string): boolean;
|
|
643
|
+
};
|
|
644
|
+
chipPosition: {
|
|
645
|
+
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
646
|
+
default: () => string;
|
|
647
|
+
validator(value: string): boolean;
|
|
648
|
+
};
|
|
649
|
+
chipText: {
|
|
650
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
651
|
+
default: any;
|
|
652
|
+
};
|
|
653
|
+
imgClass: {
|
|
654
|
+
type: StringConstructor;
|
|
655
|
+
default: string;
|
|
656
|
+
};
|
|
657
|
+
class: {
|
|
658
|
+
type: PropType<any>;
|
|
659
|
+
default: () => "";
|
|
660
|
+
};
|
|
661
|
+
ui: {
|
|
662
|
+
type: PropType<Partial<{
|
|
663
|
+
wrapper: string;
|
|
664
|
+
background: string;
|
|
665
|
+
rounded: string;
|
|
666
|
+
text: string;
|
|
667
|
+
placeholder: string;
|
|
668
|
+
size: {
|
|
669
|
+
'3xs': string;
|
|
670
|
+
'2xs': string;
|
|
671
|
+
xs: string;
|
|
672
|
+
sm: string;
|
|
673
|
+
md: string;
|
|
674
|
+
lg: string;
|
|
675
|
+
xl: string;
|
|
676
|
+
'2xl': string;
|
|
677
|
+
'3xl': string;
|
|
678
|
+
};
|
|
679
|
+
chip: {
|
|
680
|
+
base: string;
|
|
681
|
+
background: string;
|
|
682
|
+
position: {
|
|
683
|
+
'top-right': string;
|
|
684
|
+
'bottom-right': string;
|
|
685
|
+
'top-left': string;
|
|
686
|
+
'bottom-left': string;
|
|
687
|
+
};
|
|
688
|
+
size: {
|
|
689
|
+
'3xs': string;
|
|
690
|
+
'2xs': string;
|
|
691
|
+
xs: string;
|
|
692
|
+
sm: string;
|
|
693
|
+
md: string;
|
|
694
|
+
lg: string;
|
|
695
|
+
xl: string;
|
|
696
|
+
'2xl': string;
|
|
697
|
+
'3xl': string;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
icon: {
|
|
701
|
+
base: string;
|
|
702
|
+
size: {
|
|
703
|
+
'3xs': string;
|
|
704
|
+
'2xs': string;
|
|
705
|
+
xs: string;
|
|
706
|
+
sm: string;
|
|
707
|
+
md: string;
|
|
708
|
+
lg: string;
|
|
709
|
+
xl: string;
|
|
710
|
+
'2xl': string;
|
|
711
|
+
'3xl': string;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
default: {
|
|
715
|
+
size: string;
|
|
716
|
+
icon: any;
|
|
717
|
+
chipColor: any;
|
|
718
|
+
chipPosition: string;
|
|
719
|
+
};
|
|
720
|
+
}> & {
|
|
721
|
+
strategy?: Strategy;
|
|
722
|
+
}>;
|
|
723
|
+
default: () => {};
|
|
724
|
+
};
|
|
725
|
+
}>> & Readonly<{}>, {
|
|
726
|
+
size: import("../../types/avatar").AvatarSize;
|
|
727
|
+
class: any;
|
|
728
|
+
as: string | Record<string, any>;
|
|
729
|
+
text: string;
|
|
730
|
+
alt: string;
|
|
731
|
+
ui: {};
|
|
732
|
+
icon: string;
|
|
733
|
+
src: string | boolean;
|
|
734
|
+
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
735
|
+
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
736
|
+
chipText: string | number;
|
|
737
|
+
imgClass: string;
|
|
738
|
+
}, {}, {
|
|
739
|
+
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
740
|
+
name: {
|
|
741
|
+
type: StringConstructor;
|
|
742
|
+
required: true;
|
|
743
|
+
};
|
|
744
|
+
mode: {
|
|
745
|
+
type: PropType<"svg" | "css">;
|
|
746
|
+
required: false;
|
|
747
|
+
default: any;
|
|
748
|
+
};
|
|
749
|
+
size: {
|
|
750
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
751
|
+
required: false;
|
|
752
|
+
default: any;
|
|
753
|
+
};
|
|
754
|
+
customize: {
|
|
755
|
+
type: FunctionConstructor;
|
|
756
|
+
required: false;
|
|
757
|
+
default: any;
|
|
758
|
+
};
|
|
759
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
760
|
+
name: {
|
|
761
|
+
type: StringConstructor;
|
|
762
|
+
required: true;
|
|
763
|
+
};
|
|
764
|
+
mode: {
|
|
765
|
+
type: PropType<"svg" | "css">;
|
|
766
|
+
required: false;
|
|
767
|
+
default: any;
|
|
768
|
+
};
|
|
769
|
+
size: {
|
|
770
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
771
|
+
required: false;
|
|
772
|
+
default: any;
|
|
773
|
+
};
|
|
774
|
+
customize: {
|
|
775
|
+
type: FunctionConstructor;
|
|
776
|
+
required: false;
|
|
777
|
+
default: any;
|
|
778
|
+
};
|
|
779
|
+
}>> & Readonly<{}>, {
|
|
780
|
+
mode: "svg" | "css";
|
|
781
|
+
size: string | number;
|
|
782
|
+
customize: Function;
|
|
783
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
784
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
785
|
+
UKbd: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
786
|
+
value: {
|
|
787
|
+
type: StringConstructor;
|
|
788
|
+
default: any;
|
|
789
|
+
};
|
|
790
|
+
size: {
|
|
791
|
+
type: PropType<import("../../types/kbd").KbdSize>;
|
|
792
|
+
default: () => string;
|
|
793
|
+
validator(value: string): boolean;
|
|
794
|
+
};
|
|
795
|
+
class: {
|
|
796
|
+
type: PropType<any>;
|
|
797
|
+
default: () => "";
|
|
798
|
+
};
|
|
799
|
+
ui: {
|
|
800
|
+
type: PropType<Partial<{
|
|
801
|
+
base: string;
|
|
802
|
+
padding: string;
|
|
803
|
+
size: {
|
|
804
|
+
xs: string;
|
|
805
|
+
sm: string;
|
|
806
|
+
md: string;
|
|
807
|
+
};
|
|
808
|
+
rounded: string;
|
|
809
|
+
font: string;
|
|
810
|
+
background: string;
|
|
811
|
+
ring: string;
|
|
812
|
+
default: {
|
|
813
|
+
size: string;
|
|
814
|
+
};
|
|
815
|
+
}> & {
|
|
816
|
+
strategy?: Strategy;
|
|
817
|
+
}>;
|
|
818
|
+
default: () => {};
|
|
819
|
+
};
|
|
820
|
+
}>, {
|
|
821
|
+
ui: import("vue").ComputedRef<{
|
|
822
|
+
base: string;
|
|
823
|
+
padding: string;
|
|
824
|
+
size: {
|
|
825
|
+
xs: string;
|
|
826
|
+
sm: string;
|
|
827
|
+
md: string;
|
|
828
|
+
};
|
|
829
|
+
rounded: string;
|
|
830
|
+
font: string;
|
|
831
|
+
background: string;
|
|
832
|
+
ring: string;
|
|
833
|
+
default: {
|
|
834
|
+
size: string;
|
|
835
|
+
};
|
|
836
|
+
}>;
|
|
837
|
+
attrs: import("vue").ComputedRef<Pick<{
|
|
838
|
+
[x: string]: unknown;
|
|
839
|
+
}, string>>;
|
|
840
|
+
kbdClass: import("vue").ComputedRef<string>;
|
|
841
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
842
|
+
value: {
|
|
843
|
+
type: StringConstructor;
|
|
844
|
+
default: any;
|
|
845
|
+
};
|
|
846
|
+
size: {
|
|
847
|
+
type: PropType<import("../../types/kbd").KbdSize>;
|
|
848
|
+
default: () => string;
|
|
849
|
+
validator(value: string): boolean;
|
|
850
|
+
};
|
|
851
|
+
class: {
|
|
852
|
+
type: PropType<any>;
|
|
853
|
+
default: () => "";
|
|
854
|
+
};
|
|
855
|
+
ui: {
|
|
856
|
+
type: PropType<Partial<{
|
|
857
|
+
base: string;
|
|
858
|
+
padding: string;
|
|
859
|
+
size: {
|
|
860
|
+
xs: string;
|
|
861
|
+
sm: string;
|
|
862
|
+
md: string;
|
|
863
|
+
};
|
|
864
|
+
rounded: string;
|
|
865
|
+
font: string;
|
|
866
|
+
background: string;
|
|
867
|
+
ring: string;
|
|
868
|
+
default: {
|
|
869
|
+
size: string;
|
|
870
|
+
};
|
|
871
|
+
}> & {
|
|
872
|
+
strategy?: Strategy;
|
|
873
|
+
}>;
|
|
874
|
+
default: () => {};
|
|
875
|
+
};
|
|
876
|
+
}>> & Readonly<{}>, {
|
|
877
|
+
size: import("../../types/kbd").KbdSize;
|
|
878
|
+
class: any;
|
|
879
|
+
ui: {};
|
|
880
|
+
value: string;
|
|
881
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
882
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
254
883
|
export default _default;
|