@wisemen/wise-invoicing-web 0.19.0 → 0.20.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.
Files changed (46) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-C1cI6KQq.js → ApprovalReminderSettingsViewDataProvider-DMWLX53_.js} +4 -4
  2. package/dist/{BillingDocumentDetailViewDataProvider-BZCFhsjA.js → BillingDocumentDetailViewDataProvider-jpp-QwPi.js} +1655 -1655
  3. package/dist/{BillingDocumentPdf-DMTwOlzG.js → BillingDocumentPdf-Zw3GXZVE.js} +9 -9
  4. package/dist/{DunningCaseSendDialog-DfMYo2LV.js → DunningCaseSendDialog-CA-nzjzV.js} +3 -3
  5. package/dist/{InvoiceApprovalOutOfSyncIndicator-BjlBhzNg.js → InvoiceApprovalOutOfSyncIndicator-Dnw03isr.js} +1 -1
  6. package/dist/{InvoiceApprovalOverviewView-BH5rJgk6.js → InvoiceApprovalOverviewView-CoJXggOy.js} +141 -141
  7. package/dist/{InvoiceApprovalStatusBadge-CaVSCtI0.js → InvoiceApprovalStatusBadge-BWx3Fhuy.js} +3 -3
  8. package/dist/{InvoicePdfView-DRqX3P-X.js → InvoicePdfView-Bv5aMLh6.js} +2 -2
  9. package/dist/{InvoicePublicProFormaPdfViewDataProvider-Dz2jGWVg.js → InvoicePublicProFormaPdfViewDataProvider-Ca7-AmAH.js} +3 -3
  10. package/dist/{InvoiceRejectDialog-_5i8eFuk.js → InvoiceRejectDialog-Ca-4nz4U.js} +7 -7
  11. package/dist/{InvoiceStatusBadge-BI41yxpr.js → InvoiceStatusBadge-uXAh9ypU.js} +23 -23
  12. package/dist/{InvoicingFileUploadProvider-rU9APFrt.js → InvoicingFileUploadProvider-C3cyIUhL.js} +2 -2
  13. package/dist/{IssuerSettingsViewDataProvider-nNg0lR7Y.js → IssuerSettingsViewDataProvider-C-CRF9sK.js} +66 -66
  14. package/dist/{PeppolSettingsViewDataProvider-CFelH70Q.js → PeppolSettingsViewDataProvider-COQEInsh.js} +3 -3
  15. package/dist/{api.util-sW4gNny-.js → api.util-DSerLsgA.js} +666 -648
  16. package/dist/billingDocumentDetail.transformer-ClWwi8h4.js +310 -0
  17. package/dist/client/index.d.ts +2 -2
  18. package/dist/client/sdk.gen.d.ts +5 -5
  19. package/dist/client/types.gen.d.ts +81 -46
  20. package/dist/client/zod.gen.d.ts +1304 -96
  21. package/dist/{creditNoteDetail.query-C4DvgGFR.js → creditNoteDetail.query-q1b6nzu0.js} +5 -5
  22. package/dist/{customFieldDefinitionIndex.query-BBqxMfvT.js → customFieldDefinitionIndex.query-DQxer9Je.js} +31 -31
  23. package/dist/{deliveryReason.util-KBh3q_-P.js → deliveryReason.util-BlxvUaz0.js} +2 -2
  24. package/dist/{documentTitle.composable-Dl8Cm3v3.js → documentTitle.composable-D5uPh3uG.js} +37 -35
  25. package/dist/{i18n.lib-DckceEsg.js → i18n.lib-DB15VQsH.js} +2 -0
  26. package/dist/index.d.ts +2 -0
  27. package/dist/index.js +1686 -1684
  28. package/dist/{invoice.service-v9uIoFgR.js → invoice.service-BKgP2p8z.js} +165 -164
  29. package/dist/{invoiceApproval.service-DXIKgCI_.js → invoiceApproval.service-oT1fvhsW.js} +5 -4
  30. package/dist/{invoiceApprovalStatus.util-CB5pi_hm.js → invoiceApprovalStatus.util-D17DWEh1.js} +29 -29
  31. package/dist/{invoiceCustomer.service-Bl4vN_U5.js → invoiceCustomer.service-CLYUR6vc.js} +2 -2
  32. package/dist/{invoiceDetail.query-MElhxTMM.js → invoiceDetail.query-CzyZqT82.js} +1 -1
  33. package/dist/{invoicingConfig.composable-D-hxnEnh.js → invoicingConfig.composable-CzgTMtog.js} +2 -2
  34. package/dist/{issuerSettings.query-CR7EtvNm.js → issuerSettings.query-D8T34N7f.js} +27 -27
  35. package/dist/libs/i18n.lib.d.ts +2 -0
  36. package/dist/locales/en-US.json.d.ts +1 -0
  37. package/dist/locales/nl-BE.json.d.ts +1 -0
  38. package/dist/modules/invoice/api/mutations/invoiceBulkSendApproval.mutation.d.ts +2 -2
  39. package/dist/modules/invoice/api/services/invoice.service.d.ts +3 -3
  40. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +2 -1
  41. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +1 -0
  42. package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.action.d.ts +1 -1
  43. package/dist/modules/invoice-approval/models/invoiceApprovalIndex.model.d.ts +2 -1
  44. package/dist/{reminderConfig.query-DJmhJp6W.js → reminderConfig.query-CFmCWWlO.js} +7 -7
  45. package/package.json +1 -1
  46. package/dist/billingDocumentDetail.transformer-Ifa6tWtE.js +0 -310
