vlite3 1.2.1 → 1.2.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.
Files changed (38) hide show
  1. package/components/AppShell/AppShellLayoutClassic.vue.js +67 -64
  2. package/components/AppShell/AppShellLayoutDashboard.vue.js +75 -70
  3. package/components/AppShell/AppShellLayoutDock.vue.js +27 -27
  4. package/components/AppShell/AppShellLayoutHeaderShell.vue.js +80 -75
  5. package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +56 -56
  6. package/components/DataTable/DataTable.vue.d.ts +3 -3
  7. package/components/DataTable/DataTableRow.vue.d.ts +1 -1
  8. package/components/Form/CustomFields.vue.js +2 -2
  9. package/components/Form/CustomFields.vue2.js +15 -2
  10. package/components/Invoice/InvoiceVariant1.vue.js +225 -176
  11. package/components/Invoice/InvoiceVariant2.vue.js +174 -125
  12. package/components/Invoice/InvoiceVariant3.vue.js +186 -157
  13. package/components/Invoice/InvoiceVariant4.vue.js +200 -156
  14. package/components/Invoice/types.d.ts +10 -1
  15. package/components/List/ListFieldRow.vue.js +16 -16
  16. package/components/List/utils.d.ts +2 -2
  17. package/components/List/utils.js +6 -9
  18. package/components/NavbarCommandPalette.vue.js +1 -1
  19. package/components/Price/Price.vue.d.ts +2 -0
  20. package/components/Price/Price.vue.js +15 -12
  21. package/components/Screen/Screen.vue.d.ts +36 -10
  22. package/components/Screen/Screen.vue.js +398 -304
  23. package/components/Screen/components/ScreenToolbar.vue.d.ts +62 -0
  24. package/components/Screen/components/ScreenToolbar.vue.js +116 -0
  25. package/components/Screen/components/ScreenToolbar.vue2.js +4 -0
  26. package/components/Screen/types.d.ts +9 -0
  27. package/components/Stats/StatItem.vue.js +88 -87
  28. package/components/Stats/Stats.vue.js +20 -20
  29. package/components/Stats/types.d.ts +3 -1
  30. package/core/config.d.ts +10 -0
  31. package/core/config.js +11 -9
  32. package/index.js +131 -131
  33. package/package.json +1 -1
  34. package/style.css +1 -1
  35. package/types/config.type.d.ts +2 -0
  36. package/types/list.type.d.ts +4 -0
  37. package/utils/functions.d.ts +9 -10
  38. package/utils/functions.js +78 -63
@@ -1,36 +1,63 @@
1
- import { defineComponent as b, computed as v, openBlock as o, createElementBlock as c, normalizeStyle as h, normalizeClass as l, createElementVNode as a, createVNode as u, createCommentVNode as n, toDisplayString as s, unref as i, Fragment as g, renderList as k } from "vue";
1
+ import { defineComponent as y, computed as x, openBlock as a, createElementBlock as o, normalizeStyle as g, normalizeClass as c, createElementVNode as s, createVNode as i, createCommentVNode as l, toDisplayString as t, unref as r, Fragment as b, renderList as k } from "vue";
2
2
  import m from "../Price/Price.vue.js";
3
- import w from "../DateTime/DateTime.vue.js";
3
+ import _ from "../DateTime/DateTime.vue.js";
4
4
  import I from "../Barcode/Barcode.vue.js";
5
- import _ from "../QRCode/QRCode.vue.js";
6
- import p from "../Avatar.vue.js";
5
+ import w from "../QRCode/QRCode.vue.js";
6
+ import v from "../Avatar.vue.js";
7
7
  import j from "../StatusChip/StatusChip.vue.js";
8
8
  import z from "./InvoiceTotals.vue.js";
