@romainbx/wpic-components 0.0.50 → 0.0.52

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.
@@ -1,4 +1,4 @@
1
- import { inject as Ms, computed as ae, toValue as ve, getCurrentInstance as qn, defineComponent as wr, toRef as Nr, resolveDynamicComponent as Us, h as Wt, unref as $, onMounted as Dn, provide as Cs, isRef as No, watch as mt, onBeforeUnmount as Qr, ref as ue, reactive as qr, nextTick as St, warn as w0, readonly as x0, watchEffect as kh, onUnmounted as da, shallowRef as Sh, openBlock as k, createElementBlock as D, createElementVNode as E, createVNode as ce, normalizeClass as G, createCommentVNode as X, createBlock as be, withCtx as Se, renderSlot as Oe, createTextVNode as Fe, toDisplayString as ge, Fragment as $e, renderList as lt, withModifiers as Di, Teleport as Oh, normalizeStyle as or, withDirectives as $l, vShow as Pl, resolveComponent as k0, createStaticVNode as S0, pushScopeId as O0, popScopeId as M0, useSlots as C0, markRaw as T0, customRef as D0 } from "vue";
1
+ import { inject as Ms, computed as ae, toValue as ve, getCurrentInstance as qn, defineComponent as wr, toRef as Nr, resolveDynamicComponent as Us, h as Wt, unref as $, onMounted as Dn, provide as Cs, isRef as No, watch as mt, onBeforeUnmount as Qr, ref as ue, reactive as qr, nextTick as St, warn as w0, readonly as x0, watchEffect as kh, onUnmounted as da, shallowRef as Sh, openBlock as k, createElementBlock as D, createElementVNode as E, createVNode as ce, normalizeClass as G, createCommentVNode as X, createBlock as be, withCtx as Se, renderSlot as Oe, createTextVNode as Fe, toDisplayString as ge, Fragment as Ne, renderList as lt, withModifiers as Di, Teleport as Oh, normalizeStyle as or, withDirectives as $l, vShow as Pl, resolveComponent as k0, createStaticVNode as S0, pushScopeId as O0, popScopeId as M0, useSlots as C0, markRaw as T0, customRef as D0 } from "vue";
2
2
  function _0() {
3
3
  return Mh().__VUE_DEVTOOLS_GLOBAL_HOOK__;
4
4
  }
@@ -2261,7 +2261,7 @@ const tv = ["is", "type", "disabled"], nv = {
2261
2261
  class: "absolute z-30 top-12 left-0"
2262
2262
  }, [
2263
2263
  E("div", rv, [
2264
- (k(!0), D($e, null, lt(t.actions, (y) => (k(), D("div", {
2264
+ (k(!0), D(Ne, null, lt(t.actions, (y) => (k(), D("div", {
2265
2265
  onClick: y.value,
2266
2266
  class: "font-normal h-10 flex items-center px-4 hover:bg-gray-100 dark:hover:bg-white/5"
2267
2267
  }, ge(y.label), 9, iv))), 256))
@@ -3305,7 +3305,7 @@ const rb = { class: "bg-white dark:bg-gray-700 rounded-t-lg w-full" }, ib = { cl
3305
3305
  function p() {
3306
3306
  r.hover && u();
3307
3307
  }
3308
- return e({ hide: u }), (m, g) => (k(), D($e, null, [
3308
+ return e({ hide: u }), (m, g) => (k(), D(Ne, null, [
3309
3309
  (k(), D("div", {
3310
3310
  class: "flex-1",
3311
3311
  key: `reference_${$(n)}`,
@@ -3436,7 +3436,7 @@ const jc = /* @__PURE__ */ xe(yb, [["render", xb]]), kb = {
3436
3436
  function s() {
3437
3437
  i("onClear");
3438
3438
  }
3439
- return (o, a) => (k(), D($e, null, [
3439
+ return (o, a) => (k(), D(Ne, null, [
3440
3440
  t.label ? (k(), D("div", kb, [
3441
3441
  Fe(ge(t.label) + " ", 1),
3442
3442
  t.required && !t.hideRequired ? (k(), D("span", Sb, "*")) : X("", !0),
@@ -4285,9 +4285,9 @@ const Nd = /* @__PURE__ */ rp(EM), AM = {
4285
4285
  class: G(["select-none w-full text-left flex-1", { "whitespace-pre": !t.multiple }])
4286
4286
  }, [
4287
4287
  t.modelValue && (!t.multiple || t.multiple && ((S = t.modelValue) == null ? void 0 : S.length) > 0) && !t.hideSelect ? (k(), D("span", AM, [
4288
- m.value && ((v = t.allSelectedText) != null && v.length) ? (k(), D($e, { key: 0 }, [
4288
+ m.value && ((v = t.allSelectedText) != null && v.length) ? (k(), D(Ne, { key: 0 }, [
4289
4289
  Fe(ge(t.allSelectedText) + " (" + ge((O = t.options) == null ? void 0 : O.length) + ")", 1)
4290
- ], 64)) : (k(), D($e, { key: 1 }, [
4290
+ ], 64)) : (k(), D(Ne, { key: 1 }, [
4291
4291
  Fe(ge(f.value), 1)
4292
4292
  ], 64))
4293
4293
  ])) : Oe(w.$slots, "default", { key: 1 }, () => [
@@ -4326,7 +4326,7 @@ const Nd = /* @__PURE__ */ rp(EM), AM = {
4326
4326
  ]
4327
4327
  }, null, 8, ["modelValue"])
4328
4328
  ])) : X("", !0),
4329
- !t.options && ((y = t.options) == null ? void 0 : y.length) == 0 ? (k(), D("span", PM, "No data.")) : (k(), D($e, { key: 2 }, [
4329
+ !t.options && ((y = t.options) == null ? void 0 : y.length) == 0 ? (k(), D("span", PM, "No data.")) : (k(), D(Ne, { key: 2 }, [
4330
4330
  t.multiple && t.batchSelect ? (k(), D("div", IM, [
4331
4331
  E("span", {
4332
4332
  class: "cursor-pointer opacity-50 hover:opacity-100",
@@ -4340,7 +4340,7 @@ const Nd = /* @__PURE__ */ rp(EM), AM = {
4340
4340
  onClick: T[2] || (T[2] = (S) => c([]))
4341
4341
  }, "Select none")
4342
4342
  ])) : X("", !0),
4343
- (k(!0), D($e, null, lt(g.value, (S) => (k(), D("div", {
4343
+ (k(!0), D(Ne, null, lt(g.value, (S) => (k(), D("div", {
4344
4344
  class: G(["group", { "is-selected": !!h(S.value) }])
4345
4345
  }, [
4346
4346
  E("div", {
@@ -4417,7 +4417,7 @@ const Nd = /* @__PURE__ */ rp(EM), AM = {
4417
4417
  }
4418
4418
  return e({
4419
4419
  focus: l
4420
- }), (c, u) => (k(), D($e, null, [
4420
+ }), (c, u) => (k(), D(Ne, null, [
4421
4421
  t.label ? (k(), D("div", LM, [
4422
4422
  Fe(ge(t.label) + " ", 1),
4423
4423
  E("div", FM, [
@@ -4987,7 +4987,7 @@ const cC = /* @__PURE__ */ xe(iC, [["render", lC]]), uC = {
4987
4987
  [d]: "-4px"
4988
4988
  });
4989
4989
  }
4990
- return (l, c) => (k(), D($e, null, [
4990
+ return (l, c) => (k(), D(Ne, null, [
4991
4991
  E("span", {
4992
4992
  ref_key: "button",
4993
4993
  ref: e,
@@ -5142,7 +5142,7 @@ const cC = /* @__PURE__ */ xe(iC, [["render", lC]]), uC = {
5142
5142
  }, 8, ["text"])
5143
5143
  ], 6)) : X("", !0)
5144
5144
  ], 2),
5145
- t.indicators ? (k(), D($e, { key: 0 }, [
5145
+ t.indicators ? (k(), D(Ne, { key: 0 }, [
5146
5146
  $C
5147
5147
  ], 64)) : X("", !0)
5148
5148
  ], 2));
@@ -5224,28 +5224,33 @@ const cC = /* @__PURE__ */ xe(iC, [["render", lC]]), uC = {
5224
5224
  }, null, 8, ["color"]))
5225
5225
  ], 2));
5226
5226
  }
5227
- }), qC = /* @__PURE__ */ xe(UC, [["__scopeId", "data-v-947735f2"]]), GC = { class: "text-base font-medium" }, KC = {
5227
+ }), qC = /* @__PURE__ */ xe(UC, [["__scopeId", "data-v-947735f2"]]), GC = { class: "text-base font-medium select-none" }, KC = {
5228
5228
  name: "WpicPaginationItem"
5229
5229
  }, ss = /* @__PURE__ */ Object.assign(KC, {
5230
5230
  props: {
5231
- active: Boolean
5231
+ active: Boolean,
5232
+ disabled: Boolean
5232
5233
  },
5233
5234
  setup(t) {
5234
5235
  const e = {
5235
5236
  pmi: "border-zinc-300 dark:border-zinc-700 text-zinc-600 dark:text-zinc-300 hover:bg-zinc-500 hover:text-white",
5236
- "wpic-tools": "hover:text-lime-600 dark:border-gray-900"
5237
+ "wpic-tools": "dark:text-gray-400 hover:text-lime-600 dark:border-gray-900"
5237
5238
  }, n = {
5238
5239
  pmi: "bg-violet-800 border-violet-800 hover:bg-violet-900 hover:border-violet-900 text-white",
5239
5240
  "wpic-tools": "bg-lime-500 border-lime-500 text-white dark:bg-lime-700 dark:border-lime-700"
5241
+ }, r = {
5242
+ pmi: "text-zinc-300",
5243
+ "wpic-tools": "text-gray-300 dark:text-gray-700 dark:border-gray-900"
5240
5244
  };
5241
- return (r, i) => (k(), D("div", {
5245
+ return (i, s) => (k(), D("div", {
5242
5246
  class: G(["border rounded-sm flex items-center justify-center w-10 h-10 cursor-pointer", {
5243
- [e[$(oe).theme]]: !t.active,
5244
- [n[$(oe).theme]]: t.active
5247
+ [e[$(oe).theme]]: !t.active && !t.disabled,
5248
+ [n[$(oe).theme]]: t.active && !t.disabled,
5249
+ [r[$(oe).theme]]: t.disabled
5245
5250
  }])
5246
5251
  }, [
5247
5252
  E("span", GC, [
5248
- Oe(r.$slots, "default")
5253
+ Oe(i.$slots, "default")
5249
5254
  ])
5250
5255
  ], 2));
5251
5256
  }
@@ -5362,53 +5367,56 @@ const Mp = /* @__PURE__ */ xe(dT, [["render", mT]]), gT = { class: "wpic-paginat
5362
5367
  getEnd: c
5363
5368
  }), (u, d) => (k(), D("div", gT, [
5364
5369
  t.info ? (k(), D("div", yT, [
5365
- Fe(ge(l()) + " - " + ge(c()), 1),
5366
- t.total ? (k(), D("span", vT, " / " + ge(t.total), 1)) : X("", !0)
5370
+ t.total > 0 ? (k(), D(Ne, { key: 0 }, [
5371
+ Fe(ge(l()) + " - " + ge(c()), 1),
5372
+ t.total ? (k(), D("span", vT, " / " + ge(t.total), 1)) : X("", !0)
5373
+ ], 64)) : X("", !0)
5367
5374
  ])) : X("", !0),
5368
5375
  t.pages ? (k(), D("div", bT, [
5369
5376
  ce(ss, {
5370
5377
  onClick: d[0] || (d[0] = (f) => a(1)),
5371
- disabled: t.currentPage === 1
5378
+ disabled: t.currentPage === 1 || s.value == 0
5372
5379
  }, {
5373
5380
  default: Se(() => [
5374
- ce(kp, { class: "w-5 h-5 select-none opacity-50 hover:opacity-100" })
5381
+ ce(kp, { class: "w-5 h-5 select-none" })
5375
5382
  ]),
5376
5383
  _: 1
5377
5384
  }, 8, ["disabled"]),
5378
5385
  ce(ss, {
5379
5386
  onClick: d[1] || (d[1] = (f) => a(t.currentPage - 1)),
5380
- disabled: t.currentPage === 1
5387
+ disabled: t.currentPage === 1 || s.value == 0
5381
5388
  }, {
5382
5389
  default: Se(() => [
5383
- ce(Sp, { class: "w-5 h-5 select-none opacity-50 hover:opacity-100" })
5390
+ ce(Sp, { class: "w-5 h-5 select-none" })
5384
5391
  ]),
5385
5392
  _: 1
5386
5393
  }, 8, ["disabled"]),
5387
- (k(!0), D($e, null, lt(o.value, (f) => (k(), be(ss, {
5394
+ (k(!0), D(Ne, null, lt(o.value, (f) => (k(), be(ss, {
5388
5395
  key: `page_${f}`,
5389
5396
  onClick: (h) => a(f),
5390
- active: f === t.currentPage
5397
+ active: f === t.currentPage,
5398
+ disabled: s.value == 0
5391
5399
  }, {
5392
5400
  default: Se(() => [
5393
5401
  Fe(ge(f), 1)
5394
5402
  ]),
5395
5403
  _: 2
5396
- }, 1032, ["onClick", "active"]))), 128)),
5404
+ }, 1032, ["onClick", "active", "disabled"]))), 128)),
5397
5405
  ce(ss, {
5398
5406
  onClick: d[2] || (d[2] = (f) => a(t.currentPage + 1)),
5399
- disabled: t.currentPage === s.value
5407
+ disabled: t.currentPage === s.value || s.value == 0
5400
5408
  }, {
5401
5409
  default: Se(() => [
5402
- ce(Mp, { class: "w-5 h-5 select-none opacity-50 hover:opacity-100" })
5410
+ ce(Mp, { class: "w-5 h-5 select-none" })
5403
5411
  ]),
5404
5412
  _: 1
5405
5413
  }, 8, ["disabled"]),
5406
5414
  ce(ss, {
5407
5415
  onClick: d[3] || (d[3] = (f) => a(s.value)),
5408
- disabled: t.currentPage === s.value
5416
+ disabled: t.currentPage === s.value || s.value == 0
5409
5417
  }, {
5410
5418
  default: Se(() => [
5411
- ce(Op, { class: "w-5 h-5 select-none opacity-50 hover:opacity-100" })
5419
+ ce(Op, { class: "w-5 h-5 select-none" })
5412
5420
  ]),
5413
5421
  _: 1
5414
5422
  }, 8, ["disabled"])
@@ -5449,7 +5457,7 @@ const TT = /* @__PURE__ */ xe(kT, [["render", CT]]), DT = { class: "font-semibol
5449
5457
  "wpic-tools": "bg-gray-50 border-gray-200 dark:border-gray-900 dark:bg-gray-800"
5450
5458
  };
5451
5459
  return (n, r) => (k(), D("tr", DT, [
5452
- (k(!0), D($e, null, lt(t.columns, (i, s) => (k(), be(Gl, {
5460
+ (k(!0), D(Ne, null, lt(t.columns, (i, s) => (k(), be(Gl, {
5453
5461
  class: G(["py-3 first:pl-6 pr-6 border-t", {
5454
5462
  [`${e[$(oe).theme]}`]: !0,
5455
5463
  "sticky left-0": s === 0,
@@ -5626,7 +5634,7 @@ const PT = /* @__PURE__ */ xe(_T, [["render", $T]]), IT = { class: "overflow-aut
5626
5634
  width: p.value.find((S) => S.type == "expand").width,
5627
5635
  class: "w-16"
5628
5636
  }, null, 12, VT)) : X("", !0),
5629
- (k(!0), D($e, null, lt(p.value.filter((S) => S.type != "expand"), (S, v) => (k(), D("col", {
5637
+ (k(!0), D(Ne, null, lt(p.value.filter((S) => S.type != "expand"), (S, v) => (k(), D("col", {
5630
5638
  style: or({ minWidth: `${S.minWidth}px`, maxWidth: `${S.maxWidth}px` }),
5631
5639
  width: S.width,
5632
5640
  key: v
@@ -5638,7 +5646,7 @@ const PT = /* @__PURE__ */ xe(_T, [["render", $T]]), IT = { class: "overflow-aut
5638
5646
  key: 0,
5639
5647
  class: G(["first:rounded-tl-lg last:rounded-tr-lg py-0 border-b first:pl-6 pr-6", [`${s[$(oe).theme]}`]])
5640
5648
  }, null, 2)) : X("", !0),
5641
- (k(!0), D($e, null, lt(p.value.filter((S) => S.type != "expand"), (S, v) => {
5649
+ (k(!0), D(Ne, null, lt(p.value.filter((S) => S.type != "expand"), (S, v) => {
5642
5650
  var O, A;
5643
5651
  return k(), D("th", {
5644
5652
  class: G(["first:rounded-tl-lg last:rounded-tr-lg py-0 border-b first:pl-6 pr-6", {
@@ -5676,7 +5684,7 @@ const PT = /* @__PURE__ */ xe(_T, [["render", $T]]), IT = { class: "overflow-aut
5676
5684
  ])
5677
5685
  ])),
5678
5686
  E("tbody", jT, [
5679
- t.loading ? (k(), D($e, { key: 0 }, [
5687
+ t.loading ? (k(), D(Ne, { key: 0 }, [
5680
5688
  E("div", {
5681
5689
  class: G(["inset-0 z-10 absolute flex items-center justify-center", [u[$(oe).theme]]])
5682
5690
  }, [
@@ -5691,9 +5699,9 @@ const PT = /* @__PURE__ */ xe(_T, [["render", $T]]), IT = { class: "overflow-aut
5691
5699
  noXPadding: t.noXPadding,
5692
5700
  totalItem: t.totalItem
5693
5701
  }, null, 8, ["columns", "noXPadding", "totalItem"])) : X("", !0),
5694
- (k(!0), D($e, null, lt(t.data, (S, v) => {
5702
+ (k(!0), D(Ne, null, lt(t.data, (S, v) => {
5695
5703
  var O, A, N, z, ne;
5696
- return k(), D($e, {
5704
+ return k(), D(Ne, {
5697
5705
  key: `tr_${v}`
5698
5706
  }, [
5699
5707
  E("tr", {
@@ -5731,7 +5739,7 @@ const PT = /* @__PURE__ */ xe(_T, [["render", $T]]), IT = { class: "overflow-aut
5731
5739
  _: 2
5732
5740
  }, 1032, ["onClick"])
5733
5741
  ], 2)) : X("", !0),
5734
- (k(!0), D($e, null, lt(p.value.filter((Y) => Y.type != "expand"), (Y, I) => {
5742
+ (k(!0), D(Ne, null, lt(p.value.filter((Y) => Y.type != "expand"), (Y, I) => {
5735
5743
  var F, H;
5736
5744
  return k(), be(Gl, {
5737
5745
  class: G(["lg:text-base h-full table-cell", {
@@ -21412,7 +21420,7 @@ const CP = /* @__PURE__ */ xe(xP, [["render", MP]]), TP = { class: "py-1 px-1 bo
21412
21420
  }, [
21413
21421
  E("div", TP, [
21414
21422
  E("div", DP, [
21415
- (k(), D($e, null, lt(i, (d) => E("div", {
21423
+ (k(), D(Ne, null, lt(i, (d) => E("div", {
21416
21424
  key: d.method,
21417
21425
  class: G(["w-8 h-8 flex items-center justify-center text-xs rounded-sm", {
21418
21426
  "cursor-pointer": !l(d.method, d.type, d.params, d.disableCheck),
@@ -21941,7 +21949,7 @@ function we(t) {
21941
21949
  return e !== 0 && isFinite(e) && (n = Ht(e)), n;
21942
21950
  }
21943
21951
  var Oc = {};
21944
- function Ne(t, e) {
21952
+ function $e(t, e) {
21945
21953
  var n, r = e, i;
21946
21954
  for (typeof t == "string" && (t = [t]), Kn(e) && (r = function(s, o) {
21947
21955
  o[e] = we(s);
@@ -21949,7 +21957,7 @@ function Ne(t, e) {
21949
21957
  Oc[t[n]] = r;
21950
21958
  }
21951
21959
  function lo(t, e) {
21952
- Ne(t, function(n, r, i, s) {
21960
+ $e(t, function(n, r, i, s) {
21953
21961
  i._w = i._w || {}, e(n, i._w, i, s);
21954
21962
  });
21955
21963
  }
@@ -21975,14 +21983,14 @@ J("YY", Ve, Lt);
21975
21983
  J("YYYY", Cu, Mu);
21976
21984
  J("YYYYY", Ba, Ra);
21977
21985
  J("YYYYYY", Ba, Ra);
21978
- Ne(["YYYYY", "YYYYYY"], ct);
21979
- Ne("YYYY", function(t, e) {
21986
+ $e(["YYYYY", "YYYYYY"], ct);
21987
+ $e("YYYY", function(t, e) {
21980
21988
  e[ct] = t.length === 2 ? _.parseTwoDigitYear(t) : we(t);
21981
21989
  });
21982
- Ne("YY", function(t, e) {
21990
+ $e("YY", function(t, e) {
21983
21991
  e[ct] = _.parseTwoDigitYear(t);
21984
21992
  });
21985
- Ne("Y", function(t, e) {
21993
+ $e("Y", function(t, e) {
21986
21994
  e[ct] = parseInt(t, 10);
21987
21995
  });
21988
21996
  function Os(t) {
@@ -22094,10 +22102,10 @@ J("MMM", function(t, e) {
22094
22102
  J("MMMM", function(t, e) {
22095
22103
  return e.monthsRegex(t);
22096
22104
  });
22097
- Ne(["M", "MM"], function(t, e) {
22105
+ $e(["M", "MM"], function(t, e) {
22098
22106
  e[zn] = we(t) - 1;
22099
22107
  });
22100
- Ne(["MMM", "MMMM"], function(t, e, n, r) {
22108
+ $e(["MMM", "MMMM"], function(t, e, n, r) {
22101
22109
  var i = n._locale.monthsParse(t, r, n._strict);
22102
22110
  i != null ? e[zn] = i : he(n).invalidMonth = t;
22103
22111
  });
@@ -22426,30 +22434,30 @@ J("hmm", $g);
22426
22434
  J("hmmss", Pg);
22427
22435
  J("Hmm", $g);
22428
22436
  J("Hmmss", Pg);
22429
- Ne(["H", "HH"], Ue);
22430
- Ne(["k", "kk"], function(t, e, n) {
22437
+ $e(["H", "HH"], Ue);
22438
+ $e(["k", "kk"], function(t, e, n) {
22431
22439
  var r = we(t);
22432
22440
  e[Ue] = r === 24 ? 0 : r;
22433
22441
  });
22434
- Ne(["a", "A"], function(t, e, n) {
22442
+ $e(["a", "A"], function(t, e, n) {
22435
22443
  n._isPm = n._locale.isPM(t), n._meridiem = t;
22436
22444
  });
22437
- Ne(["h", "hh"], function(t, e, n) {
22445
+ $e(["h", "hh"], function(t, e, n) {
22438
22446
  e[Ue] = we(t), he(n).bigHour = !0;
22439
22447
  });
22440
- Ne("hmm", function(t, e, n) {
22448
+ $e("hmm", function(t, e, n) {
22441
22449
  var r = t.length - 2;
22442
22450
  e[Ue] = we(t.substr(0, r)), e[tn] = we(t.substr(r)), he(n).bigHour = !0;
22443
22451
  });
22444
- Ne("hmmss", function(t, e, n) {
22452
+ $e("hmmss", function(t, e, n) {
22445
22453
  var r = t.length - 4, i = t.length - 2;
22446
22454
  e[Ue] = we(t.substr(0, r)), e[tn] = we(t.substr(r, 2)), e[Hn] = we(t.substr(i)), he(n).bigHour = !0;
22447
22455
  });
22448
- Ne("Hmm", function(t, e, n) {
22456
+ $e("Hmm", function(t, e, n) {
22449
22457
  var r = t.length - 2;
22450
22458
  e[Ue] = we(t.substr(0, r)), e[tn] = we(t.substr(r));
22451
22459
  });
22452
- Ne("Hmmss", function(t, e, n) {
22460
+ $e("Hmmss", function(t, e, n) {
22453
22461
  var r = t.length - 4, i = t.length - 2;
22454
22462
  e[Ue] = we(t.substr(0, r)), e[tn] = we(t.substr(r, 2)), e[Hn] = we(t.substr(i));
22455
22463
  });
@@ -22908,7 +22916,7 @@ Xg("Z", ":");
22908
22916
  Xg("ZZ", "");
22909
22917
  J("Z", Fa);
22910
22918
  J("ZZ", Fa);
22911
- Ne(["Z", "ZZ"], function(t, e, n) {
22919
+ $e(["Z", "ZZ"], function(t, e, n) {
22912
22920
  n._useUTC = !0, n._tzm = Ru(Fa, t);
22913
22921
  });
22914
22922
  var ZR = /([\+\-]|\d\d)/gi;
@@ -23406,7 +23414,7 @@ J("NN", Bu);
23406
23414
  J("NNN", Bu);
23407
23415
  J("NNNN", rB);
23408
23416
  J("NNNNN", iB);
23409
- Ne(
23417
+ $e(
23410
23418
  ["N", "NN", "NNN", "NNNN", "NNNNN"],
23411
23419
  function(t, e, n, r) {
23412
23420
  var i = n._locale.erasParse(t, r, n._strict);
@@ -23418,8 +23426,8 @@ J("yy", Qi);
23418
23426
  J("yyy", Qi);
23419
23427
  J("yyyy", Qi);
23420
23428
  J("yo", sB);
23421
- Ne(["y", "yy", "yyy", "yyyy"], ct);
23422
- Ne(["yo"], function(t, e, n, r) {
23429
+ $e(["y", "yy", "yyy", "yyyy"], ct);
23430
+ $e(["yo"], function(t, e, n, r) {
23423
23431
  var i;
23424
23432
  n._locale._eraYearOrdinalRegex && (i = t.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? e[ct] = n._locale.eraYearOrdinalParse(t, i) : e[ct] = parseInt(t, 10);
23425
23433
  });
@@ -23601,7 +23609,7 @@ function fB(t, e, n, r, i) {
23601
23609
  }
23602
23610
  Q("Q", 0, "Qo", "quarter");
23603
23611
  J("Q", Ag);
23604
- Ne("Q", function(t, e) {
23612
+ $e("Q", function(t, e) {
23605
23613
  e[zn] = (we(t) - 1) * 3;
23606
23614
  });
23607
23615
  function hB(t) {
@@ -23613,15 +23621,15 @@ J("DD", Ve, Lt);
23613
23621
  J("Do", function(t, e) {
23614
23622
  return t ? e._dayOfMonthOrdinalParse || e._ordinalParse : e._dayOfMonthOrdinalParseLenient;
23615
23623
  });
23616
- Ne(["D", "DD"], yn);
23617
- Ne("Do", function(t, e) {
23624
+ $e(["D", "DD"], yn);
23625
+ $e("Do", function(t, e) {
23618
23626
  e[yn] = we(t.match(Ve)[0]);
23619
23627
  });
23620
23628
  var u0 = ts("Date", !0);
23621
23629
  Q("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
23622
23630
  J("DDD", Va);
23623
23631
  J("DDDD", Ng);
23624
- Ne(["DDD", "DDDD"], function(t, e, n) {
23632
+ $e(["DDD", "DDDD"], function(t, e, n) {
23625
23633
  n._dayOfYear = we(t);
23626
23634
  });
23627
23635
  function pB(t) {
@@ -23633,12 +23641,12 @@ function pB(t) {
23633
23641
  Q("m", ["mm", 2], 0, "minute");
23634
23642
  J("m", Ve, Tu);
23635
23643
  J("mm", Ve, Lt);
23636
- Ne(["m", "mm"], tn);
23644
+ $e(["m", "mm"], tn);
23637
23645
  var mB = ts("Minutes", !1);
23638
23646
  Q("s", ["ss", 2], 0, "second");
23639
23647
  J("s", Ve, Tu);
23640
23648
  J("ss", Ve, Lt);
23641
- Ne(["s", "ss"], Hn);
23649
+ $e(["s", "ss"], Hn);
23642
23650
  var gB = ts("Seconds", !1);
23643
23651
  Q("S", 0, 0, function() {
23644
23652
  return ~~(this.millisecond() / 100);
@@ -23675,7 +23683,7 @@ function yB(t, e) {
23675
23683
  e[Br] = we(("0." + t) * 1e3);
23676
23684
  }
23677
23685
  for (dr = "S"; dr.length <= 9; dr += "S")
23678
- Ne(dr, yB);
23686
+ $e(dr, yB);
23679
23687
  d0 = ts("Milliseconds", !1);
23680
23688
  Q("z", 0, 0, "zoneAbbr");
23681
23689
  Q("zz", 0, 0, "zoneName");
@@ -24063,10 +24071,10 @@ Q("X", 0, 0, "unix");
24063
24071
  Q("x", 0, 0, "valueOf");
24064
24072
  J("x", La);
24065
24073
  J("X", kI);
24066
- Ne("X", function(t, e, n) {
24074
+ $e("X", function(t, e, n) {
24067
24075
  n._d = new Date(parseFloat(t) * 1e3);
24068
24076
  });
24069
- Ne("x", function(t, e, n) {
24077
+ $e("x", function(t, e, n) {
24070
24078
  n._d = new Date(we(t));
24071
24079
  });
24072
24080
  //! moment.js
@@ -24317,7 +24325,7 @@ const El = {
24317
24325
  return (I, F) => (k(), D("div", {
24318
24326
  class: G(["shrink-0 flex gap-6", { "min-w-96": s.value.length === 1, "min-w-192": s.value.length === 2 }])
24319
24327
  }, [
24320
- (k(!0), D($e, null, lt(s.value, (H) => {
24328
+ (k(!0), D(Ne, null, lt(s.value, (H) => {
24321
24329
  var j;
24322
24330
  return k(), D("div", nL, [
24323
24331
  E("div", rL, [
@@ -24344,7 +24352,7 @@ const El = {
24344
24352
  ])
24345
24353
  ]),
24346
24354
  E("div", aL, [
24347
- (k(), D($e, null, lt(7, (P) => {
24355
+ (k(), D(Ne, null, lt(7, (P) => {
24348
24356
  var ee;
24349
24357
  return E("div", lL, ge((ee = r.value[H]) == null ? void 0 : ee.clone().startOf("week").subtract(1, "days").add(P, "days").format("ddd")), 1);
24350
24358
  }), 64))
@@ -24353,7 +24361,7 @@ const El = {
24353
24361
  class: "grid grid-cols-7",
24354
24362
  onMouseout: Y
24355
24363
  }, [
24356
- l(r.value[H]) > 0 ? (k(!0), D($e, { key: 0 }, lt(c($(_)(r.value[H]).year(), $(_)(r.value[H]).month() + 1), (P) => (k(), be(El, {
24364
+ l(r.value[H]) > 0 ? (k(!0), D(Ne, { key: 0 }, lt(c($(_)(r.value[H]).year(), $(_)(r.value[H]).month() + 1), (P) => (k(), be(El, {
24357
24365
  onClick: (ee) => !b(P) && !g(P) ? o(P) : null,
24358
24366
  onMouseover: (ee) => A(P),
24359
24367
  today: d(P),
@@ -24369,7 +24377,7 @@ const El = {
24369
24377
  ]),
24370
24378
  _: 2
24371
24379
  }, 1032, ["onClick", "onMouseover", "today", "selected", "firstDay", "lastDay", "between", "highlight"]))), 256)) : X("", !0),
24372
- (k(!0), D($e, null, lt(a(r.value[H].clone()), (P) => (k(), be(El, {
24380
+ (k(!0), D(Ne, null, lt(a(r.value[H].clone()), (P) => (k(), be(El, {
24373
24381
  onMouseover: (ee) => A(P),
24374
24382
  onClick: (ee) => !b(P) && !g(P) ? o(P) : null,
24375
24383
  today: d(P),
@@ -24386,7 +24394,7 @@ const El = {
24386
24394
  ]),
24387
24395
  _: 2
24388
24396
  }, 1032, ["onMouseover", "onClick", "today", "selected", "firstDay", "lastDay", "between", "disabled", "off", "highlight"]))), 256)),
24389
- ((j = u($(_)(r.value[H]).year(), $(_)(r.value[H]).month() + 1)) == null ? void 0 : j.length) > 0 ? (k(!0), D($e, { key: 1 }, lt(u($(_)(r.value[H]).year(), $(_)(r.value[H]).month() + 1), (P) => (k(), be(El, {
24397
+ ((j = u($(_)(r.value[H]).year(), $(_)(r.value[H]).month() + 1)) == null ? void 0 : j.length) > 0 ? (k(!0), D(Ne, { key: 1 }, lt(u($(_)(r.value[H]).year(), $(_)(r.value[H]).month() + 1), (P) => (k(), be(El, {
24390
24398
  onClick: (ee) => !b(P) || !g(P) ? o(P) : null,
24391
24399
  onMouseover: (ee) => A(P),
24392
24400
  today: d(P),
@@ -24505,7 +24513,7 @@ const xL = /* @__PURE__ */ xe(gL, [["render", wL]]), kL = { class: "flex gap-3"
24505
24513
  content: Se(() => [
24506
24514
  E("div", kL, [
24507
24515
  t.shortcuts ? (k(), D("div", SL, [
24508
- (k(!0), D($e, null, lt(o, (c) => (k(), D("div", {
24516
+ (k(!0), D(Ne, null, lt(o, (c) => (k(), D("div", {
24509
24517
  class: "opacity-50 hover:opacity-100 dark:text-gray-300 cursor-pointer",
24510
24518
  onClick: (u) => c.onClick()
24511
24519
  }, ge(c.text), 9, OL))), 256))
@@ -24722,9 +24730,9 @@ const xL = /* @__PURE__ */ xe(gL, [["render", wL]]), kL = { class: "flex gap-3"
24722
24730
  }, o = (l) => {
24723
24731
  i.value.push(l);
24724
24732
  }, a = ae(() => n.modelValue);
24725
- return Cs("addTab", o), Cs("modelValue", a), (l, c) => (k(), D($e, null, [
24733
+ return Cs("addTab", o), Cs("modelValue", a), (l, c) => (k(), D(Ne, null, [
24726
24734
  E("div", PL, [
24727
- (k(!0), D($e, null, lt(i.value, (u) => (k(), D("div", {
24735
+ (k(!0), D(Ne, null, lt(i.value, (u) => (k(), D("div", {
24728
24736
  key: u.name,
24729
24737
  class: G(["border-b items-center flex leading-snug cursor-pointer py-3 px-6 -mb-[2px] font-medium", {
24730
24738
  "dark:border-gray-930": u.name != t.modelValue,