@@ -1,9 +1,9 @@
1
- import "./api.util-sW4gNny-.js";
2
- import { C as e, S as t } from "./documentTitle.composable-Dl8Cm3v3.js";
1
+ import "./api.util-DSerLsgA.js";
2
+ import { C as e, w as t } from "./documentTitle.composable-D5uPh3uG.js";
3
3
  import { n, t as r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
4
- import { n as i } from "./invoicingConfig.composable-D-hxnEnh.js";
4
+ import { n as i } from "./invoicingConfig.composable-CzgTMtog.js";
5
5
  import { n as a } from "./address.transformer-jGddczLV.js";
6
- import { i as o } from "./billingDocumentDetail.transformer-Ifa6tWtE.js";
6
+ import { i as o } from "./billingDocumentDetail.transformer-ClWwi8h4.js";
7
7
  import { bt as s } from "./dist-B33lNwLw.js";
8
8
  import { useI18n as c } from "vue-i18n";
9
9
  import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, normalizeClass as v, normalizeStyle as y, openBlock as b, renderList as x, renderSlot as S, toDisplayString as C, unref as w, withCtx as T } from "vue";
@@ -275,8 +275,8 @@ var A = class {
275
275
  invoice: {},
276
276
  pageType: {}
277
277
  },
278
- setup(t) {
279
- let n = t, r = c(), a = i(), o = u(() => r.locale.value || "en-US"), m = u(() => n.invoice.type === e.CREDIT_NOTE), h = u(() => m.value ? n.invoice.sequence === null ? r.t("wise_invoicing.credit_note.detail.fallback_title") : `${r.t("wise_invoicing.invoice.type.credit_note")} ${n.invoice.sequence}` : n.invoice.sequence ?? r.t("wise_invoicing.invoice.detail.fallback_title")), _ = u(() => {
278
+ setup(e) {
279
+ let n = e, r = c(), a = i(), o = u(() => r.locale.value || "en-US"), m = u(() => n.invoice.type === t.CREDIT_NOTE), h = u(() => m.value ? n.invoice.sequence === null ? r.t("wise_invoicing.credit_note.detail.fallback_title") : `${r.t("wise_invoicing.invoice.type.credit_note")} ${n.invoice.sequence}` : n.invoice.sequence ?? r.t("wise_invoicing.invoice.detail.fallback_title")), _ = u(() => {
280
280
  let e = n.invoice.originalInvoice?.sequence;
281
281
  return !m.value || n.pageType !== "first" || e === null ? null : `${r.t("wise_invoicing.invoice.type.standard")} ${e}`;
282
282
  }), v = u(() => (n.invoice.issuer.name ?? r.t("wise_invoicing.common.not_available")).split(" ").filter((e) => e !== "").slice(0, 2).map((e) => e.toUpperCase())), y = u(() => H.getAddressLines(n.invoice.customer.address)), S = u(() => {
@@ -576,8 +576,8 @@ var A = class {
576
576
  hasLines: { type: Boolean },
577
577
  invoice: {}
578
578
  },
579
- setup(t) {
580
- let n = t, r = c(), i = u(() => r.locale.value || "en-US"), a = u(() => n.invoice.type === e.CREDIT_NOTE);
579
+ setup(e) {
580
+ let n = e, r = c(), i = u(() => r.locale.value || "en-US"), a = u(() => n.invoice.type === t.CREDIT_NOTE);
581
581
  function o(e) {
582
582
  return {
583
583
  ...e,
@@ -762,7 +762,7 @@ var A = class {
762
762
  watermark: {}
763
763
  },
764
764
  setup(n) {
765
- let r = n, i = u(() => r.billingDocument.status === t.DRAFT || r.billingDocument.status === t.READY), a = u(() => r.billingDocument.type === e.CREDIT_NOTE), o = u(() => H.buildRows(r.billingDocument, { isCreditNote: a.value })), s = u(() => {
765
+ let r = n, i = u(() => r.billingDocument.status === e.DRAFT || r.billingDocument.status === e.READY), a = u(() => r.billingDocument.type === t.CREDIT_NOTE), o = u(() => H.buildRows(r.billingDocument, { isCreditNote: a.value })), s = u(() => {
766
766
  let e = H.paginateRows(o.value, { hasRemarks: r.billingDocument.externalRemarks !== null && r.billingDocument.externalRemarks.trim() !== "" });
767
767
  return e.map((t, n) => ({
768
768
  isLastPage: n === e.length - 1,
@@ -1,8 +1,8 @@
1
- import { it as e, rt as t, t as n } from "./api.util-sW4gNny-.js";
1
+ import { it as e, rt as t, t as n } from "./api.util-DSerLsgA.js";
2
2
  import { r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
3
- import { n as i } from "./invoicingConfig.composable-D-hxnEnh.js";
3
+ import { n as i } from "./invoicingConfig.composable-CzgTMtog.js";
4
4
  import { Tt as a, ft as o, m as s } from "./dist-B33lNwLw.js";
5
- import { n as c, r as l, t as u } from "./reminderConfig.query-DJmhJp6W.js";
5
+ import { n as c, r as l, t as u } from "./reminderConfig.query-CFmCWWlO.js";
6
6
  import { t as d } from "./customerUuid.model-ClN4Vi9n.js";
7
7
  import { z as f } from "zod";
8
8
  import { useI18n as p } from "vue-i18n";
@@ -1,5 +1,5 @@
1
1
  import { ft as e } from "./dist-B33lNwLw.js";
2
- import { t } from "./invoiceCustomer.service-Bl4vN_U5.js";
2
+ import { t } from "./invoiceCustomer.service-CLYUR6vc.js";
3
3
  import { useI18n as n } from "vue-i18n";
4
4
  import { computed as r, createBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
5
5
  import { useOffsetInfiniteQuery as u } from "@wisemen/vue-core-api-utils";