vlite3 0.6.8 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/_virtual/_commonjsHelpers.js +6 -0
  2. package/_virtual/dayjs.min.js +7 -0
  3. package/_virtual/dayjs.min2.js +4 -0
  4. package/components/Barcode/Barcode.vue.d.ts +1 -1
  5. package/components/Breadcrumb/BreadcrumbItem.vue.js +2 -2
  6. package/components/ConfirmationModal.vue.js +30 -25
  7. package/components/DataTable/DataTableRow.vue.js +70 -64
  8. package/components/Date/Date.vue.d.ts +8 -0
  9. package/components/Date/Date.vue.js +21 -0
  10. package/components/Date/Date.vue2.js +4 -0
  11. package/components/Date/index.d.ts +1 -0
  12. package/components/Dropdown/DropdownMenu.vue.js +1 -1
  13. package/components/Form/Form.vue.js +1 -1
  14. package/components/Form/Form.vue2.js +39 -36
  15. package/components/List/ListFieldRow.vue.js +150 -107
  16. package/components/Modal.vue.js +2 -2
  17. package/components/Modal.vue2.js +43 -42
  18. package/components/Navbar/Navbar.vue.d.ts +33 -19
  19. package/components/Navbar/Navbar.vue.js +295 -185
  20. package/components/Navbar/NavbarTabs.vue.js +1 -1
  21. package/components/Price/Price.vue.d.ts +8 -0
  22. package/components/Price/Price.vue.js +26 -0
  23. package/components/Price/Price.vue2.js +4 -0
  24. package/components/Price/index.d.ts +1 -0
  25. package/components/Screen/Screen.vue.js +19 -19
  26. package/components/SidebarMenu/SidebarMenu.vue.js +95 -93
  27. package/components/SidebarMenu/SidebarMenuItem.vue.js +42 -42
  28. package/components/Tabes/Tabes.vue.d.ts +6 -0
  29. package/components/Tabes/Tabes.vue.js +63 -56
  30. package/core/config.d.ts +14 -1
  31. package/core/config.js +15 -9
  32. package/core/index.d.ts +0 -22
  33. package/core/index.js +17 -9
  34. package/index.d.ts +2 -0
  35. package/index.js +18 -14
  36. package/package.json +2 -1
  37. package/style.css +1 -1
  38. package/types/config.type.d.ts +6 -0
  39. package/types/navbar.type.d.ts +7 -17
@@ -87,7 +87,7 @@ const U = {
87
87
  }
88
88
  return !1;
89
89
  }, M = (o) => {
90
- const t = "group relative inline-flex items-center justify-center gap-2 font-medium whitespace-nowrap shrink-0 select-none cursor-pointer outline-none transition-all duration-150 focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-1", e = o.disabled ? "opacity-50 pointer-events-none cursor-not-allowed" : "", d = x(o) ? n.activeClass || E[n.variant] : n.inactiveClass || V[n.variant];
90
+ const t = "group relative inline-flex items-center justify-center gap-2 font-medium whitespace-nowrap shrink-0 select-none cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-1", e = o.disabled ? "opacity-50 pointer-events-none cursor-not-allowed" : "", d = x(o) ? n.activeClass || E[n.variant] : n.inactiveClass || V[n.variant];
91
91
  return [t, $[n.size], d, e].filter(Boolean).join(" ");
92
92
  };
