@wisemen/wise-invoicing-web 0.0.6 → 0.0.7
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/{BillingDocumentDetailViewDataProvider-BGE-p_FL.js → BillingDocumentDetailViewDataProvider-CmHbMXp0.js} +463 -469
- package/dist/{BillingDocumentPdf-Ca81NkZq.js → BillingDocumentPdf-Dj_s1l_p.js} +2 -2
- package/dist/{CreditNoteDetailViewDataProvider-b5dY_4mH.js → CreditNoteDetailViewDataProvider-DPePmzgn.js} +68 -68
- package/dist/{CreditNotePdfViewDataProvider-C2QqCdQ7.js → CreditNotePdfViewDataProvider-Dp0zI0fB.js} +2 -2
- package/dist/{CustomFieldValueText-ne5yy02J.js → CustomFieldValueText-BGbQwhON.js} +1 -1
- package/dist/{DunningCaseDetailViewDataProvider-jsh-LlGx.js → DunningCaseDetailViewDataProvider-CInwZwMc.js} +4 -4
- package/dist/{DunningCaseOverviewView-WbXalMt6.js → DunningCaseOverviewView-DvOmEcJY.js} +4 -4
- package/dist/DunningCaseReminderPdfViewDataProvider-I0I_WQQB.js +490 -0
- package/dist/{DunningCaseSendDialog-D7jAZ8yT.js → DunningCaseSendDialog-DISQ1Fs3.js} +2 -2
- package/dist/{InvoiceDetailViewDataProvider-BAVdcJay.js → InvoiceDetailViewDataProvider-YOlvUavt.js} +411 -411
- package/dist/{InvoiceOverviewViewDataProvider-BT9cuQXw.js → InvoiceOverviewViewDataProvider-i8tXATJE.js} +47 -47
- package/dist/{InvoicePdfView-BpIaYdZX.js → InvoicePdfView-Desmlys1.js} +1 -1
- package/dist/{InvoicePdfViewDataProvider-DGCnmNE-.js → InvoicePdfViewDataProvider--CHm0HAM.js} +2 -2
- package/dist/{InvoicePublicPdfViewDataProvider-KV0_hKUI.js → InvoicePublicPdfViewDataProvider-DoNBZsmi.js} +3 -3
- package/dist/{IssuerSettingsViewDataProvider-Bs4rEES2.js → IssuerSettingsViewDataProvider-COqHGUE6.js} +1 -1
- package/dist/{ReminderSettingsViewDataProvider-D4bRLLXx.js → ReminderSettingsViewDataProvider-Dys4bUU7.js} +2 -2
- package/dist/{address.transformer-B8C0pwT1.js → address.transformer-jGddczLV.js} +2 -73
- package/dist/{billingDocumentDetail.transformer-DIKAl4_L.js → billingDocumentDetail.transformer-BBn9R_cx.js} +32 -42
- package/dist/{creditNoteDetail.query-DHP69UiB.js → creditNoteDetail.query-BcPsB96h.js} +11 -11
- package/dist/customFieldValue.util-BwsX8exl.js +16 -0
- package/dist/{dist-PErDVE6-.js → dist-BBjpqvUl.js} +2 -2
- package/dist/dist-BFx8U4Su.js +72 -0
- package/dist/{dist-YTXTCfo1.js → dist-boJIIxnT.js} +1 -1
- package/dist/{i18n.lib-BGcQ_OBF.js → i18n.lib-C6eb-F-e.js} +28 -4
- package/dist/index.d.ts +30 -1
- package/dist/index.js +186 -185
- package/dist/instant.transformer-KmBsH3E9.js +18 -0
- package/dist/{invoice.service-DG5eacZC.js → invoice.service-Bb8VqQvc.js} +38 -32
- package/dist/{invoiceDeliveryStatus.util-CX-IdqAu.js → invoiceDeliveryStatus.util-BPkGCQM6.js} +2 -2
- package/dist/{invoiceDetail.query-C_IMGjOX.js → invoiceDetail.query-Cek8nyaw.js} +1 -1
- package/dist/{invoicingConfig.composable-Kad_HHx_.js → invoicingConfig.composable-D8HuO3Sl.js} +1 -1
- package/dist/{issuerSettings.query-6wnSPphB.js → issuerSettings.query-Bvz-Oj5D.js} +13 -12
- package/dist/libs/i18n.lib.d.ts +24 -0
- package/dist/locales/en-US.json.d.ts +14 -2
- package/dist/locales/nl-BE.json.d.ts +14 -2
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.model.d.ts +49 -0
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.transformer.d.ts +8 -0
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.transformer.spec.d.ts +1 -0
- package/dist/modules/dunning-case/test/builders/dunningCaseReminderPdfDto.builder.d.ts +27 -0
- package/dist/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.query.d.ts +1 -1
- package/dist/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.service.d.ts +2 -2
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfFooter.vue.d.ts +2 -2
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfHeader.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +10 -16
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTotals.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/pdf/utils/dunningCaseReminderPdf.util.d.ts +15 -6
- package/dist/modules/dunning-case/use-cases/pdf/views/DunningCaseReminderPdfView.vue.d.ts +2 -2
- package/dist/modules/invoice/api/mutations/invoiceUpdate.mutation.d.ts +1 -1
- package/dist/modules/invoice/api/queries/invoicePublicDetail.query.d.ts +1 -1
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +4 -0
- package/dist/percentage.util-Bl78kSSk.js +35 -0
- package/dist/{plainDate.transformer-Dfe5r84P.js → plainDate.transformer-BxvJpJOv.js} +1 -32
- package/dist/{reminderConfig.query-hmDNKreg.js → reminderConfig.query-DsJNqqi7.js} +8 -7
- package/dist/style.css +1 -1
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +432 -432
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +36 -36
- package/package.json +1 -1
- package/dist/DunningCaseReminderPdfViewDataProvider-B3Y2aYFf.js +0 -239
- package/dist/download.util-PjaUQR6r.js +0 -9
package/dist/index.js
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { n as e, r as t } from "./i18n.lib-
|
|
1
|
+
import { n as e, r as t } from "./i18n.lib-C6eb-F-e.js";
|
|
2
2
|
import "./api.util-BCSgCfpS.js";
|
|
3
|
-
import { g as n, h as r,
|
|
4
|
-
import { n as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { r as ee, t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import { n as _, t as v } from "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
3
|
+
import { g as n, h as r, s as i, t as a, w as o, x as s } from "./documentTitle.composable-4ApFl9TZ.js";
|
|
4
|
+
import { n as c, r as l, t as u } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
5
|
+
import { t as d } from "./search.composable-BCtYqudV.js";
|
|
6
|
+
import { t as f } from "./src-BFgnUugN.js";
|
|
7
|
+
import { r as ee, t as p } from "./InvoiceOverviewViewDataProvider-i8tXATJE.js";
|
|
8
|
+
import { n as m, t as h } from "./customFieldValue.util-BwsX8exl.js";
|
|
9
|
+
import { n as g } from "./plainDate.transformer-BxvJpJOv.js";
|
|
10
|
+
import { n as _, t as v } from "./percentage.util-Bl78kSSk.js";
|
|
11
|
+
import { n as y, t as b } from "./invoicingConfig.composable-D8HuO3Sl.js";
|
|
12
|
+
import { n as x } from "./address.transformer-jGddczLV.js";
|
|
13
|
+
import { t as S } from "./addressForm.model-C853zEtX.js";
|
|
14
|
+
import { r as C, t as te } from "./DunningCaseOverviewView-DvOmEcJY.js";
|
|
15
|
+
import { r as ne, t as re } from "./InvoicePublicPdfViewDataProvider-DoNBZsmi.js";
|
|
16
|
+
import { C as w, L as ie, T } from "./dist-D9lp7NDv.js";
|
|
17
|
+
import { o as ae } from "./DunningCaseSendDialog-DISQ1Fs3.js";
|
|
18
|
+
import { n as oe } from "./dist-boJIIxnT.js";
|
|
19
|
+
import { a as se, i as ce, l as E, n as le, o as ue, r as de, s as fe, t as D } from "./dist-BBjpqvUl.js";
|
|
20
|
+
import { i as O } from "./CustomFieldValueText-BGbQwhON.js";
|
|
21
|
+
import { t as pe } from "./DunningCaseDetailViewDataProvider-CInwZwMc.js";
|
|
22
|
+
import { t as me } from "./DunningCaseReminderPdfViewDataProvider-I0I_WQQB.js";
|
|
23
|
+
import { t as he } from "./ReminderSettingsViewDataProvider-Dys4bUU7.js";
|
|
24
|
+
import { createAction as ge } from "@wisemen/vue-core-actions";
|
|
25
|
+
import { RouterLink as k, useRouter as _e } from "vue-router";
|
|
26
|
+
import { z as A } from "zod";
|
|
27
|
+
import { useI18n as j } from "vue-i18n";
|
|
28
|
+
import { Fragment as M, computed as N, createBlock as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createVNode as R, defineComponent as z, openBlock as B, renderList as V, toDisplayString as H, unref as U, withCtx as W } from "vue";
|
|
29
|
+
import { useQueryClient as ve } from "@tanstack/vue-query";
|
|
30
|
+
import { QueryClient as ye, SortUtil as be, useQuery as xe } from "@wisemen/vue-core-api-utils";
|
|
31
|
+
import { UIBadge as G, UIButton as Se, UIRowLayout as K, UITable as Ce, UITableCell as q, UITableCellText as we, UIText as Te, UITextField as Ee, createComponent as J, defineTableColumns as De, useSort as Oe } from "@wisemen/vue-core-design-system";
|
|
31
32
|
//#region src/locales/ui-en-US.json
|
|
32
|
-
var
|
|
33
|
+
var ke = {
|
|
33
34
|
"component.api_error.default_message": "An unexpected error occurred.",
|
|
34
35
|
"component.api_error.default_title": "Error",
|
|
35
36
|
"component.autocomplete.more_results_available": "More results may be available. Narrow your search criteria.",
|
|
@@ -91,7 +92,7 @@ var De = {
|
|
|
91
92
|
"shared.clear": "Clear",
|
|
92
93
|
"shared.close": "Close",
|
|
93
94
|
"shared.options": "Options"
|
|
94
|
-
},
|
|
95
|
+
}, Ae = {
|
|
95
96
|
"component.api_error.default_message": "Er is een onverwachte fout opgetreden.",
|
|
96
97
|
"component.api_error.default_title": "Fout",
|
|
97
98
|
"component.autocomplete.more_results_available": "Er zijn mogelijk meer resultaten beschikbaar. Verfijn uw zoekcriteria.",
|
|
@@ -156,9 +157,9 @@ var De = {
|
|
|
156
157
|
};
|
|
157
158
|
//#endregion
|
|
158
159
|
//#region src/modules/invoice/actions/invoiceNavigateToDetail.action.ts
|
|
159
|
-
function
|
|
160
|
-
let e =
|
|
161
|
-
return
|
|
160
|
+
function je() {
|
|
161
|
+
let e = _e();
|
|
162
|
+
return ge({
|
|
162
163
|
id: "invoice-navigate-to-detail",
|
|
163
164
|
isApplicable: (e) => e.hasTargetedModelsOfType("Invoice"),
|
|
164
165
|
name: (e) => {
|
|
@@ -179,13 +180,13 @@ function ke() {
|
|
|
179
180
|
}
|
|
180
181
|
//#endregion
|
|
181
182
|
//#region src/composables/created.composable.ts
|
|
182
|
-
function
|
|
183
|
+
function Me(e) {
|
|
183
184
|
e();
|
|
184
185
|
}
|
|
185
186
|
//#endregion
|
|
186
187
|
//#region src/composables/invoicingQueryInvalidation.composable.ts
|
|
187
|
-
function
|
|
188
|
-
let e = new
|
|
188
|
+
function Ne() {
|
|
189
|
+
let e = new ye(ve());
|
|
189
190
|
async function t() {
|
|
190
191
|
await e.invalidate("invoiceIndex");
|
|
191
192
|
}
|
|
@@ -193,101 +194,101 @@ function je() {
|
|
|
193
194
|
}
|
|
194
195
|
//#endregion
|
|
195
196
|
//#region src/utils/number.util.ts
|
|
196
|
-
var
|
|
197
|
+
var Pe = class {
|
|
197
198
|
static format(e, t = 0) {
|
|
198
199
|
return new Intl.NumberFormat(void 0, { maximumFractionDigits: t }).format(e);
|
|
199
200
|
}
|
|
200
201
|
static randomBetween(e, t) {
|
|
201
202
|
return Math.floor(Math.random() * (t - e + 1)) + e;
|
|
202
203
|
}
|
|
203
|
-
},
|
|
204
|
+
}, Fe = A.uuid().brand("CreditNoteUuid"), Ie = A.uuid().brand("InvoiceUuid");
|
|
204
205
|
//#endregion
|
|
205
206
|
//#region ../router/src/createRoutes.ts
|
|
206
|
-
function
|
|
207
|
+
function Y(e) {
|
|
207
208
|
return e;
|
|
208
209
|
}
|
|
209
210
|
//#endregion
|
|
210
211
|
//#region src/modules/dunning-case/routes/dunningCase.routes.ts
|
|
211
|
-
var
|
|
212
|
+
var Le = Y([{
|
|
212
213
|
name: "dunning-case-module",
|
|
213
214
|
path: "/dunning-cases",
|
|
214
215
|
redirect: { name: "dunning-case-overview" },
|
|
215
216
|
children: [{
|
|
216
217
|
name: "dunning-case-overview",
|
|
217
218
|
path: "",
|
|
218
|
-
component: () => import("./DunningCaseOverviewView-
|
|
219
|
+
component: () => import("./DunningCaseOverviewView-DvOmEcJY.js").then((e) => e.n),
|
|
219
220
|
meta: { permission: "dunning-case.read" }
|
|
220
221
|
}, {
|
|
221
222
|
name: "dunning-case-detail",
|
|
222
223
|
props: !0,
|
|
223
224
|
path: ":dunningCaseUuid",
|
|
224
|
-
component: () => import("./DunningCaseDetailViewDataProvider-
|
|
225
|
+
component: () => import("./DunningCaseDetailViewDataProvider-CInwZwMc.js").then((e) => e.n),
|
|
225
226
|
meta: { permission: "dunning-case.read" }
|
|
226
227
|
}]
|
|
227
|
-
}]),
|
|
228
|
+
}]), Re = Y([{
|
|
228
229
|
name: "dunning-case-settings-module",
|
|
229
230
|
path: "payment-reminders",
|
|
230
|
-
component: () => import("./ReminderSettingsViewDataProvider-
|
|
231
|
+
component: () => import("./ReminderSettingsViewDataProvider-Dys4bUU7.js").then((e) => e.n),
|
|
231
232
|
meta: { permission: "reminder-config.read" }
|
|
232
|
-
}]),
|
|
233
|
+
}]), ze = Y([{
|
|
233
234
|
name: "dunning-case-reminder-pdf",
|
|
234
235
|
path: "/dunning-case-reminder-pdf",
|
|
235
|
-
component: () => import("./DunningCaseReminderPdfViewDataProvider-
|
|
236
|
-
}]),
|
|
236
|
+
component: () => import("./DunningCaseReminderPdfViewDataProvider-I0I_WQQB.js").then((e) => e.n)
|
|
237
|
+
}]), Be = [{
|
|
237
238
|
name: "invoicing-settings-module",
|
|
238
239
|
path: "invoicing",
|
|
239
240
|
redirect: { name: "invoicing-settings-overview" },
|
|
240
241
|
children: [{
|
|
241
242
|
name: "invoicing-settings-overview",
|
|
242
243
|
path: "",
|
|
243
|
-
component: () => import("./IssuerSettingsViewDataProvider-
|
|
244
|
+
component: () => import("./IssuerSettingsViewDataProvider-COqHGUE6.js"),
|
|
244
245
|
meta: { permission: "issuer.read" }
|
|
245
246
|
}]
|
|
246
|
-
}, ...
|
|
247
|
+
}, ...Re], X = {
|
|
247
248
|
invoice_has_no_lines: "wise_invoicing.api_error.invoice_has_no_lines",
|
|
248
249
|
invoice_not_editable: "wise_invoicing.api_error.invoice_not_editable"
|
|
249
250
|
};
|
|
250
|
-
function
|
|
251
|
-
let e =
|
|
252
|
-
return { messages:
|
|
251
|
+
function Ve() {
|
|
252
|
+
let e = j();
|
|
253
|
+
return { messages: N(() => Object.fromEntries(Object.entries(X).map(([t, n]) => [t, e.t(n)]))) };
|
|
253
254
|
}
|
|
254
255
|
//#endregion
|
|
255
256
|
//#region src/modules/dunning-case/api/queries/dunningCaseCustomerByExternalId.query.ts
|
|
256
|
-
function
|
|
257
|
-
return
|
|
258
|
-
isEnabled:
|
|
257
|
+
function He(e) {
|
|
258
|
+
return xe("dunningCaseCustomerByExternalId", {
|
|
259
|
+
isEnabled: N(() => e.value !== null),
|
|
259
260
|
params: { externalId: e },
|
|
260
|
-
queryFn: () =>
|
|
261
|
+
queryFn: () => ae.getUuidByExternalId(e.value ?? "")
|
|
261
262
|
});
|
|
262
263
|
}
|
|
263
264
|
//#endregion
|
|
264
265
|
//#region src/modules/dunning-case/use-cases/customer/components/CustomerDunningCasesSection.vue?vue&type=script&setup=true&lang.ts
|
|
265
|
-
var
|
|
266
|
+
var Ue = { key: 0 }, We = { class: "mb-md text-sm font-semibold text-primary" }, Ge = { class: "flex size-(--spacing-4xl) shrink-0 items-center justify-center rounded-full bg-brand-100 text-brand-600" }, Ke = { class: "min-w-0 flex-1" }, qe = { class: "flex min-w-0 flex-wrap items-center gap-sm" }, Je = { class: "text-sm font-semibold wrap-break-word text-primary" }, Ye = { class: "mt-xs block text-sm text-secondary" }, Xe = {
|
|
266
267
|
key: 0,
|
|
267
268
|
class: "rounded-lg border border-secondary bg-primary"
|
|
268
|
-
},
|
|
269
|
+
}, Ze = { class: "cursor-pointer px-lg py-md text-sm font-medium text-primary" }, Qe = { class: "border-t border-secondary" }, $e = { class: "flex size-(--spacing-4xl) shrink-0 items-center justify-center rounded-full bg-secondary text-secondary" }, et = { class: "min-w-0 flex-1" }, tt = { class: "block truncate text-primary" }, nt = { class: "mt-xxs block text-xs text-secondary tabular-nums" }, rt = /* @__PURE__ */ z({
|
|
269
270
|
__name: "CustomerDunningCasesSection",
|
|
270
271
|
props: {
|
|
271
272
|
customerUuid: {},
|
|
272
273
|
externalId: {}
|
|
273
274
|
},
|
|
274
275
|
setup(e) {
|
|
275
|
-
let t = e, n =
|
|
276
|
-
isEnabled:
|
|
276
|
+
let t = e, n = j(), r = l(), i = He(N(() => t.customerUuid === void 0 ? t.externalId ?? null : null)), a = N(() => t.customerUuid === void 0 ? i.result.value.isOk() ? i.result.value.getValue() ?? void 0 : void 0 : t.customerUuid), o = C({
|
|
277
|
+
isEnabled: N(() => a.value !== void 0),
|
|
277
278
|
params: {
|
|
278
279
|
customerUuid: a,
|
|
279
|
-
isOpen:
|
|
280
|
+
isOpen: N(() => !0)
|
|
280
281
|
}
|
|
281
|
-
}), s =
|
|
282
|
-
isEnabled:
|
|
282
|
+
}), s = C({
|
|
283
|
+
isEnabled: N(() => a.value !== void 0),
|
|
283
284
|
params: {
|
|
284
285
|
customerUuid: a,
|
|
285
|
-
isOpen:
|
|
286
|
+
isOpen: N(() => !1)
|
|
286
287
|
}
|
|
287
|
-
}),
|
|
288
|
-
return (e, t) =>
|
|
289
|
-
|
|
290
|
-
(
|
|
288
|
+
}), c = N(() => o.result.value.isOk() ? o.result.value.getValue().data : []), u = N(() => s.result.value.isOk() ? s.result.value.getValue().data : []);
|
|
289
|
+
return (e, t) => c.value.length > 0 || u.value.length > 0 ? (B(), I("section", Ue, [
|
|
290
|
+
L("h2", We, H(U(n).t("module.dunning_case.customer.title")), 1),
|
|
291
|
+
(B(!0), I(M, null, V(c.value, (e) => (B(), P(U(k), {
|
|
291
292
|
key: e.uuid,
|
|
292
293
|
to: {
|
|
293
294
|
name: "dunning-case-detail",
|
|
@@ -295,19 +296,19 @@ var Be = { key: 0 }, Ve = { class: "mb-md text-sm font-semibold text-primary" },
|
|
|
295
296
|
},
|
|
296
297
|
class: "mb-md flex w-fit max-w-full items-center gap-lg rounded-lg border border-secondary bg-primary p-lg shadow-sm hover:bg-secondary sm:max-w-2xl"
|
|
297
298
|
}, {
|
|
298
|
-
default:
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
label: e.level === 0 ?
|
|
299
|
+
default: W(() => [
|
|
300
|
+
L("span", Ge, [R(U(w), { class: "size-(--spacing-xl)" })]),
|
|
301
|
+
L("span", Ke, [L("span", qe, [L("span", Je, H(U(n).t("module.dunning_case.customer.open_case")), 1), R(U(G), {
|
|
302
|
+
label: e.level === 0 ? U(n).t("module.dunning_case.level.none") : U(n).t("module.dunning_case.level.reminder", { level: e.level }),
|
|
302
303
|
color: "brand",
|
|
303
304
|
size: "sm",
|
|
304
305
|
variant: "translucent"
|
|
305
|
-
}, null, 8, ["label"])]),
|
|
306
|
-
|
|
306
|
+
}, null, 8, ["label"])]), L("span", Ye, H(U(n).t("module.dunning_case.customer.outstanding", { amount: U(r).formatMonetary(e.outstandingBalance) })), 1)]),
|
|
307
|
+
R(U(T), { class: "size-(--spacing-xl) shrink-0 text-tertiary" })
|
|
307
308
|
]),
|
|
308
309
|
_: 2
|
|
309
310
|
}, 1032, ["to"]))), 128)),
|
|
310
|
-
u.value.length > 0 ? (
|
|
311
|
+
u.value.length > 0 ? (B(), I("details", Xe, [L("summary", Ze, H(U(n).t("module.dunning_case.customer.closed_cases", { count: u.value.length })), 1), L("div", Qe, [(B(!0), I(M, null, V(u.value, (e) => (B(), P(U(k), {
|
|
311
312
|
key: e.uuid,
|
|
312
313
|
to: {
|
|
313
314
|
name: "dunning-case-detail",
|
|
@@ -315,16 +316,16 @@ var Be = { key: 0 }, Ve = { class: "mb-md text-sm font-semibold text-primary" },
|
|
|
315
316
|
},
|
|
316
317
|
class: "flex items-center justify-between gap-lg border-b border-secondary px-lg py-md text-sm last:border-b-0 hover:bg-secondary"
|
|
317
318
|
}, {
|
|
318
|
-
default:
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
default: W(() => [
|
|
320
|
+
L("span", $e, [R(U(w), { class: "size-(--spacing-xl)" })]),
|
|
321
|
+
L("span", et, [L("span", tt, H(U(n).t("module.dunning_case.customer.closed_case")), 1), L("span", nt, H(U(r).formatMonetary(e.outstandingBalance)), 1)]),
|
|
322
|
+
R(U(T), { class: "size-(--spacing-xl) shrink-0 text-tertiary" })
|
|
322
323
|
]),
|
|
323
324
|
_: 2
|
|
324
|
-
}, 1032, ["to"]))), 128))])])) :
|
|
325
|
-
])) :
|
|
325
|
+
}, 1032, ["to"]))), 128))])])) : F("", !0)
|
|
326
|
+
])) : F("", !0);
|
|
326
327
|
}
|
|
327
|
-
}), Z = /* @__PURE__ */
|
|
328
|
+
}), Z = /* @__PURE__ */ z({
|
|
328
329
|
__name: "CustomerInvoiceTableBadgeCell",
|
|
329
330
|
props: {
|
|
330
331
|
color: {},
|
|
@@ -332,8 +333,8 @@ var Be = { key: 0 }, Ve = { class: "mb-md text-sm font-semibold text-primary" },
|
|
|
332
333
|
},
|
|
333
334
|
setup(e) {
|
|
334
335
|
let t = e;
|
|
335
|
-
return (e, n) => (
|
|
336
|
-
default:
|
|
336
|
+
return (e, n) => (B(), P(U(q), null, {
|
|
337
|
+
default: W(() => [R(U(G), {
|
|
337
338
|
label: t.label,
|
|
338
339
|
color: t.color,
|
|
339
340
|
size: "sm"
|
|
@@ -341,26 +342,26 @@ var Be = { key: 0 }, Ve = { class: "mb-md text-sm font-semibold text-primary" },
|
|
|
341
342
|
_: 1
|
|
342
343
|
}));
|
|
343
344
|
}
|
|
344
|
-
}),
|
|
345
|
+
}), it = /* @__PURE__ */ z({
|
|
345
346
|
__name: "CustomerInvoiceTableInvoiceNumberCell",
|
|
346
347
|
props: { sequence: {} },
|
|
347
348
|
setup(e) {
|
|
348
349
|
let t = e;
|
|
349
|
-
return (e, n) => (
|
|
350
|
-
default:
|
|
350
|
+
return (e, n) => (B(), P(U(q), null, {
|
|
351
|
+
default: W(() => [R(U(Te), {
|
|
351
352
|
text: t.sequence ?? "-",
|
|
352
353
|
class: "text-xs font-medium text-primary"
|
|
353
354
|
}, null, 8, ["text"])]),
|
|
354
355
|
_: 1
|
|
355
356
|
}));
|
|
356
357
|
}
|
|
357
|
-
}), Q = /* @__PURE__ */
|
|
358
|
+
}), Q = /* @__PURE__ */ z({
|
|
358
359
|
__name: "CustomerInvoiceTableTextCell",
|
|
359
360
|
props: { text: {} },
|
|
360
361
|
setup(e) {
|
|
361
362
|
let t = e;
|
|
362
|
-
return (e, n) => (
|
|
363
|
-
default:
|
|
363
|
+
return (e, n) => (B(), P(U(q), null, {
|
|
364
|
+
default: W(() => [R(U(we), { text: t.text ?? "-" }, null, 8, ["text"])]),
|
|
364
365
|
_: 1
|
|
365
366
|
}));
|
|
366
367
|
}
|
|
@@ -377,20 +378,20 @@ var Be = { key: 0 }, Ve = { class: "mb-md text-sm font-semibold text-primary" },
|
|
|
377
378
|
};
|
|
378
379
|
//#endregion
|
|
379
380
|
//#region src/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.ts
|
|
380
|
-
function
|
|
381
|
-
let e =
|
|
381
|
+
function at() {
|
|
382
|
+
let e = j(), t = oe(), r = l();
|
|
382
383
|
function i(e) {
|
|
383
384
|
return e === null ? null : t.formatPlainDate(e);
|
|
384
385
|
}
|
|
385
|
-
return
|
|
386
|
+
return N(() => De()([
|
|
386
387
|
{
|
|
387
388
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.invoice_number"),
|
|
388
|
-
key:
|
|
389
|
+
key: o.SEQUENCE,
|
|
389
390
|
size: {
|
|
390
391
|
max: "9.625rem",
|
|
391
392
|
min: "9.625rem"
|
|
392
393
|
},
|
|
393
|
-
component: (e) =>
|
|
394
|
+
component: (e) => J(it, { sequence: e.sequence })
|
|
394
395
|
},
|
|
395
396
|
{
|
|
396
397
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.status"),
|
|
@@ -399,19 +400,19 @@ function nt() {
|
|
|
399
400
|
max: "6.4375rem",
|
|
400
401
|
min: "6.4375rem"
|
|
401
402
|
},
|
|
402
|
-
component: (t) =>
|
|
403
|
+
component: (t) => J(Z, {
|
|
403
404
|
color: $.getStatusBadgeColor(t.status),
|
|
404
|
-
label: e.t(
|
|
405
|
+
label: e.t(O.getMetadata(t.status).translationKey)
|
|
405
406
|
})
|
|
406
407
|
},
|
|
407
408
|
{
|
|
408
409
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.invoice_date"),
|
|
409
|
-
key:
|
|
410
|
+
key: o.ISSUED_ON,
|
|
410
411
|
size: {
|
|
411
412
|
max: "8.125rem",
|
|
412
413
|
min: "8.125rem"
|
|
413
414
|
},
|
|
414
|
-
component: (e) =>
|
|
415
|
+
component: (e) => J(Q, { text: i(e.issuedOn) })
|
|
415
416
|
},
|
|
416
417
|
{
|
|
417
418
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.due_date"),
|
|
@@ -420,7 +421,7 @@ function nt() {
|
|
|
420
421
|
max: "7.125rem",
|
|
421
422
|
min: "7.125rem"
|
|
422
423
|
},
|
|
423
|
-
component: (e) =>
|
|
424
|
+
component: (e) => J(Q, { text: i(e.dueOn) })
|
|
424
425
|
},
|
|
425
426
|
{
|
|
426
427
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.type"),
|
|
@@ -429,19 +430,19 @@ function nt() {
|
|
|
429
430
|
max: "7.875rem",
|
|
430
431
|
min: "7.875rem"
|
|
431
432
|
},
|
|
432
|
-
component: (t) =>
|
|
433
|
+
component: (t) => J(Z, {
|
|
433
434
|
color: "gray",
|
|
434
435
|
label: e.t(t.type === n.CREDIT_NOTE ? "wise_invoicing.invoice.type.credit_note" : "wise_invoicing.invoice.type.standard")
|
|
435
436
|
})
|
|
436
437
|
},
|
|
437
438
|
{
|
|
438
439
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.amount_excl_vat"),
|
|
439
|
-
key:
|
|
440
|
+
key: o.NET_AMOUNT,
|
|
440
441
|
size: {
|
|
441
442
|
max: "8.25rem",
|
|
442
443
|
min: "8.25rem"
|
|
443
444
|
},
|
|
444
|
-
component: (e) =>
|
|
445
|
+
component: (e) => J(Q, { text: r.formatMonetary(e.total) })
|
|
445
446
|
},
|
|
446
447
|
{
|
|
447
448
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.vat"),
|
|
@@ -450,7 +451,7 @@ function nt() {
|
|
|
450
451
|
max: "8.25rem",
|
|
451
452
|
min: "8.25rem"
|
|
452
453
|
},
|
|
453
|
-
component: (e) =>
|
|
454
|
+
component: (e) => J(Q, { text: r.formatMonetary($.getVatAmount(e)) })
|
|
454
455
|
},
|
|
455
456
|
{
|
|
456
457
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.amount_incl_vat"),
|
|
@@ -459,7 +460,7 @@ function nt() {
|
|
|
459
460
|
max: "8.25rem",
|
|
460
461
|
min: "8.25rem"
|
|
461
462
|
},
|
|
462
|
-
component: (e) =>
|
|
463
|
+
component: (e) => J(Q, { text: r.formatMonetary(e.grossAmount) })
|
|
463
464
|
},
|
|
464
465
|
{
|
|
465
466
|
headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.amount_due"),
|
|
@@ -468,30 +469,30 @@ function nt() {
|
|
|
468
469
|
max: "1fr",
|
|
469
470
|
min: "8.3125rem"
|
|
470
471
|
},
|
|
471
|
-
component: (e) =>
|
|
472
|
+
component: (e) => J(Q, { text: e.balanceDueAmount === null ? null : r.formatMonetary(e.balanceDueAmount) })
|
|
472
473
|
}
|
|
473
474
|
]));
|
|
474
475
|
}
|
|
475
476
|
//#endregion
|
|
476
477
|
//#region src/ui/customer-invoice-list/composables/customerInvoiceTableFilters.composable.ts
|
|
477
|
-
function
|
|
478
|
-
let e =
|
|
478
|
+
function ot() {
|
|
479
|
+
let e = j(), t = ce({
|
|
479
480
|
actionGroup: { name: "customer-invoices" },
|
|
480
481
|
filters: [
|
|
481
|
-
|
|
482
|
+
se({
|
|
482
483
|
defaultValue: {
|
|
483
|
-
operator:
|
|
484
|
+
operator: de.INCLUDES,
|
|
484
485
|
value: []
|
|
485
486
|
},
|
|
486
487
|
disableOperators: !0,
|
|
487
|
-
displayFn: (t) => e.t(
|
|
488
|
+
displayFn: (t) => e.t(O.getMetadata(t).translationKey),
|
|
488
489
|
key: "statuses",
|
|
489
490
|
label: e.t("wise_invoicing.customer_invoice_list.filters.status"),
|
|
490
491
|
options: () => Object.values(r)
|
|
491
492
|
}),
|
|
492
|
-
|
|
493
|
+
E({
|
|
493
494
|
defaultValue: {
|
|
494
|
-
operator:
|
|
495
|
+
operator: D.IS_BETWEEN,
|
|
495
496
|
value: {
|
|
496
497
|
from: null,
|
|
497
498
|
until: null
|
|
@@ -501,9 +502,9 @@ function rt() {
|
|
|
501
502
|
key: "issuedOnRange",
|
|
502
503
|
label: e.t("wise_invoicing.invoice.overview.filters.issued_on")
|
|
503
504
|
}),
|
|
504
|
-
|
|
505
|
+
E({
|
|
505
506
|
defaultValue: {
|
|
506
|
-
operator:
|
|
507
|
+
operator: D.IS_BETWEEN,
|
|
507
508
|
value: {
|
|
508
509
|
from: null,
|
|
509
510
|
until: null
|
|
@@ -514,16 +515,16 @@ function rt() {
|
|
|
514
515
|
label: e.t("wise_invoicing.invoice.overview.filters.due_on")
|
|
515
516
|
})
|
|
516
517
|
]
|
|
517
|
-
}), n =
|
|
518
|
+
}), n = N(() => {
|
|
518
519
|
let e = t.values.value.statuses.value;
|
|
519
520
|
return e?.length ? e : null;
|
|
520
521
|
});
|
|
521
522
|
return {
|
|
522
|
-
issuedOnRange:
|
|
523
|
+
issuedOnRange: N(() => {
|
|
523
524
|
let e = t.values.value.issuedOnRange.value;
|
|
524
525
|
return e.from === null || e.until === null ? null : e;
|
|
525
526
|
}),
|
|
526
|
-
dueOnRange:
|
|
527
|
+
dueOnRange: N(() => {
|
|
527
528
|
let e = t.values.value.dueOnRange.value;
|
|
528
529
|
return e.from === null || e.until === null ? null : e;
|
|
529
530
|
}),
|
|
@@ -533,7 +534,7 @@ function rt() {
|
|
|
533
534
|
}
|
|
534
535
|
//#endregion
|
|
535
536
|
//#region src/ui/DisplayState.vue?vue&type=script&setup=true&lang.ts
|
|
536
|
-
var
|
|
537
|
+
var st = { class: "duration-500 starting:opacity-0 starting:blur-md" }, ct = { class: "block text-center text-md font-bold text-secondary" }, lt = { class: "mx-auto mt-md max-w-sm text-center text-sm text-tertiary" }, ut = /* @__PURE__ */ z({
|
|
537
538
|
__name: "DisplayState",
|
|
538
539
|
props: {
|
|
539
540
|
title: {},
|
|
@@ -542,15 +543,15 @@ var it = { class: "duration-500 starting:opacity-0 starting:blur-md" }, at = { c
|
|
|
542
543
|
},
|
|
543
544
|
setup(e) {
|
|
544
545
|
let t = e;
|
|
545
|
-
return (e, n) => (
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
t.action === null ?
|
|
546
|
+
return (e, n) => (B(), I("div", st, [
|
|
547
|
+
L("span", ct, H(t.title), 1),
|
|
548
|
+
L("p", lt, H(t.message), 1),
|
|
549
|
+
t.action === null ? F("", !0) : (B(), P(U(K), {
|
|
549
550
|
key: 0,
|
|
550
551
|
justify: "center",
|
|
551
552
|
class: "mt-2xl"
|
|
552
553
|
}, {
|
|
553
|
-
default:
|
|
554
|
+
default: W(() => [R(U(Se), {
|
|
554
555
|
label: t.action.label,
|
|
555
556
|
variant: "secondary",
|
|
556
557
|
onClick: t.action.onClick
|
|
@@ -559,35 +560,35 @@ var it = { class: "duration-500 starting:opacity-0 starting:blur-md" }, at = { c
|
|
|
559
560
|
}))
|
|
560
561
|
]));
|
|
561
562
|
}
|
|
562
|
-
}),
|
|
563
|
+
}), dt = {
|
|
563
564
|
key: 1,
|
|
564
565
|
class: "flex min-h-0 flex-1 flex-col"
|
|
565
|
-
},
|
|
566
|
+
}, ft = { class: "flex min-h-0 flex-1 flex-col" }, pt = /* @__PURE__ */ z({
|
|
566
567
|
__name: "CustomerInvoiceTable",
|
|
567
568
|
props: { externalId: {} },
|
|
568
569
|
setup(e) {
|
|
569
|
-
let t = e, r =
|
|
570
|
-
|
|
571
|
-
let f =
|
|
570
|
+
let t = e, r = j(), i = at(), a = d({ debounceMs: 300 }), { issuedOnRange: s, dueOnRange: c, filters: l, statuses: u } = ot();
|
|
571
|
+
le(l);
|
|
572
|
+
let f = Oe({
|
|
572
573
|
initialValues: [{
|
|
573
574
|
direction: "desc",
|
|
574
|
-
key:
|
|
575
|
+
key: o.ISSUED_ON
|
|
575
576
|
}],
|
|
576
577
|
keys: [
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
578
|
+
o.SEQUENCE,
|
|
579
|
+
o.ISSUED_ON,
|
|
580
|
+
o.NET_AMOUNT
|
|
580
581
|
]
|
|
581
582
|
}), { isFetching: p, isFetchingNextPage: m, isLoading: h, fetchNextPage: g, result: _ } = ee({ params: {
|
|
582
|
-
filters:
|
|
583
|
+
filters: N(() => ({
|
|
583
584
|
issuedOnRange: s.value,
|
|
584
585
|
customerExternalIds: [t.externalId],
|
|
585
586
|
dueOnRange: c.value,
|
|
586
|
-
statuses:
|
|
587
|
+
statuses: u.value
|
|
587
588
|
})),
|
|
588
|
-
search:
|
|
589
|
+
search: a.debouncedSearch,
|
|
589
590
|
sort: f.values
|
|
590
|
-
} }), v =
|
|
591
|
+
} }), v = N(() => _.value.isOk() ? _.value.getValue().data : []), y = N(() => _.value.isErr() ? _.value.getError() : null), b = N(() => l.activeFilters.value.length), x = N(() => (a.debouncedSearch.value?.trim().length ?? 0) > 0), S = N(() => !h.value && !p.value && y.value === null && v.value.length === 0 && a.search.value === "" && b.value === 0);
|
|
591
592
|
function C(e) {
|
|
592
593
|
return e.type === n.CREDIT_NOTE ? {
|
|
593
594
|
name: "invoicing-credit-note-detail",
|
|
@@ -597,45 +598,45 @@ var it = { class: "duration-500 starting:opacity-0 starting:blur-md" }, at = { c
|
|
|
597
598
|
params: { invoiceUuid: e.uuid }
|
|
598
599
|
};
|
|
599
600
|
}
|
|
600
|
-
return (e, t) => S.value ? (
|
|
601
|
+
return (e, t) => S.value ? (B(), P(ut, {
|
|
601
602
|
key: 0,
|
|
602
|
-
title:
|
|
603
|
-
message:
|
|
604
|
-
}, null, 8, ["title", "message"])) : (
|
|
603
|
+
title: U(r).t("wise_invoicing.customer_invoice_list.empty_state.title"),
|
|
604
|
+
message: U(r).t("wise_invoicing.customer_invoice_list.empty_state.description")
|
|
605
|
+
}, null, 8, ["title", "message"])) : (B(), I("div", dt, [R(U(K), {
|
|
605
606
|
justify: "between",
|
|
606
607
|
class: "p-md"
|
|
607
608
|
}, {
|
|
608
|
-
default:
|
|
609
|
-
default:
|
|
610
|
-
modelValue:
|
|
611
|
-
"onUpdate:modelValue": t[0] ||= (e) =>
|
|
609
|
+
default: W(() => [R(U(ue)), R(U(K), { justify: "end" }, {
|
|
610
|
+
default: W(() => [R(U(Ee), {
|
|
611
|
+
modelValue: U(a).search.value,
|
|
612
|
+
"onUpdate:modelValue": t[0] ||= (e) => U(a).search.value = e,
|
|
612
613
|
label: null,
|
|
613
|
-
"icon-left":
|
|
614
|
-
placeholder:
|
|
614
|
+
"icon-left": U(ie),
|
|
615
|
+
placeholder: U(r).t("wise_invoicing.common.search"),
|
|
615
616
|
size: "sm",
|
|
616
617
|
type: "search"
|
|
617
618
|
}, null, 8, [
|
|
618
619
|
"modelValue",
|
|
619
620
|
"icon-left",
|
|
620
621
|
"placeholder"
|
|
621
|
-
]),
|
|
622
|
+
]), R(U(fe))]),
|
|
622
623
|
_: 1
|
|
623
624
|
})]),
|
|
624
625
|
_: 1
|
|
625
|
-
}),
|
|
626
|
-
columns:
|
|
626
|
+
}), L("div", ft, [R(U(Ce), {
|
|
627
|
+
columns: U(i),
|
|
627
628
|
data: v.value,
|
|
628
|
-
sort:
|
|
629
|
-
"is-loading":
|
|
630
|
-
"is-fetching-next-page":
|
|
629
|
+
sort: U(f),
|
|
630
|
+
"is-loading": U(h),
|
|
631
|
+
"is-fetching-next-page": U(m),
|
|
631
632
|
error: y.value,
|
|
632
633
|
"has-active-search": x.value,
|
|
633
634
|
"active-filter-count": b.value,
|
|
634
635
|
"get-key": (e) => e.uuid,
|
|
635
636
|
"get-link": C,
|
|
636
|
-
onNextPage:
|
|
637
|
-
onClearSearch: t[1] ||= (e) =>
|
|
638
|
-
onClearFilters: t[2] ||= (e) =>
|
|
637
|
+
onNextPage: U(g),
|
|
638
|
+
onClearSearch: t[1] ||= (e) => U(a).clear(),
|
|
639
|
+
onClearFilters: t[2] ||= (e) => U(l).clearAll()
|
|
639
640
|
}, null, 8, [
|
|
640
641
|
"columns",
|
|
641
642
|
"data",
|
|
@@ -649,12 +650,12 @@ var it = { class: "duration-500 starting:opacity-0 starting:blur-md" }, at = { c
|
|
|
649
650
|
"onNextPage"
|
|
650
651
|
])])]));
|
|
651
652
|
}
|
|
652
|
-
}),
|
|
653
|
+
}), mt = /* @__PURE__ */ z({
|
|
653
654
|
__name: "CustomerInvoiceList",
|
|
654
655
|
props: { externalId: {} },
|
|
655
656
|
setup(e) {
|
|
656
|
-
let t = e, n =
|
|
657
|
-
return (e, t) => n.value === null ?
|
|
657
|
+
let t = e, n = N(() => typeof t.externalId == "string" && t.externalId !== "" ? t.externalId : null);
|
|
658
|
+
return (e, t) => n.value === null ? F("", !0) : (B(), P(pt, {
|
|
658
659
|
key: n.value,
|
|
659
660
|
"external-id": n.value
|
|
660
661
|
}, null, 8, ["external-id"]));
|
|
@@ -662,44 +663,44 @@ var it = { class: "duration-500 starting:opacity-0 starting:blur-md" }, at = { c
|
|
|
662
663
|
});
|
|
663
664
|
//#endregion
|
|
664
665
|
//#region src/modules/invoice/routes/invoice.routes.ts
|
|
665
|
-
function
|
|
666
|
-
return
|
|
666
|
+
function ht(e) {
|
|
667
|
+
return Y([{
|
|
667
668
|
name: "invoicing-module",
|
|
668
669
|
path: "/invoicing/invoices",
|
|
669
670
|
redirect: { name: "invoicing-invoice-overview" },
|
|
670
671
|
children: [{
|
|
671
672
|
name: "invoicing-invoice-overview",
|
|
672
673
|
path: "",
|
|
673
|
-
component: e ?? (() => import("./InvoiceOverviewViewDataProvider-
|
|
674
|
+
component: e ?? (() => import("./InvoiceOverviewViewDataProvider-i8tXATJE.js").then((e) => e.n)),
|
|
674
675
|
meta: { permission: "invoice.read" }
|
|
675
676
|
}, {
|
|
676
677
|
name: "invoicing-invoice-detail",
|
|
677
678
|
props: !0,
|
|
678
679
|
path: ":invoiceUuid",
|
|
679
|
-
component: () => import("./InvoiceDetailViewDataProvider-
|
|
680
|
+
component: () => import("./InvoiceDetailViewDataProvider-YOlvUavt.js"),
|
|
680
681
|
meta: { permission: "invoice.read" }
|
|
681
682
|
}]
|
|
682
683
|
}]);
|
|
683
684
|
}
|
|
684
|
-
var
|
|
685
|
+
var gt = Y([{
|
|
685
686
|
name: "invoicing-invoice-pdf-preview",
|
|
686
687
|
props: !0,
|
|
687
688
|
path: "/invoicing/invoices/:invoiceUuid/pdf",
|
|
688
|
-
component: () => import("./InvoicePdfViewDataProvider
|
|
689
|
+
component: () => import("./InvoicePdfViewDataProvider--CHm0HAM.js"),
|
|
689
690
|
meta: { permission: "invoice.read" }
|
|
690
|
-
}]),
|
|
691
|
+
}]), _t = Y([{
|
|
691
692
|
name: "invoicing-invoice-public-pdf-preview",
|
|
692
693
|
path: "/pdf",
|
|
693
|
-
component: () => import("./InvoicePublicPdfViewDataProvider-
|
|
694
|
+
component: () => import("./InvoicePublicPdfViewDataProvider-DoNBZsmi.js").then((e) => e.n)
|
|
694
695
|
}]);
|
|
695
696
|
//#endregion
|
|
696
697
|
//#region src/routes/invoicingPublicRoutes.composable.ts
|
|
697
|
-
function
|
|
698
|
-
return [...
|
|
698
|
+
function vt() {
|
|
699
|
+
return [..._t, ...ze];
|
|
699
700
|
}
|
|
700
701
|
//#endregion
|
|
701
702
|
//#region src/modules/credit-note/routes/creditNote.routes.ts
|
|
702
|
-
var
|
|
703
|
+
var yt = [{
|
|
703
704
|
name: "invoicing-credit-note-module",
|
|
704
705
|
path: "/invoicing/credit-notes",
|
|
705
706
|
redirect: { name: "invoicing-invoice-overview" },
|
|
@@ -707,44 +708,44 @@ var gt = [{
|
|
|
707
708
|
name: "invoicing-credit-note-detail",
|
|
708
709
|
props: !0,
|
|
709
710
|
path: ":creditNoteUuid",
|
|
710
|
-
component: () => import("./CreditNoteDetailViewDataProvider-
|
|
711
|
+
component: () => import("./CreditNoteDetailViewDataProvider-DPePmzgn.js"),
|
|
711
712
|
meta: { permission: "invoice.read" }
|
|
712
713
|
}]
|
|
713
|
-
}],
|
|
714
|
+
}], bt = [{
|
|
714
715
|
name: "invoicing-credit-note-pdf-preview",
|
|
715
716
|
props: !0,
|
|
716
717
|
path: "/invoicing/credit-notes/:creditNoteUuid/pdf",
|
|
717
|
-
component: () => import("./CreditNotePdfViewDataProvider-
|
|
718
|
+
component: () => import("./CreditNotePdfViewDataProvider-Dp0zI0fB.js"),
|
|
718
719
|
meta: { permission: "invoice.read" }
|
|
719
720
|
}];
|
|
720
721
|
//#endregion
|
|
721
722
|
//#region src/routes/invoicingRoutes.composable.ts
|
|
722
|
-
function
|
|
723
|
-
return
|
|
723
|
+
function xt(e) {
|
|
724
|
+
return Y([{
|
|
724
725
|
path: "",
|
|
725
726
|
children: [
|
|
726
|
-
...
|
|
727
|
-
...
|
|
728
|
-
...
|
|
727
|
+
...ht(e?.invoiceOverviewComponent),
|
|
728
|
+
...yt,
|
|
729
|
+
...Le
|
|
729
730
|
]
|
|
730
731
|
}]);
|
|
731
732
|
}
|
|
732
733
|
//#endregion
|
|
733
734
|
//#region src/routes/invoicingStandaloneRoutes.composable.ts
|
|
734
|
-
function
|
|
735
|
-
return [...
|
|
735
|
+
function St() {
|
|
736
|
+
return [...bt, ...gt];
|
|
736
737
|
}
|
|
737
738
|
//#endregion
|
|
738
739
|
//#region src/index.ts
|
|
739
|
-
var
|
|
740
|
+
var Ct = {
|
|
740
741
|
"en-US": {
|
|
741
742
|
...t,
|
|
742
|
-
...
|
|
743
|
+
...ke
|
|
743
744
|
},
|
|
744
745
|
"nl-BE": {
|
|
745
746
|
...e,
|
|
746
|
-
...
|
|
747
|
+
...Ae
|
|
747
748
|
}
|
|
748
749
|
};
|
|
749
750
|
//#endregion
|
|
750
|
-
export {
|
|
751
|
+
export { x as AddressUtil, m as DownloadUtil, g as MonetaryTransformer, Pe as NumberUtil, v as Percentage, _ as PercentageTransformer, s as SortDirection, be as SortUtil, i as WiseInvoicingCustomFieldType, h as WiseInvoicingCustomFieldValueUtil, rt as WiseInvoicingCustomerDunningCasesSection, mt as WiseInvoicingCustomerInvoiceList, pe as WiseInvoicingDunningCaseDetailView, te as WiseInvoicingDunningCaseOverviewView, me as WiseInvoicingDunningCaseReminderPdfView, p as WiseInvoicingInvoiceOverviewView, re as WiseInvoicingInvoicePublicPdfViewDataProvider, he as WiseInvoicingReminderSettingsView, S as addressFormSchema, Fe as creditNoteUuidSchema, b as initWiseInvoicingConfig, Ie as invoiceUuidSchema, Me as onCreated, u as toMajorUnits, c as toMinorUnits, l as useCurrencyFormat, a as useDocumentTitle, je as useInvoiceNavigateToDetailAction, d as useSearch, f as useSort, Ve as useWiseInvoicingApiError, y as useWiseInvoicingConfig, C as useWiseInvoicingDunningCaseIndexQuery, ne as useWiseInvoicingInvoicePublicDetailQuery, vt as useWiseInvoicingPublicRoutes, Ne as useWiseInvoicingQueryInvalidation, xt as useWiseInvoicingRoutes, St as useWiseInvoicingStandaloneRoutes, X as wiseInvoicingApiErrorI18nKeys, Ct as wiseInvoicingLocales, Be as wiseInvoicingSettingsRoutes };
|