@dronico/droni-kit 1.21.0 → 1.21.2

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 { getCurrentInstance as Le, defineComponent as P, computed as o, openBlock as t, createBlock as O, resolveDynamicComponent as Q, mergeProps as E, withCtx as W, renderSlot as T, createElementBlock as a, ref as K, watch as ae, normalizeClass as n, createElementVNode as c, toDisplayString as j, createCommentVNode as S, Fragment as A, renderList as F, createTextVNode as I, withDirectives as pe, vShow as ge, useSlots as we, unref as R, createVNode as de, onMounted as me, onBeforeUnmount as fe, Teleport as he, Transition as xe, normalizeStyle as ce, withModifiers as te, nextTick as le, withKeys as ye, reactive as ze, readonly as Ie, TransitionGroup as Ae } from "vue";
1
+ import { getCurrentInstance as Le, defineComponent as P, computed as o, openBlock as t, createBlock as O, resolveDynamicComponent as Q, mergeProps as E, withCtx as W, renderSlot as _, createElementBlock as a, ref as q, watch as ae, normalizeClass as n, createElementVNode as c, withModifiers as ee, toDisplayString as j, createCommentVNode as S, Fragment as I, renderList as F, createTextVNode as A, withDirectives as pe, vShow as ge, useSlots as we, unref as R, createVNode as te, onMounted as me, onBeforeUnmount as fe, Teleport as he, Transition as xe, normalizeStyle as ce, nextTick as le, withKeys as ye, reactive as ze, readonly as Ae, TransitionGroup as Ie } from "vue";
2
2
  function We() {
3
3
  try {
4
4
  const d = Le(), r = d == null ? void 0 : d.appContext.app;
@@ -237,12 +237,12 @@ const Ee = { key: 1 }, Oe = `
237
237
  disabled: r.disabled || r.loading
238
238
  }), {
239
239
  default: W(() => [
240
- r.loading ? (t(), a("span", Ee, "Cargando...")) : T(s.$slots, "default", { key: 0 })
240
+ r.loading ? (t(), a("span", Ee, "Cargando...")) : _(s.$slots, "default", {}, void 0, void 0, 0)
241
241
  ]),
242
242
  _: 3
243
243
  }, 16, ["class", "title", "disabled"]));
244
244
  }
245
- }), Ne = ["href"], Fe = ["accept"], zt = /* @__PURE__ */ P({
245
+ }), Ne = ["accept"], wt = /* @__PURE__ */ P({
246
246
  inheritAttrs: !1,
247
247
  __name: "DuiFile",
248
248
  props: {
@@ -275,9 +275,9 @@ const Ee = { key: 1 }, Oe = `
275
275
  default: !0
276
276
  }
277
277
  },
278
- emits: ["update:modelValue", "open-browser", "upload-file"],
278
+ emits: ["update:modelValue", "open-browser", "upload-file", "open-file"],
279
279
  setup(d, { emit: r }) {
280
- const e = d, b = r, m = K(null), i = K(""), z = {
280
+ const e = d, b = r, m = q(null), i = q(""), z = {
281
281
  sm: "dk:gap-1 dk:px-2 dk:py-1",
282
282
  md: "dk:gap-2 dk:px-3 dk:py-2",
283
283
  lg: "dk:gap-3 dk:px-4 dk:py-3"
@@ -311,13 +311,8 @@ const Ee = { key: 1 }, Oe = `
311
311
  }
312
312
  );
313
313
  function v(l) {
314
- try {
315
- const $ = new URL(l, typeof window < "u" ? window.location.origin : "http://localhost").pathname.split("/").filter(Boolean);
316
- return decodeURIComponent($[$.length - 1] || l);
317
- } catch {
318
- const u = l.split("?")[0].split("#")[0].split("/").filter(Boolean);
319
- return decodeURIComponent(u[u.length - 1] || l);
320
- }
314
+ const u = l.split("/");
315
+ return u[u.length - 1];
321
316
  }
322
317
  function p() {
323
318
  b("open-browser");
@@ -348,10 +343,10 @@ const Ee = { key: 1 }, Oe = `
348
343
  class: n(C.value)
349
344
  }, [
350
345
  c("a", {
351
- href: e.modelValue,
352
- target: "_blank",
346
+ href: "#",
347
+ onClick: u[0] || (u[0] = ee(($) => b("open-file", e.modelValue ?? i.value), ["prevent"])),
353
348
  class: "dk:ml-2 dk:text-pink-500 dk:underline dk:transition-colors dk:hover:text-pink-800 dk:dark:text-pink-400 dk:dark:hover:text-pink-300"
354
- }, j(D.value), 9, Ne)
349
+ }, j(D.value), 1)
355
350
  ], 2)) : S("", !0)
356
351
  ], 2),
