@fastkit/vui 0.6.10 → 0.6.14

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/vui.d.ts CHANGED
@@ -1,10 +1,12 @@
1
1
  import { AllowedComponentProps } from 'vue';
2
2
  import { App } from 'vue';
3
+ import { ColorVariant , ThemeName, PaletteName, ScopeName } from '@fastkit/color-scheme';
3
4
  import { ComponentCustomProps } from 'vue';
4
5
  import { ComponentOptionsMixin } from 'vue';
5
6
  import { ComputedRef } from 'vue';
6
7
  import { DefineComponent } from 'vue';
7
8
  import { EmitsOptions } from 'vue';
9
+ import { ExtractPropInput } from '@fastkit/vue-utils';
8
10
  import { ExtractPropTypes } from 'vue';
9
11
  import { FormAction } from '@fastkit/vue-kit';
10
12
  import { FormAutoCapitalize } from '@fastkit/vue-kit';
@@ -29,6 +31,8 @@ import { RawTextareaAutosizeSettings } from '@fastkit/vue-kit';
29
31
  import { Ref } from 'vue';
30
32
  import { ResolvedFormSelectorItemData } from '@fastkit/vue-kit';
31
33
  import { ResolveRawSlots } from '@fastkit/vue-kit';
34
+ import { ResolveRawSlots as ResolveRawSlots_2 } from '@fastkit/vue-utils';
35
+ import { RouteLocationRaw } from 'vue-router';
32
36
  import { ScopeName } from '@fastkit/color-scheme';
33
37
  import { TextableCounterResult } from '@fastkit/vue-kit';
34
38
  import { TextableCounterSettings } from '@fastkit/vue-kit';
@@ -38,8 +42,6 @@ import { TextInputControl } from '@fastkit/vue-kit';
38
42
  import { TypedSlot } from '@fastkit/vue-kit';
39
43
  import { ValidateTiming } from '@fastkit/vue-kit';
40
44
  import { ValidationResult } from '@fastkit/vue-kit';
41
- import { VStackBtn as VButton } from '@fastkit/vue-kit';
42
- import { VStackBtnProps as VButtonProps } from '@fastkit/vue-kit';
43
45
  import { VDialog } from '@fastkit/vue-kit';
44
46
  import { VMenu } from '@fastkit/vue-kit';
45
47
  import { VNodeChild } from 'vue';
