@wisemen/wise-invoicing-web 0.3.0 → 0.4.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 (68) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-DwtfyQpx.js → ApprovalReminderSettingsViewDataProvider-IuReavOR.js} +3 -3
  2. package/dist/{BillingDocumentDetailViewDataProvider-TJUwMhtn.js → BillingDocumentDetailViewDataProvider-B3I6UIKY.js} +2201 -1728
  3. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  4. package/dist/{BillingDocumentPdf-PU9Ldfhs.js → BillingDocumentPdf-rFqmLUPy.js} +226 -219
  5. package/dist/{CreditNoteDetailViewDataProvider-DOPmal5D.js → CreditNoteDetailViewDataProvider-CQRnG2Fz.js} +42 -42
  6. package/dist/{CreditNotePdfViewDataProvider-BH7MaReQ.js → CreditNotePdfViewDataProvider-RytwPWH5.js} +2 -2
  7. package/dist/{CustomFieldValueText-BjRVovZL.js → CustomFieldValueText-DA0aPKwC.js} +2 -2
  8. package/dist/{DunningCaseDetailViewDataProvider-CW8ijY3H.js → DunningCaseDetailViewDataProvider-BRYbYgTw.js} +65 -65
  9. package/dist/{DunningCaseOverviewView-Cfo-4VIw.js → DunningCaseOverviewView-D0vScVF1.js} +125 -125
  10. package/dist/{DunningCaseReminderPdfViewDataProvider-Dr-CS_VQ.js → DunningCaseReminderPdfViewDataProvider-I_ZQiAuK.js} +2 -2
  11. package/dist/{DunningCaseSendDialog-BYFXJYMM.js → DunningCaseSendDialog-CV66_tMv.js} +8 -8
  12. package/dist/{InvoiceApprovalOutOfSyncIndicator-CP2GLaeh.js → InvoiceApprovalOutOfSyncIndicator-AJOQe8j8.js} +2 -2
  13. package/dist/{InvoiceApprovalOverviewView-Cjdu9iZC.js → InvoiceApprovalOverviewView-CcMqr2jH.js} +213 -213
  14. package/dist/{InvoiceApprovalStatusBadge-CcX8agTF.js → InvoiceApprovalStatusBadge-BJ3Q18bf.js} +4 -4
  15. package/dist/{InvoiceApproveDialogDataProvider-4wNAetBn.js → InvoiceApproveDialogDataProvider-DaCEHgs0.js} +7 -7
  16. package/dist/{InvoiceDetailViewDataProvider-C9O3hXGo.js → InvoiceDetailViewDataProvider-B5uZY8Qy.js} +47 -47
  17. package/dist/{InvoiceOverviewViewDataProvider-DBdw7FvZ.js → InvoiceOverviewViewDataProvider-BrgmweRE.js} +57 -57
  18. package/dist/{InvoicePdfView-CvU9bRVd.js → InvoicePdfView-CPEX7E9W.js} +1 -1
  19. package/dist/{InvoicePdfViewDataProvider-CFjHQ58K.js → InvoicePdfViewDataProvider-T4-8A2OD.js} +3 -3
  20. package/dist/{InvoicePublicPdfViewDataProvider-DDv-LdBU.js → InvoicePublicPdfViewDataProvider-BkHZoPSZ.js} +3 -3
  21. package/dist/{InvoicePublicProFormaPdfViewDataProvider-BTjJnELb.js → InvoicePublicProFormaPdfViewDataProvider-CfkArXbC.js} +3 -3
  22. package/dist/{InvoicingFileUploadProvider-Kcq7kSSt.js → InvoicingFileUploadProvider-BLBjPKqx.js} +1 -1
  23. package/dist/{IssuerSettingsViewDataProvider-BuSIVnIl.js → IssuerSettingsViewDataProvider-BStn0jFI.js} +2 -2
  24. package/dist/{ReminderSettingsViewDataProvider-CH7gSXnj.js → ReminderSettingsViewDataProvider-CjX7afDs.js} +3 -3
  25. package/dist/{api.util-CkIRZS3h.js → api.util-D6m6OY3_.js} +15 -6
  26. package/dist/{billingDocumentDetail.transformer-Bfd8geNo.js → billingDocumentDetail.transformer-Da-Nt4bI.js} +37 -29
  27. package/dist/client/index.d.ts +1 -1
  28. package/dist/client/types.gen.d.ts +16 -2
  29. package/dist/client/zod.gen.d.ts +28 -0
  30. package/dist/{creditNoteDetail.query-tLnfqsEB.js → creditNoteDetail.query-Yb8TdZNm.js} +22 -18
  31. package/dist/{dist-D5agTXFI.js → dist-BpDuRYDT.js} +132 -132
  32. package/dist/{dist-boJIIxnT.js → dist-Cdbpkd3Y.js} +1 -1
  33. package/dist/{dist-BD7Allff.js → dist-DCbLgB6Y.js} +182 -102
  34. package/dist/{i18n.lib--mzprLMR.js → i18n.lib-CKs3ExEl.js} +28 -0
  35. package/dist/index.d.ts +28 -0
  36. package/dist/index.js +33 -32
  37. package/dist/{invoice.service-B1w16_Md.js → invoice.service-DWDl9XRh.js} +214 -209
  38. package/dist/{invoiceApproval.service-BHAJmFkU.js → invoiceApproval.service-Fwlxgd9o.js} +2 -2
  39. package/dist/{invoiceApprovalStatus.util-DohOKR4q.js → invoiceApprovalStatus.util-q-zHLdFV.js} +1 -1
  40. package/dist/{invoiceCustomer.service-DpVfpQUD.js → invoiceCustomer.service-DOexR54S.js} +2 -2
  41. package/dist/{invoiceDetail.query-CfyNSXLS.js → invoiceDetail.query-B5w0Vlsy.js} +1 -1
  42. package/dist/{invoiceIndexCache.util-jHsrFwcA.js → invoiceIndexCache.util-CUlp4R7R.js} +2 -2
  43. package/dist/{invoicingConfig.composable-COn1rKRf.js → invoicingConfig.composable-DjFexycc.js} +2 -2
  44. package/dist/{issuerSettings.query-CDFk2GiP.js → issuerSettings.query-BHuLjV9P.js} +1 -1
  45. package/dist/libs/i18n.lib.d.ts +28 -0
  46. package/dist/locales/en-US.json.d.ts +14 -0
  47. package/dist/locales/nl-BE.json.d.ts +14 -0
  48. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +1 -0
  49. package/dist/models/billing-document/billingDocumentLineGroup.util.d.ts +15 -0
  50. package/dist/models/billing-document/billingDocumentLineGroup.util.spec.d.ts +1 -0
  51. package/dist/models/billing-document/billingDocumentUpdateLines.model.d.ts +1 -0
  52. package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +1 -0
  53. package/dist/modules/invoice/use-cases/pdf/components/invoicePdf.types.d.ts +4 -1
  54. package/dist/modules/invoice/use-cases/pdf/utils/invoicePdf.util.d.ts +5 -0
  55. package/dist/{reminderConfig.query-DSO0ekC_.js → reminderConfig.query-C4J6m4ER.js} +1 -1
  56. package/dist/style.css +1 -1
  57. package/dist/types/apiError.type.d.ts +2 -2
  58. package/dist/ui/billing-document/table/BillingDocumentLineItemDeleteDialog.vue.d.ts +1 -0
  59. package/dist/ui/billing-document/table/BillingDocumentLineItemsInsertIndicator.vue.d.ts +3 -0
  60. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGroupRow.vue.d.ts +5 -2
  61. package/dist/ui/billing-document/table/BillingDocumentLineItemsTreeIndent.vue.d.ts +17 -0
  62. package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +78 -18
  63. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +14 -4
  64. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsKeyboardNav.composable.d.ts +6 -0
  65. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsRowMutations.composable.d.ts +8 -4
  66. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsTableDrag.composable.d.ts +16 -3
  67. package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +163 -26
  68. package/package.json +2 -2
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { ot as t, t as n } from "./api.util-CkIRZS3h.js";
2
+ import { ot as t, t as n } from "./api.util-D6m6OY3_.js";
3
3
  import { r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
4
4
  import { n as i } from "./src-DUSgQTKr.js";
5
5
  import { n as a, t as o } from "./address.transformer-jGddczLV.js";
6
6
  import { n as s, r as c, t as l } from "./plainDate.transformer-Bhiz9jW7.js";
7
- import { n as u, r as ee } from "./dist-boJIIxnT.js";
7
+ import { n as u, r as ee } from "./dist-Cdbpkd3Y.js";
8
8
  import { useI18n as d } from "vue-i18n";
9
9
  import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as te, createVNode as v, defineComponent as y, normalizeClass as b, onUnmounted as x, openBlock as S, renderList as C, toDisplayString as w, unref as T, withCtx as E } from "vue";
