@nhtio/lucid-resourceful-vue-components 0.1.0-master-e14740ea → 0.1.0-master-dc6af70b

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.
Files changed (156) hide show
  1. package/{VBtn-DhfYEt9V.mjs → VBtn-CEYzcx0y.mjs} +8 -8
  2. package/{VBtn-DhfYEt9V.mjs.map → VBtn-CEYzcx0y.mjs.map} +1 -1
  3. package/{VDatePicker-D0OTAyvJ.mjs → VDatePicker-BHcvHHhM.mjs} +133 -133
  4. package/{VDatePicker-D0OTAyvJ.mjs.map → VDatePicker-BHcvHHhM.mjs.map} +1 -1
  5. package/{VEmptyState-BFrXSTJ-.mjs → VEmptyState-CkYtN0q5.mjs} +84 -84
  6. package/{VEmptyState-BFrXSTJ-.mjs.map → VEmptyState-CkYtN0q5.mjs.map} +1 -1
  7. package/{VHover-DLvOmsjv.mjs → VHover-Bj6QrQff.mjs} +3 -3
  8. package/{VHover-DLvOmsjv.mjs.map → VHover-Bj6QrQff.mjs.map} +1 -1
  9. package/{VListItem-LNaoM8S4.mjs → VListItem-BnxAmKd_.mjs} +55 -55
  10. package/{VListItem-LNaoM8S4.mjs.map → VListItem-BnxAmKd_.mjs.map} +1 -1
  11. package/{VMenu-9rTbTKtH.mjs → VMenu-BSB7YSpb.mjs} +28 -28
  12. package/{VMenu-9rTbTKtH.mjs.map → VMenu-BSB7YSpb.mjs.map} +1 -1
  13. package/{VPicker-BGuRD0KW.mjs → VPicker-DMOVvCIE.mjs} +5 -5
  14. package/{VPicker-BGuRD0KW.mjs.map → VPicker-DMOVvCIE.mjs.map} +1 -1
  15. package/{VRadioGroup-Dx_wEqzl.mjs → VRadioGroup-ByydeX8x.mjs} +21 -21
  16. package/{VRadioGroup-Dx_wEqzl.mjs.map → VRadioGroup-ByydeX8x.mjs.map} +1 -1
  17. package/{VRow-DaLdbIGw.mjs → VRow-Dmn82Xaa.mjs} +18 -18
  18. package/{VRow-DaLdbIGw.mjs.map → VRow-Dmn82Xaa.mjs.map} +1 -1
  19. package/{VSheet-DnIfs-1c.mjs → VSheet-B9ALb0PQ.mjs} +14 -14
  20. package/{VSheet-DnIfs-1c.mjs.map → VSheet-B9ALb0PQ.mjs.map} +1 -1
  21. package/{actions-8bWGsB-p.mjs → actions-BEmdy8bu.mjs} +11 -11
  22. package/{actions-8bWGsB-p.mjs.map → actions-BEmdy8bu.mjs.map} +1 -1
  23. package/{alert-IW1AIWZw.mjs → alert-DftADRGk.mjs} +13 -13
  24. package/{alert-IW1AIWZw.mjs.map → alert-DftADRGk.mjs.map} +1 -1
  25. package/{bigint-Jmfa2L4S.mjs → bigint-DiC37zMo.mjs} +6 -6
  26. package/{bigint-Jmfa2L4S.mjs.map → bigint-DiC37zMo.mjs.map} +1 -1
  27. package/{boolean-BEY7eBxf.mjs → boolean-DZDryWHA.mjs} +74 -74
  28. package/{boolean-BEY7eBxf.mjs.map → boolean-DZDryWHA.mjs.map} +1 -1
  29. package/{clipboard-BoKd7mFG.mjs → clipboard--JAZokR3.mjs} +14 -14
  30. package/{clipboard-BoKd7mFG.mjs.map → clipboard--JAZokR3.mjs.map} +1 -1
  31. package/{colorUtils-DmtKYNgW.mjs → colorUtils-I1lKouL3.mjs} +3 -3
  32. package/{colorUtils-DmtKYNgW.mjs.map → colorUtils-I1lKouL3.mjs.map} +1 -1
  33. package/{common-BeDAn4wu.mjs → common-BDwb9uGU.mjs} +8881 -8880
  34. package/common-BDwb9uGU.mjs.map +1 -0
  35. package/{component-CjPpW_A2.mjs → component-C-qp70Rp.mjs} +2 -2
  36. package/{component-CjPpW_A2.mjs.map → component-C-qp70Rp.mjs.map} +1 -1
  37. package/components/autorefresh_controller.mjs +1 -1
  38. package/components/control_button.mjs +1 -1
  39. package/components/control_button_bar.mjs +2 -2
  40. package/components/control_menu.mjs +1 -1
  41. package/components/custom_field.mjs +1 -1
  42. package/components/exporter.mjs +1 -1
  43. package/components/fields/bigint.mjs +1 -1
  44. package/components/fields/boolean.mjs +1 -1
  45. package/components/fields/date.mjs +1 -1
  46. package/components/fields/date_time.mjs +1 -1
  47. package/components/fields/enum.mjs +1 -1
  48. package/components/fields/integer.mjs +1 -1
  49. package/components/fields/number.mjs +1 -1
  50. package/components/fields/string.mjs +1 -1
  51. package/components/fields/unsigned_integer.mjs +1 -1
  52. package/components/fields.mjs +9 -9
  53. package/components/form_with_validation.mjs +1 -1
  54. package/components/resourceful_alerter.mjs +1 -1
  55. package/components/resourceful_index.mjs +1 -1
  56. package/components/resourceful_record.mjs +2 -2
  57. package/components/resourceful_record_default_form.mjs +1 -1
  58. package/components/resourceful_record_form.mjs +1 -1
  59. package/components/sortable.mjs +1 -1
  60. package/components/svg_icon.mjs +1 -1
  61. package/components/timezone_picker.mjs +1 -1
  62. package/components.mjs +23 -23
  63. package/composables.mjs +11 -11
  64. package/{console-CRXioSFP.mjs → console-CAez8ceh.mjs} +2 -2
  65. package/{console-CRXioSFP.mjs.map → console-CAez8ceh.mjs.map} +1 -1
  66. package/{custom-Y1WJVKP9.mjs → custom-Tm6_792A.mjs} +12 -12
  67. package/{custom-Y1WJVKP9.mjs.map → custom-Tm6_792A.mjs.map} +1 -1
  68. package/{date-BxEeCNWD.mjs → date-CxaBVvlO.mjs} +10 -10
  69. package/{date-BxEeCNWD.mjs.map → date-CxaBVvlO.mjs.map} +1 -1
  70. package/{date_time-6kpv7eDF.mjs → date_time-DhABUkGT.mjs} +169 -169
  71. package/{date_time-6kpv7eDF.mjs.map → date_time-DhABUkGT.mjs.map} +1 -1
  72. package/{display-DvzWa1QO.mjs → display-BdjbLG1_.mjs} +32 -32
  73. package/{display-DvzWa1QO.mjs.map → display-BdjbLG1_.mjs.map} +1 -1
  74. package/{display-CO0pTIEs.mjs → display-DPktlWOz.mjs} +42 -42
  75. package/{display-CO0pTIEs.mjs.map → display-DPktlWOz.mjs.map} +1 -1
  76. package/{display-kAyhIPBH.mjs → display-DazBkrbZ.mjs} +7 -7
  77. package/{display-kAyhIPBH.mjs.map → display-DazBkrbZ.mjs.map} +1 -1
  78. package/{elevation-CMzO50xm.mjs → elevation-DFBVIqom.mjs} +56 -56
  79. package/{elevation-CMzO50xm.mjs.map → elevation-DFBVIqom.mjs.map} +1 -1
  80. package/{enum-noYU2Cqh.mjs → enum-KB4xPkOL.mjs} +9 -9
  81. package/{enum-noYU2Cqh.mjs.map → enum-KB4xPkOL.mjs.map} +1 -1
  82. package/factories.mjs +1 -1
  83. package/{field_composer-DpJx0Oz1.mjs → field_composer-CLJuJevf.mjs} +7 -7
  84. package/{field_composer-DpJx0Oz1.mjs.map → field_composer-CLJuJevf.mjs.map} +1 -1
  85. package/{form-CDLcDPyU.mjs → form-9YRVcrxM.mjs} +17 -17
  86. package/{form-CDLcDPyU.mjs.map → form-9YRVcrxM.mjs.map} +1 -1
  87. package/{guards-B99p3BPj.mjs → guards-BrpRx6ly.mjs} +2 -2
  88. package/{guards-B99p3BPj.mjs.map → guards-BrpRx6ly.mjs.map} +1 -1
  89. package/guards.mjs +4 -4
  90. package/helpers.mjs +6 -6
  91. package/{index-B2rKM3mR.mjs → index-BaOM0Cyz.mjs} +8 -8
  92. package/{index-B2rKM3mR.mjs.map → index-BaOM0Cyz.mjs.map} +1 -1
  93. package/{index-C9UuBVyI.mjs → index-BkjiQEyJ.mjs} +12 -12
  94. package/{index-C9UuBVyI.mjs.map → index-BkjiQEyJ.mjs.map} +1 -1
  95. package/{index-slHxe6b-.mjs → index-Bs4A8qUO.mjs} +2 -2
  96. package/{index-slHxe6b-.mjs.map → index-Bs4A8qUO.mjs.map} +1 -1
  97. package/{index-BUpccfIz.mjs → index-BsazeUn6.mjs} +3 -3
  98. package/{index-BUpccfIz.mjs.map → index-BsazeUn6.mjs.map} +1 -1
  99. package/{index-BaWthszI.mjs → index-CWwCXXNl.mjs} +2 -2
  100. package/{index-BaWthszI.mjs.map → index-CWwCXXNl.mjs.map} +1 -1
  101. package/{index-Bi050X9r.mjs → index-DBXOwXpe.mjs} +6 -6
  102. package/{index-Bi050X9r.mjs.map → index-DBXOwXpe.mjs.map} +1 -1
  103. package/{index-CzI9mHIx.mjs → index-DDobJ49b.mjs} +7 -7
  104. package/{index-CzI9mHIx.mjs.map → index-DDobJ49b.mjs.map} +1 -1
  105. package/{index-CIvylvfa.mjs → index-DwOjHbRP.mjs} +44 -44
  106. package/{index-CIvylvfa.mjs.map → index-DwOjHbRP.mjs.map} +1 -1
  107. package/{index-bXmNb9jX.mjs → index-UxsEIZVi.mjs} +4 -4
  108. package/{index-bXmNb9jX.mjs.map → index-UxsEIZVi.mjs.map} +1 -1
  109. package/index.mjs +47 -47
  110. package/{integer-BIJ4_I8y.mjs → integer-uzh0nwpb.mjs} +3 -3
  111. package/{integer-BIJ4_I8y.mjs.map → integer-uzh0nwpb.mjs.map} +1 -1
  112. package/{mdi-CqMJqgQi.mjs → mdi-C9DbASEx.mjs} +40 -40
  113. package/{mdi-CqMJqgQi.mjs.map → mdi-C9DbASEx.mjs.map} +1 -1
  114. package/{number-z_LAINPM.mjs → number-CfHLDQFY.mjs} +28 -28
  115. package/{number-z_LAINPM.mjs.map → number-CfHLDQFY.mjs.map} +1 -1
  116. package/package.json +46 -46
  117. package/{position-Ai5XksAO.mjs → position-CPuNp03H.mjs} +2 -2
  118. package/{position-Ai5XksAO.mjs.map → position-CPuNp03H.mjs.map} +1 -1
  119. package/{props-BYX22zcE.mjs → props-Cq9daNwa.mjs} +4 -4
  120. package/{props-BYX22zcE.mjs.map → props-Cq9daNwa.mjs.map} +1 -1
  121. package/{props-p4f5Pa5h.mjs → props-KPFuptNy.mjs} +8 -8
  122. package/{props-p4f5Pa5h.mjs.map → props-KPFuptNy.mjs.map} +1 -1
  123. package/{renderers-BKUvrrVm.mjs → renderers-COT3aAu3.mjs} +13 -13
  124. package/{renderers-BKUvrrVm.mjs.map → renderers-COT3aAu3.mjs.map} +1 -1
  125. package/{string-Dmr8SRMf.mjs → string-DvwPf_Ob.mjs} +61 -61
  126. package/{string-Dmr8SRMf.mjs.map → string-DvwPf_Ob.mjs.map} +1 -1
  127. package/{unsigned_integer-BliPiCXO.mjs → unsigned_integer-C9nrNAn_.mjs} +4 -4
  128. package/{unsigned_integer-BliPiCXO.mjs.map → unsigned_integer-C9nrNAn_.mjs.map} +1 -1
  129. package/useRender-Dpj9Jrbr.mjs +9 -0
  130. package/{useRender-BD1xw5zG.mjs.map → useRender-Dpj9Jrbr.mjs.map} +1 -1
  131. package/{utils-DqXWb-4f.mjs → utils-DxV2ZNaE.mjs} +10 -10
  132. package/{utils-DqXWb-4f.mjs.map → utils-DxV2ZNaE.mjs.map} +1 -1
  133. package/{validation-DS3tTSk5.mjs → validation-CZ6xx4aX.mjs} +4 -4
  134. package/{validation-DS3tTSk5.mjs.map → validation-CZ6xx4aX.mjs.map} +1 -1
  135. package/VBtn.css +0 -1
  136. package/VDatePicker.css +0 -1
  137. package/VEmptyState.css +0 -1
  138. package/VListItem.css +0 -1
  139. package/VMenu.css +0 -1
  140. package/VPicker.css +0 -1
  141. package/VRadioGroup.css +0 -1
  142. package/VSheet.css +0 -1
  143. package/actions.css +0 -1
  144. package/boolean.css +0 -1
  145. package/clipboard.css +0 -1
  146. package/common-BeDAn4wu.mjs.map +0 -1
  147. package/common.css +0 -1
  148. package/date_time.css +0 -1
  149. package/display.css +0 -1
  150. package/display2.css +0 -1
  151. package/elevation.css +0 -1
  152. package/index.css +0 -1
  153. package/mdi.css +0 -1
  154. package/number.css +0 -1
  155. package/string.css +0 -1
  156. package/useRender-BD1xw5zG.mjs +0 -9
