@fastkit/vui 0.6.17 → 0.6.28
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 -4
- package/dist/tool/vite-plugin.d.ts.map +1 -1
- package/dist/vui.cjs.js +1043 -18
- package/dist/vui.cjs.prod.js +1043 -18
- package/dist/vui.css +331 -4
- package/dist/vui.d.ts +489 -3
- package/dist/vui.esm-bundler.js +1040 -22
- 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
|
@@ -23,6 +23,7 @@ import { IconName } from '@fastkit/icon-font';
|
|
|
23
23
|
import { IMaskEvent } from '@fastkit/vue-kit';
|
|
24
24
|
import { IMaskTypedValue } from '@fastkit/vue-kit';
|
|
25
25
|
import { InjectionKey } from 'vue';
|
|
26
|
+
import { LocationService } from '@fastkit/vue-utils';
|
|
26
27
|
import { Numberish } from '@fastkit/vue-kit';
|
|
27
28
|
import { Prop } from 'vue';
|
|
28
29
|
import { PropType } from 'vue';
|
|
@@ -33,6 +34,7 @@ import { ResolvedFormSelectorItemData } from '@fastkit/vue-kit';
|
|
|
33
34
|
import { ResolveRawSlots } from '@fastkit/vue-kit';
|
|
34
35
|
import { ResolveRawSlots as ResolveRawSlots_2 } from '@fastkit/vue-utils';
|
|
35
36
|
import { RouteLocationRaw } from 'vue-router';
|
|
37
|
+
import type { Router } from 'vue-router';
|
|
36
38
|
import { ScopeName } from '@fastkit/color-scheme';
|
|
37
39
|
import { TextableCounterResult } from '@fastkit/vue-kit';
|
|
38
40
|
import { TextableCounterSettings } from '@fastkit/vue-kit';
|
|
@@ -55,6 +57,8 @@ import { WritableComputedRef } from 'vue';
|
|
|
55
57
|
|
|
56
58
|
declare type ARGS = Record<string, unknown> & VNodeProps;
|
|
57
59
|
|
|
60
|
+
export declare function configureDataTableDefaults(defaults: Partial<DataTableDefaults>): void;
|
|
61
|
+
|
|
58
62
|
export declare const CONTROL_FIELD_VARIANTS: readonly ["outlined", "filled", "flat"];
|
|
59
63
|
|
|
60
64
|
export declare const CONTROL_SIZES: readonly ["sm", "md", "lg"];
|
|
@@ -123,6 +127,7 @@ export declare function createListTileProps(): {
|
|
|
123
127
|
};
|
|
124
128
|
startIconEmptySpace: BooleanConstructor;
|
|
125
129
|
color: PropType<ScopeName>;
|
|
130
|
+
exactMatch: BooleanConstructor;
|
|
126
131
|
tag: StringConstructor;
|
|
127
132
|
to: PropType<RouteLocationRaw>;
|
|
128
133
|
replace: BooleanConstructor;
|
|
@@ -157,6 +162,7 @@ export declare function createNavigationItemProps(): {
|
|
|
157
162
|
};
|
|
158
163
|
startIconEmptySpace: BooleanConstructor;
|
|
159
164
|
color: PropType<ScopeName>;
|
|
165
|
+
exactMatch: BooleanConstructor;
|
|
160
166
|
tag: StringConstructor;
|
|
161
167
|
to: PropType<RouteLocationRaw>;
|
|
162
168
|
replace: BooleanConstructor;
|
|
@@ -212,6 +218,55 @@ export declare function createPaperProps(): {
|
|
|
212
218
|
elevation: PropType<VuiElevationValue>;
|
|
213
219
|
};
|
|
214
220
|
|
|
221
|
+
declare const DATA_TABLE_DEFAULTS: {
|
|
222
|
+
itemKey: string;
|
|
223
|
+
pageQuery: string;
|
|
224
|
+
sortQuery: string;
|
|
225
|
+
orderQuery: string;
|
|
226
|
+
limitQuery: string;
|
|
227
|
+
defaultOrder: string;
|
|
228
|
+
ascQueryValue: string;
|
|
229
|
+
descQueryValue: string;
|
|
230
|
+
limits: number[];
|
|
231
|
+
limitDefault: number;
|
|
232
|
+
contorolThreshold: number;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
export declare interface DataTableCellSlotPayload<T extends DataTableItem = DataTableItem> {
|
|
236
|
+
vui: VuiService;
|
|
237
|
+
item: T;
|
|
238
|
+
/**
|
|
239
|
+
* 選択されている場合true
|
|
240
|
+
*/
|
|
241
|
+
selected: boolean;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export declare type DataTableDefaults = typeof DATA_TABLE_DEFAULTS;
|
|
245
|
+
|
|
246
|
+
export declare interface DataTableHeader {
|
|
247
|
+
key: number | string;
|
|
248
|
+
label?: VNodeChild | ((vui: VuiService) => VNodeChild);
|
|
249
|
+
sortQuery?: string;
|
|
250
|
+
hidden?: boolean;
|
|
251
|
+
align?: DataTableHeaderAlign;
|
|
252
|
+
cell?: (payload: DataTableCellSlotPayload) => VNodeChild;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export declare type DataTableHeaderAlign = 'left' | 'center' | 'right';
|
|
256
|
+
|
|
257
|
+
export declare interface DataTableItem {
|
|
258
|
+
[key: string]: any;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export declare interface DataTableItemSlotPayload<T extends DataTableItem = DataTableItem> {
|
|
262
|
+
key: string;
|
|
263
|
+
item: T;
|
|
264
|
+
/**
|
|
265
|
+
* 選択されている場合true
|
|
266
|
+
*/
|
|
267
|
+
selected: boolean;
|
|
268
|
+
}
|
|
269
|
+
|
|
215
270
|
export declare function defineFormSelectorComponent(opts: DefineFormSelectorComponentOptions): DefineComponent<{
|
|
216
271
|
'v-slots': PropType<ResolveRawSlots<FormControlSlots>>;
|
|
217
272
|
stacked: {
|
|
@@ -242,6 +297,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
242
297
|
required: BooleanConstructor;
|
|
243
298
|
invalid: BooleanConstructor;
|
|
244
299
|
valid: BooleanConstructor;
|
|
300
|
+
hiddenInfo: BooleanConstructor;
|
|
245
301
|
multiple: {
|
|
246
302
|
type: BooleanConstructor;
|
|
247
303
|
default: boolean;
|
|
@@ -348,6 +404,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
348
404
|
required?: unknown;
|
|
349
405
|
invalid?: unknown;
|
|
350
406
|
valid?: unknown;
|
|
407
|
+
hiddenInfo?: unknown;
|
|
351
408
|
multiple?: unknown;
|
|
352
409
|
items?: unknown;
|
|
353
410
|
name?: unknown;
|
|
@@ -382,6 +439,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
382
439
|
untouched: boolean;
|
|
383
440
|
invalid: boolean;
|
|
384
441
|
valid: boolean;
|
|
442
|
+
hiddenInfo: boolean;
|
|
385
443
|
errors: FormNodeError[];
|
|
386
444
|
stacked: boolean;
|
|
387
445
|
} & {
|
|
@@ -422,6 +480,7 @@ export declare function defineFormSelectorComponent(opts: DefineFormSelectorComp
|
|
|
422
480
|
untouched: boolean;
|
|
423
481
|
invalid: boolean;
|
|
424
482
|
valid: boolean;
|
|
483
|
+
hiddenInfo: boolean;
|
|
425
484
|
errors: FormNodeError[];
|
|
426
485
|
stacked: boolean;
|
|
427
486
|
}>;
|
|
@@ -482,6 +541,44 @@ export declare interface NavigationItemInput extends ExtractPropInput<ReturnType
|
|
|
482
541
|
children?: NavigationItemInput[];
|
|
483
542
|
}
|
|
484
543
|
|
|
544
|
+
export declare const PAGINATION_ALIGNS: readonly ["left", "center", "right"];
|
|
545
|
+
|
|
546
|
+
export declare function paginationProps(): {
|
|
547
|
+
/**
|
|
548
|
+
* Active Pages
|
|
549
|
+
*/
|
|
550
|
+
modelValue: {
|
|
551
|
+
type: PropType<string | number>;
|
|
552
|
+
default: number;
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Total number of pages
|
|
556
|
+
*/
|
|
557
|
+
length: {
|
|
558
|
+
type: PropType<string | number>;
|
|
559
|
+
default: number;
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* Maximum number of links to display.
|
|
563
|
+
*/
|
|
564
|
+
totalVisible: PropType<string | number>;
|
|
565
|
+
/**
|
|
566
|
+
* true when narrowing
|
|
567
|
+
*/
|
|
568
|
+
dense: BooleanConstructor;
|
|
569
|
+
disabled: BooleanConstructor;
|
|
570
|
+
align: {
|
|
571
|
+
type: PropType<"left" | "center" | "right">;
|
|
572
|
+
default: string;
|
|
573
|
+
};
|
|
574
|
+
/**
|
|
575
|
+
* To synchronize with a query, use the query name
|
|
576
|
+
*/
|
|
577
|
+
routeQuery: StringConstructor;
|
|
578
|
+
beforeChange: PropType<VPaginationGuard>;
|
|
579
|
+
color: PropType<ScopeName>;
|
|
580
|
+
};
|
|
581
|
+
|
|
485
582
|
export declare type RawIconProp = IconName | EmptyIconSymbol | ToggleableIconHook;
|
|
486
583
|
|
|
487
584
|
export declare function rawIconProp(): PropType<RawIconProp>;
|
|
@@ -946,6 +1043,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
946
1043
|
required: BooleanConstructor;
|
|
947
1044
|
invalid: BooleanConstructor;
|
|
948
1045
|
valid: BooleanConstructor;
|
|
1046
|
+
hiddenInfo: BooleanConstructor;
|
|
949
1047
|
multiple: {
|
|
950
1048
|
type: BooleanConstructor;
|
|
951
1049
|
default: boolean;
|
|
@@ -1052,6 +1150,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
1052
1150
|
required?: unknown;
|
|
1053
1151
|
invalid?: unknown;
|
|
1054
1152
|
valid?: unknown;
|
|
1153
|
+
hiddenInfo?: unknown;
|
|
1055
1154
|
multiple?: unknown;
|
|
1056
1155
|
items?: unknown;
|
|
1057
1156
|
name?: unknown;
|
|
@@ -1086,6 +1185,7 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
1086
1185
|
untouched: boolean;
|
|
1087
1186
|
invalid: boolean;
|
|
1088
1187
|
valid: boolean;
|
|
1188
|
+
hiddenInfo: boolean;
|
|
1089
1189
|
errors: FormNodeError[];
|
|
1090
1190
|
stacked: boolean;
|
|
1091
1191
|
} & {
|
|
@@ -1126,10 +1226,150 @@ export declare const VCheckboxGroup: DefineComponent<{
|
|
|
1126
1226
|
untouched: boolean;
|
|
1127
1227
|
invalid: boolean;
|
|
1128
1228
|
valid: boolean;
|
|
1229
|
+
hiddenInfo: boolean;
|
|
1129
1230
|
errors: FormNodeError[];
|
|
1130
1231
|
stacked: boolean;
|
|
1131
1232
|
}>;
|
|
1132
1233
|
|
|
1234
|
+
export declare const VDataTable: DefineComponent<{
|
|
1235
|
+
/** 選択中のkeyの配列 */
|
|
1236
|
+
modelValue: {
|
|
1237
|
+
type: PropType<string[]>;
|
|
1238
|
+
default: () => never[];
|
|
1239
|
+
};
|
|
1240
|
+
itemKey: {
|
|
1241
|
+
type: StringConstructor;
|
|
1242
|
+
default: () => string;
|
|
1243
|
+
};
|
|
1244
|
+
/**
|
|
1245
|
+
* ページネーションクエリ名
|
|
1246
|
+
*/
|
|
1247
|
+
pageQuery: {
|
|
1248
|
+
type: StringConstructor;
|
|
1249
|
+
default: () => string;
|
|
1250
|
+
};
|
|
1251
|
+
/**
|
|
1252
|
+
* ソートクエリ名
|
|
1253
|
+
*/
|
|
1254
|
+
sortQuery: {
|
|
1255
|
+
type: StringConstructor;
|
|
1256
|
+
default: () => string;
|
|
1257
|
+
};
|
|
1258
|
+
/**
|
|
1259
|
+
* 表示順クエリ名
|
|
1260
|
+
*/
|
|
1261
|
+
orderQuery: {
|
|
1262
|
+
type: StringConstructor;
|
|
1263
|
+
default: () => string;
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* リミット件数クエリ名
|
|
1267
|
+
*/
|
|
1268
|
+
limitQuery: {
|
|
1269
|
+
type: StringConstructor;
|
|
1270
|
+
default: () => string;
|
|
1271
|
+
};
|
|
1272
|
+
defaultOrder: {
|
|
1273
|
+
type: StringConstructor;
|
|
1274
|
+
default: () => string;
|
|
1275
|
+
};
|
|
1276
|
+
ascQueryValue: {
|
|
1277
|
+
type: StringConstructor;
|
|
1278
|
+
default: () => string;
|
|
1279
|
+
};
|
|
1280
|
+
descQueryValue: {
|
|
1281
|
+
type: StringConstructor;
|
|
1282
|
+
default: () => string;
|
|
1283
|
+
};
|
|
1284
|
+
limits: {
|
|
1285
|
+
type: PropType<number[]>;
|
|
1286
|
+
default: () => number[];
|
|
1287
|
+
};
|
|
1288
|
+
limitDefault: {
|
|
1289
|
+
type: NumberConstructor;
|
|
1290
|
+
default: () => number;
|
|
1291
|
+
};
|
|
1292
|
+
contorolThreshold: {
|
|
1293
|
+
type: NumberConstructor;
|
|
1294
|
+
default: () => number;
|
|
1295
|
+
};
|
|
1296
|
+
headers: {
|
|
1297
|
+
type: PropType<DataTableHeader[]>;
|
|
1298
|
+
required: true;
|
|
1299
|
+
};
|
|
1300
|
+
items: {
|
|
1301
|
+
type: PropType<DataTableItem[]>;
|
|
1302
|
+
default: () => never[];
|
|
1303
|
+
};
|
|
1304
|
+
total: {
|
|
1305
|
+
type: NumberConstructor;
|
|
1306
|
+
default: number;
|
|
1307
|
+
};
|
|
1308
|
+
selectable: BooleanConstructor;
|
|
1309
|
+
fixedHeader: BooleanConstructor;
|
|
1310
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
1311
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1312
|
+
input: (selecteds: string[]) => true;
|
|
1313
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1314
|
+
modelValue?: unknown;
|
|
1315
|
+
itemKey?: unknown;
|
|
1316
|
+
pageQuery?: unknown;
|
|
1317
|
+
sortQuery?: unknown;
|
|
1318
|
+
orderQuery?: unknown;
|
|
1319
|
+
limitQuery?: unknown;
|
|
1320
|
+
defaultOrder?: unknown;
|
|
1321
|
+
ascQueryValue?: unknown;
|
|
1322
|
+
descQueryValue?: unknown;
|
|
1323
|
+
limits?: unknown;
|
|
1324
|
+
limitDefault?: unknown;
|
|
1325
|
+
contorolThreshold?: unknown;
|
|
1326
|
+
headers?: unknown;
|
|
1327
|
+
items?: unknown;
|
|
1328
|
+
total?: unknown;
|
|
1329
|
+
selectable?: unknown;
|
|
1330
|
+
fixedHeader?: unknown;
|
|
1331
|
+
maxHeight?: unknown;
|
|
1332
|
+
} & {
|
|
1333
|
+
itemKey: string;
|
|
1334
|
+
pageQuery: string;
|
|
1335
|
+
sortQuery: string;
|
|
1336
|
+
orderQuery: string;
|
|
1337
|
+
limitQuery: string;
|
|
1338
|
+
defaultOrder: string;
|
|
1339
|
+
ascQueryValue: string;
|
|
1340
|
+
descQueryValue: string;
|
|
1341
|
+
limits: number[];
|
|
1342
|
+
limitDefault: number;
|
|
1343
|
+
contorolThreshold: number;
|
|
1344
|
+
modelValue: string[];
|
|
1345
|
+
headers: DataTableHeader[];
|
|
1346
|
+
items: DataTableItem[];
|
|
1347
|
+
total: number;
|
|
1348
|
+
selectable: boolean;
|
|
1349
|
+
fixedHeader: boolean;
|
|
1350
|
+
} & {
|
|
1351
|
+
maxHeight?: string | number | undefined;
|
|
1352
|
+
}> & {
|
|
1353
|
+
onInput?: ((selecteds: string[]) => any) | undefined;
|
|
1354
|
+
}, {
|
|
1355
|
+
itemKey: string;
|
|
1356
|
+
pageQuery: string;
|
|
1357
|
+
sortQuery: string;
|
|
1358
|
+
orderQuery: string;
|
|
1359
|
+
limitQuery: string;
|
|
1360
|
+
defaultOrder: string;
|
|
1361
|
+
ascQueryValue: string;
|
|
1362
|
+
descQueryValue: string;
|
|
1363
|
+
limits: number[];
|
|
1364
|
+
limitDefault: number;
|
|
1365
|
+
contorolThreshold: number;
|
|
1366
|
+
modelValue: string[];
|
|
1367
|
+
items: DataTableItem[];
|
|
1368
|
+
total: number;
|
|
1369
|
+
selectable: boolean;
|
|
1370
|
+
fixedHeader: boolean;
|
|
1371
|
+
}>;
|
|
1372
|
+
|
|
1133
1373
|
export { VDialog }
|
|
1134
1374
|
|
|
1135
1375
|
export declare const VDrawerLayout: DefineComponent<{
|
|
@@ -1311,6 +1551,33 @@ export declare interface VFormSlots {
|
|
|
1311
1551
|
default: VueForm;
|
|
1312
1552
|
}
|
|
1313
1553
|
|
|
1554
|
+
export declare const VHero: DefineComponent<{
|
|
1555
|
+
color: {
|
|
1556
|
+
type: PropType<ScopeName>;
|
|
1557
|
+
default: string;
|
|
1558
|
+
};
|
|
1559
|
+
tag: {
|
|
1560
|
+
type: StringConstructor;
|
|
1561
|
+
default: string;
|
|
1562
|
+
};
|
|
1563
|
+
hTag: {
|
|
1564
|
+
type: StringConstructor;
|
|
1565
|
+
default: string;
|
|
1566
|
+
};
|
|
1567
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
1568
|
+
color?: unknown;
|
|
1569
|
+
tag?: unknown;
|
|
1570
|
+
hTag?: unknown;
|
|
1571
|
+
} & {
|
|
1572
|
+
color: ScopeName;
|
|
1573
|
+
tag: string;
|
|
1574
|
+
hTag: string;
|
|
1575
|
+
} & {}>, {
|
|
1576
|
+
color: ScopeName;
|
|
1577
|
+
tag: string;
|
|
1578
|
+
hTag: string;
|
|
1579
|
+
}>;
|
|
1580
|
+
|
|
1314
1581
|
export declare const VIcon: DefineComponent<{
|
|
1315
1582
|
name: {
|
|
1316
1583
|
type: PropType<IconName | "$empty">;
|
|
@@ -1341,6 +1608,7 @@ export declare const VListTile: DefineComponent<{
|
|
|
1341
1608
|
};
|
|
1342
1609
|
startIconEmptySpace: BooleanConstructor;
|
|
1343
1610
|
color: PropType<ScopeName>;
|
|
1611
|
+
exactMatch: BooleanConstructor;
|
|
1344
1612
|
tag: StringConstructor;
|
|
1345
1613
|
to: PropType<RouteLocationRaw>;
|
|
1346
1614
|
replace: BooleanConstructor;
|
|
@@ -1372,6 +1640,7 @@ export declare const VListTile: DefineComponent<{
|
|
|
1372
1640
|
fallbackTag?: unknown;
|
|
1373
1641
|
startIconEmptySpace?: unknown;
|
|
1374
1642
|
color?: unknown;
|
|
1643
|
+
exactMatch?: unknown;
|
|
1375
1644
|
tag?: unknown;
|
|
1376
1645
|
to?: unknown;
|
|
1377
1646
|
replace?: unknown;
|
|
@@ -1395,6 +1664,7 @@ export declare const VListTile: DefineComponent<{
|
|
|
1395
1664
|
replace: boolean;
|
|
1396
1665
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1397
1666
|
startIconEmptySpace: boolean;
|
|
1667
|
+
exactMatch: boolean;
|
|
1398
1668
|
fallbackTag: string;
|
|
1399
1669
|
custom: boolean;
|
|
1400
1670
|
disabled: boolean;
|
|
@@ -1424,6 +1694,7 @@ export declare const VListTile: DefineComponent<{
|
|
|
1424
1694
|
replace: boolean;
|
|
1425
1695
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1426
1696
|
startIconEmptySpace: boolean;
|
|
1697
|
+
exactMatch: boolean;
|
|
1427
1698
|
fallbackTag: string;
|
|
1428
1699
|
custom: boolean;
|
|
1429
1700
|
disabled: boolean;
|
|
@@ -1468,6 +1739,7 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1468
1739
|
};
|
|
1469
1740
|
startIconEmptySpace: BooleanConstructor;
|
|
1470
1741
|
color: PropType<ScopeName>;
|
|
1742
|
+
exactMatch: BooleanConstructor;
|
|
1471
1743
|
tag: StringConstructor;
|
|
1472
1744
|
to: PropType<RouteLocationRaw>;
|
|
1473
1745
|
replace: BooleanConstructor;
|
|
@@ -1501,6 +1773,7 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1501
1773
|
fallbackTag?: unknown;
|
|
1502
1774
|
startIconEmptySpace?: unknown;
|
|
1503
1775
|
color?: unknown;
|
|
1776
|
+
exactMatch?: unknown;
|
|
1504
1777
|
tag?: unknown;
|
|
1505
1778
|
to?: unknown;
|
|
1506
1779
|
replace?: unknown;
|
|
@@ -1524,6 +1797,7 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1524
1797
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1525
1798
|
replace: boolean;
|
|
1526
1799
|
startIconEmptySpace: boolean;
|
|
1800
|
+
exactMatch: boolean;
|
|
1527
1801
|
fallbackTag: string;
|
|
1528
1802
|
custom: boolean;
|
|
1529
1803
|
disabled: boolean;
|
|
@@ -1555,6 +1829,7 @@ export declare const VNavigationItem: DefineComponent<{
|
|
|
1555
1829
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
1556
1830
|
replace: boolean;
|
|
1557
1831
|
startIconEmptySpace: boolean;
|
|
1832
|
+
exactMatch: boolean;
|
|
1558
1833
|
fallbackTag: string;
|
|
1559
1834
|
custom: boolean;
|
|
1560
1835
|
disabled: boolean;
|
|
@@ -1726,6 +2001,77 @@ export declare const VOptionGroup: DefineComponent<{
|
|
|
1726
2001
|
disabled: boolean;
|
|
1727
2002
|
}>;
|
|
1728
2003
|
|
|
2004
|
+
export declare const VPagination: DefineComponent<{
|
|
2005
|
+
/**
|
|
2006
|
+
* Active Pages
|
|
2007
|
+
*/
|
|
2008
|
+
modelValue: {
|
|
2009
|
+
type: PropType<string | number>;
|
|
2010
|
+
default: number;
|
|
2011
|
+
};
|
|
2012
|
+
/**
|
|
2013
|
+
* Total number of pages
|
|
2014
|
+
*/
|
|
2015
|
+
length: {
|
|
2016
|
+
type: PropType<string | number>;
|
|
2017
|
+
default: number;
|
|
2018
|
+
};
|
|
2019
|
+
/**
|
|
2020
|
+
* Maximum number of links to display.
|
|
2021
|
+
*/
|
|
2022
|
+
totalVisible: PropType<string | number>;
|
|
2023
|
+
/**
|
|
2024
|
+
* true when narrowing
|
|
2025
|
+
*/
|
|
2026
|
+
dense: BooleanConstructor;
|
|
2027
|
+
disabled: BooleanConstructor;
|
|
2028
|
+
align: {
|
|
2029
|
+
type: PropType<"left" | "center" | "right">;
|
|
2030
|
+
default: string;
|
|
2031
|
+
};
|
|
2032
|
+
/**
|
|
2033
|
+
* To synchronize with a query, use the query name
|
|
2034
|
+
*/
|
|
2035
|
+
routeQuery: StringConstructor;
|
|
2036
|
+
beforeChange: PropType<VPaginationGuard>;
|
|
2037
|
+
color: PropType<ScopeName>;
|
|
2038
|
+
}, () => JSX.Element | undefined, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2039
|
+
change: (page: number) => true;
|
|
2040
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
2041
|
+
modelValue?: unknown;
|
|
2042
|
+
length?: unknown;
|
|
2043
|
+
totalVisible?: unknown;
|
|
2044
|
+
dense?: unknown;
|
|
2045
|
+
disabled?: unknown;
|
|
2046
|
+
align?: unknown;
|
|
2047
|
+
routeQuery?: unknown;
|
|
2048
|
+
beforeChange?: unknown;
|
|
2049
|
+
color?: unknown;
|
|
2050
|
+
} & {
|
|
2051
|
+
dense: boolean;
|
|
2052
|
+
disabled: boolean;
|
|
2053
|
+
length: string | number;
|
|
2054
|
+
modelValue: string | number;
|
|
2055
|
+
align: "left" | "center" | "right";
|
|
2056
|
+
} & {
|
|
2057
|
+
totalVisible?: string | number | undefined;
|
|
2058
|
+
routeQuery?: string | undefined;
|
|
2059
|
+
beforeChange?: VPaginationGuard | undefined;
|
|
2060
|
+
color?: ScopeName | undefined;
|
|
2061
|
+
}> & {
|
|
2062
|
+
onChange?: ((page: number) => any) | undefined;
|
|
2063
|
+
}, {
|
|
2064
|
+
dense: boolean;
|
|
2065
|
+
disabled: boolean;
|
|
2066
|
+
length: string | number;
|
|
2067
|
+
modelValue: string | number;
|
|
2068
|
+
align: "left" | "center" | "right";
|
|
2069
|
+
}>;
|
|
2070
|
+
|
|
2071
|
+
export declare type VPaginationAlign = typeof PAGINATION_ALIGNS[number];
|
|
2072
|
+
|
|
2073
|
+
export declare type VPaginationGuard = (page: number) => boolean | void | Promise<boolean | void>;
|
|
2074
|
+
|
|
1729
2075
|
export declare const VPaper: DefineComponent<{
|
|
1730
2076
|
square: BooleanConstructor;
|
|
1731
2077
|
headerProps: PropType<ARGS>;
|
|
@@ -1931,6 +2277,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
1931
2277
|
required: BooleanConstructor;
|
|
1932
2278
|
invalid: BooleanConstructor;
|
|
1933
2279
|
valid: BooleanConstructor;
|
|
2280
|
+
hiddenInfo: BooleanConstructor;
|
|
1934
2281
|
multiple: {
|
|
1935
2282
|
type: BooleanConstructor;
|
|
1936
2283
|
default: boolean;
|
|
@@ -2037,6 +2384,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
2037
2384
|
required?: unknown;
|
|
2038
2385
|
invalid?: unknown;
|
|
2039
2386
|
valid?: unknown;
|
|
2387
|
+
hiddenInfo?: unknown;
|
|
2040
2388
|
multiple?: unknown;
|
|
2041
2389
|
items?: unknown;
|
|
2042
2390
|
name?: unknown;
|
|
@@ -2071,6 +2419,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
2071
2419
|
untouched: boolean;
|
|
2072
2420
|
invalid: boolean;
|
|
2073
2421
|
valid: boolean;
|
|
2422
|
+
hiddenInfo: boolean;
|
|
2074
2423
|
errors: FormNodeError[];
|
|
2075
2424
|
stacked: boolean;
|
|
2076
2425
|
} & {
|
|
@@ -2111,6 +2460,7 @@ export declare const VRadioGroup: DefineComponent<{
|
|
|
2111
2460
|
untouched: boolean;
|
|
2112
2461
|
invalid: boolean;
|
|
2113
2462
|
valid: boolean;
|
|
2463
|
+
hiddenInfo: boolean;
|
|
2114
2464
|
errors: FormNodeError[];
|
|
2115
2465
|
stacked: boolean;
|
|
2116
2466
|
}>;
|
|
@@ -2152,6 +2502,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
2152
2502
|
required: BooleanConstructor;
|
|
2153
2503
|
invalid: BooleanConstructor;
|
|
2154
2504
|
valid: BooleanConstructor;
|
|
2505
|
+
hiddenInfo: BooleanConstructor;
|
|
2155
2506
|
multiple: {
|
|
2156
2507
|
type: BooleanConstructor;
|
|
2157
2508
|
default: boolean;
|
|
@@ -2264,6 +2615,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
2264
2615
|
required?: unknown;
|
|
2265
2616
|
invalid?: unknown;
|
|
2266
2617
|
valid?: unknown;
|
|
2618
|
+
hiddenInfo?: unknown;
|
|
2267
2619
|
multiple?: unknown;
|
|
2268
2620
|
items?: unknown;
|
|
2269
2621
|
name?: unknown;
|
|
@@ -2297,6 +2649,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
2297
2649
|
untouched: boolean;
|
|
2298
2650
|
invalid: boolean;
|
|
2299
2651
|
valid: boolean;
|
|
2652
|
+
hiddenInfo: boolean;
|
|
2300
2653
|
errors: FormNodeError[];
|
|
2301
2654
|
} & {
|
|
2302
2655
|
name?: string | undefined;
|
|
@@ -2340,6 +2693,7 @@ export declare const VSelect: DefineComponent<{
|
|
|
2340
2693
|
untouched: boolean;
|
|
2341
2694
|
invalid: boolean;
|
|
2342
2695
|
valid: boolean;
|
|
2696
|
+
hiddenInfo: boolean;
|
|
2343
2697
|
errors: FormNodeError[];
|
|
2344
2698
|
}>;
|
|
2345
2699
|
|
|
@@ -2506,6 +2860,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
2506
2860
|
required: BooleanConstructor;
|
|
2507
2861
|
invalid: BooleanConstructor;
|
|
2508
2862
|
valid: BooleanConstructor;
|
|
2863
|
+
hiddenInfo: BooleanConstructor;
|
|
2509
2864
|
multiple: {
|
|
2510
2865
|
type: BooleanConstructor;
|
|
2511
2866
|
default: boolean;
|
|
@@ -2612,6 +2967,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
2612
2967
|
required?: unknown;
|
|
2613
2968
|
invalid?: unknown;
|
|
2614
2969
|
valid?: unknown;
|
|
2970
|
+
hiddenInfo?: unknown;
|
|
2615
2971
|
multiple?: unknown;
|
|
2616
2972
|
items?: unknown;
|
|
2617
2973
|
name?: unknown;
|
|
@@ -2646,6 +3002,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
2646
3002
|
untouched: boolean;
|
|
2647
3003
|
invalid: boolean;
|
|
2648
3004
|
valid: boolean;
|
|
3005
|
+
hiddenInfo: boolean;
|
|
2649
3006
|
errors: FormNodeError[];
|
|
2650
3007
|
stacked: boolean;
|
|
2651
3008
|
} & {
|
|
@@ -2686,6 +3043,7 @@ export declare const VSwitchGroup: DefineComponent<{
|
|
|
2686
3043
|
untouched: boolean;
|
|
2687
3044
|
invalid: boolean;
|
|
2688
3045
|
valid: boolean;
|
|
3046
|
+
hiddenInfo: boolean;
|
|
2689
3047
|
errors: FormNodeError[];
|
|
2690
3048
|
stacked: boolean;
|
|
2691
3049
|
}>;
|
|
@@ -2726,6 +3084,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
2726
3084
|
required: BooleanConstructor;
|
|
2727
3085
|
invalid: BooleanConstructor;
|
|
2728
3086
|
valid: BooleanConstructor;
|
|
3087
|
+
hiddenInfo: BooleanConstructor;
|
|
2729
3088
|
autosize: PropType<RawTextareaAutosizeSettings>;
|
|
2730
3089
|
rows: {
|
|
2731
3090
|
default: number | undefined;
|
|
@@ -2837,6 +3196,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
2837
3196
|
required?: unknown;
|
|
2838
3197
|
invalid?: unknown;
|
|
2839
3198
|
valid?: unknown;
|
|
3199
|
+
hiddenInfo?: unknown;
|
|
2840
3200
|
autosize?: unknown;
|
|
2841
3201
|
rows?: unknown;
|
|
2842
3202
|
mask?: unknown;
|
|
@@ -2881,6 +3241,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
2881
3241
|
untouched: boolean;
|
|
2882
3242
|
invalid: boolean;
|
|
2883
3243
|
valid: boolean;
|
|
3244
|
+
hiddenInfo: boolean;
|
|
2884
3245
|
errors: FormNodeError[];
|
|
2885
3246
|
} & {
|
|
2886
3247
|
name?: string | undefined;
|
|
@@ -2934,6 +3295,7 @@ export declare const VTextarea: DefineComponent<{
|
|
|
2934
3295
|
untouched: boolean;
|
|
2935
3296
|
invalid: boolean;
|
|
2936
3297
|
valid: boolean;
|
|
3298
|
+
hiddenInfo: boolean;
|
|
2937
3299
|
errors: FormNodeError[];
|
|
2938
3300
|
}>;
|
|
2939
3301
|
|
|
@@ -2973,6 +3335,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
2973
3335
|
required: BooleanConstructor;
|
|
2974
3336
|
invalid: BooleanConstructor;
|
|
2975
3337
|
valid: BooleanConstructor;
|
|
3338
|
+
hiddenInfo: BooleanConstructor;
|
|
2976
3339
|
type: {
|
|
2977
3340
|
type: PropType<"number" | "search" | "email" | "tel" | "url" | "color" | "date" | "datetime-local" | "month" | "password" | "text" | "time">;
|
|
2978
3341
|
default: string;
|
|
@@ -3088,6 +3451,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
3088
3451
|
required?: unknown;
|
|
3089
3452
|
invalid?: unknown;
|
|
3090
3453
|
valid?: unknown;
|
|
3454
|
+
hiddenInfo?: unknown;
|
|
3091
3455
|
type?: unknown;
|
|
3092
3456
|
masked?: unknown;
|
|
3093
3457
|
typed?: unknown;
|
|
@@ -3134,6 +3498,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
3134
3498
|
untouched: boolean;
|
|
3135
3499
|
invalid: boolean;
|
|
3136
3500
|
valid: boolean;
|
|
3501
|
+
hiddenInfo: boolean;
|
|
3137
3502
|
errors: FormNodeError[];
|
|
3138
3503
|
} & {
|
|
3139
3504
|
name?: string | undefined;
|
|
@@ -3194,6 +3559,7 @@ export declare const VTextField: DefineComponent<{
|
|
|
3194
3559
|
untouched: boolean;
|
|
3195
3560
|
invalid: boolean;
|
|
3196
3561
|
valid: boolean;
|
|
3562
|
+
hiddenInfo: boolean;
|
|
3197
3563
|
errors: FormNodeError[];
|
|
3198
3564
|
}>;
|
|
3199
3565
|
|
|
@@ -3226,17 +3592,131 @@ export declare const VToolbar: DefineComponent<{
|
|
|
3226
3592
|
dense: boolean;
|
|
3227
3593
|
}>;
|
|
3228
3594
|
|
|
3229
|
-
export declare const
|
|
3595
|
+
export declare const VToolbarEdge: DefineComponent<{
|
|
3230
3596
|
edge: {
|
|
3231
|
-
type: PropType<
|
|
3597
|
+
type: PropType<VToolbarEdgeEdge>;
|
|
3232
3598
|
required: true;
|
|
3233
3599
|
};
|
|
3234
3600
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
3235
3601
|
edge?: unknown;
|
|
3236
3602
|
} & {
|
|
3237
|
-
edge:
|
|
3603
|
+
edge: VToolbarEdgeEdge;
|
|
3238
3604
|
} & {}>, {}>;
|
|
3239
3605
|
|
|
3606
|
+
export declare type VToolbarEdgeEdge = 'start' | 'end';
|
|
3607
|
+
|
|
3608
|
+
export declare const VToolbarMenu: DefineComponent<{
|
|
3609
|
+
size: {
|
|
3610
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
3611
|
+
validator: (value: any) => boolean;
|
|
3612
|
+
};
|
|
3613
|
+
spacer: PropType<RawVButtonSpacer>;
|
|
3614
|
+
loading: BooleanConstructor;
|
|
3615
|
+
rounded: BooleanConstructor;
|
|
3616
|
+
icon: PropType<RawVButtonIcon>;
|
|
3617
|
+
startIcon: PropType<RawVButtonIcon>;
|
|
3618
|
+
endIcon: PropType<RawVButtonIcon>;
|
|
3619
|
+
tag: StringConstructor;
|
|
3620
|
+
to: PropType<RouteLocationRaw>;
|
|
3621
|
+
replace: BooleanConstructor;
|
|
3622
|
+
activeClass: StringConstructor;
|
|
3623
|
+
exactActiveClass: StringConstructor;
|
|
3624
|
+
custom: BooleanConstructor;
|
|
3625
|
+
ariaCurrentValue: {
|
|
3626
|
+
readonly type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined>;
|
|
3627
|
+
readonly default: "page";
|
|
3628
|
+
};
|
|
3629
|
+
disabled: BooleanConstructor;
|
|
3630
|
+
href: StringConstructor;
|
|
3631
|
+
target: StringConstructor;
|
|
3632
|
+
rel: StringConstructor;
|
|
3633
|
+
name: StringConstructor;
|
|
3634
|
+
charset: StringConstructor;
|
|
3635
|
+
hreflang: StringConstructor;
|
|
3636
|
+
download: PropType<string | boolean>;
|
|
3637
|
+
media: StringConstructor;
|
|
3638
|
+
ping: StringConstructor;
|
|
3639
|
+
referrerpolicy: StringConstructor;
|
|
3640
|
+
type: PropType<"submit" | "reset" | "button" | undefined>;
|
|
3641
|
+
variant: PropType<ColorVariant>;
|
|
3642
|
+
theme: PropType<ThemeName>;
|
|
3643
|
+
color: PropType<ScopeName>;
|
|
3644
|
+
textColor: PropType<PaletteName>;
|
|
3645
|
+
borderColor: PropType<PaletteName>;
|
|
3646
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
|
|
3647
|
+
size?: unknown;
|
|
3648
|
+
spacer?: unknown;
|
|
3649
|
+
loading?: unknown;
|
|
3650
|
+
rounded?: unknown;
|
|
3651
|
+
icon?: unknown;
|
|
3652
|
+
startIcon?: unknown;
|
|
3653
|
+
endIcon?: unknown;
|
|
3654
|
+
tag?: unknown;
|
|
3655
|
+
to?: unknown;
|
|
3656
|
+
replace?: unknown;
|
|
3657
|
+
activeClass?: unknown;
|
|
3658
|
+
exactActiveClass?: unknown;
|
|
3659
|
+
custom?: unknown;
|
|
3660
|
+
ariaCurrentValue?: unknown;
|
|
3661
|
+
disabled?: unknown;
|
|
3662
|
+
href?: unknown;
|
|
3663
|
+
target?: unknown;
|
|
3664
|
+
rel?: unknown;
|
|
3665
|
+
name?: unknown;
|
|
3666
|
+
charset?: unknown;
|
|
3667
|
+
hreflang?: unknown;
|
|
3668
|
+
download?: unknown;
|
|
3669
|
+
media?: unknown;
|
|
3670
|
+
ping?: unknown;
|
|
3671
|
+
referrerpolicy?: unknown;
|
|
3672
|
+
type?: unknown;
|
|
3673
|
+
variant?: unknown;
|
|
3674
|
+
theme?: unknown;
|
|
3675
|
+
color?: unknown;
|
|
3676
|
+
textColor?: unknown;
|
|
3677
|
+
borderColor?: unknown;
|
|
3678
|
+
} & {
|
|
3679
|
+
loading: boolean;
|
|
3680
|
+
rounded: boolean;
|
|
3681
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
3682
|
+
replace: boolean;
|
|
3683
|
+
custom: boolean;
|
|
3684
|
+
disabled: boolean;
|
|
3685
|
+
} & {
|
|
3686
|
+
theme?: ThemeName | undefined;
|
|
3687
|
+
color?: ScopeName | undefined;
|
|
3688
|
+
textColor?: PaletteName | undefined;
|
|
3689
|
+
borderColor?: PaletteName | undefined;
|
|
3690
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
3691
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
3692
|
+
spacer?: RawVButtonSpacer | undefined;
|
|
3693
|
+
icon?: RawVButtonIcon | undefined;
|
|
3694
|
+
startIcon?: RawVButtonIcon | undefined;
|
|
3695
|
+
endIcon?: RawVButtonIcon | undefined;
|
|
3696
|
+
tag?: string | undefined;
|
|
3697
|
+
to?: RouteLocationRaw | undefined;
|
|
3698
|
+
activeClass?: string | undefined;
|
|
3699
|
+
exactActiveClass?: string | undefined;
|
|
3700
|
+
href?: string | undefined;
|
|
3701
|
+
target?: string | undefined;
|
|
3702
|
+
rel?: string | undefined;
|
|
3703
|
+
name?: string | undefined;
|
|
3704
|
+
charset?: string | undefined;
|
|
3705
|
+
hreflang?: string | undefined;
|
|
3706
|
+
download?: string | boolean | undefined;
|
|
3707
|
+
media?: string | undefined;
|
|
3708
|
+
ping?: string | undefined;
|
|
3709
|
+
referrerpolicy?: string | undefined;
|
|
3710
|
+
variant?: ColorVariant | undefined;
|
|
3711
|
+
}>, {
|
|
3712
|
+
loading: boolean;
|
|
3713
|
+
rounded: boolean;
|
|
3714
|
+
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
3715
|
+
replace: boolean;
|
|
3716
|
+
custom: boolean;
|
|
3717
|
+
disabled: boolean;
|
|
3718
|
+
}>;
|
|
3719
|
+
|
|
3240
3720
|
export declare type VToolbarMenuEdge = 'start' | 'end';
|
|
3241
3721
|
|
|
3242
3722
|
export declare const VToolbarTitle: DefineComponent<{
|
|
@@ -3348,6 +3828,8 @@ export declare class VuiService {
|
|
|
3348
3828
|
readonly autoScrollToElementOffsetTop?: number | (() => number | undefined);
|
|
3349
3829
|
readonly textareaRows?: number;
|
|
3350
3830
|
readonly requiredChip?: VuiVNodeResolver;
|
|
3831
|
+
readonly router: Router;
|
|
3832
|
+
readonly location: LocationService;
|
|
3351
3833
|
constructor(options: VuiServiceOptions);
|
|
3352
3834
|
setting<K extends keyof VuiServiceUISettings>(key: K): VuiServiceUISettings[K];
|
|
3353
3835
|
icon<K extends keyof VuiServiceIconSettings>(iconType: K): VuiServiceIconSettings[K];
|
|
@@ -3358,9 +3840,13 @@ export declare class VuiService {
|
|
|
3358
3840
|
export declare interface VuiServiceIconSettings {
|
|
3359
3841
|
menuDown: IconName;
|
|
3360
3842
|
navigationExpand: RawIconProp;
|
|
3843
|
+
prev: RawIconProp;
|
|
3844
|
+
next: RawIconProp;
|
|
3845
|
+
sort: RawIconProp;
|
|
3361
3846
|
}
|
|
3362
3847
|
|
|
3363
3848
|
export declare interface VuiServiceOptions {
|
|
3849
|
+
router: Router;
|
|
3364
3850
|
colorScheme: VueColorSchemePluginSettings;
|
|
3365
3851
|
uiSettings: VuiServiceUISettings;
|
|
3366
3852
|
icons: VuiServiceIconSettings;
|