vlite3 1.1.2 → 1.1.4
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.
- package/components/AttachmentsList/AttachmentsList.vue.d.ts +1 -1
- package/components/AttachmentsList/AttachmentsList.vue.js +237 -163
- package/components/Avatar.vue.js +1 -1
- package/components/AvatarUploader/AvatarUploader.vue.js +40 -37
- package/components/Button.vue.js +30 -28
- package/components/Carousel/Carousel.vue.d.ts +2 -2
- package/components/CategoryManager/CategoryManager.vue.d.ts +10 -2
- package/components/CategoryManager/CategoryManager.vue.js +137 -118
- package/components/CategoryManager/CategoryNode.vue.d.ts +2 -0
- package/components/CategoryManager/CategoryNode.vue.js +93 -88
- package/components/Chat/ChatBubble.vue.js +22 -22
- package/components/CheckBox.vue.js +29 -28
- package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
- package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem.vue2.js} +1 -1
- package/components/ConfirmationModal.vue.js +30 -28
- package/components/CopyButton.vue.d.ts +50 -0
- package/components/CopyButton.vue.js +69 -0
- package/components/CopyButton.vue2.js +4 -0
- package/components/DataTable/DataTable.vue.js +44 -44
- package/components/DatePicker.vue.js +41 -35
- package/components/DateRangePicker.vue.js +18 -17
- package/components/Dropdown/Dropdown.vue.d.ts +3 -0
- package/components/Dropdown/Dropdown.vue.js +117 -115
- package/components/Dropdown/DropdownBooleanItem.vue.js +16 -15
- package/components/Dropdown/DropdownItem.vue.js +21 -20
- package/components/Dropdown/DropdownMenu.vue.js +1 -1
- package/components/Dropdown/DropdownMenu.vue2.js +13 -12
- package/components/Dropdown/DropdownTrigger.vue.d.ts +2 -0
- package/components/Dropdown/DropdownTrigger.vue.js +10 -6
- package/components/Dropdown/composables/useDropdownHydration.d.ts +2 -0
- package/components/Dropdown/composables/useDropdownSelection.d.ts +1 -0
- package/components/Dropdown/composables/useDropdownSelection.js +46 -31
- package/components/FilePicker/FilePicker.vue.js +93 -90
- package/components/Form/CustomFields.vue.js +2 -2
- package/components/Form/Form.vue.js +2 -2
- package/components/Form/Form.vue2.js +68 -64
- package/components/Form/FormField.vue.js +204 -148
- package/components/Form/FormFields.vue.js +2 -2
- package/components/Form/FormFields.vue2.js +28 -27
- package/components/Form/types.d.ts +2 -2
- package/components/Form/utils/form.utils.d.ts +3 -3
- package/components/Form/utils/form.utils.js +37 -37
- package/components/Input.vue.js +64 -62
- package/components/Invoice/Invoice.vue.js +9 -7
- package/components/Invoice/InvoiceTotals.vue.d.ts +14 -0
- package/components/Invoice/InvoiceTotals.vue.js +86 -0
- package/components/Invoice/InvoiceTotals.vue2.js +4 -0
- package/components/Invoice/InvoiceVariant1.vue.d.ts +3 -1
- package/components/Invoice/InvoiceVariant1.vue.js +194 -207
- package/components/Invoice/InvoiceVariant2.vue.d.ts +3 -1
- package/components/Invoice/InvoiceVariant2.vue.js +109 -118
- package/components/Invoice/InvoiceVariant3.vue.d.ts +3 -1
- package/components/Invoice/InvoiceVariant3.vue.js +157 -167
- package/components/Invoice/InvoiceVariant4.vue.d.ts +3 -1
- package/components/Invoice/InvoiceVariant4.vue.js +192 -202
- package/components/Invoice/index.d.ts +1 -0
- package/components/Invoice/types.d.ts +22 -0
- package/components/Masonry/Masonry.vue.d.ts +1 -1
- package/components/Modal.vue.js +1 -1
- package/components/Modal.vue2.js +60 -54
- package/components/MultiSelect/MultiSelect.vue.js +47 -46
- package/components/MultiSelect/composables/useMultiSelectHydration.d.ts +2 -0
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/NumberInput.vue.js +2 -2
- package/components/NumberInput.vue2.js +121 -116
- package/components/PricingPlan/PricingPlan.vue.d.ts +1 -1
- package/components/SidePanel.vue.js +2 -2
- package/components/SidePanel.vue2.js +58 -52
- package/components/Stats/StatItem.vue.js +96 -91
- package/components/Stats/types.d.ts +1 -0
- package/components/Switch.vue.d.ts +6 -1
- package/components/Switch.vue.js +61 -24
- package/components/TagInput/TagInput.vue.d.ts +187 -0
- package/components/TagInput/TagInput.vue.js +113 -0
- package/components/TagInput/TagInput.vue2.js +4 -0
- package/components/TagInput/index.d.ts +1 -0
- package/components/Textarea.vue.js +19 -18
- package/components/ThumbnailSelector/ThumbnailSelector.vue.js +2 -2
- package/components/ThumbnailSelector/ThumbnailSelector.vue2.js +19 -16
- package/core/config.d.ts +36 -0
- package/index.d.ts +2 -0
- package/index.js +130 -124
- package/package.json +1 -1
- package/style.css +616 -1
- package/types/button.d.ts +1 -1
- package/types/styles.d.ts +1 -0
- package/utils/functions.js +9 -9
|
@@ -1,166 +1,168 @@
|
|
|
1
|
-
import { defineComponent as b, computed as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
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";
|
|
2
|
+
import m from "../Price/Price.vue.js";
|
|
3
|
+
import w from "../DateTime/DateTime.vue.js";
|
|
4
|
+
import I from "../Barcode/Barcode.vue.js";
|
|
5
|
+
import _ from "../QRCode/QRCode.vue.js";
|
|
6
|
+
import p from "../Avatar.vue.js";
|
|
7
7
|
import j from "../StatusChip/StatusChip.vue.js";
|
|
8
|
-
|
|
8
|
+
import z from "./InvoiceTotals.vue.js";
|
|
9
|
+
const N = {
|
|
9
10
|
key: 0,
|
|
10
11
|
class: "flex justify-center mb-2"
|
|
11
|
-
},
|
|
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
13
|
key: 0,
|
|
13
14
|
class: "flex justify-between items-center"
|
|
14
|
-
},
|
|
15
|
+
}, q = { class: "text-muted-foreground font-medium" }, E = {
|
|
15
16
|
key: 1,
|
|
16
17
|
class: "flex justify-between items-center"
|
|
17
|
-
},
|
|
18
|
+
}, A = { class: "text-muted-foreground font-medium" }, F = { class: "font-semibold text-foreground" }, K = {
|
|
18
19
|
key: 2,
|
|
19
20
|
class: "flex justify-between items-center"
|
|
20
|
-
},
|
|
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 = {
|
|
21
22
|
key: 0,
|
|
22
23
|
class: "text-muted-foreground"
|
|
23
|
-
},
|
|
24
|
+
}, M = {
|
|
24
25
|
key: 1,
|
|
25
26
|
class: "text-success font-medium flex items-center gap-0.5"
|
|
26
|
-
},
|
|
27
|
+
}, P = { key: 0 }, Q = { class: "flex flex-row flex-wrap items-center justify-center gap-3" }, W = {
|
|
27
28
|
key: 0,
|
|
28
|
-
class: "
|
|
29
|
-
},
|
|
29
|
+
class: "bg-white"
|
|
30
|
+
}, X = {
|
|
30
31
|
key: 1,
|
|
31
|
-
class: "bg-white
|
|
32
|
-
},
|
|
32
|
+
class: "bg-white overflow-hidden"
|
|
33
|
+
}, ne = /* @__PURE__ */ b({
|
|
33
34
|
__name: "InvoiceVariant2",
|
|
34
35
|
props: {
|
|
35
36
|
data: {},
|
|
36
37
|
compact: { type: Boolean, default: !1 },
|
|
37
|
-
displayBarcodeValue: { type: Boolean, default: !1 }
|
|
38
|
+
displayBarcodeValue: { type: Boolean, default: !1 },
|
|
39
|
+
labels: {}
|
|
38
40
|
},
|
|
39
41
|
setup(t) {
|
|
40
|
-
const
|
|
41
|
-
return (
|
|
42
|
-
class:
|
|
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"]),
|
|
43
45
|
style: h({
|
|
44
46
|
"--text-sm": t.compact ? "12px" : "13.5px",
|
|
45
47
|
"--text-xs": t.compact ? "9.5px" : "10px"
|
|
46
48
|
})
|
|
47
49
|
}, [
|
|
48
50
|
a("div", {
|
|
49
|
-
class:
|
|
51
|
+
class: l(["text-center", t.compact ? "p-4 pb-3" : "p-6 pb-4"])
|
|
50
52
|
}, [
|
|
51
|
-
e.value.brandLogo ? (
|
|
52
|
-
u(
|
|
53
|
+
e.value.brandLogo ? (o(), c("div", N, [
|
|
54
|
+
u(p, {
|
|
53
55
|
src: e.value.brandLogo,
|
|
54
56
|
alt: e.value.brandName,
|
|
55
|
-
class:
|
|
57
|
+
class: l(t.compact ? "h-9 w-9" : "h-12 w-12"),
|
|
56
58
|
rounded: "md"
|
|
57
59
|
}, null, 8, ["src", "alt", "class"])
|
|
58
|
-
])) :
|
|
59
|
-
e.value.brandName ? (
|
|
60
|
+
])) : n("", !0),
|
|
61
|
+
e.value.brandName ? (o(), c("h2", {
|
|
60
62
|
key: 1,
|
|
61
|
-
class:
|
|
62
|
-
},
|
|
63
|
-
e.value.companyInfo ? (
|
|
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", {
|
|
64
66
|
key: 2,
|
|
65
|
-
class:
|
|
67
|
+
class: l(["text-muted-foreground space-y-0.5 mt-1", t.compact ? "text-xs" : "text-sm"])
|
|
66
68
|
}, [
|
|
67
|
-
e.value.companyInfo.address ? (
|
|
68
|
-
e.value.companyInfo.city || e.value.companyInfo.state ? (
|
|
69
|
-
e.value.companyInfo.phone ? (
|
|
70
|
-
e.value.companyInfo.taxId ? (
|
|
71
|
-
], 2)) :
|
|
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)
|
|
72
74
|
], 2),
|
|
73
75
|
a("div", {
|
|
74
|
-
class:
|
|
76
|
+
class: l(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
|
|
75
77
|
}, null, 2),
|
|
76
78
|
a("div", {
|
|
77
|
-
class:
|
|
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")
|
|
78
80
|
}, [
|
|
79
|
-
a("div",
|
|
80
|
-
|
|
81
|
-
a("span",
|
|
81
|
+
a("div", C, [
|
|
82
|
+
a("span", L, s(r.value.invoiceNumber || "Receipt #"), 1),
|
|
83
|
+
a("span", T, s(e.value.invoiceNumber), 1)
|
|
82
84
|
]),
|
|
83
|
-
e.value.issuedDate ? (
|
|
84
|
-
|
|
85
|
-
u(
|
|
85
|
+
e.value.issuedDate ? (o(), c("div", S, [
|
|
86
|
+
a("span", q, s(r.value.issued || "Date"), 1),
|
|
87
|
+
u(i(w), {
|
|
86
88
|
value: e.value.issuedDate,
|
|
87
89
|
type: "dateTime",
|
|
88
90
|
class: "font-medium text-foreground"
|
|
89
91
|
}, null, 8, ["value"])
|
|
90
|
-
])) :
|
|
91
|
-
e.value.customerInfo?.name ? (
|
|
92
|
-
|
|
93
|
-
a("span",
|
|
94
|
-
])) :
|
|
95
|
-
e.value.status ? (
|
|
96
|
-
|
|
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),
|
|
97
99
|
u(j, {
|
|
98
100
|
status: e.value.status,
|
|
99
101
|
"hide-icon": "",
|
|
100
102
|
size: "small"
|
|
101
103
|
}, null, 8, ["status"])
|
|
102
|
-
])) :
|
|
104
|
+
])) : n("", !0)
|
|
103
105
|
], 2),
|
|
104
106
|
a("div", {
|
|
105
|
-
class:
|
|
107
|
+
class: l(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
|
|
106
108
|
}, null, 2),
|
|
107
109
|
a("div", {
|
|
108
|
-
class:
|
|
110
|
+
class: l(t.compact ? "px-4 py-2.5" : "px-5 py-3.5")
|
|
109
111
|
}, [
|
|
110
112
|
a("div", {
|
|
111
|
-
class:
|
|
112
|
-
}, [
|
|
113
|
-
a("span", null, "Item",
|
|
114
|
-
a("span", null, "Amount",
|
|
115
|
-
]
|
|
113
|
+
class: l(["flex justify-between font-semibold text-muted-foreground uppercase tracking-wider mb-2", t.compact ? "text-[10px]" : "text-xs"])
|
|
114
|
+
}, [
|
|
115
|
+
a("span", null, s(r.value.item || "Item"), 1),
|
|
116
|
+
a("span", null, s(r.value.total || "Amount"), 1)
|
|
117
|
+
], 2),
|
|
116
118
|
a("div", {
|
|
117
|
-
class:
|
|
119
|
+
class: l(t.compact ? "space-y-2.5" : "space-y-3.5")
|
|
118
120
|
}, [
|
|
119
|
-
(
|
|
120
|
-
key: d.id ||
|
|
121
|
+
(o(!0), c(g, null, k(e.value.items, (d, y) => (o(), c("div", {
|
|
122
|
+
key: d.id || y
|
|
121
123
|
}, [
|
|
122
|
-
a("div",
|
|
123
|
-
d.thumbnail ? (
|
|
124
|
+
a("div", R, [
|
|
125
|
+
d.thumbnail ? (o(), c("div", {
|
|
124
126
|
key: 0,
|
|
125
|
-
class:
|
|
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"])
|
|
126
128
|
}, [
|
|
127
|
-
u(
|
|
129
|
+
u(p, {
|
|
128
130
|
src: d.thumbnail,
|
|
129
131
|
alt: d.name,
|
|
130
132
|
class: "w-full h-full",
|
|
131
133
|
rounded: "sm"
|
|
132
134
|
}, null, 8, ["src", "alt"])
|
|
133
|
-
], 2)) :
|
|
134
|
-
a("div",
|
|
135
|
-
a("div",
|
|
135
|
+
], 2)) : n("", !0),
|
|
136
|
+
a("div", U, [
|
|
137
|
+
a("div", G, [
|
|
136
138
|
a("span", {
|
|
137
|
-
class:
|
|
139
|
+
class: l(["font-semibold text-foreground truncate", t.compact ? "text-xs" : "text-sm"]),
|
|
138
140
|
title: d.name
|
|
139
|
-
},
|
|
140
|
-
u(m
|
|
141
|
+
}, s(d.name), 11, H),
|
|
142
|
+
u(i(m), {
|
|
141
143
|
value: d.total,
|
|
142
|
-
class:
|
|
144
|
+
class: l(["shrink-0 font-bold text-foreground", t.compact ? "text-xs" : "text-sm"])
|
|
143
145
|
}, null, 8, ["value", "class"])
|
|
144
146
|
]),
|
|
145
|
-
d.sku ? (
|
|
147
|
+
d.sku ? (o(), c("div", {
|
|
146
148
|
key: 0,
|
|
147
|
-
class:
|
|
148
|
-
}, "
|
|
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),
|
|
149
151
|
a("div", {
|
|
150
|
-
class:
|
|
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"])
|
|
151
153
|
}, [
|
|
152
|
-
a("span", null,
|
|
153
|
-
u(m
|
|
154
|
+
a("span", null, s(d.quantity) + " x", 1),
|
|
155
|
+
u(i(m), {
|
|
154
156
|
value: d.price
|
|
155
157
|
}, null, 8, ["value"]),
|
|
156
|
-
d.size ? (
|
|
157
|
-
d.discount !== void 0 ? (
|
|
158
|
-
|
|
159
|
-
u(m
|
|
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), {
|
|
160
162
|
value: -d.discount
|
|
161
163
|
}, null, 8, ["value"]),
|
|
162
|
-
d.discountLabel ? (
|
|
163
|
-
])) :
|
|
164
|
+
d.discountLabel ? (o(), c("span", P, "(" + s(d.discountLabel) + ")", 1)) : n("", !0)
|
|
165
|
+
])) : n("", !0)
|
|
164
166
|
], 2)
|
|
165
167
|
])
|
|
166
168
|
])
|
|
@@ -168,59 +170,48 @@ const z = {
|
|
|
168
170
|
], 2)
|
|
169
171
|
], 2),
|
|
170
172
|
a("div", {
|
|
171
|
-
class:
|
|
173
|
+
class: l(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
|
|
172
174
|
}, null, 2),
|
|
175
|
+
u(z, {
|
|
176
|
+
totals: e.value.totals,
|
|
177
|
+
compact: t.compact,
|
|
178
|
+
variant: "Variant2"
|
|
179
|
+
}, null, 8, ["totals", "compact"]),
|
|
173
180
|
a("div", {
|
|
174
|
-
class:
|
|
175
|
-
}, [
|
|
176
|
-
(s(!0), o(f, null, p(e.value.totals, (d, x) => (s(), o("div", {
|
|
177
|
-
key: x,
|
|
178
|
-
class: n([
|
|
179
|
-
"flex justify-between items-center",
|
|
180
|
-
d.isGrandTotal ? t.compact ? "mt-1.5 pt-1.5 border-t border-border font-bold text-foreground text-sm" : "mt-2 pt-2 border-t border-border font-bold text-foreground text-base" : t.compact ? "text-xs font-medium text-muted-foreground" : "text-sm font-medium text-muted-foreground"
|
|
181
|
-
])
|
|
182
|
-
}, [
|
|
183
|
-
a("span", null, l(d.label), 1),
|
|
184
|
-
u(m(i), {
|
|
185
|
-
value: d.value
|
|
186
|
-
}, null, 8, ["value"])
|
|
187
|
-
], 2))), 128))
|
|
188
|
-
], 2),
|
|
189
|
-
a("div", {
|
|
190
|
-
class: n(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
|
|
181
|
+
class: l(["border-t border-dashed border-border", t.compact ? "mx-3" : "mx-5"])
|
|
191
182
|
}, null, 2),
|
|
192
183
|
a("div", {
|
|
193
|
-
class:
|
|
184
|
+
class: l(t.compact ? "px-4 py-3 text-center space-y-3" : "px-5 py-4 text-center space-y-4")
|
|
194
185
|
}, [
|
|
195
|
-
a("div",
|
|
196
|
-
e.value.qrcode ? (
|
|
197
|
-
u(
|
|
186
|
+
a("div", Q, [
|
|
187
|
+
e.value.qrcode ? (o(), c("div", W, [
|
|
188
|
+
u(i(_), {
|
|
198
189
|
value: e.value.qrcode,
|
|
199
190
|
size: t.compact ? 48 : 64
|
|
200
191
|
}, null, 8, ["value", "size"])
|
|
201
|
-
])) :
|
|
202
|
-
e.value.barcode ? (
|
|
203
|
-
u(
|
|
192
|
+
])) : n("", !0),
|
|
193
|
+
e.value.barcode ? (o(), c("div", X, [
|
|
194
|
+
u(i(I), {
|
|
204
195
|
value: e.value.barcode,
|
|
205
196
|
format: "CODE128",
|
|
206
197
|
height: t.compact ? 24 : 32,
|
|
207
198
|
width: t.compact ? 1 : 1.2,
|
|
208
199
|
"display-value": t.displayBarcodeValue
|
|
209
200
|
}, null, 8, ["value", "height", "width", "display-value"])
|
|
210
|
-
])) :
|
|
201
|
+
])) : n("", !0)
|
|
211
202
|
]),
|
|
212
|
-
e.value.notes ? (
|
|
203
|
+
e.value.notes ? (o(), c("div", {
|
|
213
204
|
key: 0,
|
|
214
|
-
class:
|
|
215
|
-
},
|
|
216
|
-
e.value.footerText ? (
|
|
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", {
|
|
217
208
|
key: 1,
|
|
218
|
-
class:
|
|
219
|
-
},
|
|
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)
|
|
220
211
|
], 2)
|
|
221
212
|
], 6));
|
|
222
213
|
}
|
|
223
214
|
});
|
|
224
215
|
export {
|
|
225
|
-
|
|
216
|
+
ne as default
|
|
226
217
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { InvoiceData } from './types';
|
|
1
|
+
import { InvoiceData, InvoiceLabels } from './types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
data: InvoiceData;
|
|
4
4
|
/** Reduces padding, spacing, and font sizes for print-friendly output */
|
|
5
5
|
compact?: boolean;
|
|
6
6
|
/** Toggles the display of the barcode text value underneath the bars */
|
|
7
7
|
displayBarcodeValue?: boolean;
|
|
8
|
+
/** Custom text labels for static UI strings */
|
|
9
|
+
labels?: InvoiceLabels;
|
|
8
10
|
};
|
|
9
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
12
|
compact: boolean;
|