93
93
  return (o, t) => (s(), b("div", {
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ value?: number | string;
3
+ currency?: string;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ value: number | string;
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
8
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { defineComponent as m, computed as t, openBlock as s, createElementBlock as i, toDisplayString as l } from "vue";
2
+ import { useVLiteConfig as p } from "../../core/config.js";
3
+ const d = /* @__PURE__ */ m({
4
+ __name: "Price",
5
+ props: {
6
+ value: { default: 0 },
7
+ currency: {}
8
+ },
9
+ setup(n) {
10
+ const r = n, c = p(), o = t(() => r.currency || c?.components?.price?.currency || "USD"), u = t(() => {
11
+ const e = Number(r.value) || 0;
12
+ try {
13
+ return new Intl.NumberFormat("en-US", {
14
+ style: "currency",
15
+ currency: o.value
16
+ }).format(e);
17
+ } catch {
18
+ return `$${e.toFixed(2)}`;
19
+ }
20
+ });
21
+ return (e, a) => (s(), i("span", null, l(u.value), 1));
22
+ }
23
+ });
24
+ export {
25
+ d as default
26
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./Price.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1 @@
1
+ export { default as Price } from './Price.vue';
@@ -1,4 +1,4 @@
1
- import { defineComponent as De, provide as q, computed as o, ref as x, watch as z, resolveComponent as Pe, openBlock as a, createElementBlock as s, normalizeClass as j, createElementVNode as g, renderSlot as w, toDisplayString as f, createBlock as c, withCtx as d, createVNode as u, createCommentVNode as m, unref as b, resolveDynamicComponent as H, Fragment as D, mergeProps as v, createTextVNode as y, renderList as Ie } from "vue";
1
+ import { defineComponent as De, provide as q, computed as o, ref as x, watch as z, resolveComponent as Pe, openBlock as a, createElementBlock as s, normalizeClass as j, createElementVNode as g, renderSlot as w, toDisplayString as f, createBlock as c, withCtx as d, createVNode as u, createCommentVNode as m, unref as b, resolveDynamicComponent as H, Fragment as D, mergeProps as v, createTextVNode as p, renderList as Ie } from "vue";
2
2
  import Se from "../Input.vue.js";
3
3
  /* empty css */
4
4
  import h from "../Button.vue.js";
@@ -49,10 +49,10 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
49
49
  loading: { type: Boolean, default: !1 },
50
50
  refetch: {},
51
51
  paginationProps: { default: () => ({
52
- alignment: "end",
52
+ alignment: "between",
53
53
  navType: "icon",
54
- showItemsPerPage: !1,
55
- itemsPerPageOptions: [10, 25, 50, 100]
54
+ showItemsPerPage: !0,
55
+ itemsPerPageOptions: [10, 20, 30, 50]
56
56
  }) },
57
57
  emptyTitle: {},
58
58
  emptyTitleI18n: {},
@@ -166,7 +166,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
166
166
  }), he = o(() => {
167
167
  const e = r("vlite.screen.missingView");
168
168
  return e !== "vlite.screen.missingView" ? e : "Please provide a `:list` or `:table` component.";
169
- }), p = o(() => {
169
+ }), y = o(() => {
170
170
  if (n.addBtn?.labelI18n) return r(n.addBtn.labelI18n);
171
171
  if (n.addBtn?.label) return n.addBtn.label;
172
172
  const e = r("vlite.screen.addNew");
@@ -183,9 +183,9 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
183
183
  }), ge = o(() => {
184
184
  const e = [];
185
185
  return n.exportProps !== !1 && e.push({ value: "export", label: L.value, icon: "lucide:download" }), n.importProps !== !1 && e.push({ value: "import", label: W.value, icon: "lucide:upload" }), e;
186
- }), M = x(null), xe = x(null), O = x(!1), U = x(!1), pe = (e) => {
186
+ }), M = x(null), xe = x(null), O = x(!1), U = x(!1), ye = (e) => {
187
187
  e.value === "export" ? O.value = !0 : e.value === "import" && (U.value = !0);
188
- }, ye = o(() => n.exportSchema ? n.exportSchema.map((e) => ({
188
+ }, pe = o(() => n.exportSchema ? n.exportSchema.map((e) => ({
189
189
  field: e.name || e.field,
190
190
  title: e.label || e.title || e.name || e.field
191
191
  })) : []), we = o(() => n.importSchema ? n.importSchema.map((e) => ({
@@ -335,7 +335,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
335
335
  variant: t.addBtn.variant || "primary"
336
336
  }, t.addBtn.buttonProps), {
337
337
  default: d(() => [
338
- y(f(p.value), 1)
338
+ p(f(y.value), 1)
339
339
  ]),
340
340
  _: 1
341
341
  }, 16, ["icon", "variant"])
@@ -353,7 +353,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
353
353
  variant: t.addBtn.variant || "primary"
354
354
  }, t.addBtn.buttonProps), {
355
355
  default: d(() => [
356
- y(f(p.value), 1)
356
+ p(f(y.value), 1)
357
357
  ]),
358
358
  _: 1
359
359
  }, 16, ["icon", "variant"])
@@ -371,7 +371,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
371
371
  variant: t.addBtn.variant || "primary"
372
372
  }, t.addBtn.buttonProps), {
373
373
  default: d(() => [
374
- y(f(p.value), 1)
374
+ p(f(y.value), 1)
375
375
  ]),
376
376
  _: 1
377
377
  }, 16, ["icon", "variant"])