357
352
  c("div", {
@@ -366,7 +361,7 @@ const Ee = { key: 1 }, Oe = `
366
361
  title: "Abrir navegador de archivos",
367
362
  onClick: p
368
363
  }, {
369
- default: W(() => [...u[0] || (u[0] = [
364
+ default: W(() => [...u[1] || (u[1] = [
370
365
  c("i", {
371
366
  class: "mdi mdi-folder-search-outline",
372
367
  "aria-hidden": "true"
@@ -383,7 +378,7 @@ const Ee = { key: 1 }, Oe = `
383
378
  title: "Subir nuevo archivo",
384
379
  onClick: k
385
380
  }, {
386
- default: W(() => [...u[1] || (u[1] = [
381
+ default: W(() => [...u[2] || (u[2] = [
387
382
  c("i", {
388
383
  class: "mdi mdi-upload",
389
384
  "aria-hidden": "true"
@@ -400,10 +395,10 @@ const Ee = { key: 1 }, Oe = `
400
395
  class: "dk:hidden",
401
396
  accept: e.accept,
402
397
  onChange: f
403
- }, null, 40, Fe)
398
+ }, null, 40, Ne)
404
399
  ], 2));
405
400
  }
406
- }), Ue = ["value"], Ke = `
401
+ }), Fe = ["value"], Ke = `
407
402
  dk:border-b
408
403
  dk:border-zinc-300
409
404
  dk:bg-zinc-50
@@ -415,7 +410,7 @@ const Ee = { key: 1 }, Oe = `
415
410
  dk:dark:bg-zinc-800
416
411
  dk:dark:text-zinc-100
417
412
  dk:dark:focus:bg-zinc-700
418
- dk:dark:[color-scheme:dark]`, Ct = /* @__PURE__ */ P({
413
+ dk:dark:[color-scheme:dark]`, zt = /* @__PURE__ */ P({
419
414
  inheritAttrs: !1,
420
415
  __name: "DuiInput",
421
416
  props: {
@@ -461,7 +456,7 @@ const Ee = { key: 1 }, Oe = `
461
456
  return (s, g) => (t(), a("input", E({
462
457
  class: y.value,
463
458
  value: d.modelValue
464
- }, s.$attrs, { onInput: m }), null, 16, Ue));
459
+ }, s.$attrs, { onInput: m }), null, 16, Fe));
465
460
  }
466
461
  }), qe = ["value"], He = `
467
462
  dk:border-b
@@ -475,7 +470,7 @@ const Ee = { key: 1 }, Oe = `
475
470
  dk:dark:bg-zinc-800
476
471
  dk:dark:text-zinc-100
477
472
  dk:dark:focus:bg-zinc-700
478
- dk:dark:[color-scheme:dark]`, $t = /* @__PURE__ */ P({
473
+ dk:dark:[color-scheme:dark]`, Ct = /* @__PURE__ */ P({
479
474
  inheritAttrs: !1,
480
475
  __name: "DuiTextarea",
481
476
  props: {
@@ -539,12 +534,12 @@ const Ee = { key: 1 }, Oe = `
539
534
  onInput: m
540
535
  }), null, 16, qe));
541
536
  }
542
- }), Qe = {
537
+ }), Ue = {
543
538
  key: 0,
544
539
  disabled: "",
545
540
  selected: "",
546
541
  hidden: ""
547
- }, Ge = ["value", "selected"], Je = `
542
+ }, Qe = ["value", "selected"], Ge = `
548
543
  dk:border-b
549
544
  dk:border-zinc-300
550
545
  dk:bg-zinc-50
@@ -557,7 +552,7 @@ const Ee = { key: 1 }, Oe = `
557
552
  dk:dark:text-zinc-100
558
553
  dk:dark:focus:bg-zinc-700
559
554
  dk:dark:[color-scheme:dark]
560
- `, St = /* @__PURE__ */ P({
555
+ `, $t = /* @__PURE__ */ P({
561
556
  inheritAttrs: !1,
562
557
  __name: "DuiSelect",
563
558
  props: {
@@ -614,24 +609,24 @@ const Ee = { key: 1 }, Oe = `
614
609
  none: "dk:rounded-none"
615
610
  }, y = o(() => {
616
611
  const s = i[e.size] || "", g = e.block ? "dk:w-full" : "", h = z[e.rounded] || "";
617
- return [Je, s, g, h].join(" ");
612
+ return [Ge, s, g, h].join(" ");
618
613
  });
619
614
  return (s, g) => (t(), a("select", E(s.$attrs, {
620
615
  class: y.value,
621
616
  onChange: m
622
617
  }), [
623
- d.placeholder ? (t(), a("option", Qe, j(d.placeholder), 1)) : S("", !0),
624
- (t(!0), a(A, null, F(d.options, (h, x) => (t(), a("option", {
618
+ d.placeholder ? (t(), a("option", Ue, j(d.placeholder), 1)) : S("", !0),
619
+ (t(!0), a(I, null, F(d.options, (h, x) => (t(), a("option", {
625
620
  key: x,
626
621
  value: h[d.itemValue] ?? "",
627
622
  selected: h[d.itemValue] == d.modelValue
628
- }, j(h[d.itemLabel] ?? ""), 9, Ge))), 128))
623
+ }, j(h[d.itemLabel] ?? ""), 9, Qe))), 128))
629
624
  ], 16));
630
625
  }
631
- }), Xe = {
626
+ }), Je = {
632
627
  key: 1,
633
628
  class: "dk:text-rose-500 dk:ml-1"
634
- }, Ye = { class: "tooltip-container tooltip-above dk:z-50 dk:text-xs dk:rounded dk:py-2 dk:px-3 dk:transition-all dk:duration-200 dk:min-w-[250px] dk:max-w-xs dk:shadow-lg dk:pointer-events-none" }, Ze = "dk:space-y-1", Re = /* @__PURE__ */ P({
629
+ }, Xe = { class: "tooltip-container tooltip-above dk:z-50 dk:text-xs dk:rounded dk:py-2 dk:px-3 dk:transition-all dk:duration-200 dk:min-w-[250px] dk:max-w-xs dk:shadow-lg dk:pointer-events-none" }, Ye = "dk:space-y-1", Ze = /* @__PURE__ */ P({
635
630
  __name: "DuiLabel",
636
631
  props: {
637
632
  title: {
@@ -660,7 +655,7 @@ const Ee = { key: 1 }, Oe = `
660
655
  }
661
656
  },
662
657
  setup(d) {
663
- const r = K(!1), e = d, b = {
658
+ const r = q(!1), e = d, b = {
664
659
  s: "dk:text-sm",
665
660
  m: "dk:text-base",
666
661
  l: "dk:text-lg"
@@ -672,7 +667,7 @@ const Ee = { key: 1 }, Oe = `
672
667
  s: "dk:text-xs",
673
668
  m: "dk:text-sm",
674
669
  l: "dk:text-base"
675
- }, z = o(() => [Ze].join(" ")), y = o(() => {
670
+ }, z = o(() => [Ye].join(" ")), y = o(() => {
676
671
  const h = b[e.size] || b.m, x = "dk:block dk:font-medium dk:text-zinc-700 dk:dark:text-zinc-200 dk:flex dk:items-center", C = e.helpText ? "dk:cursor-help" : "";
677
672
  return [x, h, C].join(" ");
678
673
  }), s = o(() => [m[e.size] || m.m].join(" ")), g = o(() => ["dk:text-rose-600 dk:dark:text-rose-400 dk:flex dk:items-center dk:mt-1", i[e.size] || i.m].join(" "));
@@ -692,11 +687,11 @@ const Ee = { key: 1 }, Oe = `
692
687
  key: 0,
693
688
  class: n([d.icon, "dk:mr-2"])
694
689
  }, null, 2)) : S("", !0),
695
- I(" " + j(d.title) + " ", 1),
696
- d.required ? (t(), a("span", Xe, "*")) : S("", !0)
690
+ A(" " + j(d.title) + " ", 1),
691
+ d.required ? (t(), a("span", Je, "*")) : S("", !0)
697
692
  ], 2),
698
- pe(c("div", Ye, [
699
- I(j(d.helpText) + " ", 1),
693
+ pe(c("div", Xe, [
694
+ A(j(d.helpText) + " ", 1),
700
695
  x[2] || (x[2] = c("div", { class: "tooltip-arrow tooltip-arrow-down" }, null, -1))
701
696
  ], 512), [
702
697
  [ge, r.value && d.helpText]
@@ -705,14 +700,14 @@ const Ee = { key: 1 }, Oe = `
705
700
  c("div", {
706
701
  class: n(s.value)
707
702
  }, [
708
- T(h.$slots, "default", {}, void 0, !0)
703
+ _(h.$slots, "default", {}, void 0, !0)
709
704
  ], 2),
710
705
  d.error ? (t(), a("div", {
711
706
  key: 1,
712
707
  class: n(g.value)
713
708
  }, [
714
709
  x[3] || (x[3] = c("span", { class: "dk:inline-flex dk:items-center dk:justify-center dk:w-4 dk:h-4 dk:text-xs dk:bg-rose-500 dk:text-white dk:rounded-full dk:mr-2 dk:flex-shrink-0" }, " ! ", -1)),
715
- I(" " + j(d.error), 1)
710
+ A(" " + j(d.error), 1)
716
711
  ], 2)) : S("", !0)
717
712
  ], 2));
718
713
  }
@@ -721,7 +716,7 @@ const Ee = { key: 1 }, Oe = `
721
716
  for (const [b, m] of r)
722
717
  e[b] = m;
723
718
  return e;
724
- }, jt = /* @__PURE__ */ ne(Re, [["__scopeId", "data-v-aa6b6cdc"]]), ed = { class: "dk:relative dk:inline-flex dk:items-center dk:flex-shrink-0" }, dd = ["checked", "disabled"], Vt = /* @__PURE__ */ P({
719
+ }, St = /* @__PURE__ */ ne(Ze, [["__scopeId", "data-v-aa6b6cdc"]]), Re = { class: "dk:relative dk:inline-flex dk:items-center dk:flex-shrink-0" }, ed = ["checked", "disabled"], jt = /* @__PURE__ */ P({
725
720
  inheritAttrs: !1,
726
721
  __name: "DuiCheckbox",
727
722
  props: {
@@ -829,17 +824,17 @@ const Ee = { key: 1 }, Oe = `
829
824
  key: 0,
830
825
  class: n(h.value)
831
826
  }, [
832
- T(v.$slots, "default", {}, () => [
833
- I(j(d.label), 1)
827
+ _(v.$slots, "default", {}, () => [
828
+ A(j(d.label), 1)
834
829
  ])
835
830
  ], 2)) : S("", !0),
836
- c("span", ed, [
831
+ c("span", Re, [
837
832
  c("input", E({
838
833
  type: "checkbox",
839
834
  class: "dk:sr-only dk:peer",
840
835
  checked: d.modelValue,
841
836
  disabled: d.disabled
842
- }, v.$attrs, { onChange: D }), null, 16, dd),
837
+ }, v.$attrs, { onChange: D }), null, 16, ed),
843
838
  c("span", {
844
839
  class: n(x.value)
845
840
  }, null, 2),
@@ -851,13 +846,13 @@ const Ee = { key: 1 }, Oe = `
851
846
  key: 1,
852
847
  class: n(h.value)
853
848
  }, [
854
- T(v.$slots, "default", {}, () => [
855
- I(j(d.label), 1)
849
+ _(v.$slots, "default", {}, () => [
850
+ A(j(d.label), 1)
856
851
  ])
857
852
  ], 2)) : S("", !0)
858
853
  ], 2));
859
854
  }
860
- }), td = ["aria-labelledby"], rd = ["id"], ad = { class: "dk:relative dk:inline-flex dk:flex-shrink-0" }, od = ["name", "value", "checked", "disabled", "onChange"], Bt = /* @__PURE__ */ P({
855
+ }), dd = ["aria-labelledby"], td = ["id"], rd = { class: "dk:relative dk:inline-flex dk:flex-shrink-0" }, ad = ["name", "value", "checked", "disabled", "onChange"], Vt = /* @__PURE__ */ P({
861
856
  inheritAttrs: !1,
862
857
  __name: "DuiRadio",
863
858
  props: {
@@ -936,12 +931,12 @@ const Ee = { key: 1 }, Oe = `
936
931
  key: 0,
937
932
  id: `rg-label-${R(m)}`,
938
933
  class: n(x.value)
939
- }, j(d.groupLabel), 11, rd)) : S("", !0),
940
- (t(!0), a(A, null, F(d.options, (u) => (t(), a("label", {
934
+ }, j(d.groupLabel), 11, td)) : S("", !0),
935
+ (t(!0), a(I, null, F(d.options, (u) => (t(), a("label", {
941
936
  key: u.value,
942
937
  class: n(C(u.value, u.disabled))
943
938
  }, [
944
- c("span", ad, [
939
+ c("span", rd, [
945
940
  c("input", E({
946
941
  type: "radio",
947
942
  class: "dk:sr-only dk:peer",
@@ -951,7 +946,7 @@ const Ee = { key: 1 }, Oe = `
951
946
  disabled: u.disabled || d.disabled
952
947
  }, { ref_for: !0 }, w.$attrs, {
953
948
  onChange: ($) => i(u.value)
954
- }), null, 16, od),
949
+ }), null, 16, ad),
955
950
  c("span", {
956
951
  class: n(D(u.value))
957
952
  }, null, 2),
@@ -971,19 +966,19 @@ const Ee = { key: 1 }, Oe = `
971
966
  }, j(u.description), 3)) : S("", !0)
972
967
  ], 2)
973
968
  ], 2))), 128))
974
- ], 10, td));
969
+ ], 10, dd));
975
970
  }
976
- }), kd = { class: "dk:relative dk:inline-flex dk:items-center dk:flex-shrink-0" }, nd = ["aria-checked", "checked", "disabled"], sd = {
971
+ }), od = { class: "dk:relative dk:inline-flex dk:items-center dk:flex-shrink-0" }, kd = ["aria-checked", "checked", "disabled"], nd = {
977
972
  key: 0,
978
973
  viewBox: "0 0 12 12",
979
974
  fill: "currentColor",
980
975
  class: "dk:w-2.5 dk:h-2.5"
981
- }, ld = {
976
+ }, sd = {
982
977
  key: 1,
983
978
  viewBox: "0 0 12 12",
984
979
  fill: "none",
985
980
  class: "dk:w-2.5 dk:h-2.5"
986
- }, Mt = /* @__PURE__ */ P({
981
+ }, Bt = /* @__PURE__ */ P({
987
982
  inheritAttrs: !1,
988
983
  __name: "DuiSwitch",
989
984
  props: {
@@ -1099,15 +1094,15 @@ const Ee = { key: 1 }, Oe = `
1099
1094
  key: 0,
1100
1095
  class: n(g.value)
1101
1096
  }, [
1102
- T(k.$slots, "default", {}, () => [
1103
- I(j(d.label), 1)
1097
+ _(k.$slots, "default", {}, () => [
1098
+ A(j(d.label), 1)
1104
1099
  ]),
1105
1100
  d.description ? (t(), a("span", {
1106
1101
  key: 0,
1107
1102
  class: n(h.value)
1108
1103
  }, j(d.description), 3)) : S("", !0)
1109
1104
  ], 2)) : S("", !0),
1110
- c("span", kd, [
1105
+ c("span", od, [
1111
1106
  c("input", E({
1112
1107
  type: "checkbox",
1113
1108
  class: "dk:sr-only dk:peer",
@@ -1115,7 +1110,7 @@ const Ee = { key: 1 }, Oe = `
1115
1110
  "aria-checked": d.modelValue,
1116
1111
  checked: d.modelValue,
1117
1112
  disabled: d.disabled
1118
- }, k.$attrs, { onChange: p }), null, 16, nd),
1113
+ }, k.$attrs, { onChange: p }), null, 16, kd),
1119
1114
  c("span", {
1120
1115
  class: n(x.value)
1121
1116
  }, null, 2),
@@ -1127,7 +1122,7 @@ const Ee = { key: 1 }, Oe = `
1127
1122
  "aria-hidden": "true",
1128
1123
  class: n(v.value)
1129
1124
  }, [
1130
- d.modelValue ? (t(), a("svg", sd, [...f[0] || (f[0] = [
1125
+ d.modelValue ? (t(), a("svg", nd, [...f[0] || (f[0] = [
1131
1126
  c("path", {
1132
1127
  d: "M3.5 6.5l2 2 3-3",
1133
1128
  stroke: "currentColor",
@@ -1136,7 +1131,7 @@ const Ee = { key: 1 }, Oe = `
1136
1131
  "stroke-linejoin": "round",
1137
1132
  fill: "none"
1138
1133
  }, null, -1)
1139
- ])])) : (t(), a("svg", ld, [...f[1] || (f[1] = [
1134
+ ])])) : (t(), a("svg", sd, [...f[1] || (f[1] = [
1140
1135
  c("line", {
1141
1136
  x1: "3",
1142
1137
  y1: "3",
@@ -1163,8 +1158,8 @@ const Ee = { key: 1 }, Oe = `
1163
1158
  key: 1,
1164
1159
  class: n(g.value)
1165
1160
  }, [
1166
- T(k.$slots, "default", {}, () => [
1167
- I(j(d.label), 1)
1161
+ _(k.$slots, "default", {}, () => [
1162
+ A(j(d.label), 1)
1168
1163
  ]),
1169
1164
  d.description ? (t(), a("span", {
1170
1165
  key: 0,
@@ -1173,13 +1168,13 @@ const Ee = { key: 1 }, Oe = `
1173
1168
  ], 2)) : S("", !0)
1174
1169
  ], 2));
1175
1170
  }