10
10
  import { useQuery as D } from "@wisemen/vue-core-api-utils";
@@ -1,8 +1,8 @@
1
- import { Q as e, Z as t, t as n } from "./api.util-CkIRZS3h.js";
1
+ import { Q as e, Z as t, t as n } from "./api.util-D6m6OY3_.js";
2
2
  import { r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
3
- import { n as i } from "./invoicingConfig.composable-COn1rKRf.js";
4
- import { n as a, r as o, t as s } from "./reminderConfig.query-DSO0ekC_.js";
5
- import { dt as c, et as l, f as u } from "./dist-BD7Allff.js";
3
+ import { n as i } from "./invoicingConfig.composable-DjFexycc.js";
4
+ import { n as a, r as o, t as s } from "./reminderConfig.query-C4J6m4ER.js";
5
+ import { gt as c, p as l, rt as u } from "./dist-DCbLgB6Y.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";
@@ -101,7 +101,7 @@ var X = /* @__PURE__ */ S({
101
101
  },
102
102
  setup(e) {
103
103
  let t = e, n = p(), r = {
104
- icon: l,
104
+ icon: u,
105
105
  type: "icon"
106
106
  };
107
107
  return (e, i) => t.blockedReason === null ? t.status === "failed" ? (w(), g(O(P), {
@@ -275,7 +275,7 @@ var Ne = {
275
275
  },
276
276
  emits: ["close"],
277
277
  setup(e, { emit: t }) {
278
- let n = e, r = t, a = p(), o = H(), s = i(), l = Z(), d = K(h(() => n.dunningCaseUuid)), b = h(() => d.result.value.isOk() ? d.result.value.getValue() : null), S = Me(h(() => b.value?.customer.uuid ?? null)), C = je(h(() => b.value?.level ?? null)), T = h(() => {
278
+ let n = e, r = t, a = p(), o = H(), s = i(), u = Z(), d = K(h(() => n.dunningCaseUuid)), b = h(() => d.result.value.isOk() ? d.result.value.getValue() : null), S = Me(h(() => b.value?.customer.uuid ?? null)), C = je(h(() => b.value?.level ?? null)), T = h(() => {
279
279
  let e = b.value?.customer.uuid;
280
280
  return e === void 0 ? null : s.getCustomerDetailRoute(e);
281
281
  }), E = h(() => b.value === null ? 0 : ce(b.value.invoices).length), k = h(() => typeof S.defaultEmail.value == "string" ? a.t("module.dunning_case.send.grouped_to", { email: S.defaultEmail.value }) : S.isMissing.value ? a.t("module.dunning_case.send.no_default_recipient") : a.t("module.dunning_case.send.description")), j = U({
@@ -285,7 +285,7 @@ var Ne = {
285
285
  o.show({ message: a.t("module.dunning_case.send.no_default_recipient_blocked") });
286
286
  return;
287
287
  }
288
- let e = await l.execute({ params: { dunningCaseUuid: n.dunningCaseUuid } });
288
+ let e = await u.execute({ params: { dunningCaseUuid: n.dunningCaseUuid } });
289
289
  if (e.isErr()) {
290
290
  o.apiError(e.error);
291
291
  return;
@@ -326,7 +326,7 @@ var Ne = {
326
326
  "dunning-case": b.value,
327
327
  subject: O(C)
328
328
  }, null, 8, ["dunning-case", "subject"]),
329
- y("div", Pe, [x(O(u), { class: "mt-xxs size-(--spacing-xl) shrink-0" }), y("p", Fe, D(O(a).t("module.dunning_case.send.impact", {
329
+ y("div", Pe, [x(O(l), { class: "mt-xxs size-(--spacing-xl) shrink-0" }), y("p", Fe, D(O(a).t("module.dunning_case.send.impact", {
330
330
  count: E.value,
331
331
  level: b.value.level
332
332
  })), 1)])
@@ -1,5 +1,5 @@
1
- import { et as e } from "./dist-BD7Allff.js";
2
- import { t } from "./invoiceCustomer.service-DpVfpQUD.js";
1
+ import { rt as e } from "./dist-DCbLgB6Y.js";
2
+ import { t } from "./invoiceCustomer.service-DOexR54S.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";