@fastkit/vui 0.6.15 → 0.6.19
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 +9 -0
- package/dist/tool/vite-plugin.d.ts.map +1 -1
- package/dist/vui.cjs.js +359 -80
- package/dist/vui.cjs.prod.js +359 -80
- package/dist/vui.css +78 -10
- package/dist/vui.d.ts +286 -50
- package/dist/vui.esm-bundler.js +356 -81
- 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
|
@@ -53,6 +53,8 @@ import { VueForm } from '@fastkit/vue-kit';
|
|
|
53
53
|
import { VueStackServiceOptions } from '@fastkit/vue-kit';
|
|
54
54
|
import { WritableComputedRef } from 'vue';
|
|
55
55
|
|
|
56
|
+
declare type ARGS = Record<string, unknown> & VNodeProps;
|
|
57
|
+
|
|
56
58
|
export declare const CONTROL_FIELD_VARIANTS: readonly ["outlined", "filled", "flat"];
|
|
57
59
|
|
|
58
60
|
export declare const CONTROL_SIZES: readonly ["sm", "md", "lg"];
|
|
@@ -77,11 +79,15 @@ export declare interface ControlProvider {
|
|
|
77
79
|
export declare type ControlSize = typeof CONTROL_SIZES[number];
|
|
78
80
|
|
|
79
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>;
|
|
80
86
|
'v-slots': PropType<ResolveRawSlots<{
|
|
81
87
|
header: void;
|
|
88
|
+
default: void;
|
|
82
89
|
footer: void;
|
|
83
90
|
}>>;
|
|
84
|
-
square: BooleanConstructor;
|
|
85
91
|
color: PropType<ScopeName>;
|
|
86
92
|
tag: {
|
|
87
93
|
type: StringConstructor;
|
|
@@ -108,14 +114,16 @@ export declare function createElevationProps(): {
|
|
|
108
114
|
elevation: PropType<VuiElevationValue>;
|
|
109
115
|
};
|
|
110
116
|
|
|
111
|
-
export declare function createListTileProps
|
|
112
|
-
startIcon: PropType<RawIconProp
|
|
113
|
-
endIcon: PropType<RawIconProp
|
|
117
|
+
export declare function createListTileProps(): {
|
|
118
|
+
startIcon: PropType<RawIconProp>;
|
|
119
|
+
endIcon: PropType<RawIconProp>;
|
|
114
120
|
fallbackTag: {
|
|
115
121
|
type: StringConstructor;
|
|
116
122
|
default: string;
|
|
117
123
|
};
|
|
118
|
-
|
|
124
|
+
startIconEmptySpace: BooleanConstructor;
|
|
125
|
+
color: PropType<ScopeName>;
|
|
126
|
+
exactMatch: BooleanConstructor;
|
|
119
127
|
tag: StringConstructor;
|
|
120
128
|
to: PropType<RouteLocationRaw>;
|
|
121
129
|
replace: BooleanConstructor;
|
|
@@ -141,13 +149,16 @@ export declare function createListTileProps<T = void>(): {
|
|
|
141
149
|
};
|
|
142
150
|
|
|
143
151
|
export declare function createNavigationItemProps(): {
|
|
144
|
-
|
|
145
|
-
|
|
152
|
+
match: StringConstructor;
|
|
153
|
+
startIcon: PropType<RawIconProp>;
|
|
154
|
+
endIcon: PropType<RawIconProp>;
|
|
146
155
|
fallbackTag: {
|
|
147
156
|
type: StringConstructor;
|
|
148
157
|
default: string;
|
|
149
158
|
};
|
|
150
|
-
|
|
159
|
+
startIconEmptySpace: BooleanConstructor;
|
|
160
|
+
color: PropType<ScopeName>;
|
|
161
|
+
exactMatch: BooleanConstructor;
|
|
151
162
|
tag: StringConstructor;
|
|
152
163
|
to: PropType<RouteLocationRaw>;
|
|
153
164
|
replace: BooleanConstructor;
|
|
@@ -172,12 +183,29 @@ export declare function createNavigationItemProps(): {
|
|
|
172
183
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
173
184
|
};
|
|
174
185
|
|
|
175
|
-
export declare function
|
|
186
|
+
export declare function createPaperBaseProps(): {
|
|
176
187
|
'v-slots': PropType<ResolveRawSlots_2<{
|
|
177
188
|
header: void;
|
|
189
|
+
default: void;
|
|
178
190
|
footer: void;
|
|
179
191
|
}>>;
|
|
192
|
+
color: PropType<ScopeName>;
|
|
193
|
+
tag: {
|
|
194
|
+
type: StringConstructor;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export declare function createPaperProps(): {
|
|
180
200
|
square: BooleanConstructor;
|
|
201
|
+
headerProps: PropType<ARGS>;
|
|
202
|
+
bodyProps: PropType<ARGS>;
|
|
203
|
+
footerProps: PropType<ARGS>;
|
|
204
|
+
'v-slots': PropType<ResolveRawSlots_2<{
|
|
205
|
+
header: void;
|
|
206
|
+
default: void;
|
|
207
|
+
footer: void;
|
|
208
|
+
}>>;
|
|
181
209
|
color: PropType<ScopeName>;
|
|
182
210
|
tag: {
|
|
183
211
|
type: StringConstructor;
|
|
@@ -446,19 +474,19 @@ declare interface InputBoxSlots {
|
|
|
446
474
|
export declare function installVuiPlugin(app: App, opts: VuiPluginOptions): App<any>;
|
|
447
475
|
|
|
448
476
|
export declare const listTileEmits: {
|
|
449
|
-
|
|
477
|
+
changeActive: (isActive: boolean) => boolean;
|
|
478
|
+
click: (ev: MouseEvent) => boolean;
|
|
450
479
|
};
|
|
451
480
|
|
|
452
|
-
export declare
|
|
453
|
-
|
|
454
|
-
export declare interface NavigationItemInputWithContent extends NavigationItemInput {
|
|
481
|
+
export declare interface NavigationItemInput extends ExtractPropInput<ReturnType<typeof createNavigationItemProps>> {
|
|
455
482
|
key: string | number;
|
|
456
483
|
label: VNodeChild | (() => VNodeChild);
|
|
484
|
+
children?: NavigationItemInput[];
|
|
457
485
|
}
|
|
458
486
|
|
|
459
|
-
export declare type RawIconProp
|
|
487
|
+
export declare type RawIconProp = IconName | EmptyIconSymbol | ToggleableIconHook;
|
|
460
488
|
|
|
461
|
-
export declare function
|
|
489
|
+
export declare function rawIconProp(): PropType<RawIconProp>;
|
|
462
490
|
|
|
463
491
|
export declare type RawVButtonIcon = IconName | VButtonIcon;
|
|
464
492
|
|
|
@@ -466,7 +494,14 @@ export declare type RawVButtonSpacer = boolean | VButtonSpacer;
|
|
|
466
494
|
|
|
467
495
|
declare type RecursiveArray<T> = T | RecursiveArray<T>[];
|
|
468
496
|
|
|
469
|
-
export declare function
|
|
497
|
+
export declare function renderNavigationItemInput(input: NavigationItemInput, extraProps?: Record<string, unknown> & VNodeProps): JSX.Element;
|
|
498
|
+
|
|
499
|
+
export declare function resolveNavigationItemInput(input: NavigationItemInput): {
|
|
500
|
+
label: VNodeChild;
|
|
501
|
+
props: NavigationItemInput;
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
export declare function resolveRawIconProp(payload: boolean, prop?: RawIconProp, extraProps?: Record<string, unknown> & VNodeProps): VNodeChild;
|
|
470
505
|
|
|
471
506
|
declare interface Rule<C extends any = any> {
|
|
472
507
|
<EC extends C = C>(constraints: Partial<EC>, overRides?: string | Partial<RuleSettings<EC>>): Rule<EC>;
|
|
@@ -531,6 +566,8 @@ declare interface RuleValidateOptions {
|
|
|
531
566
|
eachPrefix?: string;
|
|
532
567
|
}
|
|
533
568
|
|
|
569
|
+
declare type ToggleableIconHook = (gen: IconGenerator, ctx: boolean) => VNodeChild;
|
|
570
|
+
|
|
534
571
|
export declare function useControl(props: ControlProps, opts?: UseControlProviderOptions): ControlProvider;
|
|
535
572
|
|
|
536
573
|
export declare function useControlField(props: ControlFieldProviderProps, opts?: UseControlFieldProviderOptions): ControlFieldProvider;
|
|
@@ -556,8 +593,6 @@ export declare function useVui(): VuiService;
|
|
|
556
593
|
|
|
557
594
|
export declare function useVuiColorProvider(): VuiColorProvider;
|
|
558
595
|
|
|
559
|
-
export declare const VAccordion: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
560
|
-
|
|
561
596
|
declare const ValidateCancelSymbol = "__ValidateCancelSymbol__";
|
|
562
597
|
|
|
563
598
|
declare interface ValidationError {
|
|
@@ -586,7 +621,6 @@ export declare const VButton: DefineComponent<{
|
|
|
586
621
|
icon: PropType<RawVButtonIcon>;
|
|
587
622
|
startIcon: PropType<RawVButtonIcon>;
|
|
588
623
|
endIcon: PropType<RawVButtonIcon>;
|
|
589
|
-
onClick: PropType<(ev: MouseEvent) => void>;
|
|
590
624
|
tag: StringConstructor;
|
|
591
625
|
to: PropType<RouteLocationRaw>;
|
|
592
626
|
replace: BooleanConstructor;
|
|
@@ -615,7 +649,7 @@ export declare const VButton: DefineComponent<{
|
|
|
615
649
|
textColor: PropType<PaletteName>;
|
|
616
650
|
borderColor: PropType<PaletteName>;
|
|
617
651
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
618
|
-
click: (ev: MouseEvent) =>
|
|
652
|
+
click: (ev: MouseEvent) => boolean;
|
|
619
653
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
620
654
|
size?: unknown;
|
|
621
655
|
spacer?: unknown;
|
|
@@ -624,7 +658,6 @@ export declare const VButton: DefineComponent<{
|
|
|
624
658
|
icon?: unknown;
|
|
625
659
|
startIcon?: unknown;
|
|
626
660
|
endIcon?: unknown;
|
|
627
|
-
onClick?: unknown;
|
|
628
661
|
tag?: unknown;
|
|
629
662
|
to?: unknown;
|
|
630
663
|
replace?: unknown;
|
|
@@ -662,7 +695,6 @@ export declare const VButton: DefineComponent<{
|
|
|
662
695
|
textColor?: PaletteName | undefined;
|
|
663
696
|
borderColor?: PaletteName | undefined;
|
|
664
697
|
type?: "submit" | "reset" | "button" | undefined;
|
|
665
|
-
onClick?: ((ev: MouseEvent) => void) | undefined;
|
|
666
698
|
size?: "sm" | "md" | "lg" | undefined;
|
|
667
699
|
spacer?: RawVButtonSpacer | undefined;
|
|
668
700
|
icon?: RawVButtonIcon | undefined;
|
|
@@ -703,11 +735,15 @@ export declare type VButtonResolvedProps = ExtractPropTypes<typeof vueButtonProp
|
|
|
703
735
|
export declare type VButtonSpacer = 'left' | 'right';
|
|
704
736
|
|
|
705
737
|
export declare const VCard: DefineComponent<{
|
|
738
|
+
square: BooleanConstructor;
|
|
739
|
+
headerProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
740
|
+
bodyProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
741
|
+
footerProps: PropType<Record<string, unknown> & VNodeProps>;
|
|
706
742
|
'v-slots': PropType<ResolveRawSlots<{
|
|
707
743
|
header: void;
|
|
744
|
+
default: void;
|
|
708
745
|
footer: void;
|
|
709
746
|
}>>;
|
|
710
|
-
square: BooleanConstructor;
|
|
711
747
|
color: PropType<ScopeName>;
|
|
712
748
|
tag: {
|
|
713
749
|
type: StringConstructor;
|
|
@@ -715,8 +751,11 @@ export declare const VCard: DefineComponent<{
|
|
|
715
751
|
};
|
|
716
752
|
elevation: PropType<VuiElevationValue>;
|
|
717
753
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
718
|
-
'v-slots'?: unknown;
|
|
719
754
|
square?: unknown;
|
|
755
|
+
headerProps?: unknown;
|
|
756
|
+
bodyProps?: unknown;
|
|
757
|
+
footerProps?: unknown;
|
|
758
|
+
'v-slots'?: unknown;
|
|
720
759
|
color?: unknown;
|
|
721
760
|
tag?: unknown;
|
|
722
761
|
elevation?: unknown;
|
|
@@ -725,8 +764,12 @@ export declare const VCard: DefineComponent<{
|
|
|
725
764
|
tag: string;
|
|
726
765
|
} & {
|
|
727
766
|
elevation?: VuiElevationValue | undefined;
|
|
767
|
+
headerProps?: (Record<string, unknown> & VNodeProps) | undefined;
|
|
768
|
+
bodyProps?: (Record<string, unknown> & VNodeProps) | undefined;
|
|
769
|
+
footerProps?: (Record<string, unknown> & VNodeProps) | undefined;
|
|
728
770
|
"v-slots"?: ResolveRawSlots<{
|
|
729
771
|
header: void;
|
|
772
|
+
default: void;
|
|
730
773
|
footer: void;
|
|
731
774
|
}> | undefined;
|
|
732
775
|
color?: ScopeName | undefined;
|
|
@@ -1091,6 +1134,34 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
1091
1134
|
|
|
1092
1135
|
export { VDialog }
|
|
1093
1136
|
|
|
1137
|
+
export declare const VDrawerLayout: DefineComponent<{
|
|
1138
|
+
'v-slots': PropType<ResolveRawSlots<{
|
|
1139
|
+
header: void;
|
|
1140
|
+
default: void;
|
|
1141
|
+
footer: void;
|
|
1142
|
+
}>>;
|
|
1143
|
+
color: PropType<ScopeName>;
|
|
1144
|
+
tag: {
|
|
1145
|
+
type: StringConstructor;
|
|
1146
|
+
default: string;
|
|
1147
|
+
};
|
|
1148
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1149
|
+
'v-slots'?: unknown;
|
|
1150
|
+
color?: unknown;
|
|
1151
|
+
tag?: unknown;
|
|
1152
|
+
} & {
|
|
1153
|
+
tag: string;
|
|
1154
|
+
} & {
|
|
1155
|
+
"v-slots"?: ResolveRawSlots<{
|
|
1156
|
+
header: void;
|
|
1157
|
+
default: void;
|
|
1158
|
+
footer: void;
|
|
1159
|
+
}> | undefined;
|
|
1160
|
+
color?: ScopeName | undefined;
|
|
1161
|
+
}>, {
|
|
1162
|
+
tag: string;
|
|
1163
|
+
}>;
|
|
1164
|
+
|
|
1094
1165
|
export declare const VForm: DefineComponent<{
|
|
1095
1166
|
'v-slots': PropType<ResolveRawSlots<VFormSlots>>;
|
|
1096
1167
|
size: {
|
|
@@ -1264,13 +1335,15 @@ export declare const VIcon: DefineComponent<{
|
|
|
1264
1335
|
}, {}>;
|
|
1265
1336
|
|
|
1266
1337
|
export declare const VListTile: DefineComponent<{
|
|
1267
|
-
startIcon: PropType<RawIconProp
|
|
1268
|
-
endIcon: PropType<RawIconProp
|
|
1338
|
+
startIcon: PropType<RawIconProp>;
|
|
1339
|
+
endIcon: PropType<RawIconProp>;
|
|
1269
1340
|
fallbackTag: {
|
|
1270
1341
|
type: StringConstructor;
|
|
1271
1342
|
default: string;
|
|
1272
1343
|
};
|
|
1273
|
-
|
|
1344
|
+
startIconEmptySpace: BooleanConstructor;
|
|
1345
|
+
color: PropType<ScopeName>;
|
|
1346
|
+
exactMatch: BooleanConstructor;
|
|
1274
1347
|
tag: StringConstructor;
|
|
1275
1348
|
to: PropType<RouteLocationRaw>;
|
|
1276
1349
|
replace: BooleanConstructor;
|
|
@@ -1294,12 +1367,15 @@ export declare const VListTile: DefineComponent<{
|
|
|
1294
1367
|
referrerpolicy: StringConstructor;
|
|
1295
1368
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
1296
1369
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1297
|
-
|
|
1370
|
+
changeActive: (isActive: boolean) => boolean;
|
|
1371
|
+
click: (ev: MouseEvent) => boolean;
|
|
1298
1372
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1299
1373
|
startIcon?: unknown;
|
|
1300
1374
|
endIcon?: unknown;
|
|
1301
1375
|
fallbackTag?: unknown;
|
|
1302
|
-
|
|
1376
|
+
startIconEmptySpace?: unknown;
|
|
1377
|
+
color?: unknown;
|
|
1378
|
+
exactMatch?: unknown;
|
|
1303
1379
|
tag?: unknown;
|
|
1304
1380
|
to?: unknown;
|
|
1305
1381
|
replace?: unknown;
|
|
@@ -1322,14 +1398,17 @@ export declare const VListTile: DefineComponent<{
|
|
|
1322
1398
|
} & {
|
|
1323
1399
|
replace: boolean;
|
|
1324
1400
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1401
|
+
startIconEmptySpace: boolean;
|
|
1402
|
+
exactMatch: boolean;
|
|
1325
1403
|
fallbackTag: string;
|
|
1326
1404
|
custom: boolean;
|
|
1327
1405
|
disabled: boolean;
|
|
1328
1406
|
} & {
|
|
1329
|
-
startIcon?: RawIconProp<void> | undefined;
|
|
1330
|
-
endIcon?: RawIconProp<void> | undefined;
|
|
1331
1407
|
type?: "submit" | "reset" | "button" | undefined;
|
|
1332
|
-
|
|
1408
|
+
startIcon?: RawIconProp | undefined;
|
|
1409
|
+
endIcon?: RawIconProp | undefined;
|
|
1410
|
+
color?: ScopeName | undefined;
|
|
1411
|
+
name?: string | undefined;
|
|
1333
1412
|
tag?: string | undefined;
|
|
1334
1413
|
to?: RouteLocationRaw | undefined;
|
|
1335
1414
|
activeClass?: string | undefined;
|
|
@@ -1337,7 +1416,6 @@ export declare const VListTile: DefineComponent<{
|
|
|
1337
1416
|
href?: string | undefined;
|
|
1338
1417
|
target?: string | undefined;
|
|
1339
1418
|
rel?: string | undefined;
|
|
1340
|
-
name?: string | undefined;
|
|
1341
1419
|
charset?: string | undefined;
|
|
1342
1420
|
hreflang?: string | undefined;
|
|
1343
1421
|
download?: string | boolean | undefined;
|
|
@@ -1346,9 +1424,12 @@ export declare const VListTile: DefineComponent<{
|
|
|
1346
1424
|
referrerpolicy?: string | undefined;
|
|
1347
1425
|
}> & {
|
|
1348
1426
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
1427
|
+
onChangeActive?: ((isActive: boolean) => any) | undefined;
|
|
1349
1428
|
}, {
|
|
1350
1429
|
replace: boolean;
|
|
1351
1430
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1431
|
+
startIconEmptySpace: boolean;
|
|
1432
|
+
exactMatch: boolean;
|
|
1352
1433
|
fallbackTag: string;
|
|
1353
1434
|
custom: boolean;
|
|
1354
1435
|
disabled: boolean;
|
|
@@ -1358,23 +1439,42 @@ export { VMenu }
|
|
|
1358
1439
|
|
|
1359
1440
|
export declare const VNavigation: DefineComponent<{
|
|
1360
1441
|
items: {
|
|
1361
|
-
type: PropType<
|
|
1442
|
+
type: PropType<NavigationItemInput[]>;
|
|
1362
1443
|
required: true;
|
|
1363
1444
|
};
|
|
1445
|
+
color: PropType<ScopeName>;
|
|
1446
|
+
startIconEmptySpace: {
|
|
1447
|
+
type: BooleanConstructor;
|
|
1448
|
+
default: boolean;
|
|
1449
|
+
};
|
|
1450
|
+
caption: PropType<VNodeChild | (() => VNodeChild)>;
|
|
1364
1451
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1365
1452
|
items?: unknown;
|
|
1453
|
+
color?: unknown;
|
|
1454
|
+
startIconEmptySpace?: unknown;
|
|
1455
|
+
caption?: unknown;
|
|
1366
1456
|
} & {
|
|
1367
|
-
|
|
1368
|
-
|
|
1457
|
+
startIconEmptySpace: boolean;
|
|
1458
|
+
items: NavigationItemInput[];
|
|
1459
|
+
} & {
|
|
1460
|
+
color?: ScopeName | undefined;
|
|
1461
|
+
caption?: VNodeChild | (() => VNodeChild);
|
|
1462
|
+
}>, {
|
|
1463
|
+
startIconEmptySpace: boolean;
|
|
1464
|
+
}>;
|
|
1369
1465
|
|
|
1370
1466
|
export declare const VNavigationItem: DefineComponent<{
|
|
1371
|
-
|
|
1372
|
-
|
|
1467
|
+
children: PropType<NavigationItemInput[]>;
|
|
1468
|
+
match: StringConstructor;
|
|
1469
|
+
startIcon: PropType<RawIconProp>;
|
|
1470
|
+
endIcon: PropType<RawIconProp>;
|
|
1373
1471
|
fallbackTag: {
|
|
1374
1472
|
type: StringConstructor;
|
|
1375
1473
|
default: string;
|
|
1376
1474
|
};
|
|
1377
|
-
|
|
1475
|
+
startIconEmptySpace: BooleanConstructor;
|
|
1476
|
+
color: PropType<ScopeName>;
|
|
1477
|
+
exactMatch: BooleanConstructor;
|
|
1378
1478
|
tag: StringConstructor;
|
|
1379
1479
|
to: PropType<RouteLocationRaw>;
|
|
1380
1480
|
replace: BooleanConstructor;
|
|
@@ -1398,12 +1498,17 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1398
1498
|
referrerpolicy: StringConstructor;
|
|
1399
1499
|
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
1400
1500
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1401
|
-
|
|
1501
|
+
changeActive: (isActive: boolean) => boolean;
|
|
1502
|
+
click: (ev: MouseEvent) => boolean;
|
|
1402
1503
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1504
|
+
children?: unknown;
|
|
1505
|
+
match?: unknown;
|
|
1403
1506
|
startIcon?: unknown;
|
|
1404
1507
|
endIcon?: unknown;
|
|
1405
1508
|
fallbackTag?: unknown;
|
|
1406
|
-
|
|
1509
|
+
startIconEmptySpace?: unknown;
|
|
1510
|
+
color?: unknown;
|
|
1511
|
+
exactMatch?: unknown;
|
|
1407
1512
|
tag?: unknown;
|
|
1408
1513
|
to?: unknown;
|
|
1409
1514
|
replace?: unknown;
|
|
@@ -1426,14 +1531,17 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1426
1531
|
} & {
|
|
1427
1532
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1428
1533
|
replace: boolean;
|
|
1534
|
+
startIconEmptySpace: boolean;
|
|
1535
|
+
exactMatch: boolean;
|
|
1429
1536
|
fallbackTag: string;
|
|
1430
1537
|
custom: boolean;
|
|
1431
1538
|
disabled: boolean;
|
|
1432
1539
|
} & {
|
|
1433
|
-
|
|
1434
|
-
endIcon?: RawIconProp<void> | undefined;
|
|
1540
|
+
match?: string | undefined;
|
|
1435
1541
|
type?: "submit" | "reset" | "button" | undefined;
|
|
1436
|
-
|
|
1542
|
+
startIcon?: RawIconProp | undefined;
|
|
1543
|
+
endIcon?: RawIconProp | undefined;
|
|
1544
|
+
color?: ScopeName | undefined;
|
|
1437
1545
|
tag?: string | undefined;
|
|
1438
1546
|
to?: RouteLocationRaw | undefined;
|
|
1439
1547
|
activeClass?: string | undefined;
|
|
@@ -1448,11 +1556,15 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1448
1556
|
media?: string | undefined;
|
|
1449
1557
|
ping?: string | undefined;
|
|
1450
1558
|
referrerpolicy?: string | undefined;
|
|
1559
|
+
children?: NavigationItemInput[] | undefined;
|
|
1451
1560
|
}> & {
|
|
1452
1561
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
1562
|
+
onChangeActive?: ((isActive: boolean) => any) | undefined;
|
|
1453
1563
|
}, {
|
|
1454
1564
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1455
1565
|
replace: boolean;
|
|
1566
|
+
startIconEmptySpace: boolean;
|
|
1567
|
+
exactMatch: boolean;
|
|
1456
1568
|
fallbackTag: string;
|
|
1457
1569
|
custom: boolean;
|
|
1458
1570
|
disabled: boolean;
|
|
@@ -1625,11 +1737,15 @@ export declare const VOptionGroup: DefineComponent<{
|
|
|
1625
1737
|
}>;
|
|
1626
1738
|
|
|
1627
1739
|
export declare const VPaper: DefineComponent<{
|
|
1740
|
+
square: BooleanConstructor;
|
|
1741
|
+
headerProps: PropType<ARGS>;
|
|
1742
|
+
bodyProps: PropType<ARGS>;
|
|
1743
|
+
footerProps: PropType<ARGS>;
|
|
1628
1744
|
'v-slots': PropType<ResolveRawSlots_2<{
|
|
1629
1745
|
header: void;
|
|
1746
|
+
default: void;
|
|
1630
1747
|
footer: void;
|
|
1631
1748
|
}>>;
|
|
1632
|
-
square: BooleanConstructor;
|
|
1633
1749
|
color: PropType<ScopeName>;
|
|
1634
1750
|
tag: {
|
|
1635
1751
|
type: StringConstructor;
|
|
@@ -1637,8 +1753,11 @@ export declare const VPaper: DefineComponent<{
|
|
|
1637
1753
|
};
|
|
1638
1754
|
elevation: PropType<VuiElevationValue>;
|
|
1639
1755
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1640
|
-
'v-slots'?: unknown;
|
|
1641
1756
|
square?: unknown;
|
|
1757
|
+
headerProps?: unknown;
|
|
1758
|
+
bodyProps?: unknown;
|
|
1759
|
+
footerProps?: unknown;
|
|
1760
|
+
'v-slots'?: unknown;
|
|
1642
1761
|
color?: unknown;
|
|
1643
1762
|
tag?: unknown;
|
|
1644
1763
|
elevation?: unknown;
|
|
@@ -1647,8 +1766,12 @@ export declare const VPaper: DefineComponent<{
|
|
|
1647
1766
|
tag: string;
|
|
1648
1767
|
} & {
|
|
1649
1768
|
elevation?: VuiElevationValue | undefined;
|
|
1769
|
+
headerProps?: ARGS | undefined;
|
|
1770
|
+
bodyProps?: ARGS | undefined;
|
|
1771
|
+
footerProps?: ARGS | undefined;
|
|
1650
1772
|
"v-slots"?: ResolveRawSlots_2<{
|
|
1651
1773
|
header: void;
|
|
1774
|
+
default: void;
|
|
1652
1775
|
footer: void;
|
|
1653
1776
|
}> | undefined;
|
|
1654
1777
|
color?: ScopeName | undefined;
|
|
@@ -3113,17 +3236,131 @@ export declare const VToolbar: DefineComponent<{
|
|
|
3113
3236
|
dense: boolean;
|
|
3114
3237
|
}>;
|
|
3115
3238
|
|
|
3116
|
-
export declare const
|
|
3239
|
+
export declare const VToolbarEdge: DefineComponent<{
|
|
3117
3240
|
edge: {
|
|
3118
|
-
type: PropType<
|
|
3241
|
+
type: PropType<VToolbarEdgeEdge>;
|
|
3119
3242
|
required: true;
|
|
3120
3243
|
};
|
|
3121
3244
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
3122
3245
|
edge?: unknown;
|
|
3123
3246
|
} & {
|
|
3124
|
-
edge:
|
|
3247
|
+
edge: VToolbarEdgeEdge;
|
|
3125
3248
|
} & {}>, {}>;
|
|
3126
3249
|
|
|
3250
|
+
export declare type VToolbarEdgeEdge = 'start' | 'end';
|
|
3251
|
+
|
|
3252
|
+
export declare const VToolbarMenu: DefineComponent<{
|
|
3253
|
+
size: {
|
|
3254
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
3255
|
+
validator: (value: any) => boolean;
|
|
3256
|
+
};
|
|
3257
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
3258
|
+
loading: BooleanConstructor;
|
|
3259
|
+
rounded: BooleanConstructor;
|
|
3260
|
+
icon: PropType<RawVButtonIcon>;
|
|
3261
|
+
startIcon: PropType<RawVButtonIcon>;
|
|
3262
|
+
endIcon: PropType<RawVButtonIcon>;
|
|
3263
|
+
tag: StringConstructor;
|
|
3264
|
+
to: PropType<RouteLocationRaw>;
|
|
3265
|
+
replace: BooleanConstructor;
|
|
3266
|
+
activeClass: StringConstructor;
|
|
3267
|
+
exactActiveClass: StringConstructor;
|
|
3268
|
+
custom: BooleanConstructor;
|
|
3269
|
+
ariaCurrentValue: {
|
|
3270
|
+
readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
3271
|
+
readonly default: "page";
|
|
3272
|
+
};
|
|
3273
|
+
disabled: BooleanConstructor;
|
|
3274
|
+
href: StringConstructor;
|
|
3275
|
+
target: StringConstructor;
|
|
3276
|
+
rel: StringConstructor;
|
|
3277
|
+
name: StringConstructor;
|
|
3278
|
+
charset: StringConstructor;
|
|
3279
|
+
hreflang: StringConstructor;
|
|
3280
|
+
download: PropType<string | boolean>;
|
|
3281
|
+
media: StringConstructor;
|
|
3282
|
+
ping: StringConstructor;
|
|
3283
|
+
referrerpolicy: StringConstructor;
|
|
3284
|
+
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
3285
|
+
variant: PropType<ColorVariant>;
|
|
3286
|
+
theme: PropType<ThemeName>;
|
|
3287
|
+
color: PropType<ScopeName>;
|
|
3288
|
+
textColor: PropType<PaletteName>;
|
|
3289
|
+
borderColor: PropType<PaletteName>;
|
|
3290
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
3291
|
+
size?: unknown;
|
|
3292
|
+
spacer?: unknown;
|
|
3293
|
+
loading?: unknown;
|
|
3294
|
+
rounded?: unknown;
|
|
3295
|
+
icon?: unknown;
|
|
3296
|
+
startIcon?: unknown;
|
|
3297
|
+
endIcon?: unknown;
|
|
3298
|
+
tag?: unknown;
|
|
3299
|
+
to?: unknown;
|
|
3300
|
+
replace?: unknown;
|
|
3301
|
+
activeClass?: unknown;
|
|
3302
|
+
exactActiveClass?: unknown;
|
|
3303
|
+
custom?: unknown;
|
|
3304
|
+
ariaCurrentValue?: unknown;
|
|
3305
|
+
disabled?: unknown;
|
|
3306
|
+
href?: unknown;
|
|
3307
|
+
target?: unknown;
|
|
3308
|
+
rel?: unknown;
|
|
3309
|
+
name?: unknown;
|
|
3310
|
+
charset?: unknown;
|
|
3311
|
+
hreflang?: unknown;
|
|
3312
|
+
download?: unknown;
|
|
3313
|
+
media?: unknown;
|
|
3314
|
+
ping?: unknown;
|
|
3315
|
+
referrerpolicy?: unknown;
|
|
3316
|
+
type?: unknown;
|
|
3317
|
+
variant?: unknown;
|
|
3318
|
+
theme?: unknown;
|
|
3319
|
+
color?: unknown;
|
|
3320
|
+
textColor?: unknown;
|
|
3321
|
+
borderColor?: unknown;
|
|
3322
|
+
} & {
|
|
3323
|
+
loading: boolean;
|
|
3324
|
+
rounded: boolean;
|
|
3325
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
3326
|
+
replace: boolean;
|
|
3327
|
+
custom: boolean;
|
|
3328
|
+
disabled: boolean;
|
|
3329
|
+
} & {
|
|
3330
|
+
theme?: ThemeName | undefined;
|
|
3331
|
+
color?: ScopeName | undefined;
|
|
3332
|
+
textColor?: PaletteName | undefined;
|
|
3333
|
+
borderColor?: PaletteName | undefined;
|
|
3334
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
3335
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
3336
|
+
spacer?: RawVButtonSpacer | undefined;
|
|
3337
|
+
icon?: RawVButtonIcon | undefined;
|
|
3338
|
+
startIcon?: RawVButtonIcon | undefined;
|
|
3339
|
+
endIcon?: RawVButtonIcon | undefined;
|
|
3340
|
+
tag?: string | undefined;
|
|
3341
|
+
to?: RouteLocationRaw | undefined;
|
|
3342
|
+
activeClass?: string | undefined;
|
|
3343
|
+
exactActiveClass?: string | undefined;
|
|
3344
|
+
href?: string | undefined;
|
|
3345
|
+
target?: string | undefined;
|
|
3346
|
+
rel?: string | undefined;
|
|
3347
|
+
name?: string | undefined;
|
|
3348
|
+
charset?: string | undefined;
|
|
3349
|
+
hreflang?: string | undefined;
|
|
3350
|
+
download?: string | boolean | undefined;
|
|
3351
|
+
media?: string | undefined;
|
|
3352
|
+
ping?: string | undefined;
|
|
3353
|
+
referrerpolicy?: string | undefined;
|
|
3354
|
+
variant?: ColorVariant | undefined;
|
|
3355
|
+
}>, {
|
|
3356
|
+
loading: boolean;
|
|
3357
|
+
rounded: boolean;
|
|
3358
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
3359
|
+
replace: boolean;
|
|
3360
|
+
custom: boolean;
|
|
3361
|
+
disabled: boolean;
|
|
3362
|
+
}>;
|
|
3363
|
+
|
|
3127
3364
|
export declare type VToolbarMenuEdge = 'start' | 'end';
|
|
3128
3365
|
|
|
3129
3366
|
export declare const VToolbarTitle: DefineComponent<{
|
|
@@ -3150,7 +3387,6 @@ export declare const vueButtonProps: {
|
|
|
3150
3387
|
icon: PropType<RawVButtonIcon>;
|
|
3151
3388
|
startIcon: PropType<RawVButtonIcon>;
|
|
3152
3389
|
endIcon: PropType<RawVButtonIcon>;
|
|
3153
|
-
onClick: PropType<(ev: MouseEvent) => void>;
|
|
3154
3390
|
tag: StringConstructor;
|
|
3155
3391
|
to: PropType<RouteLocationRaw>;
|
|
3156
3392
|
replace: BooleanConstructor;
|