1176
- }), id = `
1171
+ }), ld = `
1177
1172
  dk:px-4
1178
1173
  dk:py-3
1179
1174
  dk:text-sm
1180
1175
  dk:leading-relaxed
1181
1176
  dk:max-w-full
1182
- `, Dt = /* @__PURE__ */ P({
1177
+ `, Mt = /* @__PURE__ */ P({
1183
1178
  __name: "DuiAlert",
1184
1179
  props: {
1185
1180
  variant: {
@@ -1234,19 +1229,19 @@ const Ee = { key: 1 }, Oe = `
1234
1229
  }, m = o(() => {
1235
1230
  var s;
1236
1231
  const i = ((s = b[r.variant]) == null ? void 0 : s[r.color]) || "", z = b[r.variant].base || "", y = e[r.rounded] || "";
1237
- return [id, z, i, y].join(" ");
1232
+ return [ld, z, i, y].join(" ");
1238
1233
  });
1239
1234
  return (i, z) => (t(), a("div", {
1240
1235
  class: n(m.value),
1241
1236
  role: "alert"
1242
1237
  }, [
1243
- T(i.$slots, "default")
1238
+ _(i.$slots, "default")
1244
1239
  ], 2));
1245
1240
  }
1246
- }), cd = { class: "dk:relative dk:overflow-x-auto dk:shadow-md dk:sm:rounded-lg" }, ud = { class: "dk:w-full dk:text-sm dk:text-left dk:text-gray-700 dk:dark:text-gray-300" }, bd = { class: "dk:text-xs dk:uppercase dk:bg-gray-100 dk:dark:bg-gray-700 dk:dark:text-gray-200 dk:relative" }, pd = { key: 0 }, gd = ["colspan"], md = {
1241
+ }), id = { class: "dk:relative dk:overflow-x-auto dk:shadow-md dk:sm:rounded-lg" }, cd = { class: "dk:w-full dk:text-sm dk:text-left dk:text-gray-700 dk:dark:text-gray-300" }, ud = { class: "dk:text-xs dk:uppercase dk:bg-gray-100 dk:dark:bg-gray-700 dk:dark:text-gray-200 dk:relative" }, bd = { key: 0 }, pd = ["colspan"], gd = {
1247
1242
  key: 0,
1248
1243
  class: "dk:bg-gray-50 dk:dark:bg-gray-700 dk:border-t dk:border-gray-200 dk:dark:border-gray-600"
1249
- }, fd = ["colspan"], hd = { class: "pagination-container" }, xd = { class: "pagination-info" }, vd = { class: "pagination-buttons" }, yd = { class: "page-numbers" }, wd = ["onClick"], zd = /* @__PURE__ */ P({
1244
+ }, md = ["colspan"], fd = { class: "pagination-container" }, hd = { class: "pagination-info" }, xd = { class: "pagination-buttons" }, vd = { class: "page-numbers" }, yd = ["onClick"], wd = /* @__PURE__ */ P({
1250
1245
  __name: "DuiTable",
1251
1246
  props: {
1252
1247
  columns: {
@@ -1279,51 +1274,51 @@ const Ee = { key: 1 }, Oe = `
1279
1274
  }), z = (y) => {
1280
1275
  e.pagination && y >= 1 && y <= m.value && b("paginate", y);
1281
1276
  };
1282
- return (y, s) => (t(), a("div", cd, [
1283
- c("table", ud, [
1284
- c("thead", bd, [
1277
+ return (y, s) => (t(), a("div", id, [
1278
+ c("table", cd, [
1279
+ c("thead", ud, [
1285
1280
  c("tr", null, [
1286
- (t(!0), a(A, null, F(e.columns, (g) => (t(), a("th", {
1281
+ (t(!0), a(I, null, F(e.columns, (g) => (t(), a("th", {
1287
1282
  key: g.name,
1288
1283
  class: n(["dk:px-6 dk:py-3", g.classes])
1289
1284
  }, j(g.label), 3))), 128))
1290
1285
  ]),
1291
- e.loading ? (t(), a("tr", pd, [
1286
+ e.loading ? (t(), a("tr", bd, [
1292
1287
  c("td", {
1293
1288
  colspan: e.columns.length,
1294
1289
  class: "dk:p-0"
1295
1290
  }, [...s[2] || (s[2] = [
1296
1291
  c("div", { class: "loading-bar" }, null, -1)
1297
- ])], 8, gd)
1292
+ ])], 8, pd)
1298
1293
  ])) : S("", !0)
1299
1294
  ]),
1300
1295
  c("tbody", {
1301
1296
  class: n({ "is-loading": e.loading })
1302
1297
  }, [
1303
- (t(!0), a(A, null, F(e.rows, (g, h) => (t(), a("tr", {
1298
+ (t(!0), a(I, null, F(e.rows, (g, h) => (t(), a("tr", {
1304
1299
  key: h,
1305
1300
  class: "dk:bg-white dk:border-b dk:border-gray-200 dk:dark:bg-gray-800 dk:dark:border-gray-700 dk:hover:bg-gray-50 dk:dark:hover:bg-gray-600 dk:transition-colors"
1306
1301
  }, [
1307
- (t(!0), a(A, null, F(e.columns, (x) => (t(), a("td", {
1302
+ (t(!0), a(I, null, F(e.columns, (x) => (t(), a("td", {
1308
1303
  key: x.name,
1309
1304
  class: "dk:px-6 dk:py-4 dk:text-gray-900 dk:dark:text-gray-100"
1310
1305
  }, [
1311
- T(y.$slots, x.name, E({ ref_for: !0 }, g), () => [
1312
- I(j(g[x.name]), 1)
1306
+ _(y.$slots, x.name, E({ ref_for: !0 }, g), () => [
1307
+ A(j(g[x.name]), 1)
1313
1308
  ], !0)
1314
1309
  ]))), 128))
1315
1310
  ]))), 128))
1316
1311
  ], 2),
1317
- e.pagination ? (t(), a("tfoot", md, [
1312
+ e.pagination ? (t(), a("tfoot", gd, [
1318
1313
  c("tr", null, [
1319
1314
  c("td", {
1320
1315
  colspan: e.columns.length,
1321
1316
  class: "dk:px-6 dk:py-4"
1322
1317
  }, [
1323
- c("div", hd, [
1324
- c("div", xd, " Página " + j(e.pagination.page) + " de " + j(m.value) + " | " + j(e.pagination.total) + " registros ", 1),
1325
- c("div", vd, [
1326
- de(ie, {
1318
+ c("div", fd, [
1319
+ c("div", hd, " Página " + j(e.pagination.page) + " de " + j(m.value) + " | " + j(e.pagination.total) + " registros ", 1),
1320
+ c("div", xd, [
1321
+ te(ie, {
1327
1322
  variant: "outline",
1328
1323
  color: "neutral",
1329
1324
  size: "sm",
@@ -1331,18 +1326,18 @@ const Ee = { key: 1 }, Oe = `
1331
1326
  disabled: e.pagination.page === 1
1332
1327
  }, {
1333
1328
  default: W(() => [...s[3] || (s[3] = [
1334
- I(" ← Anterior ", -1)
1329
+ A(" ← Anterior ", -1)
1335
1330
  ])]),
1336
1331
  _: 1
1337
1332
  }, 8, ["disabled"]),
1338
- c("div", yd, [
1339
- (t(!0), a(A, null, F(i.value, (g) => (t(), a("button", {
1333
+ c("div", vd, [
1334
+ (t(!0), a(I, null, F(i.value, (g) => (t(), a("button", {
1340
1335
  key: g,
1341
1336
  onClick: (h) => z(g),
1342
1337
  class: n(["page-number", { active: g === e.pagination.page }])
1343
- }, j(g), 11, wd))), 128))
1338
+ }, j(g), 11, yd))), 128))
1344
1339
  ]),
1345
- de(ie, {
1340
+ te(ie, {
1346
1341
  variant: "outline",
1347
1342
  color: "neutral",
1348
1343
  size: "sm",
@@ -1350,19 +1345,19 @@ const Ee = { key: 1 }, Oe = `
1350
1345
  disabled: e.pagination.page === m.value
1351
1346
  }, {
1352
1347
  default: W(() => [...s[4] || (s[4] = [
1353
- I(" Siguiente → ", -1)
1348
+ A(" Siguiente → ", -1)
1354
1349
  ])]),
1355
1350
  _: 1
1356
1351
  }, 8, ["disabled"])
1357
1352
  ])
1358
1353
  ])
1359
- ], 8, fd)
1354
+ ], 8, md)
1360
1355
  ])
1361
1356
  ])) : S("", !0)
1362
1357
  ])
1363
1358
  ]));
1364
1359
  }
1365
- }), _t = /* @__PURE__ */ ne(zd, [["__scopeId", "data-v-60002528"]]), Cd = { key: 1 }, $d = `
1360
+ }), Dt = /* @__PURE__ */ ne(wd, [["__scopeId", "data-v-60002528"]]), zd = { key: 1 }, Cd = `
1366
1361
  dk:transition
1367
1362
  dk:text-center
1368
1363
  dk:disabled:opacity-50
@@ -1572,22 +1567,22 @@ const Ee = { key: 1 }, Oe = `
1572
1567
  }, y = o(() => {
1573
1568
  var C;
1574
1569
  const s = (((C = z[r.variant]) == null ? void 0 : C[r.color]) || "") + " " + z[r.variant].base, g = m[r.size] || "", h = r.block ? "dk:block" : "dk:inline-block", x = i[r.rounded] || "";
1575
- return [$d, s, g, h, x].join(" ");
1570
+ return [Cd, s, g, h, x].join(" ");
1576
1571
  });
1577
1572
  return (s, g) => (t(), O(Q(e.value), E(b.value, {
1578
1573
  class: y.value,
1579
1574
  title: r.title
1580
1575
  }), {
1581
1576
  default: W(() => [
1582
- r.loading ? (t(), a("span", Cd, "Cargando...")) : T(s.$slots, "default", { key: 0 })
1577
+ r.loading ? (t(), a("span", zd, "Cargando...")) : _(s.$slots, "default", {}, void 0, void 0, 0)
1583
1578
  ]),
1584
1579
  _: 3
1585
1580
  }, 16, ["class", "title"]));
1586
1581
  }
1587
- }), Sd = {
1582
+ }), $d = {
1588
1583
  key: 0,
1589
1584
  class: "dk:relative dk:overflow-hidden dk:rounded-t-lg"
1590
- }, jd = ["src", "alt"], Pt = /* @__PURE__ */ P({
1585
+ }, Sd = ["src", "alt"], _t = /* @__PURE__ */ P({
1591
1586
  __name: "DuiCard",
1592
1587
  props: {
1593
1588
  size: { default: "m" },
@@ -1684,14 +1679,14 @@ const Ee = { key: 1 }, Oe = `
1684
1679
  return (p, k) => (t(), a("div", {
1685
1680
  class: n(z.value)
1686
1681
  }, [
1687
- d.image ? (t(), a("div", Sd, [
1682
+ d.image ? (t(), a("div", $d, [
1688
1683
  (t(), O(Q(e()), E(m(), { class: x.value }), {
1689
1684
  default: W(() => [
1690
1685
  c("img", {
1691
1686
  src: d.image,
1692
1687
  alt: d.title || "Card image",
1693
1688
  class: n(y.value)
1694
- }, null, 10, jd)
1689
+ }, null, 10, Sd)
1695
1690
  ]),
1696
1691
  _: 1
1697
1692
  }, 16, ["class"]))
@@ -1705,7 +1700,7 @@ const Ee = { key: 1 }, Oe = `
1705
1700
  }, [
1706
1701
  d.title ? (t(), O(Q(b()), E({ key: 0 }, m(), { class: h.value }), {
1707
1702
  default: W(() => [
1708
- I(j(d.title), 1)
1703
+ A(j(d.title), 1)
1709
1704
  ]),
1710
1705
  _: 1
1711
1706
  }, 16, ["class"])) : S("", !0),
@@ -1718,18 +1713,18 @@ const Ee = { key: 1 }, Oe = `
1718
1713
  key: 1,
1719
1714
  class: n(D.value)
1720
1715
  }, [
1721
- T(p.$slots, "default")
1716
+ _(p.$slots, "default")
1722
1717
  ], 2)) : S("", !0),
1723
1718
  p.$slots.footer ? (t(), a("div", {
1724
1719
  key: 2,
1725
1720
  class: n(v.value)
1726
1721
  }, [
1727
- T(p.$slots, "footer")
1722
+ _(p.$slots, "footer")
1728
1723
  ], 2)) : S("", !0)
1729
1724
  ], 2)
1730
1725
  ], 2));
1731
1726
  }
1732
- }), Vd = ["aria-labelledby", "aria-describedby"], Lt = /* @__PURE__ */ P({
1727
+ }), jd = ["aria-labelledby", "aria-describedby"], Pt = /* @__PURE__ */ P({
1733
1728
  __name: "DuiModal",
1734
1729
  props: {
1735
1730
  modelValue: { type: Boolean, default: !1 },
@@ -1847,7 +1842,7 @@ const Ee = { key: 1 }, Oe = `
1847
1842
  }), fe(() => {
1848
1843
  e.modelValue && f(), typeof window < "u" && window.removeEventListener("keydown", u);
1849
1844
  }), ($, M) => (t(), O(he, { to: "body" }, [
1850
- de(xe, {
1845
+ te(xe, {
1851
1846
  "enter-active-class": "dk:transition-opacity dk:duration-200",
1852
1847
  "leave-active-class": "dk:transition-opacity dk:duration-200",
1853
1848
  "enter-from-class": "dk:opacity-0",
@@ -1869,7 +1864,7 @@ const Ee = { key: 1 }, Oe = `
1869
1864
  "aria-labelledby": e.title ? i : void 0,
1870
1865
  "aria-describedby": e.description ? z : void 0,
1871
1866
  class: n(C.value),
1872
- onClick: M[1] || (M[1] = te(() => {
1867
+ onClick: M[1] || (M[1] = ee(() => {
1873
1868
  }, ["stop"]))
1874
1869
  }, [
1875
1870
  $.$slots.header || e.title || e.description || e.showClose ? (t(), a("header", {
@@ -1877,7 +1872,7 @@ const Ee = { key: 1 }, Oe = `
1877
1872
  class: n(D.value)
1878
1873
  }, [
1879
1874
  c("div", null, [
1880
- T($.$slots, "header", {}, () => [
1875
+ _($.$slots, "header", {}, () => [
1881
1876
  e.title ? (t(), a("h2", {
1882
1877
  key: 0,
1883
1878
  id: i,
@@ -1903,15 +1898,15 @@ const Ee = { key: 1 }, Oe = `
1903
1898
  c("section", {
1904
1899
  class: n(v.value)
1905
1900
  }, [
1906
- T($.$slots, "default")
1901
+ _($.$slots, "default")
1907
1902
  ], 2),
1908
1903
  $.$slots.footer ? (t(), a("footer", {
1909
1904
  key: 1,
1910
1905
  class: n(p.value)
1911
1906
  }, [
1912
- T($.$slots, "footer")
1907
+ _($.$slots, "footer")
1913
1908
  ], 2)) : S("", !0)
1914
- ], 10, Vd)
1909
+ ], 10, jd)
1915
1910
  ], 2)
1916
1911
  ], 6)) : S("", !0)
1917
1912
  ]),
@@ -1919,7 +1914,7 @@ const Ee = { key: 1 }, Oe = `
1919
1914
  })
1920
1915
  ]));
1921
1916
  }
1922
- }), Bd = ["aria-describedby"], Md = { class: "dk:inline-flex dk:items-center" }, It = /* @__PURE__ */ P({
1917
+ }), Vd = ["aria-describedby"], Bd = { class: "dk:inline-flex dk:items-center" }, Lt = /* @__PURE__ */ P({
1923
1918
  __name: "DuiTooltip",
1924
1919
  props: {
1925
1920
  modelValue: { type: Boolean, default: void 0 },
@@ -1945,7 +1940,7 @@ const Ee = { key: 1 }, Oe = `
1945
1940
  },
1946
1941
  emits: ["update:modelValue", "open", "close"],
1947
1942
  setup(d, { emit: r }) {
1948
- const e = d, b = r, m = K(null), i = K(null), z = K(!1), y = o(() => e.modelValue !== void 0), s = o(() => y.value ? !!e.modelValue : z.value), g = K(e.placement), h = K({ top: 0, left: 0 }), x = K(!1);
1943
+ const e = d, b = r, m = q(null), i = q(null), z = q(!1), y = o(() => e.modelValue !== void 0), s = o(() => y.value ? !!e.modelValue : z.value), g = q(e.placement), h = q({ top: 0, left: 0 }), x = q(!1);
1949
1944
  let C = null, D = null;
1950
1945
  const v = `dui-tooltip-${Math.random().toString(36).slice(2, 10)}`, p = {
1951
1946
  all: "dk:rounded-md",
@@ -1988,14 +1983,14 @@ const Ee = { key: 1 }, Oe = `
1988
1983
  danger: "dk:text-rose-900 dk:border-rose-400 dk:dark:text-rose-100 dk:dark:border-rose-500"
1989
1984
  }
1990
1985
  }, u = o(() => {
1991
- const B = p[e.rounded], V = k[e.size], _ = l[e.variant].base, U = l[e.variant][e.color], N = w(e.maxWidth) ? f[e.maxWidth] : "";
1986
+ const B = p[e.rounded], V = k[e.size], T = l[e.variant].base, K = l[e.variant][e.color], N = w(e.maxWidth) ? f[e.maxWidth] : "";
1992
1987
  return [
1993
1988
  "dk:fixed dk:pointer-events-auto dk:leading-tight dk:select-text dk:cursor-default",
1994
1989
  "dk:break-words dk:whitespace-normal",
1995
1990
  B,
1996
1991
  V,
1997
- _,
1998
- U,
1992
+ T,
1993
+ K,
1999
1994
  N
2000
1995
  ].join(" ");
2001
1996
  }), $ = o(() => {
@@ -2006,7 +2001,7 @@ const Ee = { key: 1 }, Oe = `
2006
2001
  };
2007
2002
  return typeof e.maxWidth == "number" ? B.maxWidth = `${e.maxWidth}px` : typeof e.maxWidth == "string" && !w(e.maxWidth) && (B.maxWidth = e.maxWidth), B;
2008
2003
  }), M = o(() => {
2009
- const B = l[e.variant][e.color], V = g.value, _ = {
2004
+ const B = l[e.variant][e.color], V = g.value, T = {
2010
2005
  top: "dk:-bottom-1.5 dk:left-1/2 dk:-translate-x-1/2 dk:rotate-45",
2011
2006
  "top-start": "dk:-bottom-1.5 dk:left-3 dk:rotate-45",
2012
2007
  "top-end": "dk:-bottom-1.5 dk:right-3 dk:rotate-45",
@@ -2023,7 +2018,7 @@ const Ee = { key: 1 }, Oe = `
2023
2018
  return [
2024
2019
  "dk:absolute dk:block dk:h-3 dk:w-3",
2025
2020
  B,
2026
- _[V] || _.top
2021
+ T[V] || T.top
2027
2022
  ].join(" ");
2028
2023
  });
2029
2024
  function L() {
@@ -2060,23 +2055,23 @@ const Ee = { key: 1 }, Oe = `
2060
2055
  "right-end": "left-end"
2061
2056
  }[B];
2062
2057
  }
2063
- function ee(B, V, _) {
2064
- const [U, N] = B.split("-"), G = e.offset;
2065
- let q = 0, H = 0;
2066
- U === "top" && (q = V.top - _.height - G, N === "start" ? H = V.left : N === "end" ? H = V.right - _.width : H = V.left + V.width / 2 - _.width / 2), U === "bottom" && (q = V.bottom + G, N === "start" ? H = V.left : N === "end" ? H = V.right - _.width : H = V.left + V.width / 2 - _.width / 2), U === "left" && (H = V.left - _.width - G, N === "start" ? q = V.top : N === "end" ? q = V.bottom - _.height : q = V.top + V.height / 2 - _.height / 2), U === "right" && (H = V.right + G, N === "start" ? q = V.top : N === "end" ? q = V.bottom - _.height : q = V.top + V.height / 2 - _.height / 2);
2067
- const se = e.viewportPadding, Te = window.innerWidth, Pe = window.innerHeight;
2068
- return q = Math.min(Math.max(se, q), Pe - _.height - se), H = Math.min(Math.max(se, H), Te - _.width - se), { top: q, left: H };
2058
+ function de(B, V, T) {
2059
+ const [K, N] = B.split("-"), G = e.offset;
2060
+ let H = 0, U = 0;
2061
+ K === "top" && (H = V.top - T.height - G, N === "start" ? U = V.left : N === "end" ? U = V.right - T.width : U = V.left + V.width / 2 - T.width / 2), K === "bottom" && (H = V.bottom + G, N === "start" ? U = V.left : N === "end" ? U = V.right - T.width : U = V.left + V.width / 2 - T.width / 2), K === "left" && (U = V.left - T.width - G, N === "start" ? H = V.top : N === "end" ? H = V.bottom - T.height : H = V.top + V.height / 2 - T.height / 2), K === "right" && (U = V.right + G, N === "start" ? H = V.top : N === "end" ? H = V.bottom - T.height : H = V.top + V.height / 2 - T.height / 2);
2062
+ const se = e.viewportPadding, _e = window.innerWidth, Pe = window.innerHeight;
2063
+ return H = Math.min(Math.max(se, H), Pe - T.height - se), U = Math.min(Math.max(se, U), _e - T.width - se), { top: H, left: U };
2069
2064
  }
2070
- function $e(B, V, _) {
2065
+ function $e(B, V, T) {
2071
2066
  if (!e.flip) return !1;
2072
- const [U] = B.split("-"), N = e.offset, G = e.viewportPadding;
2073
- return U === "top" ? V.top - _.height - N < G : U === "bottom" ? V.bottom + _.height + N > window.innerHeight - G : U === "left" ? V.left - _.width - N < G : V.right + _.width + N > window.innerWidth - G;
2067
+ const [K] = B.split("-"), N = e.offset, G = e.viewportPadding;
2068
+ return K === "top" ? V.top - T.height - N < G : K === "bottom" ? V.bottom + T.height + N > window.innerHeight - G : K === "left" ? V.left - T.width - N < G : V.right + T.width + N > window.innerWidth - G;
2074
2069
  }
2075
2070
  function X() {
2076
2071
  if (!m.value || !i.value) return;
2077
2072
  const B = m.value.getBoundingClientRect(), V = i.value.getBoundingClientRect();
2078
- let _ = e.placement;
2079
- $e(_, B, V) && (_ = be(_)), g.value = _, h.value = ee(_, B, V);
2073
+ let T = e.placement;
2074
+ $e(T, B, V) && (T = be(T)), g.value = T, h.value = de(T, B, V);
2080
2075
  }
2081
2076
  function Se() {
2082
2077
  e.trigger === "hover" && Y("hover");
@@ -2085,8 +2080,8 @@ const Ee = { key: 1 }, Oe = `
2085
2080
  var V;
2086
2081
  if (e.trigger === "hover") {
2087
2082
  if (e.interactive) {
2088
- const _ = B.relatedTarget;
2089
- if (_ && ((V = i.value) != null && V.contains(_)))
2083
+ const T = B.relatedTarget;
2084
+ if (T && ((V = i.value) != null && V.contains(T)))
2090
2085
  return;
2091
2086
  }
2092
2087
  Z("hover");
@@ -2104,17 +2099,17 @@ const Ee = { key: 1 }, Oe = `
2104
2099
  function De() {
2105
2100
  e.interactive && (x.value = !0, L());
2106
2101
  }
2107
- function _e(B) {
2108
- var _;
2102
+ function Te(B) {
2103
+ var T;
2109
2104
  if (!e.interactive) return;
2110
2105
  const V = B.relatedTarget;
2111
- V && ((_ = m.value) != null && _.contains(V)) || (x.value = !1, Z("hover"));
2106
+ V && ((T = m.value) != null && T.contains(V)) || (x.value = !1, Z("hover"));
2112
2107
  }
2113
2108
  function ve(B) {
2114
- var _, U;
2109
+ var T, K;
2115
2110
  if (e.trigger !== "click" || !s.value) return;
2116
2111
  const V = B.target;
2117
- (_ = m.value) != null && _.contains(V) || (U = i.value) != null && U.contains(V) || Z("outside");
2112
+ (T = m.value) != null && T.contains(V) || (K = i.value) != null && K.contains(V) || Z("outside");
2118
2113
  }
2119
2114
  return ae(
2120
2115
  () => e.modelValue,
@@ -2132,7 +2127,7 @@ const Ee = { key: 1 }, Oe = `
2132
2127
  typeof window > "u" || (window.addEventListener("resize", X), window.addEventListener("scroll", X, !0), window.addEventListener("click", ve));
2133
2128
  }), fe(() => {
2134
2129
  L(), !(typeof window > "u") && (window.removeEventListener("resize", X), window.removeEventListener("scroll", X, !0), window.removeEventListener("click", ve));
2135
- }), (B, V) => (t(), a(A, null, [
2130
+ }), (B, V) => (t(), a(I, null, [
2136
2131
  c("span", {
2137
2132
  ref_key: "triggerRef",
2138
2133
  ref: m,
@@ -2144,16 +2139,16 @@ const Ee = { key: 1 }, Oe = `
2144
2139
  onFocusout: Be,
2145
2140
  onClick: Me
2146
2141
  }, [
2147
- T(B.$slots, "trigger", {}, () => [
2148
- T(B.$slots, "default", {}, () => [
2149
- c("span", Md, j(e.fallbackTriggerText), 1)
2142
+ _(B.$slots, "trigger", {}, () => [
2143
+ _(B.$slots, "default", {}, () => [
2144
+ c("span", Bd, j(e.fallbackTriggerText), 1)
2150
2145
  ])
2151
2146
  ])
2152
- ], 40, Bd),
2147
+ ], 40, Vd),
2153
2148
  (t(), O(he, {
2154
2149
  to: e.teleportTo
2155
2150
  }, [
2156
- de(xe, {
2151
+ te(xe, {
2157
2152
  "enter-active-class": "dk:transition-opacity dk:duration-150",
2158
2153
  "leave-active-class": "dk:transition-opacity dk:duration-100",
2159
2154
  "enter-from-class": "dk:opacity-0",
@@ -2169,10 +2164,10 @@ const Ee = { key: 1 }, Oe = `
2169
2164
  class: n(u.value),
2170
2165
  style: ce($.value),
2171
2166
  onMouseenter: De,
2172
- onMouseleave: _e
2167
+ onMouseleave: Te
2173
2168
  }, [
2174
- T(B.$slots, "content", {}, () => [
2175
- I(j(e.text), 1)
2169
+ _(B.$slots, "content", {}, () => [
2170
+ A(j(e.text), 1)
2176
2171
  ]),
2177
2172
  e.arrow ? (t(), a("span", {
2178
2173
  key: 0,
@@ -2186,7 +2181,7 @@ const Ee = { key: 1 }, Oe = `
2186
2181
  ], 8, ["to"]))
2187
2182
  ], 64));
2188
2183
  }
2189
- }), Dd = ["open"], _d = ["onClick"], Td = { class: "dui-acc-title" }, Pd = { class: "dui-acc-panel" }, Ld = /* @__PURE__ */ P({
2184
+ }), Md = ["open"], Dd = ["onClick"], Td = { class: "dui-acc-title" }, _d = { class: "dui-acc-panel" }, Pd = /* @__PURE__ */ P({
2190
2185
  __name: "DuiAccordion",
2191
2186
  props: {
2192
2187
  items: {},
@@ -2199,7 +2194,7 @@ const Ee = { key: 1 }, Oe = `
2199
2194
  },
2200
2195
  emits: ["update:modelValue", "change"],
2201
2196
  setup(d, { emit: r }) {
2202
- const e = d, b = r, m = K([]);
2197
+ const e = d, b = r, m = q([]);
2203
2198
  function i() {
2204
2199
  return e.modelValue === void 0 ? m.value : Array.isArray(e.modelValue) ? e.modelValue : e.modelValue ? [e.modelValue] : [];
2205
2200
  }
@@ -2276,16 +2271,16 @@ const Ee = { key: 1 }, Oe = `
2276
2271
  return (w, l) => (t(), a("div", {
2277
2272
  class: n(C.value)
2278
2273
  }, [
2279
- (t(!0), a(A, null, F(d.items, (u, $) => (t(), a("details", {
2274
+ (t(!0), a(I, null, F(d.items, (u, $) => (t(), a("details", {
2280
2275
  key: u.value ?? $,
2281
2276
  open: z(u.value ?? String($)),
2282
2277
  class: n(D.value),
2283
- onToggle: l[0] || (l[0] = te(() => {
2278
+ onToggle: l[0] || (l[0] = ee(() => {
2284
2279
  }, ["prevent"]))
2285
2280
  }, [
2286
2281
  c("summary", {
2287
2282
  class: n(v(u.value ?? String($), u.disabled)),
2288
- onClick: te((M) => y(u.value ?? String($), u.disabled), ["prevent"])
2283
+ onClick: ee((M) => y(u.value ?? String($), u.disabled), ["prevent"])
2289
2284
  }, [
2290
2285
  u.icon ? (t(), a("span", {
2291
2286
  key: 0,
@@ -2305,20 +2300,20 @@ const Ee = { key: 1 }, Oe = `
2305
2300
  }, [...l[1] || (l[1] = [
2306
2301
  c("polyline", { points: "4 6 8 10 12 6" }, null, -1)
2307
2302
  ])], 2))
2308
- ], 10, _d),
2309
- c("div", Pd, [
2303
+ ], 10, Dd),
2304
+ c("div", _d, [
2310
2305
  c("div", {
2311
2306
  class: n(f.value)
2312
2307
  }, [
2313
- T(w.$slots, u.value ?? String($), {}, () => [
2308
+ _(w.$slots, u.value ?? String($), {}, () => [
2314
2309
  c("p", null, j(u.content), 1)
2315
2310
  ], !0)
2316
2311
  ], 2)
2317
2312
  ])
2318
- ], 42, Dd))), 128))
2313
+ ], 42, Md))), 128))
2319
2314
  ], 2));
2320
2315
  }
2321
- }), At = /* @__PURE__ */ ne(Ld, [["__scopeId", "data-v-9bd77ff3"]]), Id = ["aria-label"], Wt = /* @__PURE__ */ P({
2316
+ }), At = /* @__PURE__ */ ne(Pd, [["__scopeId", "data-v-9bd77ff3"]]), Ld = ["aria-label"], It = /* @__PURE__ */ P({
2322
2317
  inheritAttrs: !1,
2323
2318
  __name: "DuiBadge",
2324
2319
  props: {
@@ -2396,23 +2391,23 @@ const Ee = { key: 1 }, Oe = `
2396
2391
  d.dot ? (t(), a("span", {
2397
2392
  key: 0,
2398
2393
  class: n(g.value)
2399
- }, null, 2)) : T(C.$slots, "icon", { key: 1 })
2394
+ }, null, 2)) : _(C.$slots, "icon", {}, void 0, void 0, 1)
2400
2395
  ], 2)) : S("", !0),
2401
- T(C.$slots, "default", {}, () => [
2402
- I(j(d.label), 1)
2396
+ _(C.$slots, "default", {}, () => [
2397
+ A(j(d.label), 1)
2403
2398
  ]),
2404
2399
  d.dismissible ? (t(), a("button", {
2405
2400
  key: 1,
2406
2401
  type: "button",
2407
2402
  class: n(x.value),
2408
2403
  "aria-label": d.label ? `Quitar ${d.label}` : "Quitar",
2409
- onClick: D[0] || (D[0] = te((v) => b("dismiss"), ["prevent"]))
2410
- }, " × ", 10, Id)) : S("", !0)
2404
+ onClick: D[0] || (D[0] = ee((v) => b("dismiss"), ["prevent"]))
2405
+ }, " × ", 10, Ld)) : S("", !0)
2411
2406
  ]),
2412
2407
  _: 3
2413
2408
  }, 16, ["href", "class"]));
2414
2409
  }
2415
- }), Ad = ["onKeydown"], Wd = ["aria-label"], Et = /* @__PURE__ */ P({
2410
+ }), Ad = ["onKeydown"], Id = ["aria-label"], Wt = /* @__PURE__ */ P({
2416
2411
  __name: "DuiDropdown",
2417
2412
  props: {
2418
2413
  modelValue: { type: Boolean, default: void 0 },
@@ -2427,7 +2422,7 @@ const Ee = { key: 1 }, Oe = `
2427
2422
  },
2428
2423
  emits: ["update:modelValue", "open", "close"],
2429
2424
  setup(d, { emit: r }) {
2430
- const e = d, b = r, m = K(null), i = K(!1), z = o(() => e.modelValue !== void 0 ? e.modelValue : i.value);
2425
+ const e = d, b = r, m = q(null), i = q(!1), z = o(() => e.modelValue !== void 0 ? e.modelValue : i.value);
2431
2426
  function y() {
2432
2427
  if (e.disabled) return;
2433
2428
  const p = !z.value;
@@ -2490,13 +2485,13 @@ const Ee = { key: 1 }, Oe = `
2490
2485
  c("div", {
2491
2486
  onClick: y,
2492
2487
  onKeydown: [
2493
- ye(te(y, ["prevent"]), ["enter"]),
2494
- ye(te(y, ["prevent"]), ["space"])
2488
+ ye(ee(y, ["prevent"]), ["enter"]),
2489
+ ye(ee(y, ["prevent"]), ["space"])
2495
2490
  ]
2496
2491
  }, [
2497
- T(p.$slots, "trigger")
2492
+ _(p.$slots, "trigger")
2498
2493
  ], 40, Ad),
2499
- de(xe, {
2494
+ te(xe, {
2500
2495
  "enter-active-class": "dk:transition-all dk:duration-150 dk:ease-out",
2501
2496
  "leave-active-class": "dk:transition-all dk:duration-100 dk:ease-in",
2502
2497
  "enter-from-class": "dk:opacity-0 dk:scale-95",
@@ -2510,17 +2505,17 @@ const Ee = { key: 1 }, Oe = `
2510
2505
  role: "menu",
2511
2506
  "aria-label": d.ariaLabel
2512
2507
  }, [
2513
- T(p.$slots, "default")
2514
- ], 14, Wd)) : S("", !0)
2508
+ _(p.$slots, "default")
2509
+ ], 14, Id)) : S("", !0)
2515
2510
  ]),
2516
2511
  _: 3
2517
2512
  })
2518
2513
  ], 512));
2519
2514
  }
2520
- }), Ed = { class: "dk:flex-1 dk:truncate" }, Od = {
2515
+ }), Wd = { class: "dk:flex-1 dk:truncate" }, Ed = {
2521
2516
  key: 1,
2522
2517
  class: "dk:ml-auto dk:opacity-60 dk:text-xs"
2523
- }, Ot = /* @__PURE__ */ P({
2518
+ }, Et = /* @__PURE__ */ P({
2524
2519
  __name: "DuiDropdownItem",
2525
2520
  props: {
2526
2521
  label: { default: void 0 },
@@ -2556,37 +2551,37 @@ const Ee = { key: 1 }, Oe = `
2556
2551
  class: n(y.value),
2557
2552
  "aria-hidden": "true"
2558
2553
  }, [
2559
- T(g.$slots, "icon", {}, () => [
2560
- I(j(d.icon), 1)
2554
+ _(g.$slots, "icon", {}, () => [
2555
+ A(j(d.icon), 1)
2561
2556
  ])
2562
2557
  ], 2)) : S("", !0),
2563
- c("span", Ed, [
2564
- T(g.$slots, "default", {}, () => [
2565
- I(j(d.label), 1)
2558
+ c("span", Wd, [
2559
+ _(g.$slots, "default", {}, () => [
2560
+ A(j(d.label), 1)
2566
2561
  ])
2567
2562
  ]),
2568
- g.$slots.trailing ? (t(), a("span", Od, [
2569
- T(g.$slots, "trailing")
2563
+ g.$slots.trailing ? (t(), a("span", Ed, [
2564
+ _(g.$slots, "trailing")
2570
2565
  ])) : S("", !0)
2571
2566
  ]),
2572
2567
  _: 3
2573
2568
  }, 16, ["class", "aria-disabled"]));
2574
2569
  }
2575
- }), Nd = {}, Fd = {
2570
+ }), Od = {}, Nd = {
2576
2571
  class: "dk:my-1 dk:border-current/10",
2577
2572
  role: "separator",
2578
2573
  "aria-orientation": "horizontal"
2579
2574
  };
2580
- function Ud(d, r) {
2581
- return t(), a("hr", Fd);
2575
+ function Fd(d, r) {
2576
+ return t(), a("hr", Nd);
2582
2577
  }
2583
- const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = ["disabled", "aria-label"], Hd = {
2578
+ const Ot = /* @__PURE__ */ ne(Od, [["render", Fd]]), Kd = ["aria-label"], qd = ["disabled", "aria-label"], Hd = {
2584
2579
  key: 0,
2585
2580
  class: "dk:hidden dk:sm:inline"
2586
- }, Qd = ["aria-label", "aria-current", "onClick"], Gd = ["disabled", "aria-label"], Jd = {
2581
+ }, Ud = ["aria-label", "aria-current", "onClick"], Qd = ["disabled", "aria-label"], Gd = {
2587
2582
  key: 0,
2588
2583
  class: "dk:hidden dk:sm:inline"
2589
- }, Ft = /* @__PURE__ */ P({
2584
+ }, Nt = /* @__PURE__ */ P({
2590
2585
  __name: "DuiPagination",
2591
2586
  props: {
2592
2587
  modelValue: {},
@@ -2700,7 +2695,7 @@ const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = [
2700
2695
  ], -1)),
2701
2696
  d.showLabels ? (t(), a("span", Hd, j(d.prevLabel), 1)) : S("", !0)
2702
2697
  ], 10, qd),
2703
- (t(!0), a(A, null, F(z.value, (f) => (t(), a(A, { key: f }, [
2698
+ (t(!0), a(I, null, F(z.value, (f) => (t(), a(I, { key: f }, [
2704
2699
  f === "..." ? (t(), a("span", {
2705
2700
  key: 0,
2706
2701
  class: n(v.value),
@@ -2712,7 +2707,7 @@ const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = [
2712
2707
  "aria-current": d.modelValue === f ? "page" : void 0,
2713
2708
  class: n(D(f)),
2714
2709
  onClick: (w) => i(f)
2715
- }, j(f), 11, Qd))
2710
+ }, j(f), 11, Ud))
2716
2711
  ], 64))), 128)),
2717
2712
  c("button", {
2718
2713
  type: "button",
@@ -2721,7 +2716,7 @@ const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = [
2721
2716
  class: n([C.value, d.modelValue >= m.value ? "dk:opacity-40 dk:cursor-not-allowed" : ""]),
2722
2717
  onClick: k[1] || (k[1] = (f) => i(d.modelValue + 1))
2723
2718
  }, [
2724
- d.showLabels ? (t(), a("span", Jd, j(d.nextLabel), 1)) : S("", !0),
2719
+ d.showLabels ? (t(), a("span", Gd, j(d.nextLabel), 1)) : S("", !0),
2725
2720
  k[3] || (k[3] = c("svg", {
2726
2721
  class: "dk:w-4 dk:h-4",
2727
2722
  viewBox: "0 0 16 16",
@@ -2734,10 +2729,10 @@ const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = [
2734
2729
  }, [
2735
2730
  c("polyline", { points: "6 4 10 8 6 12" })
2736
2731
  ], -1))
2737
- ], 10, Gd)
2732
+ ], 10, Qd)
2738
2733
  ], 10, Kd));
2739
2734
  }
2740
- }), Xd = /* @__PURE__ */ P({
2735
+ }), Jd = /* @__PURE__ */ P({
2741
2736
  __name: "DuiSkeleton",
2742
2737
  props: {
2743
2738
  variant: { default: "text" },
@@ -2775,11 +2770,11 @@ const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = [
2775
2770
  role: "presentation"
2776
2771
  }, null, 6));
2777
2772
  }
2778
- }), Ut = /* @__PURE__ */ ne(Xd, [["__scopeId", "data-v-8c9c6005"]]), Yd = ["aria-label"], Zd = ["id", "aria-controls", "aria-selected", "disabled", "onClick", "onKeydown"], Rd = {
2773
+ }), Ft = /* @__PURE__ */ ne(Jd, [["__scopeId", "data-v-8c9c6005"]]), Xd = ["aria-label"], Yd = ["id", "aria-controls", "aria-selected", "disabled", "onClick", "onKeydown"], Zd = {
2779
2774
  key: 0,
2780
2775
  "aria-hidden": "true",
2781
2776
  class: "dk:flex-shrink-0"
2782
- }, et = ["id", "aria-labelledby", "tabindex", "hidden"], Kt = /* @__PURE__ */ P({
2777
+ }, Rd = ["id", "aria-labelledby", "tabindex", "hidden"], Kt = /* @__PURE__ */ P({
2783
2778
  __name: "DuiTabs",
2784
2779
  props: {
2785
2780
  modelValue: {},
@@ -2851,7 +2846,7 @@ const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = [
2851
2846
  role: "tablist",
2852
2847
  "aria-label": d.ariaLabel
2853
2848
  }, [
2854
- (t(!0), a(A, null, F(d.tabs, (k) => (t(), a("button", {
2849
+ (t(!0), a(I, null, F(d.tabs, (k) => (t(), a("button", {
2855
2850
  key: k.value,
2856
2851
  type: "button",
2857
2852
  id: `tab-${R(m)}-${k.value}`,
@@ -2863,15 +2858,15 @@ const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = [
2863
2858
  onClick: (f) => i(k.value, k.disabled),
2864
2859
  onKeydown: (f) => z(f, k.value)
2865
2860
  }, [
2866
- k.icon ? (t(), a("span", Rd, j(k.icon), 1)) : S("", !0),
2867
- I(" " + j(k.label) + " ", 1),
2861
+ k.icon ? (t(), a("span", Zd, j(k.icon), 1)) : S("", !0),
2862
+ A(" " + j(k.label) + " ", 1),
2868
2863
  k.badge !== void 0 ? (t(), a("span", {
2869
2864
  key: 1,
2870
2865
  class: n(C.value)
2871
2866
  }, j(k.badge), 3)) : S("", !0)
2872
- ], 42, Zd))), 128))
2873
- ], 10, Yd),
2874
- (t(!0), a(A, null, F(d.tabs, (k) => (t(), a("div", {
2867
+ ], 42, Yd))), 128))
2868
+ ], 10, Xd),
2869
+ (t(!0), a(I, null, F(d.tabs, (k) => (t(), a("div", {
2875
2870
  key: k.value,
2876
2871
  id: `panel-${R(m)}-${k.value}`,
2877
2872
  "aria-labelledby": `tab-${R(m)}-${k.value}`,
@@ -2880,8 +2875,8 @@ const Nt = /* @__PURE__ */ ne(Nd, [["render", Ud]]), Kd = ["aria-label"], qd = [
2880
2875
  hidden: d.modelValue !== k.value,
2881
2876
  class: n(D.value)
2882
2877
  }, [
2883
- T(v.$slots, k.value)
2884
- ], 10, et))), 128))
2878
+ _(v.$slots, k.value)
2879
+ ], 10, Rd))), 128))
2885
2880
  ], 2));
2886
2881
  }
2887
2882
  }), ke = ze({ toasts: [] });
@@ -2901,29 +2896,29 @@ function Ce(d) {
2901
2896
  const r = ke.toasts.findIndex((e) => e.id === d);
2902
2897
  r !== -1 && ke.toasts.splice(r, 1);
2903
2898
  }
2904
- function dt() {
2899
+ function et() {
2905
2900
  ke.toasts.splice(0);
2906
2901
  }
2907
- function tt() {
2902
+ function dt() {
2908
2903
  return {
2909
- toasts: Ie(ke.toasts),
2904
+ toasts: Ae(ke.toasts),
2910
2905
  add: re,
2911
2906
  remove: Ce,
2912
- clear: dt,
2907
+ clear: et,
2913
2908
  success: (d, r) => re({ ...r, message: d, color: "success" }),
2914
2909
  error: (d, r) => re({ ...r, message: d, color: "danger" }),
2915
2910
  warning: (d, r) => re({ ...r, message: d, color: "warning" }),
2916
2911
  info: (d, r) => re({ ...r, message: d, color: "primary" })
2917
2912
  };
2918
2913
  }
2919
- const rt = {
2914
+ const tt = {
2920
2915
  key: 0,
2921
2916
  "aria-hidden": "true",
2922
2917
  class: "dk:flex-shrink-0 dk:text-lg"
2923
- }, at = { class: "dk:flex-1 dk:min-w-0" }, ot = {
2918
+ }, rt = { class: "dk:flex-1 dk:min-w-0" }, at = {
2924
2919
  key: 0,
2925
2920
  class: "dk:text-sm dk:font-semibold dk:leading-snug"
2926
- }, kt = ["onClick"], nt = "dk:flex-shrink-0 dk:flex dk:items-center dk:justify-center dk:w-5 dk:h-5 dk:rounded dk:text-current dk:opacity-70 dk:hover:opacity-100 dk:transition-opacity dk:text-base dk:leading-none dk:outline-none dk:ring-1 dk:ring-current/30 dk:focus-visible:ring-2", qt = /* @__PURE__ */ P({
2921
+ }, ot = ["onClick"], kt = "dk:flex-shrink-0 dk:flex dk:items-center dk:justify-center dk:w-5 dk:h-5 dk:rounded dk:text-current dk:opacity-70 dk:hover:opacity-100 dk:transition-opacity dk:text-base dk:leading-none dk:outline-none dk:ring-1 dk:ring-current/30 dk:focus-visible:ring-2", qt = /* @__PURE__ */ P({
2927
2922
  __name: "DuiToast",
2928
2923
  props: {
2929
2924
  position: { default: "top-right" },
@@ -2931,7 +2926,7 @@ const rt = {
2931
2926
  zIndex: { default: 9999 }
2932
2927
  },
2933
2928
  setup(d) {
2934
- const r = d, { toasts: e, remove: b } = tt(), m = o(() => e.slice(0, r.maxToasts)), i = {
2929
+ const r = d, { toasts: e, remove: b } = dt(), m = o(() => e.slice(0, r.maxToasts)), i = {
2935
2930
  "top-right": "dk:top-4 dk:right-4 dk:items-end",
2936
2931
  "top-left": "dk:top-4 dk:left-4 dk:items-start",
2937
2932
  "top-center": "dk:top-4 dk:left-1/2 dk:-translate-x-1/2 dk:items-center",
@@ -2973,7 +2968,7 @@ const rt = {
2973
2968
  "aria-live": "polite",
2974
2969
  "aria-atomic": "false"
2975
2970
  }, [
2976
- de(Ae, {
2971
+ te(Ie, {
2977
2972
  tag: "div",
2978
2973
  class: n(y.value),
2979
2974
  "enter-active-class": "dk:transition-all dk:duration-300 dk:ease-out",
@@ -2983,18 +2978,18 @@ const rt = {
2983
2978
  "move-class": "dk:transition-all dk:duration-300"
2984
2979
  }, {
2985
2980
  default: W(() => [
2986
- (t(!0), a(A, null, F(m.value, (v) => (t(), a("div", {
2981
+ (t(!0), a(I, null, F(m.value, (v) => (t(), a("div", {
2987
2982
  key: v.id,
2988
2983
  role: "alert",
2989
2984
  class: n(h(v.color))
2990
2985
  }, [
2991
- v.icon ? (t(), a("span", rt, j(v.icon), 1)) : (t(), a("span", {
2986
+ v.icon ? (t(), a("span", tt, j(v.icon), 1)) : (t(), a("span", {
2992
2987
  key: 1,
2993
2988
  class: n(x(v.color)),
2994
2989
  "aria-hidden": "true"
2995
2990
  }, null, 2)),
2996
- c("div", at, [
2997
- v.title ? (t(), a("p", ot, j(v.title), 1)) : S("", !0),
2991
+ c("div", rt, [
2992
+ v.title ? (t(), a("p", at, j(v.title), 1)) : S("", !0),
2998
2993
  c("p", {
2999
2994
  class: n(["dk:text-sm dk:leading-snug", { "dk:opacity-80": v.title }])
3000
2995
  }, j(v.message), 3)
@@ -3002,10 +2997,10 @@ const rt = {
3002
2997
  v.closable ? (t(), a("button", {
3003
2998
  key: 2,
3004
2999
  type: "button",
3005
- class: n(nt),
3000
+ class: n(kt),
3006
3001
  "aria-label": "Cerrar notificacion",
3007
3002
  onClick: (p) => R(b)(v.id)
3008
- }, " × ", 8, kt)) : S("", !0)
3003
+ }, " × ", 8, ot)) : S("", !0)
3009
3004
  ], 2))), 128))
3010
3005
  ]),
3011
3006
  _: 1
@@ -3013,20 +3008,20 @@ const rt = {
3013
3008
  ], 2)
3014
3009
  ]));
3015
3010
  }
3016
- }), st = {
3011
+ }), nt = {
3017
3012
  key: 0,
3018
3013
  class: "dk:flex dk:items-center dk:gap-4 dk:flex-shrink-0"
3019
- }, lt = { class: "dk:hidden dk:md:flex dk:items-center dk:flex-1" }, it = {
3014
+ }, st = { class: "dk:hidden dk:md:flex dk:items-center dk:flex-1" }, lt = {
3020
3015
  key: 0,
3021
3016
  class: "dk:relative dk:group"
3022
- }, ct = { class: "dk:absolute dk:left-0 dk:top-full dk:min-w-56 dk:py-2 dk:mt-1 dk:bg-gradient-to-b dk:from-white/95 dk:to-gray-50/95 dk:dark:bg-none dk:dark:bg-zinc-900 dk:backdrop-blur-md dk:shadow-lg dk:border dk:border-white/40 dk:dark:border-zinc-800 dk:opacity-0 dk:invisible dk:group-hover:opacity-100 dk:group-hover:visible dk:transition-all dk:duration-200 dk:z-50" }, ut = {
3017
+ }, it = { class: "dk:absolute dk:left-0 dk:top-full dk:min-w-56 dk:py-2 dk:mt-1 dk:bg-gradient-to-b dk:from-white/95 dk:to-gray-50/95 dk:dark:bg-none dk:dark:bg-zinc-900 dk:backdrop-blur-md dk:shadow-lg dk:border dk:border-white/40 dk:dark:border-zinc-800 dk:opacity-0 dk:invisible dk:group-hover:opacity-100 dk:group-hover:visible dk:transition-all dk:duration-200 dk:z-50" }, ct = {
3023
3018
  key: 1,
3024
3019
  class: "dk:hidden dk:md:flex dk:items-center dk:gap-2 dk:flex-shrink-0"
3025
- }, bt = {
3020
+ }, ut = {
3026
3021
  class: "dk:w-6 dk:h-6 dk:stroke-gray-900 dk:dark:stroke-white",
3027
3022
  fill: "none",
3028
3023
  viewBox: "0 0 24 24"
3029
- }, pt = ["d"], gt = { class: "dk:md:hidden dk:absolute dk:top-full dk:left-0 dk:w-full dk:bg-gradient-to-b dk:from-white/95 dk:to-gray-50/95 dk:dark:bg-none dk:dark:bg-zinc-900 dk:backdrop-blur-md dk:border-t dk:border-white/40 dk:dark:border-zinc-800 dk:shadow-lg dk:dark:shadow-black/30 dk:z-40" }, mt = { class: "dk:px-4 dk:py-3 dk:space-y-2" }, ft = { key: 0 }, ht = ["onClick"], xt = { class: "dk:flex dk:items-center" }, vt = { class: "dk:ml-4 dk:mt-2 dk:space-y-1" }, yt = {
3024
+ }, bt = ["d"], pt = { class: "dk:md:hidden dk:absolute dk:top-full dk:left-0 dk:w-full dk:bg-gradient-to-b dk:from-white/95 dk:to-gray-50/95 dk:dark:bg-none dk:dark:bg-zinc-900 dk:backdrop-blur-md dk:border-t dk:border-white/40 dk:dark:border-zinc-800 dk:shadow-lg dk:dark:shadow-black/30 dk:z-40" }, gt = { class: "dk:px-4 dk:py-3 dk:space-y-2" }, mt = { key: 0 }, ft = ["onClick"], ht = { class: "dk:flex dk:items-center" }, xt = { class: "dk:ml-4 dk:mt-2 dk:space-y-1" }, vt = {
3030
3025
  key: 0,
3031
3026
  class: "dk:pt-3 dk:border-t dk:border-white/20 dk:dark:border-white/10"
3032
3027
  }, Ht = /* @__PURE__ */ P({
@@ -3038,7 +3033,7 @@ const rt = {
3038
3033
  underlineColor: { default: "primary" }
3039
3034
  },
3040
3035
  setup(d) {
3041
- const r = d, e = K(!1), b = ze({}), m = (f) => oe(f.to), i = (f) => {
3036
+ const r = d, e = q(!1), b = ze({}), m = (f) => oe(f.to), i = (f) => {
3042
3037
  const w = m(f);
3043
3038
  return ue(f.to, w);
3044
3039
  }, z = () => {
@@ -3107,8 +3102,8 @@ const rt = {
3107
3102
  const f = g[r.size], w = C();
3108
3103
  return (l, u = !0) => {
3109
3104
  const $ = l.active ?? !1, M = u ? "dk:pl-3" : "dk:pl-2", L = "dk:pr-3", J = u ? "dk:pl-2" : "dk:pl-1", Y = "dk:pr-2", Z = u ? "dk:pl-4" : "dk:pl-3", be = "dk:pr-4";
3110
- let ee = "";
3111
- return f.itemPadding.includes("px-2") ? ee = `${J} ${Y} dk:py-1.5` : f.itemPadding.includes("px-4") ? ee = `${Z} ${be} dk:py-3` : ee = `${M} ${L} dk:py-2`, [
3105
+ let de = "";
3106
+ return f.itemPadding.includes("px-2") ? de = `${J} ${Y} dk:py-1.5` : f.itemPadding.includes("px-4") ? de = `${Z} ${be} dk:py-3` : de = `${M} ${L} dk:py-2`, [
3112
3107
  // Block style with animated underline
3113
3108
  "dk:flex dk:items-center dk:relative dk:transition-all dk:duration-300",
3114
3109
  "dk:text-gray-700 dk:hover:text-gray-900 dk:dark:text-gray-300 dk:dark:hover:text-gray-100",
@@ -3120,7 +3115,7 @@ const rt = {
3120
3115
  w,
3121
3116
  "dk:before:transition-all dk:before:duration-300",
3122
3117
  $ ? "dk:before:w-full dk:text-gray-900 dk:dark:text-gray-100" : "dk:before:w-0 dk:hover:before:w-full",
3123
- ee
3118
+ de
3124
3119
  ].join(" ");
3125
3120
  };
3126
3121
  }), v = o(() => [
@@ -3146,17 +3141,17 @@ const rt = {
3146
3141
  return (f, w) => (t(), a("nav", {
3147
3142
  class: n(h.value)
3148
3143
  }, [
3149
- f.$slots.brand ? (t(), a("div", st, [
3150
- T(f.$slots, "brand")
3144
+ f.$slots.brand ? (t(), a("div", nt, [
3145
+ _(f.$slots, "brand")
3151
3146
  ])) : S("", !0),
3152
- c("div", lt, [
3147
+ c("div", st, [
3153
3148
  c("div", {
3154
3149
  class: n(x.value)
3155
3150
  }, [
3156
- (t(!0), a(A, null, F(d.items, (l) => (t(), a(A, {
3151
+ (t(!0), a(I, null, F(d.items, (l) => (t(), a(I, {
3157
3152
  key: l.label
3158
3153
  }, [
3159
- l.children && l.children.length > 0 ? (t(), a("div", it, [
3154
+ l.children && l.children.length > 0 ? (t(), a("div", lt, [
3160
3155
  (t(), O(Q(m(l)), E({ ref_for: !0 }, i(l), {
3161
3156
  class: D.value(l, !0)
3162
3157
  }), {
@@ -3165,7 +3160,7 @@ const rt = {
3165
3160
  key: 0,
3166
3161
  class: n([l.icon, "dk:mr-2"])
3167
3162
  }, null, 2)) : S("", !0),
3168
- I(" " + j(l.label) + " ", 1),
3163
+ A(" " + j(l.label) + " ", 1),
3169
3164
  w[0] || (w[0] = c("svg", {
3170
3165
  class: "dk:w-4 dk:h-4 dk:ml-1 dk:transform dk:group-hover:rotate-180 dk:transition-transform",
3171
3166
  fill: "none",
@@ -3182,8 +3177,8 @@ const rt = {
3182
3177
  ]),
3183
3178
  _: 2
3184
3179
  }, 1040, ["class"])),
3185
- c("div", ct, [
3186
- (t(!0), a(A, null, F(l.children, (u) => (t(), O(Q(m(u)), E({
3180
+ c("div", it, [
3181
+ (t(!0), a(I, null, F(l.children, (u) => (t(), O(Q(m(u)), E({
3187
3182
  key: u.label
3188
3183
  }, { ref_for: !0 }, i(u), { class: v.value }), {
3189
3184
  default: W(() => [
@@ -3191,7 +3186,7 @@ const rt = {
3191
3186
  key: 0,
3192
3187
  class: n([u.icon, "dk:mr-2"])
3193
3188
  }, null, 2)) : S("", !0),
3194
- I(" " + j(u.label), 1)
3189
+ A(" " + j(u.label), 1)
3195
3190
  ]),
3196
3191
  _: 2
3197
3192
  }, 1040, ["class"]))), 128))
@@ -3207,47 +3202,47 @@ const rt = {
3207
3202
  key: 0,
3208
3203
  class: n([l.icon, "dk:mr-2"])
3209
3204
  }, null, 2)) : S("", !0),
3210
- I(" " + j(l.label), 1)
3205
+ A(" " + j(l.label), 1)
3211
3206
  ]),
3212
3207
  _: 2
3213
3208
  }, 1040, ["class"]))
3214
3209
  ], 64))), 128))
3215
3210
  ], 2)
3216
3211
  ]),
3217
- f.$slots.actions ? (t(), a("div", ut, [
3218
- T(f.$slots, "actions")
3212
+ f.$slots.actions ? (t(), a("div", ct, [
3213
+ _(f.$slots, "actions")
3219
3214
  ])) : S("", !0),
3220
3215
  c("button", {
3221
3216
  type: "button",
3222
3217
  onClick: z,
3223
3218
  class: "dk:md:hidden dk:ml-auto dk:flex-shrink-0 dk:p-2 dk:rounded-md dk:hover:bg-gray-100 dk:dark:hover:bg-gray-700 dk:transition-colors"
3224
3219
  }, [
3225
- (t(), a("svg", bt, [
3220
+ (t(), a("svg", ut, [
3226
3221
  c("path", {
3227
3222
  "stroke-linecap": "round",
3228
3223
  "stroke-linejoin": "round",
3229
3224
  "stroke-width": "2",
3230
3225
  d: e.value ? "M6 18L18 6M6 6l12 12" : "M4 6h16M4 12h16M4 18h16"
3231
- }, null, 8, pt)
3226
+ }, null, 8, bt)
3232
3227
  ]))
3233
3228
  ]),
3234
- pe(c("div", gt, [
3235
- c("div", mt, [
3236
- (t(!0), a(A, null, F(d.items, (l) => (t(), a(A, {
3229
+ pe(c("div", pt, [
3230
+ c("div", gt, [
3231
+ (t(!0), a(I, null, F(d.items, (l) => (t(), a(I, {
3237
3232
  key: l.label
3238
3233
  }, [
3239
- l.children && l.children.length > 0 ? (t(), a("div", ft, [
3234
+ l.children && l.children.length > 0 ? (t(), a("div", mt, [
3240
3235
  c("button", {
3241
3236
  type: "button",
3242
3237
  onClick: (u) => s(l.label),
3243
3238
  class: n([p.value, "dk:justify-between"])
3244
3239
  }, [
3245
- c("div", xt, [
3240
+ c("div", ht, [
3246
3241
  l.icon ? (t(), a("i", {
3247
3242
  key: 0,
3248
3243
  class: n([l.icon, "dk:mr-2"])
3249
3244
  }, null, 2)) : S("", !0),
3250
- I(" " + j(l.label), 1)
3245
+ A(" " + j(l.label), 1)
3251
3246
  ]),
3252
3247
  (t(), a("svg", {
3253
3248
  class: n(["dk:w-4 dk:h-4 dk:transform dk:transition-transform dk:flex-shrink-0", b[l.label] ? "dk:rotate-180" : ""]),
@@ -3262,9 +3257,9 @@ const rt = {
3262
3257
  d: "M19 9l-7 7-7-7"
3263
3258
  }, null, -1)
3264
3259
  ])], 2))
3265
- ], 10, ht),
3266
- pe(c("div", vt, [
3267
- (t(!0), a(A, null, F(l.children, (u) => (t(), O(Q(m(u)), E({
3260
+ ], 10, ft),
3261
+ pe(c("div", xt, [
3262
+ (t(!0), a(I, null, F(l.children, (u) => (t(), O(Q(m(u)), E({
3268
3263
  key: u.label
3269
3264
  }, { ref_for: !0 }, i(u), {
3270
3265
  class: k.value,
@@ -3275,7 +3270,7 @@ const rt = {
3275
3270
  key: 0,
3276
3271
  class: n([u.icon, "dk:mr-2"])
3277
3272
  }, null, 2)) : S("", !0),
3278
- I(" " + j(u.label), 1)
3273
+ A(" " + j(u.label), 1)
3279
3274
  ]),
3280
3275
  _: 2
3281
3276
  }, 1040, ["class"]))), 128))
@@ -3294,13 +3289,13 @@ const rt = {
3294
3289
  key: 0,
3295
3290
  class: n([l.icon, "dk:mr-2"])
3296
3291
  }, null, 2)) : S("", !0),
3297
- I(" " + j(l.label), 1)
3292
+ A(" " + j(l.label), 1)
3298
3293
  ]),
3299
3294
  _: 2
3300
3295
  }, 1040, ["class"]))
3301
3296
  ], 64))), 128)),
3302
- f.$slots.actions ? (t(), a("div", yt, [
3303
- T(f.$slots, "actions")
3297
+ f.$slots.actions ? (t(), a("div", vt, [
3298
+ _(f.$slots, "actions")
3304
3299
  ])) : S("", !0)
3305
3300
  ])
3306
3301
  ], 512), [
@@ -3312,27 +3307,27 @@ const rt = {
3312
3307
  export {
3313
3308
  At as DuiAccordion,
3314
3309
  Tt as DuiAction,
3315
- Dt as DuiAlert,
3316
- Wt as DuiBadge,
3310
+ Mt as DuiAlert,
3311
+ It as DuiBadge,
3317
3312
  ie as DuiButton,
3318
- Pt as DuiCard,
3319
- Vt as DuiCheckbox,
3320
- Et as DuiDropdown,
3321
- Ot as DuiDropdownItem,
3322
- Nt as DuiDropdownSeparator,
3323
- zt as DuiFile,
3324
- Ct as DuiInput,
3325
- jt as DuiLabel,
3326
- Lt as DuiModal,
3313
+ _t as DuiCard,
3314
+ jt as DuiCheckbox,
3315
+ Wt as DuiDropdown,
3316
+ Et as DuiDropdownItem,
3317
+ Ot as DuiDropdownSeparator,
3318
+ wt as DuiFile,
3319
+ zt as DuiInput,
3320
+ St as DuiLabel,
3321
+ Pt as DuiModal,
3327
3322
  Ht as DuiNavbar,
3328
- Ft as DuiPagination,
3329
- Bt as DuiRadio,
3330
- St as DuiSelect,
3331
- Ut as DuiSkeleton,
3332
- Mt as DuiSwitch,
3333
- _t as DuiTable,
3323
+ Nt as DuiPagination,
3324
+ Vt as DuiRadio,
3325
+ $t as DuiSelect,
3326
+ Ft as DuiSkeleton,
3327
+ Bt as DuiSwitch,
3328
+ Dt as DuiTable,
3334
3329
  Kt as DuiTabs,
3335
- $t as DuiTextarea,
3330
+ Ct as DuiTextarea,
3336
3331
  qt as DuiToast,
3337
- It as DuiTooltip
3332
+ Lt as DuiTooltip
3338
3333
  };