@wisemen/wise-invoicing-web 0.0.0-alpha.1
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/dist/AddOpenBoundaryIcon-BEbt7idt.js +28 -0
- package/dist/AirlineIcon-CiRX64yU.js +31 -0
- package/dist/AirplaneIcon-ySlq4lyE.js +21 -0
- package/dist/AirportIcon-B84mgPeW.js +18 -0
- package/dist/AlertTriangleIcon-CBaygowk.js +24 -0
- package/dist/AllocationsIcon-BEq-KzFl.js +18 -0
- package/dist/ArrowNarrowRightIcon-CeV9G-PX.js +24 -0
- package/dist/AssetIcon-CgYKjgAv.js +18 -0
- package/dist/BarChartIcon-180sKdWD.js +24 -0
- package/dist/BellIcon-k_e3dHc9.js +23 -0
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -0
- package/dist/BillingDocumentDetailViewDataProvider.vue_vue_type_script_setup_true_lang-CWKBYgXH.js +5161 -0
- package/dist/BuildingIcon-vsvoi83j.js +24 -0
- package/dist/ChargerIcon-Bp3Up7jS.js +18 -0
- package/dist/ChevronDownIcon-D9nXH3kA.js +24 -0
- package/dist/ChevronUpIcon-CkYZnNds.js +24 -0
- package/dist/ClockIcon-DltYwVJC.js +24 -0
- package/dist/ClockSnoozeIcon-x_plYT2B.js +24 -0
- package/dist/CopyIcon-DOqno1Gb.js +21 -0
- package/dist/CreditNoteDetailViewDataProvider-Dc_APzSS.js +873 -0
- package/dist/CreditNotePdfViewDataProvider-zdBDlMRD.js +36 -0
- package/dist/DownloadCloudIcon-CHztnC6f.js +24 -0
- package/dist/EditIcon-L73PCCiu.js +23 -0
- package/dist/EraserIcon-CRVRD-F9.js +24 -0
- package/dist/FileIcon-Fuwo_cD0.js +26 -0
- package/dist/FilterLinesIcon-CRaEthek.js +24 -0
- package/dist/GlobeIcon-UmFqS-_n.js +24 -0
- package/dist/HelpIcon-CyOF59jk.js +26 -0
- package/dist/HourGlassIcon-mbgmoOa_.js +24 -0
- package/dist/InfoCircleIcon-DdlwGcMV.js +24 -0
- package/dist/InvoiceDetailViewDataProvider-DeS1LPn1.js +1942 -0
- package/dist/InvoiceOverviewView-BELZjC4d.js +14297 -0
- package/dist/InvoicePdfViewDataProvider-CzzbJS9s.js +36 -0
- package/dist/InvoicePublicPdfViewDataProvider-B7fszuGq.js +4 -0
- package/dist/InvoiceSettlementStatusBadge.vue_vue_type_script_setup_true_lang-YngYVFcS.js +196 -0
- package/dist/IssuerSettingsViewDataProvider-CbKj-AK2.js +250 -0
- package/dist/KeyboardIcon-BYex7WoL.js +24 -0
- package/dist/LinkExternalIcon-QJt5WMfk.js +24 -0
- package/dist/LinkIcon-D9WPvO58.js +24 -0
- package/dist/MarkerIcon-Dacom7sa.js +31 -0
- package/dist/MobileBatteryIcon-i1TxVu66.js +18 -0
- package/dist/MonitorIcon-B6-by77x.js +24 -0
- package/dist/NotificationIcon-D5mgxQ3P.js +21 -0
- package/dist/ParkingIcon-DJzqSxFU.js +29 -0
- package/dist/PlanningIcon-Dj8UH1Cl.js +18 -0
- package/dist/PreferenceIcon-DrDfTl-0.js +24 -0
- package/dist/ReceiptCheckIcon-DfUkv_G6.js +24 -0
- package/dist/RefreshIcon-CykNw3qm.js +24 -0
- package/dist/RemoveOpenBoundaryIcon-8vTxISBg.js +31 -0
- package/dist/RewindIcon-K0KiISjE.js +24 -0
- package/dist/SettingsIcon-BA4bIP5a.js +28 -0
- package/dist/ShieldIcon-B6OfkWmr.js +21 -0
- package/dist/ShieldOffIcon-RppEweJ9.js +24 -0
- package/dist/SignOutIcon-C6x_Sv0W.js +23 -0
- package/dist/SlashCircleIcon-CbwLUV0p.js +24 -0
- package/dist/StandIcon-DW1SUHPC.js +24 -0
- package/dist/StarsIcon-I4S_hN5F.js +26 -0
- package/dist/StopwatchIcon-D8KogezG.js +24 -0
- package/dist/TargetIcon-DZL7Hi3v.js +24 -0
- package/dist/ThreeDotsIcon-CKO5p_ZD.js +32 -0
- package/dist/ToolIcon-Dbvw1D-H.js +24 -0
- package/dist/TrashIcon-02miWCrc.js +21 -0
- package/dist/TurnaroundIcon-Dee23oaX.js +30 -0
- package/dist/UploadCloudIcon-DhtpTfwc.js +24 -0
- package/dist/UserIcon-DbdAYeNN.js +24 -0
- package/dist/UsersIcon-CHaIEI5X.js +24 -0
- package/dist/VerifiedIcon-CTveuqDt.js +26 -0
- package/dist/WifiIcon-DHt-RpM2.js +24 -0
- package/dist/WifiOffIcon-D8xUKqLP.js +24 -0
- package/dist/ZapIcon-C95VuzXS.js +24 -0
- package/dist/ZoomInIcon-qDywyLfc.js +24 -0
- package/dist/ZoomOutIcon-KL3_B-6s.js +24 -0
- package/dist/_plugin-vue_export-helper-3S5xkc9H.js +453 -0
- package/dist/creditNoteDetail.query-JGvG5yYz.js +159 -0
- package/dist/formango.util-D66mMTWb.js +12 -0
- package/dist/index-Beg0OAsI.js +8082 -0
- package/dist/index-DCE3vzbe.js +7 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +1608 -0
- package/dist/index.js +40 -0
- package/dist/invoiceDetail.query-C3Llz0nF.js +13 -0
- package/dist/issuerSettings.query-H83T7-h9.js +130 -0
- package/dist/style.css +1 -0
- package/dist/style.d.ts +1 -0
- package/package.json +103 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as a, computed as m, openBlock as u, createBlock as d, unref as e, withCtx as i, createElementVNode as f, createVNode as o } from "vue";
|
|
2
|
+
import { UIText as l } from "@wisemen/vue-core-design-system";
|
|
3
|
+
import { useI18n as _ } from "vue-i18n";
|
|
4
|
+
import { u as p } from "./invoiceDetail.query-C3Llz0nF.js";
|
|
5
|
+
import { _ as v, a1 as x } from "./index-Beg0OAsI.js";
|
|
6
|
+
const g = { class: "flex min-h-screen items-center justify-center bg-secondary" }, k = /* @__PURE__ */ a({
|
|
7
|
+
__name: "InvoicePdfViewDataProvider",
|
|
8
|
+
props: {
|
|
9
|
+
invoiceUuid: {}
|
|
10
|
+
},
|
|
11
|
+
setup(n) {
|
|
12
|
+
const t = n, c = _(), r = p(m(() => t.invoiceUuid));
|
|
13
|
+
return (h, y) => (u(), d(v, {
|
|
14
|
+
queries: {
|
|
15
|
+
invoice: e(r)
|
|
16
|
+
}
|
|
17
|
+
}, {
|
|
18
|
+
default: i(({ data: s }) => [
|
|
19
|
+
o(x, {
|
|
20
|
+
invoice: s.invoice
|
|
21
|
+
}, null, 8, ["invoice"])
|
|
22
|
+
]),
|
|
23
|
+
loading: i(() => [
|
|
24
|
+
f("div", g, [
|
|
25
|
+
o(e(l), {
|
|
26
|
+
text: e(c).t("wise_invoicing.common.loading")
|
|
27
|
+
}, null, 8, ["text"])
|
|
28
|
+
])
|
|
29
|
+
]),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 8, ["queries"]));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
k as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { defineComponent as g, computed as s, openBlock as u, createBlock as c, unref as a, createElementBlock as b, createElementVNode as w, withCtx as p, createVNode as v } from "vue";
|
|
2
|
+
import { UIBadge as f, UIColumnLayout as x, UITooltip as C, UITooltipContent as S, UIText as I } from "@wisemen/vue-core-design-system";
|
|
3
|
+
import { useI18n as _ } from "vue-i18n";
|
|
4
|
+
import { I as k, _ as D } from "./_plugin-vue_export-helper-3S5xkc9H.js";
|
|
5
|
+
import { f as i, u as z } from "./index-Beg0OAsI.js";
|
|
6
|
+
import "zod";
|
|
7
|
+
const M = {
|
|
8
|
+
[i.CREDITED]: {
|
|
9
|
+
tone: "purple",
|
|
10
|
+
translationKey: "wise_invoicing.invoice.settlement_status.credited"
|
|
11
|
+
},
|
|
12
|
+
[i.OVERPAID]: {
|
|
13
|
+
tone: "warning",
|
|
14
|
+
translationKey: "wise_invoicing.invoice.settlement_status.paid"
|
|
15
|
+
},
|
|
16
|
+
[i.PAID]: {
|
|
17
|
+
tone: "success",
|
|
18
|
+
translationKey: "wise_invoicing.invoice.settlement_status.paid"
|
|
19
|
+
},
|
|
20
|
+
[i.PARTIALLY_PAID]: {
|
|
21
|
+
tone: "blue",
|
|
22
|
+
translationKey: "wise_invoicing.invoice.settlement_status.partially_paid"
|
|
23
|
+
},
|
|
24
|
+
[i.SETTLED]: {
|
|
25
|
+
tone: "brand",
|
|
26
|
+
translationKey: "wise_invoicing.invoice.settlement_status.settled"
|
|
27
|
+
},
|
|
28
|
+
[i.UNPAID]: {
|
|
29
|
+
tone: "gray",
|
|
30
|
+
translationKey: "wise_invoicing.invoice.settlement_status.unpaid"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
class d {
|
|
34
|
+
static getCreditedAmount(t) {
|
|
35
|
+
if (t.totalCreditedAmount !== null)
|
|
36
|
+
return t.totalCreditedAmount.amount > 0 ? t.totalCreditedAmount : null;
|
|
37
|
+
if (t.balanceDueAmount == null)
|
|
38
|
+
return null;
|
|
39
|
+
const e = t.paidAmount?.amount ?? 0, o = Math.max(t.grossAmount.amount - t.balanceDueAmount.amount - e, 0);
|
|
40
|
+
return o > 0 ? {
|
|
41
|
+
...t.grossAmount,
|
|
42
|
+
amount: o
|
|
43
|
+
} : null;
|
|
44
|
+
}
|
|
45
|
+
static getMetadata(t) {
|
|
46
|
+
return M[t];
|
|
47
|
+
}
|
|
48
|
+
static getSubtextParts(t) {
|
|
49
|
+
const e = t.paidAmount, o = d.getCreditedAmount(t);
|
|
50
|
+
switch (t.settlementStatus) {
|
|
51
|
+
case i.OVERPAID: {
|
|
52
|
+
if (e === null)
|
|
53
|
+
return null;
|
|
54
|
+
const r = Math.max(e.amount - t.grossAmount.amount, 0), l = Math.min(e.amount, t.grossAmount.amount);
|
|
55
|
+
return r > 0 ? {
|
|
56
|
+
creditedAmount: null,
|
|
57
|
+
overpaidAmount: {
|
|
58
|
+
...t.grossAmount,
|
|
59
|
+
amount: r
|
|
60
|
+
},
|
|
61
|
+
paidAmount: {
|
|
62
|
+
...t.grossAmount,
|
|
63
|
+
amount: l
|
|
64
|
+
}
|
|
65
|
+
} : null;
|
|
66
|
+
}
|
|
67
|
+
case i.PARTIALLY_PAID:
|
|
68
|
+
case i.SETTLED:
|
|
69
|
+
return e === null && o === null ? null : {
|
|
70
|
+
creditedAmount: o,
|
|
71
|
+
overpaidAmount: null,
|
|
72
|
+
paidAmount: e ?? null
|
|
73
|
+
};
|
|
74
|
+
default:
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
const V = /* @__PURE__ */ g({
|
|
80
|
+
__name: "InvoiceStatusBadge",
|
|
81
|
+
props: {
|
|
82
|
+
lifecycleStatus: {},
|
|
83
|
+
size: { default: "sm" }
|
|
84
|
+
},
|
|
85
|
+
setup(m) {
|
|
86
|
+
const t = m, e = _(), o = s(
|
|
87
|
+
() => k.getLifecycleMetadata(t.lifecycleStatus)
|
|
88
|
+
), r = s(() => e.t(o.value.translationKey));
|
|
89
|
+
return (l, A) => (u(), c(a(f), {
|
|
90
|
+
label: r.value,
|
|
91
|
+
color: o.value.tone,
|
|
92
|
+
size: t.size
|
|
93
|
+
}, null, 8, ["label", "color", "size"]));
|
|
94
|
+
}
|
|
95
|
+
}), T = {}, B = {
|
|
96
|
+
width: "100%",
|
|
97
|
+
height: "100%",
|
|
98
|
+
viewBox: "0 0 24 24",
|
|
99
|
+
fill: "none",
|
|
100
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
101
|
+
};
|
|
102
|
+
function E(m, t) {
|
|
103
|
+
return u(), b("svg", B, [...t[0] || (t[0] = [
|
|
104
|
+
w("path", {
|
|
105
|
+
d: "M20 6L9 17L4 12",
|
|
106
|
+
stroke: "currentColor",
|
|
107
|
+
"stroke-width": "2",
|
|
108
|
+
"stroke-linecap": "round",
|
|
109
|
+
"stroke-linejoin": "round"
|
|
110
|
+
}, null, -1)
|
|
111
|
+
])]);
|
|
112
|
+
}
|
|
113
|
+
const F = /* @__PURE__ */ D(T, [["render", E]]);
|
|
114
|
+
import("./AddOpenBoundaryIcon-BEbt7idt.js"), import("./AirlineIcon-CiRX64yU.js"), import("./AirplaneIcon-ySlq4lyE.js"), import("./AirportIcon-B84mgPeW.js"), import("./AlertTriangleIcon-CBaygowk.js"), import("./AllocationsIcon-BEq-KzFl.js"), import("./ArrowNarrowRightIcon-CeV9G-PX.js"), import("./AssetIcon-CgYKjgAv.js"), import("./BarChartIcon-180sKdWD.js"), import("./BellIcon-k_e3dHc9.js"), import("./BuildingIcon-vsvoi83j.js"), import("./ChargerIcon-Bp3Up7jS.js"), import("./ChevronDownIcon-D9nXH3kA.js"), import("./ChevronUpIcon-CkYZnNds.js"), import("./ClockIcon-DltYwVJC.js"), import("./ClockSnoozeIcon-x_plYT2B.js"), import("./CopyIcon-DOqno1Gb.js"), import("./DownloadCloudIcon-CHztnC6f.js"), import("./EditIcon-L73PCCiu.js"), import("./EraserIcon-CRVRD-F9.js"), import("./FileIcon-Fuwo_cD0.js"), import("./FilterLinesIcon-CRaEthek.js"), import("./GlobeIcon-UmFqS-_n.js"), import("./HelpIcon-CyOF59jk.js"), import("./HourGlassIcon-mbgmoOa_.js"), import("./InfoCircleIcon-DdlwGcMV.js"), import("./KeyboardIcon-BYex7WoL.js"), import("./LinkIcon-D9WPvO58.js"), import("./LinkExternalIcon-QJt5WMfk.js"), import("./MarkerIcon-Dacom7sa.js"), import("./MobileBatteryIcon-i1TxVu66.js"), import("./MonitorIcon-B6-by77x.js"), import("./NotificationIcon-D5mgxQ3P.js"), import("./ParkingIcon-DJzqSxFU.js"), import("./PlanningIcon-Dj8UH1Cl.js"), import("./PreferenceIcon-DrDfTl-0.js"), import("./ReceiptCheckIcon-DfUkv_G6.js"), import("./RefreshIcon-CykNw3qm.js"), import("./RemoveOpenBoundaryIcon-8vTxISBg.js"), import("./RewindIcon-K0KiISjE.js"), import("./SettingsIcon-BA4bIP5a.js"), import("./ShieldIcon-B6OfkWmr.js"), import("./ShieldOffIcon-RppEweJ9.js"), import("./SignOutIcon-C6x_Sv0W.js"), import("./SlashCircleIcon-CbwLUV0p.js"), import("./StandIcon-DW1SUHPC.js"), import("./StarsIcon-I4S_hN5F.js"), import("./StopwatchIcon-D8KogezG.js"), import("./TargetIcon-DZL7Hi3v.js"), import("./ThreeDotsIcon-CKO5p_ZD.js"), import("./ToolIcon-Dbvw1D-H.js"), import("./TrashIcon-02miWCrc.js"), import("./TurnaroundIcon-Dee23oaX.js"), import("./UploadCloudIcon-DhtpTfwc.js"), import("./UserIcon-DbdAYeNN.js"), import("./UsersIcon-CHaIEI5X.js"), import("./VerifiedIcon-CTveuqDt.js"), import("./WifiIcon-DHt-RpM2.js"), import("./WifiOffIcon-D8xUKqLP.js"), import("./ZapIcon-C95VuzXS.js"), import("./ZoomInIcon-qDywyLfc.js"), import("./ZoomOutIcon-KL3_B-6s.js");
|
|
115
|
+
const Y = /* @__PURE__ */ g({
|
|
116
|
+
__name: "InvoiceSettlementStatusBadge",
|
|
117
|
+
props: {
|
|
118
|
+
balanceDueAmount: {},
|
|
119
|
+
grossAmount: {},
|
|
120
|
+
paidAmount: {},
|
|
121
|
+
settlementStatus: {},
|
|
122
|
+
showSubtext: { type: Boolean, default: !0 },
|
|
123
|
+
size: { default: "sm" },
|
|
124
|
+
totalCreditedAmount: {}
|
|
125
|
+
},
|
|
126
|
+
setup(m) {
|
|
127
|
+
const t = m, e = _(), o = z(), r = s(
|
|
128
|
+
() => d.getMetadata(t.settlementStatus)
|
|
129
|
+
), l = s(() => e.t(r.value.translationKey)), A = s(() => {
|
|
130
|
+
const n = d.getSubtextParts({
|
|
131
|
+
balanceDueAmount: t.balanceDueAmount,
|
|
132
|
+
grossAmount: t.grossAmount,
|
|
133
|
+
paidAmount: t.paidAmount,
|
|
134
|
+
settlementStatus: t.settlementStatus,
|
|
135
|
+
totalCreditedAmount: t.totalCreditedAmount
|
|
136
|
+
});
|
|
137
|
+
return n == null ? null : n.paidAmount !== null && n.overpaidAmount !== null ? e.t("wise_invoicing.invoice.status_subtext.paid_overpaid", {
|
|
138
|
+
overpaidAmount: o.formatMonetary(n.overpaidAmount),
|
|
139
|
+
paidAmount: o.formatMonetary(n.paidAmount)
|
|
140
|
+
}) : n.paidAmount !== null && n.creditedAmount !== null ? e.t("wise_invoicing.invoice.status_subtext.paid_credited", {
|
|
141
|
+
creditedAmount: o.formatMonetary(n.creditedAmount),
|
|
142
|
+
paidAmount: o.formatMonetary(n.paidAmount)
|
|
143
|
+
}) : n.paidAmount !== null ? e.t("wise_invoicing.invoice.status_subtext.paid", {
|
|
144
|
+
paidAmount: o.formatMonetary(n.paidAmount)
|
|
145
|
+
}) : n.creditedAmount !== null ? e.t("wise_invoicing.invoice.status_subtext.credited", {
|
|
146
|
+
creditedAmount: o.formatMonetary(n.creditedAmount)
|
|
147
|
+
}) : null;
|
|
148
|
+
}), h = s(
|
|
149
|
+
() => t.showSubtext && A.value !== null
|
|
150
|
+
), y = s(() => A.value ?? "");
|
|
151
|
+
return (n, L) => (u(), c(a(x), { gap: "xs" }, {
|
|
152
|
+
default: p(() => [
|
|
153
|
+
h.value ? (u(), c(a(C), {
|
|
154
|
+
key: 0,
|
|
155
|
+
"popover-side-offset": 8,
|
|
156
|
+
"popover-align": "center",
|
|
157
|
+
"popover-side": "bottom"
|
|
158
|
+
}, {
|
|
159
|
+
trigger: p(() => [
|
|
160
|
+
v(a(f), {
|
|
161
|
+
label: l.value,
|
|
162
|
+
color: r.value.tone,
|
|
163
|
+
size: t.size,
|
|
164
|
+
variant: "translucent"
|
|
165
|
+
}, null, 8, ["label", "color", "size"])
|
|
166
|
+
]),
|
|
167
|
+
content: p(() => [
|
|
168
|
+
v(a(S), null, {
|
|
169
|
+
default: p(() => [
|
|
170
|
+
v(a(I), {
|
|
171
|
+
text: y.value,
|
|
172
|
+
class: "text-sm text-primary"
|
|
173
|
+
}, null, 8, ["text"])
|
|
174
|
+
]),
|
|
175
|
+
_: 1
|
|
176
|
+
})
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
179
|
+
})) : (u(), c(a(f), {
|
|
180
|
+
key: 1,
|
|
181
|
+
label: l.value,
|
|
182
|
+
color: r.value.tone,
|
|
183
|
+
size: t.size,
|
|
184
|
+
variant: "translucent"
|
|
185
|
+
}, null, 8, ["label", "color", "size"]))
|
|
186
|
+
]),
|
|
187
|
+
_: 1
|
|
188
|
+
}));
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
export {
|
|
192
|
+
F as C,
|
|
193
|
+
d as I,
|
|
194
|
+
V as _,
|
|
195
|
+
Y as a
|
|
196
|
+
};
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { defineComponent as h, computed as p, openBlock as v, createBlock as w, unref as e, withCtx as s, Teleport as L, createVNode as t, mergeProps as r, createElementVNode as f, toDisplayString as O } from "vue";
|
|
2
|
+
import { I as Q, a as z, u as H } from "./issuerSettings.query-H83T7-h9.js";
|
|
3
|
+
import { useToast as K, createSelectOptions as Y, UIForm as J, UIFormSubmitButton as R, UIFormLayout as W, UIFormFieldSet as y, UIFormFieldGroup as F, UIFormFieldGrid as S, UITextField as u, UIPhoneNumberField as X, UIAddressAutocomplete as Z, UISeparator as x, UISelect as ee, UINumberField as te, UIDashboardPage as ie, UIDashboardPageContent as se } from "@wisemen/vue-core-design-system";
|
|
4
|
+
import { useI18n as U } from "vue-i18n";
|
|
5
|
+
import { C as N, a as ne, u as re, b as le, _ as ae } from "./index-Beg0OAsI.js";
|
|
6
|
+
import { useForm as oe } from "formango";
|
|
7
|
+
import { z as l } from "zod";
|
|
8
|
+
import { useMutation as ue } from "@wisemen/vue-core-api-utils";
|
|
9
|
+
import { t as a } from "./formango.util-D66mMTWb.js";
|
|
10
|
+
import { U as ce } from "./index-DCE3vzbe.js";
|
|
11
|
+
function me() {
|
|
12
|
+
return ue({
|
|
13
|
+
queryFn: (c) => Q.update(c.body),
|
|
14
|
+
queryKeysToInvalidate: {
|
|
15
|
+
issuerSettings: {}
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const de = l.object({
|
|
20
|
+
name: l.string().min(1),
|
|
21
|
+
address: ne.nullable(),
|
|
22
|
+
bankAccountNumber: l.string().min(1),
|
|
23
|
+
bic: l.string(),
|
|
24
|
+
currency: l.enum(N),
|
|
25
|
+
defaultPaymentTermDays: l.number().min(1),
|
|
26
|
+
email: l.email().min(1),
|
|
27
|
+
phoneNumber: l.string().min(1),
|
|
28
|
+
sequencePrefix: l.string().max(10),
|
|
29
|
+
vatNumber: l.string().min(1),
|
|
30
|
+
website: l.string()
|
|
31
|
+
}), ge = { class: "mx-auto w-full max-w-4xl" }, be = { class: "pr-md text-xs text-secondary" }, _e = { class: "mx-auto w-full max-w-4xl" }, pe = /* @__PURE__ */ h({
|
|
32
|
+
__name: "IssuerSettingsForm",
|
|
33
|
+
props: {
|
|
34
|
+
issuerSettings: {}
|
|
35
|
+
},
|
|
36
|
+
setup(c) {
|
|
37
|
+
const d = c, i = U(), g = K(), b = re(), _ = me(), P = p(() => Y(Object.values(N))), n = oe({
|
|
38
|
+
initialState: p(() => z.toForm(d.issuerSettings)),
|
|
39
|
+
schema: de,
|
|
40
|
+
onSubmit: async (o) => {
|
|
41
|
+
const m = await _.execute({
|
|
42
|
+
body: o
|
|
43
|
+
});
|
|
44
|
+
if (m.isErr()) {
|
|
45
|
+
g.apiError(m.error);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
g.show({
|
|
49
|
+
message: i.t("wise_invoicing.settings.saved")
|
|
50
|
+
});
|
|
51
|
+
},
|
|
52
|
+
onSubmitError: () => {
|
|
53
|
+
g.unableToSave();
|
|
54
|
+
}
|
|
55
|
+
}), q = n.register("name"), T = n.register("email"), D = n.register("phoneNumber"), $ = n.register("website"), C = n.register("address"), k = n.register("vatNumber"), A = n.register("bankAccountNumber"), V = n.register("bic"), E = n.register("currency"), B = n.register("defaultPaymentTermDays"), I = n.register("sequencePrefix"), M = p(() => {
|
|
56
|
+
const o = I.modelValue.value?.trim(), m = String((/* @__PURE__ */ new Date()).getFullYear());
|
|
57
|
+
return o == null || o === "" ? `${m}-0001` : `${o}-${m}-0001`;
|
|
58
|
+
}), j = p(
|
|
59
|
+
() => `${i.t("wise_invoicing.settings.preview.label")}: ${M.value}`
|
|
60
|
+
);
|
|
61
|
+
function G(o) {
|
|
62
|
+
return `${o} (${b.getSymbol(o).symbol})`;
|
|
63
|
+
}
|
|
64
|
+
return (o, m) => (v(), w(e(J), {
|
|
65
|
+
form: e(n),
|
|
66
|
+
"prompt-on-unsaved-changes": !0
|
|
67
|
+
}, {
|
|
68
|
+
default: s(() => [
|
|
69
|
+
(v(), w(L, {
|
|
70
|
+
to: "#page-actions",
|
|
71
|
+
defer: ""
|
|
72
|
+
}, [
|
|
73
|
+
t(e(R), {
|
|
74
|
+
"is-disabled": !e(n).isDirty.value,
|
|
75
|
+
label: e(i).t("wise_invoicing.common.save")
|
|
76
|
+
}, null, 8, ["is-disabled", "label"])
|
|
77
|
+
])),
|
|
78
|
+
t(e(W), null, {
|
|
79
|
+
default: s(() => [
|
|
80
|
+
t(e(y), {
|
|
81
|
+
title: e(i).t("wise_invoicing.settings.sections.issuer.title"),
|
|
82
|
+
description: e(i).t("wise_invoicing.settings.sections.issuer.description")
|
|
83
|
+
}, {
|
|
84
|
+
default: s(() => [
|
|
85
|
+
t(e(F), null, {
|
|
86
|
+
default: s(() => [
|
|
87
|
+
t(e(S), {
|
|
88
|
+
lg: 2,
|
|
89
|
+
sm: 1
|
|
90
|
+
}, {
|
|
91
|
+
default: s(() => [
|
|
92
|
+
t(e(u), r({ "is-required": !0 }, e(a)(e(q)), {
|
|
93
|
+
label: e(i).t("wise_invoicing.settings.fields.name.label")
|
|
94
|
+
}), null, 16, ["label"]),
|
|
95
|
+
t(e(u), r({ "is-required": !0 }, e(a)(e(T)), {
|
|
96
|
+
label: e(i).t("wise_invoicing.settings.fields.email.label"),
|
|
97
|
+
type: "email"
|
|
98
|
+
}), null, 16, ["label"]),
|
|
99
|
+
t(e(X), r(e(a)(e(D)), {
|
|
100
|
+
label: e(i).t("wise_invoicing.settings.fields.phone_number.label")
|
|
101
|
+
}), null, 16, ["label"]),
|
|
102
|
+
t(e(u), r(e(a)(e($)), {
|
|
103
|
+
label: e(i).t("wise_invoicing.settings.fields.website.label")
|
|
104
|
+
}), null, 16, ["label"]),
|
|
105
|
+
t(e(Z), r({ "is-required": !0 }, e(a)(e(C)), {
|
|
106
|
+
label: e(i).t("wise_invoicing.settings.fields.address.label")
|
|
107
|
+
}), null, 16, ["label"]),
|
|
108
|
+
t(e(u), r(e(a)(e(k)), {
|
|
109
|
+
"is-disabled": !0,
|
|
110
|
+
label: e(i).t("wise_invoicing.settings.fields.vat_number.label")
|
|
111
|
+
}), null, 16, ["label"]),
|
|
112
|
+
t(e(u), r({ "is-required": !0 }, e(a)(e(A)), {
|
|
113
|
+
label: e(i).t("wise_invoicing.settings.fields.bank_account_number.label")
|
|
114
|
+
}), null, 16, ["label"]),
|
|
115
|
+
t(e(u), r(e(a)(e(V)), {
|
|
116
|
+
label: e(i).t("wise_invoicing.settings.fields.bic.label")
|
|
117
|
+
}), null, 16, ["label"])
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
})
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
})
|
|
124
|
+
]),
|
|
125
|
+
_: 1
|
|
126
|
+
}, 8, ["title", "description"]),
|
|
127
|
+
f("div", ge, [
|
|
128
|
+
t(e(x))
|
|
129
|
+
]),
|
|
130
|
+
t(e(y), {
|
|
131
|
+
title: e(i).t("wise_invoicing.settings.sections.payment.title"),
|
|
132
|
+
description: e(i).t("wise_invoicing.settings.sections.payment.description")
|
|
133
|
+
}, {
|
|
134
|
+
default: s(() => [
|
|
135
|
+
t(e(F), null, {
|
|
136
|
+
default: s(() => [
|
|
137
|
+
t(e(S), {
|
|
138
|
+
lg: 2,
|
|
139
|
+
sm: 1
|
|
140
|
+
}, {
|
|
141
|
+
default: s(() => [
|
|
142
|
+
t(e(ee), r(e(a)(e(E)), {
|
|
143
|
+
"display-fn": G,
|
|
144
|
+
items: P.value,
|
|
145
|
+
label: e(i).t("wise_invoicing.settings.fields.currency.label")
|
|
146
|
+
}), null, 16, ["items", "label"]),
|
|
147
|
+
t(e(te), r(e(a)(e(B)), {
|
|
148
|
+
label: e(i).t("wise_invoicing.settings.fields.default_payment_term.label"),
|
|
149
|
+
placeholder: e(i).t("wise_invoicing.settings.fields.default_payment_term.placeholder")
|
|
150
|
+
}), {
|
|
151
|
+
right: s(() => [
|
|
152
|
+
f("span", be, O(e(i).t("wise_invoicing.settings.fields.default_payment_term.suffix")), 1)
|
|
153
|
+
]),
|
|
154
|
+
_: 1
|
|
155
|
+
}, 16, ["label", "placeholder"])
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
})
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
})
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
}, 8, ["title", "description"]),
|
|
165
|
+
f("div", _e, [
|
|
166
|
+
t(e(x))
|
|
167
|
+
]),
|
|
168
|
+
t(e(y), {
|
|
169
|
+
title: e(i).t("wise_invoicing.settings.sections.numbering.title"),
|
|
170
|
+
description: e(i).t("wise_invoicing.settings.sections.numbering.description")
|
|
171
|
+
}, {
|
|
172
|
+
default: s(() => [
|
|
173
|
+
t(e(F), null, {
|
|
174
|
+
default: s(() => [
|
|
175
|
+
t(e(S), {
|
|
176
|
+
lg: 2,
|
|
177
|
+
sm: 1
|
|
178
|
+
}, {
|
|
179
|
+
default: s(() => [
|
|
180
|
+
t(e(u), r(e(a)(e(I)), {
|
|
181
|
+
label: e(i).t("wise_invoicing.settings.fields.invoice_number_format.label"),
|
|
182
|
+
placeholder: e(i).t("wise_invoicing.settings.fields.sequence_prefix.placeholder"),
|
|
183
|
+
hint: j.value
|
|
184
|
+
}), null, 16, ["label", "placeholder", "hint"])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
})
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
})
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}, 8, ["title", "description"])
|
|
194
|
+
]),
|
|
195
|
+
_: 1
|
|
196
|
+
})
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
}, 8, ["form"]));
|
|
200
|
+
}
|
|
201
|
+
}), fe = /* @__PURE__ */ h({
|
|
202
|
+
__name: "IssuerSettingsView",
|
|
203
|
+
props: {
|
|
204
|
+
issuerSettings: {}
|
|
205
|
+
},
|
|
206
|
+
setup(c) {
|
|
207
|
+
const d = c, i = U();
|
|
208
|
+
return le().set(() => i.t("wise_invoicing.settings.title")), (b, _) => (v(), w(e(ie), {
|
|
209
|
+
title: e(i).t("wise_invoicing.settings.title")
|
|
210
|
+
}, {
|
|
211
|
+
"page-actions-right": s(() => [..._[0] || (_[0] = [
|
|
212
|
+
f("div", { id: "page-actions" }, null, -1)
|
|
213
|
+
])]),
|
|
214
|
+
default: s(() => [
|
|
215
|
+
t(e(se), null, {
|
|
216
|
+
default: s(() => [
|
|
217
|
+
t(pe, {
|
|
218
|
+
"issuer-settings": d.issuerSettings
|
|
219
|
+
}, null, 8, ["issuer-settings"])
|
|
220
|
+
]),
|
|
221
|
+
_: 1
|
|
222
|
+
})
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
}, 8, ["title"]));
|
|
226
|
+
}
|
|
227
|
+
}), Pe = /* @__PURE__ */ h({
|
|
228
|
+
__name: "IssuerSettingsViewDataProvider",
|
|
229
|
+
setup(c) {
|
|
230
|
+
const d = H();
|
|
231
|
+
return (i, g) => (v(), w(ae, {
|
|
232
|
+
queries: {
|
|
233
|
+
issuerSettings: e(d)
|
|
234
|
+
}
|
|
235
|
+
}, {
|
|
236
|
+
default: s(({ data: b }) => [
|
|
237
|
+
t(fe, {
|
|
238
|
+
"issuer-settings": b.issuerSettings
|
|
239
|
+
}, null, 8, ["issuer-settings"])
|
|
240
|
+
]),
|
|
241
|
+
loading: s(() => [
|
|
242
|
+
t(e(ce).PageLoadingState, { breadcrumbs: [] })
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}, 8, ["queries"]));
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
export {
|
|
249
|
+
Pe as default
|
|
250
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as n } from "./_plugin-vue_export-helper-3S5xkc9H.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "100%",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function i(l, e) {
|
|
11
|
+
return o(), t("svg", c, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "M7 14.5H17M6 10H6.01M10 10H10.01M14 10H14.01M18 10H18.01M5.2 18H18.8C19.9201 18 20.4802 18 20.908 17.782C21.2843 17.5903 21.5903 17.2843 21.782 16.908C22 16.4802 22 15.9201 22 14.8V9.2C22 8.0799 22 7.51984 21.782 7.09202C21.5903 6.71569 21.2843 6.40973 20.908 6.21799C20.4802 6 19.9201 6 18.8 6H5.2C4.07989 6 3.51984 6 3.09202 6.21799C2.71569 6.40973 2.40973 6.71569 2.21799 7.09202C2 7.51984 2 8.07989 2 9.2V14.8C2 15.9201 2 16.4802 2.21799 16.908C2.40973 17.2843 2.71569 17.5903 3.09202 17.782C3.51984 18 4.0799 18 5.2 18Z",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "2",
|
|
16
|
+
"stroke-linecap": "round",
|
|
17
|
+
"stroke-linejoin": "round"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const _ = /* @__PURE__ */ n(s, [["render", i]]);
|
|
22
|
+
export {
|
|
23
|
+
_ as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./_plugin-vue_export-helper-3S5xkc9H.js";
|
|
3
|
+
const s = {}, i = {
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "100%",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function l(c, e) {
|
|
11
|
+
return o(), t("svg", i, [...e[0] || (e[0] = [
|
|
12
|
+
n("path", {
|
|
13
|
+
d: "M21 9L21 3M21 3H15M21 3L13 11M10 5H7.8C6.11984 5 5.27976 5 4.63803 5.32698C4.07354 5.6146 3.6146 6.07354 3.32698 6.63803C3 7.27976 3 8.11984 3 9.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H14.2C15.8802 21 16.7202 21 17.362 20.673C17.9265 20.3854 18.3854 19.9265 18.673 19.362C19 18.7202 19 17.8802 19 16.2V14",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "2",
|
|
16
|
+
"stroke-linecap": "round",
|
|
17
|
+
"stroke-linejoin": "round"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const _ = /* @__PURE__ */ r(s, [["render", l]]);
|
|
22
|
+
export {
|
|
23
|
+
_ as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./_plugin-vue_export-helper-3S5xkc9H.js";
|
|
3
|
+
const C = {}, s = {
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "100%",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function i(c, e) {
|
|
11
|
+
return o(), t("svg", s, [...e[0] || (e[0] = [
|
|
12
|
+
n("path", {
|
|
13
|
+
d: "M9.99999 13C10.4294 13.5741 10.9773 14.0491 11.6065 14.3929C12.2357 14.7367 12.9315 14.9411 13.6466 14.9923C14.3618 15.0435 15.0796 14.9403 15.7513 14.6897C16.4231 14.4392 17.0331 14.047 17.54 13.54L20.54 10.54C21.4508 9.59695 21.9547 8.33394 21.9434 7.02296C21.932 5.71198 21.4061 4.45791 20.4791 3.53087C19.552 2.60383 18.298 2.07799 16.987 2.0666C15.676 2.0552 14.413 2.55918 13.47 3.46997L11.75 5.17997M14 11C13.5705 10.4258 13.0226 9.95078 12.3934 9.60703C11.7642 9.26327 11.0685 9.05885 10.3533 9.00763C9.63819 8.95641 8.9204 9.0596 8.24864 9.31018C7.57688 9.56077 6.96687 9.9529 6.45999 10.46L3.45999 13.46C2.5492 14.403 2.04522 15.666 2.05662 16.977C2.06801 18.288 2.59385 19.542 3.52089 20.4691C4.44793 21.3961 5.702 21.9219 7.01298 21.9333C8.32396 21.9447 9.58697 21.4408 10.53 20.53L12.24 18.82",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "2",
|
|
16
|
+
"stroke-linecap": "round",
|
|
17
|
+
"stroke-linejoin": "round"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const _ = /* @__PURE__ */ r(C, [["render", i]]);
|
|
22
|
+
export {
|
|
23
|
+
_ as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { openBlock as r, createElementBlock as t, createElementVNode as e } from "vue";
|
|
2
|
+
import { _ as n } from "./_plugin-vue_export-helper-3S5xkc9H.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "100%",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function i(c, o) {
|
|
11
|
+
return r(), t("svg", l, [...o[0] || (o[0] = [
|
|
12
|
+
e("path", {
|
|
13
|
+
d: "M12 13C13.6569 13 15 11.6569 15 10C15 8.34315 13.6569 7 12 7C10.3431 7 9 8.34315 9 10C9 11.6569 10.3431 13 12 13Z",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "2",
|
|
16
|
+
"stroke-linecap": "round",
|
|
17
|
+
"stroke-linejoin": "round"
|
|
18
|
+
}, null, -1),
|
|
19
|
+
e("path", {
|
|
20
|
+
d: "M12 22C16 18 20 14.4183 20 10C20 5.58172 16.4183 2 12 2C7.58172 2 4 5.58172 4 10C4 14.4183 8 18 12 22Z",
|
|
21
|
+
stroke: "currentColor",
|
|
22
|
+
"stroke-width": "2",
|
|
23
|
+
"stroke-linecap": "round",
|
|
24
|
+
"stroke-linejoin": "round"
|
|
25
|
+
}, null, -1)
|
|
26
|
+
])]);
|
|
27
|
+
}
|
|
28
|
+
const u = /* @__PURE__ */ n(s, [["render", i]]);
|
|
29
|
+
export {
|
|
30
|
+
u as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { openBlock as r, createElementBlock as t, createStaticVNode as e } from "vue";
|
|
2
|
+
import { _ as n } from "./_plugin-vue_export-helper-3S5xkc9H.js";
|
|
3
|
+
const i = {}, s = {
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "100%",
|
|
6
|
+
viewBox: "0 0 16 16",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function l(p, o) {
|
|
11
|
+
return r(), t("svg", s, [...o[0] || (o[0] = [
|
|
12
|
+
e('<g clip-path="url(#clip0_19238_6703)"><path d="M9.34735 11.2379H4.91357" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.7617 11.2379H12.3222C13.1127 11.2379 13.7594 10.5912 13.7594 9.80073V4.77052C13.7594 3.98005 13.1127 3.33331 12.3222 3.33331H2.10371C1.31325 3.33331 0.666504 3.98005 0.666504 4.77052V9.80073C0.666504 10.5912 1.31325 11.2379 2.10371 11.2379H2.88698" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14.0469 5.70471H14.6146C15.0098 5.70471 15.3332 6.09994 15.3332 6.58859V7.98268C15.3332 8.47133 15.0098 8.86656 14.6146 8.86656H14.0469" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.3494 9.44146L8.4273 7.28566H5.84033L6.91824 5.12985" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.90017 12.6895C4.49548 12.6895 4.97807 12.2069 4.97807 11.6116C4.97807 11.0163 4.49548 10.5337 3.90017 10.5337C3.30486 10.5337 2.82227 11.0163 2.82227 11.6116C2.82227 12.2069 3.30486 12.6895 3.90017 12.6895Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10.5183 12.6895C11.1136 12.6895 11.5962 12.2069 11.5962 11.6116C11.5962 11.0163 11.1136 10.5337 10.5183 10.5337C9.92302 10.5337 9.44043 11.0163 9.44043 11.6116C9.44043 12.2069 9.92302 12.6895 10.5183 12.6895Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g>', 1)
|
|
13
|
+
])]);
|
|
14
|
+
}
|
|
15
|
+
const d = /* @__PURE__ */ n(i, [["render", l]]);
|
|
16
|
+
export {
|
|
17
|
+
d as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as n } from "./_plugin-vue_export-helper-3S5xkc9H.js";
|
|
3
|
+
const s = {}, i = {
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "100%",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function c(l, o) {
|
|
11
|
+
return e(), t("svg", i, [...o[0] || (o[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "M15 17V21H9V17M5.2 17H18.8C19.9201 17 20.4802 17 20.908 16.782C21.2843 16.5903 21.5903 16.2843 21.782 15.908C22 15.4802 22 14.9201 22 13.8V6.2C22 5.0799 22 4.51984 21.782 4.09202C21.5903 3.71569 21.2843 3.40973 20.908 3.21799C20.4802 3 19.9201 3 18.8 3H5.2C4.07989 3 3.51984 3 3.09202 3.21799C2.71569 3.40973 2.40973 3.71569 2.21799 4.09202C2 4.51984 2 5.07989 2 6.2V13.8C2 14.9201 2 15.4802 2.21799 15.908C2.40973 16.2843 2.71569 16.5903 3.09202 16.782C3.51984 17 4.0799 17 5.2 17Z",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "2",
|
|
16
|
+
"stroke-linecap": "round",
|
|
17
|
+
"stroke-linejoin": "round"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const _ = /* @__PURE__ */ n(s, [["render", c]]);
|
|
22
|
+
export {
|
|
23
|
+
_ as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./_plugin-vue_export-helper-3S5xkc9H.js";
|
|
3
|
+
const C = {}, c = {
|
|
4
|
+
viewBox: "0 0 14 14",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function i(s, o) {
|
|
8
|
+
return e(), t("svg", c, [...o[0] || (o[0] = [
|
|
9
|
+
n("path", {
|
|
10
|
+
d: "M8.39483 10.5085C8.64498 11.4421 8.09096 12.4017 7.1574 12.6518C6.22383 12.902 5.26424 12.3479 5.01409 11.4144M6.35348 3.34871C6.53093 3.02945 6.58939 2.64357 6.48738 2.26289C6.27893 1.48492 5.47927 1.02324 4.7013 1.23169C3.92333 1.44015 3.46164 2.23981 3.6701 3.01778C3.7721 3.39846 4.01566 3.70341 4.32897 3.89117M9.47103 5.50963C9.26282 4.73255 8.70694 4.08274 7.9257 3.70315C7.14446 3.32355 6.20184 3.24527 5.30521 3.48552C4.40858 3.72577 3.63139 4.26488 3.14461 4.98424C2.65783 5.7036 2.50134 6.54428 2.70955 7.32136C3.05406 8.60706 2.98716 9.63278 2.7696 10.4122C2.52165 11.3005 2.39767 11.7447 2.43117 11.8339C2.46948 11.9359 2.4972 11.9639 2.59884 12.0033C2.68768 12.0377 3.06088 11.9377 3.80728 11.7377L10.7286 9.88318C11.475 9.68318 11.8482 9.58319 11.9079 9.50896C11.9762 9.42404 11.9862 9.38592 11.9684 9.27839C11.9528 9.18441 11.6233 8.86174 10.9644 8.2164C10.3863 7.65018 9.81554 6.79533 9.47103 5.50963Z",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
"stroke-width": "1.2",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const f = /* @__PURE__ */ r(C, [["render", i]]);
|
|
19
|
+
export {
|
|
20
|
+
f as default
|
|
21
|
+
};
|