@@ -74,6 +76,20 @@ export declare interface ControlProvider {
74
76
 
75
77
  export declare type ControlSize = typeof CONTROL_SIZES[number];
76
78
 
79
+ export declare function createCardProps(): {
80
+ 'v-slots': PropType<ResolveRawSlots<{
81
+ header: void;
82
+ footer: void;
83
+ }>>;
84
+ square: BooleanConstructor;
85
+ color: PropType<ScopeName>;
86
+ tag: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ elevation: PropType<VuiElevationValue>;
91
+ };
92
+
77
93
  export declare function createControlFieldProviderProps(): {
78
94
  variant: {
79
95
  type: PropType<"flat" | "outlined" | "filled">;
@@ -88,6 +104,88 @@ export declare function createControlProps(): {
88
104
  };
89
105
  };
90
106
 
107
+ export declare function createElevationProps(): {
108
+ elevation: PropType<VuiElevationValue>;
109
+ };
110
+
111
+ export declare function createListTileProps<T = void>(): {
112
+ startIcon: PropType<RawIconProp<T>>;
113
+ endIcon: PropType<RawIconProp<T>>;
114
+ fallbackTag: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ };
118
+ onClick: PropType<(ev: MouseEvent) => void>;
119
+ tag: StringConstructor;
120
+ to: PropType<RouteLocationRaw>;
121
+ replace: BooleanConstructor;
122
+ activeClass: StringConstructor;
123
+ exactActiveClass: StringConstructor;
124
+ custom: BooleanConstructor;
125
+ ariaCurrentValue: {
126
+ readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
127
+ readonly default: "page";
128
+ };
129
+ disabled: BooleanConstructor;
130
+ href: StringConstructor;
131
+ target: StringConstructor;
132
+ rel: StringConstructor;
133
+ name: StringConstructor;
134
+ charset: StringConstructor;
135
+ hreflang: StringConstructor;
136
+ download: PropType<string | boolean>;
137
+ media: StringConstructor;
138
+ ping: StringConstructor;
139
+ referrerpolicy: StringConstructor;
140
+ type: PropType<"submit" | "reset" | "button" | undefined>;
141
+ };
142
+
143
+ export declare function createNavigationItemProps(): {
144
+ startIcon: PropType<RawIconProp<void>>;
145
+ endIcon: PropType<RawIconProp<void>>;
146
+ fallbackTag: {
147
+ type: StringConstructor;
148
+ default: string;
149
+ };
150
+ onClick: PropType<(ev: MouseEvent) => void>;
151
+ tag: StringConstructor;
152
+ to: PropType<RouteLocationRaw>;
153
+ replace: BooleanConstructor;
154
+ activeClass: StringConstructor;
155
+ exactActiveClass: StringConstructor;
156
+ custom: BooleanConstructor;
157
+ ariaCurrentValue: {
158
+ readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
159
+ readonly default: "page";
160
+ };
161
+ disabled: BooleanConstructor;
162
+ href: StringConstructor;
163
+ target: StringConstructor;
164
+ rel: StringConstructor;
165
+ name: StringConstructor;
166
+ charset: StringConstructor;
167
+ hreflang: StringConstructor;
168
+ download: PropType<string | boolean>;
169
+ media: StringConstructor;
170
+ ping: StringConstructor;
171
+ referrerpolicy: StringConstructor;
172
+ type: PropType<"submit" | "reset" | "button" | undefined>;
173
+ };
174
+
175
+ export declare function createPaperProps(): {
176
+ 'v-slots': PropType<ResolveRawSlots_2<{
177
+ header: void;
178
+ footer: void;
179
+ }>>;
180
+ square: BooleanConstructor;
181
+ color: PropType<ScopeName>;
182
+ tag: {
183
+ type: StringConstructor;
184
+ default: string;
185
+ };
186
+ elevation: PropType<VuiElevationValue>;
187
+ };
188
+
91
189
  export declare function defineFormSelectorComponent(opts: DefineFormSelectorComponentOptions): DefineComponent<{
92
190
  'v-slots': PropType<ResolveRawSlots<FormControlSlots>>;
93
191
  stacked: {
@@ -317,10 +415,28 @@ export declare interface DefineFormSelectorComponentOptions {
317
415
  }) => VNodeChild;
318
416
  }
319
417
 
418
+ export declare type ElevationProps = ExtractPropTypes<ReturnType<typeof createElevationProps>>;
419
+
420
+ declare type EmptyIconSymbol = '$empty';
421
+
320
422
  export { ICON_NAMES }
321
423
 
424
+ declare type IconGenerator = (input: IconPropInout) => VNodeChild;
425
+
322
426
  export { IconName }
323
427
 
428
+ declare type IconPropInout = ExtractPropInput<typeof iconProps>;
429
+
430
+ export declare const iconProps: {
431
+ name: {
432
+ type: PropType<IconName | "$empty">;
433
+ required: true;
434
+ };
435
+ rotate: {
436
+ type: NumberConstructor;
437
+ };
438
+ };
439
+
324
440
  declare interface InputBoxSlots {
325
441
  default: void;
326
442
  startAdornment: void;
@@ -329,8 +445,29 @@ declare interface InputBoxSlots {
329
445
 
330
446
  export declare function installVuiPlugin(app: App, opts: VuiPluginOptions): App<any>;
331
447
 
448
+ export declare const listTileEmits: {
449
+ click: (ev: MouseEvent) => true;
450
+ };
451
+
452
+ export declare type NavigationItemInput = ExtractPropInput<ReturnType<typeof createNavigationItemProps>>;
453
+
454
+ export declare interface NavigationItemInputWithContent extends NavigationItemInput {
455
+ key: string | number;
456
+ label: VNodeChild | (() => VNodeChild);
457
+ }
458
+
459
+ export declare type RawIconProp<T = void> = IconName | EmptyIconSymbol | ((gen: IconGenerator, ctx: T) => VNodeChild);
460
+
461
+ export declare function rawRawIconProp<T = void>(): PropType<RawIconProp<T>>;
462
+
463
+ export declare type RawVButtonIcon = IconName | VButtonIcon;
464
+
465
+ export declare type RawVButtonSpacer = boolean | VButtonSpacer;
466
+
332
467
  declare type RecursiveArray<T> = T | RecursiveArray<T>[];
333
468
 
469
+ export declare function resolveRawIconProp(prop?: RawIconProp, extraProps?: Record<string, unknown> & VNodeProps): VNodeChild;
470
+
334
471
  declare interface Rule<C extends any = any> {
335
472
  <EC extends C = C>(constraints: Partial<EC>, overRides?: string | Partial<RuleSettings<EC>>): Rule<EC>;
336
473
  $name: string;
@@ -406,6 +543,21 @@ export declare interface UseControlProviderOptions {
406
543
  defaultSize?: ControlSize;
407
544
  }
408
545
 
546
+ export declare function useElevation(props: ElevationProps, opts?: UseElevationOptions): {
547
+ elevationValue: ComputedRef<VuiElevationValue | undefined>;
548
+ elevationClassName: ComputedRef<string | undefined>;
549
+ };
550
+
551
+ export declare interface UseElevationOptions {
552
+ defaultValue?: VuiElevationValue;
553
+ }
554
+
555
+ export declare function useVui(): VuiService;
556
+
557
+ export declare function useVuiColorProvider(): VuiColorProvider;
558
+
559
+ export declare const VAccordion: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
560
+
409
561
  declare const ValidateCancelSymbol = "__ValidateCancelSymbol__";
410
562
 
411
563
  declare interface ValidationError {
@@ -423,9 +575,169 @@ declare const ValidationErrorSymbol = "ValidationError";
423
575
 
424
576
  export declare const VApp: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
425
577
 
426
- export { VButton }
578
+ export declare const VButton: DefineComponent<{
579
+ size: {
580
+ type: PropType<"sm" | "md" | "lg">;
581
+ validator: (value: any) => boolean;
582
+ };
583
+ spacer: PropType<RawVButtonSpacer>;
584
+ loading: BooleanConstructor;
585
+ rounded: BooleanConstructor;
586
+ icon: PropType<RawVButtonIcon>;
587
+ startIcon: PropType<RawVButtonIcon>;
588
+ endIcon: PropType<RawVButtonIcon>;
589
+ onClick: PropType<(ev: MouseEvent) => void>;
590
+ tag: StringConstructor;
591
+ to: PropType<RouteLocationRaw>;
592
+ replace: BooleanConstructor;
593
+ activeClass: StringConstructor;
594
+ exactActiveClass: StringConstructor;
595
+ custom: BooleanConstructor;
596
+ ariaCurrentValue: {
597
+ readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
598
+ readonly default: "page";
599
+ };
600
+ disabled: BooleanConstructor;
601
+ href: StringConstructor;
602
+ target: StringConstructor;
603
+ rel: StringConstructor;
604
+ name: StringConstructor;
605
+ charset: StringConstructor;
606
+ hreflang: StringConstructor;
607
+ download: PropType<string | boolean>;
608
+ media: StringConstructor;
609
+ ping: StringConstructor;
610
+ referrerpolicy: StringConstructor;
611
+ type: PropType<"submit" | "reset" | "button" | undefined>;
612
+ variant: PropType<ColorVariant>;
613
+ theme: PropType<ThemeName>;
614
+ color: PropType<ScopeName>;
615
+ textColor: PropType<PaletteName>;
616
+ borderColor: PropType<PaletteName>;
617
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
618
+ click: (ev: MouseEvent) => true;
619
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
620
+ size?: unknown;
621
+ spacer?: unknown;
622
+ loading?: unknown;
623
+ rounded?: unknown;
624
+ icon?: unknown;
625
+ startIcon?: unknown;
626
+ endIcon?: unknown;
627
+ onClick?: unknown;
628
+ tag?: unknown;
629
+ to?: unknown;
630
+ replace?: unknown;
631
+ activeClass?: unknown;
632
+ exactActiveClass?: unknown;
633
+ custom?: unknown;
634
+ ariaCurrentValue?: unknown;
635
+ disabled?: unknown;
636
+ href?: unknown;
637
+ target?: unknown;
638
+ rel?: unknown;
639
+ name?: unknown;
640
+ charset?: unknown;
641
+ hreflang?: unknown;
642
+ download?: unknown;
643
+ media?: unknown;
644
+ ping?: unknown;
645
+ referrerpolicy?: unknown;
646
+ type?: unknown;
647
+ variant?: unknown;
648
+ theme?: unknown;
649
+ color?: unknown;
650
+ textColor?: unknown;
651
+ borderColor?: unknown;
652
+ } & {
653
+ loading: boolean;
654
+ rounded: boolean;
655
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
656
+ replace: boolean;
657
+ custom: boolean;
658
+ disabled: boolean;
659
+ } & {
660
+ theme?: ThemeName | undefined;
661
+ color?: ScopeName | undefined;
662
+ textColor?: PaletteName | undefined;
663
+ borderColor?: PaletteName | undefined;
664
+ type?: "submit" | "reset" | "button" | undefined;
665
+ onClick?: ((ev: MouseEvent) => void) | undefined;
666
+ size?: "sm" | "md" | "lg" | undefined;
667
+ spacer?: RawVButtonSpacer | undefined;
668
+ icon?: RawVButtonIcon | undefined;
669
+ startIcon?: RawVButtonIcon | undefined;
670
+ endIcon?: RawVButtonIcon | undefined;
671
+ tag?: string | undefined;
672
+ to?: RouteLocationRaw | undefined;
673
+ activeClass?: string | undefined;
674
+ exactActiveClass?: string | undefined;
675
+ href?: string | undefined;
676
+ target?: string | undefined;
677
+ rel?: string | undefined;
678
+ name?: string | undefined;
679
+ charset?: string | undefined;
680
+ hreflang?: string | undefined;
681
+ download?: string | boolean | undefined;
682
+ media?: string | undefined;
683
+ ping?: string | undefined;
684
+ referrerpolicy?: string | undefined;
685
+ variant?: ColorVariant | undefined;
686
+ }> & {
687
+ onClick?: ((ev: MouseEvent) => any) | undefined;
688
+ }, {
689
+ loading: boolean;
690
+ rounded: boolean;
691
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
692
+ replace: boolean;
693
+ custom: boolean;
694
+ disabled: boolean;
695
+ }>;
696
+
697
+ export declare type VButtonIcon = () => VNodeChild;
698
+
699
+ export declare type VButtonProps = ExtractPropInput<typeof vueButtonProps>;
427
700
 
428
- export { VButtonProps }
701
+ export declare type VButtonResolvedProps = ExtractPropTypes<typeof vueButtonProps>;
702
+
703
+ export declare type VButtonSpacer = 'left' | 'right';
704
+
705
+ export declare const VCard: DefineComponent<{
706
+ 'v-slots': PropType<ResolveRawSlots<{
707
+ header: void;
708
+ footer: void;
709
+ }>>;
710
+ square: BooleanConstructor;
711
+ color: PropType<ScopeName>;
712
+ tag: {
713
+ type: StringConstructor;
714
+ default: string;
715
+ };
716
+ elevation: PropType<VuiElevationValue>;
717
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
718
+ 'v-slots'?: unknown;
719
+ square?: unknown;
720
+ color?: unknown;
721
+ tag?: unknown;
722
+ elevation?: unknown;
723
+ } & {
724
+ square: boolean;
725
+ tag: string;
726
+ } & {
727
+ elevation?: VuiElevationValue | undefined;
728
+ "v-slots"?: ResolveRawSlots<{
729
+ header: void;
730
+ footer: void;
731
+ }> | undefined;
732
+ color?: ScopeName | undefined;
733
+ }>, {
734
+ square: boolean;
735
+ tag: string;
736
+ }>;
737
+
738
+ export declare const VCardActions: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
739
+
740
+ export declare const VCardContent: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
429
741
 
430
742
  export declare const VCheckbox: DefineComponent<{
431
743
  indeterminate: BooleanConstructor;
@@ -932,7 +1244,7 @@ export declare interface VFormSlots {
932
1244
 
933
1245
  export declare const VIcon: DefineComponent<{
934
1246
  name: {
935
- type: PropType<IconName>;
1247
+ type: PropType<IconName | "$empty">;
936
1248
  required: true;
937
1249
  };
938
1250
  rotate: {
@@ -944,15 +1256,208 @@ export declare const VIcon: DefineComponent<{
944
1256
  name?: unknown;
945
1257
  rotate?: unknown;
946
1258
  } & {
947
- name: IconName;
1259
+ name: IconName | "$empty";
948
1260
  } & {
949
1261
  rotate?: number | undefined;
950
1262
  }> & {
951
1263
  onClick?: ((ev: MouseEvent) => any) | undefined;
952
1264
  }, {}>;
953
1265
 
1266
+ export declare const VListTile: DefineComponent<{
1267
+ startIcon: PropType<RawIconProp<void>>;
1268
+ endIcon: PropType<RawIconProp<void>>;
1269
+ fallbackTag: {
1270
+ type: StringConstructor;
1271
+ default: string;
1272
+ };
1273
+ onClick: PropType<(ev: MouseEvent) => void>;
1274
+ tag: StringConstructor;
1275
+ to: PropType<RouteLocationRaw>;
1276
+ replace: BooleanConstructor;
1277
+ activeClass: StringConstructor;
1278
+ exactActiveClass: StringConstructor;
1279
+ custom: BooleanConstructor;
1280
+ ariaCurrentValue: {
1281
+ readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
1282
+ readonly default: "page";
1283
+ };
1284
+ disabled: BooleanConstructor;
1285
+ href: StringConstructor;
1286
+ target: StringConstructor;
1287
+ rel: StringConstructor;
1288
+ name: StringConstructor;
1289
+ charset: StringConstructor;
1290
+ hreflang: StringConstructor;
1291
+ download: PropType<string | boolean>;
1292
+ media: StringConstructor;
1293
+ ping: StringConstructor;
1294
+ referrerpolicy: StringConstructor;
1295
+ type: PropType<"submit" | "reset" | "button" | undefined>;
1296
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1297
+ click: (ev: MouseEvent) => true;
1298
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
1299
+ startIcon?: unknown;
1300
+ endIcon?: unknown;
1301
+ fallbackTag?: unknown;
1302
+ onClick?: unknown;
1303
+ tag?: unknown;
1304
+ to?: unknown;
1305
+ replace?: unknown;
1306
+ activeClass?: unknown;
1307
+ exactActiveClass?: unknown;
1308
+ custom?: unknown;
1309
+ ariaCurrentValue?: unknown;
1310
+ disabled?: unknown;
1311
+ href?: unknown;
1312
+ target?: unknown;
1313
+ rel?: unknown;
1314
+ name?: unknown;
1315
+ charset?: unknown;
1316
+ hreflang?: unknown;
1317
+ download?: unknown;
1318
+ media?: unknown;
1319
+ ping?: unknown;
1320
+ referrerpolicy?: unknown;
1321
+ type?: unknown;
1322
+ } & {
1323
+ replace: boolean;
1324
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
1325
+ fallbackTag: string;
1326
+ custom: boolean;
1327
+ disabled: boolean;
1328
+ } & {
1329
+ startIcon?: RawIconProp<void> | undefined;
1330
+ endIcon?: RawIconProp<void> | undefined;
1331
+ type?: "submit" | "reset" | "button" | undefined;
1332
+ onClick?: ((ev: MouseEvent) => void) | undefined;
1333
+ tag?: string | undefined;
1334
+ to?: RouteLocationRaw | undefined;
1335
+ activeClass?: string | undefined;
1336
+ exactActiveClass?: string | undefined;
1337
+ href?: string | undefined;
1338
+ target?: string | undefined;
1339
+ rel?: string | undefined;
1340
+ name?: string | undefined;
1341
+ charset?: string | undefined;
1342
+ hreflang?: string | undefined;
1343
+ download?: string | boolean | undefined;
1344
+ media?: string | undefined;
1345
+ ping?: string | undefined;
1346
+ referrerpolicy?: string | undefined;
1347
+ }> & {
1348
+ onClick?: ((ev: MouseEvent) => any) | undefined;
1349
+ }, {
1350
+ replace: boolean;
1351
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
1352
+ fallbackTag: string;
1353
+ custom: boolean;
1354
+ disabled: boolean;
1355
+ }>;
1356
+
954
1357
  export { VMenu }
955
1358
 
1359
+ export declare const VNavigation: DefineComponent<{
1360
+ items: {
1361
+ type: PropType<NavigationItemInputWithContent[]>;
1362
+ required: true;
1363
+ };
1364
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
1365
+ items?: unknown;
1366
+ } & {
1367
+ items: NavigationItemInputWithContent[];
1368
+ } & {}>, {}>;
1369
+
1370
+ export declare const VNavigationItem: DefineComponent<{
1371
+ startIcon: PropType<RawIconProp<void>>;
1372
+ endIcon: PropType<RawIconProp<void>>;
1373
+ fallbackTag: {
1374
+ type: StringConstructor;
1375
+ default: string;
1376
+ };
1377
+ onClick: PropType<(ev: MouseEvent) => void>;
1378
+ tag: StringConstructor;
1379
+ to: PropType<RouteLocationRaw>;
1380
+ replace: BooleanConstructor;
1381
+ activeClass: StringConstructor;
1382
+ exactActiveClass: StringConstructor;
1383
+ custom: BooleanConstructor;
1384
+ ariaCurrentValue: {
1385
+ readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
1386
+ readonly default: "page";
1387
+ };
1388
+ disabled: BooleanConstructor;
1389
+ href: StringConstructor;
1390
+ target: StringConstructor;
1391
+ rel: StringConstructor;
1392
+ name: StringConstructor;
1393
+ charset: StringConstructor;
1394
+ hreflang: StringConstructor;
1395
+ download: PropType<string | boolean>;
1396
+ media: StringConstructor;
1397
+ ping: StringConstructor;
1398
+ referrerpolicy: StringConstructor;
1399
+ type: PropType<"submit" | "reset" | "button" | undefined>;
1400
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1401
+ click: (ev: MouseEvent) => true;
1402
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
1403
+ startIcon?: unknown;
1404
+ endIcon?: unknown;
1405
+ fallbackTag?: unknown;
1406
+ onClick?: unknown;
1407
+ tag?: unknown;
1408
+ to?: unknown;
1409
+ replace?: unknown;
1410
+ activeClass?: unknown;
1411
+ exactActiveClass?: unknown;
1412
+ custom?: unknown;
1413
+ ariaCurrentValue?: unknown;
1414
+ disabled?: unknown;
1415
+ href?: unknown;
1416
+ target?: unknown;
1417
+ rel?: unknown;
1418
+ name?: unknown;
1419
+ charset?: unknown;
1420
+ hreflang?: unknown;
1421
+ download?: unknown;
1422
+ media?: unknown;
1423
+ ping?: unknown;
1424
+ referrerpolicy?: unknown;
1425
+ type?: unknown;
1426
+ } & {
1427
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
1428
+ replace: boolean;
1429
+ fallbackTag: string;
1430
+ custom: boolean;
1431
+ disabled: boolean;
1432
+ } & {
1433
+ startIcon?: RawIconProp<void> | undefined;
1434
+ endIcon?: RawIconProp<void> | undefined;
1435
+ type?: "submit" | "reset" | "button" | undefined;
1436
+ onClick?: ((ev: MouseEvent) => void) | undefined;
1437
+ tag?: string | undefined;
1438
+ to?: RouteLocationRaw | undefined;
1439
+ activeClass?: string | undefined;
1440
+ exactActiveClass?: string | undefined;
1441
+ href?: string | undefined;
1442
+ target?: string | undefined;
1443
+ rel?: string | undefined;
1444
+ name?: string | undefined;
1445
+ charset?: string | undefined;
1446
+ hreflang?: string | undefined;
1447
+ download?: string | boolean | undefined;
1448
+ media?: string | undefined;
1449
+ ping?: string | undefined;
1450
+ referrerpolicy?: string | undefined;
1451
+ }> & {
1452
+ onClick?: ((ev: MouseEvent) => any) | undefined;
1453
+ }, {
1454
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
1455
+ replace: boolean;
1456
+ fallbackTag: string;
1457
+ custom: boolean;
1458
+ disabled: boolean;
1459
+ }>;
1460
+
956
1461
  export declare const VOption: DefineComponent<{
957
1462
  size: {
958
1463
  type: PropType<"sm" | "md" | "lg">;
@@ -1119,6 +1624,39 @@ export declare const VOptionGroup: DefineComponent<{
1119
1624
  disabled: boolean;
1120
1625
  }>;
1121
1626
 
1627
+ export declare const VPaper: DefineComponent<{
1628
+ 'v-slots': PropType<ResolveRawSlots_2<{
1629
+ header: void;
1630
+ footer: void;
1631
+ }>>;
1632
+ square: BooleanConstructor;
1633
+ color: PropType<ScopeName>;
1634
+ tag: {
1635
+ type: StringConstructor;
1636
+ default: string;
1637
+ };
1638
+ elevation: PropType<VuiElevationValue>;
1639
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
1640
+ 'v-slots'?: unknown;
1641
+ square?: unknown;
1642
+ color?: unknown;
1643
+ tag?: unknown;
1644
+ elevation?: unknown;
1645
+ } & {
1646
+ square: boolean;
1647
+ tag: string;
1648
+ } & {
1649
+ elevation?: VuiElevationValue | undefined;
1650
+ "v-slots"?: ResolveRawSlots_2<{
1651
+ header: void;
1652
+ footer: void;
1653
+ }> | undefined;
1654
+ color?: ScopeName | undefined;
1655
+ }>, {
1656
+ square: boolean;
1657
+ tag: string;
1658
+ }>;
1659
+
1122
1660
  export declare const VRadio: DefineComponent<{
1123
1661
  size: {
1124
1662
  type: PropType<"sm" | "md" | "lg">;
@@ -2546,12 +3084,138 @@ export declare const VTextField: DefineComponent<{
2546
3084
  errors: FormNodeError[];
2547
3085
  }>;
2548
3086
 
3087
+ export declare const VToolbar: DefineComponent<{
3088
+ dense: BooleanConstructor;
3089
+ variant: PropType<ColorVariant>;
3090
+ theme: PropType<ThemeName>;
3091
+ color: PropType<ScopeName>;
3092
+ textColor: PropType<PaletteName>;
3093
+ borderColor: PropType<PaletteName>;
3094
+ elevation: PropType<VuiElevationValue>;
3095
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
3096
+ dense?: unknown;
3097
+ variant?: unknown;
3098
+ theme?: unknown;
3099
+ color?: unknown;
3100
+ textColor?: unknown;
3101
+ borderColor?: unknown;
3102
+ elevation?: unknown;
3103
+ } & {
3104
+ dense: boolean;
3105
+ } & {
3106
+ elevation?: VuiElevationValue | undefined;
3107
+ theme?: ThemeName | undefined;
3108
+ color?: ScopeName | undefined;
3109
+ textColor?: PaletteName | undefined;
3110
+ borderColor?: PaletteName | undefined;
3111
+ variant?: ColorVariant | undefined;
3112
+ }>, {
3113
+ dense: boolean;
3114
+ }>;
3115
+
3116
+ export declare const VToolbarMenu: DefineComponent<{
3117
+ edge: {
3118
+ type: PropType<VToolbarMenuEdge>;
3119
+ required: true;
3120
+ };
3121
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
3122
+ edge?: unknown;
3123
+ } & {
3124
+ edge: VToolbarMenuEdge;
3125
+ } & {}>, {}>;
3126
+
3127
+ export declare type VToolbarMenuEdge = 'start' | 'end';
3128
+
3129
+ export declare const VToolbarTitle: DefineComponent<{
3130
+ tag: {
3131
+ type: StringConstructor;
3132
+ default: string;
3133
+ };
3134
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
3135
+ tag?: unknown;
3136
+ } & {
3137
+ tag: string;
3138
+ } & {}>, {
3139
+ tag: string;
3140
+ }>;
3141
+
3142
+ export declare const vueButtonProps: {
3143
+ size: {
3144
+ type: PropType<"sm" | "md" | "lg">;
3145
+ validator: (value: any) => boolean;
3146
+ };
3147
+ spacer: PropType<RawVButtonSpacer>;
3148
+ loading: BooleanConstructor;
3149
+ rounded: BooleanConstructor;
3150
+ icon: PropType<RawVButtonIcon>;
3151
+ startIcon: PropType<RawVButtonIcon>;
3152
+ endIcon: PropType<RawVButtonIcon>;
3153
+ onClick: PropType<(ev: MouseEvent) => void>;
3154
+ tag: StringConstructor;
3155
+ to: PropType<RouteLocationRaw>;
3156
+ replace: BooleanConstructor;
3157
+ activeClass: StringConstructor;
3158
+ exactActiveClass: StringConstructor;
3159
+ custom: BooleanConstructor;
3160
+ ariaCurrentValue: {
3161
+ readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
3162
+ readonly default: "page";
3163
+ };
3164
+ disabled: BooleanConstructor;
3165
+ href: StringConstructor;
3166
+ target: StringConstructor;
3167
+ rel: StringConstructor;
3168
+ name: StringConstructor;
3169
+ charset: StringConstructor;
3170
+ hreflang: StringConstructor;
3171
+ download: PropType<string | boolean>;
3172
+ media: StringConstructor;
3173
+ ping: StringConstructor;
3174
+ referrerpolicy: StringConstructor;
3175
+ type: PropType<"submit" | "reset" | "button" | undefined>;
3176
+ variant: PropType<ColorVariant>;
3177
+ theme: PropType<ThemeName>;
3178
+ color: PropType<ScopeName>;
3179
+ textColor: PropType<PaletteName>;
3180
+ borderColor: PropType<PaletteName>;
3181
+ };
3182
+
3183
+ export declare const VUI_CHECKBOX_GROUP_SYMBOL = "vui-checkbox-group";
3184
+
3185
+ export declare const VUI_CHECKBOX_SYMBOL = "vui-checkbox";
3186
+
3187
+ export declare const VUI_FORM_SYMBOL = "vui-form";
3188
+
3189
+ export declare const VUI_OPTION_SYMBOL = "vui-option";
3190
+
3191
+ export declare const VUI_RADIO_GROUP_SYMBOL = "vui-radio-group";
3192
+
3193
+ export declare const VUI_RADIO_SYMBOL = "vui-radio";
3194
+
3195
+ export declare const VUI_SELECT_SYMBOL = "vui-select";
3196
+
3197
+ export declare const VUI_SWITCH_GROUP_SYMBOL = "vui-switch-group";
3198
+
3199
+ export declare const VUI_SWITCH_SYMBOL = "vui-switch";
3200
+
3201
+ export declare const VUI_TEXT_FIELD_SYMBOL = "vui-text-field";
3202
+
3203
+ export declare const VUI_TEXTAREA_SYMBOL = "vui-textarea";
3204
+
2549
3205
  export declare interface VuiColorProvider {
2550
3206
  primary: ComputedRef<ScopeName>;
2551
3207
  error: ComputedRef<ScopeName>;
2552
3208
  className: (type: 'primary' | 'error') => string;
2553
3209
  }
2554
3210
 
3211
+ export declare const VuiColorProviderInjectionKey: InjectionKey<VuiColorProvider>;
3212
+
3213
+ export declare const VuiControlFieldInjectionKey: InjectionKey<ControlFieldProvider>;
3214
+
3215
+ export declare const VuiControlInjectionKey: InjectionKey<ControlProvider>;
3216
+
3217
+ export declare type VuiElevationValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
3218
+
2555
3219
  export declare const VuiInjectionKey: InjectionKey<VuiService>;
2556
3220
 
2557
3221
  export declare class VuiPlugin {
@@ -2563,8 +3227,7 @@ export declare interface VuiPluginOptions extends VuiServiceOptions {
2563
3227
  stack?: VuiPluginStackOptions;
2564
3228
  }
2565
3229
 
2566
- export declare interface VuiPluginStackOptions extends Omit<VueStackServiceOptions, 'primaryColor'> {
2567
- primaryColor?: VueStackServiceOptions['primaryColor'];
3230
+ export declare interface VuiPluginStackOptions extends VueStackServiceOptions {
2568
3231
  }
2569
3232
 
2570
3233
  export declare class VuiService {
@@ -2574,24 +3237,20 @@ export declare class VuiService {
2574
3237
  readonly textareaRows?: number;
2575
3238
  readonly requiredChip?: VuiVNodeResolver;
2576
3239
  constructor(options: VuiServiceOptions);
2577
- color(colorType: keyof VuiServiceColorSettings): ScopeName;
2578
- icon(iconType: keyof VuiServiceIconSettings): IconName;
3240
+ setting<K extends keyof VuiServiceUISettings>(key: K): VuiServiceUISettings[K];
3241
+ icon<K extends keyof VuiServiceIconSettings>(iconType: K): VuiServiceIconSettings[K];
2579
3242
  getAutoScrollToElementOffsetTop(): number;
2580
3243
  getRequiredChip(): VNodeChild;
2581
3244
  }
2582
3245
 
2583
- export declare interface VuiServiceColorSettings {
2584
- primary: ScopeName;
2585
- error: ScopeName;
2586
- }
2587
-
2588
3246
  export declare interface VuiServiceIconSettings {
2589
3247
  menuDown: IconName;
3248
+ navigationExpand: RawIconProp;
2590
3249
  }
2591
3250
 
2592
3251
  export declare interface VuiServiceOptions {
2593
3252
  colorScheme: VueColorSchemePluginSettings;
2594
- colors: VuiServiceColorSettings;
3253
+ uiSettings: VuiServiceUISettings;
2595
3254
  icons: VuiServiceIconSettings;
2596
3255
  selectionSeparator?: VuiVNodeResolver;
2597
3256
  autoScrollToElementOffsetTop?: number | (() => number | undefined);
@@ -2599,9 +3258,33 @@ export declare interface VuiServiceOptions {
2599
3258
  requiredChip?: VuiVNodeResolver;
2600
3259
  }
2601
3260
 
3261
+ export declare interface VuiServiceUISettings {
3262
+ primaryScope: ScopeName;
3263
+ plainVariant: ColorVariant;
3264
+ containedVariant: ColorVariant;
3265
+ errorScope: ScopeName;
3266
+ buttonDefault: {
3267
+ color: ScopeName;
3268
+ variant: ColorVariant;
3269
+ };
3270
+ dialogOk?: {
3271
+ color?: ScopeName;
3272
+ variant?: ColorVariant;
3273
+ };
3274
+ dialogCancel?: {
3275
+ color?: ScopeName;
3276
+ variant?: ColorVariant;
3277
+ };
3278
+ dialogClose?: {
3279
+ color?: ScopeName;
3280
+ variant?: ColorVariant;
3281
+ };
3282
+ }
3283
+
2602
3284
  export declare type VuiVNodeResolver = () => VNodeChild;
2603
3285
 
2604
3286
 
2605
3287
  export * from "@fastkit/vue-kit";
3288
+ export * from "@fastkit/vue-loading";
2606
3289
 
2607
3290
  export { }