@wisemen/wise-invoicing-web 0.2.0 → 0.3.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/{ApprovalReminderSettingsViewDataProvider-D-qXZrPT.js → ApprovalReminderSettingsViewDataProvider-DwtfyQpx.js} +4 -4
- package/dist/{BillingDocumentDetailViewDataProvider-DDdtlW-2.js → BillingDocumentDetailViewDataProvider-Dub07ybW.js} +1373 -1217
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-ehdFB6mr.js → BillingDocumentPdf-DgtUB45R.js} +20 -13
- package/dist/{CreditNoteDetailViewDataProvider-11a-JO3H.js → CreditNoteDetailViewDataProvider-BxNfC6yO.js} +90 -90
- package/dist/{CreditNotePdfViewDataProvider-bfeaya3P.js → CreditNotePdfViewDataProvider-D0j8qqK-.js} +2 -2
- package/dist/{CustomFieldValueText-CZQXGE5F.js → CustomFieldValueText-Cuhs9sRn.js} +26 -26
- package/dist/DunningCaseDetailViewDataProvider-ou1FfNWQ.js +439 -0
- package/dist/{DunningCaseOverviewView-y_bCmi5j.js → DunningCaseOverviewView--zaPD0-c.js} +255 -203
- package/dist/{DunningCaseReminderPdfViewDataProvider-DNODfED_.js → DunningCaseReminderPdfViewDataProvider-BpUDbbSH.js} +5 -4
- package/dist/{DunningCaseSendDialog-BPXcqit5.js → DunningCaseSendDialog-Co4oLFtZ.js} +83 -72
- package/dist/InvoiceApprovalOutOfSyncIndicator-H6H7kjAE.js +45 -0
- package/dist/InvoiceApprovalOverviewView-Bw-6rkon.js +814 -0
- package/dist/InvoiceApprovalStatusBadge-IyzJ--TJ.js +127 -0
- package/dist/InvoiceApproveDialogDataProvider-8G-11W1e.js +377 -0
- package/dist/{InvoiceDetailViewDataProvider-BYeaaQzL.js → InvoiceDetailViewDataProvider-B9gul2ei.js} +750 -692
- package/dist/InvoiceOverviewViewDataProvider-5KgIdhfL.js +1892 -0
- package/dist/{InvoicePdfView-BJRTg_TH.js → InvoicePdfView-5sJ-u_gT.js} +10 -4
- package/dist/{InvoicePdfViewDataProvider-CwI_uGm3.js → InvoicePdfViewDataProvider-BLVXDPv6.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-uZUfsr5K.js → InvoicePublicPdfViewDataProvider-CnhYazmB.js} +3 -3
- package/dist/InvoicePublicProFormaPdfViewDataProvider-CcvGISK6.js +47 -0
- package/dist/{InvoicingFileUploadProvider-D9Xk4rQM.js → InvoicingFileUploadProvider-Kcq7kSSt.js} +2 -2
- package/dist/{IssuerSettingsViewDataProvider-CGRa8F-2.js → IssuerSettingsViewDataProvider-BuSIVnIl.js} +3 -3
- package/dist/{ReminderSettingsViewDataProvider-1ucp3z2T.js → ReminderSettingsViewDataProvider-CH7gSXnj.js} +100 -102
- package/dist/{api.util-C_kMGlJN.js → api.util-CkIRZS3h.js} +985 -930
- package/dist/{billingDocumentDetail.transformer-Da6_-Hv9.js → billingDocumentDetail.transformer-Bfd8geNo.js} +5 -7
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +2 -1
- package/dist/client/types.gen.d.ts +114 -31
- package/dist/client/zod.gen.d.ts +343 -78
- package/dist/composables/sending-refetch/sendingRefetch.composable.d.ts +7 -0
- package/dist/composables/sending-refetch/sendingRefetch.composable.spec.d.ts +1 -0
- package/dist/{creditNoteDetail.query-DLR7L0Ep.js → creditNoteDetail.query-tLnfqsEB.js} +27 -27
- package/dist/customerUuid.model-ClN4Vi9n.js +18 -0
- package/dist/{dist-Cxdm09Lp.js → dist-BQbaoN5W.js} +144 -96
- package/dist/{dist-CoztMdYH.js → dist-CGZBUnWK.js} +62 -62
- package/dist/{dist-boJIIxnT.js → dist-Cdbpkd3Y.js} +1 -1
- package/dist/{documentTitle.composable-DsBbzhXN.js → documentTitle.composable-CRJjS6p-.js} +19 -17
- package/dist/{i18n.lib-Cvr8pcDw.js → i18n.lib--mzprLMR.js} +88 -54
- package/dist/index.d.ts +56 -22
- package/dist/index.js +193 -201
- package/dist/{invoice.service-DEEA9mal.js → invoice.service-B1w16_Md.js} +184 -172
- package/dist/{invoiceApproval.service-DvL3LliM.js → invoiceApproval.service-BHAJmFkU.js} +8 -8
- package/dist/{invoiceApprovalStatus.util-3Zh10Pj8.js → invoiceApprovalStatus.util-DohOKR4q.js} +42 -38
- package/dist/invoiceCustomer.service-DpVfpQUD.js +39 -0
- package/dist/{invoiceDetail.query-CRoH_SgM.js → invoiceDetail.query-CfyNSXLS.js} +1 -1
- package/dist/{invoiceDeliveryStatus.util-nCsqDypY.js → invoiceIndexCache.util-BDLs7W9m.js} +128 -51
- package/dist/{invoicingConfig.composable-rxjGK882.js → invoicingConfig.composable-COn1rKRf.js} +2 -2
- package/dist/{issuerSettings.query-Dc5gsaEm.js → issuerSettings.query-CDFk2GiP.js} +3 -2
- package/dist/libs/i18n.lib.d.ts +56 -22
- package/dist/locales/en-US.json.d.ts +44 -27
- package/dist/locales/nl-BE.json.d.ts +44 -27
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.model.d.ts +8 -1
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.d.ts +12 -0
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.spec.d.ts +1 -0
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +2 -6
- package/dist/modules/dunning-case/api/mutations/dunningCaseReminderRetry.mutation.d.ts +4 -0
- package/dist/modules/dunning-case/api/services/dunningCase.service.d.ts +2 -1
- package/dist/modules/dunning-case/models/dunningCase.model.d.ts +5 -0
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.model.d.ts +0 -4
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.transformer.d.ts +0 -1
- package/dist/modules/dunning-case/test/builders/dunningCaseReminderPdfDto.builder.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewActionsCell.vue.d.ts +2 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.d.ts +2 -2
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewTableColumns.composable.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +0 -4
- package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseBulkSendDialog.vue.d.ts +2 -1
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderRow.vue.d.ts +4 -4
- package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.d.ts +2 -2
- package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.spec.d.ts +1 -0
- package/dist/modules/invoice/api/mutations/invoiceRejectApproval.mutation.d.ts +8 -0
- package/dist/modules/invoice/api/queries/invoicePublicProFormaDetail.query.d.ts +2 -0
- package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +6 -0
- package/dist/modules/invoice/api/services/invoice.service.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.d.ts +4 -2
- package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.d.ts +8 -0
- package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +2 -3
- package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.model.d.ts +2 -9
- package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.util.d.ts +4 -2
- package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreate.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.transformer.d.ts +2 -1
- package/dist/modules/invoice/routes/invoice.routes.d.ts +4 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialog.vue.d.ts +1 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialogDataProvider.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoicePaymentDeleteDialog.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +2 -3
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +11 -9
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +2 -2
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendApprovalDialog.vue.d.ts +3 -1
- package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +7 -4
- package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.spec.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/components/BillingDocumentPdf.vue.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfWatermark.vue.d.ts +4 -1
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePublicProFormaPdfViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.action.d.ts +2 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndex.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverview.composable.d.ts +5 -6
- package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverviewFilters.composable.d.ts +0 -5
- package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +1 -0
- package/dist/{reminderConfig.query-snaHQmrY.js → reminderConfig.query-DSO0ekC_.js} +112 -105
- package/dist/routes/invoicingPublicRoutes.composable.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityApprovalDetails.vue.d.ts +7 -0
- package/package.json +3 -3
- package/dist/DunningCaseDetailViewDataProvider-DC-ziMoO.js +0 -409
- package/dist/InvoiceApprovalOverviewView-DZ14mi4L.js +0 -870
- package/dist/InvoiceApprovalStatusBadge-U-dW2hR4.js +0 -161
- package/dist/InvoiceApproveDialog-2LXneG2r.js +0 -308
- package/dist/InvoiceOverviewBulkSendApprovalDialog-99dfuN4i.js +0 -318
- package/dist/InvoiceOverviewViewDataProvider-CZIQeftL.js +0 -1620
- package/dist/customerUuid.model-GUFYq3O2.js +0 -5
- package/dist/modules/invoice-approval/actions/invoiceApprovalUnmarkAsNeedsApproval.action.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { B as e,
|
|
2
|
-
import {
|
|
1
|
+
import { B as e, L as t, S as n, T as r, V as i, h as a, nt as o, q as s, t as c, y as l } from "./api.util-CkIRZS3h.js";
|
|
2
|
+
import { r as u, x as d } from "./documentTitle.composable-CRJjS6p-.js";
|
|
3
3
|
import { n as f, t as p } from "./plainDate.transformer-Bhiz9jW7.js";
|
|
4
|
-
import { a as m, i as h, n as g, t as _ } from "./billingDocumentDetail.transformer-
|
|
4
|
+
import { a as m, i as h, n as g, t as _ } from "./billingDocumentDetail.transformer-Bfd8geNo.js";
|
|
5
5
|
import { t as v } from "./dist-BFx8U4Su.js";
|
|
6
6
|
import { useQuery as y } from "@wisemen/vue-core-api-utils";
|
|
7
7
|
//#region src/modules/credit-note/models/detail/creditNoteDetail.transformer.ts
|
|
8
8
|
var b = class {
|
|
9
9
|
static fromDto(e) {
|
|
10
|
-
return _.fromViewInvoiceDetailDto(e, e.uuid,
|
|
10
|
+
return _.fromViewInvoiceDetailDto(e, e.uuid, d.CREDIT_NOTE);
|
|
11
11
|
}
|
|
12
12
|
}, x = class {
|
|
13
13
|
static toDto(e) {
|
|
@@ -58,18 +58,18 @@ var C = class {
|
|
|
58
58
|
}
|
|
59
59
|
}, w = class {
|
|
60
60
|
static async delete(e) {
|
|
61
|
-
let t = await
|
|
62
|
-
return
|
|
61
|
+
let t = await c.fromPromise(a({ path: { uuid: e } }));
|
|
62
|
+
return c.void(t);
|
|
63
63
|
}
|
|
64
64
|
static async finalize(e) {
|
|
65
|
-
let t = await
|
|
66
|
-
return
|
|
65
|
+
let t = await c.fromPromise(l({ path: { uuid: e } }));
|
|
66
|
+
return c.void(t);
|
|
67
67
|
}
|
|
68
68
|
static async getActivityLogs(e, t) {
|
|
69
|
-
return (await
|
|
69
|
+
return (await c.fromPromise(s({ query: {
|
|
70
70
|
filter: {
|
|
71
71
|
entityUuids: [e],
|
|
72
|
-
roles: [
|
|
72
|
+
roles: [u.CREDIT_NOTE]
|
|
73
73
|
},
|
|
74
74
|
pagination: {
|
|
75
75
|
key: t.pagination.key ?? null,
|
|
@@ -81,33 +81,33 @@ var C = class {
|
|
|
81
81
|
}));
|
|
82
82
|
}
|
|
83
83
|
static async getByUuid(e) {
|
|
84
|
-
return (await
|
|
84
|
+
return (await c.fromPromise(o({ path: { uuid: e } }))).map((e) => b.fromDto(e.data));
|
|
85
85
|
}
|
|
86
86
|
static async markAsDraft(e) {
|
|
87
|
-
let t = await
|
|
88
|
-
return
|
|
87
|
+
let t = await c.fromPromise(n({ path: { uuid: e } }));
|
|
88
|
+
return c.void(t);
|
|
89
89
|
}
|
|
90
90
|
static async markAsReady(e) {
|
|
91
|
-
let t = await
|
|
92
|
-
return
|
|
91
|
+
let t = await c.fromPromise(r({ path: { uuid: e } }));
|
|
92
|
+
return c.void(t);
|
|
93
93
|
}
|
|
94
94
|
static async send(e) {
|
|
95
|
-
let n = await
|
|
96
|
-
return
|
|
95
|
+
let n = await c.fromPromise(t({ path: { uuid: e } }));
|
|
96
|
+
return c.void(n);
|
|
97
97
|
}
|
|
98
|
-
static async update(
|
|
99
|
-
let
|
|
100
|
-
body: x.toDto(
|
|
101
|
-
path: { uuid:
|
|
98
|
+
static async update(e, t) {
|
|
99
|
+
let n = await c.fromPromise(i({
|
|
100
|
+
body: x.toDto(t),
|
|
101
|
+
path: { uuid: e }
|
|
102
102
|
}));
|
|
103
|
-
return
|
|
103
|
+
return c.void(n);
|
|
104
104
|
}
|
|
105
|
-
static async updateLines(
|
|
106
|
-
let
|
|
107
|
-
body: C.toDto(
|
|
108
|
-
path: { uuid:
|
|
105
|
+
static async updateLines(t, n) {
|
|
106
|
+
let r = await c.fromPromise(e({
|
|
107
|
+
body: C.toDto(n),
|
|
108
|
+
path: { uuid: t }
|
|
109
109
|
}));
|
|
110
|
-
return
|
|
110
|
+
return c.void(r);
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
//#endregion
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z as e } from "zod";
|
|
2
|
+
import { watch as t } from "vue";
|
|
3
|
+
import { useDocumentVisibility as n, useIntervalFn as r } from "@vueuse/core";
|
|
4
|
+
//#region src/composables/sending-refetch/sendingRefetch.composable.ts
|
|
5
|
+
var i = 3e3, a = 40;
|
|
6
|
+
function o(e) {
|
|
7
|
+
let o = n(), s = 0, c = r(() => {
|
|
8
|
+
s += 1, s >= a && (c.pause(), e.onLimitReached?.()), e.refetch();
|
|
9
|
+
}, i, { immediate: !1 });
|
|
10
|
+
t([e.sendingUuids, o], ([e, t], [n = []]) => {
|
|
11
|
+
e.some((e) => !n.includes(e)) && (s = 0), e.length === 0 || t !== "visible" || s >= a ? c.pause() : c.isActive.value || c.resume();
|
|
12
|
+
}, { immediate: !0 });
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/models/customer/customerUuid.model.ts
|
|
16
|
+
var s = e.uuid().brand("CustomerUuid");
|
|
17
|
+
//#endregion
|
|
18
|
+
export { o as n, s as t };
|