@@ -384,7 +384,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
384
384
  onClick: l[5] || (l[5] = (i) => t.addBtn.onClick ? t.addBtn.onClick() : e.$emit("add"))
385
385
  }), {
386
386
  default: d(() => [
387
- y(f(p.value), 1)
387
+ p(f(y.value), 1)
388
388
  ]),
389
389
  _: 1
390
390
  }, 16, ["icon", "variant"]))
@@ -396,7 +396,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
396
396
  closeOnSelect: "",
397
397
  position: "bottom-end",
398
398
  options: ge.value,
399
- onOnSelect: pe
399
+ onOnSelect: ye
400
400
  }, {
401
401
  trigger: d(() => [
402
402
  u(h, {
@@ -414,7 +414,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
414
414
  ], 2)),
415
415
  w(e.$slots, "sub-header"),
416
416
  g("div", {
417
- class: j(["flex-1 w-full relative min-h-[250px]", t.containerClass])
417
+ class: j(["flex-1 w-full relative", t.containerClass])
418
418
  }, [
419
419
  !oe.value && !t.loading ? w(e.$slots, "empty", { key: 0 }, () => [
420
420
  u(b(Ee), {
@@ -439,7 +439,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
439
439
  class: "px-6!"
440
440
  }, t.addBtn.buttonProps), {
441
441
  default: d(() => [
442
- y(f(p.value), 1)
442
+ p(f(y.value), 1)
443
443
  ]),
444
444
  _: 1
445
445
  }, 16, ["icon", "variant"])
@@ -456,7 +456,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
456
456
  variant: t.addBtn.variant || "outline"
457
457
  }, t.addBtn.buttonProps), {
458
458
  default: d(() => [
459
- y(f(p.value), 1)
459
+ p(f(y.value), 1)
460
460
  ]),
461
461
  _: 1
462
462
  }, 16, ["icon", "variant"])
@@ -473,7 +473,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
473
473
  variant: t.addBtn.variant || "outline"
474
474
  }, t.addBtn.buttonProps), {
475
475
  default: d(() => [
476
- y(f(p.value), 1)
476
+ p(f(y.value), 1)
477
477
  ]),
478
478
  _: 1
479
479
  }, 16, ["icon", "variant"])
@@ -485,7 +485,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
485
485
  onClick: l[6] || (l[6] = (i) => t.addBtn.onClick ? t.addBtn.onClick() : e.$emit("add"))
486
486
  }), {
487
487
  default: d(() => [
488
- y(f(p.value), 1)
488
+ p(f(y.value), 1)
489
489
  ]),
490
490
  _: 1
491
491
  }, 16, ["icon", "variant"]))
@@ -496,7 +496,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
496
496
  onClick: l[7] || (l[7] = (i) => e.$emit("add"))
497
497
  }, {
498
498
  default: d(() => [
499
- y(f(p.value), 1)
499
+ p(f(y.value), 1)
500
500
  ]),
501
501
  _: 1
502
502
  }))
