vuetify 3.3.20 → 3.3.21
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/json/attributes.json +18 -6
- package/dist/json/importMap-labs.json +4 -4
- package/dist/json/importMap.json +16 -16
- package/dist/json/tags.json +3 -0
- package/dist/json/web-types.json +35 -8
- package/dist/vuetify-labs.css +4950 -4943
- package/dist/vuetify-labs.d.ts +68 -48
- package/dist/vuetify-labs.esm.js +59 -14
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +59 -14
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +5468 -5462
- package/dist/vuetify.d.ts +7 -5
- package/dist/vuetify.esm.js +26 -4
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +26 -4
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +768 -765
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +2 -0
- package/lib/blueprints/md1.d.mts +2 -0
- package/lib/blueprints/md2.d.mts +2 -0
- package/lib/blueprints/md3.d.mts +2 -0
- package/lib/components/VChip/VChip.css +67 -67
- package/lib/components/VChip/_variables.scss +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs +1 -0
- package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +1 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VField/VField.css +3 -0
- package/lib/components/VField/VField.sass +3 -0
- package/lib/components/VField/_variables.scss +1 -0
- package/lib/components/VTable/VTable.css +3 -0
- package/lib/components/VTable/VTable.sass +3 -0
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +7 -5
- package/lib/labs/VDataTable/VDataTableFooter.mjs +12 -4
- package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.mts +48 -48
- package/lib/labs/VDatePicker/VDatePickerMonth.mjs +14 -2
- package/lib/labs/VDatePicker/VDatePickerMonth.mjs.map +1 -1
- package/lib/labs/VDatePicker/index.d.mts +18 -0
- package/lib/labs/VDateRangePicker/index.d.mts +12 -0
- package/lib/labs/VOtpInput/VOtpInput.css +3 -2
- package/lib/labs/VOtpInput/VOtpInput.mjs +7 -4
- package/lib/labs/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/labs/VOtpInput/VOtpInput.sass +9 -8
- package/lib/labs/VOtpInput/_variables.scss +9 -0
- package/lib/labs/components.d.mts +66 -48
- package/lib/labs/date/DateAdapter.mjs.map +1 -1
- package/lib/labs/date/adapters/vuetify.d.mts +4 -0
- package/lib/labs/date/adapters/vuetify.mjs +18 -1
- package/lib/labs/date/adapters/vuetify.mjs.map +1 -1
- package/lib/labs/date/index.d.mts +4 -0
- package/package.json +2 -2
package/dist/vuetify-labs.d.ts
CHANGED
|
@@ -837,6 +837,8 @@ interface DateAdapter<T> {
|
|
|
837
837
|
date(value?: any): T | null;
|
|
838
838
|
format(date: T, formatString: string): string;
|
|
839
839
|
toJsDate(value: T): Date;
|
|
840
|
+
parseISO(date: string): T;
|
|
841
|
+
toISO(date: T): string;
|
|
840
842
|
startOfDay(date: T): T;
|
|
841
843
|
endOfDay(date: T): T;
|
|
842
844
|
startOfMonth(date: T): T;
|
|
@@ -62587,10 +62589,10 @@ declare const VDataTable: {
|
|
|
62587
62589
|
prevPageLabel?: string | undefined;
|
|
62588
62590
|
nextPageLabel?: string | undefined;
|
|
62589
62591
|
lastPageLabel?: string | undefined;
|
|
62590
|
-
itemsPerPageOptions?: readonly {
|
|
62592
|
+
itemsPerPageOptions?: readonly (number | {
|
|
62591
62593
|
title: string;
|
|
62592
62594
|
value: number;
|
|
62593
|
-
}[] | undefined;
|
|
62595
|
+
})[] | undefined;
|
|
62594
62596
|
showCurrentPage?: boolean | undefined;
|
|
62595
62597
|
sortAscIcon?: IconValue | undefined;
|
|
62596
62598
|
sortDescIcon?: IconValue | undefined;
|
|
@@ -63008,10 +63010,10 @@ declare const VDataTable: {
|
|
|
63008
63010
|
prevPageLabel: string;
|
|
63009
63011
|
nextPageLabel: string;
|
|
63010
63012
|
lastPageLabel: string;
|
|
63011
|
-
itemsPerPageOptions: readonly {
|
|
63013
|
+
itemsPerPageOptions: readonly (number | {
|
|
63012
63014
|
title: string;
|
|
63013
63015
|
value: number;
|
|
63014
|
-
}[];
|
|
63016
|
+
})[];
|
|
63015
63017
|
showCurrentPage: boolean;
|
|
63016
63018
|
sortAscIcon: IconValue;
|
|
63017
63019
|
sortDescIcon: IconValue;
|
|
@@ -63302,10 +63304,10 @@ declare const VDataTable: {
|
|
|
63302
63304
|
prevPageLabel: string;
|
|
63303
63305
|
nextPageLabel: string;
|
|
63304
63306
|
lastPageLabel: string;
|
|
63305
|
-
itemsPerPageOptions: readonly {
|
|
63307
|
+
itemsPerPageOptions: readonly (number | {
|
|
63306
63308
|
title: string;
|
|
63307
63309
|
value: number;
|
|
63308
|
-
}[];
|
|
63310
|
+
})[];
|
|
63309
63311
|
showCurrentPage: boolean;
|
|
63310
63312
|
sortAscIcon: IconValue;
|
|
63311
63313
|
sortDescIcon: IconValue;
|
|
@@ -63488,10 +63490,10 @@ declare const VDataTable: {
|
|
|
63488
63490
|
prevPageLabel: string;
|
|
63489
63491
|
nextPageLabel: string;
|
|
63490
63492
|
lastPageLabel: string;
|
|
63491
|
-
itemsPerPageOptions: readonly {
|
|
63493
|
+
itemsPerPageOptions: readonly (number | {
|
|
63492
63494
|
title: string;
|
|
63493
63495
|
value: number;
|
|
63494
|
-
}[];
|
|
63496
|
+
})[];
|
|
63495
63497
|
showCurrentPage: boolean;
|
|
63496
63498
|
sortAscIcon: IconValue;
|
|
63497
63499
|
sortDescIcon: IconValue;
|
|
@@ -63778,10 +63780,10 @@ declare const VDataTable: {
|
|
|
63778
63780
|
prevPageLabel: string;
|
|
63779
63781
|
nextPageLabel: string;
|
|
63780
63782
|
lastPageLabel: string;
|
|
63781
|
-
itemsPerPageOptions: readonly {
|
|
63783
|
+
itemsPerPageOptions: readonly (number | {
|
|
63782
63784
|
title: string;
|
|
63783
63785
|
value: number;
|
|
63784
|
-
}[];
|
|
63786
|
+
})[];
|
|
63785
63787
|
showCurrentPage: boolean;
|
|
63786
63788
|
sortAscIcon: IconValue;
|
|
63787
63789
|
sortDescIcon: IconValue;
|
|
@@ -64072,10 +64074,10 @@ declare const VDataTable: {
|
|
|
64072
64074
|
prevPageLabel: string;
|
|
64073
64075
|
nextPageLabel: string;
|
|
64074
64076
|
lastPageLabel: string;
|
|
64075
|
-
itemsPerPageOptions: readonly {
|
|
64077
|
+
itemsPerPageOptions: readonly (number | {
|
|
64076
64078
|
title: string;
|
|
64077
64079
|
value: number;
|
|
64078
|
-
}[];
|
|
64080
|
+
})[];
|
|
64079
64081
|
showCurrentPage: boolean;
|
|
64080
64082
|
sortAscIcon: IconValue;
|
|
64081
64083
|
sortDescIcon: IconValue;
|
|
@@ -64239,10 +64241,10 @@ declare const VDataTable: {
|
|
|
64239
64241
|
default: string;
|
|
64240
64242
|
};
|
|
64241
64243
|
itemsPerPageOptions: {
|
|
64242
|
-
type: vue.PropType<readonly {
|
|
64244
|
+
type: vue.PropType<readonly (number | {
|
|
64243
64245
|
title: string;
|
|
64244
64246
|
value: number;
|
|
64245
|
-
}[]>;
|
|
64247
|
+
})[]>;
|
|
64246
64248
|
default: () => {
|
|
64247
64249
|
value: number;
|
|
64248
64250
|
title: string;
|
|
@@ -64400,10 +64402,10 @@ declare const VDataTable: {
|
|
|
64400
64402
|
default: string;
|
|
64401
64403
|
};
|
|
64402
64404
|
itemsPerPageOptions: {
|
|
64403
|
-
type: vue.PropType<readonly {
|
|
64405
|
+
type: vue.PropType<readonly (number | {
|
|
64404
64406
|
title: string;
|
|
64405
64407
|
value: number;
|
|
64406
|
-
}[]>;
|
|
64408
|
+
})[]>;
|
|
64407
64409
|
default: () => {
|
|
64408
64410
|
value: number;
|
|
64409
64411
|
title: string;
|
|
@@ -64537,10 +64539,10 @@ declare const VDataTableFooter: {
|
|
|
64537
64539
|
prevPageLabel?: string | undefined;
|
|
64538
64540
|
nextPageLabel?: string | undefined;
|
|
64539
64541
|
lastPageLabel?: string | undefined;
|
|
64540
|
-
itemsPerPageOptions?: readonly {
|
|
64542
|
+
itemsPerPageOptions?: readonly (number | {
|
|
64541
64543
|
title: string;
|
|
64542
64544
|
value: number;
|
|
64543
|
-
}[] | undefined;
|
|
64545
|
+
})[] | undefined;
|
|
64544
64546
|
showCurrentPage?: boolean | undefined;
|
|
64545
64547
|
key?: string | number | symbol | undefined;
|
|
64546
64548
|
style?: unknown;
|
|
@@ -64620,10 +64622,10 @@ declare const VDataTableFooter: {
|
|
|
64620
64622
|
prevPageLabel: string;
|
|
64621
64623
|
nextPageLabel: string;
|
|
64622
64624
|
lastPageLabel: string;
|
|
64623
|
-
itemsPerPageOptions: readonly {
|
|
64625
|
+
itemsPerPageOptions: readonly (number | {
|
|
64624
64626
|
title: string;
|
|
64625
64627
|
value: number;
|
|
64626
|
-
}[];
|
|
64628
|
+
})[];
|
|
64627
64629
|
showCurrentPage: boolean;
|
|
64628
64630
|
} & {} & {
|
|
64629
64631
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -64645,10 +64647,10 @@ declare const VDataTableFooter: {
|
|
|
64645
64647
|
prevPageLabel: string;
|
|
64646
64648
|
nextPageLabel: string;
|
|
64647
64649
|
lastPageLabel: string;
|
|
64648
|
-
itemsPerPageOptions: readonly {
|
|
64650
|
+
itemsPerPageOptions: readonly (number | {
|
|
64649
64651
|
title: string;
|
|
64650
64652
|
value: number;
|
|
64651
|
-
}[];
|
|
64653
|
+
})[];
|
|
64652
64654
|
showCurrentPage: boolean;
|
|
64653
64655
|
}, {}, string, vue.SlotsType<Partial<{
|
|
64654
64656
|
prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -64685,10 +64687,10 @@ declare const VDataTableFooter: {
|
|
|
64685
64687
|
prevPageLabel: string;
|
|
64686
64688
|
nextPageLabel: string;
|
|
64687
64689
|
lastPageLabel: string;
|
|
64688
|
-
itemsPerPageOptions: readonly {
|
|
64690
|
+
itemsPerPageOptions: readonly (number | {
|
|
64689
64691
|
title: string;
|
|
64690
64692
|
value: number;
|
|
64691
|
-
}[];
|
|
64693
|
+
})[];
|
|
64692
64694
|
showCurrentPage: boolean;
|
|
64693
64695
|
} & {} & {
|
|
64694
64696
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -64714,10 +64716,10 @@ declare const VDataTableFooter: {
|
|
|
64714
64716
|
prevPageLabel: string;
|
|
64715
64717
|
nextPageLabel: string;
|
|
64716
64718
|
lastPageLabel: string;
|
|
64717
|
-
itemsPerPageOptions: readonly {
|
|
64719
|
+
itemsPerPageOptions: readonly (number | {
|
|
64718
64720
|
title: string;
|
|
64719
64721
|
value: number;
|
|
64720
|
-
}[];
|
|
64722
|
+
})[];
|
|
64721
64723
|
showCurrentPage: boolean;
|
|
64722
64724
|
} & {} & {
|
|
64723
64725
|
$children?: {} | vue.VNodeChild | {
|
|
@@ -64739,10 +64741,10 @@ declare const VDataTableFooter: {
|
|
|
64739
64741
|
prevPageLabel: string;
|
|
64740
64742
|
nextPageLabel: string;
|
|
64741
64743
|
lastPageLabel: string;
|
|
64742
|
-
itemsPerPageOptions: readonly {
|
|
64744
|
+
itemsPerPageOptions: readonly (number | {
|
|
64743
64745
|
title: string;
|
|
64744
64746
|
value: number;
|
|
64745
|
-
}[];
|
|
64747
|
+
})[];
|
|
64746
64748
|
showCurrentPage: boolean;
|
|
64747
64749
|
}, {}, string, vue.SlotsType<Partial<{
|
|
64748
64750
|
prepend: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -64790,10 +64792,10 @@ declare const VDataTableFooter: {
|
|
|
64790
64792
|
default: string;
|
|
64791
64793
|
};
|
|
64792
64794
|
itemsPerPageOptions: {
|
|
64793
|
-
type: PropType<readonly {
|
|
64795
|
+
type: PropType<readonly (number | {
|
|
64794
64796
|
title: string;
|
|
64795
64797
|
value: number;
|
|
64796
|
-
}[]>;
|
|
64798
|
+
})[]>;
|
|
64797
64799
|
default: () => {
|
|
64798
64800
|
value: number;
|
|
64799
64801
|
title: string;
|
|
@@ -64842,10 +64844,10 @@ declare const VDataTableFooter: {
|
|
|
64842
64844
|
default: string;
|
|
64843
64845
|
};
|
|
64844
64846
|
itemsPerPageOptions: {
|
|
64845
|
-
type: PropType<readonly {
|
|
64847
|
+
type: PropType<readonly (number | {
|
|
64846
64848
|
title: string;
|
|
64847
64849
|
value: number;
|
|
64848
|
-
}[]>;
|
|
64850
|
+
})[]>;
|
|
64849
64851
|
default: () => {
|
|
64850
64852
|
value: number;
|
|
64851
64853
|
title: string;
|
|
@@ -66565,10 +66567,10 @@ declare const VDataTableServer: {
|
|
|
66565
66567
|
prevPageLabel?: string | undefined;
|
|
66566
66568
|
nextPageLabel?: string | undefined;
|
|
66567
66569
|
lastPageLabel?: string | undefined;
|
|
66568
|
-
itemsPerPageOptions?: readonly {
|
|
66570
|
+
itemsPerPageOptions?: readonly (number | {
|
|
66569
66571
|
title: string;
|
|
66570
66572
|
value: number;
|
|
66571
|
-
}[] | undefined;
|
|
66573
|
+
})[] | undefined;
|
|
66572
66574
|
showCurrentPage?: boolean | undefined;
|
|
66573
66575
|
sortAscIcon?: IconValue | undefined;
|
|
66574
66576
|
sortDescIcon?: IconValue | undefined;
|
|
@@ -66983,10 +66985,10 @@ declare const VDataTableServer: {
|
|
|
66983
66985
|
prevPageLabel: string;
|
|
66984
66986
|
nextPageLabel: string;
|
|
66985
66987
|
lastPageLabel: string;
|
|
66986
|
-
itemsPerPageOptions: readonly {
|
|
66988
|
+
itemsPerPageOptions: readonly (number | {
|
|
66987
66989
|
title: string;
|
|
66988
66990
|
value: number;
|
|
66989
|
-
}[];
|
|
66991
|
+
})[];
|
|
66990
66992
|
showCurrentPage: boolean;
|
|
66991
66993
|
sortAscIcon: IconValue;
|
|
66992
66994
|
sortDescIcon: IconValue;
|
|
@@ -67272,10 +67274,10 @@ declare const VDataTableServer: {
|
|
|
67272
67274
|
prevPageLabel: string;
|
|
67273
67275
|
nextPageLabel: string;
|
|
67274
67276
|
lastPageLabel: string;
|
|
67275
|
-
itemsPerPageOptions: readonly {
|
|
67277
|
+
itemsPerPageOptions: readonly (number | {
|
|
67276
67278
|
title: string;
|
|
67277
67279
|
value: number;
|
|
67278
|
-
}[];
|
|
67280
|
+
})[];
|
|
67279
67281
|
showCurrentPage: boolean;
|
|
67280
67282
|
sortAscIcon: IconValue;
|
|
67281
67283
|
sortDescIcon: IconValue;
|
|
@@ -67457,10 +67459,10 @@ declare const VDataTableServer: {
|
|
|
67457
67459
|
prevPageLabel: string;
|
|
67458
67460
|
nextPageLabel: string;
|
|
67459
67461
|
lastPageLabel: string;
|
|
67460
|
-
itemsPerPageOptions: readonly {
|
|
67462
|
+
itemsPerPageOptions: readonly (number | {
|
|
67461
67463
|
title: string;
|
|
67462
67464
|
value: number;
|
|
67463
|
-
}[];
|
|
67465
|
+
})[];
|
|
67464
67466
|
showCurrentPage: boolean;
|
|
67465
67467
|
sortAscIcon: IconValue;
|
|
67466
67468
|
sortDescIcon: IconValue;
|
|
@@ -67743,10 +67745,10 @@ declare const VDataTableServer: {
|
|
|
67743
67745
|
prevPageLabel: string;
|
|
67744
67746
|
nextPageLabel: string;
|
|
67745
67747
|
lastPageLabel: string;
|
|
67746
|
-
itemsPerPageOptions: readonly {
|
|
67748
|
+
itemsPerPageOptions: readonly (number | {
|
|
67747
67749
|
title: string;
|
|
67748
67750
|
value: number;
|
|
67749
|
-
}[];
|
|
67751
|
+
})[];
|
|
67750
67752
|
showCurrentPage: boolean;
|
|
67751
67753
|
sortAscIcon: IconValue;
|
|
67752
67754
|
sortDescIcon: IconValue;
|
|
@@ -68032,10 +68034,10 @@ declare const VDataTableServer: {
|
|
|
68032
68034
|
prevPageLabel: string;
|
|
68033
68035
|
nextPageLabel: string;
|
|
68034
68036
|
lastPageLabel: string;
|
|
68035
|
-
itemsPerPageOptions: readonly {
|
|
68037
|
+
itemsPerPageOptions: readonly (number | {
|
|
68036
68038
|
title: string;
|
|
68037
68039
|
value: number;
|
|
68038
|
-
}[];
|
|
68040
|
+
})[];
|
|
68039
68041
|
showCurrentPage: boolean;
|
|
68040
68042
|
sortAscIcon: IconValue;
|
|
68041
68043
|
sortDescIcon: IconValue;
|
|
@@ -68199,10 +68201,10 @@ declare const VDataTableServer: {
|
|
|
68199
68201
|
default: string;
|
|
68200
68202
|
};
|
|
68201
68203
|
itemsPerPageOptions: {
|
|
68202
|
-
type: vue.PropType<readonly {
|
|
68204
|
+
type: vue.PropType<readonly (number | {
|
|
68203
68205
|
title: string;
|
|
68204
68206
|
value: number;
|
|
68205
|
-
}[]>;
|
|
68207
|
+
})[]>;
|
|
68206
68208
|
default: () => {
|
|
68207
68209
|
value: number;
|
|
68208
68210
|
title: string;
|
|
@@ -68356,10 +68358,10 @@ declare const VDataTableServer: {
|
|
|
68356
68358
|
default: string;
|
|
68357
68359
|
};
|
|
68358
68360
|
itemsPerPageOptions: {
|
|
68359
|
-
type: vue.PropType<readonly {
|
|
68361
|
+
type: vue.PropType<readonly (number | {
|
|
68360
68362
|
title: string;
|
|
68361
68363
|
value: number;
|
|
68362
|
-
}[]>;
|
|
68364
|
+
})[]>;
|
|
68363
68365
|
default: () => {
|
|
68364
68366
|
value: number;
|
|
68365
68367
|
title: string;
|
|
@@ -68793,6 +68795,7 @@ declare const VDateCard: {
|
|
|
68793
68795
|
"onUpdate:displayDate"?: ((value: any) => any) | undefined;
|
|
68794
68796
|
"onUpdate:inputMode"?: ((value: any) => any) | undefined;
|
|
68795
68797
|
"onUpdate:viewMode"?: ((mode: "month" | "year") => any) | undefined;
|
|
68798
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
68796
68799
|
hoverDate?: any;
|
|
68797
68800
|
onCancel?: (() => any) | undefined;
|
|
68798
68801
|
onSave?: (() => any) | undefined;
|
|
@@ -69073,6 +69076,7 @@ declare const VDateCard: {
|
|
|
69073
69076
|
format?: string | undefined;
|
|
69074
69077
|
side?: string | undefined;
|
|
69075
69078
|
displayDate?: any;
|
|
69079
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
69076
69080
|
hoverDate?: any;
|
|
69077
69081
|
} & {
|
|
69078
69082
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -69635,6 +69639,7 @@ declare const VDateCard: {
|
|
|
69635
69639
|
format?: string | undefined;
|
|
69636
69640
|
side?: string | undefined;
|
|
69637
69641
|
displayDate?: any;
|
|
69642
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
69638
69643
|
hoverDate?: any;
|
|
69639
69644
|
} & {
|
|
69640
69645
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -69917,6 +69922,7 @@ declare const VDateCard: {
|
|
|
69917
69922
|
format?: string | undefined;
|
|
69918
69923
|
side?: string | undefined;
|
|
69919
69924
|
displayDate?: any;
|
|
69925
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
69920
69926
|
hoverDate?: any;
|
|
69921
69927
|
} & {
|
|
69922
69928
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -70664,6 +70670,7 @@ declare const VDateCard: {
|
|
|
70664
70670
|
type: PropType<any[]>;
|
|
70665
70671
|
default: () => never[];
|
|
70666
70672
|
};
|
|
70673
|
+
allowedDates: (FunctionConstructor | ArrayConstructor)[];
|
|
70667
70674
|
showAdjacentMonths: BooleanConstructor;
|
|
70668
70675
|
hideWeekdays: BooleanConstructor;
|
|
70669
70676
|
showWeek: BooleanConstructor;
|
|
@@ -71148,6 +71155,7 @@ declare const VDateCard: {
|
|
|
71148
71155
|
type: PropType<any[]>;
|
|
71149
71156
|
default: () => never[];
|
|
71150
71157
|
};
|
|
71158
|
+
allowedDates: (FunctionConstructor | ArrayConstructor)[];
|
|
71151
71159
|
showAdjacentMonths: BooleanConstructor;
|
|
71152
71160
|
hideWeekdays: BooleanConstructor;
|
|
71153
71161
|
showWeek: BooleanConstructor;
|
|
@@ -71677,6 +71685,7 @@ declare const VDatePicker: {
|
|
|
71677
71685
|
"onUpdate:displayDate"?: ((date: any) => any) | undefined;
|
|
71678
71686
|
"onUpdate:inputMode"?: ((inputMode: "calendar" | "keyboard") => any) | undefined;
|
|
71679
71687
|
"onUpdate:viewMode"?: ((viewMode: "month" | "year") => any) | undefined;
|
|
71688
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
71680
71689
|
hoverDate?: any;
|
|
71681
71690
|
"onClick:cancel"?: (() => any) | undefined;
|
|
71682
71691
|
"onClick:save"?: (() => any) | undefined;
|
|
@@ -71755,6 +71764,7 @@ declare const VDatePicker: {
|
|
|
71755
71764
|
rounded?: string | number | boolean | undefined;
|
|
71756
71765
|
bgColor?: string | undefined;
|
|
71757
71766
|
displayDate?: any;
|
|
71767
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
71758
71768
|
hoverDate?: any;
|
|
71759
71769
|
} & {
|
|
71760
71770
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -71911,6 +71921,7 @@ declare const VDatePicker: {
|
|
|
71911
71921
|
rounded?: string | number | boolean | undefined;
|
|
71912
71922
|
bgColor?: string | undefined;
|
|
71913
71923
|
displayDate?: any;
|
|
71924
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
71914
71925
|
hoverDate?: any;
|
|
71915
71926
|
} & {
|
|
71916
71927
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -72000,6 +72011,7 @@ declare const VDatePicker: {
|
|
|
72000
72011
|
rounded?: string | number | boolean | undefined;
|
|
72001
72012
|
bgColor?: string | undefined;
|
|
72002
72013
|
displayDate?: any;
|
|
72014
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
72003
72015
|
hoverDate?: any;
|
|
72004
72016
|
} & {
|
|
72005
72017
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -72136,6 +72148,7 @@ declare const VDatePicker: {
|
|
|
72136
72148
|
type: vue.PropType<any[]>;
|
|
72137
72149
|
default: () => never[];
|
|
72138
72150
|
};
|
|
72151
|
+
allowedDates: (FunctionConstructor | ArrayConstructor)[];
|
|
72139
72152
|
showAdjacentMonths: BooleanConstructor;
|
|
72140
72153
|
hideWeekdays: BooleanConstructor;
|
|
72141
72154
|
showWeek: BooleanConstructor;
|
|
@@ -72247,6 +72260,7 @@ declare const VDatePicker: {
|
|
|
72247
72260
|
type: vue.PropType<any[]>;
|
|
72248
72261
|
default: () => never[];
|
|
72249
72262
|
};
|
|
72263
|
+
allowedDates: (FunctionConstructor | ArrayConstructor)[];
|
|
72250
72264
|
showAdjacentMonths: BooleanConstructor;
|
|
72251
72265
|
hideWeekdays: BooleanConstructor;
|
|
72252
72266
|
showWeek: BooleanConstructor;
|
|
@@ -72869,6 +72883,7 @@ declare const VDatePickerMonth: {
|
|
|
72869
72883
|
"onUpdate:modelValue"?: ((date: readonly any[]) => any) | undefined;
|
|
72870
72884
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
72871
72885
|
"onUpdate:displayDate"?: ((date: any) => any) | undefined;
|
|
72886
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
72872
72887
|
hoverDate?: any;
|
|
72873
72888
|
"onUpdate:hoverDate"?: ((date: any) => any) | undefined;
|
|
72874
72889
|
};
|
|
@@ -72900,6 +72915,7 @@ declare const VDatePickerMonth: {
|
|
|
72900
72915
|
min?: string | number | Date | undefined;
|
|
72901
72916
|
format?: string | undefined;
|
|
72902
72917
|
side?: string | undefined;
|
|
72918
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
72903
72919
|
hoverDate?: any;
|
|
72904
72920
|
} & {
|
|
72905
72921
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -72965,6 +72981,7 @@ declare const VDatePickerMonth: {
|
|
|
72965
72981
|
min?: string | number | Date | undefined;
|
|
72966
72982
|
format?: string | undefined;
|
|
72967
72983
|
side?: string | undefined;
|
|
72984
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
72968
72985
|
hoverDate?: any;
|
|
72969
72986
|
} & {
|
|
72970
72987
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -72997,6 +73014,7 @@ declare const VDatePickerMonth: {
|
|
|
72997
73014
|
min?: string | number | Date | undefined;
|
|
72998
73015
|
format?: string | undefined;
|
|
72999
73016
|
side?: string | undefined;
|
|
73017
|
+
allowedDates?: Function | unknown[] | undefined;
|
|
73000
73018
|
hoverDate?: any;
|
|
73001
73019
|
} & {
|
|
73002
73020
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
@@ -73039,6 +73057,7 @@ declare const VDatePickerMonth: {
|
|
|
73039
73057
|
type: vue.PropType<any>;
|
|
73040
73058
|
default: null;
|
|
73041
73059
|
};
|
|
73060
|
+
allowedDates: (FunctionConstructor | ArrayConstructor)[];
|
|
73042
73061
|
color: {
|
|
73043
73062
|
type: vue.PropType<string>;
|
|
73044
73063
|
default: string;
|
|
@@ -73063,6 +73082,7 @@ declare const VDatePickerMonth: {
|
|
|
73063
73082
|
type: vue.PropType<any>;
|
|
73064
73083
|
default: null;
|
|
73065
73084
|
};
|
|
73085
|
+
allowedDates: (FunctionConstructor | ArrayConstructor)[];
|
|
73066
73086
|
color: {
|
|
73067
73087
|
type: vue.PropType<string>;
|
|
73068
73088
|
default: string;
|
package/dist/vuetify-labs.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.3.
|
|
2
|
+
* Vuetify v3.3.21
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -263,6 +263,10 @@ function padEnd(str, length) {
|
|
|
263
263
|
let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
|
|
264
264
|
return str + char.repeat(Math.max(0, length - str.length));
|
|
265
265
|
}
|
|
266
|
+
function padStart(str, length) {
|
|
267
|
+
let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
|
|
268
|
+
return char.repeat(Math.max(0, length - str.length)) + str;
|
|
269
|
+
}
|
|
266
270
|
function chunk(str) {
|
|
267
271
|
let size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
268
272
|
const chunked = [];
|
|
@@ -13126,6 +13130,7 @@ const VColorPickerCanvas = defineComponent({
|
|
|
13126
13130
|
x,
|
|
13127
13131
|
y
|
|
13128
13132
|
} = val;
|
|
13133
|
+
_dotPosition.value = val;
|
|
13129
13134
|
emit('update:color', {
|
|
13130
13135
|
h: props.color?.h ?? 0,
|
|
13131
13136
|
s: clamp(x, 0, canvasWidth.value) / canvasWidth.value,
|
|
@@ -14920,7 +14925,7 @@ const VCombobox = genericComponent()({
|
|
|
14920
14925
|
return _search.value;
|
|
14921
14926
|
},
|
|
14922
14927
|
set: val => {
|
|
14923
|
-
_search.value = val;
|
|
14928
|
+
_search.value = val ?? '';
|
|
14924
14929
|
if (!props.multiple) {
|
|
14925
14930
|
model.value = [transformItem$3(props, val)];
|
|
14926
14931
|
}
|
|
@@ -20525,10 +20530,18 @@ const VDataTableFooter = genericComponent()({
|
|
|
20525
20530
|
itemsPerPage,
|
|
20526
20531
|
setItemsPerPage
|
|
20527
20532
|
} = usePagination();
|
|
20528
|
-
const itemsPerPageOptions = computed(() => props.itemsPerPageOptions.map(option =>
|
|
20529
|
-
|
|
20530
|
-
|
|
20531
|
-
|
|
20533
|
+
const itemsPerPageOptions = computed(() => props.itemsPerPageOptions.map(option => {
|
|
20534
|
+
if (typeof option === 'number') {
|
|
20535
|
+
return {
|
|
20536
|
+
value: option,
|
|
20537
|
+
title: option === -1 ? t('$vuetify.dataFooter.itemsPerPageAll') : String(option)
|
|
20538
|
+
};
|
|
20539
|
+
}
|
|
20540
|
+
return {
|
|
20541
|
+
...option,
|
|
20542
|
+
title: t(option.title)
|
|
20543
|
+
};
|
|
20544
|
+
}));
|
|
20532
20545
|
return () => createVNode("div", {
|
|
20533
20546
|
"class": "v-data-table-footer"
|
|
20534
20547
|
}, [slots.prepend?.(), createVNode("div", {
|
|
@@ -22159,6 +22172,17 @@ function format(value, formatString, locale) {
|
|
|
22159
22172
|
}
|
|
22160
22173
|
return new Intl.DateTimeFormat(locale, options).format(date);
|
|
22161
22174
|
}
|
|
22175
|
+
function toISO(adapter, value) {
|
|
22176
|
+
const date = adapter.toJsDate(value);
|
|
22177
|
+
const year = date.getFullYear();
|
|
22178
|
+
const month = padStart(String(date.getMonth() + 1), 2, '0');
|
|
22179
|
+
const day = padStart(String(date.getDate()), 2, '0');
|
|
22180
|
+
return `${year}-${month}-${day}`;
|
|
22181
|
+
}
|
|
22182
|
+
function parseISO(value) {
|
|
22183
|
+
const [year, month, day] = value.split('-').map(Number);
|
|
22184
|
+
return new Date(year, month - 1, day);
|
|
22185
|
+
}
|
|
22162
22186
|
function addDays(date, amount) {
|
|
22163
22187
|
const d = new Date(date);
|
|
22164
22188
|
d.setDate(d.getDate() + amount);
|
|
@@ -22233,6 +22257,12 @@ class VuetifyDateAdapter {
|
|
|
22233
22257
|
toJsDate(date) {
|
|
22234
22258
|
return date;
|
|
22235
22259
|
}
|
|
22260
|
+
toISO(date) {
|
|
22261
|
+
return toISO(this, date);
|
|
22262
|
+
}
|
|
22263
|
+
parseISO(date) {
|
|
22264
|
+
return parseISO(date);
|
|
22265
|
+
}
|
|
22236
22266
|
addDays(date, amount) {
|
|
22237
22267
|
return addDays(date, amount);
|
|
22238
22268
|
}
|
|
@@ -22513,6 +22543,7 @@ function useDatePicker() {
|
|
|
22513
22543
|
}
|
|
22514
22544
|
|
|
22515
22545
|
const makeVDatePickerMonthProps = propsFactory({
|
|
22546
|
+
allowedDates: [Array, Function],
|
|
22516
22547
|
color: String,
|
|
22517
22548
|
showAdjacentMonths: Boolean,
|
|
22518
22549
|
hideWeekdays: Boolean,
|
|
@@ -22599,7 +22630,6 @@ const VDatePickerMonth = genericComponent()({
|
|
|
22599
22630
|
const startDate = validDates[0];
|
|
22600
22631
|
const endDate = validDates[1];
|
|
22601
22632
|
return days.map((date, index) => {
|
|
22602
|
-
const isDisabled = !!(props.min && adapter.isAfter(props.min, date) || props.max && adapter.isAfter(date, props.max));
|
|
22603
22633
|
const isStart = startDate && adapter.isSameDay(date, startDate);
|
|
22604
22634
|
const isEnd = endDate && adapter.isSameDay(date, endDate);
|
|
22605
22635
|
const isAdjacent = !adapter.isSameMonth(date, month.value);
|
|
@@ -22610,7 +22640,7 @@ const VDatePickerMonth = genericComponent()({
|
|
|
22610
22640
|
formatted: adapter.format(date, 'keyboardDate'),
|
|
22611
22641
|
year: adapter.getYear(date),
|
|
22612
22642
|
month: adapter.getMonth(date),
|
|
22613
|
-
isDisabled,
|
|
22643
|
+
isDisabled: isDisabled(date),
|
|
22614
22644
|
isWeekStart: index % 7 === 0,
|
|
22615
22645
|
isWeekEnd: index % 7 === 6,
|
|
22616
22646
|
isSelected: isStart || isEnd,
|
|
@@ -22637,6 +22667,18 @@ const VDatePickerMonth = genericComponent()({
|
|
|
22637
22667
|
backgroundColorClasses,
|
|
22638
22668
|
backgroundColorStyles
|
|
22639
22669
|
} = useBackgroundColor(props, 'color');
|
|
22670
|
+
function isDisabled(value) {
|
|
22671
|
+
const date = adapter.date(value);
|
|
22672
|
+
if (props.min && adapter.isAfter(props.min, date)) return true;
|
|
22673
|
+
if (props.max && adapter.isAfter(date, props.max)) return true;
|
|
22674
|
+
if (Array.isArray(props.allowedDates)) {
|
|
22675
|
+
return !props.allowedDates.some(d => adapter.isSameDay(adapter.date(d), date));
|
|
22676
|
+
}
|
|
22677
|
+
if (typeof props.allowedDates === 'function') {
|
|
22678
|
+
return !props.allowedDates(date);
|
|
22679
|
+
}
|
|
22680
|
+
return false;
|
|
22681
|
+
}
|
|
22640
22682
|
function selectDate(date) {
|
|
22641
22683
|
let newModel = props.modelValue.slice();
|
|
22642
22684
|
if (props.multiple) {
|
|
@@ -23541,7 +23583,7 @@ const makeVOtpInputProps = propsFactory({
|
|
|
23541
23583
|
placeholder: String,
|
|
23542
23584
|
type: {
|
|
23543
23585
|
type: String,
|
|
23544
|
-
default: '
|
|
23586
|
+
default: 'number'
|
|
23545
23587
|
},
|
|
23546
23588
|
...makeDimensionProps(),
|
|
23547
23589
|
...makeFocusProps(),
|
|
@@ -23587,7 +23629,7 @@ const VOtpInput = genericComponent()({
|
|
|
23587
23629
|
model.value = array;
|
|
23588
23630
|
let target = null;
|
|
23589
23631
|
if (focusIndex.value > model.value.length) {
|
|
23590
|
-
target = model.value.length
|
|
23632
|
+
target = model.value.length;
|
|
23591
23633
|
} else if (focusIndex.value + 1 !== Number(props.length)) {
|
|
23592
23634
|
target = 'next';
|
|
23593
23635
|
} else {
|
|
@@ -23612,7 +23654,7 @@ const VOtpInput = genericComponent()({
|
|
|
23612
23654
|
target = 'prev';
|
|
23613
23655
|
} else {
|
|
23614
23656
|
requestAnimationFrame(() => {
|
|
23615
|
-
inputRef.value[index]
|
|
23657
|
+
inputRef.value[index]?.select();
|
|
23616
23658
|
});
|
|
23617
23659
|
}
|
|
23618
23660
|
}
|
|
@@ -23641,6 +23683,9 @@ const VOtpInput = genericComponent()({
|
|
|
23641
23683
|
}
|
|
23642
23684
|
provideDefaults({
|
|
23643
23685
|
VField: {
|
|
23686
|
+
color: computed(() => props.color),
|
|
23687
|
+
bgColor: computed(() => props.color),
|
|
23688
|
+
baseColor: computed(() => props.baseColor),
|
|
23644
23689
|
disabled: computed(() => props.disabled),
|
|
23645
23690
|
error: computed(() => props.error),
|
|
23646
23691
|
variant: computed(() => props.variant)
|
|
@@ -23656,7 +23701,7 @@ const VOtpInput = genericComponent()({
|
|
|
23656
23701
|
watch(focusIndex, val => {
|
|
23657
23702
|
if (val < 0) return;
|
|
23658
23703
|
IN_BROWSER && window.requestAnimationFrame(() => {
|
|
23659
|
-
inputRef.value[val]
|
|
23704
|
+
inputRef.value[val]?.select();
|
|
23660
23705
|
});
|
|
23661
23706
|
});
|
|
23662
23707
|
useRender(() => {
|
|
@@ -24608,7 +24653,7 @@ function createVuetify$1() {
|
|
|
24608
24653
|
date
|
|
24609
24654
|
};
|
|
24610
24655
|
}
|
|
24611
|
-
const version$1 = "3.3.
|
|
24656
|
+
const version$1 = "3.3.21";
|
|
24612
24657
|
createVuetify$1.version = version$1;
|
|
24613
24658
|
|
|
24614
24659
|
// Vue's inject() can only be used in setup
|
|
@@ -24622,7 +24667,7 @@ function inject(key) {
|
|
|
24622
24667
|
|
|
24623
24668
|
/* eslint-disable local-rules/sort-imports */
|
|
24624
24669
|
|
|
24625
|
-
const version = "3.3.
|
|
24670
|
+
const version = "3.3.21";
|
|
24626
24671
|
|
|
24627
24672
|
/* eslint-disable local-rules/sort-imports */
|
|
24628
24673
|
|