@wisemen/wise-invoicing-web 0.6.0 → 0.8.0
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-r9DcFi76.js → ApprovalReminderSettingsViewDataProvider-Dsp3ee3c.js} +4 -4
- package/dist/{BillingDocumentDetailViewDataProvider-CsqBeAiA.js → BillingDocumentDetailViewDataProvider-V5c_cJwt.js} +1544 -1459
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-thrvzGfh.js → BillingDocumentPdf-BYn3lUyl.js} +8 -7
- package/dist/{CreditNoteDetailViewDataProvider-D6IMBwLn.js → CreditNoteDetailViewDataProvider-BqLYeBUQ.js} +230 -223
- package/dist/CreditNotePdfViewDataProvider-Co4R7QJx.js +22 -0
- package/dist/{CustomFieldValueText-BRpCwCqJ.js → CustomFieldValueText-BP4bKQh7.js} +53 -38
- package/dist/{DunningCaseDetailViewDataProvider-DTotyRX8.js → DunningCaseDetailViewDataProvider-BNByfQTc.js} +13 -13
- package/dist/{DunningCaseOverviewView-kDq7UY5e.js → DunningCaseOverviewView-Dvwaw597.js} +23 -23
- package/dist/{DunningCaseReminderPdfViewDataProvider-DgKA-7lX.js → DunningCaseReminderPdfViewDataProvider-D1avIVyK.js} +1 -1
- package/dist/{DunningCaseSendDialog-DVfBVtgr.js → DunningCaseSendDialog-DwB_jFum.js} +8 -8
- package/dist/{InvoiceApprovalOutOfSyncIndicator-DPlrqqOs.js → InvoiceApprovalOutOfSyncIndicator-B_9HLzpt.js} +2 -2
- package/dist/{InvoiceApprovalOverviewView-B6naRElx.js → InvoiceApprovalOverviewView-jawT-M1t.js} +213 -213
- package/dist/{InvoiceApprovalStatusBadge-CDc_Pwsm.js → InvoiceApprovalStatusBadge-D6Sr6JmN.js} +4 -4
- package/dist/{InvoiceApproveDialogDataProvider-CK6ij8X1.js → InvoiceApproveDialogDataProvider-Bwb8bP1e.js} +16 -16
- package/dist/{InvoiceDetailViewDataProvider-BKurQPAV.js → InvoiceDetailViewDataProvider-DSG6VnDh.js} +592 -586
- package/dist/{InvoiceOverviewViewDataProvider-ChoyCi5L.js → InvoiceOverviewViewDataProvider-CLgV-Jcv.js} +440 -440
- package/dist/{InvoicePdfView-DLEKQ29O.js → InvoicePdfView-BIDvRCr4.js} +2 -2
- package/dist/{InvoicePdfViewDataProvider-C-b7iXiH.js → InvoicePdfViewDataProvider-Ct1HBqqa.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-DZ4WQsvi.js → InvoicePublicPdfViewDataProvider-DS0Q-BEX.js} +3 -3
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-CsF8fPlp.js → InvoicePublicProFormaPdfViewDataProvider-DqWKGeAm.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-t64Qiyn6.js → InvoicingFileUploadProvider-Dl1LvCPm.js} +2 -2
- package/dist/{IssuerSettingsViewDataProvider-Cc8R6ekd.js → IssuerSettingsViewDataProvider-CXyyCvoZ.js} +3 -3
- package/dist/{PeppolSettingsViewDataProvider-DpVIfFVG.js → PeppolSettingsViewDataProvider-Cptga29B.js} +2 -2
- package/dist/{ReminderSettingsViewDataProvider-QOh3LpMX.js → ReminderSettingsViewDataProvider-BZgzQIxM.js} +4 -4
- package/dist/{api.util-Do9BEwG4.js → api.util-CR2xLnNj.js} +536 -515
- package/dist/{billingDocumentDetail.transformer-BAOQ3Zrg.js → billingDocumentDetail.transformer-D1f6Nv-U.js} +8 -2
- package/dist/client/index.d.ts +1 -1
- package/dist/client/types.gen.d.ts +23 -17
- package/dist/client/zod.gen.d.ts +360 -0
- package/dist/composables/invoicingConfig.composable.d.ts +16 -3
- package/dist/{creditNoteDetail.query-C1rr54m1.js → creditNoteDetail.query-DGeG9_sO.js} +3 -3
- package/dist/{dist-DCbLgB6Y.js → dist-BMzyJZTx.js} +258 -114
- package/dist/{dist-CZAOPudv.js → dist-DALBiuub.js} +133 -133
- package/dist/{documentTitle.composable-C3k1m0Nz.js → documentTitle.composable-RvqrZTBa.js} +1 -1
- package/dist/{download.util-B5Q7KUC9.js → download.util-LyRpGWKA.js} +9 -0
- package/dist/{i18n.lib-Bkz_R954.js → i18n.lib-MOiHLIGc.js} +4 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +219 -204
- package/dist/{invoice.service-DrI2ULIR.js → invoice.service-Fv4F4aZq.js} +3 -3
- package/dist/{invoiceApproval.service-Dpxiru7l.js → invoiceApproval.service-DJvXagC7.js} +2 -2
- package/dist/{invoiceApprovalStatus.util-CdOAcPzv.js → invoiceApprovalStatus.util-B98WeAf0.js} +2 -2
- package/dist/{invoiceCustomer.service-RRFosiYR.js → invoiceCustomer.service-CDyrtcwH.js} +2 -2
- package/dist/{invoiceDetail.query-BmtHdfj0.js → invoiceDetail.query-UHE0NCLh.js} +1 -1
- package/dist/{invoiceIndexCache.util-DKtJorc_.js → invoiceIndexCache.util-CLM7FO6z.js} +3 -3
- package/dist/{invoicingConfig.composable-CMTYHHS9.js → invoicingConfig.composable-UC7tGtBj.js} +14 -10
- package/dist/{issuerSettings.query-CKDhoStt.js → issuerSettings.query-CoiXblSm.js} +2 -2
- package/dist/libs/i18n.lib.d.ts +4 -0
- package/dist/locales/en-US.json.d.ts +2 -0
- package/dist/locales/nl-BE.json.d.ts +2 -0
- package/dist/modules/custom-field/components/CustomFieldList.vue.d.ts +0 -1
- package/dist/modules/custom-field/components/customFieldTypeIcon.d.ts +16 -0
- package/dist/modules/custom-field/components/customFieldValueText.spec.d.ts +1 -0
- package/dist/modules/custom-field/composables/customFieldReferenceLinks.composable.d.ts +16 -0
- package/dist/modules/custom-field/composables/customFieldReferenceLinks.composable.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.model.d.ts +1 -1
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.d.ts +10 -0
- package/dist/modules/custom-field/test/builders/customFieldDefinition.builder.d.ts +1 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +1 -1
- package/dist/{reminderConfig.query-yImUS5qt.js → reminderConfig.query-aRFzY6uZ.js} +2 -2
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +114 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +57 -36
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.d.ts +6 -1
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.spec.d.ts +1 -0
- package/package.json +1 -1
- package/dist/CreditNotePdfViewDataProvider-C4z1NE3Q.js +0 -21
package/dist/{InvoiceApprovalStatusBadge-CDc_Pwsm.js → InvoiceApprovalStatusBadge-D6Sr6JmN.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api.util-
|
|
2
|
-
import { a as e, o as t } from "./documentTitle.composable-
|
|
3
|
-
import {
|
|
1
|
+
import "./api.util-CR2xLnNj.js";
|
|
2
|
+
import { a as e, o as t } from "./documentTitle.composable-RvqrZTBa.js";
|
|
3
|
+
import { $ as n, S as r } from "./dist-BMzyJZTx.js";
|
|
4
4
|
import { n as i } from "./dist-Cdbpkd3Y.js";
|
|
5
|
-
import { t as a } from "./invoiceApprovalStatus.util-
|
|
5
|
+
import { t as a } from "./invoiceApprovalStatus.util-B98WeAf0.js";
|
|
6
6
|
import { useI18n as o } from "vue-i18n";
|
|
7
7
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, openBlock as g, renderList as _, unref as v, withCtx as y } from "vue";
|
|
8
8
|
import { UIBadge as b, UIText as x, UITooltip as S, UITooltipContent as C } from "@wisemen/vue-core-design-system";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as e } from "./i18n.lib-
|
|
2
|
-
import "./api.util-
|
|
3
|
-
import { g as t } from "./documentTitle.composable-
|
|
4
|
-
import { t as n } from "./invoice.service-
|
|
5
|
-
import {
|
|
1
|
+
import { t as e } from "./i18n.lib-MOiHLIGc.js";
|
|
2
|
+
import "./api.util-CR2xLnNj.js";
|
|
3
|
+
import { g as t } from "./documentTitle.composable-RvqrZTBa.js";
|
|
4
|
+
import { t as n } from "./invoice.service-Fv4F4aZq.js";
|
|
5
|
+
import { G as r, ft as i, xt as a } from "./dist-BMzyJZTx.js";
|
|
6
6
|
import { t as o } from "./DataProvider-C3uEds9v.js";
|
|
7
7
|
import { t as s } from "./formango.util-D5c2ql--.js";
|
|
8
|
-
import { t as c } from "./invoiceApprovalStatus.util-
|
|
9
|
-
import { t as l } from "./issuerSettings.query-
|
|
10
|
-
import { n as u, r as d, t as f } from "./InvoicingFileUploadProvider-
|
|
8
|
+
import { t as c } from "./invoiceApprovalStatus.util-B98WeAf0.js";
|
|
9
|
+
import { t as l } from "./issuerSettings.query-CoiXblSm.js";
|
|
10
|
+
import { n as u, r as d, t as f } from "./InvoicingFileUploadProvider-Dl1LvCPm.js";
|
|
11
11
|
import { z as p } from "zod";
|
|
12
12
|
import { useI18n as m } from "vue-i18n";
|
|
13
13
|
import { computed as h, createBlock as g, createVNode as _, defineComponent as v, mergeProps as y, openBlock as b, unref as x, withCtx as S } from "vue";
|
|
@@ -115,7 +115,7 @@ var V = p.object({
|
|
|
115
115
|
},
|
|
116
116
|
emits: ["close"],
|
|
117
117
|
setup(e, { emit: n }) {
|
|
118
|
-
let r = e,
|
|
118
|
+
let r = e, a = n, o = m(), l = I(), u = B(), p = L({
|
|
119
119
|
initialState: {
|
|
120
120
|
attachments: [],
|
|
121
121
|
reason: null,
|
|
@@ -134,7 +134,7 @@ var V = p.object({
|
|
|
134
134
|
l.apiError(t.error);
|
|
135
135
|
return;
|
|
136
136
|
}
|
|
137
|
-
l.show({ message: o.t("wise_invoicing.invoice.reject.success") }),
|
|
137
|
+
l.show({ message: o.t("wise_invoicing.invoice.reject.success") }), a("close");
|
|
138
138
|
},
|
|
139
139
|
onSubmitError: () => {
|
|
140
140
|
l.unableToSave();
|
|
@@ -150,13 +150,13 @@ var V = p.object({
|
|
|
150
150
|
return (e, t) => (b(), g(x(k), {
|
|
151
151
|
form: x(p),
|
|
152
152
|
size: "sm",
|
|
153
|
-
onClose: t[0] ||= (e) =>
|
|
153
|
+
onClose: t[0] ||= (e) => a("close")
|
|
154
154
|
}, {
|
|
155
155
|
default: S(() => [
|
|
156
156
|
_(x(O), {
|
|
157
157
|
title: x(o).t("wise_invoicing.invoice.reject.title"),
|
|
158
158
|
description: x(o).t("wise_invoicing.invoice.reject.description"),
|
|
159
|
-
icon: x(
|
|
159
|
+
icon: x(i),
|
|
160
160
|
"icon-variant": "warning"
|
|
161
161
|
}, null, 8, [
|
|
162
162
|
"title",
|
|
@@ -266,7 +266,7 @@ var J = 26214400, Y = /* @__PURE__ */ v({
|
|
|
266
266
|
},
|
|
267
267
|
emits: ["close"],
|
|
268
268
|
setup(e, { emit: t }) {
|
|
269
|
-
let n = e, r = t,
|
|
269
|
+
let n = e, r = t, i = /* @__PURE__ */ new Set([
|
|
270
270
|
"application/pdf",
|
|
271
271
|
"image/png",
|
|
272
272
|
"image/jpeg"
|
|
@@ -295,7 +295,7 @@ var J = 26214400, Y = /* @__PURE__ */ v({
|
|
|
295
295
|
}
|
|
296
296
|
}), p = u.register("proofOfApproval"), h = u.register("remarks");
|
|
297
297
|
function v(e) {
|
|
298
|
-
return
|
|
298
|
+
return i.has(e.type) ? e.size > J ? o.t("wise_invoicing.invoice.approve.proof_too_large") : !0 : o.t("wise_invoicing.invoice.approve.proof_invalid_type");
|
|
299
299
|
}
|
|
300
300
|
return (e, t) => (b(), g(x(k), {
|
|
301
301
|
form: x(u),
|
|
@@ -306,7 +306,7 @@ var J = 26214400, Y = /* @__PURE__ */ v({
|
|
|
306
306
|
_(x(O), {
|
|
307
307
|
title: x(o).t("wise_invoicing.invoice.approve.title"),
|
|
308
308
|
description: x(o).t("wise_invoicing.invoice.approve.description"),
|
|
309
|
-
icon: x(
|
|
309
|
+
icon: x(a),
|
|
310
310
|
"icon-variant": "success"
|
|
311
311
|
}, null, 8, [
|
|
312
312
|
"title",
|
|
@@ -317,7 +317,7 @@ var J = 26214400, Y = /* @__PURE__ */ v({
|
|
|
317
317
|
default: S(() => [_(x(A), null, {
|
|
318
318
|
default: S(() => [_(f, null, {
|
|
319
319
|
default: S(() => [_(x(j), y(x(s)(x(p)), {
|
|
320
|
-
accept: Array.from(x(
|
|
320
|
+
accept: Array.from(x(i)),
|
|
321
321
|
description: x(o).t("wise_invoicing.invoice.approve.fields.proof_description"),
|
|
322
322
|
hint: x(o).t("wise_invoicing.invoice.approve.fields.proof_hint"),
|
|
323
323
|
"is-required": n.isProofOfApprovalRequired,
|