@dronico/droni-kit 1.12.2 → 1.12.3

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,35 +1,20 @@
1
- import { getCurrentInstance as E, defineComponent as j, computed as g, createBlock as V, openBlock as d, resolveDynamicComponent as N, mergeProps as C, withCtx as T, renderSlot as $, createElementBlock as o, createCommentVNode as m, toDisplayString as z, Fragment as _, renderList as D, ref as U, normalizeClass as h, createElementVNode as p, withDirectives as M, createTextVNode as S, vShow as A, reactive as W } from "vue";
2
- const q = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
3
- function X() {
4
- const r = E(), e = r == null ? void 0 : r.appContext.app, t = (() => {
5
- var n, u;
6
- try {
7
- return typeof import.meta < "u" && q && (import.meta.client !== void 0 || import.meta.server !== void 0) || e && (e.component("NuxtLink") || e.config.globalProperties.$nuxt || e.config.globalProperties.nuxtApp || (u = (n = e.config.globalProperties.$router) == null ? void 0 : n.app) != null && u.nuxt) || typeof process < "u" && process.env && (process.env.NUXT_ENV_CURRENT_ENV || process.env.NUXT_PUBLIC_API_BASE || process.env.__NUXT__) ? !0 : typeof window < "u" ? !!(window.__NUXT__ || window.$nuxt || window.useNuxtApp) : !1;
8
- } catch {
9
- return !1;
10
- }
11
- })(), k = (() => {
12
- try {
13
- return e ? !!(e.config.globalProperties.$router || e.config.globalProperties.$route || e.component("RouterLink")) : typeof window < "u" ? !!window.VueRouter : !1;
14
- } catch {
15
- return !1;
16
- }
17
- })();
18
- return {
19
- hasNuxtRouter: t,
20
- hasVueRouter: !t && k
21
- };
1
+ import { getCurrentInstance as I, defineComponent as j, computed as c, createBlock as V, openBlock as d, resolveDynamicComponent as D, mergeProps as C, withCtx as T, renderSlot as _, createElementBlock as t, createCommentVNode as m, toDisplayString as z, Fragment as $, renderList as B, ref as q, normalizeClass as h, createElementVNode as p, withDirectives as R, createTextVNode as S, vShow as A, reactive as E } from "vue";
2
+ function F() {
3
+ try {
4
+ const r = I(), e = r == null ? void 0 : r.appContext.app;
5
+ return e ? !!(e.config.globalProperties.$router || e.config.globalProperties.$route || e.component("RouterLink")) : typeof window < "u" ? !!window.VueRouter : !1;
6
+ } catch {
7
+ return !1;
8
+ }
22
9
  }
23
- function I(r) {
24
- if (!r) return "button";
25
- const { hasNuxtRouter: e, hasVueRouter: t } = X();
26
- return e ? "NuxtLink" : t ? "RouterLink" : "a";
10
+ function O(r, e = !1) {
11
+ return r ? e ? "NuxtLink" : F() ? "RouterLink" : "a" : "button";
27
12
  }
28
- function O(r, e, t = {}) {
29
- const k = { ...t };
30
- return e === "a" ? (k.href = typeof r == "string" ? r : "#", k.role = "button") : e !== "button" && e !== "span" && (k.to = r), k;
13
+ function W(r, e, o = {}) {
14
+ const a = { ...o };
15
+ return e === "a" ? (a.href = typeof r == "string" ? r : "#", a.role = "button") : e !== "button" && e !== "span" && (a.to = r), a;
31
16
  }
32
- const F = { key: 1 }, H = `
17
+ const H = { key: 1 }, G = `
33
18
  dk:transition
34
19
  dk:text-center
35
20
  dk:disabled:opacity-50
@@ -52,24 +37,25 @@ const F = { key: 1 }, H = `
52
37
  block: { type: Boolean, default: !1 },
53
38
  title: { default: void 0 },
54
39
  rounded: { default: "all" },
55
- to: { default: void 0 }
40
+ to: { default: void 0 },
41
+ nuxt: { type: Boolean, default: !1 }
56
42
  },
57
43
  setup(r) {
58
- const e = r, t = g(() => I(e.to)), k = g(() => {
59
- const l = {};
60
- return t.value === "button" && (l.type = e.type), O(e.to, t.value, l);
61
- }), n = {
44
+ const e = r, o = c(() => O(e.to, e.nuxt)), a = c(() => {
45
+ const n = {};
46
+ return o.value === "button" && (n.type = e.type), W(e.to, o.value, n);
47
+ }), l = {
62
48
  sm: "dk:text-sm dk:px-3 dk:py-1.5",
63
49
  md: "dk:text-base dk:px-4 dk:py-2",
64
50
  lg: "dk:text-lg dk:px-5 dk:py-3"
65
- }, u = {
51
+ }, g = {
66
52
  all: "dk:rounded",
67
53
  top: "dk:rounded-t",
68
54
  bottom: "dk:rounded-b",
69
55
  left: "dk:rounded-l",
70
56
  right: "dk:rounded-r",
71
57
  none: "dk:rounded-none"
72
- }, c = {
58
+ }, b = {
73
59
  solid: {
74
60
  base: "dk:border-b",
75
61
  neutral: `
@@ -241,23 +227,23 @@ const F = { key: 1 }, H = `
241
227
  dk:dark:text-amber-100
242
228
  dk:dark:hover:bg-amber-800`
243
229
  }
244
- }, y = g(() => {
230
+ }, y = c(() => {
245
231
  var f;
246
- const l = (((f = c[e.variant]) == null ? void 0 : f[e.color]) || "") + " " + c[e.variant].base, v = n[e.size] || "", s = e.block ? "dk:w-full" : "", b = u[e.rounded] || "";
247
- return [H, l, v, s, b].join(" ");
232
+ const n = (((f = b[e.variant]) == null ? void 0 : f[e.color]) || "") + " " + b[e.variant].base, v = l[e.size] || "", s = e.block ? "dk:w-full" : "", u = g[e.rounded] || "";
233
+ return [G, n, v, s, u].join(" ");
248
234
  });
249
- return (l, v) => (d(), V(N(t.value), C(k.value, {
235
+ return (n, v) => (d(), V(D(o.value), C(a.value, {
250
236
  class: y.value,
251
237
  title: e.title,
252
238
  disabled: e.disabled || e.loading
253
239
  }), {
254
240
  default: T(() => [
255
- e.loading ? (d(), o("span", F, "Cargando...")) : $(l.$slots, "default", { key: 0 })
241
+ e.loading ? (d(), t("span", H, "Cargando...")) : _(n.$slots, "default", { key: 0 })
256
242
  ]),
257
243
  _: 3
258
244
  }, 16, ["class", "title", "disabled"]));
259
245
  }
260
- }), G = ["value"], J = `
246
+ }), J = ["value"], K = `
261
247
  dk:border-b
262
248
  dk:border-zinc-300
263
249
  dk:bg-zinc-50
@@ -269,7 +255,7 @@ const F = { key: 1 }, H = `
269
255
  dk:dark:bg-zinc-800
270
256
  dk:dark:text-zinc-100
271
257
  dk:dark:focus:bg-zinc-700
272
- dk:dark:[color-scheme:dark]`, je = /* @__PURE__ */ j({
258
+ dk:dark:[color-scheme:dark]`, _e = /* @__PURE__ */ j({
273
259
  inheritAttrs: !1,
274
260
  __name: "DuiInput",
275
261
  props: {
@@ -292,32 +278,32 @@ const F = { key: 1 }, H = `
292
278
  },
293
279
  emits: ["update:modelValue"],
294
280
  setup(r, { emit: e }) {
295
- const t = r, k = e;
296
- function n(l) {
297
- const v = l.target;
298
- k("update:modelValue", v.value);
281
+ const o = r, a = e;
282
+ function l(n) {
283
+ const v = n.target;
284
+ a("update:modelValue", v.value);
299
285
  }
300
- const u = {
286
+ const g = {
301
287
  sm: "dk:text-sm dk:px-3 dk:py-1.5",
302
288
  md: "dk:text-base dk:px-4 dk:py-2",
303
289
  lg: "dk:text-lg dk:px-5 dk:py-3"
304
- }, c = {
290
+ }, b = {
305
291
  all: "dk:rounded",
306
292
  top: "dk:rounded-t",
307
293
  bottom: "dk:rounded-b",
308
294
  left: "dk:rounded-l",
309
295
  right: "dk:rounded-r",
310
296
  none: "dk:rounded-none"
311
- }, y = g(() => {
312
- const l = u[t.size] || "", v = t.block ? "dk:w-full" : "", s = c[t.rounded] || "";
313
- return [J, l, v, s].join(" ");
297
+ }, y = c(() => {
298
+ const n = g[o.size] || "", v = o.block ? "dk:w-full" : "", s = b[o.rounded] || "";
299
+ return [K, n, v, s].join(" ");
314
300
  });
315
- return (l, v) => (d(), o("input", C({
301
+ return (n, v) => (d(), t("input", C({
316
302
  class: y.value,
317
303
  value: r.modelValue
318
- }, l.$attrs, { onInput: n }), null, 16, G));
304
+ }, n.$attrs, { onInput: l }), null, 16, J));
319
305
  }
320
- }), K = ["value"], Q = `
306
+ }), Q = ["value"], U = `
321
307
  dk:border-b
322
308
  dk:border-zinc-300
323
309
  dk:bg-zinc-50
@@ -329,7 +315,7 @@ const F = { key: 1 }, H = `
329
315
  dk:dark:bg-zinc-800
330
316
  dk:dark:text-zinc-100
331
317
  dk:dark:focus:bg-zinc-700
332
- dk:dark:[color-scheme:dark]`, Ve = /* @__PURE__ */ j({
318
+ dk:dark:[color-scheme:dark]`, je = /* @__PURE__ */ j({
333
319
  inheritAttrs: !1,
334
320
  __name: "DuiTextarea",
335
321
  props: {
@@ -360,16 +346,16 @@ const F = { key: 1 }, H = `
360
346
  },
361
347
  emits: ["update:modelValue"],
362
348
  setup(r, { emit: e }) {
363
- const t = r, k = e;
364
- function n(s) {
365
- const b = s.target;
366
- t.autoheight && v(b), k("update:modelValue", b.value);
349
+ const o = r, a = e;
350
+ function l(s) {
351
+ const u = s.target;
352
+ o.autoheight && v(u), a("update:modelValue", u.value);
367
353
  }
368
- const u = {
354
+ const g = {
369
355
  sm: "dk:text-sm dk:px-3 dk:py-1.5",
370
356
  md: "dk:text-base dk:px-3 dk:py-2",
371
357
  lg: "dk:text-lg dk:px-5 dk:py-3"
372
- }, c = {
358
+ }, b = {
373
359
  all: "dk:rounded",
374
360
  top: "dk:rounded-t",
375
361
  bottom: "dk:rounded-b",
@@ -381,24 +367,24 @@ const F = { key: 1 }, H = `
381
367
  both: "dk:resize",
382
368
  horizontal: "dk:resize-x",
383
369
  vertical: "dk:resize-y"
384
- }, l = g(() => {
385
- const s = u[t.size] || "", b = t.block ? "dk:w-full" : "", f = c[t.rounded] || "", P = y[t.resize] || "";
386
- return [Q, s, b, f, P].join(" ");
370
+ }, n = c(() => {
371
+ const s = g[o.size] || "", u = o.block ? "dk:w-full" : "", f = b[o.rounded] || "", N = y[o.resize] || "";
372
+ return [U, s, u, f, N].join(" ");
387
373
  }), v = (s) => {
388
374
  s.style.height = "auto", s.style.height = `${s.scrollHeight + 5}px`;
389
375
  };
390
- return (s, b) => (d(), o("textarea", C(s.$attrs, {
391
- class: l.value,
376
+ return (s, u) => (d(), t("textarea", C(s.$attrs, {
377
+ class: n.value,
392
378
  value: r.modelValue,
393
- onInput: n
394
- }), null, 16, K));
379
+ onInput: l
380
+ }), null, 16, Q));
395
381
  }
396
- }), Y = {
382
+ }), X = {
397
383
  key: 0,
398
384
  disabled: "",
399
385
  selected: "",
400
386
  hidden: ""
401
- }, Z = ["value", "selected"], ee = `
387
+ }, Y = ["value", "selected"], Z = `
402
388
  dk:border-b
403
389
  dk:border-zinc-300
404
390
  dk:bg-zinc-50
@@ -411,7 +397,7 @@ const F = { key: 1 }, H = `
411
397
  dk:dark:text-zinc-100
412
398
  dk:dark:focus:bg-zinc-700
413
399
  dk:dark:[color-scheme:dark]
414
- `, Ne = /* @__PURE__ */ j({
400
+ `, Ve = /* @__PURE__ */ j({
415
401
  inheritAttrs: !1,
416
402
  __name: "DuiSelect",
417
403
  props: {
@@ -450,42 +436,42 @@ const F = { key: 1 }, H = `
450
436
  },
451
437
  emits: ["update:modelValue"],
452
438
  setup(r, { emit: e }) {
453
- const t = r, k = e;
454
- function n(l) {
455
- const s = l.target.value, b = Number(s);
456
- !isNaN(b) && s !== "" ? k("update:modelValue", b) : k("update:modelValue", s);
439
+ const o = r, a = e;
440
+ function l(n) {
441
+ const s = n.target.value, u = Number(s);
442
+ !isNaN(u) && s !== "" ? a("update:modelValue", u) : a("update:modelValue", s);
457
443
  }
458
- const u = {
444
+ const g = {
459
445
  sm: "dk:text-sm dk:px-3 dk:py-1.5",
460
446
  md: "dk:text-base dk:px-4 dk:py-2",
461
447
  lg: "dk:text-lg dk:px-5 dk:py-3"
462
- }, c = {
448
+ }, b = {
463
449
  all: "dk:rounded",
464
450
  top: "dk:rounded-t",
465
451
  bottom: "dk:rounded-b",
466
452
  left: "dk:rounded-l",
467
453
  right: "dk:rounded-r",
468
454
  none: "dk:rounded-none"
469
- }, y = g(() => {
470
- const l = u[t.size] || "", v = t.block ? "dk:w-full" : "", s = c[t.rounded] || "";
471
- return [ee, l, v, s].join(" ");
455
+ }, y = c(() => {
456
+ const n = g[o.size] || "", v = o.block ? "dk:w-full" : "", s = b[o.rounded] || "";
457
+ return [Z, n, v, s].join(" ");
472
458
  });
473
- return (l, v) => (d(), o("select", C(l.$attrs, {
459
+ return (n, v) => (d(), t("select", C(n.$attrs, {
474
460
  class: y.value,
475
- onChange: n
461
+ onChange: l
476
462
  }), [
477
- r.placeholder ? (d(), o("option", Y, z(r.placeholder), 1)) : m("", !0),
478
- (d(!0), o(_, null, D(r.options, (s, b) => (d(), o("option", {
479
- key: b,
463
+ r.placeholder ? (d(), t("option", X, z(r.placeholder), 1)) : m("", !0),
464
+ (d(!0), t($, null, B(r.options, (s, u) => (d(), t("option", {
465
+ key: u,
480
466
  value: s[r.itemValue] ?? "",
481
467
  selected: s[r.itemValue] == r.modelValue
482
- }, z(s[r.itemLabel] ?? ""), 9, Z))), 128))
468
+ }, z(s[r.itemLabel] ?? ""), 9, Y))), 128))
483
469
  ], 16));
484
470
  }
485
- }), de = {
471
+ }), ee = {
486
472
  key: 1,
487
473
  class: "dk:text-rose-500 dk:ml-1"
488
- }, re = { 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" }, te = "dk:space-y-1", oe = /* @__PURE__ */ j({
474
+ }, de = { 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" }, re = "dk:space-y-1", te = /* @__PURE__ */ j({
489
475
  __name: "DuiLabel",
490
476
  props: {
491
477
  title: {
@@ -514,74 +500,74 @@ const F = { key: 1 }, H = `
514
500
  }
515
501
  },
516
502
  setup(r) {
517
- const e = U(!1), t = r, k = {
503
+ const e = q(!1), o = r, a = {
518
504
  s: "dk:text-sm",
519
505
  m: "dk:text-base",
520
506
  l: "dk:text-lg"
521
- }, n = {
507
+ }, l = {
522
508
  s: "dk:mt-1",
523
509
  m: "dk:mt-1.5",
524
510
  l: "dk:mt-2"
525
- }, u = {
511
+ }, g = {
526
512
  s: "dk:text-xs",
527
513
  m: "dk:text-sm",
528
514
  l: "dk:text-base"
529
- }, c = g(() => [te].join(" ")), y = g(() => {
530
- const s = k[t.size] || k.m, b = "dk:block dk:font-medium dk:text-zinc-700 dk:dark:text-zinc-200 dk:flex dk:items-center", f = t.helpText ? "dk:cursor-help" : "";
531
- return [b, s, f].join(" ");
532
- }), l = g(() => [n[t.size] || n.m].join(" ")), v = g(() => ["dk:text-rose-600 dk:dark:text-rose-400 dk:flex dk:items-center dk:mt-1", u[t.size] || u.m].join(" "));
533
- return (s, b) => (d(), o("label", {
534
- class: h(c.value)
515
+ }, b = c(() => [re].join(" ")), y = c(() => {
516
+ const s = a[o.size] || a.m, u = "dk:block dk:font-medium dk:text-zinc-700 dk:dark:text-zinc-200 dk:flex dk:items-center", f = o.helpText ? "dk:cursor-help" : "";
517
+ return [u, s, f].join(" ");
518
+ }), n = c(() => [l[o.size] || l.m].join(" ")), v = c(() => ["dk:text-rose-600 dk:dark:text-rose-400 dk:flex dk:items-center dk:mt-1", g[o.size] || g.m].join(" "));
519
+ return (s, u) => (d(), t("label", {
520
+ class: h(b.value)
535
521
  }, [
536
- r.title ? (d(), o("div", {
522
+ r.title ? (d(), t("div", {
537
523
  key: 0,
538
524
  class: "dk:relative",
539
- onMouseenter: b[0] || (b[0] = (f) => e.value = !!r.helpText),
540
- onMouseleave: b[1] || (b[1] = (f) => e.value = !1)
525
+ onMouseenter: u[0] || (u[0] = (f) => e.value = !!r.helpText),
526
+ onMouseleave: u[1] || (u[1] = (f) => e.value = !1)
541
527
  }, [
542
528
  p("div", {
543
529
  class: h(y.value)
544
530
  }, [
545
- r.icon ? (d(), o("i", {
531
+ r.icon ? (d(), t("i", {
546
532
  key: 0,
547
533
  class: h([r.icon, "dk:mr-2"])
548
534
  }, null, 2)) : m("", !0),
549
535
  S(" " + z(r.title) + " ", 1),
550
- r.required ? (d(), o("span", de, "*")) : m("", !0)
536
+ r.required ? (d(), t("span", ee, "*")) : m("", !0)
551
537
  ], 2),
552
- M(p("div", re, [
538
+ R(p("div", de, [
553
539
  S(z(r.helpText) + " ", 1),
554
- b[2] || (b[2] = p("div", { class: "tooltip-arrow tooltip-arrow-down" }, null, -1))
540
+ u[2] || (u[2] = p("div", { class: "tooltip-arrow tooltip-arrow-down" }, null, -1))
555
541
  ], 512), [
556
542
  [A, e.value && r.helpText]
557
543
  ])
558
544
  ], 32)) : m("", !0),
559
545
  p("div", {
560
- class: h(l.value)
546
+ class: h(n.value)
561
547
  }, [
562
- $(s.$slots, "default", {}, void 0, !0)
548
+ _(s.$slots, "default", {}, void 0, !0)
563
549
  ], 2),
564
- r.error ? (d(), o("div", {
550
+ r.error ? (d(), t("div", {
565
551
  key: 1,
566
552
  class: h(v.value)
567
553
  }, [
568
- b[3] || (b[3] = p("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)),
554
+ u[3] || (u[3] = p("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)),
569
555
  S(" " + z(r.error), 1)
570
556
  ], 2)) : m("", !0)
571
557
  ], 2));
572
558
  }
573
- }), ke = (r, e) => {
574
- const t = r.__vccOpts || r;
575
- for (const [k, n] of e)
576
- t[k] = n;
577
- return t;
578
- }, Te = /* @__PURE__ */ ke(oe, [["__scopeId", "data-v-aa6b6cdc"]]), ae = `
559
+ }), oe = (r, e) => {
560
+ const o = r.__vccOpts || r;
561
+ for (const [a, l] of e)
562
+ o[a] = l;
563
+ return o;
564
+ }, De = /* @__PURE__ */ oe(te, [["__scopeId", "data-v-aa6b6cdc"]]), ke = `
579
565
  dk:px-4
580
566
  dk:py-3
581
567
  dk:text-sm
582
568
  dk:leading-relaxed
583
569
  dk:max-w-full
584
- `, De = /* @__PURE__ */ j({
570
+ `, Te = /* @__PURE__ */ j({
585
571
  __name: "DuiAlert",
586
572
  props: {
587
573
  variant: {
@@ -598,14 +584,14 @@ const F = { key: 1 }, H = `
598
584
  }
599
585
  },
600
586
  setup(r) {
601
- const e = r, t = {
587
+ const e = r, o = {
602
588
  all: "dk:rounded",
603
589
  top: "dk:rounded-t",
604
590
  bottom: "dk:rounded-b",
605
591
  left: "dk:rounded-l",
606
592
  right: "dk:rounded-r",
607
593
  none: "dk:rounded-none"
608
- }, k = {
594
+ }, a = {
609
595
  solid: {
610
596
  base: "",
611
597
  neutral: "dk:bg-zinc-200 dk:text-zinc-800 dk:dark:bg-zinc-700 dk:dark:text-zinc-100",
@@ -633,19 +619,19 @@ const F = { key: 1 }, H = `
633
619
  warning: "dk:text-amber-700 dk:dark:text-amber-200 dk:bg-amber-50 dk:dark:bg-amber-800",
634
620
  danger: "dk:text-rose-700 dk:dark:text-rose-200 dk:bg-rose-50 dk:dark:bg-rose-800"
635
621
  }
636
- }, n = g(() => {
637
- var l;
638
- const u = ((l = k[e.variant]) == null ? void 0 : l[e.color]) || "", c = k[e.variant].base || "", y = t[e.rounded] || "";
639
- return [ae, c, u, y].join(" ");
622
+ }, l = c(() => {
623
+ var n;
624
+ const g = ((n = a[e.variant]) == null ? void 0 : n[e.color]) || "", b = a[e.variant].base || "", y = o[e.rounded] || "";
625
+ return [ke, b, g, y].join(" ");
640
626
  });
641
- return (u, c) => (d(), o("div", {
642
- class: h(n.value),
627
+ return (g, b) => (d(), t("div", {
628
+ class: h(l.value),
643
629
  role: "alert"
644
630
  }, [
645
- $(u.$slots, "default")
631
+ _(g.$slots, "default")
646
632
  ], 2));
647
633
  }
648
- }), ne = { class: "dk:relative dk:overflow-x-auto dk:shadow-md dk:sm:rounded-lg" }, se = { class: "dk:w-full dk:text-sm dk:text-left dk:text-gray-700 dk:dark:text-gray-300" }, le = { class: "dk:text-xs dk:uppercase dk:bg-gray-100 dk:dark:bg-gray-700 dk:dark:text-gray-200" }, Re = /* @__PURE__ */ j({
634
+ }), ae = { class: "dk:relative dk:overflow-x-auto dk:shadow-md dk:sm:rounded-lg" }, se = { class: "dk:w-full dk:text-sm dk:text-left dk:text-gray-700 dk:dark:text-gray-300" }, ne = { class: "dk:text-xs dk:uppercase dk:bg-gray-100 dk:dark:bg-gray-700 dk:dark:text-gray-200" }, Be = /* @__PURE__ */ j({
649
635
  __name: "DuiTable",
650
636
  props: {
651
637
  columns: {
@@ -659,27 +645,27 @@ const F = { key: 1 }, H = `
659
645
  },
660
646
  setup(r) {
661
647
  const e = r;
662
- return (t, k) => (d(), o("div", ne, [
648
+ return (o, a) => (d(), t("div", ae, [
663
649
  p("table", se, [
664
- p("thead", le, [
650
+ p("thead", ne, [
665
651
  p("tr", null, [
666
- (d(!0), o(_, null, D(e.columns, (n) => (d(), o("th", {
667
- key: n.name,
668
- class: h(["dk:px-6 dk:py-3", n.classes])
669
- }, z(n.label), 3))), 128))
652
+ (d(!0), t($, null, B(e.columns, (l) => (d(), t("th", {
653
+ key: l.name,
654
+ class: h(["dk:px-6 dk:py-3", l.classes])
655
+ }, z(l.label), 3))), 128))
670
656
  ])
671
657
  ]),
672
658
  p("tbody", null, [
673
- (d(!0), o(_, null, D(e.rows, (n, u) => (d(), o("tr", {
674
- key: u,
659
+ (d(!0), t($, null, B(e.rows, (l, g) => (d(), t("tr", {
660
+ key: g,
675
661
  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"
676
662
  }, [
677
- (d(!0), o(_, null, D(e.columns, (c) => (d(), o("td", {
678
- key: c.name,
663
+ (d(!0), t($, null, B(e.columns, (b) => (d(), t("td", {
664
+ key: b.name,
679
665
  class: "dk:px-6 dk:py-4 dk:text-gray-900 dk:dark:text-gray-100"
680
666
  }, [
681
- $(t.$slots, c.name, C({ ref_for: !0 }, n), () => [
682
- S(z(n[c.name]), 1)
667
+ _(o.$slots, b.name, C({ ref_for: !0 }, l), () => [
668
+ S(z(l[b.name]), 1)
683
669
  ])
684
670
  ]))), 128))
685
671
  ]))), 128))
@@ -687,7 +673,7 @@ const F = { key: 1 }, H = `
687
673
  ])
688
674
  ]));
689
675
  }
690
- }), ie = { key: 1 }, ue = `
676
+ }), le = { key: 1 }, ie = `
691
677
  dk:transition
692
678
  dk:text-center
693
679
  dk:disabled:opacity-50
@@ -698,7 +684,7 @@ const F = { key: 1 }, H = `
698
684
  dk:text-ellipsis
699
685
  dk:whitespace-nowrap
700
686
  dk:active:scale-95
701
- dk:max-w-full`, Pe = /* @__PURE__ */ j({
687
+ dk:max-w-full`, Le = /* @__PURE__ */ j({
702
688
  __name: "DuiAction",
703
689
  props: {
704
690
  variant: { default: "solid" },
@@ -708,21 +694,22 @@ const F = { key: 1 }, H = `
708
694
  block: { type: Boolean, default: !1 },
709
695
  title: { default: void 0 },
710
696
  rounded: { default: "all" },
711
- to: { default: void 0 }
697
+ to: { default: void 0 },
698
+ nuxt: { type: Boolean, default: !1 }
712
699
  },
713
700
  setup(r) {
714
- const e = r, t = g(() => e.to ? I(e.to) : "span"), k = g(() => O(e.to, t.value)), n = {
701
+ const e = r, o = c(() => e.to ? O(e.to, e.nuxt) : "span"), a = c(() => W(e.to, o.value)), l = {
715
702
  sm: "dk:text-sm dk:px-3 dk:py-1.5",
716
703
  md: "dk:text-base dk:px-4 dk:py-2",
717
704
  lg: "dk:text-lg dk:px-5 dk:py-3"
718
- }, u = {
705
+ }, g = {
719
706
  all: "dk:rounded",
720
707
  top: "dk:rounded-t",
721
708
  bottom: "dk:rounded-b",
722
709
  left: "dk:rounded-l",
723
710
  right: "dk:rounded-r",
724
711
  none: "dk:rounded-none"
725
- }, c = {
712
+ }, b = {
726
713
  solid: {
727
714
  base: "dk:border-b",
728
715
  neutral: `
@@ -894,25 +881,25 @@ const F = { key: 1 }, H = `
894
881
  dk:dark:text-amber-100
895
882
  dk:dark:hover:bg-amber-800`
896
883
  }
897
- }, y = g(() => {
884
+ }, y = c(() => {
898
885
  var f;
899
- const l = (((f = c[e.variant]) == null ? void 0 : f[e.color]) || "") + " " + c[e.variant].base, v = n[e.size] || "", s = e.block ? "dk:block" : "dk:inline-block", b = u[e.rounded] || "";
900
- return [ue, l, v, s, b].join(" ");
886
+ const n = (((f = b[e.variant]) == null ? void 0 : f[e.color]) || "") + " " + b[e.variant].base, v = l[e.size] || "", s = e.block ? "dk:block" : "dk:inline-block", u = g[e.rounded] || "";
887
+ return [ie, n, v, s, u].join(" ");
901
888
  });
902
- return (l, v) => (d(), V(N(t.value), C(k.value, {
889
+ return (n, v) => (d(), V(D(o.value), C(a.value, {
903
890
  class: y.value,
904
891
  title: e.title
905
892
  }), {
906
893
  default: T(() => [
907
- e.loading ? (d(), o("span", ie, "Cargando...")) : $(l.$slots, "default", { key: 0 })
894
+ e.loading ? (d(), t("span", le, "Cargando...")) : _(n.$slots, "default", { key: 0 })
908
895
  ]),
909
896
  _: 3
910
897
  }, 16, ["class", "title"]));
911
898
  }
912
- }), ce = {
899
+ }), ue = {
913
900
  key: 0,
914
901
  class: "dk:relative dk:overflow-hidden dk:rounded-t-lg"
915
- }, be = ["src", "alt"], Be = /* @__PURE__ */ j({
902
+ }, ce = ["src", "alt"], Ne = /* @__PURE__ */ j({
916
903
  __name: "DuiCard",
917
904
  props: {
918
905
  size: { default: "m" },
@@ -922,23 +909,23 @@ const F = { key: 1 }, H = `
922
909
  to: { default: void 0 }
923
910
  },
924
911
  setup(r) {
925
- const e = r, t = E(), k = t == null ? void 0 : t.appContext.app, n = g(() => {
912
+ const e = r, o = I(), a = o == null ? void 0 : o.appContext.app, l = c(() => {
926
913
  try {
927
- return !!(k != null && k.config.globalProperties.$router || k != null && k.config.globalProperties.$route || globalThis.VueRouter || k != null && k.component("RouterLink"));
914
+ return !!(a != null && a.config.globalProperties.$router || a != null && a.config.globalProperties.$route || globalThis.VueRouter || a != null && a.component("RouterLink"));
928
915
  } catch {
929
916
  return !1;
930
917
  }
931
- }), u = g(() => {
918
+ }), g = c(() => {
932
919
  try {
933
- return !!(globalThis.$nuxt || globalThis.useNuxtApp || globalThis.navigateTo || typeof window < "u" && window.$nuxt || k != null && k.component("NuxtLink"));
920
+ return !!(globalThis.$nuxt || globalThis.useNuxtApp || globalThis.navigateTo || typeof window < "u" && window.$nuxt || a != null && a.component("NuxtLink"));
934
921
  } catch {
935
922
  return !1;
936
923
  }
937
- }), c = () => e.to ? u.value ? "NuxtLink" : n.value ? "RouterLink" : "a" : "div", y = () => e.to ? u.value ? "NuxtLink" : n.value ? "RouterLink" : "a" : "h3", l = () => {
938
- const a = {};
939
- if (!e.to) return a;
940
- const R = c();
941
- return R === "a" ? a.href = typeof e.to == "string" ? e.to : "#" : (R === "RouterLink" || R === "NuxtLink") && (a.to = e.to), a;
924
+ }), b = () => e.to ? g.value ? "NuxtLink" : l.value ? "RouterLink" : "a" : "div", y = () => e.to ? g.value ? "NuxtLink" : l.value ? "RouterLink" : "a" : "h3", n = () => {
925
+ const k = {};
926
+ if (!e.to) return k;
927
+ const L = b();
928
+ return L === "a" ? k.href = typeof e.to == "string" ? e.to : "#" : (L === "RouterLink" || L === "NuxtLink") && (k.to = e.to), k;
942
929
  }, v = {
943
930
  s: {
944
931
  padding: "dk:p-3",
@@ -961,62 +948,62 @@ const F = { key: 1 }, H = `
961
948
  subtitleSize: "dk:text-lg",
962
949
  contentSize: "dk:text-lg"
963
950
  }
964
- }, s = g(() => [
951
+ }, s = c(() => [
965
952
  // Base card styles
966
953
  "dk:bg-white dk:rounded-lg dk:shadow-md dk:border dk:border-gray-200",
967
954
  "dk:dark:bg-gray-800 dk:dark:border-gray-700 dk:dark:shadow-gray-900/20",
968
955
  "dk:transition-all dk:duration-200",
969
956
  "dk:hover:shadow-lg dk:dark:hover:shadow-gray-900/40",
970
957
  "dk:overflow-hidden"
971
- ].join(" ")), b = g(() => [
958
+ ].join(" ")), u = c(() => [
972
959
  "dk:w-full dk:h-48 dk:object-cover"
973
- ].join(" ")), f = g(() => {
974
- const a = v[e.size];
960
+ ].join(" ")), f = c(() => {
961
+ const k = v[e.size];
975
962
  return [
976
- a.padding,
977
- a.spacing
963
+ k.padding,
964
+ k.spacing
978
965
  ].join(" ");
979
- }), P = g(() => [
966
+ }), N = c(() => [
980
967
  v[e.size].spacing
981
- ].join(" ")), B = g(() => {
982
- const R = [
968
+ ].join(" ")), P = c(() => {
969
+ const L = [
983
970
  v[e.size].titleSize,
984
971
  "dk:font-semibold dk:text-gray-900 dk:dark:text-gray-100",
985
972
  "dk:line-clamp-2"
986
973
  ];
987
- return e.to && R.push(
974
+ return e.to && L.push(
988
975
  "dk:no-underline dk:hover:underline dk:transition-colors",
989
976
  "dk:hover:text-blue-600 dk:dark:hover:text-blue-400"
990
- ), R.join(" ");
991
- }), L = g(() => {
992
- const a = [
977
+ ), L.join(" ");
978
+ }), M = c(() => {
979
+ const k = [
993
980
  "dk:block",
994
981
  "dk:transition-transform dk:duration-200",
995
982
  "dk:hover:scale-105"
996
983
  ];
997
- return e.to && a.push("dk:no-underline"), a.join(" ");
998
- }), x = g(() => [
984
+ return e.to && k.push("dk:no-underline"), k.join(" ");
985
+ }), x = c(() => [
999
986
  v[e.size].subtitleSize,
1000
987
  "dk:text-gray-600 dk:dark:text-gray-400",
1001
988
  "dk:line-clamp-3"
1002
- ].join(" ")), w = g(() => [
989
+ ].join(" ")), w = c(() => [
1003
990
  v[e.size].contentSize,
1004
991
  "dk:text-gray-700 dk:dark:text-gray-300"
1005
- ].join(" ")), i = g(() => [
992
+ ].join(" ")), i = c(() => [
1006
993
  "dk:border-t dk:border-gray-200 dk:dark:border-gray-700",
1007
994
  "dk:pt-3 dk:mt-3"
1008
995
  ].join(" "));
1009
- return (a, R) => (d(), o("div", {
996
+ return (k, L) => (d(), t("div", {
1010
997
  class: h(s.value)
1011
998
  }, [
1012
- a.image ? (d(), o("div", ce, [
1013
- (d(), V(N(c()), C(l(), { class: L.value }), {
999
+ k.image ? (d(), t("div", ue, [
1000
+ (d(), V(D(b()), C(n(), { class: M.value }), {
1014
1001
  default: T(() => [
1015
1002
  p("img", {
1016
- src: a.image,
1017
- alt: a.title || "Card image",
1018
- class: h(b.value)
1019
- }, null, 10, be)
1003
+ src: k.image,
1004
+ alt: k.title || "Card image",
1005
+ class: h(u.value)
1006
+ }, null, 10, ce)
1020
1007
  ]),
1021
1008
  _: 1
1022
1009
  }, 16, ["class"]))
@@ -1024,66 +1011,67 @@ const F = { key: 1 }, H = `
1024
1011
  p("div", {
1025
1012
  class: h(f.value)
1026
1013
  }, [
1027
- a.title || a.subtitle ? (d(), o("div", {
1014
+ k.title || k.subtitle ? (d(), t("div", {
1028
1015
  key: 0,
1029
- class: h(P.value)
1016
+ class: h(N.value)
1030
1017
  }, [
1031
- a.title ? (d(), V(N(y()), C({ key: 0 }, l(), { class: B.value }), {
1018
+ k.title ? (d(), V(D(y()), C({ key: 0 }, n(), { class: P.value }), {
1032
1019
  default: T(() => [
1033
- S(z(a.title), 1)
1020
+ S(z(k.title), 1)
1034
1021
  ]),
1035
1022
  _: 1
1036
1023
  }, 16, ["class"])) : m("", !0),
1037
- a.subtitle ? (d(), o("p", {
1024
+ k.subtitle ? (d(), t("p", {
1038
1025
  key: 1,
1039
1026
  class: h(x.value)
1040
- }, z(a.subtitle), 3)) : m("", !0)
1027
+ }, z(k.subtitle), 3)) : m("", !0)
1041
1028
  ], 2)) : m("", !0),
1042
- a.$slots.default ? (d(), o("div", {
1029
+ k.$slots.default ? (d(), t("div", {
1043
1030
  key: 1,
1044
1031
  class: h(w.value)
1045
1032
  }, [
1046
- $(a.$slots, "default")
1033
+ _(k.$slots, "default")
1047
1034
  ], 2)) : m("", !0),
1048
- a.$slots.footer ? (d(), o("div", {
1035
+ k.$slots.footer ? (d(), t("div", {
1049
1036
  key: 2,
1050
1037
  class: h(i.value)
1051
1038
  }, [
1052
- $(a.$slots, "footer")
1039
+ _(k.$slots, "footer")
1053
1040
  ], 2)) : m("", !0)
1054
1041
  ], 2)
1055
1042
  ], 2));
1056
1043
  }
1057
- }), ge = {
1044
+ }), be = {
1058
1045
  key: 0,
1059
1046
  class: "dk:flex dk:items-center dk:gap-4"
1060
- }, pe = { class: "dk:hidden dk:md:flex dk:items-center dk:space-x-1" }, ve = {
1047
+ }, ge = { class: "dk:hidden dk:md:flex dk:items-center dk:space-x-1" }, pe = {
1061
1048
  key: 0,
1062
1049
  class: "dk:relative dk:group"
1063
- }, xe = { class: "dk:absolute dk:left-0 dk:top-full dk:min-w-48 dk:py-2 dk:mt-1 dk:bg-white dk:rounded-lg dk:shadow-lg dk:border dk:border-gray-200 dk:opacity-0 dk:invisible dk:group-hover:opacity-100 dk:group-hover:visible dk:transition-all dk:duration-200 dk:z-50 dk:dark:bg-gray-800 dk:dark:border-gray-700" }, he = {
1050
+ }, ve = { class: "dk:absolute dk:left-0 dk:top-full dk:min-w-48 dk:py-2 dk:mt-1 dk:bg-white dk:rounded-lg dk:shadow-lg dk:border dk:border-gray-200 dk:opacity-0 dk:invisible dk:group-hover:opacity-100 dk:group-hover:visible dk:transition-all dk:duration-200 dk:z-50 dk:dark:bg-gray-800 dk:dark:border-gray-700" }, xe = {
1064
1051
  key: 2,
1065
1052
  class: "dk:hidden dk:md:flex dk:items-center dk:gap-2"
1066
- }, me = { class: "dk:md:hidden dk:absolute dk:top-full dk:left-0 dk:w-full dk:bg-white dk:border-t dk:border-gray-200 dk:shadow-lg dk:dark:bg-gray-800 dk:dark:border-gray-700 dk:z-40" }, ye = { class: "dk:px-4 dk:py-3 dk:space-y-2" }, fe = { key: 0 }, ze = ["onClick"], we = { class: "dk:flex dk:items-center dk:flex-1" }, Ce = { class: "dk:ml-4 dk:mt-2 dk:space-y-1" }, Se = {
1053
+ }, he = { class: "dk:md:hidden dk:absolute dk:top-full dk:left-0 dk:w-full dk:bg-white dk:border-t dk:border-gray-200 dk:shadow-lg dk:dark:bg-gray-800 dk:dark:border-gray-700 dk:z-40" }, me = { class: "dk:px-4 dk:py-3 dk:space-y-2" }, ye = { key: 0 }, fe = ["onClick"], ze = { class: "dk:flex dk:items-center dk:flex-1" }, we = { class: "dk:ml-4 dk:mt-2 dk:space-y-1" }, Ce = {
1067
1054
  key: 0,
1068
1055
  class: "dk:pt-3 dk:border-t dk:border-gray-200 dk:dark:border-gray-700"
1069
- }, Le = /* @__PURE__ */ j({
1056
+ }, Pe = /* @__PURE__ */ j({
1070
1057
  __name: "DuiNavbar",
1071
1058
  props: {
1072
1059
  items: { default: () => [] },
1073
- size: { default: "m" }
1060
+ size: { default: "m" },
1061
+ nuxt: { type: Boolean, default: !1 }
1074
1062
  },
1075
1063
  setup(r) {
1076
- const e = r, t = E(), k = U(!1), n = W({}), u = (x) => I(x.to), c = (x) => {
1077
- const w = u(x);
1078
- return O(x.to, w);
1064
+ const e = r, o = I(), a = q(!1), l = E({}), g = (x) => O(x.to, e.nuxt), b = (x) => {
1065
+ const w = g(x);
1066
+ return W(x.to, w);
1079
1067
  }, y = () => {
1080
- k.value = !k.value;
1081
- }, l = () => {
1082
- k.value = !1, Object.keys(n).forEach((x) => {
1083
- n[x] = !1;
1068
+ a.value = !a.value;
1069
+ }, n = () => {
1070
+ a.value = !1, Object.keys(l).forEach((x) => {
1071
+ l[x] = !1;
1084
1072
  });
1085
1073
  }, v = (x) => {
1086
- n[x] = !n[x];
1074
+ l[x] = !l[x];
1087
1075
  }, s = {
1088
1076
  s: {
1089
1077
  height: "dk:h-12",
@@ -1103,7 +1091,7 @@ const F = { key: 1 }, H = `
1103
1091
  text: "dk:text-lg",
1104
1092
  itemPadding: "dk:px-4 dk:py-3"
1105
1093
  }
1106
- }, b = g(() => {
1094
+ }, u = c(() => {
1107
1095
  const x = s[e.size];
1108
1096
  return [
1109
1097
  // Base classes
@@ -1111,12 +1099,12 @@ const F = { key: 1 }, H = `
1111
1099
  "dk:dark:bg-gray-800 dk:dark:border-gray-700",
1112
1100
  "dk:flex dk:items-center dk:w-full",
1113
1101
  // Conditional justify based on slots
1114
- !!(t != null && t.slots.brand || t != null && t.slots.actions) ? "dk:justify-between" : "dk:justify-center dk:md:justify-start",
1102
+ !!(o != null && o.slots.brand || o != null && o.slots.actions) ? "dk:justify-between" : "dk:justify-center dk:md:justify-start",
1115
1103
  x.height,
1116
1104
  x.padding,
1117
1105
  x.text
1118
1106
  ].join(" ");
1119
- }), f = g(() => [
1107
+ }), f = c(() => [
1120
1108
  // Base styles
1121
1109
  "dk:flex dk:items-center dk:rounded-lg dk:transition-all dk:duration-200",
1122
1110
  "dk:text-gray-700 dk:hover:text-gray-900 dk:hover:bg-gray-100",
@@ -1124,27 +1112,27 @@ const F = { key: 1 }, H = `
1124
1112
  "dk:focus:outline-none dk:focus:ring-2 dk:focus:ring-gray-200 dk:dark:focus:ring-gray-600",
1125
1113
  "dk:no-underline",
1126
1114
  s[e.size].itemPadding
1127
- ].join(" ")), P = g(() => [
1115
+ ].join(" ")), N = c(() => [
1128
1116
  "dk:block dk:w-full dk:text-left dk:px-4 dk:py-2 dk:text-sm",
1129
1117
  "dk:text-gray-700 dk:hover:bg-gray-100 dk:hover:text-gray-900",
1130
1118
  "dk:dark:text-gray-300 dk:dark:hover:bg-gray-700 dk:dark:hover:text-gray-100",
1131
1119
  "dk:transition-colors dk:duration-200 dk:no-underline"
1132
- ].join(" ")), B = g(() => [
1120
+ ].join(" ")), P = c(() => [
1133
1121
  "dk:flex dk:items-center dk:justify-between dk:w-full dk:text-left dk:px-3 dk:py-2",
1134
1122
  "dk:text-gray-700 dk:hover:bg-gray-100 dk:hover:text-gray-900 dk:rounded-lg",
1135
1123
  "dk:dark:text-gray-300 dk:dark:hover:bg-gray-700 dk:dark:hover:text-gray-100",
1136
1124
  "dk:transition-colors dk:duration-200 dk:no-underline"
1137
- ].join(" ")), L = g(() => [
1125
+ ].join(" ")), M = c(() => [
1138
1126
  "dk:block dk:w-full dk:text-left dk:px-3 dk:py-2 dk:text-sm dk:rounded-lg",
1139
1127
  "dk:text-gray-600 dk:hover:bg-gray-100 dk:hover:text-gray-800",
1140
1128
  "dk:dark:text-gray-400 dk:dark:hover:bg-gray-700 dk:dark:hover:text-gray-200",
1141
1129
  "dk:transition-colors dk:duration-200 dk:no-underline"
1142
1130
  ].join(" "));
1143
- return (x, w) => (d(), o("nav", {
1144
- class: h(b.value)
1131
+ return (x, w) => (d(), t("nav", {
1132
+ class: h(u.value)
1145
1133
  }, [
1146
- x.$slots.brand ? (d(), o("div", ge, [
1147
- $(x.$slots, "brand"),
1134
+ x.$slots.brand ? (d(), t("div", be, [
1135
+ _(x.$slots, "brand"),
1148
1136
  p("button", {
1149
1137
  type: "button",
1150
1138
  class: "dk:md:hidden dk:p-2 dk:rounded-lg dk:text-gray-500 dk:hover:bg-gray-100 dk:focus:outline-none dk:focus:ring-2 dk:focus:ring-gray-200 dk:dark:text-gray-400 dk:dark:hover:bg-gray-700 dk:dark:focus:ring-gray-600",
@@ -1166,7 +1154,7 @@ const F = { key: 1 }, H = `
1166
1154
  ], -1)
1167
1155
  ]))
1168
1156
  ])) : m("", !0),
1169
- x.$slots.brand ? m("", !0) : (d(), o("button", {
1157
+ x.$slots.brand ? m("", !0) : (d(), t("button", {
1170
1158
  key: 1,
1171
1159
  type: "button",
1172
1160
  class: "dk:md:hidden dk:p-2 dk:rounded-lg dk:text-gray-500 dk:hover:bg-gray-100 dk:focus:outline-none dk:focus:ring-2 dk:focus:ring-gray-200 dk:dark:text-gray-400 dk:dark:hover:bg-gray-700 dk:dark:focus:ring-gray-600",
@@ -1187,14 +1175,14 @@ const F = { key: 1 }, H = `
1187
1175
  })
1188
1176
  ], -1)
1189
1177
  ]))),
1190
- p("div", pe, [
1191
- (d(!0), o(_, null, D(x.items, (i) => (d(), o(_, {
1178
+ p("div", ge, [
1179
+ (d(!0), t($, null, B(x.items, (i) => (d(), t($, {
1192
1180
  key: i.label
1193
1181
  }, [
1194
- i.children && i.children.length > 0 ? (d(), o("div", ve, [
1195
- (d(), V(N(u(i)), C({ ref_for: !0 }, c(i), { class: f.value }), {
1182
+ i.children && i.children.length > 0 ? (d(), t("div", pe, [
1183
+ (d(), V(D(g(i)), C({ ref_for: !0 }, b(i), { class: f.value }), {
1196
1184
  default: T(() => [
1197
- i.icon ? (d(), o("i", {
1185
+ i.icon ? (d(), t("i", {
1198
1186
  key: 0,
1199
1187
  class: h([i.icon, "dk:mr-2"])
1200
1188
  }, null, 2)) : m("", !0),
@@ -1215,27 +1203,27 @@ const F = { key: 1 }, H = `
1215
1203
  ]),
1216
1204
  _: 2
1217
1205
  }, 1040, ["class"])),
1218
- p("div", xe, [
1219
- (d(!0), o(_, null, D(i.children, (a) => (d(), V(N(u(a)), C({
1220
- key: a.label,
1206
+ p("div", ve, [
1207
+ (d(!0), t($, null, B(i.children, (k) => (d(), V(D(g(k)), C({
1208
+ key: k.label,
1221
1209
  ref_for: !0
1222
- }, c(a), { class: P.value }), {
1210
+ }, b(k), { class: N.value }), {
1223
1211
  default: T(() => [
1224
- a.icon ? (d(), o("i", {
1212
+ k.icon ? (d(), t("i", {
1225
1213
  key: 0,
1226
- class: h([a.icon, "dk:mr-2"])
1214
+ class: h([k.icon, "dk:mr-2"])
1227
1215
  }, null, 2)) : m("", !0),
1228
- S(" " + z(a.label), 1)
1216
+ S(" " + z(k.label), 1)
1229
1217
  ]),
1230
1218
  _: 2
1231
1219
  }, 1040, ["class"]))), 128))
1232
1220
  ])
1233
- ])) : (d(), V(N(u(i)), C({
1221
+ ])) : (d(), V(D(g(i)), C({
1234
1222
  key: 1,
1235
1223
  ref_for: !0
1236
- }, c(i), { class: f.value }), {
1224
+ }, b(i), { class: f.value }), {
1237
1225
  default: T(() => [
1238
- i.icon ? (d(), o("i", {
1226
+ i.icon ? (d(), t("i", {
1239
1227
  key: 0,
1240
1228
  class: h([i.icon, "dk:mr-2"])
1241
1229
  }, null, 2)) : m("", !0),
@@ -1245,29 +1233,29 @@ const F = { key: 1 }, H = `
1245
1233
  }, 1040, ["class"]))
1246
1234
  ], 64))), 128))
1247
1235
  ]),
1248
- x.$slots.actions ? (d(), o("div", he, [
1249
- $(x.$slots, "actions")
1236
+ x.$slots.actions ? (d(), t("div", xe, [
1237
+ _(x.$slots, "actions")
1250
1238
  ])) : m("", !0),
1251
- M(p("div", me, [
1252
- p("div", ye, [
1253
- (d(!0), o(_, null, D(x.items, (i) => (d(), o(_, {
1239
+ R(p("div", he, [
1240
+ p("div", me, [
1241
+ (d(!0), t($, null, B(x.items, (i) => (d(), t($, {
1254
1242
  key: i.label
1255
1243
  }, [
1256
- i.children && i.children.length > 0 ? (d(), o("div", fe, [
1244
+ i.children && i.children.length > 0 ? (d(), t("div", ye, [
1257
1245
  p("button", {
1258
1246
  type: "button",
1259
- onClick: (a) => v(i.label),
1260
- class: h(B.value)
1247
+ onClick: (k) => v(i.label),
1248
+ class: h(P.value)
1261
1249
  }, [
1262
- p("div", we, [
1263
- i.icon ? (d(), o("i", {
1250
+ p("div", ze, [
1251
+ i.icon ? (d(), t("i", {
1264
1252
  key: 0,
1265
1253
  class: h([i.icon, "dk:mr-2"])
1266
1254
  }, null, 2)) : m("", !0),
1267
1255
  S(" " + z(i.label), 1)
1268
1256
  ]),
1269
- (d(), o("svg", {
1270
- class: h(["dk:w-4 dk:h-4 dk:transform dk:transition-transform", n[i.label] ? "dk:rotate-180" : ""]),
1257
+ (d(), t("svg", {
1258
+ class: h(["dk:w-4 dk:h-4 dk:transform dk:transition-transform", l[i.label] ? "dk:rotate-180" : ""]),
1271
1259
  fill: "none",
1272
1260
  stroke: "currentColor",
1273
1261
  viewBox: "0 0 24 24"
@@ -1279,36 +1267,36 @@ const F = { key: 1 }, H = `
1279
1267
  d: "M19 9l-7 7-7-7"
1280
1268
  }, null, -1)
1281
1269
  ]), 2))
1282
- ], 10, ze),
1283
- M(p("div", Ce, [
1284
- (d(!0), o(_, null, D(i.children, (a) => (d(), V(N(u(a)), C({
1285
- key: a.label,
1270
+ ], 10, fe),
1271
+ R(p("div", we, [
1272
+ (d(!0), t($, null, B(i.children, (k) => (d(), V(D(g(k)), C({
1273
+ key: k.label,
1286
1274
  ref_for: !0
1287
- }, c(a), {
1288
- class: L.value,
1289
- onClick: l
1275
+ }, b(k), {
1276
+ class: M.value,
1277
+ onClick: n
1290
1278
  }), {
1291
1279
  default: T(() => [
1292
- a.icon ? (d(), o("i", {
1280
+ k.icon ? (d(), t("i", {
1293
1281
  key: 0,
1294
- class: h([a.icon, "dk:mr-2"])
1282
+ class: h([k.icon, "dk:mr-2"])
1295
1283
  }, null, 2)) : m("", !0),
1296
- S(" " + z(a.label), 1)
1284
+ S(" " + z(k.label), 1)
1297
1285
  ]),
1298
1286
  _: 2
1299
1287
  }, 1040, ["class"]))), 128))
1300
1288
  ], 512), [
1301
- [A, n[i.label]]
1289
+ [A, l[i.label]]
1302
1290
  ])
1303
- ])) : (d(), V(N(u(i)), C({
1291
+ ])) : (d(), V(D(g(i)), C({
1304
1292
  key: 1,
1305
1293
  ref_for: !0
1306
- }, c(i), {
1307
- class: B.value,
1308
- onClick: l
1294
+ }, b(i), {
1295
+ class: P.value,
1296
+ onClick: n
1309
1297
  }), {
1310
1298
  default: T(() => [
1311
- i.icon ? (d(), o("i", {
1299
+ i.icon ? (d(), t("i", {
1312
1300
  key: 0,
1313
1301
  class: h([i.icon, "dk:mr-2"])
1314
1302
  }, null, 2)) : m("", !0),
@@ -1317,25 +1305,25 @@ const F = { key: 1 }, H = `
1317
1305
  _: 2
1318
1306
  }, 1040, ["class"]))
1319
1307
  ], 64))), 128)),
1320
- x.$slots.actions ? (d(), o("div", Se, [
1321
- $(x.$slots, "actions")
1308
+ x.$slots.actions ? (d(), t("div", Ce, [
1309
+ _(x.$slots, "actions")
1322
1310
  ])) : m("", !0)
1323
1311
  ])
1324
1312
  ], 512), [
1325
- [A, k.value]
1313
+ [A, a.value]
1326
1314
  ])
1327
1315
  ], 2));
1328
1316
  }
1329
1317
  });
1330
1318
  export {
1331
- Pe as DuiAction,
1332
- De as DuiAlert,
1319
+ Le as DuiAction,
1320
+ Te as DuiAlert,
1333
1321
  $e as DuiButton,
1334
- Be as DuiCard,
1335
- je as DuiInput,
1336
- Te as DuiLabel,
1337
- Le as DuiNavbar,
1338
- Ne as DuiSelect,
1339
- Re as DuiTable,
1340
- Ve as DuiTextarea
1322
+ Ne as DuiCard,
1323
+ _e as DuiInput,
1324
+ De as DuiLabel,
1325
+ Pe as DuiNavbar,
1326
+ Ve as DuiSelect,
1327
+ Be as DuiTable,
1328
+ je as DuiTextarea
1341
1329
  };