@vuetify/nightly 3.5.3-dev.2024-02-25 → 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.
@@ -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;
@@ -69374,11 +69380,13 @@ declare const createVuetify: (options?: VuetifyOptions) => {
69374
69380
  endOfMonth: (date: unknown) => unknown;
69375
69381
  startOfYear: (date: unknown) => unknown;
69376
69382
  endOfYear: (date: unknown) => unknown;
69377
- isBefore: (date: unknown, comparing: unknown) => boolean;
69378
69383
  isAfter: (date: unknown, comparing: unknown) => boolean;
69379
- isEqual: (date: unknown, comparing: unknown) => boolean;
69384
+ isAfterDay: (value: unknown, comparing: unknown) => boolean;
69380
69385
  isSameDay: (date: unknown, comparing: unknown) => boolean;
69381
69386
  isSameMonth: (date: unknown, comparing: unknown) => boolean;
69387
+ isSameYear: (value: unknown, comparing: unknown) => boolean;
69388
+ isBefore: (date: unknown, comparing: unknown) => boolean;
69389
+ isEqual: (date: unknown, comparing: unknown) => boolean;
69382
69390
  isValid: (date: any) => boolean;
69383
69391
  isWithinRange: (date: unknown, range: [unknown, unknown]) => boolean;
69384
69392
  addMinutes: (date: unknown, amount: number) => unknown;
@@ -69394,6 +69402,7 @@ declare const createVuetify: (options?: VuetifyOptions) => {
69394
69402
  getMonth: (date: unknown) => number;
69395
69403
  setMonth: (date: unknown, month: number) => unknown;
69396
69404
  getNextMonth: (date: unknown) => unknown;
69405
+ getPreviousMonth: (date: unknown) => unknown;
69397
69406
  getHours: (date: unknown) => number;
69398
69407
  setHours: (date: unknown, hours: number) => unknown;
69399
69408
  getMinutes: (date: unknown) => number;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.5.3-dev.2024-02-25
2
+ * Vuetify v3.5.3-dev.2024-03-06
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -4455,7 +4455,8 @@ function createIcons(options) {
4455
4455
  ...aliases,
4456
4456
  /* eslint-disable max-len */
4457
4457
  vuetify: ['M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z', ['M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z', 0.6]],
4458
- 'vuetify-outline': 'svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z'
4458
+ 'vuetify-outline': 'svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z',
4459
+ 'vuetify-play': ['m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z', ['M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z', 0.6]]
4459
4460
  /* eslint-enable max-len */
4460
4461
  }
4461
4462
  }, options);
@@ -17260,6 +17261,9 @@ function getMonth(date) {
17260
17261
  function getNextMonth(date) {
17261
17262
  return new Date(date.getFullYear(), date.getMonth() + 1, 1);
17262
17263
  }
17264
+ function getPreviousMonth(date) {
17265
+ return new Date(date.getFullYear(), date.getMonth() - 1, 1);
17266
+ }
17263
17267
  function getHours(date) {
17264
17268
  return date.getHours();
17265
17269
  }
@@ -17282,6 +17286,9 @@ function isValid(date) {
17282
17286
  function isAfter(date, comparing) {
17283
17287
  return date.getTime() > comparing.getTime();
17284
17288
  }
17289
+ function isAfterDay(date, comparing) {
17290
+ return isAfter(startOfDay(date), startOfDay(comparing));
17291
+ }
17285
17292
  function isBefore(date, comparing) {
17286
17293
  return date.getTime() < comparing.getTime();
17287
17294
  }
@@ -17294,6 +17301,9 @@ function isSameDay(date, comparing) {
17294
17301
  function isSameMonth(date, comparing) {
17295
17302
  return date.getMonth() === comparing.getMonth() && date.getFullYear() === comparing.getFullYear();
17296
17303
  }
17304
+ function isSameYear(date, comparing) {
17305
+ return date.getFullYear() === comparing.getFullYear();
17306
+ }
17297
17307
  function getDiff(date, comparing, unit) {
17298
17308
  const d = new Date(date);
17299
17309
  const c = new Date(comparing);
@@ -17390,6 +17400,9 @@ class VuetifyDateAdapter {
17390
17400
  isAfter(date, comparing) {
17391
17401
  return isAfter(date, comparing);
17392
17402
  }
17403
+ isAfterDay(date, comparing) {
17404
+ return isAfterDay(date, comparing);
17405
+ }
17393
17406
  isBefore(date, comparing) {
17394
17407
  return !isAfter(date, comparing) && !isEqual(date, comparing);
17395
17408
  }
@@ -17399,6 +17412,9 @@ class VuetifyDateAdapter {
17399
17412
  isSameMonth(date, comparing) {
17400
17413
  return isSameMonth(date, comparing);
17401
17414
  }
17415
+ isSameYear(date, comparing) {
17416
+ return isSameYear(date, comparing);
17417
+ }
17402
17418
  setMinutes(date, count) {
17403
17419
  return setMinutes(date, count);
17404
17420
  }
@@ -17426,6 +17442,9 @@ class VuetifyDateAdapter {
17426
17442
  getNextMonth(date) {
17427
17443
  return getNextMonth(date);
17428
17444
  }
17445
+ getPreviousMonth(date) {
17446
+ return getPreviousMonth(date);
17447
+ }
17429
17448
  getHours(date) {
17430
17449
  return getHours(date);
17431
17450
  }
@@ -26219,7 +26238,7 @@ function createVuetify$1() {
26219
26238
  goTo
26220
26239
  };
26221
26240
  }
26222
- const version$1 = "3.5.3-dev.2024-02-25";
26241
+ const version$1 = "3.5.3-dev.2024-03-06";
26223
26242
  createVuetify$1.version = version$1;
26224
26243
 
26225
26244
  // Vue's inject() can only be used in setup
@@ -26233,7 +26252,7 @@ function inject(key) {
26233
26252
 
26234
26253
  /* eslint-disable local-rules/sort-imports */
26235
26254
 
26236
- const version = "3.5.3-dev.2024-02-25";
26255
+ const version = "3.5.3-dev.2024-03-06";
26237
26256
 
26238
26257
  /* eslint-disable local-rules/sort-imports */
26239
26258