9
9
  const N = {
10
10
  key: 0,
11
11
  class: "flex justify-center mb-2"
12
- }, V = { key: 0 }, $ = { key: 1 }, B = { key: 2 }, D = { key: 3 }, C = { class: "flex justify-between items-center" }, L = { class: "text-muted-foreground font-medium" }, T = { class: "font-semibold text-foreground" }, S = {
12
+ }, T = { key: 0 }, V = { key: 1 }, B = { key: 2 }, $ = { key: 3 }, D = { class: "flex justify-between items-center" }, M = { class: "text-muted-foreground font-medium" }, S = { class: "font-semibold text-foreground" }, L = {
13
13
  key: 0,
14
14
  class: "flex justify-between items-center"
15
- }, q = { class: "text-muted-foreground font-medium" }, E = {
15
+ }, C = { class: "text-muted-foreground font-medium" }, q = {
16
16
  key: 1,
17
- class: "flex justify-between items-center"
18
- }, A = { class: "text-muted-foreground font-medium" }, F = { class: "font-semibold text-foreground" }, K = {
17
+ class: "flex justify-between items-start mt-1.5"
18
+ }, E = { class: "text-muted-foreground font-medium shrink-0 mr-4" }, A = { class: "text-right flex flex-col" }, F = { class: "font-semibold text-foreground" }, K = {
19
+ key: 0,
20
+ class: "text-muted-foreground mt-0.5"
21
+ }, O = {
22
+ key: 1,
23
+ class: "text-muted-foreground"
24
+ }, P = {
19
25
  key: 2,
20
- class: "flex justify-between items-center"
21
- }, O = { class: "text-muted-foreground font-medium" }, R = { class: "flex items-start gap-2.5" }, U = { class: "flex-1 min-w-0" }, G = { class: "flex justify-between items-start gap-2" }, H = ["title"], J = {
26
+ class: "text-muted-foreground"
27
+ }, R = {
28
+ key: 2,
29
+ class: "flex justify-between items-start mt-1.5"
30
+ }, U = { class: "text-muted-foreground font-medium shrink-0 mr-4" }, G = { class: "text-right flex flex-col" }, H = { class: "font-semibold text-foreground" }, J = {
22
31
  key: 0,
32
+ class: "text-muted-foreground mt-0.5"
33
+ }, Q = {
34
+ key: 1,
35
+ class: "text-muted-foreground"
36
+ }, W = {
37
+ key: 2,
23
38
  class: "text-muted-foreground"
24
- }, M = {
39
+ }, X = {
40
+ key: 3,
41
+ class: "flex justify-between items-start mt-1.5"
42
+ }, Y = { class: "text-muted-foreground font-medium shrink-0 mr-4" }, Z = { class: "font-semibold text-foreground text-right" }, ee = {
43
+ key: 4,
44
+ class: "flex justify-between items-start mt-1.5"
45
+ }, te = { class: "text-muted-foreground font-medium shrink-0 mr-4" }, se = { class: "font-semibold text-foreground text-right" }, ae = {
46
+ key: 5,
47
+ class: "flex justify-between items-center mt-1.5"
48
+ }, oe = { class: "text-muted-foreground font-medium" }, ne = { class: "flex items-start gap-2.5" }, le = { class: "flex-1 min-w-0" }, ce = { class: "flex justify-between items-start gap-2" }, ue = ["title"], de = {
49
+ key: 0,
50
+ class: "text-muted-foreground"
51
+ }, ie = {
25
52
  key: 1,
26
53
  class: "text-success font-medium flex items-center gap-0.5"
27
- }, P = { key: 0 }, Q = { class: "flex flex-row flex-wrap items-center justify-center gap-3" }, W = {
54
+ }, re = { key: 0 }, me = { class: "flex flex-row flex-wrap items-center justify-center gap-3" }, fe = {
28
55
  key: 0,
29
56
  class: "bg-white"
30
- }, X = {
57
+ }, pe = {
31
58
  key: 1,
32
59
  class: "bg-white overflow-hidden"
33
- }, ne = /* @__PURE__ */ b({
60
+ }, we = /* @__PURE__ */ y({
34
61
  __name: "InvoiceVariant2",
35
62
  props: {
36
63
  data: {},
@@ -38,180 +65,202 @@ const N = {
38
65
  displayBarcodeValue: { type: Boolean, default: !1 },
39
66
  labels: {}
40
67
  },
41
- setup(t) {
42
- const x = t, e = v(() => x.data), r = v(() => x.labels || {});
43
- return (Y, f) => (o(), c("div", {
44
- class: l(["v-invoice-v2 bg-background text-foreground border border-border mx-auto print:max-w-[300px] font-sans tracking-tight", t.compact ? "max-w-xs" : "max-w-sm sm:max-w-md"]),
45
- style: h({
46
- "--text-sm": t.compact ? "12px" : "13.5px",
47
- "--text-xs": t.compact ? "9.5px" : "10px"
68
+ setup(n) {
69
+ const f = n, e = x(() => f.data), d = x(() => f.labels || {});
70
+ return (xe, p) => (a(), o("div", {
71
+ class: c(["v-invoice-v2 bg-background text-foreground border border-border mx-auto print:max-w-[300px] font-sans tracking-tight", n.compact ? "max-w-xs" : "max-w-sm sm:max-w-md"]),
72
+ style: g({
73
+ "--text-sm": n.compact ? "12px" : "13.5px",
74
+ "--text-xs": n.compact ? "9.5px" : "10px"
48
75
  })
49
76
  }, [
50
- a("div", {
51
- class: l(["text-center", t.compact ? "p-4 pb-3" : "p-6 pb-4"])
77
+ s("div", {
78
+ class: c(["text-center", n.compact ? "p-4 pb-3" : "p-6 pb-4"])
52
79
  }, [
53
- e.value.brandLogo ? (o(), c("div", N, [
54
- u(p, {
80
+ e.value.brandLogo ? (a(), o("div", N, [
81
+ i(v, {
55
82
  src: e.value.brandLogo,
56
83
  alt: e.value.brandName,
57
- class: l(t.compact ? "h-9 w-9" : "h-12 w-12"),
84
+ class: c(n.compact ? "h-9 w-9" : "h-12 w-12"),
58
85
  rounded: "md"
59
86
  }, null, 8, ["src", "alt", "class"])
60
- ])) : n("", !0),
61
- e.value.brandName ? (o(), c("h2", {
87
+ ])) : l("", !0),
88
+ e.value.brandName ? (a(), o("h2", {
62
89
  key: 1,
63
- class: l(["font-bold uppercase tracking-widest text-foreground", t.compact ? "text-base" : "text-xl"])
64
- }, s(e.value.brandName), 3)) : n("", !0),
65
- e.value.companyInfo ? (o(), c("div", {
90
+ class: c(["font-bold uppercase tracking-widest text-foreground", n.compact ? "text-base" : "text-xl"])
91
+ }, t(e.value.brandName), 3)) : l("", !0),
92
+ e.value.companyInfo ? (a(), o("div", {
66
93
  key: 2,
67
- class: l(["text-muted-foreground space-y-0.5 mt-1", t.compact ? "text-xs" : "text-sm"])
94
+ class: c(["text-muted-foreground space-y-0.5 mt-1", n.compact ? "text-xs" : "text-sm"])
68
95
  }, [
69
- e.value.companyInfo.address ? (o(), c("p", V, s(e.value.companyInfo.address), 1)) : n("", !0),
70
- e.value.companyInfo.city || e.value.companyInfo.state ? (o(), c("p", $, s(e.value.companyInfo.city) + " " + s(e.value.companyInfo.state) + " " + s(e.value.companyInfo.zip), 1)) : n("", !0),
71
- e.value.companyInfo.phone ? (o(), c("p", B, s(e.value.companyInfo.phone), 1)) : n("", !0),
72
- e.value.companyInfo.taxId ? (o(), c("p", D, s(r.value.taxId || "VAT") + ": " + s(e.value.companyInfo.taxId), 1)) : n("", !0)
73
- ], 2)) : n("", !0)
96
+ e.value.companyInfo.address ? (a(), o("p", T, t(e.value.companyInfo.address), 1)) : l("", !0),
97
+ e.value.companyInfo.city || e.value.companyInfo.state ? (a(), o("p", V, t(e.value.companyInfo.city) + " " + t(e.value.companyInfo.state) + " " + t(e.value.companyInfo.zip), 1)) : l("", !0),
98
+ e.value.companyInfo.phone ? (a(), o("p", B, t(e.value.companyInfo.phone), 1)) : l("", !0),
99
+ e.value.companyInfo.taxId ? (a(), o("p", $, t(d.value.taxId || "VAT") + ": " + t(e.value.companyInfo.taxId), 1)) : l("", !0)
100
+ ], 2)) : l("", !0)
74
101
  ], 2),
75
- a("div", {
76
- class: l(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
102
+ s("div", {
103
+ class: c(["border-t border-dashed border-border", n.compact ? "mx-3" : "mx-5"])
77
104
  }, null, 2),
78
- a("div", {
79
- class: l(t.compact ? "px-4 py-2.5 space-y-1 text-xs" : "px-5 py-3.5 space-y-1.5 text-sm")
105
+ s("div", {
106
+ class: c(n.compact ? "px-4 py-2.5 space-y-1 text-xs" : "px-5 py-3.5 space-y-1.5 text-sm")
80
107
  }, [
81
- a("div", C, [
82
- a("span", L, s(r.value.invoiceNumber || "Receipt #"), 1),
83
- a("span", T, s(e.value.invoiceNumber), 1)
108
+ s("div", D, [
109
+ s("span", M, t(d.value.invoiceNumber || "Receipt #"), 1),
110
+ s("span", S, t(e.value.invoiceNumber), 1)
84
111
  ]),
85
- e.value.issuedDate ? (o(), c("div", S, [
86
- a("span", q, s(r.value.issued || "Date"), 1),
87
- u(i(w), {
112
+ e.value.issuedDate ? (a(), o("div", L, [
113
+ s("span", C, t(d.value.issued || "Date"), 1),
114
+ i(r(_), {
88
115
  value: e.value.issuedDate,
89
116
  type: "dateTime",
90
117
  class: "font-medium text-foreground"
91
118
  }, null, 8, ["value"])
92
- ])) : n("", !0),
93
- e.value.customerInfo?.name ? (o(), c("div", E, [
94
- a("span", A, s(r.value.billedTo || "Customer"), 1),
95
- a("span", F, s(e.value.customerInfo.name), 1)
96
- ])) : n("", !0),
97
- e.value.status ? (o(), c("div", K, [
98
- a("span", O, s(r.value.status || "Status"), 1),
99
- u(j, {
119
+ ])) : l("", !0),
120
+ e.value.customerInfo?.name ? (a(), o("div", q, [
121
+ s("span", E, t(d.value.billedTo || "Bill To"), 1),
122
+ s("div", A, [
123
+ s("span", F, t(e.value.customerInfo.name), 1),
124
+ e.value.customerInfo.address ? (a(), o("span", K, t(e.value.customerInfo.address), 1)) : l("", !0),
125
+ e.value.customerInfo.city || e.value.customerInfo.state ? (a(), o("span", O, t(e.value.customerInfo.city) + " " + t(e.value.customerInfo.state) + " " + t(e.value.customerInfo.zip), 1)) : l("", !0),
126
+ e.value.customerInfo.phone ? (a(), o("span", P, t(e.value.customerInfo.phone), 1)) : l("", !0)
127
+ ])
128
+ ])) : l("", !0),
129
+ e.value.shippingInfo?.name ? (a(), o("div", R, [
130
+ s("span", U, t(d.value.shipTo || "Ship To"), 1),
131
+ s("div", G, [
132
+ s("span", H, t(e.value.shippingInfo.name), 1),
133
+ e.value.shippingInfo.address ? (a(), o("span", J, t(e.value.shippingInfo.address), 1)) : l("", !0),
134
+ e.value.shippingInfo.city || e.value.shippingInfo.state ? (a(), o("span", Q, t(e.value.shippingInfo.city) + " " + t(e.value.shippingInfo.state) + " " + t(e.value.shippingInfo.zip), 1)) : l("", !0),
135
+ e.value.shippingInfo.phone ? (a(), o("span", W, t(e.value.shippingInfo.phone), 1)) : l("", !0)
136
+ ])
137
+ ])) : l("", !0),
138
+ e.value.paymentMethod ? (a(), o("div", X, [
139
+ s("span", Y, t(d.value.paymentMethod || "Payment"), 1),
140
+ s("span", Z, t(e.value.paymentMethod), 1)
141
+ ])) : l("", !0),
142
+ e.value.shippingMethod ? (a(), o("div", ee, [
143
+ s("span", te, t(d.value.shippingMethod || "Shipping"), 1),
144
+ s("span", se, t(e.value.shippingMethod), 1)
145
+ ])) : l("", !0),
146
+ e.value.status ? (a(), o("div", ae, [
147
+ s("span", oe, t(d.value.status || "Status"), 1),
148
+ i(j, {
100
149
  status: e.value.status,
101
150
  "hide-icon": "",
102
151
  size: "small"
103
152
  }, null, 8, ["status"])
104
- ])) : n("", !0)
153
+ ])) : l("", !0)
105
154
  ], 2),
106
- a("div", {
107
- class: l(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
155
+ s("div", {
156
+ class: c(["border-t border-dashed border-border", n.compact ? "mx-3" : "mx-5"])
108
157
  }, null, 2),
109
- a("div", {
110
- class: l(t.compact ? "px-4 py-2.5" : "px-5 py-3.5")
158
+ s("div", {
159
+ class: c(n.compact ? "px-4 py-2.5" : "px-5 py-3.5")
111
160
  }, [
112
- a("div", {
113
- class: l(["flex justify-between font-semibold text-muted-foreground uppercase tracking-wider mb-2", t.compact ? "text-[10px]" : "text-xs"])
161
+ s("div", {
162
+ class: c(["flex justify-between font-semibold text-muted-foreground uppercase tracking-wider mb-2", n.compact ? "text-[10px]" : "text-xs"])
114
163
  }, [
115
- a("span", null, s(r.value.item || "Item"), 1),
116
- a("span", null, s(r.value.total || "Amount"), 1)
164
+ s("span", null, t(d.value.item || "Item"), 1),
165
+ s("span", null, t(d.value.total || "Amount"), 1)
117
166
  ], 2),
118
- a("div", {
119
- class: l(t.compact ? "space-y-2.5" : "space-y-3.5")
167
+ s("div", {
168
+ class: c(n.compact ? "space-y-2.5" : "space-y-3.5")
120
169
  }, [
121
- (o(!0), c(g, null, k(e.value.items, (d, y) => (o(), c("div", {
122
- key: d.id || y
170
+ (a(!0), o(b, null, k(e.value.items, (u, h) => (a(), o("div", {
171
+ key: u.id || h
123
172
  }, [
124
- a("div", R, [
125
- d.thumbnail ? (o(), c("div", {
173
+ s("div", ne, [
174
+ u.thumbnail ? (a(), o("div", {
126
175
  key: 0,
127
- class: l(["shrink-0 overflow-hidden border border-border mt-0.5", t.compact ? "w-8 h-8 rounded" : "w-9 h-9 rounded-md"])
176
+ class: c(["shrink-0 overflow-hidden border border-border mt-0.5", n.compact ? "w-8 h-8 rounded" : "w-9 h-9 rounded-md"])
128
177
  }, [
129
- u(p, {
130
- src: d.thumbnail,
131
- alt: d.name,
178
+ i(v, {
179
+ src: u.thumbnail,
180
+ alt: u.name,
132
181
  class: "w-full h-full",
133
182
  rounded: "sm"
134
183
  }, null, 8, ["src", "alt"])
135
- ], 2)) : n("", !0),
136
- a("div", U, [
137
- a("div", G, [
138
- a("span", {
139
- class: l(["font-semibold text-foreground truncate", t.compact ? "text-xs" : "text-sm"]),
140
- title: d.name
141
- }, s(d.name), 11, H),
142
- u(i(m), {
143
- value: d.total,
144
- class: l(["shrink-0 font-bold text-foreground", t.compact ? "text-xs" : "text-sm"])
184
+ ], 2)) : l("", !0),
185
+ s("div", le, [
186
+ s("div", ce, [
187
+ s("span", {
188
+ class: c(["font-semibold text-foreground truncate", n.compact ? "text-xs" : "text-sm"]),
189
+ title: u.name
190
+ }, t(u.name), 11, ue),
191
+ i(r(m), {
192
+ value: u.total,
193
+ class: c(["shrink-0 font-bold text-foreground", n.compact ? "text-xs" : "text-sm"])
145
194
  }, null, 8, ["value", "class"])
146
195
  ]),
147
- d.sku ? (o(), c("div", {
196
+ u.sku ? (a(), o("div", {
148
197
  key: 0,
149
- class: l(["text-muted-foreground uppercase tracking-tight truncate mt-0.5", t.compact ? "text-[9px]" : "text-[10px]"])
150
- }, s(r.value.sku || "SKU") + ": " + s(d.sku), 3)) : n("", !0),
151
- a("div", {
152
- class: l(["text-muted-foreground flex flex-wrap gap-x-1.5 gap-y-0.5 mt-0.5", t.compact ? "text-[10px]" : "text-xs"])
198
+ class: c(["text-muted-foreground uppercase tracking-tight truncate mt-0.5", n.compact ? "text-[9px]" : "text-[10px]"])
199
+ }, t(d.value.sku || "SKU") + ": " + t(u.sku), 3)) : l("", !0),
200
+ s("div", {
201
+ class: c(["text-muted-foreground flex flex-wrap gap-x-1.5 gap-y-0.5 mt-0.5", n.compact ? "text-[10px]" : "text-xs"])
153
202
  }, [
154
- a("span", null, s(d.quantity) + " x", 1),
155
- u(i(m), {
156
- value: d.price
203
+ s("span", null, t(u.quantity) + " x", 1),
204
+ i(r(m), {
205
+ value: u.price
157
206
  }, null, 8, ["value"]),
158
- d.size ? (o(), c("span", J, "· " + s(d.size), 1)) : n("", !0),
159
- d.discount !== void 0 ? (o(), c("div", M, [
160
- f[0] || (f[0] = a("span", null, "· Disc:", -1)),
161
- u(i(m), {
162
- value: -d.discount
207
+ u.size ? (a(), o("span", de, "· " + t(u.size), 1)) : l("", !0),
208
+ u.discount !== void 0 ? (a(), o("div", ie, [
209
+ p[0] || (p[0] = s("span", null, "· Disc:", -1)),
210
+ i(r(m), {
211
+ value: -u.discount
163
212
  }, null, 8, ["value"]),
164
- d.discountLabel ? (o(), c("span", P, "(" + s(d.discountLabel) + ")", 1)) : n("", !0)
165
- ])) : n("", !0)
213
+ u.discountLabel ? (a(), o("span", re, "(" + t(u.discountLabel) + ")", 1)) : l("", !0)
214
+ ])) : l("", !0)
166
215
  ], 2)
167
216
  ])
168
217
  ])
169
218
  ]))), 128))
170
219
  ], 2)
171
220
  ], 2),
172
- a("div", {
173
- class: l(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
221
+ s("div", {
222
+ class: c(["border-t border-dashed border-border", n.compact ? "mx-3" : "mx-5"])
174
223
  }, null, 2),
175
- u(z, {
224
+ i(z, {
176
225
  totals: e.value.totals,
177
- compact: t.compact,
226
+ compact: n.compact,
178
227
  variant: "Variant2"
179
228
  }, null, 8, ["totals", "compact"]),
180
- a("div", {
181
- class: l(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
229
+ s("div", {
230
+ class: c(["border-t border-dashed border-border", n.compact ? "mx-3" : "mx-5"])
182
231
  }, null, 2),
183
- a("div", {
184
- class: l(t.compact ? "px-4 py-3 text-center space-y-3" : "px-5 py-4 text-center space-y-4")
232
+ s("div", {
233
+ class: c(n.compact ? "px-4 py-3 text-center space-y-3" : "px-5 py-4 text-center space-y-4")
185
234
  }, [
186
- a("div", Q, [
187
- e.value.qrcode ? (o(), c("div", W, [
188
- u(i(_), {
235
+ s("div", me, [
236
+ e.value.qrcode ? (a(), o("div", fe, [
237
+ i(r(w), {
189
238
  value: e.value.qrcode,
190
- size: t.compact ? 48 : 64
239
+ size: n.compact ? 48 : 64
191
240
  }, null, 8, ["value", "size"])
192
- ])) : n("", !0),
193
- e.value.barcode ? (o(), c("div", X, [
194
- u(i(I), {
241
+ ])) : l("", !0),
242
+ e.value.barcode ? (a(), o("div", pe, [
243
+ i(r(I), {
195
244
  value: e.value.barcode,
196
245
  format: "CODE128",
197
- height: t.compact ? 24 : 32,
198
- width: t.compact ? 1 : 1.2,
199
- "display-value": t.displayBarcodeValue
246
+ height: n.compact ? 24 : 32,
247
+ width: n.compact ? 1 : 1.2,
248
+ "display-value": n.displayBarcodeValue
200
249
  }, null, 8, ["value", "height", "width", "display-value"])
201
- ])) : n("", !0)
250
+ ])) : l("", !0)
202
251
  ]),
203
- e.value.notes ? (o(), c("div", {
252
+ e.value.notes ? (a(), o("div", {
204
253
  key: 0,
205
- class: l(["text-muted-foreground whitespace-pre-wrap", t.compact ? "text-[10px]" : "text-xs"])
206
- }, s(e.value.notes), 3)) : n("", !0),
207
- e.value.footerText ? (o(), c("div", {
254
+ class: c(["text-muted-foreground whitespace-pre-wrap", n.compact ? "text-[10px]" : "text-xs"])
255
+ }, t(e.value.notes), 3)) : l("", !0),
256
+ e.value.footerText ? (a(), o("div", {
208
257
  key: 1,
209
- class: l(["text-muted-foreground font-medium uppercase tracking-widest", t.compact ? "text-[9px]" : "text-[10px]"])
210
- }, s(e.value.footerText), 3)) : n("", !0)
258
+ class: c(["text-muted-foreground font-medium uppercase tracking-widest", n.compact ? "text-[9px]" : "text-[10px]"])
259
+ }, t(e.value.footerText), 3)) : l("", !0)
211
260
  ], 2)
212
261
  ], 6));
213
262
  }
214
263
  });
215
264
  export {
216
- ne as default
265
+ we as default
217
266
  };