@vuetify/nightly 3.5.3-dev.2024-03-03 → 3.5.3-dev.2024-03-06

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/vuetify.d.ts CHANGED
@@ -19,11 +19,13 @@ interface DateAdapter<T = unknown> {
19
19
  endOfMonth(date: T): T;
20
20
  startOfYear(date: T): T;
21
21
  endOfYear(date: T): T;
22
- isBefore(date: T, comparing: T): boolean;
23
22
  isAfter(date: T, comparing: T): boolean;
24
- isEqual(date: T, comparing: T): boolean;
23
+ isAfterDay(value: T, comparing: T): boolean;
25
24
  isSameDay(date: T, comparing: T): boolean;
26
25
  isSameMonth(date: T, comparing: T): boolean;
26
+ isSameYear(value: T, comparing: T): boolean;
27
+ isBefore(date: T, comparing: T): boolean;
28
+ isEqual(date: T, comparing: T): boolean;
27
29
  isValid(date: any): boolean;
28
30
  isWithinRange(date: T, range: [T, T]): boolean;
29
31
  addMinutes(date: T, amount: number): T;
@@ -39,6 +41,7 @@ interface DateAdapter<T = unknown> {
39
41
  getMonth(date: T): number;
40
42
  setMonth(date: T, month: number): T;
41
43
  getNextMonth(date: T): T;
44
+ getPreviousMonth(date: T): T;
42
45
  getHours(date: T): number;
43
46
  setHours(date: T, hours: number): T;
44
47
  getMinutes(date: T): number;
@@ -108,11 +111,13 @@ declare function useDate(): {
108
111
  endOfMonth: (date: unknown) => unknown;
109
112
  startOfYear: (date: unknown) => unknown;
110
113
  endOfYear: (date: unknown) => unknown;
111
- isBefore: (date: unknown, comparing: unknown) => boolean;
112
114
  isAfter: (date: unknown, comparing: unknown) => boolean;
113
- isEqual: (date: unknown, comparing: unknown) => boolean;
115
+ isAfterDay: (value: unknown, comparing: unknown) => boolean;
114
116
  isSameDay: (date: unknown, comparing: unknown) => boolean;
115
117
  isSameMonth: (date: unknown, comparing: unknown) => boolean;
118
+ isSameYear: (value: unknown, comparing: unknown) => boolean;
119
+ isBefore: (date: unknown, comparing: unknown) => boolean;
120
+ isEqual: (date: unknown, comparing: unknown) => boolean;
116
121
  isValid: (date: any) => boolean;
117
122
  isWithinRange: (date: unknown, range: [unknown, unknown]) => boolean;
118
123
  addMinutes: (date: unknown, amount: number) => unknown;
@@ -128,6 +133,7 @@ declare function useDate(): {
128
133
  getMonth: (date: unknown) => number;
129
134
  setMonth: (date: unknown, month: number) => unknown;
130
135
  getNextMonth: (date: unknown) => unknown;
136
+ getPreviousMonth: (date: unknown) => unknown;
131
137
  getHours: (date: unknown) => number;
132
138
  setHours: (date: unknown, hours: number) => unknown;
133
139
  getMinutes: (date: unknown) => number;
@@ -67262,11 +67268,13 @@ declare const createVuetify: {
67262
67268
  endOfMonth: (date: unknown) => unknown;
67263
67269
  startOfYear: (date: unknown) => unknown;
67264
67270
  endOfYear: (date: unknown) => unknown;
67265
- isBefore: (date: unknown, comparing: unknown) => boolean;
67266
67271
  isAfter: (date: unknown, comparing: unknown) => boolean;
67267
- isEqual: (date: unknown, comparing: unknown) => boolean;
67272
+ isAfterDay: (value: unknown, comparing: unknown) => boolean;
67268
67273
  isSameDay: (date: unknown, comparing: unknown) => boolean;
67269
67274
  isSameMonth: (date: unknown, comparing: unknown) => boolean;
67275
+ isSameYear: (value: unknown, comparing: unknown) => boolean;
67276
+ isBefore: (date: unknown, comparing: unknown) => boolean;
67277
+ isEqual: (date: unknown, comparing: unknown) => boolean;
67270
67278
  isValid: (date: any) => boolean;
67271
67279
  isWithinRange: (date: unknown, range: [unknown, unknown]) => boolean;
67272
67280
  addMinutes: (date: unknown, amount: number) => unknown;
@@ -67282,6 +67290,7 @@ declare const createVuetify: {
67282
67290
  getMonth: (date: unknown) => number;
67283
67291
  setMonth: (date: unknown, month: number) => unknown;
67284
67292
  getNextMonth: (date: unknown) => unknown;
67293
+ getPreviousMonth: (date: unknown) => unknown;
67285
67294
  getHours: (date: unknown) => number;
67286
67295
  setHours: (date: unknown, hours: number) => unknown;
67287
67296
  getMinutes: (date: unknown) => number;
@@ -67344,37 +67353,45 @@ declare module '@vue/runtime-core' {
67344
67353
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
67345
67354
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
67346
67355
  VApp: typeof import('vuetify/components')['VApp']
67356
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
67347
67357
  VAlert: typeof import('vuetify/components')['VAlert']
67348
67358
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
67349
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
67350
67359
  VAvatar: typeof import('vuetify/components')['VAvatar']
67351
67360
  VBadge: typeof import('vuetify/components')['VBadge']
67352
- VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
67353
- VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
67354
- VBtn: typeof import('vuetify/components')['VBtn']
67355
67361
  VBanner: typeof import('vuetify/components')['VBanner']
67356
67362
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
67357
67363
  VBannerText: typeof import('vuetify/components')['VBannerText']
67358
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
67359
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
67364
+ VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
67365
+ VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
67366
+ VBtn: typeof import('vuetify/components')['VBtn']
67360
67367
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
67361
67368
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
67362
67369
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
67363
- VCheckbox: typeof import('vuetify/components')['VCheckbox']
67364
- VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
67365
67370
  VCard: typeof import('vuetify/components')['VCard']
67366
67371
  VCardActions: typeof import('vuetify/components')['VCardActions']
67367
67372
  VCardItem: typeof import('vuetify/components')['VCardItem']
67368
67373
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
67369
67374
  VCardText: typeof import('vuetify/components')['VCardText']
67370
67375
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
67376
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
67377
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
67371
67378
  VCarousel: typeof import('vuetify/components')['VCarousel']
67372
67379
  VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
67373
67380
  VChip: typeof import('vuetify/components')['VChip']
67374
- VCode: typeof import('vuetify/components')['VCode']
67381
+ VCheckbox: typeof import('vuetify/components')['VCheckbox']
67382
+ VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
67375
67383
  VChipGroup: typeof import('vuetify/components')['VChipGroup']
67376
67384
  VCounter: typeof import('vuetify/components')['VCounter']
67385
+ VCode: typeof import('vuetify/components')['VCode']
67386
+ VDialog: typeof import('vuetify/components')['VDialog']
67387
+ VCombobox: typeof import('vuetify/components')['VCombobox']
67377
67388
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
67389
+ VDatePicker: typeof import('vuetify/components')['VDatePicker']
67390
+ VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
67391
+ VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
67392
+ VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
67393
+ VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
67394
+ VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
67378
67395
  VDataTable: typeof import('vuetify/components')['VDataTable']
67379
67396
  VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
67380
67397
  VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
@@ -67382,35 +67399,25 @@ declare module '@vue/runtime-core' {
67382
67399
  VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
67383
67400
  VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
67384
67401
  VDivider: typeof import('vuetify/components')['VDivider']
67385
- VCombobox: typeof import('vuetify/components')['VCombobox']
67386
- VDatePicker: typeof import('vuetify/components')['VDatePicker']
67387
- VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
67388
- VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
67389
- VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
67390
- VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
67391
- VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
67402
+ VField: typeof import('vuetify/components')['VField']
67403
+ VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
67392
67404
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
67393
67405
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
67394
67406
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
67395
67407
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
67396
- VDialog: typeof import('vuetify/components')['VDialog']
67397
- VFileInput: typeof import('vuetify/components')['VFileInput']
67398
- VField: typeof import('vuetify/components')['VField']
67399
- VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
67400
- VFooter: typeof import('vuetify/components')['VFooter']
67401
67408
  VIcon: typeof import('vuetify/components')['VIcon']
67402
67409
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
67403
67410
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
67404
67411
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
67405
67412
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
67406
- VInput: typeof import('vuetify/components')['VInput']
67407
- VImg: typeof import('vuetify/components')['VImg']
67413
+ VFileInput: typeof import('vuetify/components')['VFileInput']
67414
+ VFooter: typeof import('vuetify/components')['VFooter']
67408
67415
  VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
67409
67416
  VKbd: typeof import('vuetify/components')['VKbd']
67417
+ VImg: typeof import('vuetify/components')['VImg']
67418
+ VInput: typeof import('vuetify/components')['VInput']
67410
67419
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
67411
67420
  VItem: typeof import('vuetify/components')['VItem']
67412
- VLabel: typeof import('vuetify/components')['VLabel']
67413
- VMain: typeof import('vuetify/components')['VMain']
67414
67421
  VList: typeof import('vuetify/components')['VList']
67415
67422
  VListGroup: typeof import('vuetify/components')['VListGroup']
67416
67423
  VListImg: typeof import('vuetify/components')['VListImg']
@@ -67420,24 +67427,25 @@ declare module '@vue/runtime-core' {
67420
67427
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
67421
67428
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
67422
67429
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
67423
- VMenu: typeof import('vuetify/components')['VMenu']
67424
- VMessages: typeof import('vuetify/components')['VMessages']
67430
+ VLabel: typeof import('vuetify/components')['VLabel']
67431
+ VMain: typeof import('vuetify/components')['VMain']
67425
67432
  VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
67433
+ VMessages: typeof import('vuetify/components')['VMessages']
67434
+ VMenu: typeof import('vuetify/components')['VMenu']
67435
+ VOtpInput: typeof import('vuetify/components')['VOtpInput']
67426
67436
  VOverlay: typeof import('vuetify/components')['VOverlay']
67427
- VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
67428
67437
  VPagination: typeof import('vuetify/components')['VPagination']
67429
- VOtpInput: typeof import('vuetify/components')['VOtpInput']
67438
+ VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
67430
67439
  VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
67431
- VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
67432
67440
  VRating: typeof import('vuetify/components')['VRating']
67433
- VSheet: typeof import('vuetify/components')['VSheet']
67434
- VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
67441
+ VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
67435
67442
  VSelect: typeof import('vuetify/components')['VSelect']
67443
+ VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
67436
67444
  VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
67437
- VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
67438
- VSlider: typeof import('vuetify/components')['VSlider']
67445
+ VSheet: typeof import('vuetify/components')['VSheet']
67439
67446
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
67440
67447
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
67448
+ VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
67441
67449
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
67442
67450
  VStepper: typeof import('vuetify/components')['VStepper']
67443
67451
  VStepperActions: typeof import('vuetify/components')['VStepperActions']
@@ -67445,19 +67453,20 @@ declare module '@vue/runtime-core' {
67445
67453
  VStepperItem: typeof import('vuetify/components')['VStepperItem']
67446
67454
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
67447
67455
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
67448
- VSwitch: typeof import('vuetify/components')['VSwitch']
67449
- VTable: typeof import('vuetify/components')['VTable']
67450
67456
  VSystemBar: typeof import('vuetify/components')['VSystemBar']
67451
- VTextField: typeof import('vuetify/components')['VTextField']
67452
- VTextarea: typeof import('vuetify/components')['VTextarea']
67453
- VTimeline: typeof import('vuetify/components')['VTimeline']
67454
- VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
67457
+ VSlider: typeof import('vuetify/components')['VSlider']
67455
67458
  VTabs: typeof import('vuetify/components')['VTabs']
67456
67459
  VTab: typeof import('vuetify/components')['VTab']
67460
+ VTable: typeof import('vuetify/components')['VTable']
67461
+ VSwitch: typeof import('vuetify/components')['VSwitch']
67462
+ VTextField: typeof import('vuetify/components')['VTextField']
67457
67463
  VTooltip: typeof import('vuetify/components')['VTooltip']
67464
+ VTextarea: typeof import('vuetify/components')['VTextarea']
67458
67465
  VToolbar: typeof import('vuetify/components')['VToolbar']
67459
67466
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
67460
67467
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
67468
+ VTimeline: typeof import('vuetify/components')['VTimeline']
67469
+ VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
67461
67470
  VWindow: typeof import('vuetify/components')['VWindow']
67462
67471
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
67463
67472
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
@@ -67472,8 +67481,8 @@ declare module '@vue/runtime-core' {
67472
67481
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
67473
67482
  VLazy: typeof import('vuetify/components')['VLazy']
67474
67483
  VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
67475
- VNoSsr: typeof import('vuetify/components')['VNoSsr']
67476
67484
  VParallax: typeof import('vuetify/components')['VParallax']
67485
+ VNoSsr: typeof import('vuetify/components')['VNoSsr']
67477
67486
  VRadio: typeof import('vuetify/components')['VRadio']
67478
67487
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
67479
67488
  VResponsive: typeof import('vuetify/components')['VResponsive']
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.5.3-dev.2024-03-03
2
+ * Vuetify v3.5.3-dev.2024-03-06
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -17255,6 +17255,9 @@ function getMonth(date) {
17255
17255
  function getNextMonth(date) {
17256
17256
  return new Date(date.getFullYear(), date.getMonth() + 1, 1);
17257
17257
  }
17258
+ function getPreviousMonth(date) {
17259
+ return new Date(date.getFullYear(), date.getMonth() - 1, 1);
17260
+ }
17258
17261
  function getHours(date) {
17259
17262
  return date.getHours();
17260
17263
  }
@@ -17277,6 +17280,9 @@ function isValid(date) {
17277
17280
  function isAfter(date, comparing) {
17278
17281
  return date.getTime() > comparing.getTime();
17279
17282
  }
17283
+ function isAfterDay(date, comparing) {
17284
+ return isAfter(startOfDay(date), startOfDay(comparing));
17285
+ }
17280
17286
  function isBefore(date, comparing) {
17281
17287
  return date.getTime() < comparing.getTime();
17282
17288
  }
@@ -17289,6 +17295,9 @@ function isSameDay(date, comparing) {
17289
17295
  function isSameMonth(date, comparing) {
17290
17296
  return date.getMonth() === comparing.getMonth() && date.getFullYear() === comparing.getFullYear();
17291
17297
  }
17298
+ function isSameYear(date, comparing) {
17299
+ return date.getFullYear() === comparing.getFullYear();
17300
+ }
17292
17301
  function getDiff(date, comparing, unit) {
17293
17302
  const d = new Date(date);
17294
17303
  const c = new Date(comparing);
@@ -17385,6 +17394,9 @@ class VuetifyDateAdapter {
17385
17394
  isAfter(date, comparing) {
17386
17395
  return isAfter(date, comparing);
17387
17396
  }
17397
+ isAfterDay(date, comparing) {
17398
+ return isAfterDay(date, comparing);
17399
+ }
17388
17400
  isBefore(date, comparing) {
17389
17401
  return !isAfter(date, comparing) && !isEqual(date, comparing);
17390
17402
  }
@@ -17394,6 +17406,9 @@ class VuetifyDateAdapter {
17394
17406
  isSameMonth(date, comparing) {
17395
17407
  return isSameMonth(date, comparing);
17396
17408
  }
17409
+ isSameYear(date, comparing) {
17410
+ return isSameYear(date, comparing);
17411
+ }
17397
17412
  setMinutes(date, count) {
17398
17413
  return setMinutes(date, count);
17399
17414
  }
@@ -17421,6 +17436,9 @@ class VuetifyDateAdapter {
17421
17436
  getNextMonth(date) {
17422
17437
  return getNextMonth(date);
17423
17438
  }
17439
+ getPreviousMonth(date) {
17440
+ return getPreviousMonth(date);
17441
+ }
17424
17442
  getHours(date) {
17425
17443
  return getHours(date);
17426
17444
  }
@@ -25662,7 +25680,7 @@ function createVuetify$1() {
25662
25680
  goTo
25663
25681
  };
25664
25682
  }
25665
- const version$1 = "3.5.3-dev.2024-03-03";
25683
+ const version$1 = "3.5.3-dev.2024-03-06";
25666
25684
  createVuetify$1.version = version$1;
25667
25685
 
25668
25686
  // Vue's inject() can only be used in setup
@@ -25687,7 +25705,7 @@ const createVuetify = function () {
25687
25705
  ...options
25688
25706
  });
25689
25707
  };
25690
- const version = "3.5.3-dev.2024-03-03";
25708
+ const version = "3.5.3-dev.2024-03-06";
25691
25709
  createVuetify.version = version;
25692
25710
 
25693
25711
  export { components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };