@romainbx/wpic-components 0.0.90 → 0.0.92

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 { defineComponent as Rn, inject as Si, computed as de, toValue as Oe, toRef as Jn, resolveDynamicComponent as Gr, h as Et, getCurrentInstance as mn, ref as ne, reactive as Ln, unref as P, onMounted as en, isRef as Co, watch as Pe, provide as Ci, readonly as Kp, onBeforeUnmount as hr, watchEffect as Cd, nextTick as nt, shallowRef as Od, warn as Yp, onUnmounted as Xo, createElementBlock as S, openBlock as b, createElementVNode as $, createVNode as le, normalizeClass as G, createCommentVNode as Q, createBlock as me, withCtx as xe, renderSlot as Me, createTextVNode as Ie, toDisplayString as ye, Fragment as $e, renderList as We, withModifiers as Pr, Teleport as Md, normalizeStyle as un, withDirectives as Vr, vModelText as aa, vShow as la, resolveComponent as Oo, createStaticVNode as Qo, pushScopeId as Jp, popScopeId as Gp, useSlots as Td, markRaw as Zp, customRef as Xp } from "vue";
1
+ import { defineComponent as Rn, inject as Si, computed as de, toValue as Oe, toRef as Jn, resolveDynamicComponent as Gr, h as Et, getCurrentInstance as mn, ref as ne, reactive as Ln, unref as P, onMounted as en, isRef as Co, watch as Pe, provide as Ci, readonly as Kp, onBeforeUnmount as hr, watchEffect as Cd, nextTick as nt, shallowRef as Od, warn as Yp, onUnmounted as Xo, createElementBlock as S, openBlock as b, createElementVNode as $, createVNode as le, normalizeClass as G, createCommentVNode as Q, createBlock as me, withCtx as xe, renderSlot as Me, createTextVNode as Ie, toDisplayString as be, Fragment as $e, renderList as We, withModifiers as Pr, Teleport as Md, normalizeStyle as un, withDirectives as Vr, vModelText as aa, vShow as la, resolveComponent as Oo, createStaticVNode as Qo, pushScopeId as Jp, popScopeId as Gp, useSlots as Td, markRaw as Zp, customRef as Xp } from "vue";
2
2
  function Qp() {
3
3
  return $d().__VUE_DEVTOOLS_GLOBAL_HOOK__;
4
4
  }
@@ -2074,7 +2074,7 @@ zt("url", (t) => {
2074
2074
  return e.test(String(t).trim().toLowerCase()) ? !0 : "This field must be a valid URL";
2075
2075
  });
2076
2076
  zt("number", (t) => parseFloat(t) ? !0 : "This field must be a number");
2077
- const be = (t, e) => {
2077
+ const ve = (t, e) => {
2078
2078
  const n = t.__vccOpts || t;
2079
2079
  for (const [r, i] of e)
2080
2080
  n[r] = i;
@@ -2089,7 +2089,7 @@ const be = (t, e) => {
2089
2089
  function mg(t, e) {
2090
2090
  return b(), S("svg", fg, pg);
2091
2091
  }
2092
- const gg = /* @__PURE__ */ be(dg, [["render", mg]]), yg = {}, vg = {
2092
+ const gg = /* @__PURE__ */ ve(dg, [["render", mg]]), yg = {}, vg = {
2093
2093
  xmlns: "http://www.w3.org/2000/svg",
2094
2094
  viewBox: "0 0 512 512",
2095
2095
  fill: "currentColor"
@@ -2099,7 +2099,7 @@ const gg = /* @__PURE__ */ be(dg, [["render", mg]]), yg = {}, vg = {
2099
2099
  function wg(t, e) {
2100
2100
  return b(), S("svg", vg, xg);
2101
2101
  }
2102
- const kg = /* @__PURE__ */ be(yg, [["render", wg]]), Sg = { class: "relative" }, Cg = {
2102
+ const kg = /* @__PURE__ */ ve(yg, [["render", wg]]), Sg = { class: "relative" }, Cg = {
2103
2103
  name: "WpicSpinner"
2104
2104
  }, Zr = /* @__PURE__ */ Object.assign(Cg, {
2105
2105
  props: {
@@ -2250,7 +2250,7 @@ const Og = ["is", "type", "disabled"], Mg = {
2250
2250
  }, {
2251
2251
  default: xe(() => [
2252
2252
  Me(y.$slots, "default", {}, () => [
2253
- Ie(ye(t.label), 1)
2253
+ Ie(be(t.label), 1)
2254
2254
  ])
2255
2255
  ]),
2256
2256
  _: 3
@@ -2265,7 +2265,7 @@ const Og = ["is", "type", "disabled"], Mg = {
2265
2265
  (b(!0), S($e, null, We(t.actions, (v) => (b(), S("div", {
2266
2266
  onClick: v.value,
2267
2267
  class: "font-normal h-10 flex items-center px-4 hover:bg-gray-100 dark:hover:bg-white/5"
2268
- }, ye(v.label), 9, $g))), 256))
2268
+ }, be(v.label), 9, $g))), 256))
2269
2269
  ])
2270
2270
  ], 512)) : Q("", !0)
2271
2271
  ], 10, Og);
@@ -2293,7 +2293,7 @@ function Ig(t, e, n, r, i, o) {
2293
2293
  Me(t.$slots, "default")
2294
2294
  ]);
2295
2295
  }
2296
- const Bg = /* @__PURE__ */ be(Ng, [["render", Ig]]), Pg = {
2296
+ const Bg = /* @__PURE__ */ ve(Ng, [["render", Ig]]), Pg = {
2297
2297
  name: "WpicForm"
2298
2298
  }, Vg = /* @__PURE__ */ Object.assign(Pg, {
2299
2299
  setup(t, { expose: e }) {
@@ -3207,7 +3207,7 @@ const v0 = {}, b0 = {
3207
3207
  function k0(t, e) {
3208
3208
  return b(), S("svg", b0, w0);
3209
3209
  }
3210
- const Ki = /* @__PURE__ */ be(v0, [["render", k0]]);
3210
+ const Ki = /* @__PURE__ */ ve(v0, [["render", k0]]);
3211
3211
  let so;
3212
3212
  const S0 = new Uint8Array(16);
3213
3213
  function C0() {
@@ -3375,7 +3375,7 @@ const $0 = {
3375
3375
  function L0(t, e) {
3376
3376
  return b(), S("svg", E0, N0);
3377
3377
  }
3378
- const of = /* @__PURE__ */ be(A0, [["render", L0]]), I0 = {}, B0 = {
3378
+ const of = /* @__PURE__ */ ve(A0, [["render", L0]]), I0 = {}, B0 = {
3379
3379
  xmlns: "http://www.w3.org/2000/svg",
3380
3380
  viewBox: "0 0 24 24",
3381
3381
  fill: "currentColor"
@@ -3389,7 +3389,7 @@ const of = /* @__PURE__ */ be(A0, [["render", L0]]), I0 = {}, B0 = {
3389
3389
  function R0(t, e) {
3390
3390
  return b(), S("svg", B0, V0);
3391
3391
  }
3392
- const al = /* @__PURE__ */ be(I0, [["render", R0]]), _0 = {
3392
+ const al = /* @__PURE__ */ ve(I0, [["render", R0]]), _0 = {
3393
3393
  key: 0,
3394
3394
  class: "mb-2 wpic-form-label text-base text-gray-500 dark:text-gray-500 flex items-center justify-between"
3395
3395
  }, j0 = { class: "flex items-center gap-2" }, z0 = { key: 0 }, F0 = { class: "" }, H0 = { class: "flex justify-end" }, W0 = {
@@ -3431,7 +3431,7 @@ const al = /* @__PURE__ */ be(I0, [["render", R0]]), _0 = {
3431
3431
  return (s, a) => (b(), S("div", null, [
3432
3432
  t.label ? (b(), S("div", _0, [
3433
3433
  $("div", j0, [
3434
- $("span", null, ye(t.label), 1),
3434
+ $("span", null, be(t.label), 1),
3435
3435
  t.required && !t.hideRequired ? (b(), S("span", z0, "*")) : Q("", !0),
3436
3436
  $("div", F0, [
3437
3437
  t.info ? (b(), me(mr, {
@@ -3439,7 +3439,7 @@ const al = /* @__PURE__ */ be(I0, [["render", R0]]), _0 = {
3439
3439
  hover: ""
3440
3440
  }, {
3441
3441
  content: xe(() => [
3442
- Ie(ye(t.info), 1)
3442
+ Ie(be(t.info), 1)
3443
3443
  ]),
3444
3444
  default: xe(() => [
3445
3445
  le(al, { class: "w-4 h-4 text-zinc-600" })
@@ -4158,7 +4158,7 @@ const Vc = /* @__PURE__ */ Ji(Jw), Gw = {}, Zw = {
4158
4158
  function ek(t, e) {
4159
4159
  return b(), S("svg", Zw, Qw);
4160
4160
  }
4161
- const tk = /* @__PURE__ */ be(Gw, [["render", ek]]), nk = {
4161
+ const tk = /* @__PURE__ */ ve(Gw, [["render", ek]]), nk = {
4162
4162
  key: 0,
4163
4163
  class: "leading-none"
4164
4164
  }, rk = { key: 1 }, ik = { class: "flex flex-col max-h-80 overflow-y-auto" }, ok = {
@@ -4314,12 +4314,12 @@ const tk = /* @__PURE__ */ be(Gw, [["render", ek]]), nk = {
4314
4314
  }, [
4315
4315
  t.modelValue && (!t.multiple || t.multiple && ((I = t.modelValue) == null ? void 0 : I.length) > 0) && !t.hideSelect ? (b(), S("span", nk, [
4316
4316
  y.value && ((z = t.allSelectedText) != null && z.length) ? (b(), S($e, { key: 0 }, [
4317
- Ie(ye(t.allSelectedText) + " (" + ye((R = t.options) == null ? void 0 : R.length) + ")", 1)
4317
+ Ie(be(t.allSelectedText) + " (" + be((R = t.options) == null ? void 0 : R.length) + ")", 1)
4318
4318
  ], 64)) : (b(), S($e, { key: 1 }, [
4319
- Ie(ye(p.value), 1)
4319
+ Ie(be(p.value), 1)
4320
4320
  ], 64))
4321
- ])) : !t.multiple && ((L = t.options) != null && L.find((oe) => oe.value === null)) ? (b(), S("span", rk, ye((J = (D = t.options) == null ? void 0 : D.find((oe) => oe.value === null)) == null ? void 0 : J.label), 1)) : Me(v.$slots, "default", { key: 2 }, () => [
4322
- Ie(ye(t.placeholder), 1)
4321
+ ])) : !t.multiple && ((L = t.options) != null && L.find((oe) => oe.value === null)) ? (b(), S("span", rk, be((J = (D = t.options) == null ? void 0 : D.find((oe) => oe.value === null)) == null ? void 0 : J.label), 1)) : Me(v.$slots, "default", { key: 2 }, () => [
4322
+ Ie(be(t.placeholder), 1)
4323
4323
  ])
4324
4324
  ], 2),
4325
4325
  t.modelValue && t.clearable ? (b(), S("div", {
@@ -4382,7 +4382,7 @@ const tk = /* @__PURE__ */ be(Gw, [["render", ek]]), nk = {
4382
4382
  $("div", ck, [
4383
4383
  $("span", {
4384
4384
  class: G(["", { "opacity-25": I.disabled }])
4385
- }, ye(I.label || I.value), 3),
4385
+ }, be(I.label || I.value), 3),
4386
4386
  t.multiple && m(I.value) ? (b(), me(of, {
4387
4387
  key: 0,
4388
4388
  class: "w-4 h-4"
@@ -4424,7 +4424,7 @@ const tk = /* @__PURE__ */ be(Gw, [["render", ek]]), nk = {
4424
4424
  ], 2),
4425
4425
  $("span", {
4426
4426
  class: G({ "text-gray-500": !t.modelValue, "text-gray-700 dark:text-gray-300": t.modelValue })
4427
- }, ye(t.label), 3)
4427
+ }, be(t.label), 3)
4428
4428
  ], 2));
4429
4429
  }
4430
4430
  }), fk = {
@@ -4478,14 +4478,14 @@ const tk = /* @__PURE__ */ be(Gw, [["render", ek]]), nk = {
4478
4478
  focus: l
4479
4479
  }), (c, u) => (b(), S($e, null, [
4480
4480
  t.label ? (b(), S("div", fk, [
4481
- Ie(ye(t.label) + " ", 1),
4481
+ Ie(be(t.label) + " ", 1),
4482
4482
  $("div", hk, [
4483
4483
  c.info ? (b(), me(mr, {
4484
4484
  key: 0,
4485
4485
  hover: ""
4486
4486
  }, {
4487
4487
  content: xe(() => [
4488
- Ie(ye(c.info), 1)
4488
+ Ie(be(c.info), 1)
4489
4489
  ]),
4490
4490
  default: xe(() => [
4491
4491
  le(al, { class: "w-4 h-4 text-zinc-600" })
@@ -4583,7 +4583,7 @@ const tk = /* @__PURE__ */ be(Gw, [["render", ek]]), nk = {
4583
4583
  function kk(t, e) {
4584
4584
  return b(), S("svg", vk, wk);
4585
4585
  }
4586
- const Sk = /* @__PURE__ */ be(yk, [["render", kk]]), Ck = {}, Ok = {
4586
+ const Sk = /* @__PURE__ */ ve(yk, [["render", kk]]), Ck = {}, Ok = {
4587
4587
  xmlns: "http://www.w3.org/2000/svg",
4588
4588
  viewBox: "0 0 24 24",
4589
4589
  fill: "currentColor"
@@ -4595,7 +4595,7 @@ const Sk = /* @__PURE__ */ be(yk, [["render", kk]]), Ck = {}, Ok = {
4595
4595
  function Ek(t, e) {
4596
4596
  return b(), S("svg", Ok, Ak);
4597
4597
  }
4598
- const Dk = /* @__PURE__ */ be(Ck, [["render", Ek]]), Nk = {}, Lk = {
4598
+ const Dk = /* @__PURE__ */ ve(Ck, [["render", Ek]]), Nk = {}, Lk = {
4599
4599
  xmlns: "http://www.w3.org/2000/svg",
4600
4600
  fill: "none",
4601
4601
  viewBox: "0 0 24 24",
@@ -4611,7 +4611,7 @@ const Dk = /* @__PURE__ */ be(Ck, [["render", Ek]]), Nk = {}, Lk = {
4611
4611
  function Pk(t, e) {
4612
4612
  return b(), S("svg", Lk, Bk);
4613
4613
  }
4614
- const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-center gap-2" }, _k = { key: 0 }, jk = { class: "" }, zk = ["innerHTML"], Fk = { class: "flex justify-end" }, Hk = ["name", "value", "checked"], Wk = { class: "flex items-center justify-center text-center opacity-50 w-4 h-4 leading-none" }, Uk = {
4614
+ const Vk = /* @__PURE__ */ ve(Nk, [["render", Pk]]), Rk = { class: "flex items-center gap-2" }, _k = { key: 0 }, jk = { class: "" }, zk = ["innerHTML"], Fk = { class: "flex justify-end" }, Hk = ["name", "value", "checked"], Wk = { class: "flex items-center justify-center text-center opacity-50 w-4 h-4 leading-none" }, Uk = {
4615
4615
  key: 5,
4616
4616
  class: "absolute z-10 right-0 mr-3 h-full flex items-center"
4617
4617
  }, qk = { class: "min-w-5 h-5 leading-tight cursor-pointer dark:text-gray-400" }, Kk = {
@@ -4805,7 +4805,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
4805
4805
  class: G([{ "text-sm": t.small, "text-base": !t.small }, "mb-2 wpic-form-label text-gray-500 dark:text-gray-500 flex items-center justify-between"])
4806
4806
  }, [
4807
4807
  $("div", Rk, [
4808
- $("span", null, ye(l.value), 1),
4808
+ $("span", null, be(l.value), 1),
4809
4809
  t.required && !t.hideRequired ? (b(), S("span", _k, "*")) : Q("", !0),
4810
4810
  $("div", jk, [
4811
4811
  t.info ? (b(), me(mr, {
@@ -4859,7 +4859,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
4859
4859
  class: G(["text-base cursor-pointer select-none text-gray-600 dark:text-gray-500", { "!text-gray-500/50 dark:text-gray-700/50": t.disabled }])
4860
4860
  }, [
4861
4861
  Me(L.$slots, "default", {}, () => [
4862
- Ie(ye(l.value), 1)
4862
+ Ie(be(l.value), 1)
4863
4863
  ])
4864
4864
  ], 2)
4865
4865
  ], 2)
@@ -4899,7 +4899,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
4899
4899
  l.value ? (b(), S("span", {
4900
4900
  key: 0,
4901
4901
  class: G(["text-base", { "opacity-50": t.disabled }])
4902
- }, ye(l.value), 3)) : Q("", !0)
4902
+ }, be(l.value), 3)) : Q("", !0)
4903
4903
  ], 2)
4904
4904
  ]),
4905
4905
  _: 1
@@ -5088,7 +5088,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
5088
5088
  t.error && P(a) ? (b(), S("div", Kk, [
5089
5089
  le(P(cg), { name: s.value }, {
5090
5090
  default: xe((J) => [
5091
- Ie(ye(J.message), 1)
5091
+ Ie(be(J.message), 1)
5092
5092
  ]),
5093
5093
  _: 1
5094
5094
  }, 8, ["name"])
@@ -5098,7 +5098,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
5098
5098
  class: G(["text-base mt-1", { "ml-7": t.type == "checkbox", "opacity-50": t.disabled }])
5099
5099
  }, [
5100
5100
  Me(L.$slots, "help", {}, () => [
5101
- Ie(ye(t.help), 1)
5101
+ Ie(be(t.help), 1)
5102
5102
  ])
5103
5103
  ], 2)) : Q("", !0)
5104
5104
  ], 2));
@@ -5222,7 +5222,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
5222
5222
  class: G(["text-lg 2xl:text-xl flex items-center", [n[P(ce).theme]]])
5223
5223
  }, [
5224
5224
  Me(r.$slots, "title", {}, () => [
5225
- Ie(ye(t.title), 1)
5225
+ Ie(be(t.title), 1)
5226
5226
  ])
5227
5227
  ], 2)) : Q("", !0),
5228
5228
  $("div", Xk, [
@@ -5264,7 +5264,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
5264
5264
  t.title || n.$slots.title || n.$slots.actions ? (b(), S("div", n5, [
5265
5265
  $("div", r5, [
5266
5266
  Me(n.$slots, "title", {}, () => [
5267
- Ie(ye(t.title), 1)
5267
+ Ie(be(t.title), 1)
5268
5268
  ])
5269
5269
  ]),
5270
5270
  Me(n.$slots, "actions")
@@ -5405,7 +5405,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
5405
5405
  }, null, 8, ["color"]))
5406
5406
  ], 2));
5407
5407
  }
5408
- }), w5 = /* @__PURE__ */ be(x5, [["__scopeId", "data-v-947735f2"]]), k5 = { class: "text-base font-medium select-none" }, S5 = {
5408
+ }), w5 = /* @__PURE__ */ ve(x5, [["__scopeId", "data-v-947735f2"]]), k5 = { class: "text-base font-medium select-none" }, S5 = {
5409
5409
  name: "WpicPaginationItem"
5410
5410
  }, li = /* @__PURE__ */ Object.assign(S5, {
5411
5411
  props: {
@@ -5449,7 +5449,7 @@ const Vk = /* @__PURE__ */ be(Nk, [["render", Pk]]), Rk = { class: "flex items-c
5449
5449
  function $5(t, e) {
5450
5450
  return b(), S("svg", O5, T5);
5451
5451
  }
5452
- const Mf = /* @__PURE__ */ be(C5, [["render", $5]]), A5 = {}, E5 = {
5452
+ const Mf = /* @__PURE__ */ ve(C5, [["render", $5]]), A5 = {}, E5 = {
5453
5453
  xmlns: "http://www.w3.org/2000/svg",
5454
5454
  viewBox: "0 0 20 20",
5455
5455
  fill: "currentColor"
@@ -5463,7 +5463,7 @@ const Mf = /* @__PURE__ */ be(C5, [["render", $5]]), A5 = {}, E5 = {
5463
5463
  function L5(t, e) {
5464
5464
  return b(), S("svg", E5, N5);
5465
5465
  }
5466
- const Tf = /* @__PURE__ */ be(A5, [["render", L5]]), I5 = {}, B5 = {
5466
+ const Tf = /* @__PURE__ */ ve(A5, [["render", L5]]), I5 = {}, B5 = {
5467
5467
  xmlns: "http://www.w3.org/2000/svg",
5468
5468
  viewBox: "0 0 20 20",
5469
5469
  fill: "currentColor"
@@ -5477,7 +5477,7 @@ const Tf = /* @__PURE__ */ be(A5, [["render", L5]]), I5 = {}, B5 = {
5477
5477
  function R5(t, e) {
5478
5478
  return b(), S("svg", B5, V5);
5479
5479
  }
5480
- const $f = /* @__PURE__ */ be(I5, [["render", R5]]), _5 = {}, j5 = {
5480
+ const $f = /* @__PURE__ */ ve(I5, [["render", R5]]), _5 = {}, j5 = {
5481
5481
  xmlns: "http://www.w3.org/2000/svg",
5482
5482
  viewBox: "0 0 20 20",
5483
5483
  fill: "currentColor"
@@ -5491,7 +5491,7 @@ const $f = /* @__PURE__ */ be(I5, [["render", R5]]), _5 = {}, j5 = {
5491
5491
  function H5(t, e) {
5492
5492
  return b(), S("svg", j5, F5);
5493
5493
  }
5494
- const Af = /* @__PURE__ */ be(_5, [["render", H5]]), W5 = { class: "wpic-pagination flex justify-between" }, U5 = {
5494
+ const Af = /* @__PURE__ */ ve(_5, [["render", H5]]), W5 = { class: "wpic-pagination flex justify-between" }, U5 = {
5495
5495
  key: 0,
5496
5496
  class: "flex items-center"
5497
5497
  }, q5 = { class: "font-medium" }, K5 = /* @__PURE__ */ $("span", { class: "px-1" }, "to", -1), Y5 = { class: "font-medium" }, J5 = /* @__PURE__ */ $("span", { class: "px-1" }, "of", -1), G5 = { class: "font-medium" }, Z5 = { class: "pl-1" }, X5 = {
@@ -5511,7 +5511,7 @@ const Af = /* @__PURE__ */ be(_5, [["render", H5]]), W5 = { class: "wpic-paginat
5511
5511
  },
5512
5512
  perPages: {
5513
5513
  type: Boolean,
5514
- default: !0
5514
+ default: !1
5515
5515
  },
5516
5516
  total: Number,
5517
5517
  perPage: {
@@ -5521,29 +5521,18 @@ const Af = /* @__PURE__ */ be(_5, [["render", H5]]), W5 = { class: "wpic-paginat
5521
5521
  currentPage: {
5522
5522
  type: Number,
5523
5523
  default: 1
5524
+ },
5525
+ perPageOptions: {
5526
+ type: Array,
5527
+ default: () => [10, 20, 50, 100, 200]
5524
5528
  }
5525
5529
  },
5526
5530
  emits: ["update:perPage", "update:currentPage", "update:perPage"],
5527
5531
  setup(t, { expose: e, emit: n }) {
5528
- const r = t, i = [{
5529
- value: 10,
5530
- label: "10 per page"
5531
- }, {
5532
- value: 20,
5533
- label: "20 per page"
5534
- }, {
5535
- value: 50,
5536
- label: "50 per page"
5537
- }, {
5538
- value: 100,
5539
- label: "100 per page"
5540
- }, {
5541
- value: 200,
5542
- label: "200 per page"
5543
- }, {
5544
- value: 500,
5545
- label: "500 per page"
5546
- }], o = n, s = de(() => Math.ceil(r.total / r.perPage)), a = de(() => {
5532
+ const r = t, i = de(() => r.perPageOptions.map((f) => ({
5533
+ value: Number(f),
5534
+ label: `${f} per page`
5535
+ }))), o = n, s = de(() => Math.ceil(r.total / r.perPage)), a = de(() => {
5547
5536
  const f = s.value;
5548
5537
  if (!f || f === 1) return [1];
5549
5538
  const h = r.currentPage, p = 1;
@@ -5563,8 +5552,8 @@ const Af = /* @__PURE__ */ be(_5, [["render", H5]]), W5 = { class: "wpic-paginat
5563
5552
  function u() {
5564
5553
  return r.perPage * r.currentPage > r.total ? r.total : r.perPage * r.currentPage;
5565
5554
  }
5566
- function d(f) {
5567
- console.log("### updatePerPage", f), o("update:perPage", f);
5555
+ async function d(f) {
5556
+ o("update:perPage", f), o("update:currentPage", 1);
5568
5557
  }
5569
5558
  return e({
5570
5559
  getStart: c,
@@ -5574,13 +5563,13 @@ const Af = /* @__PURE__ */ be(_5, [["render", H5]]), W5 = { class: "wpic-paginat
5574
5563
  return b(), S("div", W5, [
5575
5564
  t.info ? (b(), S("div", U5, [
5576
5565
  t.total > 0 ? (b(), S($e, { key: 0 }, [
5577
- $("span", q5, ye(c()), 1),
5566
+ $("span", q5, be(c()), 1),
5578
5567
  K5,
5579
- $("span", Y5, ye(u()), 1),
5568
+ $("span", Y5, be(u()), 1),
5580
5569
  t.total ? (b(), S($e, { key: 0 }, [
5581
5570
  J5,
5582
- $("span", G5, ye(t.total), 1),
5583
- $("span", Z5, "result" + ye(t.total > 1 ? "s" : ""), 1)
5571
+ $("span", G5, be(t.total), 1),
5572
+ $("span", Z5, "result" + be(t.total > 1 ? "s" : ""), 1)
5584
5573
  ], 64)) : Q("", !0)
5585
5574
  ], 64)) : Q("", !0)
5586
5575
  ])) : Q("", !0),
@@ -5610,7 +5599,7 @@ const Af = /* @__PURE__ */ be(_5, [["render", H5]]), W5 = { class: "wpic-paginat
5610
5599
  disabled: s.value == 0 || !s.value
5611
5600
  }, {
5612
5601
  default: xe(() => [
5613
- Ie(ye(m), 1)
5602
+ Ie(be(m), 1)
5614
5603
  ]),
5615
5604
  _: 2
5616
5605
  }, 1032, ["onClick", "active", "disabled"]))), 128)),
@@ -5636,13 +5625,8 @@ const Af = /* @__PURE__ */ be(_5, [["render", H5]]), W5 = { class: "wpic-paginat
5636
5625
  key: 0,
5637
5626
  modelValue: t.perPage,
5638
5627
  "onUpdate:modelValue": d,
5639
- options: i
5640
- }, {
5641
- default: xe(() => [
5642
- Ie(ye(t.perPage) + " per page", 1)
5643
- ]),
5644
- _: 1
5645
- }, 8, ["modelValue"])) : Q("", !0)
5628
+ options: i.value
5629
+ }, null, 8, ["modelValue", "options"])) : Q("", !0)
5646
5630
  ])) : Q("", !0)
5647
5631
  ]);
5648
5632
  };
@@ -5666,7 +5650,7 @@ const Bo = Ef, tS = {}, nS = {
5666
5650
  function oS(t, e) {
5667
5651
  return b(), S("svg", nS, iS);
5668
5652
  }
5669
- const sS = /* @__PURE__ */ be(tS, [["render", oS]]), aS = { class: "font-semibold" }, Rc = {
5653
+ const sS = /* @__PURE__ */ ve(tS, [["render", oS]]), aS = { class: "font-semibold" }, Rc = {
5670
5654
  __name: "TotalRow",
5671
5655
  props: {
5672
5656
  columns: Array,
@@ -5731,7 +5715,7 @@ const sS = /* @__PURE__ */ be(tS, [["render", oS]]), aS = { class: "font-semibol
5731
5715
  function fS(t, e) {
5732
5716
  return b(), S("svg", cS, dS);
5733
5717
  }
5734
- const hS = /* @__PURE__ */ be(lS, [["render", fS]]), pS = {}, mS = {
5718
+ const hS = /* @__PURE__ */ ve(lS, [["render", fS]]), pS = {}, mS = {
5735
5719
  xmlns: "http://www.w3.org/2000/svg",
5736
5720
  fill: "none",
5737
5721
  viewBox: "0 0 24 24",
@@ -5747,7 +5731,7 @@ const hS = /* @__PURE__ */ be(lS, [["render", fS]]), pS = {}, mS = {
5747
5731
  function vS(t, e) {
5748
5732
  return b(), S("svg", mS, yS);
5749
5733
  }
5750
- const bS = /* @__PURE__ */ be(pS, [["render", vS]]), xS = { class: "wpic-table" }, wS = {
5734
+ const bS = /* @__PURE__ */ ve(pS, [["render", vS]]), xS = { class: "wpic-table" }, wS = {
5751
5735
  key: 0,
5752
5736
  class: "px-2 py-1 flex justify-end border-b dark:border-gray-900"
5753
5737
  }, kS = { class: "w-full rounded-lg" }, SS = {
@@ -6006,7 +5990,7 @@ const bS = /* @__PURE__ */ be(pS, [["render", vS]]), xS = { class: "wpic-table"
6006
5990
  }, [
6007
5991
  $("span", {
6008
5992
  class: G(["select-none font-medium text-sm", { "text-right": O.align == "right" }])
6009
- }, ye(O.label), 3),
5993
+ }, be(O.label), 3),
6010
5994
  O.sortable && O.field ? (b(), S("span", {
6011
5995
  key: 0,
6012
5996
  class: G(["ml-1", { "opacity-25": O.field != ((B = t.sortOptions) == null ? void 0 : B.sortBy) }])
@@ -10628,7 +10612,7 @@ class ke {
10628
10612
  found.
10629
10613
  */
10630
10614
  static findFrom(e, n, r = !1) {
10631
- let i = e.parent.inlineContent ? new ve(e) : Or(e.node(0), e.parent, e.pos, e.index(), n, r);
10615
+ let i = e.parent.inlineContent ? new ye(e) : Or(e.node(0), e.parent, e.pos, e.index(), n, r);
10632
10616
  if (i)
10633
10617
  return i;
10634
10618
  for (let o = e.depth - 1; o >= 0; o--) {
@@ -10695,7 +10679,7 @@ class ke {
10695
10679
  returns the bookmark for that.
10696
10680
  */
10697
10681
  getBookmark() {
10698
- return ve.between(this.$anchor, this.$head).getBookmark();
10682
+ return ye.between(this.$anchor, this.$head).getBookmark();
10699
10683
  }
10700
10684
  }
10701
10685
  ke.prototype.visible = !0;
@@ -10711,7 +10695,7 @@ let Xc = !1;
10711
10695
  function Qc(t) {
10712
10696
  !Xc && !t.parent.inlineContent && (Xc = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + t.parent.type.name + ")"));
10713
10697
  }
10714
- class ve extends ke {
10698
+ class ye extends ke {
10715
10699
  /**
10716
10700
  Construct a text selection between the given points.
10717
10701
  */
@@ -10730,7 +10714,7 @@ class ve extends ke {
10730
10714
  if (!r.parent.inlineContent)
10731
10715
  return ke.near(r);
10732
10716
  let i = e.resolve(n.map(this.anchor));
10733
- return new ve(i.parent.inlineContent ? i : r, r);
10717
+ return new ye(i.parent.inlineContent ? i : r, r);
10734
10718
  }
10735
10719
  replace(e, n = Z.empty) {
10736
10720
  if (super.replace(e, n), n == Z.empty) {
@@ -10739,7 +10723,7 @@ class ve extends ke {
10739
10723
  }
10740
10724
  }
10741
10725
  eq(e) {
10742
- return e instanceof ve && e.anchor == this.anchor && e.head == this.head;
10726
+ return e instanceof ye && e.anchor == this.anchor && e.head == this.head;
10743
10727
  }
10744
10728
  getBookmark() {
10745
10729
  return new fs(this.anchor, this.head);
@@ -10753,7 +10737,7 @@ class ve extends ke {
10753
10737
  static fromJSON(e, n) {
10754
10738
  if (typeof n.anchor != "number" || typeof n.head != "number")
10755
10739
  throw new RangeError("Invalid input for TextSelection.fromJSON");
10756
- return new ve(e.resolve(n.anchor), e.resolve(n.head));
10740
+ return new ye(e.resolve(n.anchor), e.resolve(n.head));
10757
10741
  }
10758
10742
  /**
10759
10743
  Create a text selection from non-resolved positions.
@@ -10779,10 +10763,10 @@ class ve extends ke {
10779
10763
  else
10780
10764
  return ke.near(n, r);
10781
10765
  }
10782
- return e.parent.inlineContent || (i == 0 ? e = n : (e = (ke.findFrom(e, -r, !0) || ke.findFrom(e, r, !0)).$anchor, e.pos < n.pos != i < 0 && (e = n))), new ve(e, n);
10766
+ return e.parent.inlineContent || (i == 0 ? e = n : (e = (ke.findFrom(e, -r, !0) || ke.findFrom(e, r, !0)).$anchor, e.pos < n.pos != i < 0 && (e = n))), new ye(e, n);
10783
10767
  }
10784
10768
  }
10785
- ke.jsonID("text", ve);
10769
+ ke.jsonID("text", ye);
10786
10770
  class fs {
10787
10771
  constructor(e, n) {
10788
10772
  this.anchor = e, this.head = n;
@@ -10791,7 +10775,7 @@ class fs {
10791
10775
  return new fs(e.map(this.anchor), e.map(this.head));
10792
10776
  }
10793
10777
  resolve(e) {
10794
- return ve.between(e.resolve(this.anchor), e.resolve(this.head));
10778
+ return ye.between(e.resolve(this.anchor), e.resolve(this.head));
10795
10779
  }
10796
10780
  }
10797
10781
  class ue extends ke {
@@ -10901,7 +10885,7 @@ const DC = {
10901
10885
  };
10902
10886
  function Or(t, e, n, r, i, o = !1) {
10903
10887
  if (e.inlineContent)
10904
- return ve.create(t, n);
10888
+ return ye.create(t, n);
10905
10889
  for (let s = r - (i > 0 ? 0 : 1); i > 0 ? s < e.childCount : s >= 0; s += i) {
10906
10890
  let a = e.child(s);
10907
10891
  if (a.isAtom) {
@@ -12292,7 +12276,7 @@ class Dn extends eo {
12292
12276
  }
12293
12277
  localCompositionInfo(e, n) {
12294
12278
  let { from: r, to: i } = e.state.selection;
12295
- if (!(e.state.selection instanceof ve) || r < n || i > n + this.node.content.size)
12279
+ if (!(e.state.selection instanceof ye) || r < n || i > n + this.node.content.size)
12296
12280
  return null;
12297
12281
  let o = e.input.compositionNode;
12298
12282
  if (!o || !this.dom.contains(o.parentNode))
@@ -12851,7 +12835,7 @@ function pn(t, e = !1) {
12851
12835
  pO(t);
12852
12836
  else {
12853
12837
  let { anchor: r, head: i } = n, o, s;
12854
- mu && !(n instanceof ve) && (n.$from.parent.inlineContent || (o = gu(t, n.from)), !n.empty && !n.$from.parent.inlineContent && (s = gu(t, n.to))), t.docView.setSelection(r, i, t, e), mu && (o && yu(o), s && yu(s)), n.visible ? t.dom.classList.remove("ProseMirror-hideselection") : (t.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && hO(t));
12838
+ mu && !(n instanceof ye) && (n.$from.parent.inlineContent || (o = gu(t, n.from)), !n.empty && !n.$from.parent.inlineContent && (s = gu(t, n.to))), t.docView.setSelection(r, i, t, e), mu && (o && yu(o), s && yu(s)), n.visible ? t.dom.classList.remove("ProseMirror-hideselection") : (t.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && hO(t));
12855
12839
  }
12856
12840
  t.domObserver.setCurSelection(), t.domObserver.connectSelection();
12857
12841
  }
@@ -12902,7 +12886,7 @@ function vu(t) {
12902
12886
  t.lastSelectedViewDesc && (t.lastSelectedViewDesc.parent && t.lastSelectedViewDesc.deselectNode(), t.lastSelectedViewDesc = void 0);
12903
12887
  }
12904
12888
  function yl(t, e, n, r) {
12905
- return t.someProp("createSelectionBetween", (i) => i(t, e, n)) || ve.between(e, n, r);
12889
+ return t.someProp("createSelectionBetween", (i) => i(t, e, n)) || ye.between(e, n, r);
12906
12890
  }
12907
12891
  function bu(t) {
12908
12892
  return t.editable && !t.hasFocus() ? !1 : Oh(t);
@@ -12930,13 +12914,13 @@ function kn(t, e) {
12930
12914
  }
12931
12915
  function xu(t, e, n) {
12932
12916
  let r = t.state.selection;
12933
- if (r instanceof ve)
12917
+ if (r instanceof ye)
12934
12918
  if (n.indexOf("s") > -1) {
12935
12919
  let { $head: i } = r, o = i.textOffset ? null : e < 0 ? i.nodeBefore : i.nodeAfter;
12936
12920
  if (!o || o.isText || !o.isLeaf)
12937
12921
  return !1;
12938
12922
  let s = t.state.doc.resolve(i.pos + o.nodeSize * (e < 0 ? -1 : 1));
12939
- return kn(t, new ve(r.$anchor, s));
12923
+ return kn(t, new ye(r.$anchor, s));
12940
12924
  } else if (r.empty) {
12941
12925
  if (t.endOfTextblock(e > 0 ? "forward" : "backward")) {
12942
12926
  let i = Ia(t.state, e);
@@ -12946,12 +12930,12 @@ function xu(t, e, n) {
12946
12930
  if (!o || o.isText)
12947
12931
  return !1;
12948
12932
  let a = e < 0 ? i.pos - o.nodeSize : i.pos;
12949
- return o.isAtom || (s = t.docView.descAt(a)) && !s.contentDOM ? ue.isSelectable(o) ? kn(t, new ue(e < 0 ? t.state.doc.resolve(i.pos - o.nodeSize) : i)) : Qi ? kn(t, new ve(t.state.doc.resolve(e < 0 ? a : a + o.nodeSize))) : !1 : !1;
12933
+ return o.isAtom || (s = t.docView.descAt(a)) && !s.contentDOM ? ue.isSelectable(o) ? kn(t, new ue(e < 0 ? t.state.doc.resolve(i.pos - o.nodeSize) : i)) : Qi ? kn(t, new ye(t.state.doc.resolve(e < 0 ? a : a + o.nodeSize))) : !1 : !1;
12950
12934
  }
12951
12935
  } else return !1;
12952
12936
  else {
12953
12937
  if (r instanceof ue && r.node.isInline)
12954
- return kn(t, new ve(e > 0 ? r.$to : r.$from));
12938
+ return kn(t, new ye(e > 0 ? r.$to : r.$from));
12955
12939
  {
12956
12940
  let i = Ia(t.state, e);
12957
12941
  return i ? kn(t, i) : !1;
@@ -13101,7 +13085,7 @@ function wu(t, e) {
13101
13085
  }
13102
13086
  function ku(t, e, n) {
13103
13087
  let r = t.state.selection;
13104
- if (r instanceof ve && !r.empty || n.indexOf("s") > -1 || $t && n.indexOf("m") > -1)
13088
+ if (r instanceof ye && !r.empty || n.indexOf("s") > -1 || $t && n.indexOf("m") > -1)
13105
13089
  return !1;
13106
13090
  let { $from: i, $to: o } = r;
13107
13091
  if (!i.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) {
@@ -13116,7 +13100,7 @@ function ku(t, e, n) {
13116
13100
  return !1;
13117
13101
  }
13118
13102
  function Su(t, e) {
13119
- if (!(t.state.selection instanceof ve))
13103
+ if (!(t.state.selection instanceof ye))
13120
13104
  return !0;
13121
13105
  let { $head: n, $anchor: r, empty: i } = t.state.selection;
13122
13106
  if (!n.sameParent(r))
@@ -13432,7 +13416,7 @@ ct.keypress = (t, e) => {
13432
13416
  return;
13433
13417
  }
13434
13418
  let r = t.state.selection;
13435
- if (!(r instanceof ve) || !r.$from.sameParent(r.$to)) {
13419
+ if (!(r instanceof ye) || !r.$from.sameParent(r.$to)) {
13436
13420
  let i = String.fromCharCode(n.charCode);
13437
13421
  !/[\r\n]/.test(i) && !t.someProp("handleTextInput", (o) => o(t, r.$from.pos, r.$to.pos, i)) && t.dispatch(t.state.tr.insertText(i).scrollIntoView()), n.preventDefault();
13438
13422
  }
@@ -13494,12 +13478,12 @@ function zO(t, e, n) {
13494
13478
  return !1;
13495
13479
  let r = t.state.doc;
13496
13480
  if (e == -1)
13497
- return r.inlineContent ? (Br(t, ve.create(r, 0, r.content.size)), !0) : !1;
13481
+ return r.inlineContent ? (Br(t, ye.create(r, 0, r.content.size)), !0) : !1;
13498
13482
  let i = r.resolve(e);
13499
13483
  for (let o = i.depth + 1; o > 0; o--) {
13500
13484
  let s = o > i.depth ? i.nodeAfter : i.node(o), a = i.before(o);
13501
13485
  if (s.inlineContent)
13502
- Br(t, ve.create(r, a + 1, a + 1 + s.content.size));
13486
+ Br(t, ye.create(r, a + 1, a + 1 + s.content.size));
13503
13487
  else if (ue.isSelectable(s))
13504
13488
  Br(t, ue.create(r, a));
13505
13489
  else
@@ -13580,7 +13564,7 @@ ct.compositionstart = ct.compositionupdate = (t) => {
13580
13564
  if (!t.composing) {
13581
13565
  t.domObserver.flush();
13582
13566
  let { state: e } = t, n = e.selection.$to;
13583
- if (e.selection instanceof ve && (e.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1)))
13567
+ if (e.selection instanceof ye && (e.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1)))
13584
13568
  t.markCursor = t.state.storedMarks || n.marks(), Ho(t, !0), t.markCursor = null;
13585
13569
  else if (Ho(t, !e.selection.empty), jt && e.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
13586
13570
  let r = t.domSelectionRange();
@@ -14556,7 +14540,7 @@ function a3(t, e, n, r, i) {
14556
14540
  return;
14557
14541
  }
14558
14542
  if (!p)
14559
- if (r && l instanceof ve && !l.empty && l.$head.sameParent(l.$anchor) && !t.composing && !(c.sel && c.sel.anchor != c.sel.head))
14543
+ if (r && l instanceof ye && !l.empty && l.$head.sameParent(l.$anchor) && !t.composing && !(c.sel && c.sel.anchor != c.sel.head))
14560
14544
  p = { start: l.from, endA: l.to, endB: l.to };
14561
14545
  else {
14562
14546
  if (c.sel) {
@@ -14568,7 +14552,7 @@ function a3(t, e, n, r, i) {
14568
14552
  }
14569
14553
  return;
14570
14554
  }
14571
- t.state.selection.from < t.state.selection.to && p.start == p.endB && t.state.selection instanceof ve && (p.start > t.state.selection.from && p.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? p.start = t.state.selection.from : p.endA < t.state.selection.to && p.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (p.endB += t.state.selection.to - p.endA, p.endA = t.state.selection.to)), ht && En <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
14555
+ t.state.selection.from < t.state.selection.to && p.start == p.endB && t.state.selection instanceof ye && (p.start > t.state.selection.from && p.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? p.start = t.state.selection.from : p.endA < t.state.selection.to && p.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (p.endB += t.state.selection.to - p.endA, p.endA = t.state.selection.to)), ht && En <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
14572
14556
  let m = c.doc.resolveNoCache(p.start - c.from), g = c.doc.resolveNoCache(p.endB - c.from), y = u.resolve(p.start), w = m.sameParent(g) && m.parent.inlineContent && y.end() >= p.endA, E;
14573
14557
  if ((Fr && t.input.lastIOSEnter > Date.now() - 225 && (!w || i.some((R) => R.nodeName == "DIV" || R.nodeName == "P")) || !w && m.pos < c.doc.content.size && !m.sameParent(g) && (E = ke.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && E.head == g.pos) && t.someProp("handleKeyDown", (R) => R(t, Gn(13, "Enter")))) {
14574
14558
  t.input.lastIOSEnter = 0;
@@ -15279,7 +15263,7 @@ function qh(t, e, n) {
15279
15263
  return !1;
15280
15264
  if (n) {
15281
15265
  let u = t.tr.step(c);
15282
- u.setSelection(ve.create(u.doc, o)), n(u.scrollIntoView());
15266
+ u.setSelection(ye.create(u.doc, o)), n(u.scrollIntoView());
15283
15267
  }
15284
15268
  return !0;
15285
15269
  }
@@ -15421,7 +15405,7 @@ const M3 = (t, e) => {
15421
15405
  return !1;
15422
15406
  if (e) {
15423
15407
  let s = (!r.parentOffset && i.index() < i.parent.childCount ? r : i).pos, a = t.tr.insert(s, o.createAndFill());
15424
- a.setSelection(ve.create(a.doc, s + 1)), e(a.scrollIntoView());
15408
+ a.setSelection(ye.create(a.doc, s + 1)), e(a.scrollIntoView());
15425
15409
  }
15426
15410
  return !0;
15427
15411
  }, Qh = (t, e) => {
@@ -15454,7 +15438,7 @@ function T3(t) {
15454
15438
  o.unshift(null);
15455
15439
  }
15456
15440
  let u = e.tr;
15457
- (e.selection instanceof ve || e.selection instanceof kt) && u.deleteSelection();
15441
+ (e.selection instanceof ye || e.selection instanceof kt) && u.deleteSelection();
15458
15442
  let d = u.mapping.map(r.pos), f = hn(u.doc, d, o.length, o);
15459
15443
  if (f || (o[0] = a ? { type: a } : null, f = hn(u.doc, d, o.length, o)), u.split(d, o.length, o), !l && c && r.node(s).type != a) {
15460
15444
  let h = u.mapping.map(r.before(s)), p = u.doc.resolve(h);
@@ -15518,7 +15502,7 @@ function tp(t) {
15518
15502
  return !1;
15519
15503
  o--;
15520
15504
  }
15521
- return i.node(o).isTextblock ? (n && n(e.tr.setSelection(ve.create(e.doc, t < 0 ? i.start(o) : i.end(o)))), !0) : !1;
15505
+ return i.node(o).isTextblock ? (n && n(e.tr.setSelection(ye.create(e.doc, t < 0 ? i.start(o) : i.end(o)))), !0) : !1;
15522
15506
  };
15523
15507
  }
15524
15508
  const D3 = tp(-1), N3 = tp(1);
@@ -16614,7 +16598,7 @@ const nM = He.create({
16614
16598
  const { state: i } = n, o = i.doc.slice(t.from, t.to);
16615
16599
  r.deleteRange(t.from, t.to);
16616
16600
  const s = r.mapping.map(e);
16617
- return r.insert(s, o.content), r.setSelection(new ve(r.doc.resolve(s - 1))), !0;
16601
+ return r.insert(s, o.content), r.setSelection(new ye(r.doc.resolve(s - 1))), !0;
16618
16602
  }, cM = () => ({ tr: t, dispatch: e }) => {
16619
16603
  const { selection: n } = t, r = n.$anchor.node();
16620
16604
  if (r.content.size > 0)
@@ -16688,7 +16672,7 @@ const mM = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
16688
16672
  if (i) {
16689
16673
  const d = Dl(l, o, e);
16690
16674
  if (d && d.from <= c && d.to >= u) {
16691
- const f = ve.create(s, d.from, d.to);
16675
+ const f = ye.create(s, d.from, d.to);
16692
16676
  n.setSelection(f);
16693
16677
  }
16694
16678
  }
@@ -16701,7 +16685,7 @@ const mM = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
16701
16685
  return !1;
16702
16686
  };
16703
16687
  function Nl(t) {
16704
- return t instanceof ve;
16688
+ return t instanceof ye;
16705
16689
  }
16706
16690
  function fn(t = 0, e = 0, n = 0) {
16707
16691
  return Math.min(Math.max(t, e), n);
@@ -16715,7 +16699,7 @@ function ap(t, e = null) {
16715
16699
  if (e === "end")
16716
16700
  return r;
16717
16701
  const i = n.from, o = r.to;
16718
- return e === "all" ? ve.create(t, fn(0, i, o), fn(t.content.size, i, o)) : ve.create(t, fn(e, i, o), fn(e, i, o));
16702
+ return e === "all" ? ye.create(t, fn(0, i, o), fn(t.content.size, i, o)) : ye.create(t, fn(e, i, o), fn(e, i, o));
16719
16703
  }
16720
16704
  function yM() {
16721
16705
  return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
@@ -17205,7 +17189,7 @@ const tT = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
17205
17189
  return !0;
17206
17190
  }, oT = (t) => ({ tr: e, dispatch: n }) => {
17207
17191
  if (n) {
17208
- const { doc: r } = e, { from: i, to: o } = typeof t == "number" ? { from: t, to: t } : t, s = ve.atStart(r).from, a = ve.atEnd(r).to, l = fn(i, s, a), c = fn(o, s, a), u = ve.create(r, l, c);
17192
+ const { doc: r } = e, { from: i, to: o } = typeof t == "number" ? { from: t, to: t } : t, s = ye.atStart(r).from, a = ye.atEnd(r).to, l = fn(i, s, a), c = fn(o, s, a), u = ye.create(r, l, c);
17209
17193
  e.setSelection(u);
17210
17194
  }
17211
17195
  return !0;
@@ -17239,7 +17223,7 @@ const aT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
17239
17223
  attrs: u
17240
17224
  }
17241
17225
  ] : void 0), r) {
17242
- if (p && (o instanceof ve && e.deleteSelection(), e.split(e.mapping.map(a.pos), 1, h), f && !d && !a.parentOffset && a.parent.type !== f)) {
17226
+ if (p && (o instanceof ye && e.deleteSelection(), e.split(e.mapping.map(a.pos), 1, h), f && !d && !a.parentOffset && a.parent.type !== f)) {
17243
17227
  const m = e.mapping.map(a.before()), g = e.doc.resolve(m);
17244
17228
  a.node(-1).canReplaceWith(g.index(), g.index() + 1, f) && e.setNodeMarkup(e.mapping.map(a.before()), f);
17245
17229
  }
@@ -17275,7 +17259,7 @@ const aT = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
17275
17259
  if (I > -1)
17276
17260
  return !1;
17277
17261
  z.isTextblock && z.content.size === 0 && (I = R + 1);
17278
- }), I > -1 && n.setSelection(ve.near(n.doc.resolve(I))), n.scrollIntoView();
17262
+ }), I > -1 && n.setSelection(ye.near(n.doc.resolve(I))), n.scrollIntoView();
17279
17263
  }
17280
17264
  return !0;
17281
17265
  }
@@ -20839,7 +20823,7 @@ const h7 = (t = {}) => {
20839
20823
  if (!n || !o)
20840
20824
  return !1;
20841
20825
  const { tr: s } = t.state;
20842
- return t.state.selection.from === t.state.doc.nodeSize - (1 + t.state.selection.$to.depth * 2) ? s.insert(t.state.selection.from - 1, this.type.create({ language: o })) : s.replaceSelectionWith(this.type.create({ language: o })), s.setSelection(ve.near(s.doc.resolve(Math.max(0, s.selection.from - 2)))), s.insertText(n.replace(/\r\n?/g, `
20826
+ return t.state.selection.from === t.state.doc.nodeSize - (1 + t.state.selection.$to.depth * 2) ? s.insert(t.state.selection.from - 1, this.type.create({ language: o })) : s.replaceSelectionWith(this.type.create({ language: o })), s.setSelection(ye.near(s.doc.resolve(Math.max(0, s.selection.from - 2)))), s.insertText(n.replace(/\r\n?/g, `
20843
20827
  `)), s.setMeta("paste", !0), t.dispatch(s), !0;
20844
20828
  }
20845
20829
  }
@@ -21102,7 +21086,7 @@ function yo(t, e) {
21102
21086
  const n = t == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left";
21103
21087
  return function(r, i, o) {
21104
21088
  let s = r.selection, a = e > 0 ? s.$to : s.$from, l = s.empty;
21105
- if (s instanceof ve) {
21089
+ if (s instanceof ye) {
21106
21090
  if (!o.endOfTextblock(n) || a.depth == 0)
21107
21091
  return !1;
21108
21092
  l = !1, a = r.doc.resolve(e > 0 ? a.after() : a.before());
@@ -21130,7 +21114,7 @@ function R7(t, e) {
21130
21114
  for (let s = r.length - 1; s >= 0; s--)
21131
21115
  i = q.from(r[s].createAndFill(null, i));
21132
21116
  let o = t.state.tr.replace(n.pos, n.pos, new Z(i, 0, 0));
21133
- return o.setSelection(ve.near(o.doc.resolve(n.pos + 1))), t.dispatch(o), !1;
21117
+ return o.setSelection(ye.near(o.doc.resolve(n.pos + 1))), t.dispatch(o), !1;
21134
21118
  }
21135
21119
  function _7(t) {
21136
21120
  if (!(t.selection instanceof Be))
@@ -21643,10 +21627,10 @@ const Rp = Vp(!1, !0), _p = Vp(!0, !0), X7 = He.create({
21643
21627
  if (o) {
21644
21628
  const { $to: a } = i.selection, l = a.end();
21645
21629
  if (a.nodeAfter)
21646
- a.nodeAfter.isTextblock ? i.setSelection(ve.create(i.doc, a.pos + 1)) : a.nodeAfter.isBlock ? i.setSelection(ue.create(i.doc, a.pos)) : i.setSelection(ve.create(i.doc, a.pos));
21630
+ a.nodeAfter.isTextblock ? i.setSelection(ye.create(i.doc, a.pos + 1)) : a.nodeAfter.isBlock ? i.setSelection(ue.create(i.doc, a.pos)) : i.setSelection(ye.create(i.doc, a.pos));
21647
21631
  else {
21648
21632
  const c = (s = a.parent.type.contentMatch.defaultType) === null || s === void 0 ? void 0 : s.create();
21649
- c && (i.insert(l, c), i.setSelection(ve.create(i.doc, l + 1)));
21633
+ c && (i.insert(l, c), i.setSelection(ye.create(i.doc, l + 1)));
21650
21634
  }
21651
21635
  i.scrollIntoView();
21652
21636
  }
@@ -22228,7 +22212,7 @@ const gA = He.create({
22228
22212
  function OA(t, e) {
22229
22213
  return b(), S("svg", kA, CA);
22230
22214
  }
22231
- const MA = /* @__PURE__ */ be(wA, [["render", OA]]), TA = {}, $A = {
22215
+ const MA = /* @__PURE__ */ ve(wA, [["render", OA]]), TA = {}, $A = {
22232
22216
  xmlns: "http://www.w3.org/2000/svg",
22233
22217
  viewBox: "0 0 16 16",
22234
22218
  fill: "currentColor"
@@ -22238,7 +22222,7 @@ const MA = /* @__PURE__ */ be(wA, [["render", OA]]), TA = {}, $A = {
22238
22222
  function DA(t, e) {
22239
22223
  return b(), S("svg", $A, EA);
22240
22224
  }
22241
- const NA = /* @__PURE__ */ be(TA, [["render", DA]]), LA = {}, IA = {
22225
+ const NA = /* @__PURE__ */ ve(TA, [["render", DA]]), LA = {}, IA = {
22242
22226
  xmlns: "http://www.w3.org/2000/svg",
22243
22227
  viewBox: "0 0 16 16",
22244
22228
  fill: "currentColor"
@@ -22252,7 +22236,7 @@ const NA = /* @__PURE__ */ be(TA, [["render", DA]]), LA = {}, IA = {
22252
22236
  function VA(t, e) {
22253
22237
  return b(), S("svg", IA, PA);
22254
22238
  }
22255
- const RA = /* @__PURE__ */ be(LA, [["render", VA]]), _A = {}, jA = {
22239
+ const RA = /* @__PURE__ */ ve(LA, [["render", VA]]), _A = {}, jA = {
22256
22240
  xmlns: "http://www.w3.org/2000/svg",
22257
22241
  viewBox: "0 0 16 16",
22258
22242
  fill: "currentColor"
@@ -22266,7 +22250,7 @@ const RA = /* @__PURE__ */ be(LA, [["render", VA]]), _A = {}, jA = {
22266
22250
  function HA(t, e) {
22267
22251
  return b(), S("svg", jA, FA);
22268
22252
  }
22269
- const WA = /* @__PURE__ */ be(_A, [["render", HA]]), UA = {}, qA = {
22253
+ const WA = /* @__PURE__ */ ve(_A, [["render", HA]]), UA = {}, qA = {
22270
22254
  fill: "currentColor",
22271
22255
  width: "800px",
22272
22256
  height: "800px",
@@ -22281,7 +22265,7 @@ const WA = /* @__PURE__ */ be(_A, [["render", HA]]), UA = {}, qA = {
22281
22265
  function JA(t, e) {
22282
22266
  return b(), S("svg", qA, YA);
22283
22267
  }
22284
- const GA = /* @__PURE__ */ be(UA, [["render", JA]]), ZA = {}, XA = {
22268
+ const GA = /* @__PURE__ */ ve(UA, [["render", JA]]), ZA = {}, XA = {
22285
22269
  fill: "currentColor",
22286
22270
  viewBox: "0 0 1920 1920",
22287
22271
  xmlns: "http://www.w3.org/2000/svg"
@@ -22294,7 +22278,7 @@ const GA = /* @__PURE__ */ be(UA, [["render", JA]]), ZA = {}, XA = {
22294
22278
  function tE(t, e) {
22295
22279
  return b(), S("svg", XA, eE);
22296
22280
  }
22297
- const nE = /* @__PURE__ */ be(ZA, [["render", tE]]), rE = {}, iE = {
22281
+ const nE = /* @__PURE__ */ ve(ZA, [["render", tE]]), rE = {}, iE = {
22298
22282
  fill: "currentColor",
22299
22283
  version: "1.1",
22300
22284
  id: "Capa_1",
@@ -22317,7 +22301,7 @@ const nE = /* @__PURE__ */ be(ZA, [["render", tE]]), rE = {}, iE = {
22317
22301
  function aE(t, e) {
22318
22302
  return b(), S("svg", iE, sE);
22319
22303
  }
22320
- const lE = /* @__PURE__ */ be(rE, [["render", aE]]), cE = {}, uE = {
22304
+ const lE = /* @__PURE__ */ ve(rE, [["render", aE]]), cE = {}, uE = {
22321
22305
  viewBox: "0 0 24 24",
22322
22306
  version: "1.1",
22323
22307
  xmlns: "http://www.w3.org/2000/svg",
@@ -22329,7 +22313,7 @@ const lE = /* @__PURE__ */ be(rE, [["render", aE]]), cE = {}, uE = {
22329
22313
  function hE(t, e) {
22330
22314
  return b(), S("svg", uE, fE);
22331
22315
  }
22332
- const pE = /* @__PURE__ */ be(cE, [["render", hE]]), mE = {}, gE = {
22316
+ const pE = /* @__PURE__ */ ve(cE, [["render", hE]]), mE = {}, gE = {
22333
22317
  viewBox: "0 0 24 24",
22334
22318
  version: "1.1",
22335
22319
  xmlns: "http://www.w3.org/2000/svg",
@@ -22341,7 +22325,7 @@ const pE = /* @__PURE__ */ be(cE, [["render", hE]]), mE = {}, gE = {
22341
22325
  function bE(t, e) {
22342
22326
  return b(), S("svg", gE, vE);
22343
22327
  }
22344
- const xE = /* @__PURE__ */ be(mE, [["render", bE]]), wE = {}, kE = {
22328
+ const xE = /* @__PURE__ */ ve(mE, [["render", bE]]), wE = {}, kE = {
22345
22329
  viewBox: "0 0 24 24",
22346
22330
  version: "1.1",
22347
22331
  xmlns: "http://www.w3.org/2000/svg",
@@ -22353,7 +22337,7 @@ const xE = /* @__PURE__ */ be(mE, [["render", bE]]), wE = {}, kE = {
22353
22337
  function OE(t, e) {
22354
22338
  return b(), S("svg", kE, CE);
22355
22339
  }
22356
- const ME = /* @__PURE__ */ be(wE, [["render", OE]]), TE = {}, $E = {
22340
+ const ME = /* @__PURE__ */ ve(wE, [["render", OE]]), TE = {}, $E = {
22357
22341
  xmlns: "http://www.w3.org/2000/svg",
22358
22342
  viewBox: "0 0 16 16",
22359
22343
  fill: "currentColor"
@@ -22367,7 +22351,7 @@ const ME = /* @__PURE__ */ be(wE, [["render", OE]]), TE = {}, $E = {
22367
22351
  function DE(t, e) {
22368
22352
  return b(), S("svg", $E, EE);
22369
22353
  }
22370
- const NE = /* @__PURE__ */ be(TE, [["render", DE]]), LE = {}, IE = {
22354
+ const NE = /* @__PURE__ */ ve(TE, [["render", DE]]), LE = {}, IE = {
22371
22355
  xmlns: "http://www.w3.org/2000/svg",
22372
22356
  viewBox: "0 0 16 16",
22373
22357
  fill: "currentColor"
@@ -22381,7 +22365,7 @@ const NE = /* @__PURE__ */ be(TE, [["render", DE]]), LE = {}, IE = {
22381
22365
  function VE(t, e) {
22382
22366
  return b(), S("svg", IE, PE);
22383
22367
  }
22384
- const RE = /* @__PURE__ */ be(LE, [["render", VE]]), _E = {}, jE = {
22368
+ const RE = /* @__PURE__ */ ve(LE, [["render", VE]]), _E = {}, jE = {
22385
22369
  xmlns: "http://www.w3.org/2000/svg",
22386
22370
  viewBox: "0 0 16 16",
22387
22371
  fill: "currentColor"
@@ -22395,7 +22379,7 @@ const RE = /* @__PURE__ */ be(LE, [["render", VE]]), _E = {}, jE = {
22395
22379
  function HE(t, e) {
22396
22380
  return b(), S("svg", jE, FE);
22397
22381
  }
22398
- const WE = /* @__PURE__ */ be(_E, [["render", HE]]), UE = {}, qE = {
22382
+ const WE = /* @__PURE__ */ ve(_E, [["render", HE]]), UE = {}, qE = {
22399
22383
  xmlns: "http://www.w3.org/2000/svg",
22400
22384
  viewBox: "0 0 16 16",
22401
22385
  fill: "currentColor"
@@ -22409,7 +22393,7 @@ const WE = /* @__PURE__ */ be(_E, [["render", HE]]), UE = {}, qE = {
22409
22393
  function JE(t, e) {
22410
22394
  return b(), S("svg", qE, YE);
22411
22395
  }
22412
- const GE = /* @__PURE__ */ be(UE, [["render", JE]]), ZE = {}, XE = {
22396
+ const GE = /* @__PURE__ */ ve(UE, [["render", JE]]), ZE = {}, XE = {
22413
22397
  xmlns: "http://www.w3.org/2000/svg",
22414
22398
  viewBox: "0 0 16 16",
22415
22399
  fill: "currentColor"
@@ -22423,7 +22407,7 @@ const GE = /* @__PURE__ */ be(UE, [["render", JE]]), ZE = {}, XE = {
22423
22407
  function t4(t, e) {
22424
22408
  return b(), S("svg", XE, e4);
22425
22409
  }
22426
- const n4 = /* @__PURE__ */ be(ZE, [["render", t4]]), r4 = {}, i4 = {
22410
+ const n4 = /* @__PURE__ */ ve(ZE, [["render", t4]]), r4 = {}, i4 = {
22427
22411
  xmlns: "http://www.w3.org/2000/svg",
22428
22412
  viewBox: "0 0 16 16",
22429
22413
  fill: "currentColor"
@@ -22437,7 +22421,7 @@ const n4 = /* @__PURE__ */ be(ZE, [["render", t4]]), r4 = {}, i4 = {
22437
22421
  function a4(t, e) {
22438
22422
  return b(), S("svg", i4, s4);
22439
22423
  }
22440
- const l4 = /* @__PURE__ */ be(r4, [["render", a4]]), c4 = {}, u4 = {
22424
+ const l4 = /* @__PURE__ */ ve(r4, [["render", a4]]), c4 = {}, u4 = {
22441
22425
  fill: "currentColor",
22442
22426
  viewBox: "0 0 24 24",
22443
22427
  xmlns: "http://www.w3.org/2000/svg"
@@ -22458,7 +22442,7 @@ const l4 = /* @__PURE__ */ be(r4, [["render", a4]]), c4 = {}, u4 = {
22458
22442
  function m4(t, e) {
22459
22443
  return b(), S("svg", u4, p4);
22460
22444
  }
22461
- const g4 = /* @__PURE__ */ be(c4, [["render", m4]]), y4 = { class: "py-1 px-1 border-b dark:border-gray-900 dark:bg-gray-810" }, v4 = { class: "flex gap-px" }, b4 = ["onClick"], x4 = {
22445
+ const g4 = /* @__PURE__ */ ve(c4, [["render", m4]]), y4 = { class: "py-1 px-1 border-b dark:border-gray-900 dark:bg-gray-810" }, v4 = { class: "flex gap-px" }, b4 = ["onClick"], x4 = {
22462
22446
  key: 1,
22463
22447
  class: "text-sm"
22464
22448
  }, w4 = {
@@ -22582,7 +22566,7 @@ const g4 = /* @__PURE__ */ be(c4, [["render", m4]]), y4 = { class: "py-1 px-1 bo
22582
22566
  y.icon ? (b(), me(Gr(y.icon), {
22583
22567
  key: 0,
22584
22568
  class: G(["", { "w-3 h-3": y.smallIcon, "w-4 h-4": !y.smallIcon && !y.largeIcon, "w-5 h-5": y.largeIcon }])
22585
- }, null, 8, ["class"])) : (b(), S("span", x4, ye(P(T0).capitalize(y.label)), 1))
22569
+ }, null, 8, ["class"])) : (b(), S("span", x4, be(P(T0).capitalize(y.label)), 1))
22586
22570
  ], 10, b4))), 128))
22587
22571
  ])
22588
22572
  ]),
@@ -22615,7 +22599,7 @@ const g4 = /* @__PURE__ */ be(c4, [["render", m4]]), y4 = { class: "py-1 px-1 bo
22615
22599
  function T4(t, e) {
22616
22600
  return b(), S("svg", C4, M4);
22617
22601
  }
22618
- const $4 = /* @__PURE__ */ be(S4, [["render", T4]]), A4 = {}, E4 = {
22602
+ const $4 = /* @__PURE__ */ ve(S4, [["render", T4]]), A4 = {}, E4 = {
22619
22603
  xmlns: "http://www.w3.org/2000/svg",
22620
22604
  viewBox: "0 0 24 24",
22621
22605
  fill: "none",
@@ -22635,7 +22619,7 @@ const $4 = /* @__PURE__ */ be(S4, [["render", T4]]), A4 = {}, E4 = {
22635
22619
  function L4(t, e) {
22636
22620
  return b(), S("svg", E4, N4);
22637
22621
  }
22638
- const I4 = /* @__PURE__ */ be(A4, [["render", L4]]), B4 = {}, P4 = {
22622
+ const I4 = /* @__PURE__ */ ve(A4, [["render", L4]]), B4 = {}, P4 = {
22639
22623
  xmlns: "http://www.w3.org/2000/svg",
22640
22624
  viewBox: "0 0 24 24",
22641
22625
  fill: "none"
@@ -22672,7 +22656,7 @@ const I4 = /* @__PURE__ */ be(A4, [["render", L4]]), B4 = {}, P4 = {
22672
22656
  function z4(t, e) {
22673
22657
  return b(), S("svg", P4, j4);
22674
22658
  }
22675
- const F4 = /* @__PURE__ */ be(B4, [["render", z4]]), H4 = { class: "flex-1" }, W4 = {
22659
+ const F4 = /* @__PURE__ */ ve(B4, [["render", z4]]), H4 = { class: "flex-1" }, W4 = {
22676
22660
  name: "WpicBadge"
22677
22661
  }, U4 = /* @__PURE__ */ Object.assign(W4, {
22678
22662
  props: {
@@ -22775,7 +22759,7 @@ const F4 = /* @__PURE__ */ be(B4, [["render", z4]]), H4 = { class: "flex-1" }, W
22775
22759
  style: { left: "50%", transform: "translateX(-50%)" }
22776
22760
  }, [
22777
22761
  Me(a.$slots, "default", {}, () => [
22778
- Ie(ye(t.day), 1)
22762
+ Ie(be(t.day), 1)
22779
22763
  ])
22780
22764
  ], 2)
22781
22765
  ], 6)
@@ -23329,7 +23313,7 @@ const G4 = /* @__PURE__ */ Ji(J4), Z4 = { class: "w-full dark:text-gray-400" },
23329
23313
  (b(!0), S($e, null, We(ee.value, (Y) => (b(), S("option", {
23330
23314
  key: Y,
23331
23315
  value: Y
23332
- }, ye(Y), 9, nD))), 128))
23316
+ }, be(Y), 9, nD))), 128))
23333
23317
  ], 40, tD),
23334
23318
  $("select", {
23335
23319
  value: r.value[W].month(),
@@ -23339,7 +23323,7 @@ const G4 = /* @__PURE__ */ Ji(J4), Z4 = { class: "w-full dark:text-gray-400" },
23339
23323
  (b(), S($e, null, We(re, (Y, F) => $("option", {
23340
23324
  key: F,
23341
23325
  value: F
23342
- }, ye(Y), 9, iD)), 64))
23326
+ }, be(Y), 9, iD)), 64))
23343
23327
  ], 40, rD)
23344
23328
  ]),
23345
23329
  $("div", oD, [
@@ -23356,7 +23340,7 @@ const G4 = /* @__PURE__ */ Ji(J4), Z4 = { class: "w-full dark:text-gray-400" },
23356
23340
  $("div", sD, [
23357
23341
  (b(), S($e, null, We(7, (Y) => {
23358
23342
  var F;
23359
- return $("div", aD, ye((F = r.value[W]) == null ? void 0 : F.clone().startOf("week").subtract(1, "days").add(Y, "days").format("ddd")), 1);
23343
+ return $("div", aD, be((F = r.value[W]) == null ? void 0 : F.clone().startOf("week").subtract(1, "days").add(Y, "days").format("ddd")), 1);
23360
23344
  }), 64))
23361
23345
  ]),
23362
23346
  $("div", {
@@ -23368,7 +23352,7 @@ const G4 = /* @__PURE__ */ Ji(J4), Z4 = { class: "w-full dark:text-gray-400" },
23368
23352
  off: ""
23369
23353
  }, {
23370
23354
  default: xe(() => [
23371
- Ie(ye(P(U)(Y).format("D")), 1)
23355
+ Ie(be(P(U)(Y).format("D")), 1)
23372
23356
  ]),
23373
23357
  _: 2
23374
23358
  }, 1032, ["onClick"]))), 256)) : Q("", !0),
@@ -23385,7 +23369,7 @@ const G4 = /* @__PURE__ */ Ji(J4), Z4 = { class: "w-full dark:text-gray-400" },
23385
23369
  highlight: oe(Y)
23386
23370
  }, {
23387
23371
  default: xe(() => [
23388
- Ie(ye(P(U)(Y).format("D")), 1)
23372
+ Ie(be(P(U)(Y).format("D")), 1)
23389
23373
  ]),
23390
23374
  _: 2
23391
23375
  }, 1032, ["onMouseover", "onClick", "today", "selected", "firstDay", "lastDay", "between", "disabled", "off", "highlight"]))), 256)),
@@ -23394,7 +23378,7 @@ const G4 = /* @__PURE__ */ Ji(J4), Z4 = { class: "w-full dark:text-gray-400" },
23394
23378
  off: ""
23395
23379
  }, {
23396
23380
  default: xe(() => [
23397
- Ie(ye(P(U)(Y).format("D")), 1)
23381
+ Ie(be(P(U)(Y).format("D")), 1)
23398
23382
  ]),
23399
23383
  _: 2
23400
23384
  }, 1032, ["onClick"]))), 256)) : Q("", !0)
@@ -23419,7 +23403,7 @@ const G4 = /* @__PURE__ */ Ji(J4), Z4 = { class: "w-full dark:text-gray-400" },
23419
23403
  function hD(t, e) {
23420
23404
  return b(), S("svg", uD, fD);
23421
23405
  }
23422
- const Hp = /* @__PURE__ */ be(cD, [["render", hD]]), pD = {}, mD = {
23406
+ const Hp = /* @__PURE__ */ ve(cD, [["render", hD]]), pD = {}, mD = {
23423
23407
  xmlns: "http://www.w3.org/2000/svg",
23424
23408
  fill: "none",
23425
23409
  viewBox: "0 0 24 24",
@@ -23435,7 +23419,7 @@ const Hp = /* @__PURE__ */ be(cD, [["render", hD]]), pD = {}, mD = {
23435
23419
  function vD(t, e) {
23436
23420
  return b(), S("svg", mD, yD);
23437
23421
  }
23438
- const Wp = /* @__PURE__ */ be(pD, [["render", vD]]), bD = { class: "flex gap-3" }, xD = {
23422
+ const Wp = /* @__PURE__ */ ve(pD, [["render", vD]]), bD = { class: "flex gap-3" }, xD = {
23439
23423
  key: 0,
23440
23424
  class: "w-32 py-2 border-r dark:border-gray-800 flex flex-col gap-3 shrink-0"
23441
23425
  }, wD = ["onClick"], kD = {
@@ -23504,7 +23488,7 @@ const Wp = /* @__PURE__ */ be(pD, [["render", vD]]), bD = { class: "flex gap-3"
23504
23488
  (b(!0), S($e, null, We(s, (c) => (b(), S("div", {
23505
23489
  class: "opacity-50 hover:opacity-100 dark:text-gray-300 cursor-pointer",
23506
23490
  onClick: (u) => c.onClick()
23507
- }, ye(c.text), 9, wD))), 256))
23491
+ }, be(c.text), 9, wD))), 256))
23508
23492
  ])) : Q("", !0),
23509
23493
  le(Ul, {
23510
23494
  doubleMonths: t.doubleMonths,
@@ -23542,7 +23526,7 @@ const Wp = /* @__PURE__ */ be(pD, [["render", vD]]), bD = { class: "flex gap-3"
23542
23526
  }))
23543
23527
  ]),
23544
23528
  default: xe(() => [
23545
- Ie(" " + ye(o.value || t.placeholder), 1)
23529
+ Ie(" " + be(o.value || t.placeholder), 1)
23546
23530
  ]),
23547
23531
  _: 1
23548
23532
  }, 8, ["label", "required", "hideRequired", "slim", "disabled", "large", "info", "clearable"])
@@ -23766,7 +23750,7 @@ const Wp = /* @__PURE__ */ be(pD, [["render", vD]]), bD = { class: "flex gap-3"
23766
23750
  (b(!0), S($e, null, We(d, (p) => (b(), S("div", {
23767
23751
  class: "opacity-50 hover:opacity-100 dark:text-gray-300 cursor-pointer",
23768
23752
  onClick: (m) => p.onClick()
23769
- }, ye(p.text), 9, ID))), 256))
23753
+ }, be(p.text), 9, ID))), 256))
23770
23754
  ])) : Q("", !0),
23771
23755
  le(Ul, {
23772
23756
  doubleMonths: t.doubleMonths,
@@ -23828,7 +23812,7 @@ const Wp = /* @__PURE__ */ be(pD, [["render", vD]]), bD = { class: "flex gap-3"
23828
23812
  })
23829
23813
  }, null, 8, ["modelValue", "disabled"])
23830
23814
  ])) : (b(), S($e, { key: 2 }, [
23831
- Ie(ye(t.placeholder), 1)
23815
+ Ie(be(t.placeholder), 1)
23832
23816
  ], 64)) : (b(), me(ia, {
23833
23817
  key: 0,
23834
23818
  modelValue: c.value,
@@ -23973,7 +23957,7 @@ const Wp = /* @__PURE__ */ be(pD, [["render", vD]]), bD = { class: "flex gap-3"
23973
23957
  $("div", {
23974
23958
  class: G(["px-6 pt-4 pb-4 flex items-center justify-between", { "border-b pb-3 dark:border-gray-900": t.border }])
23975
23959
  }, [
23976
- $("span", jD, ye(t.title), 1),
23960
+ $("span", jD, be(t.title), 1),
23977
23961
  $("span", {
23978
23962
  class: "cursor-pointer",
23979
23963
  onClick: o
@@ -24039,7 +24023,7 @@ const Wp = /* @__PURE__ */ be(pD, [["render", vD]]), bD = { class: "flex gap-3"
24039
24023
  }, {
24040
24024
  default: xe(() => [
24041
24025
  u.labelSlot ? Q("", !0) : (b(), S($e, { key: 0 }, [
24042
- Ie(ye(u.label), 1)
24026
+ Ie(be(u.label), 1)
24043
24027
  ], 64))
24044
24028
  ]),
24045
24029
  _: 2
@@ -24104,7 +24088,7 @@ const Wp = /* @__PURE__ */ be(pD, [["render", vD]]), bD = { class: "flex gap-3"
24104
24088
  function QD(t, e) {
24105
24089
  return b(), S("svg", GD, XD);
24106
24090
  }
24107
- const e6 = /* @__PURE__ */ be(JD, [["render", QD]]), t6 = {}, n6 = {
24091
+ const e6 = /* @__PURE__ */ ve(JD, [["render", QD]]), t6 = {}, n6 = {
24108
24092
  xmlns: "http://www.w3.org/2000/svg",
24109
24093
  fill: "none",
24110
24094
  viewBox: "0 0 24 24",
@@ -24120,7 +24104,7 @@ const e6 = /* @__PURE__ */ be(JD, [["render", QD]]), t6 = {}, n6 = {
24120
24104
  function o6(t, e) {
24121
24105
  return b(), S("svg", n6, i6);
24122
24106
  }
24123
- const s6 = /* @__PURE__ */ be(t6, [["render", o6]]), a6 = {}, l6 = {
24107
+ const s6 = /* @__PURE__ */ ve(t6, [["render", o6]]), a6 = {}, l6 = {
24124
24108
  xmlns: "http://www.w3.org/2000/svg",
24125
24109
  fill: "none",
24126
24110
  viewBox: "0 0 24 24",
@@ -24136,7 +24120,7 @@ const s6 = /* @__PURE__ */ be(t6, [["render", o6]]), a6 = {}, l6 = {
24136
24120
  function d6(t, e) {
24137
24121
  return b(), S("svg", l6, u6);
24138
24122
  }
24139
- const f6 = /* @__PURE__ */ be(a6, [["render", d6]]), h6 = {}, p6 = {
24123
+ const f6 = /* @__PURE__ */ ve(a6, [["render", d6]]), h6 = {}, p6 = {
24140
24124
  xmlns: "http://www.w3.org/2000/svg",
24141
24125
  fill: "none",
24142
24126
  viewBox: "0 0 24 24",
@@ -24152,7 +24136,7 @@ const f6 = /* @__PURE__ */ be(a6, [["render", d6]]), h6 = {}, p6 = {
24152
24136
  function y6(t, e) {
24153
24137
  return b(), S("svg", p6, g6);
24154
24138
  }
24155
- const v6 = /* @__PURE__ */ be(h6, [["render", y6]]), b6 = {
24139
+ const v6 = /* @__PURE__ */ ve(h6, [["render", y6]]), b6 = {
24156
24140
  key: 0,
24157
24141
  class: "w-6 opacity-50"
24158
24142
  }, x6 = { class: "flex-1" }, w6 = {
@@ -24197,7 +24181,7 @@ const v6 = /* @__PURE__ */ be(h6, [["render", y6]]), b6 = {
24197
24181
  })) : Q("", !0)
24198
24182
  ])) : Q("", !0),
24199
24183
  $("div", x6, [
24200
- t.title ? (b(), S("div", w6, ye(t.title), 1)) : Q("", !0),
24184
+ t.title ? (b(), S("div", w6, be(t.title), 1)) : Q("", !0),
24201
24185
  $("span", {
24202
24186
  class: G(["", {
24203
24187
  "": !t.warning && !t.info && !t.error && !t.success,
@@ -24208,7 +24192,7 @@ const v6 = /* @__PURE__ */ be(h6, [["render", y6]]), b6 = {
24208
24192
  }])
24209
24193
  }, [
24210
24194
  Me(e.$slots, "default", {}, () => [
24211
- Ie(ye(t.text), 1)
24195
+ Ie(be(t.text), 1)
24212
24196
  ])
24213
24197
  ], 2)
24214
24198
  ])
@@ -24251,8 +24235,8 @@ const C6 = {
24251
24235
  const { visible: e, title: n, text: r, positive: i, negative: o, onConfirm: s, onCancel: a } = Up();
24252
24236
  return (l, c) => P(e) ? (b(), S("div", C6, [
24253
24237
  $("div", O6, [
24254
- $("div", M6, ye(P(n)), 1),
24255
- $("div", T6, ye(P(r)), 1),
24238
+ $("div", M6, be(P(n)), 1),
24239
+ $("div", T6, be(P(r)), 1),
24256
24240
  $("div", $6, [
24257
24241
  le(Mi, { onClick: P(a) }, {
24258
24242
  default: xe(() => [
@@ -24274,7 +24258,7 @@ const C6 = {
24274
24258
  ])
24275
24259
  ])) : Q("", !0);
24276
24260
  }
24277
- }), D6 = /* @__PURE__ */ be(E6, [["__scopeId", "data-v-613542ab"]]), sa = { WpicColorPicker: Sf, WpicAlert: S6, WpicToggleSwitch: wf, WpicAdvDateField: PD, WpicCalendar: Ul, WpicTextarea: kf, WpicDialog: HD, WpicSlidePanel: RD, WpicDateField: SD, WpicFormInput: Yi, WpicButton: Mi, WpicBadge: U4, WpicTextEditor: k4, WpicInputGroup: Bg, WpicButtonGroup: Dg, WpicForm: Vg, WpicFormField: Cf, WpicSpinner: Zr, WpicTooltip: Of, WpicPopover: mr, WpicChoiceList: xf, WpicCard: t5, WpicCardSection: o5, WpicProgressBar: c5, WpicTag: f5, WpicTagGroup: p5, WpicPagination: eS, WpicLoadingPanel: w5, WpicTable: PS, WpicTableColumn: VS, WpicTabs: qD, WpicTabPane: YD, WpicConfirm: D6 };
24261
+ }), D6 = /* @__PURE__ */ ve(E6, [["__scopeId", "data-v-613542ab"]]), sa = { WpicColorPicker: Sf, WpicAlert: S6, WpicToggleSwitch: wf, WpicAdvDateField: PD, WpicCalendar: Ul, WpicTextarea: kf, WpicDialog: HD, WpicSlidePanel: RD, WpicDateField: SD, WpicFormInput: Yi, WpicButton: Mi, WpicBadge: U4, WpicTextEditor: k4, WpicInputGroup: Bg, WpicButtonGroup: Dg, WpicForm: Vg, WpicFormField: Cf, WpicSpinner: Zr, WpicTooltip: Of, WpicPopover: mr, WpicChoiceList: xf, WpicCard: t5, WpicCardSection: o5, WpicProgressBar: c5, WpicTag: f5, WpicTagGroup: p5, WpicPagination: eS, WpicLoadingPanel: w5, WpicTable: PS, WpicTableColumn: VS, WpicTabs: qD, WpicTabPane: YD, WpicConfirm: D6 };
24278
24262
  function qp(t, e) {
24279
24263
  for (const n in e)
24280
24264
  Object.prototype.hasOwnProperty.call(e, n) && (typeof e[n] == "object" && t[n] ? qp(t[n], e[n]) : t[n] = e[n]);