@fastkit/vui 0.6.12 → 0.6.16
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/tool/index.js +24 -7
- package/dist/tool/vite-plugin.d.ts +2 -2
- package/dist/tool/vite-plugin.d.ts.map +1 -1
- package/dist/vui.cjs.js +814 -51
- package/dist/vui.cjs.prod.js +814 -51
- package/dist/vui.css +453 -0
- package/dist/vui.d.ts +811 -16
- package/dist/vui.esm-bundler.js +773 -53
- package/dist/vui.min.css +1 -1
- package/dist/vui.min.css.map +1 -1
- package/package.json +6 -6
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';
|
|
@@ -51,6 +53,8 @@ import { VueForm } from '@fastkit/vue-kit';
|
|
|
51
53
|
import { VueStackServiceOptions } from '@fastkit/vue-kit';
|
|
52
54
|
import { WritableComputedRef } from 'vue';
|
|
53
55
|
|
|
56
|
+
declare type ARGS = Record<string, unknown> & VNodeProps;
|
|
57
|
+
|
|
54
58
|
export declare const CONTROL_FIELD_VARIANTS: readonly ["outlined", "filled", "flat"];
|
|
55
59
|
|
|
56
60
|
export declare const CONTROL_SIZES: readonly ["sm", "md", "lg"];
|
|
@@ -74,6 +78,24 @@ export declare interface ControlProvider {
|
|
|
74
78
|
|
|
75
79
|
export declare type ControlSize = typeof CONTROL_SIZES[number];
|
|
76
80
|
|
|
81
|
+
export declare function createCardProps(): {
|
|
82
|
+
square: BooleanConstructor;
|
|
83
|
+
headerProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
84
|
+
bodyProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
85
|
+
footerProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
86
|
+
'v-slots': PropType<ResolveRawSlots<{
|
|
87
|
+
header: void;
|
|
88
|
+
default: void;
|
|
89
|
+
footer: void;
|
|
90
|
+
}>>;
|
|
91
|
+
color: PropType<ScopeName>;
|
|
92
|
+
tag: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
elevation: PropType<VuiElevationValue>;
|
|
97
|
+
};
|
|
98
|
+
|
|
77
99
|
export declare function createControlFieldProviderProps(): {
|
|
78
100
|
variant: {
|
|
79
101
|
type: PropType<"flat" | "outlined" | "filled">;
|
|
@@ -88,6 +110,108 @@ export declare function createControlProps(): {
|
|
|
88
110
|
};
|
|
89
111
|
};
|
|
90
112
|
|
|
113
|
+
export declare function createElevationProps(): {
|
|
114
|
+
elevation: PropType<VuiElevationValue>;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
export declare function createListTileProps(): {
|
|
118
|
+
startIcon: PropType<RawIconProp>;
|
|
119
|
+
endIcon: PropType<RawIconProp>;
|
|
120
|
+
fallbackTag: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
startIconEmptySpace: BooleanConstructor;
|
|
125
|
+
color: PropType<ScopeName>;
|
|
126
|
+
tag: StringConstructor;
|
|
127
|
+
to: PropType<RouteLocationRaw>;
|
|
128
|
+
replace: BooleanConstructor;
|
|
129
|
+
activeClass: StringConstructor;
|
|
130
|
+
exactActiveClass: StringConstructor;
|
|
131
|
+
custom: BooleanConstructor;
|
|
132
|
+
ariaCurrentValue: {
|
|
133
|
+
readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
134
|
+
readonly default: "page";
|
|
135
|
+
};
|
|
136
|
+
disabled: BooleanConstructor;
|
|
137
|
+
href: StringConstructor;
|
|
138
|
+
target: StringConstructor;
|
|
139
|
+
rel: StringConstructor;
|
|
140
|
+
name: StringConstructor;
|
|
141
|
+
charset: StringConstructor;
|
|
142
|
+
hreflang: StringConstructor;
|
|
143
|
+
download: PropType<string | boolean>;
|
|
144
|
+
media: StringConstructor;
|
|
145
|
+
ping: StringConstructor;
|
|
146
|
+
referrerpolicy: StringConstructor;
|
|
147
|
+
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export declare function createNavigationItemProps(): {
|
|
151
|
+
match: StringConstructor;
|
|
152
|
+
startIcon: PropType<RawIconProp>;
|
|
153
|
+
endIcon: PropType<RawIconProp>;
|
|
154
|
+
fallbackTag: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
startIconEmptySpace: BooleanConstructor;
|
|
159
|
+
color: PropType<ScopeName>;
|
|
160
|
+
tag: StringConstructor;
|
|
161
|
+
to: PropType<RouteLocationRaw>;
|
|
162
|
+
replace: BooleanConstructor;
|
|
163
|
+
activeClass: StringConstructor;
|
|
164
|
+
exactActiveClass: StringConstructor;
|
|
165
|
+
custom: BooleanConstructor;
|
|
166
|
+
ariaCurrentValue: {
|
|
167
|
+
readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
168
|
+
readonly default: "page";
|
|
169
|
+
};
|
|
170
|
+
disabled: BooleanConstructor;
|
|
171
|
+
href: StringConstructor;
|
|
172
|
+
target: StringConstructor;
|
|
173
|
+
rel: StringConstructor;
|
|
174
|
+
name: StringConstructor;
|
|
175
|
+
charset: StringConstructor;
|
|
176
|
+
hreflang: StringConstructor;
|
|
177
|
+
download: PropType<string | boolean>;
|
|
178
|
+
media: StringConstructor;
|
|
179
|
+
ping: StringConstructor;
|
|
180
|
+
referrerpolicy: StringConstructor;
|
|
181
|
+
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
export declare function createPaperBaseProps(): {
|
|
185
|
+
'v-slots': PropType<ResolveRawSlots_2<{
|
|
186
|
+
header: void;
|
|
187
|
+
default: void;
|
|
188
|
+
footer: void;
|
|
189
|
+
}>>;
|
|
190
|
+
color: PropType<ScopeName>;
|
|
191
|
+
tag: {
|
|
192
|
+
type: StringConstructor;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
export declare function createPaperProps(): {
|
|
198
|
+
square: BooleanConstructor;
|
|
199
|
+
headerProps: PropType<ARGS>;
|
|
200
|
+
bodyProps: PropType<ARGS>;
|
|
201
|
+
footerProps: PropType<ARGS>;
|
|
202
|
+
'v-slots': PropType<ResolveRawSlots_2<{
|
|
203
|
+
header: void;
|
|
204
|
+
default: void;
|
|
205
|
+
footer: void;
|
|
206
|
+
}>>;
|
|
207
|
+
color: PropType<ScopeName>;
|
|
208
|
+
tag: {
|
|
209
|
+
type: StringConstructor;
|
|
210
|
+
default: string;
|
|
211
|
+
};
|
|
212
|
+
elevation: PropType<VuiElevationValue>;
|
|
213
|
+
};
|
|
214
|
+
|
|
91
215
|
export declare function defineFormSelectorComponent(opts: DefineFormSelectorComponentOptions): DefineComponent<{
|
|
92
216
|
'v-slots': PropType<ResolveRawSlots<FormControlSlots>>;
|
|
93
217
|
stacked: {
|
|
@@ -317,10 +441,28 @@ export declare interface DefineFormSelectorComponentOptions {
|
|
|
317
441
|
}) => VNodeChild;
|
|
318
442
|
}
|
|
319
443
|
|
|
444
|
+
export declare type ElevationProps = ExtractPropTypes<ReturnType<typeof createElevationProps>>;
|
|
445
|
+
|
|
446
|
+
declare type EmptyIconSymbol = '$empty';
|
|
447
|
+
|
|
320
448
|
export { ICON_NAMES }
|
|
321
449
|
|
|
450
|
+
declare type IconGenerator = (input: IconPropInout) => VNodeChild;
|
|
451
|
+
|
|
322
452
|
export { IconName }
|
|
323
453
|
|
|
454
|
+
declare type IconPropInout = ExtractPropInput<typeof iconProps>;
|
|
455
|
+
|
|
456
|
+
export declare const iconProps: {
|
|
457
|
+
name: {
|
|
458
|
+
type: PropType<IconName | "$empty">;
|
|
459
|
+
required: true;
|
|
460
|
+
};
|
|
461
|
+
rotate: {
|
|
462
|
+
type: NumberConstructor;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
|
|
324
466
|
declare interface InputBoxSlots {
|
|
325
467
|
default: void;
|
|
326
468
|
startAdornment: void;
|
|
@@ -329,8 +471,36 @@ declare interface InputBoxSlots {
|
|
|
329
471
|
|
|
330
472
|
export declare function installVuiPlugin(app: App, opts: VuiPluginOptions): App<any>;
|
|
331
473
|
|
|
474
|
+
export declare const listTileEmits: {
|
|
475
|
+
changeActive: (isActive: boolean) => boolean;
|
|
476
|
+
click: (ev: MouseEvent) => boolean;
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
export declare interface NavigationItemInput extends ExtractPropInput<ReturnType<typeof createNavigationItemProps>> {
|
|
480
|
+
key: string | number;
|
|
481
|
+
label: VNodeChild | (() => VNodeChild);
|
|
482
|
+
children?: NavigationItemInput[];
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export declare type RawIconProp = IconName | EmptyIconSymbol | ToggleableIconHook;
|
|
486
|
+
|
|
487
|
+
export declare function rawIconProp(): PropType<RawIconProp>;
|
|
488
|
+
|
|
489
|
+
export declare type RawVButtonIcon = IconName | VButtonIcon;
|
|
490
|
+
|
|
491
|
+
export declare type RawVButtonSpacer = boolean | VButtonSpacer;
|
|
492
|
+
|
|
332
493
|
declare type RecursiveArray<T> = T | RecursiveArray<T>[];
|
|
333
494
|
|
|
495
|
+
export declare function renderNavigationItemInput(input: NavigationItemInput, extraProps?: Record<string, unknown> & VNodeProps): JSX.Element;
|
|
496
|
+
|
|
497
|
+
export declare function resolveNavigationItemInput(input: NavigationItemInput): {
|
|
498
|
+
label: VNodeChild;
|
|
499
|
+
props: NavigationItemInput;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
export declare function resolveRawIconProp(payload: boolean, prop?: RawIconProp, extraProps?: Record<string, unknown> & VNodeProps): VNodeChild;
|
|
503
|
+
|
|
334
504
|
declare interface Rule<C extends any = any> {
|
|
335
505
|
<EC extends C = C>(constraints: Partial<EC>, overRides?: string | Partial<RuleSettings<EC>>): Rule<EC>;
|
|
336
506
|
$name: string;
|
|
@@ -394,6 +564,8 @@ declare interface RuleValidateOptions {
|
|
|
394
564
|
eachPrefix?: string;
|
|
395
565
|
}
|
|
396
566
|
|
|
567
|
+
declare type ToggleableIconHook = (gen: IconGenerator, ctx: boolean) => VNodeChild;
|
|
568
|
+
|
|
397
569
|
export declare function useControl(props: ControlProps, opts?: UseControlProviderOptions): ControlProvider;
|
|
398
570
|
|
|
399
571
|
export declare function useControlField(props: ControlFieldProviderProps, opts?: UseControlFieldProviderOptions): ControlFieldProvider;
|
|
@@ -406,6 +578,19 @@ export declare interface UseControlProviderOptions {
|
|
|
406
578
|
defaultSize?: ControlSize;
|
|
407
579
|
}
|
|
408
580
|
|
|
581
|
+
export declare function useElevation(props: ElevationProps, opts?: UseElevationOptions): {
|
|
582
|
+
elevationValue: ComputedRef<VuiElevationValue | undefined>;
|
|
583
|
+
elevationClassName: ComputedRef<string | undefined>;
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
export declare interface UseElevationOptions {
|
|
587
|
+
defaultValue?: VuiElevationValue;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export declare function useVui(): VuiService;
|
|
591
|
+
|
|
592
|
+
export declare function useVuiColorProvider(): VuiColorProvider;
|
|
593
|
+
|
|
409
594
|
declare const ValidateCancelSymbol = "__ValidateCancelSymbol__";
|
|
410
595
|
|
|
411
596
|
declare interface ValidationError {
|
|
@@ -423,9 +608,177 @@ declare const ValidationErrorSymbol = "ValidationError";
|
|
|
423
608
|
|
|
424
609
|
export declare const VApp: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
425
610
|
|
|
426
|
-
export
|
|
611
|
+
export declare const VButton: DefineComponent<{
|
|
612
|
+
size: {
|
|
613
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
614
|
+
validator: (value: any) => boolean;
|
|
615
|
+
};
|
|
616
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
617
|
+
loading: BooleanConstructor;
|
|
618
|
+
rounded: BooleanConstructor;
|
|
619
|
+
icon: PropType<RawVButtonIcon>;
|
|
620
|
+
startIcon: PropType<RawVButtonIcon>;
|
|
621
|
+
endIcon: PropType<RawVButtonIcon>;
|
|
622
|
+
tag: StringConstructor;
|
|
623
|
+
to: PropType<RouteLocationRaw>;
|
|
624
|
+
replace: BooleanConstructor;
|
|
625
|
+
activeClass: StringConstructor;
|
|
626
|
+
exactActiveClass: StringConstructor;
|
|
627
|
+
custom: BooleanConstructor;
|
|
628
|
+
ariaCurrentValue: {
|
|
629
|
+
readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
630
|
+
readonly default: "page";
|
|
631
|
+
};
|
|
632
|
+
disabled: BooleanConstructor;
|
|
633
|
+
href: StringConstructor;
|
|
634
|
+
target: StringConstructor;
|
|
635
|
+
rel: StringConstructor;
|
|
636
|
+
name: StringConstructor;
|
|
637
|
+
charset: StringConstructor;
|
|
638
|
+
hreflang: StringConstructor;
|
|
639
|
+
download: PropType<string | boolean>;
|
|
640
|
+
media: StringConstructor;
|
|
641
|
+
ping: StringConstructor;
|
|
642
|
+
referrerpolicy: StringConstructor;
|
|
643
|
+
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
644
|
+
variant: PropType<ColorVariant>;
|
|
645
|
+
theme: PropType<ThemeName>;
|
|
646
|
+
color: PropType<ScopeName>;
|
|
647
|
+
textColor: PropType<PaletteName>;
|
|
648
|
+
borderColor: PropType<PaletteName>;
|
|
649
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
650
|
+
click: (ev: MouseEvent) => boolean;
|
|
651
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
652
|
+
size?: unknown;
|
|
653
|
+
spacer?: unknown;
|
|
654
|
+
loading?: unknown;
|
|
655
|
+
rounded?: unknown;
|
|
656
|
+
icon?: unknown;
|
|
657
|
+
startIcon?: unknown;
|
|
658
|
+
endIcon?: unknown;
|
|
659
|
+
tag?: unknown;
|
|
660
|
+
to?: unknown;
|
|
661
|
+
replace?: unknown;
|
|
662
|
+
activeClass?: unknown;
|
|
663
|
+
exactActiveClass?: unknown;
|
|
664
|
+
custom?: unknown;
|
|
665
|
+
ariaCurrentValue?: unknown;
|
|
666
|
+
disabled?: unknown;
|
|
667
|
+
href?: unknown;
|
|
668
|
+
target?: unknown;
|
|
669
|
+
rel?: unknown;
|
|
670
|
+
name?: unknown;
|
|
671
|
+
charset?: unknown;
|
|
672
|
+
hreflang?: unknown;
|
|
673
|
+
download?: unknown;
|
|
674
|
+
media?: unknown;
|
|
675
|
+
ping?: unknown;
|
|
676
|
+
referrerpolicy?: unknown;
|
|
677
|
+
type?: unknown;
|
|
678
|
+
variant?: unknown;
|
|
679
|
+
theme?: unknown;
|
|
680
|
+
color?: unknown;
|
|
681
|
+
textColor?: unknown;
|
|
682
|
+
borderColor?: unknown;
|
|
683
|
+
} & {
|
|
684
|
+
loading: boolean;
|
|
685
|
+
rounded: boolean;
|
|
686
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
687
|
+
replace: boolean;
|
|
688
|
+
custom: boolean;
|
|
689
|
+
disabled: boolean;
|
|
690
|
+
} & {
|
|
691
|
+
theme?: ThemeName | undefined;
|
|
692
|
+
color?: ScopeName | undefined;
|
|
693
|
+
textColor?: PaletteName | undefined;
|
|
694
|
+
borderColor?: PaletteName | undefined;
|
|
695
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
696
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
697
|
+
spacer?: RawVButtonSpacer | undefined;
|
|
698
|
+
icon?: RawVButtonIcon | undefined;
|
|
699
|
+
startIcon?: RawVButtonIcon | undefined;
|
|
700
|
+
endIcon?: RawVButtonIcon | undefined;
|
|
701
|
+
tag?: string | undefined;
|
|
702
|
+
to?: RouteLocationRaw | undefined;
|
|
703
|
+
activeClass?: string | undefined;
|
|
704
|
+
exactActiveClass?: string | undefined;
|
|
705
|
+
href?: string | undefined;
|
|
706
|
+
target?: string | undefined;
|
|
707
|
+
rel?: string | undefined;
|
|
708
|
+
name?: string | undefined;
|
|
709
|
+
charset?: string | undefined;
|
|
710
|
+
hreflang?: string | undefined;
|
|
711
|
+
download?: string | boolean | undefined;
|
|
712
|
+
media?: string | undefined;
|
|
713
|
+
ping?: string | undefined;
|
|
714
|
+
referrerpolicy?: string | undefined;
|
|
715
|
+
variant?: ColorVariant | undefined;
|
|
716
|
+
}> & {
|
|
717
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
718
|
+
}, {
|
|
719
|
+
loading: boolean;
|
|
720
|
+
rounded: boolean;
|
|
721
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
722
|
+
replace: boolean;
|
|
723
|
+
custom: boolean;
|
|
724
|
+
disabled: boolean;
|
|
725
|
+
}>;
|
|
726
|
+
|
|
727
|
+
export declare type VButtonIcon = () => VNodeChild;
|
|
728
|
+
|
|
729
|
+
export declare type VButtonProps = ExtractPropInput<typeof vueButtonProps>;
|
|
730
|
+
|
|
731
|
+
export declare type VButtonResolvedProps = ExtractPropTypes<typeof vueButtonProps>;
|
|
732
|
+
|
|
733
|
+
export declare type VButtonSpacer = 'left' | 'right';
|
|
734
|
+
|
|
735
|
+
export declare const VCard: DefineComponent<{
|
|
736
|
+
square: BooleanConstructor;
|
|
737
|
+
headerProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
738
|
+
bodyProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
739
|
+
footerProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
740
|
+
'v-slots': PropType<ResolveRawSlots<{
|
|
741
|
+
header: void;
|
|
742
|
+
default: void;
|
|
743
|
+
footer: void;
|
|
744
|
+
}>>;
|
|
745
|
+
color: PropType<ScopeName>;
|
|
746
|
+
tag: {
|
|
747
|
+
type: StringConstructor;
|
|
748
|
+
default: string;
|
|
749
|
+
};
|
|
750
|
+
elevation: PropType<VuiElevationValue>;
|
|
751
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
752
|
+
square?: unknown;
|
|
753
|
+
headerProps?: unknown;
|
|
754
|
+
bodyProps?: unknown;
|
|
755
|
+
footerProps?: unknown;
|
|
756
|
+
'v-slots'?: unknown;
|
|
757
|
+
color?: unknown;
|
|
758
|
+
tag?: unknown;
|
|
759
|
+
elevation?: unknown;
|
|
760
|
+
} & {
|
|
761
|
+
square: boolean;
|
|
762
|
+
tag: string;
|
|
763
|
+
} & {
|
|
764
|
+
elevation?: VuiElevationValue | undefined;
|
|
765
|
+
headerProps?: (Record<string, unknown> & VNodeProps) | undefined;
|
|
766
|
+
bodyProps?: (Record<string, unknown> & VNodeProps) | undefined;
|
|
767
|
+
footerProps?: (Record<string, unknown> & VNodeProps) | undefined;
|
|
768
|
+
"v-slots"?: ResolveRawSlots<{
|
|
769
|
+
header: void;
|
|
770
|
+
default: void;
|
|
771
|
+
footer: void;
|
|
772
|
+
}> | undefined;
|
|
773
|
+
color?: ScopeName | undefined;
|
|
774
|
+
}>, {
|
|
775
|
+
square: boolean;
|
|
776
|
+
tag: string;
|
|
777
|
+
}>;
|
|
427
778
|
|
|
428
|
-
export {
|
|
779
|
+
export declare const VCardActions: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
780
|
+
|
|
781
|
+
export declare const VCardContent: DefineComponent<{}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
429
782
|
|
|
430
783
|
export declare const VCheckbox: DefineComponent<{
|
|
431
784
|
indeterminate: BooleanConstructor;
|
|
@@ -779,6 +1132,34 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
779
1132
|
|
|
780
1133
|
export { VDialog }
|
|
781
1134
|
|
|
1135
|
+
export declare const VDrawerLayout: DefineComponent<{
|
|
1136
|
+
'v-slots': PropType<ResolveRawSlots<{
|
|
1137
|
+
header: void;
|
|
1138
|
+
default: void;
|
|
1139
|
+
footer: void;
|
|
1140
|
+
}>>;
|
|
1141
|
+
color: PropType<ScopeName>;
|
|
1142
|
+
tag: {
|
|
1143
|
+
type: StringConstructor;
|
|
1144
|
+
default: string;
|
|
1145
|
+
};
|
|
1146
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1147
|
+
'v-slots'?: unknown;
|
|
1148
|
+
color?: unknown;
|
|
1149
|
+
tag?: unknown;
|
|
1150
|
+
} & {
|
|
1151
|
+
tag: string;
|
|
1152
|
+
} & {
|
|
1153
|
+
"v-slots"?: ResolveRawSlots<{
|
|
1154
|
+
header: void;
|
|
1155
|
+
default: void;
|
|
1156
|
+
footer: void;
|
|
1157
|
+
}> | undefined;
|
|
1158
|
+
color?: ScopeName | undefined;
|
|
1159
|
+
}>, {
|
|
1160
|
+
tag: string;
|
|
1161
|
+
}>;
|
|
1162
|
+
|
|
782
1163
|
export declare const VForm: DefineComponent<{
|
|
783
1164
|
'v-slots': PropType<ResolveRawSlots<VFormSlots>>;
|
|
784
1165
|
size: {
|
|
@@ -932,7 +1313,7 @@ export declare interface VFormSlots {
|
|
|
932
1313
|
|
|
933
1314
|
export declare const VIcon: DefineComponent<{
|
|
934
1315
|
name: {
|
|
935
|
-
type: PropType<IconName>;
|
|
1316
|
+
type: PropType<IconName | "$empty">;
|
|
936
1317
|
required: true;
|
|
937
1318
|
};
|
|
938
1319
|
rotate: {
|
|
@@ -944,15 +1325,241 @@ export declare const VIcon: DefineComponent<{
|
|
|
944
1325
|
name?: unknown;
|
|
945
1326
|
rotate?: unknown;
|
|
946
1327
|
} & {
|
|
947
|
-
name: IconName;
|
|
1328
|
+
name: IconName | "$empty";
|
|
948
1329
|
} & {
|
|
949
1330
|
rotate?: number | undefined;
|
|
950
1331
|
}> & {
|
|
951
1332
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
952
1333
|
}, {}>;
|
|
953
1334
|
|
|
1335
|
+
export declare const VListTile: DefineComponent<{
|
|
1336
|
+
startIcon: PropType<RawIconProp>;
|
|
1337
|
+
endIcon: PropType<RawIconProp>;
|
|
1338
|
+
fallbackTag: {
|
|
1339
|
+
type: StringConstructor;
|
|
1340
|
+
default: string;
|
|
1341
|
+
};
|
|
1342
|
+
startIconEmptySpace: BooleanConstructor;
|
|
1343
|
+
color: PropType<ScopeName>;
|
|
1344
|
+
tag: StringConstructor;
|
|
1345
|
+
to: PropType<RouteLocationRaw>;
|
|
1346
|
+
replace: BooleanConstructor;
|
|
1347
|
+
activeClass: StringConstructor;
|
|
1348
|
+
exactActiveClass: StringConstructor;
|
|
1349
|
+
custom: BooleanConstructor;
|
|
1350
|
+
ariaCurrentValue: {
|
|
1351
|
+
readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
1352
|
+
readonly default: "page";
|
|
1353
|
+
};
|
|
1354
|
+
disabled: BooleanConstructor;
|
|
1355
|
+
href: StringConstructor;
|
|
1356
|
+
target: StringConstructor;
|
|
1357
|
+
rel: StringConstructor;
|
|
1358
|
+
name: StringConstructor;
|
|
1359
|
+
charset: StringConstructor;
|
|
1360
|
+
hreflang: StringConstructor;
|
|
1361
|
+
download: PropType<string | boolean>;
|
|
1362
|
+
media: StringConstructor;
|
|
1363
|
+
ping: StringConstructor;
|
|
1364
|
+
referrerpolicy: StringConstructor;
|
|
1365
|
+
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
1366
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1367
|
+
changeActive: (isActive: boolean) => boolean;
|
|
1368
|
+
click: (ev: MouseEvent) => boolean;
|
|
1369
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1370
|
+
startIcon?: unknown;
|
|
1371
|
+
endIcon?: unknown;
|
|
1372
|
+
fallbackTag?: unknown;
|
|
1373
|
+
startIconEmptySpace?: unknown;
|
|
1374
|
+
color?: unknown;
|
|
1375
|
+
tag?: unknown;
|
|
1376
|
+
to?: unknown;
|
|
1377
|
+
replace?: unknown;
|
|
1378
|
+
activeClass?: unknown;
|
|
1379
|
+
exactActiveClass?: unknown;
|
|
1380
|
+
custom?: unknown;
|
|
1381
|
+
ariaCurrentValue?: unknown;
|
|
1382
|
+
disabled?: unknown;
|
|
1383
|
+
href?: unknown;
|
|
1384
|
+
target?: unknown;
|
|
1385
|
+
rel?: unknown;
|
|
1386
|
+
name?: unknown;
|
|
1387
|
+
charset?: unknown;
|
|
1388
|
+
hreflang?: unknown;
|
|
1389
|
+
download?: unknown;
|
|
1390
|
+
media?: unknown;
|
|
1391
|
+
ping?: unknown;
|
|
1392
|
+
referrerpolicy?: unknown;
|
|
1393
|
+
type?: unknown;
|
|
1394
|
+
} & {
|
|
1395
|
+
replace: boolean;
|
|
1396
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1397
|
+
startIconEmptySpace: boolean;
|
|
1398
|
+
fallbackTag: string;
|
|
1399
|
+
custom: boolean;
|
|
1400
|
+
disabled: boolean;
|
|
1401
|
+
} & {
|
|
1402
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
1403
|
+
startIcon?: RawIconProp | undefined;
|
|
1404
|
+
endIcon?: RawIconProp | undefined;
|
|
1405
|
+
color?: ScopeName | undefined;
|
|
1406
|
+
name?: string | undefined;
|
|
1407
|
+
tag?: string | undefined;
|
|
1408
|
+
to?: RouteLocationRaw | undefined;
|
|
1409
|
+
activeClass?: string | undefined;
|
|
1410
|
+
exactActiveClass?: string | undefined;
|
|
1411
|
+
href?: string | undefined;
|
|
1412
|
+
target?: string | undefined;
|
|
1413
|
+
rel?: string | undefined;
|
|
1414
|
+
charset?: string | undefined;
|
|
1415
|
+
hreflang?: string | undefined;
|
|
1416
|
+
download?: string | boolean | undefined;
|
|
1417
|
+
media?: string | undefined;
|
|
1418
|
+
ping?: string | undefined;
|
|
1419
|
+
referrerpolicy?: string | undefined;
|
|
1420
|
+
}> & {
|
|
1421
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
1422
|
+
onChangeActive?: ((isActive: boolean) => any) | undefined;
|
|
1423
|
+
}, {
|
|
1424
|
+
replace: boolean;
|
|
1425
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1426
|
+
startIconEmptySpace: boolean;
|
|
1427
|
+
fallbackTag: string;
|
|
1428
|
+
custom: boolean;
|
|
1429
|
+
disabled: boolean;
|
|
1430
|
+
}>;
|
|
1431
|
+
|
|
954
1432
|
export { VMenu }
|
|
955
1433
|
|
|
1434
|
+
export declare const VNavigation: DefineComponent<{
|
|
1435
|
+
items: {
|
|
1436
|
+
type: PropType<NavigationItemInput[]>;
|
|
1437
|
+
required: true;
|
|
1438
|
+
};
|
|
1439
|
+
color: PropType<ScopeName>;
|
|
1440
|
+
startIconEmptySpace: {
|
|
1441
|
+
type: BooleanConstructor;
|
|
1442
|
+
default: boolean;
|
|
1443
|
+
};
|
|
1444
|
+
caption: PropType<VNodeChild | (() => VNodeChild)>;
|
|
1445
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1446
|
+
items?: unknown;
|
|
1447
|
+
color?: unknown;
|
|
1448
|
+
startIconEmptySpace?: unknown;
|
|
1449
|
+
caption?: unknown;
|
|
1450
|
+
} & {
|
|
1451
|
+
startIconEmptySpace: boolean;
|
|
1452
|
+
items: NavigationItemInput[];
|
|
1453
|
+
} & {
|
|
1454
|
+
color?: ScopeName | undefined;
|
|
1455
|
+
caption?: VNodeChild | (() => VNodeChild);
|
|
1456
|
+
}>, {
|
|
1457
|
+
startIconEmptySpace: boolean;
|
|
1458
|
+
}>;
|
|
1459
|
+
|
|
1460
|
+
export declare const VNavigationItem: DefineComponent<{
|
|
1461
|
+
children: PropType<NavigationItemInput[]>;
|
|
1462
|
+
match: StringConstructor;
|
|
1463
|
+
startIcon: PropType<RawIconProp>;
|
|
1464
|
+
endIcon: PropType<RawIconProp>;
|
|
1465
|
+
fallbackTag: {
|
|
1466
|
+
type: StringConstructor;
|
|
1467
|
+
default: string;
|
|
1468
|
+
};
|
|
1469
|
+
startIconEmptySpace: BooleanConstructor;
|
|
1470
|
+
color: PropType<ScopeName>;
|
|
1471
|
+
tag: StringConstructor;
|
|
1472
|
+
to: PropType<RouteLocationRaw>;
|
|
1473
|
+
replace: BooleanConstructor;
|
|
1474
|
+
activeClass: StringConstructor;
|
|
1475
|
+
exactActiveClass: StringConstructor;
|
|
1476
|
+
custom: BooleanConstructor;
|
|
1477
|
+
ariaCurrentValue: {
|
|
1478
|
+
readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
1479
|
+
readonly default: "page";
|
|
1480
|
+
};
|
|
1481
|
+
disabled: BooleanConstructor;
|
|
1482
|
+
href: StringConstructor;
|
|
1483
|
+
target: StringConstructor;
|
|
1484
|
+
rel: StringConstructor;
|
|
1485
|
+
name: StringConstructor;
|
|
1486
|
+
charset: StringConstructor;
|
|
1487
|
+
hreflang: StringConstructor;
|
|
1488
|
+
download: PropType<string | boolean>;
|
|
1489
|
+
media: StringConstructor;
|
|
1490
|
+
ping: StringConstructor;
|
|
1491
|
+
referrerpolicy: StringConstructor;
|
|
1492
|
+
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
1493
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1494
|
+
changeActive: (isActive: boolean) => boolean;
|
|
1495
|
+
click: (ev: MouseEvent) => boolean;
|
|
1496
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1497
|
+
children?: unknown;
|
|
1498
|
+
match?: unknown;
|
|
1499
|
+
startIcon?: unknown;
|
|
1500
|
+
endIcon?: unknown;
|
|
1501
|
+
fallbackTag?: unknown;
|
|
1502
|
+
startIconEmptySpace?: unknown;
|
|
1503
|
+
color?: unknown;
|
|
1504
|
+
tag?: unknown;
|
|
1505
|
+
to?: unknown;
|
|
1506
|
+
replace?: unknown;
|
|
1507
|
+
activeClass?: unknown;
|
|
1508
|
+
exactActiveClass?: unknown;
|
|
1509
|
+
custom?: unknown;
|
|
1510
|
+
ariaCurrentValue?: unknown;
|
|
1511
|
+
disabled?: unknown;
|
|
1512
|
+
href?: unknown;
|
|
1513
|
+
target?: unknown;
|
|
1514
|
+
rel?: unknown;
|
|
1515
|
+
name?: unknown;
|
|
1516
|
+
charset?: unknown;
|
|
1517
|
+
hreflang?: unknown;
|
|
1518
|
+
download?: unknown;
|
|
1519
|
+
media?: unknown;
|
|
1520
|
+
ping?: unknown;
|
|
1521
|
+
referrerpolicy?: unknown;
|
|
1522
|
+
type?: unknown;
|
|
1523
|
+
} & {
|
|
1524
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1525
|
+
replace: boolean;
|
|
1526
|
+
startIconEmptySpace: boolean;
|
|
1527
|
+
fallbackTag: string;
|
|
1528
|
+
custom: boolean;
|
|
1529
|
+
disabled: boolean;
|
|
1530
|
+
} & {
|
|
1531
|
+
match?: string | undefined;
|
|
1532
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
1533
|
+
startIcon?: RawIconProp | undefined;
|
|
1534
|
+
endIcon?: RawIconProp | undefined;
|
|
1535
|
+
color?: ScopeName | undefined;
|
|
1536
|
+
tag?: string | undefined;
|
|
1537
|
+
to?: RouteLocationRaw | undefined;
|
|
1538
|
+
activeClass?: string | undefined;
|
|
1539
|
+
exactActiveClass?: string | undefined;
|
|
1540
|
+
href?: string | undefined;
|
|
1541
|
+
target?: string | undefined;
|
|
1542
|
+
rel?: string | undefined;
|
|
1543
|
+
name?: string | undefined;
|
|
1544
|
+
charset?: string | undefined;
|
|
1545
|
+
hreflang?: string | undefined;
|
|
1546
|
+
download?: string | boolean | undefined;
|
|
1547
|
+
media?: string | undefined;
|
|
1548
|
+
ping?: string | undefined;
|
|
1549
|
+
referrerpolicy?: string | undefined;
|
|
1550
|
+
children?: NavigationItemInput[] | undefined;
|
|
1551
|
+
}> & {
|
|
1552
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
1553
|
+
onChangeActive?: ((isActive: boolean) => any) | undefined;
|
|
1554
|
+
}, {
|
|
1555
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1556
|
+
replace: boolean;
|
|
1557
|
+
startIconEmptySpace: boolean;
|
|
1558
|
+
fallbackTag: string;
|
|
1559
|
+
custom: boolean;
|
|
1560
|
+
disabled: boolean;
|
|
1561
|
+
}>;
|
|
1562
|
+
|
|
956
1563
|
export declare const VOption: DefineComponent<{
|
|
957
1564
|
size: {
|
|
958
1565
|
type: PropType<"sm" | "md" | "lg">;
|
|
@@ -1119,6 +1726,50 @@ export declare const VOptionGroup: DefineComponent<{
|
|
|
1119
1726
|
disabled: boolean;
|
|
1120
1727
|
}>;
|
|
1121
1728
|
|
|
1729
|
+
export declare const VPaper: DefineComponent<{
|
|
1730
|
+
square: BooleanConstructor;
|
|
1731
|
+
headerProps: PropType<ARGS>;
|
|
1732
|
+
bodyProps: PropType<ARGS>;
|
|
1733
|
+
footerProps: PropType<ARGS>;
|
|
1734
|
+
'v-slots': PropType<ResolveRawSlots_2<{
|
|
1735
|
+
header: void;
|
|
1736
|
+
default: void;
|
|
1737
|
+
footer: void;
|
|
1738
|
+
}>>;
|
|
1739
|
+
color: PropType<ScopeName>;
|
|
1740
|
+
tag: {
|
|
1741
|
+
type: StringConstructor;
|
|
1742
|
+
default: string;
|
|
1743
|
+
};
|
|
1744
|
+
elevation: PropType<VuiElevationValue>;
|
|
1745
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1746
|
+
square?: unknown;
|
|
1747
|
+
headerProps?: unknown;
|
|
1748
|
+
bodyProps?: unknown;
|
|
1749
|
+
footerProps?: unknown;
|
|
1750
|
+
'v-slots'?: unknown;
|
|
1751
|
+
color?: unknown;
|
|
1752
|
+
tag?: unknown;
|
|
1753
|
+
elevation?: unknown;
|
|
1754
|
+
} & {
|
|
1755
|
+
square: boolean;
|
|
1756
|
+
tag: string;
|
|
1757
|
+
} & {
|
|
1758
|
+
elevation?: VuiElevationValue | undefined;
|
|
1759
|
+
headerProps?: ARGS | undefined;
|
|
1760
|
+
bodyProps?: ARGS | undefined;
|
|
1761
|
+
footerProps?: ARGS | undefined;
|
|
1762
|
+
"v-slots"?: ResolveRawSlots_2<{
|
|
1763
|
+
header: void;
|
|
1764
|
+
default: void;
|
|
1765
|
+
footer: void;
|
|
1766
|
+
}> | undefined;
|
|
1767
|
+
color?: ScopeName | undefined;
|
|
1768
|
+
}>, {
|
|
1769
|
+
square: boolean;
|
|
1770
|
+
tag: string;
|
|
1771
|
+
}>;
|
|
1772
|
+
|
|
1122
1773
|
export declare const VRadio: DefineComponent<{
|
|
1123
1774
|
size: {
|
|
1124
1775
|
type: PropType<"sm" | "md" | "lg">;
|
|
@@ -2546,12 +3197,137 @@ export declare const VTextField: DefineComponent<{
|
|
|
2546
3197
|
errors: FormNodeError[];
|
|
2547
3198
|
}>;
|
|
2548
3199
|
|
|
3200
|
+
export declare const VToolbar: DefineComponent<{
|
|
3201
|
+
dense: BooleanConstructor;
|
|
3202
|
+
variant: PropType<ColorVariant>;
|
|
3203
|
+
theme: PropType<ThemeName>;
|
|
3204
|
+
color: PropType<ScopeName>;
|
|
3205
|
+
textColor: PropType<PaletteName>;
|
|
3206
|
+
borderColor: PropType<PaletteName>;
|
|
3207
|
+
elevation: PropType<VuiElevationValue>;
|
|
3208
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
3209
|
+
dense?: unknown;
|
|
3210
|
+
variant?: unknown;
|
|
3211
|
+
theme?: unknown;
|
|
3212
|
+
color?: unknown;
|
|
3213
|
+
textColor?: unknown;
|
|
3214
|
+
borderColor?: unknown;
|
|
3215
|
+
elevation?: unknown;
|
|
3216
|
+
} & {
|
|
3217
|
+
dense: boolean;
|
|
3218
|
+
} & {
|
|
3219
|
+
elevation?: VuiElevationValue | undefined;
|
|
3220
|
+
theme?: ThemeName | undefined;
|
|
3221
|
+
color?: ScopeName | undefined;
|
|
3222
|
+
textColor?: PaletteName | undefined;
|
|
3223
|
+
borderColor?: PaletteName | undefined;
|
|
3224
|
+
variant?: ColorVariant | undefined;
|
|
3225
|
+
}>, {
|
|
3226
|
+
dense: boolean;
|
|
3227
|
+
}>;
|
|
3228
|
+
|
|
3229
|
+
export declare const VToolbarMenu: DefineComponent<{
|
|
3230
|
+
edge: {
|
|
3231
|
+
type: PropType<VToolbarMenuEdge>;
|
|
3232
|
+
required: true;
|
|
3233
|
+
};
|
|
3234
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
3235
|
+
edge?: unknown;
|
|
3236
|
+
} & {
|
|
3237
|
+
edge: VToolbarMenuEdge;
|
|
3238
|
+
} & {}>, {}>;
|
|
3239
|
+
|
|
3240
|
+
export declare type VToolbarMenuEdge = 'start' | 'end';
|
|
3241
|
+
|
|
3242
|
+
export declare const VToolbarTitle: DefineComponent<{
|
|
3243
|
+
tag: {
|
|
3244
|
+
type: StringConstructor;
|
|
3245
|
+
default: string;
|
|
3246
|
+
};
|
|
3247
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
3248
|
+
tag?: unknown;
|
|
3249
|
+
} & {
|
|
3250
|
+
tag: string;
|
|
3251
|
+
} & {}>, {
|
|
3252
|
+
tag: string;
|
|
3253
|
+
}>;
|
|
3254
|
+
|
|
3255
|
+
export declare const vueButtonProps: {
|
|
3256
|
+
size: {
|
|
3257
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
3258
|
+
validator: (value: any) => boolean;
|
|
3259
|
+
};
|
|
3260
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
3261
|
+
loading: BooleanConstructor;
|
|
3262
|
+
rounded: BooleanConstructor;
|
|
3263
|
+
icon: PropType<RawVButtonIcon>;
|
|
3264
|
+
startIcon: PropType<RawVButtonIcon>;
|
|
3265
|
+
endIcon: PropType<RawVButtonIcon>;
|
|
3266
|
+
tag: StringConstructor;
|
|
3267
|
+
to: PropType<RouteLocationRaw>;
|
|
3268
|
+
replace: BooleanConstructor;
|
|
3269
|
+
activeClass: StringConstructor;
|
|
3270
|
+
exactActiveClass: StringConstructor;
|
|
3271
|
+
custom: BooleanConstructor;
|
|
3272
|
+
ariaCurrentValue: {
|
|
3273
|
+
readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
3274
|
+
readonly default: "page";
|
|
3275
|
+
};
|
|
3276
|
+
disabled: BooleanConstructor;
|
|
3277
|
+
href: StringConstructor;
|
|
3278
|
+
target: StringConstructor;
|
|
3279
|
+
rel: StringConstructor;
|
|
3280
|
+
name: StringConstructor;
|
|
3281
|
+
charset: StringConstructor;
|
|
3282
|
+
hreflang: StringConstructor;
|
|
3283
|
+
download: PropType<string | boolean>;
|
|
3284
|
+
media: StringConstructor;
|
|
3285
|
+
ping: StringConstructor;
|
|
3286
|
+
referrerpolicy: StringConstructor;
|
|
3287
|
+
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
3288
|
+
variant: PropType<ColorVariant>;
|
|
3289
|
+
theme: PropType<ThemeName>;
|
|
3290
|
+
color: PropType<ScopeName>;
|
|
3291
|
+
textColor: PropType<PaletteName>;
|
|
3292
|
+
borderColor: PropType<PaletteName>;
|
|
3293
|
+
};
|
|
3294
|
+
|
|
3295
|
+
export declare const VUI_CHECKBOX_GROUP_SYMBOL = "vui-checkbox-group";
|
|
3296
|
+
|
|
3297
|
+
export declare const VUI_CHECKBOX_SYMBOL = "vui-checkbox";
|
|
3298
|
+
|
|
3299
|
+
export declare const VUI_FORM_SYMBOL = "vui-form";
|
|
3300
|
+
|
|
3301
|
+
export declare const VUI_OPTION_SYMBOL = "vui-option";
|
|
3302
|
+
|
|
3303
|
+
export declare const VUI_RADIO_GROUP_SYMBOL = "vui-radio-group";
|
|
3304
|
+
|
|
3305
|
+
export declare const VUI_RADIO_SYMBOL = "vui-radio";
|
|
3306
|
+
|
|
3307
|
+
export declare const VUI_SELECT_SYMBOL = "vui-select";
|
|
3308
|
+
|
|
3309
|
+
export declare const VUI_SWITCH_GROUP_SYMBOL = "vui-switch-group";
|
|
3310
|
+
|
|
3311
|
+
export declare const VUI_SWITCH_SYMBOL = "vui-switch";
|
|
3312
|
+
|
|
3313
|
+
export declare const VUI_TEXT_FIELD_SYMBOL = "vui-text-field";
|
|
3314
|
+
|
|
3315
|
+
export declare const VUI_TEXTAREA_SYMBOL = "vui-textarea";
|
|
3316
|
+
|
|
2549
3317
|
export declare interface VuiColorProvider {
|
|
2550
3318
|
primary: ComputedRef<ScopeName>;
|
|
2551
3319
|
error: ComputedRef<ScopeName>;
|
|
2552
3320
|
className: (type: 'primary' | 'error') => string;
|
|
2553
3321
|
}
|
|
2554
3322
|
|
|
3323
|
+
export declare const VuiColorProviderInjectionKey: InjectionKey<VuiColorProvider>;
|
|
3324
|
+
|
|
3325
|
+
export declare const VuiControlFieldInjectionKey: InjectionKey<ControlFieldProvider>;
|
|
3326
|
+
|
|
3327
|
+
export declare const VuiControlInjectionKey: InjectionKey<ControlProvider>;
|
|
3328
|
+
|
|
3329
|
+
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;
|
|
3330
|
+
|
|
2555
3331
|
export declare const VuiInjectionKey: InjectionKey<VuiService>;
|
|
2556
3332
|
|
|
2557
3333
|
export declare class VuiPlugin {
|
|
@@ -2563,8 +3339,7 @@ export declare interface VuiPluginOptions extends VuiServiceOptions {
|
|
|
2563
3339
|
stack?: VuiPluginStackOptions;
|
|
2564
3340
|
}
|
|
2565
3341
|
|
|
2566
|
-
export declare interface VuiPluginStackOptions extends
|
|
2567
|
-
primaryColor?: VueStackServiceOptions['primaryColor'];
|
|
3342
|
+
export declare interface VuiPluginStackOptions extends VueStackServiceOptions {
|
|
2568
3343
|
}
|
|
2569
3344
|
|
|
2570
3345
|
export declare class VuiService {
|
|
@@ -2574,24 +3349,20 @@ export declare class VuiService {
|
|
|
2574
3349
|
readonly textareaRows?: number;
|
|
2575
3350
|
readonly requiredChip?: VuiVNodeResolver;
|
|
2576
3351
|
constructor(options: VuiServiceOptions);
|
|
2577
|
-
|
|
2578
|
-
icon(iconType:
|
|
3352
|
+
setting<K extends keyof VuiServiceUISettings>(key: K): VuiServiceUISettings[K];
|
|
3353
|
+
icon<K extends keyof VuiServiceIconSettings>(iconType: K): VuiServiceIconSettings[K];
|
|
2579
3354
|
getAutoScrollToElementOffsetTop(): number;
|
|
2580
3355
|
getRequiredChip(): VNodeChild;
|
|
2581
3356
|
}
|
|
2582
3357
|
|
|
2583
|
-
export declare interface VuiServiceColorSettings {
|
|
2584
|
-
primary: ScopeName;
|
|
2585
|
-
error: ScopeName;
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
3358
|
export declare interface VuiServiceIconSettings {
|
|
2589
3359
|
menuDown: IconName;
|
|
3360
|
+
navigationExpand: RawIconProp;
|
|
2590
3361
|
}
|
|
2591
3362
|
|
|
2592
3363
|
export declare interface VuiServiceOptions {
|
|
2593
3364
|
colorScheme: VueColorSchemePluginSettings;
|
|
2594
|
-
|
|
3365
|
+
uiSettings: VuiServiceUISettings;
|
|
2595
3366
|
icons: VuiServiceIconSettings;
|
|
2596
3367
|
selectionSeparator?: VuiVNodeResolver;
|
|
2597
3368
|
autoScrollToElementOffsetTop?: number | (() => number | undefined);
|
|
@@ -2599,9 +3370,33 @@ export declare interface VuiServiceOptions {
|
|
|
2599
3370
|
requiredChip?: VuiVNodeResolver;
|
|
2600
3371
|
}
|
|
2601
3372
|
|
|
3373
|
+
export declare interface VuiServiceUISettings {
|
|
3374
|
+
primaryScope: ScopeName;
|
|
3375
|
+
plainVariant: ColorVariant;
|
|
3376
|
+
containedVariant: ColorVariant;
|
|
3377
|
+
errorScope: ScopeName;
|
|
3378
|
+
buttonDefault: {
|
|
3379
|
+
color: ScopeName;
|
|
3380
|
+
variant: ColorVariant;
|
|
3381
|
+
};
|
|
3382
|
+
dialogOk?: {
|
|
3383
|
+
color?: ScopeName;
|
|
3384
|
+
variant?: ColorVariant;
|
|
3385
|
+
};
|
|
3386
|
+
dialogCancel?: {
|
|
3387
|
+
color?: ScopeName;
|
|
3388
|
+
variant?: ColorVariant;
|
|
3389
|
+
};
|
|
3390
|
+
dialogClose?: {
|
|
3391
|
+
color?: ScopeName;
|
|
3392
|
+
variant?: ColorVariant;
|
|
3393
|
+
};
|
|
3394
|
+
}
|
|
3395
|
+
|
|
2602
3396
|
export declare type VuiVNodeResolver = () => VNodeChild;
|
|
2603
3397
|
|
|
2604
3398
|
|
|
2605
3399
|
export * from "@fastkit/vue-kit";
|
|
3400
|
+
export * from "@fastkit/vue-loading";
|
|
2606
3401
|
|
|
2607
3402
|
export { }
|