@@ -550,7 +550,7 @@ const Me = { class: "flex flex-col w-full space-y-8" }, Ue = { class: "flex flex
550
550
  ref_key: "exportDataRef",
551
551
  ref: M,
552
552
  data: t.data || [],
553
- fields: ye.value,
553
+ fields: pe.value,
554
554
  mode: ke.value,
555
555
  "on-export": Ce
556
556
  }, typeof t.exportProps == "object" ? t.exportProps : {}, {
@@ -1,9 +1,9 @@
1
- import { defineComponent as S, inject as E, ref as T, computed as l, watch as g, reactive as N, provide as L, openBlock as C, createElementBlock as k, normalizeClass as P, Fragment as A, renderList as O, createBlock as F } from "vue";
2
- import { useRoute as W } from "vue-router";
3
- import { useBreakpoints as H, breakpointsTailwind as D } from "@vueuse/core";
4
- import R from "./SidebarMenuItem.vue.js";
1
+ import { defineComponent as E, inject as N, ref as w, computed as l, watch as T, reactive as P, provide as L, openBlock as x, createElementBlock as k, normalizeClass as O, Fragment as W, renderList as H, createBlock as A } from "vue";
2
+ import { useRoute as F } from "vue-router";
3
+ import { useBreakpoints as R, breakpointsTailwind as _ } from "@vueuse/core";
4
+ import j from "./SidebarMenuItem.vue.js";
5
5
  /* empty css */
6
- const K = /* @__PURE__ */ S({
6
+ const U = /* @__PURE__ */ E({
7
7
  __name: "SidebarMenu",
8
8
  props: {
9
9
  items: { default: () => [] },
@@ -29,116 +29,118 @@ const K = /* @__PURE__ */ S({
29
29
  showTooltip: { type: Boolean, default: !0 }
30
30
  },
31
31
  setup(m) {
32
- const c = E("navbar-context", null), e = m, f = W(), y = H(D), d = T([...e.defaultExpanded]), s = T(null), B = l(() => !e.mobileBreakpoint || e.mobileBreakpoint === "none" ? !0 : y.greaterOrEqual(e.mobileBreakpoint).value), v = l(() => B.value && e.orientation || "vertical"), r = (t) => t.id || (typeof t.to == "string" ? t.to : null) || t.label, M = (t, o) => {
33
- if (s.value === r(t)) return !0;
34
- if (t.to) {
35
- const a = typeof t.to == "string" ? t.to : t.to.path;
36
- if (a) {
37
- if (o === a) return !0;
38
- if (o.startsWith(a) && a !== "/" && a.length > 1) {
39
- const i = o[a.length];
40
- if (!i || i === "/" || i === "?")
41
- return !0;
42
- }
43
- }
32
+ const c = N("navbar-context", null), a = m, f = F(), B = R(_), o = w([...a.defaultExpanded]), v = w(null), y = l(() => !a.mobileBreakpoint || a.mobileBreakpoint === "none" ? !0 : B.greaterOrEqual(a.mobileBreakpoint).value), h = l(() => y.value && a.orientation || "vertical"), p = (e) => e.id || (typeof e.to == "string" ? e.to : null) || e.label, b = (e, n) => {
33
+ if (!e.to) return !1;
34
+ const t = typeof e.to == "string" ? e.to : e.to.path;
35
+ if (!t) return !1;
36
+ if (n === t) return !0;
37
+ if (t !== "/" && t.length > 1 && n.startsWith(t)) {
38
+ const i = n[t.length];
39
+ return !i || i === "/" || i === "?";
44
40
  }
45
41
  return !1;
46
- }, b = (t, o, a = []) => {
47
- let i = !1;
48
- for (const n of t) {
49
- const u = r(n);
50
- let p = !1;
51
- n.children && (p = b(n.children, o, [...a, u]), p && (i = !0));
52
- const x = M(n, o), z = p && c?.renderNestedTabs?.value && a.length === 0;
53
- (x || z) && (s.value = u, a.forEach((w) => {
54
- d.value.includes(w) || d.value.push(w);
55
- }), i = !0);
42
+ }, g = (e, n, t = []) => {
43
+ for (const i of e) {
44
+ const u = p(i);
45
+ if (i.children?.length) {
46
+ const r = g(i.children, n, [...t, u]);
47
+ if (r !== null)
48
+ return o.value.includes(u) || o.value.push(u), r;
49
+ }
50
+ if (b(i, n))
51
+ return t.forEach((r) => {
52
+ o.value.includes(r) || o.value.push(r);
53
+ }), u;
56
54
  }
57
- return i;
58
- }, h = (t) => {
59
- if (!c?.renderNestedTabs?.value) return;
60
- const o = e.items.find((a) => s.value === r(a) ? !0 : a.children?.some((n) => s.value === r(n) || n.children && n.children.some((u) => s.value === r(u))) || M(a, t));
61
- if (o && o.children) {
62
- const a = o.children.map((n) => ({
63
- label: n.label,
64
- labelI18n: n.labelI18n,
65
- value: r(n),
66
- icon: n.icon,
67
- disabled: n.disabled,
68
- to: n.to,
69
- href: n.href
55
+ return null;
56
+ }, C = (e, n) => {
57
+ for (const t of a.items) {
58
+ if (!t.children?.length || !(b(t, e) || t.children.some(
59
+ (s) => b(s, e) || s.children?.some((d) => b(d, e))
60
+ ))) continue;
61
+ const u = t.children.map((s) => ({
62
+ label: s.label,
63
+ labelI18n: s.labelI18n,
64
+ value: p(s),
65
+ icon: s.icon,
66
+ disabled: s.disabled,
67
+ to: s.to,
68
+ href: s.href
70
69
  }));
71
- let i = a[0].value;
72
- if (s.value) {
73
- const n = a.find((u) => u.value === s.value);
74
- if (n)
75
- i = n.value;
70
+ let r = u[0]?.value ?? "";
71
+ if (n) {
72
+ const s = u.find((d) => d.value === n);
73
+ if (s)
74
+ r = s.value;
76
75
  else {
77
- const u = o.children.find((p) => p.children?.some((x) => r(x) === s.value));
78
- u && (i = r(u));
76
+ const d = t.children.find(
77
+ (S) => S.children?.some((I) => p(I) === n)
78
+ );
79
+ d && (r = p(d));
79
80
  }
80
81
  }
81
- c.setNestedTabs(a, i);
82
- } else
83
- e.items.some(
84
- (i) => i.children?.some((n) => r(n) === s.value)
85
- ) || c.setNestedTabs([], "");
82
+ return { tabs: u, activeTab: r };
83
+ }
84
+ return null;
85
+ }, M = (e) => {
86
+ const n = g(a.items, e);
87
+ if (v.value = n, !c?.renderNestedTabs?.value) return;
88
+ const t = C(e, n);
89
+ t ? c.setNestedTabs(t.tabs, t.activeTab) : c.setNestedTabs([], "");
86
90
  };
87
- g(
91
+ T(
88
92
  () => f?.path,
89
- (t) => {
90
- t && (b(e.items, t), h(t));
93
+ (e) => {
94
+ e && M(e);
91
95
  },
92
96
  { immediate: !0 }
93
- ), g(
94
- () => e.items,
97
+ ), T(
98
+ () => a.items,
95
99
  () => {
96
- f?.path && (b(e.items, f.path), h(f.path));
100
+ f?.path && M(f.path);
97
101
  },
98
102
  { deep: !0 }
99
- ), g(
100
- () => s.value,
101
- () => {
102
- c?.renderNestedTabs?.value && h(f?.path || "");
103
- }
104
103
  );
105
- const I = N({
106
- activeItem: s,
107
- expandedItems: d,
108
- toggleExpand: (t) => {
109
- d.value.includes(t) ? d.value = d.value.filter((a) => a !== t) : e.allowMultiple ? d.value.push(t) : d.value = [t];
104
+ const z = P({
105
+ activeItem: v,
106
+ expandedItems: o,
107
+ toggleExpand: (e) => {
108
+ o.value.includes(e) ? o.value = o.value.filter((t) => t !== e) : a.allowMultiple ? o.value.push(e) : o.value = [e];
110
109
  },
111
- setActive: (t) => {
112
- s.value = t;
110
+ setActive: (e) => {
111
+ if (v.value = e, c?.renderNestedTabs?.value && f?.path) {
112
+ const n = C(f.path, e);
113
+ n ? c.setNestedTabs(n.tabs, n.activeTab) : c.setNestedTabs([], "");
114
+ }
113
115
  },
114
- indentSize: l(() => e.indentSize),
115
- variant: l(() => e.variant),
116
- renderMode: l(() => e.renderMode || "tree"),
116
+ indentSize: l(() => a.indentSize),
117
+ variant: l(() => a.variant),
118
+ renderMode: l(() => a.renderMode || "tree"),
117
119
  renderNestedTabs: l(() => !!c?.renderNestedTabs?.value),
118
- compact: l(() => e.compact),
119
- showCompactLabels: l(() => e.showCompactLabels),
120
- iconSize: l(() => e.iconSize),
121
- compactIconSize: l(() => e.compactIconSize),
122
- labelClass: l(() => e.labelClass),
123
- compactLabelClass: l(() => e.compactLabelClass),
124
- itemPadding: l(() => e.itemPadding),
125
- compactItemPadding: l(() => e.compactItemPadding),
126
- nestedMenuWidth: l(() => e.nestedMenuWidth),
127
- nestedMenuMaxHeight: l(() => e.nestedMenuMaxHeight),
128
- currentOrientation: v,
129
- showTooltip: l(() => e.showTooltip)
120
+ compact: l(() => a.compact),
121
+ showCompactLabels: l(() => a.showCompactLabels),
122
+ iconSize: l(() => a.iconSize),
123
+ compactIconSize: l(() => a.compactIconSize),
124
+ labelClass: l(() => a.labelClass),
125
+ compactLabelClass: l(() => a.compactLabelClass),
126
+ itemPadding: l(() => a.itemPadding),
127
+ compactItemPadding: l(() => a.compactItemPadding),
128
+ nestedMenuWidth: l(() => a.nestedMenuWidth),
129
+ nestedMenuMaxHeight: l(() => a.nestedMenuMaxHeight),
130
+ currentOrientation: h,
131
+ showTooltip: l(() => a.showTooltip)
130
132
  });
131
- return L("sidebar-menu-ctx", I), (t, o) => (C(), k("nav", {
132
- class: P(["flex w-full transition-all duration-300", [
133
- v.value === "horizontal" ? "flex-row flex-wrap gap-2 items-center" : "flex-col",
134
- v.value === "vertical" && !e.compact ? "space-y-1" : ""
133
+ return L("sidebar-menu-ctx", z), (e, n) => (x(), k("nav", {
134
+ class: O(["flex w-full transition-all duration-300", [
135
+ h.value === "horizontal" ? "flex-row flex-wrap gap-2 items-center" : "flex-col",
136
+ h.value === "vertical" && !a.compact ? "space-y-1" : ""
135
137
  ]]),
136
138
  role: "tree",
137
139
  "aria-label": "Sidebar Menu"
138
140
  }, [
139
- (C(!0), k(A, null, O(m.items, (a) => (C(), F(R, {
140
- key: a.id || a.label,
141
- item: a,
141
+ (x(!0), k(W, null, H(m.items, (t) => (x(), A(j, {
142
+ key: t.id || t.label,
143
+ item: t,
142
144
  itemClass: m.itemClass,
143
145
  menuOffset: m.menuOffset
144
146
  }, null, 8, ["item", "itemClass", "menuOffset"]))), 128))
@@ -146,5 +148,5 @@ const K = /* @__PURE__ */ S({
146
148
  }
147
149
  });
148
150
  export {
149
- K as default
151
+ U as default
150
152
  };