@@ -1,16 +1,16 @@
1
1
  import { inject as _t, reactive as xt, watch as Pe, computed as x, createElementVNode as O, normalizeClass as p, createVNode as $, normalizeStyle as At, ref as Yt, shallowRef as ie, toRef as we, createTextVNode as $t, watchEffect as Ke, mergeProps as G, withDirectives as Ot, Fragment as It } from "vue";
2
- import { T as ve, g as Z, p as Q, k as q, av as Se, V as J, M as oe, r as Nt, aw as Qe, l as Ze, a9 as Wt, u as H, a0 as se, o as ee, aE as qe, I as Oe, aY as Bt, f as Tt, ah as jt } from "./display-DvzWa1QO.mjs";
3
- import { V as K } from "./VBtn-DhfYEt9V.mjs";
4
- import { z as Lt } from "./mdi-CqMJqgQi.mjs";
5
- import { V as Ie, m as Rt } from "./VPicker-BGuRD0KW.mjs";
6
- import { p as T, E as D, a2 as Me, Q as M, a3 as Xe, w as Ce, a4 as Et, V as Ht, a5 as Ut, O as _e, a6 as de, y as te, M as Ft, W as ue, B as Ve, a7 as zt, a8 as pe, N as et, L as E, a9 as Gt, S as Jt, U as Kt, F as Qt } from "./utils-DqXWb-4f.mjs";
7
- import { m as fe } from "./component-CjPpW_A2.mjs";
8
- import { i as me, b as tt, G as at, c as nt, H as ye, I as ke, u as xe, M as lt, g as Ae, J as U, K as Zt, m as qt, j as Xt, x as pt, k as ea, p as ta, l as aa, B as na, n as la } from "./display-CO0pTIEs.mjs";
9
- import { g as R, I as ce, m as ra, b as ia } from "./elevation-CMzO50xm.mjs";
10
- import { u as F } from "./useRender-BD1xw5zG.mjs";
11
- import { A as rt, Q as oa } from "./common-BeDAn4wu.mjs";
12
- import { m as sa, u as da } from "./position-Ai5XksAO.mjs";
13
- import './VDatePicker.css';const ua = Lt("v-spacer", "div", "VSpacer"), ca = Symbol.for("vuetify:date-options");
2
+ import { T as ve, g as Z, p as Q, o as q, av as Se, V as J, L as oe, h as Nt, aw as Qe, E as Ze, a9 as Wt, u as H, a0 as se, F as ee, aE as qe, I as Oe, aY as Bt, A as Tt, ah as jt } from "./display-BdjbLG1_.mjs";
3
+ import { V as K } from "./VBtn-CEYzcx0y.mjs";
4
+ import { z as Lt } from "./mdi-C9DbASEx.mjs";
5
+ import { V as Ie, m as Rt } from "./VPicker-DMOVvCIE.mjs";
6
+ import { p as T, E as D, a2 as Me, Q as M, a3 as Xe, w as Ce, a4 as Et, V as Ht, a5 as Ft, O as _e, a6 as de, y as te, M as Ut, W as ue, C as Ve, a7 as zt, a8 as pe, N as et, L as E, a9 as Gt, S as Jt, U as Kt, F as Qt } from "./utils-DxV2ZNaE.mjs";
7
+ import { m as fe } from "./component-C-qp70Rp.mjs";
8
+ import { i as me, b as tt, G as at, c as nt, H as ye, I as he, u as xe, M as lt, g as Ae, J as F, K as Zt, m as qt, j as Xt, x as pt, k as ea, p as ta, l as aa, B as na, n as la } from "./display-DPktlWOz.mjs";
9
+ import { g as R, I as ce, m as ra, b as ia } from "./elevation-DFBVIqom.mjs";
10
+ import { u as U } from "./useRender-Dpj9Jrbr.mjs";
11
+ import { A as rt, Q as oa } from "./common-BDwb9uGU.mjs";
12
+ import { m as sa, u as da } from "./position-CPuNp03H.mjs";
13
+ const ua = Lt("v-spacer", "div", "VSpacer"), ca = Symbol.for("vuetify:date-options");
14
14
  function va(e, t, l) {
15
15
  const a = it(e, t, l), n = [t];
16
16
  for (let y = 1; y < a; y++) {
@@ -91,7 +91,7 @@ const ot = Q({
91
91
  function s() {
92
92
  l("click:year");
93
93
  }
94
- function k() {
94
+ function h() {
95
95
  l("click:month");
96
96
  }
97
97
  return q(() => O("div", {
@@ -106,7 +106,7 @@ const ot = Q({
106
106
  text: e.text,
107
107
  variant: "text",
108
108
  rounded: !0,
109
- onClick: k
109
+ onClick: h
110
110
  }, null), $(J, {
111
111
  class: "v-date-picker-controls__mode-btn",
112
112
  "data-testid": "year-btn",
@@ -235,7 +235,7 @@ const ot = Q({
235
235
  },
236
236
  weekdayFormat: String
237
237
  }, "calendar");
238
- function ka(e) {
238
+ function ha(e) {
239
239
  const t = ae(), l = H(e, "modelValue", [], (i) => se(i).map((f) => t.date(f))), a = x(() => e.displayValue ? t.date(e.displayValue) : l.value.length > 0 ? t.date(l.value[0]) : e.min ? t.date(e.min) : Array.isArray(e.allowedDates) ? t.date(e.allowedDates[0]) : t.date()), n = H(e, "year", void 0, (i) => {
240
240
  const f = i != null ? Number(i) : t.getYear(a.value);
241
241
  return t.startOfYear(t.setYear(t.date(), f));
@@ -287,7 +287,7 @@ function ka(e) {
287
287
  }), s = x(() => {
288
288
  const i = r.value.flat(), f = t.date();
289
289
  return c(i, f);
290
- }), k = x(() => r.value.map((i) => i.length ? t.getWeek(i[0], e.firstDayOfWeek, e.firstDayOfYear) : null));
290
+ }), h = x(() => r.value.map((i) => i.length ? t.getWeek(i[0], e.firstDayOfWeek, e.firstDayOfYear) : null));
291
291
  function b(i) {
292
292
  if (e.disabled) return !0;
293
293
  const f = t.date(i);
@@ -301,7 +301,7 @@ function ka(e) {
301
301
  model: l,
302
302
  weeksInMonth: r,
303
303
  weekdayLabels: m,
304
- weekNumbers: k
304
+ weekNumbers: h
305
305
  };
306
306
  }
307
307
  const st = Q({
@@ -338,8 +338,8 @@ const st = Q({
338
338
  model: r,
339
339
  weekNumbers: c,
340
340
  weekdayLabels: d
341
- } = ka(e), s = ae(), k = ie(), b = ie(), i = ie(!1), f = we(() => i.value ? e.reverseTransition : e.transition);
342
- e.multiple === "range" && r.value.length > 0 && (k.value = r.value[0], r.value.length > 1 && (b.value = r.value[r.value.length - 1]));
341
+ } = ha(e), s = ae(), h = ie(), b = ie(), i = ie(!1), f = we(() => i.value ? e.reverseTransition : e.transition);
342
+ e.multiple === "range" && r.value.length > 0 && (h.value = r.value[0], r.value.length > 1 && (b.value = r.value[r.value.length - 1]));
343
343
  const v = x(() => {
344
344
  const o = ["number", "string"].includes(typeof e.multiple) ? Number(e.multiple) : 1 / 0;
345
345
  return r.value.length >= o;
@@ -349,16 +349,16 @@ const st = Q({
349
349
  });
350
350
  function w(o) {
351
351
  const V = s.startOfDay(o);
352
- if (r.value.length === 0 ? k.value = void 0 : r.value.length === 1 && (k.value = r.value[0], b.value = void 0), !k.value)
353
- k.value = V, r.value = [k.value];
352
+ if (r.value.length === 0 ? h.value = void 0 : r.value.length === 1 && (h.value = r.value[0], b.value = void 0), !h.value)
353
+ h.value = V, r.value = [h.value];
354
354
  else if (b.value)
355
- k.value = o, b.value = void 0, r.value = [k.value];
355
+ h.value = o, b.value = void 0, r.value = [h.value];
356
356
  else {
357
- if (s.isSameDay(V, k.value)) {
358
- k.value = void 0, r.value = [];
357
+ if (s.isSameDay(V, h.value)) {
358
+ h.value = void 0, r.value = [];
359
359
  return;
360
- } else s.isBefore(V, k.value) ? (b.value = s.endOfDay(k.value), k.value = V) : b.value = s.endOfDay(V);
361
- r.value = va(s, k.value, b.value);
360
+ } else s.isBefore(V, h.value) ? (b.value = s.endOfDay(h.value), h.value = V) : b.value = s.endOfDay(V);
361
+ r.value = va(s, h.value, b.value);
362
362
  }
363
363
  }
364
364
  function Y(o) {
@@ -451,11 +451,11 @@ const st = Q({
451
451
  const n = ae(), y = H(e, "modelValue"), m = x(() => {
452
452
  let c = n.startOfYear(n.date());
453
453
  return e.year && (c = n.setYear(c, e.year)), qe(12).map((d) => {
454
- const s = n.format(c, "monthShort"), k = n.format(c, "month"), b = !!(!r(d) || e.min && n.isAfter(n.startOfMonth(n.date(e.min)), c) || e.max && n.isAfter(c, n.startOfMonth(n.date(e.max))));
454
+ const s = n.format(c, "monthShort"), h = n.format(c, "month"), b = !!(!r(d) || e.min && n.isAfter(n.startOfMonth(n.date(e.min)), c) || e.max && n.isAfter(c, n.startOfMonth(n.date(e.max))));
455
455
  return c = n.getNextMonth(c), {
456
456
  isDisabled: b,
457
457
  text: s,
458
- label: k,
458
+ label: h,
459
459
  value: d
460
460
  };
461
461
  });
@@ -482,9 +482,9 @@ const st = Q({
482
482
  rounded: !0,
483
483
  text: c.text,
484
484
  variant: y.value === c.value ? "flat" : "text",
485
- onClick: () => k(d)
485
+ onClick: () => h(d)
486
486
  };
487
- function k(b) {
487
+ function h(b) {
488
488
  if (y.value === b) {
489
489
  l("update:modelValue", y.value);
490
490
  return;
@@ -523,10 +523,10 @@ const st = Q({
523
523
  } = t;
524
524
  const n = ae(), y = H(e, "modelValue"), m = x(() => {
525
525
  const s = n.getYear(n.date());
526
- let k = s - 100, b = s + 52;
527
- e.min && (k = n.getYear(n.date(e.min))), e.max && (b = n.getYear(n.date(e.max)));
526
+ let h = s - 100, b = s + 52;
527
+ e.min && (h = n.getYear(n.date(e.min))), e.max && (b = n.getYear(n.date(e.max)));
528
528
  let i = n.startOfYear(n.date());
529
- return i = n.setYear(i, k), qe(b - k + 1, k).map((f) => {
529
+ return i = n.setYear(i, h), qe(b - h + 1, h).map((f) => {
530
530
  const v = n.format(i, "year");
531
531
  return i = n.setYear(i, n.getYear(i) + 1), {
532
532
  text: v,
@@ -554,7 +554,7 @@ const st = Q({
554
554
  }
555
555
  }, [O("div", {
556
556
  class: "v-date-picker-years__content"
557
- }, [m.value.map((s, k) => {
557
+ }, [m.value.map((s, h) => {
558
558
  const b = {
559
559
  ref: y.value === s.value ? r : void 0,
560
560
  active: y.value === s.value,
@@ -573,7 +573,7 @@ const st = Q({
573
573
  };
574
574
  return a.year?.({
575
575
  year: s,
576
- i: k,
576
+ i: h,
577
577
  props: b
578
578
  }) ?? $(J, G({
579
579
  key: "month"
@@ -584,7 +584,7 @@ const st = Q({
584
584
  once: !0
585
585
  }]])), {};
586
586
  }
587
- }), ha = Q({
587
+ }), ka = Q({
588
588
  // TODO: implement in v3.5
589
589
  // calendarIcon: {
590
590
  // type: String,
@@ -623,7 +623,7 @@ const st = Q({
623
623
  modelValue: null
624
624
  }, "VDatePicker"), Qa = Z()({
625
625
  name: "VDatePicker",
626
- props: ha(),
626
+ props: ka(),
627
627
  emits: {
628
628
  "update:modelValue": (e) => !0,
629
629
  "update:month": (e) => !0,
@@ -640,21 +640,21 @@ const st = Q({
640
640
  t: y
641
641
  } = ve(), {
642
642
  rtlClasses: m
643
- } = Tt(), r = H(e, "modelValue", void 0, (u) => se(u).map((h) => n.date(h)), (u) => e.multiple ? u : u[0]), c = H(e, "viewMode"), d = x(() => {
643
+ } = Tt(), r = H(e, "modelValue", void 0, (u) => se(u).map((k) => n.date(k)), (u) => e.multiple ? u : u[0]), c = H(e, "viewMode"), d = x(() => {
644
644
  const u = n.date(e.min);
645
645
  return e.min && n.isValid(u) ? u : null;
646
646
  }), s = x(() => {
647
647
  const u = n.date(e.max);
648
648
  return e.max && n.isValid(u) ? u : null;
649
- }), k = x(() => {
649
+ }), h = x(() => {
650
650
  const u = n.date();
651
- let h = u;
652
- return r.value?.[0] ? h = n.date(r.value[0]) : d.value && n.isBefore(u, d.value) ? h = d.value : s.value && n.isAfter(u, s.value) && (h = s.value), h && n.isValid(h) ? h : u;
651
+ let k = u;
652
+ return r.value?.[0] ? k = n.date(r.value[0]) : d.value && n.isBefore(u, d.value) ? k = d.value : s.value && n.isAfter(u, s.value) && (k = s.value), k && n.isValid(k) ? k : u;
653
653
  }), b = we(() => e.headerColor ?? e.color), i = H(e, "month"), f = x({
654
- get: () => Number(i.value ?? n.getMonth(n.startOfMonth(k.value))),
654
+ get: () => Number(i.value ?? n.getMonth(n.startOfMonth(h.value))),
655
655
  set: (u) => i.value = u
656
656
  }), v = H(e, "year"), w = x({
657
- get: () => Number(v.value ?? n.getYear(n.startOfYear(n.setMonth(k.value, f.value)))),
657
+ get: () => Number(v.value ?? n.getYear(n.startOfYear(n.setMonth(h.value, f.value)))),
658
658
  set: (u) => v.value = u
659
659
  }), Y = ie(!1), _ = x(() => e.multiple && r.value.length > 1 ? y("$vuetify.datePicker.itemsSelected", r.value.length) : r.value[0] && n.isValid(r.value[0]) ? n.format(n.date(r.value[0]), "normalDateWithWeekday") : y(e.header)), P = x(() => {
660
660
  let u = n.date();
@@ -665,46 +665,46 @@ const st = Q({
665
665
  if (c.value !== "month")
666
666
  u.push("prev", "next");
667
667
  else {
668
- let h = n.date();
669
- if (h = n.startOfMonth(h), h = n.setMonth(h, f.value), h = n.setYear(h, w.value), d.value) {
670
- const A = n.addDays(n.startOfMonth(h), -1);
668
+ let k = n.date();
669
+ if (k = n.startOfMonth(k), k = n.setMonth(k, f.value), k = n.setYear(k, w.value), d.value) {
670
+ const A = n.addDays(n.startOfMonth(k), -1);
671
671
  n.isAfter(d.value, A) && u.push("prev");
672
672
  }
673
673
  if (s.value) {
674
- const A = n.addDays(n.endOfMonth(h), 1);
674
+ const A = n.addDays(n.endOfMonth(k), 1);
675
675
  n.isAfter(A, s.value) && u.push("next");
676
676
  }
677
677
  }
678
678
  return u;
679
- }), C = x(() => e.allowedYears || he), j = x(() => e.allowedMonths || ge);
680
- function le(u, h) {
679
+ }), C = x(() => e.allowedYears || ke), j = x(() => e.allowedMonths || ge);
680
+ function le(u, k) {
681
681
  const A = e.allowedDates;
682
682
  if (typeof A != "function") return !0;
683
- const I = 1 + it(n, u, h);
683
+ const I = 1 + it(n, u, k);
684
684
  for (let N = 0; N < I; N++)
685
685
  if (A(n.addDays(u, N))) return !0;
686
686
  return !1;
687
687
  }
688
- function he(u) {
688
+ function ke(u) {
689
689
  if (typeof e.allowedDates == "function") {
690
- const h = n.parseISO(`${u}-01-01`);
691
- return le(h, n.endOfYear(h));
690
+ const k = n.parseISO(`${u}-01-01`);
691
+ return le(k, n.endOfYear(k));
692
692
  }
693
693
  if (Array.isArray(e.allowedDates) && e.allowedDates.length) {
694
- for (const h of e.allowedDates)
695
- if (n.getYear(n.date(h)) === u) return !0;
694
+ for (const k of e.allowedDates)
695
+ if (n.getYear(n.date(k)) === u) return !0;
696
696
  return !1;
697
697
  }
698
698
  return !0;
699
699
  }
700
700
  function ge(u) {
701
701
  if (typeof e.allowedDates == "function") {
702
- const h = String(u + 1).padStart(2, "0"), A = n.parseISO(`${w.value}-${h}-01`);
702
+ const k = String(u + 1).padStart(2, "0"), A = n.parseISO(`${w.value}-${k}-01`);
703
703
  return le(A, n.endOfMonth(A));
704
704
  }
705
705
  if (Array.isArray(e.allowedDates) && e.allowedDates.length) {
706
- for (const h of e.allowedDates)
707
- if (n.getYear(n.date(h)) === w.value && n.getMonth(n.date(h)) === u) return !0;
706
+ for (const k of e.allowedDates)
707
+ if (n.getYear(n.date(k)) === w.value && n.getMonth(n.date(k)) === u) return !0;
708
708
  return !1;
709
709
  }
710
710
  return !0;
@@ -730,13 +730,13 @@ const st = Q({
730
730
  function g() {
731
731
  c.value === "year" && z();
732
732
  }
733
- return Pe(r, (u, h) => {
734
- const A = se(h), I = se(u);
733
+ return Pe(r, (u, k) => {
734
+ const A = se(k), I = se(u);
735
735
  if (!I.length) return;
736
736
  const N = n.date(A[A.length - 1]), W = n.date(I[I.length - 1]), S = n.getMonth(W), B = n.getYear(W);
737
737
  S !== f.value && (f.value = S, L()), B !== w.value && (w.value = B, g()), Y.value = n.isBefore(N, W);
738
738
  }), q(() => {
739
- const u = Ie.filterProps(e), h = Ne.filterProps(e), A = We.filterProps(e), I = Be.filterProps(e), N = ee(Te.filterProps(e), ["modelValue"]), W = ee(je.filterProps(e), ["modelValue"]), S = {
739
+ const u = Ie.filterProps(e), k = Ne.filterProps(e), A = We.filterProps(e), I = Be.filterProps(e), N = ee(Te.filterProps(e), ["modelValue"]), W = ee(je.filterProps(e), ["modelValue"]), S = {
740
740
  color: b.value,
741
741
  header: _.value,
742
742
  transition: o.value
@@ -767,7 +767,7 @@ const st = Q({
767
767
  prepend: a.prepend,
768
768
  append: a.append
769
769
  }),
770
- default: () => O(It, null, [$(Ne, G(h, {
770
+ default: () => O(It, null, [$(Ne, G(k, {
771
771
  disabled: V.value,
772
772
  text: P.value,
773
773
  "onClick:next": De,
@@ -837,7 +837,7 @@ R()({
837
837
  } = at(), {
838
838
  dimensionStyles: a
839
839
  } = nt(e);
840
- return F(() => D(e.tag, {
840
+ return U(() => D(e.tag, {
841
841
  class: ["v-container", {
842
842
  "v-container--fluid": e.fluid
843
843
  }, l.value, e.class],
@@ -965,23 +965,23 @@ function $e(e, t) {
965
965
  {}
966
966
  );
967
967
  }
968
- const Va = [...Ye, "baseline", "stretch"], yt = (e) => Va.includes(e), kt = $e("align", () => ({
968
+ const Va = [...Ye, "baseline", "stretch"], yt = (e) => Va.includes(e), ht = $e("align", () => ({
969
969
  type: String,
970
970
  default: null,
971
971
  validator: yt
972
- })), Pa = [...Ye, ...mt], ht = (e) => Pa.includes(e), gt = $e(
972
+ })), Pa = [...Ye, ...mt], kt = (e) => Pa.includes(e), gt = $e(
973
973
  "justify",
974
974
  () => ({
975
975
  type: String,
976
976
  default: null,
977
- validator: ht
977
+ validator: kt
978
978
  })
979
979
  ), Sa = [...Ye, ...mt, "stretch"], Dt = (e) => Sa.includes(e), bt = $e("alignContent", () => ({
980
980
  type: String,
981
981
  default: null,
982
982
  validator: Dt
983
983
  })), Re = {
984
- align: Object.keys(kt),
984
+ align: Object.keys(ht),
985
985
  justify: Object.keys(gt),
986
986
  alignContent: Object.keys(bt)
987
987
  }, Ma = {
@@ -1008,11 +1008,11 @@ const _a = T(
1008
1008
  default: null,
1009
1009
  validator: yt
1010
1010
  },
1011
- ...kt,
1011
+ ...ht,
1012
1012
  justify: {
1013
1013
  type: String,
1014
1014
  default: null,
1015
- validator: ht
1015
+ validator: kt
1016
1016
  },
1017
1017
  ...gt,
1018
1018
  alignContent: {
@@ -1101,7 +1101,7 @@ const xa = rt("v-spacer", "div", "VSpacer"), wt = T({
1101
1101
  }) {
1102
1102
  const {
1103
1103
  t: l
1104
- } = ke(), a = M(() => Array.isArray(e.disabled) ? e.disabled.includes("text") : !!e.disabled), n = M(() => Array.isArray(e.disabled) ? e.disabled.includes("mode") : !!e.disabled), y = M(() => Array.isArray(e.disabled) ? e.disabled.includes("prev") : !!e.disabled), m = M(() => Array.isArray(e.disabled) ? e.disabled.includes("next") : !!e.disabled);
1104
+ } = he(), a = M(() => Array.isArray(e.disabled) ? e.disabled.includes("text") : !!e.disabled), n = M(() => Array.isArray(e.disabled) ? e.disabled.includes("mode") : !!e.disabled), y = M(() => Array.isArray(e.disabled) ? e.disabled.includes("prev") : !!e.disabled), m = M(() => Array.isArray(e.disabled) ? e.disabled.includes("next") : !!e.disabled);
1105
1105
  function r() {
1106
1106
  t("click:prev");
1107
1107
  }
@@ -1114,7 +1114,7 @@ const xa = rt("v-spacer", "div", "VSpacer"), wt = T({
1114
1114
  function s() {
1115
1115
  t("click:month");
1116
1116
  }
1117
- return F(() => D("div", {
1117
+ return U(() => D("div", {
1118
1118
  class: ["v-date-picker-controls"],
1119
1119
  style: {
1120
1120
  "--v-date-picker-controls-height": Ce(e.controlHeight)
@@ -1183,7 +1183,7 @@ const xa = rt("v-spacer", "div", "VSpacer"), wt = T({
1183
1183
  function m() {
1184
1184
  t("click:append");
1185
1185
  }
1186
- return F(() => {
1186
+ return U(() => {
1187
1187
  const r = !!(l.default || e.header), c = !!(l.append || e.appendIcon);
1188
1188
  return D("div", {
1189
1189
  class: ["v-date-picker-header", {
@@ -1245,7 +1245,7 @@ function $a(e, t, l) {
1245
1245
  return l && n.push(e.endOfDay(l)), n;
1246
1246
  }
1247
1247
  function Oa(e, t) {
1248
- const l = Ut(
1248
+ const l = Ft(
1249
1249
  typeof e.adapter == "function" ? new e.adapter({
1250
1250
  locale: e.locale[t.current.value] ?? t.current.value,
1251
1251
  formats: e.formats
@@ -1259,7 +1259,7 @@ function ne() {
1259
1259
  const e = Ht(Ya);
1260
1260
  if (!e)
1261
1261
  throw new Error("[Vuetify] Could not find injected date options");
1262
- const t = ke();
1262
+ const t = he();
1263
1263
  return Oa(e, t);
1264
1264
  }
1265
1265
  const Ia = T(
@@ -1293,12 +1293,12 @@ const Ia = T(
1293
1293
  "calendar"
1294
1294
  );
1295
1295
  function Na(e) {
1296
- const t = ne(), l = U(
1296
+ const t = ne(), l = F(
1297
1297
  e,
1298
1298
  "modelValue",
1299
1299
  [],
1300
1300
  (i) => de(i).map((f) => t.date(f))
1301
- ), a = M(() => e.displayValue ? t.date(e.displayValue) : l.value.length > 0 ? t.date(l.value[0]) : e.min ? t.date(e.min) : Array.isArray(e.allowedDates) ? t.date(e.allowedDates[0]) : t.date()), n = U(
1301
+ ), a = M(() => e.displayValue ? t.date(e.displayValue) : l.value.length > 0 ? t.date(l.value[0]) : e.min ? t.date(e.min) : Array.isArray(e.allowedDates) ? t.date(e.allowedDates[0]) : t.date()), n = F(
1302
1302
  e,
1303
1303
  "year",
1304
1304
  void 0,
@@ -1307,7 +1307,7 @@ function Na(e) {
1307
1307
  return t.startOfYear(t.setYear(t.date(), f));
1308
1308
  },
1309
1309
  (i) => t.getYear(i)
1310
- ), y = U(
1310
+ ), y = F(
1311
1311
  e,
1312
1312
  "month",
1313
1313
  void 0,
@@ -1372,7 +1372,7 @@ function Na(e) {
1372
1372
  }), s = M(() => {
1373
1373
  const i = r.value.flat(), f = t.date();
1374
1374
  return c(i, f);
1375
- }), k = M(() => r.value.map((i) => i.length ? t.getWeek(i[0], e.firstDayOfWeek) : null));
1375
+ }), h = M(() => r.value.map((i) => i.length ? t.getWeek(i[0], e.firstDayOfWeek) : null));
1376
1376
  function b(i) {
1377
1377
  if (e.disabled) return !0;
1378
1378
  const f = t.date(i);
@@ -1388,7 +1388,7 @@ function Na(e) {
1388
1388
  model: l,
1389
1389
  weeksInMonth: r,
1390
1390
  weekdayLabels: m,
1391
- weekNumbers: k
1391
+ weekNumbers: h
1392
1392
  };
1393
1393
  }
1394
1394
  const Vt = T({
@@ -1405,7 +1405,7 @@ const Vt = T({
1405
1405
  default: "picker-reverse-transition"
1406
1406
  },
1407
1407
  ...te(Ia(), ["displayValue"])
1408
- }, "VDatePickerMonth"), Ue = R()({
1408
+ }, "VDatePickerMonth"), Fe = R()({
1409
1409
  name: "VDatePickerMonth",
1410
1410
  props: Vt(),
1411
1411
  emits: {
@@ -1417,15 +1417,15 @@ const Vt = T({
1417
1417
  emit: t,
1418
1418
  slots: l
1419
1419
  }) {
1420
- const a = Ft(), {
1420
+ const a = Ut(), {
1421
1421
  t: n
1422
- } = ke(), {
1422
+ } = he(), {
1423
1423
  daysInMonth: y,
1424
1424
  model: m,
1425
1425
  weekNumbers: r,
1426
1426
  weekdayLabels: c
1427
- } = Na(e), d = ne(), s = ue(), k = ue(), b = ue(!1), i = Ve(() => b.value ? e.reverseTransition : e.transition);
1428
- e.multiple === "range" && m.value.length > 0 && (s.value = m.value[0], m.value.length > 1 && (k.value = m.value[m.value.length - 1]));
1427
+ } = Na(e), d = ne(), s = ue(), h = ue(), b = ue(!1), i = Ve(() => b.value ? e.reverseTransition : e.transition);
1428
+ e.multiple === "range" && m.value.length > 0 && (s.value = m.value[0], m.value.length > 1 && (h.value = m.value[m.value.length - 1]));
1429
1429
  const f = M(() => {
1430
1430
  const P = ["number", "string"].includes(typeof e.multiple) ? Number(e.multiple) : 1 / 0;
1431
1431
  return m.value.length >= P;
@@ -1435,16 +1435,16 @@ const Vt = T({
1435
1435
  });
1436
1436
  function v(P) {
1437
1437
  const o = d.startOfDay(P);
1438
- if (m.value.length === 0 ? s.value = void 0 : m.value.length === 1 && (s.value = m.value[0], k.value = void 0), !s.value)
1438
+ if (m.value.length === 0 ? s.value = void 0 : m.value.length === 1 && (s.value = m.value[0], h.value = void 0), !s.value)
1439
1439
  s.value = o, m.value = [s.value];
1440
- else if (k.value)
1441
- s.value = P, k.value = void 0, m.value = [s.value];
1440
+ else if (h.value)
1441
+ s.value = P, h.value = void 0, m.value = [s.value];
1442
1442
  else {
1443
1443
  if (d.isSameDay(o, s.value)) {
1444
1444
  s.value = void 0, m.value = [];
1445
1445
  return;
1446
- } else d.isBefore(o, s.value) ? (k.value = d.endOfDay(s.value), s.value = o) : k.value = d.endOfDay(o);
1447
- m.value = $a(d, s.value, k.value);
1446
+ } else d.isBefore(o, s.value) ? (h.value = d.endOfDay(s.value), s.value = o) : h.value = d.endOfDay(o);
1447
+ m.value = $a(d, s.value, h.value);
1448
1448
  }
1449
1449
  }
1450
1450
  function w(P) {
@@ -1463,7 +1463,7 @@ const Vt = T({
1463
1463
  function _(P) {
1464
1464
  e.multiple === "range" ? v(P) : e.multiple ? Y(P) : m.value = [P];
1465
1465
  }
1466
- F(() => D("div", {
1466
+ U(() => D("div", {
1467
1467
  class: "v-date-picker-month",
1468
1468
  style: {
1469
1469
  "--v-date-picker-days-in-week": e.weekdays.length
@@ -1527,7 +1527,7 @@ const Vt = T({
1527
1527
  modelValue: Number,
1528
1528
  year: Number,
1529
1529
  allowedMonths: [Array, Function]
1530
- }, "VDatePickerMonths"), Fe = R()({
1530
+ }, "VDatePickerMonths"), Ue = R()({
1531
1531
  name: "VDatePickerMonths",
1532
1532
  props: Pt(),
1533
1533
  emits: {
@@ -1537,12 +1537,12 @@ const Vt = T({
1537
1537
  emit: t,
1538
1538
  slots: l
1539
1539
  }) {
1540
- const a = ne(), n = U(e, "modelValue"), y = M(() => {
1540
+ const a = ne(), n = F(e, "modelValue"), y = M(() => {
1541
1541
  let r = a.startOfYear(a.date());
1542
1542
  return e.year && (r = a.setYear(r, e.year)), pe(12).map((c) => {
1543
- const d = a.format(r, "monthShort"), s = a.format(r, "month"), k = !!(!m(c) || e.min && a.isAfter(a.startOfMonth(a.date(e.min)), r) || e.max && a.isAfter(r, a.startOfMonth(a.date(e.max))));
1543
+ const d = a.format(r, "monthShort"), s = a.format(r, "month"), h = !!(!m(c) || e.min && a.isAfter(a.startOfMonth(a.date(e.min)), r) || e.max && a.isAfter(r, a.startOfMonth(a.date(e.max))));
1544
1544
  return r = a.getNextMonth(r), {
1545
- isDisabled: k,
1545
+ isDisabled: h,
1546
1546
  text: d,
1547
1547
  label: s,
1548
1548
  value: c
@@ -1555,7 +1555,7 @@ const Vt = T({
1555
1555
  function m(r) {
1556
1556
  return Array.isArray(e.allowedMonths) && e.allowedMonths.length ? e.allowedMonths.includes(r) : typeof e.allowedMonths == "function" ? e.allowedMonths(r) : !0;
1557
1557
  }
1558
- return F(() => D("div", {
1558
+ return U(() => D("div", {
1559
1559
  class: "v-date-picker-months",
1560
1560
  style: {
1561
1561
  height: Ce(e.height)
@@ -1572,9 +1572,9 @@ const Vt = T({
1572
1572
  rounded: !0,
1573
1573
  text: r.text,
1574
1574
  variant: n.value === r.value ? "flat" : "text",
1575
- onClick: () => k(c)
1575
+ onClick: () => h(c)
1576
1576
  };
1577
- function k(b) {
1577
+ function h(b) {
1578
1578
  if (n.value === b) {
1579
1579
  t("update:modelValue", n.value);
1580
1580
  return;
@@ -1610,12 +1610,12 @@ const Vt = T({
1610
1610
  emit: t,
1611
1611
  slots: l
1612
1612
  }) {
1613
- const a = ne(), n = U(e, "modelValue"), y = M(() => {
1613
+ const a = ne(), n = F(e, "modelValue"), y = M(() => {
1614
1614
  const d = a.getYear(a.date());
1615
- let s = d - 100, k = d + 52;
1616
- e.min && (s = a.getYear(a.date(e.min))), e.max && (k = a.getYear(a.date(e.max)));
1615
+ let s = d - 100, h = d + 52;
1616
+ e.min && (s = a.getYear(a.date(e.min))), e.max && (h = a.getYear(a.date(e.max)));
1617
1617
  let b = a.startOfYear(a.date());
1618
- return b = a.setYear(b, s), pe(k - s + 1, s).map((i) => {
1618
+ return b = a.setYear(b, s), pe(h - s + 1, s).map((i) => {
1619
1619
  const f = a.format(b, "year");
1620
1620
  return b = a.setYear(b, a.getYear(b) + 1), {
1621
1621
  text: f,
@@ -1637,7 +1637,7 @@ const Vt = T({
1637
1637
  function c(d) {
1638
1638
  return Array.isArray(e.allowedYears) && e.allowedYears.length ? e.allowedYears.includes(d) : typeof e.allowedYears == "function" ? e.allowedYears(d) : !0;
1639
1639
  }
1640
- return F(() => Jt(D("div", {
1640
+ return U(() => Jt(D("div", {
1641
1641
  class: "v-date-picker-years",
1642
1642
  style: {
1643
1643
  height: Ce(e.height)
@@ -1645,7 +1645,7 @@ const Vt = T({
1645
1645
  }, [D("div", {
1646
1646
  class: "v-date-picker-years__content"
1647
1647
  }, [y.value.map((d, s) => {
1648
- var k;
1648
+ var h;
1649
1649
  const b = {
1650
1650
  ref: n.value === d.value ? m : void 0,
1651
1651
  active: n.value === d.value,
@@ -1662,7 +1662,7 @@ const Vt = T({
1662
1662
  n.value = d.value;
1663
1663
  }
1664
1664
  };
1665
- return ((k = l.year) == null ? void 0 : k.call(l, {
1665
+ return ((h = l.year) == null ? void 0 : h.call(l, {
1666
1666
  year: d,
1667
1667
  i: s,
1668
1668
  props: b
@@ -1710,7 +1710,7 @@ const Vt = T({
1710
1710
  } = da(e), {
1711
1711
  roundedClasses: s
1712
1712
  } = la(e);
1713
- return F(() => D(e.tag, {
1713
+ return U(() => D(e.tag, {
1714
1714
  class: ["v-sheet", l.value, a.value, y.value, r.value, d.value, s.value, e.class],
1715
1715
  style: [n.value, m.value, c.value, e.style]
1716
1716
  }, t)), {};
@@ -1732,7 +1732,7 @@ const Vt = T({
1732
1732
  backgroundColorClasses: l,
1733
1733
  backgroundColorStyles: a
1734
1734
  } = xe(() => e.color);
1735
- return F(() => {
1735
+ return U(() => {
1736
1736
  const n = Ge.filterProps(e), y = !!(e.title || t.title);
1737
1737
  return D(Ge, E(n, {
1738
1738
  color: e.bgColor,
@@ -1830,9 +1830,9 @@ R()({
1830
1830
  }) {
1831
1831
  const a = ne(), {
1832
1832
  t: n
1833
- } = ke(), {
1833
+ } = he(), {
1834
1834
  rtlClasses: y
1835
- } = at(), m = U(e, "modelValue", void 0, (g) => de(g).map((u) => a.date(u)), (g) => e.multiple ? g : g[0]), r = U(e, "viewMode"), c = M(() => {
1835
+ } = at(), m = F(e, "modelValue", void 0, (g) => de(g).map((u) => a.date(u)), (g) => e.multiple ? g : g[0]), r = F(e, "viewMode"), c = M(() => {
1836
1836
  const g = a.date(e.min);
1837
1837
  return e.min && a.isValid(g) ? g : null;
1838
1838
  }), d = M(() => {
@@ -1841,12 +1841,12 @@ R()({
1841
1841
  }), s = M(() => {
1842
1842
  var g;
1843
1843
  const u = a.date();
1844
- let h = u;
1845
- return (g = m.value) != null && g[0] ? h = a.date(m.value[0]) : c.value && a.isBefore(u, c.value) ? h = c.value : d.value && a.isAfter(u, d.value) && (h = d.value), h && a.isValid(h) ? h : u;
1846
- }), k = Ve(() => e.headerColor ?? e.color), b = U(e, "month"), i = M({
1844
+ let k = u;
1845
+ return (g = m.value) != null && g[0] ? k = a.date(m.value[0]) : c.value && a.isBefore(u, c.value) ? k = c.value : d.value && a.isAfter(u, d.value) && (k = d.value), k && a.isValid(k) ? k : u;
1846
+ }), h = Ve(() => e.headerColor ?? e.color), b = F(e, "month"), i = M({
1847
1847
  get: () => Number(b.value ?? a.getMonth(a.startOfMonth(s.value))),
1848
1848
  set: (g) => b.value = g
1849
- }), f = U(e, "year"), v = M({
1849
+ }), f = F(e, "year"), v = M({
1850
1850
  get: () => Number(f.value ?? a.getYear(a.startOfYear(a.setMonth(s.value, i.value)))),
1851
1851
  set: (g) => f.value = g
1852
1852
  }), w = ue(!1), Y = M(() => e.multiple && m.value.length > 1 ? n("$vuetify.datePicker.itemsSelected", m.value.length) : m.value[0] && a.isValid(m.value[0]) ? a.format(a.date(m.value[0]), "normalDateWithWeekday") : n(e.header)), _ = M(() => {
@@ -1860,22 +1860,22 @@ R()({
1860
1860
  else {
1861
1861
  let u = a.date();
1862
1862
  if (u = a.startOfMonth(u), u = a.setMonth(u, i.value), u = a.setYear(u, v.value), c.value) {
1863
- const h = a.addDays(a.startOfMonth(u), -1);
1864
- a.isAfter(c.value, h) && g.push("prev");
1863
+ const k = a.addDays(a.startOfMonth(u), -1);
1864
+ a.isAfter(c.value, k) && g.push("prev");
1865
1865
  }
1866
1866
  if (d.value) {
1867
- const h = a.addDays(a.endOfMonth(u), 1);
1868
- a.isAfter(h, d.value) && g.push("next");
1867
+ const k = a.addDays(a.endOfMonth(u), 1);
1868
+ a.isAfter(k, d.value) && g.push("next");
1869
1869
  }
1870
1870
  }
1871
1871
  return g;
1872
- }), V = M(() => e.allowedYears || le), C = M(() => e.allowedMonths || he);
1872
+ }), V = M(() => e.allowedYears || le), C = M(() => e.allowedMonths || ke);
1873
1873
  function j(g, u) {
1874
- const h = e.allowedDates;
1875
- if (typeof h != "function") return !0;
1874
+ const k = e.allowedDates;
1875
+ if (typeof k != "function") return !0;
1876
1876
  const A = a.getDiff(u, g, "days");
1877
1877
  for (let I = 0; I < A; I++)
1878
- if (h(a.addDays(g, I))) return !0;
1878
+ if (k(a.addDays(g, I))) return !0;
1879
1879
  return !1;
1880
1880
  }
1881
1881
  function le(g) {
@@ -1890,10 +1890,10 @@ R()({
1890
1890
  }
1891
1891
  return !0;
1892
1892
  }
1893
- function he(g) {
1893
+ function ke(g) {
1894
1894
  if (typeof e.allowedDates == "function") {
1895
- const u = String(g + 1).padStart(2, "0"), h = a.parseISO(`${v.value}-${u}-01`);
1896
- return j(h, a.endOfMonth(h));
1895
+ const u = String(g + 1).padStart(2, "0"), k = a.parseISO(`${v.value}-${u}-01`);
1896
+ return j(k, a.endOfMonth(k));
1897
1897
  }
1898
1898
  if (Array.isArray(e.allowedDates) && e.allowedDates.length) {
1899
1899
  for (const u of e.allowedDates)
@@ -1924,18 +1924,18 @@ R()({
1924
1924
  r.value === "year" && X();
1925
1925
  }
1926
1926
  return _e(m, (g, u) => {
1927
- const h = de(u), A = de(g);
1927
+ const k = de(u), A = de(g);
1928
1928
  if (!A.length) return;
1929
- const I = a.date(h[h.length - 1]), N = a.date(A[A.length - 1]), W = a.getMonth(N), S = a.getYear(N);
1929
+ const I = a.date(k[k.length - 1]), N = a.date(A[A.length - 1]), W = a.getMonth(N), S = a.getYear(N);
1930
1930
  W !== i.value && (i.value = W, z()), S !== v.value && (v.value = S, L()), w.value = a.isBefore(I, N);
1931
- }), F(() => {
1932
- const g = Je.filterProps(e), u = Ee.filterProps(e), h = He.filterProps(e), A = Ue.filterProps(e), I = te(Fe.filterProps(e), ["modelValue"]), N = te(ze.filterProps(e), ["modelValue"]), W = {
1933
- color: k.value,
1931
+ }), U(() => {
1932
+ const g = Je.filterProps(e), u = Ee.filterProps(e), k = He.filterProps(e), A = Fe.filterProps(e), I = te(Ue.filterProps(e), ["modelValue"]), N = te(ze.filterProps(e), ["modelValue"]), W = {
1933
+ color: h.value,
1934
1934
  header: Y.value,
1935
1935
  transition: P.value
1936
1936
  };
1937
1937
  return D(Je, E(g, {
1938
- color: k.value,
1938
+ color: h.value,
1939
1939
  class: ["v-date-picker", `v-date-picker--${r.value}`, {
1940
1940
  "v-date-picker--show-week": e.showWeek
1941
1941
  }, y.value, e.class],
@@ -1960,7 +1960,7 @@ R()({
1960
1960
  }
1961
1961
  }) : D(He, E({
1962
1962
  key: "header"
1963
- }, h, W, {
1963
+ }, k, W, {
1964
1964
  onClick: r.value !== "month" ? be : void 0
1965
1965
  }), {
1966
1966
  prepend: l.prepend,
@@ -1976,7 +1976,7 @@ R()({
1976
1976
  }), null), D(oa, {
1977
1977
  hideOnLeave: !0
1978
1978
  }, {
1979
- default: () => [r.value === "months" ? D(Fe, E({
1979
+ default: () => [r.value === "months" ? D(Ue, E({
1980
1980
  key: "date-picker-months"
1981
1981
  }, I, {
1982
1982
  modelValue: i.value,
@@ -1997,7 +1997,7 @@ R()({
1997
1997
  allowedYears: V.value
1998
1998
  }), {
1999
1999
  year: l.year
2000
- }) : D(Ue, E({
2000
+ }) : D(Fe, E({
2001
2001
  key: "date-picker-month"
2002
2002
  }, A, {
2003
2003
  modelValue: m.value,
@@ -2022,4 +2022,4 @@ export {
2022
2022
  ua as a,
2023
2023
  Ba as m
2024
2024
  };
2025
- //# sourceMappingURL=VDatePicker-D0OTAyvJ.mjs.map
2025
+ //# sourceMappingURL=VDatePicker-BHcvHHhM.mjs.map