@wisemen/wise-invoicing-web 0.3.1 → 0.5.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 (69) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-DwtfyQpx.js → ApprovalReminderSettingsViewDataProvider-CD0Seawd.js} +3 -3
  2. package/dist/{BillingDocumentDetailViewDataProvider-Dub07ybW.js → BillingDocumentDetailViewDataProvider-BgVYrLu8.js} +2282 -1784
  3. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  4. package/dist/{BillingDocumentPdf-DgtUB45R.js → BillingDocumentPdf-LYvPMzYT.js} +226 -219
  5. package/dist/{CreditNoteDetailViewDataProvider-BxNfC6yO.js → CreditNoteDetailViewDataProvider-CpSIbMM2.js} +41 -41
  6. package/dist/{CreditNotePdfViewDataProvider-D0j8qqK-.js → CreditNotePdfViewDataProvider-Dtnu9gS3.js} +2 -2
  7. package/dist/{CustomFieldValueText-Cuhs9sRn.js → CustomFieldValueText-DA0aPKwC.js} +1 -1
  8. package/dist/{DunningCaseDetailViewDataProvider-ou1FfNWQ.js → DunningCaseDetailViewDataProvider-DutSCkco.js} +64 -64
  9. package/dist/{DunningCaseOverviewView--zaPD0-c.js → DunningCaseOverviewView-D8o4VMQD.js} +125 -125
  10. package/dist/{DunningCaseReminderPdfViewDataProvider-BpUDbbSH.js → DunningCaseReminderPdfViewDataProvider-I_ZQiAuK.js} +1 -1
  11. package/dist/{DunningCaseSendDialog-Co4oLFtZ.js → DunningCaseSendDialog-DGg7bXeZ.js} +8 -8
  12. package/dist/{InvoiceApprovalOutOfSyncIndicator-H6H7kjAE.js → InvoiceApprovalOutOfSyncIndicator-AJOQe8j8.js} +2 -2
  13. package/dist/{InvoiceApprovalOverviewView-Bw-6rkon.js → InvoiceApprovalOverviewView-C4MI4IqD.js} +213 -213
  14. package/dist/{InvoiceApprovalStatusBadge-IyzJ--TJ.js → InvoiceApprovalStatusBadge-BJ3Q18bf.js} +3 -3
  15. package/dist/{InvoiceApproveDialogDataProvider-8G-11W1e.js → InvoiceApproveDialogDataProvider-CMZ0zDZo.js} +7 -7
  16. package/dist/{InvoiceDetailViewDataProvider-B9gul2ei.js → InvoiceDetailViewDataProvider-k1yIeHYP.js} +46 -46
  17. package/dist/{InvoiceOverviewViewDataProvider-5KgIdhfL.js → InvoiceOverviewViewDataProvider-BrgmweRE.js} +57 -57
  18. package/dist/{InvoicePdfView-5sJ-u_gT.js → InvoicePdfView-CB8gx8TE.js} +1 -1
  19. package/dist/{InvoicePdfViewDataProvider-BLVXDPv6.js → InvoicePdfViewDataProvider-Cs4Gqa0h.js} +3 -3
  20. package/dist/{InvoicePublicPdfViewDataProvider-CnhYazmB.js → InvoicePublicPdfViewDataProvider-BaSvVJ8W.js} +3 -3
  21. package/dist/{InvoicePublicProFormaPdfViewDataProvider-CcvGISK6.js → InvoicePublicProFormaPdfViewDataProvider-S3N9E91M.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-BotrOSmS.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-CGZBUnWK.js → dist-BpDuRYDT.js} +130 -130
  32. package/dist/{dist-BQbaoN5W.js → dist-DCbLgB6Y.js} +181 -101
  33. package/dist/{i18n.lib--mzprLMR.js → i18n.lib-DBxdqkbJ.js} +30 -0
  34. package/dist/index.d.ts +30 -0
  35. package/dist/index.js +32 -31
  36. package/dist/{invoice.service-B1w16_Md.js → invoice.service-DWDl9XRh.js} +214 -209
  37. package/dist/{invoiceApproval.service-BHAJmFkU.js → invoiceApproval.service-Fwlxgd9o.js} +2 -2
  38. package/dist/{invoiceApprovalStatus.util-DohOKR4q.js → invoiceApprovalStatus.util-q-zHLdFV.js} +1 -1
  39. package/dist/{invoiceCustomer.service-DpVfpQUD.js → invoiceCustomer.service-DOexR54S.js} +2 -2
  40. package/dist/{invoiceDetail.query-CfyNSXLS.js → invoiceDetail.query-B5w0Vlsy.js} +1 -1
  41. package/dist/{invoiceIndexCache.util-BDLs7W9m.js → invoiceIndexCache.util-CUlp4R7R.js} +2 -2
  42. package/dist/{invoicingConfig.composable-COn1rKRf.js → invoicingConfig.composable-CaWQMTP1.js} +2 -2
  43. package/dist/{issuerSettings.query-CDFk2GiP.js → issuerSettings.query-BHuLjV9P.js} +1 -1
  44. package/dist/libs/i18n.lib.d.ts +30 -0
  45. package/dist/locales/en-US.json.d.ts +15 -0
  46. package/dist/locales/nl-BE.json.d.ts +15 -0
  47. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +1 -0
  48. package/dist/models/billing-document/billingDocumentLineGroup.util.d.ts +15 -0
  49. package/dist/models/billing-document/billingDocumentLineGroup.util.spec.d.ts +1 -0
  50. package/dist/models/billing-document/billingDocumentUpdateLines.model.d.ts +1 -0
  51. package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +1 -0
  52. package/dist/modules/invoice/use-cases/pdf/components/invoicePdf.types.d.ts +4 -1
  53. package/dist/modules/invoice/use-cases/pdf/utils/invoicePdf.util.d.ts +5 -0
  54. package/dist/{reminderConfig.query-DSO0ekC_.js → reminderConfig.query-C4J6m4ER.js} +1 -1
  55. package/dist/style.css +1 -1
  56. package/dist/types/apiError.type.d.ts +2 -2
  57. package/dist/ui/billing-document/table/BillingDocumentLineItemDeleteDialog.vue.d.ts +1 -0
  58. package/dist/ui/billing-document/table/BillingDocumentLineItemsInsertIndicator.vue.d.ts +3 -0
  59. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGroupRow.vue.d.ts +9 -2
  60. package/dist/ui/billing-document/table/BillingDocumentLineItemsTreeIndent.vue.d.ts +19 -0
  61. package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +60 -18
  62. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +11 -4
  63. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsKeyboardNav.composable.d.ts +6 -0
  64. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsRowMutations.composable.d.ts +8 -4
  65. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsTableDrag.composable.d.ts +16 -3
  66. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableField.vue.d.ts +3 -0
  67. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableTextField.vue.d.ts +1 -0
  68. package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +169 -26
  69. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { t } from "./documentTitle.composable-CRJjS6p-.js";
3
3
  import { r as n } from "./useCurrencyFormat.composable-MtZaqKnO.js";
4
- import { n as r } from "./invoicingConfig.composable-COn1rKRf.js";
4
+ import { n as r } from "./invoicingConfig.composable-CaWQMTP1.js";
5
5
  import { t as i } from "./search.composable-CU9OpyUB.js";
6
- import { n as a, r as o } from "./reminderConfig.query-DSO0ekC_.js";
7
- import { B as s, P as c, T as l, c as u, dt as d, l as f, lt as p } from "./dist-BQbaoN5W.js";
8
- import { a as m, n as h, r as g, s as _, t as v } from "./DunningCaseSendDialog-Co4oLFtZ.js";
6
+ import { n as a, r as o } from "./reminderConfig.query-C4J6m4ER.js";
7
+ import { L as s, O as c, U as l, c as u, gt as d, l as f, mt as p } from "./dist-DCbLgB6Y.js";
8
+ import { a as m, n as h, r as g, s as _, t as v } from "./DunningCaseSendDialog-DGg7bXeZ.js";
9
9
  import { n as ee } from "./customerUuid.model-ClN4Vi9n.js";
10
- import { f as y, i as b, n as te, o as ne, r as x, s as re } from "./dist-CGZBUnWK.js";
11
- import { z as ie } from "zod";
12
- import { useI18n as S } from "vue-i18n";
13
- import { Fragment as C, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createVNode as k, defineComponent as A, nextTick as j, normalizeClass as M, normalizeStyle as ae, onMounted as N, openBlock as P, ref as F, renderList as I, toDisplayString as L, unref as R, watch as z, withCtx as B } from "vue";
14
- import { useMutation as oe, useOffsetInfiniteQuery as V } from "@wisemen/vue-core-api-utils";
10
+ import { f as y, i as b, n as te, o as ne, r as x, s as re } from "./dist-BpDuRYDT.js";
11
+ import { z as S } from "zod";
12
+ import { useI18n as C } from "vue-i18n";
13
+ import { Fragment as w, computed as T, createBlock as E, createCommentVNode as D, createElementBlock as O, createElementVNode as k, createVNode as A, defineComponent as j, nextTick as M, normalizeClass as N, normalizeStyle as ie, onMounted as ae, openBlock as P, ref as F, renderList as I, toDisplayString as L, unref as R, watch as oe, withCtx as z } from "vue";
14
+ import { useMutation as B, useOffsetInfiniteQuery as V } from "@wisemen/vue-core-api-utils";
15
15
  import { useRouter as H } from "vue-router";
16
16
  import { Temporal as U } from "temporal-polyfill";
17
17
  import { UIBadge as W, UIButton as G, UIDashboardPage as se, UIDialogBody as K, UIDialogFooter as q, UIDialogFooterCancel as J, UIDialogFooterPrimary as Y, UIDialogHeader as X, UIFormDialog as ce, UITable as le, UITableCell as Z, UITableCellInteractiveElement as ue, UITabs as de, UITabsItem as fe, UITabsList as pe, createComponent as Q, defineTableColumns as me, useOverlay as he, useToast as ge } from "@wisemen/vue-core-design-system";
@@ -19,14 +19,14 @@ import { createAction as _e } from "@wisemen/vue-core-actions";
19
19
  import { useForm as ve } from "formango";
20
20
  //#region src/modules/dunning-case/api/queries/dunningCaseIndex.query.ts
21
21
  function $(e) {
22
- let t = w(() => ({
22
+ let t = T(() => ({
23
23
  customerUuid: e.params.customerUuid?.value,
24
24
  isOpen: e.params.isOpen?.value,
25
25
  dunningCaseUuids: e.params.dunningCaseUuids?.value,
26
26
  level: e.params.level?.value
27
27
  }));
28
28
  return V("dunningCaseIndex", {
29
- isEnabled: w(() => e.isEnabled?.value ?? !0),
29
+ isEnabled: T(() => e.isEnabled?.value ?? !0),
30
30
  params: { queryParams: t },
31
31
  queryFn: (e) => o.getAll({
32
32
  ...t.value,
@@ -37,7 +37,7 @@ function $(e) {
37
37
  //#endregion
38
38
  //#region src/modules/dunning-case/actions/dunningCaseNavigateToCustomer.action.ts
39
39
  function ye() {
40
- let e = S(), t = H(), n = r();
40
+ let e = C(), t = H(), n = r();
41
41
  return _e({
42
42
  id: "dunning-case-navigate-to-customer",
43
43
  isApplicable: (e) => {
@@ -55,7 +55,7 @@ function ye() {
55
55
  //#endregion
56
56
  //#region src/modules/dunning-case/actions/dunningCaseNavigateToDetail.action.ts
57
57
  function be() {
58
- let e = S(), t = H();
58
+ let e = C(), t = H();
59
59
  return _e({
60
60
  id: "dunning-case-navigate-to-detail",
61
61
  isApplicable: (e) => e.hasTargetedModelsOfType("DunningCase"),
@@ -67,12 +67,12 @@ function be() {
67
67
  params: { dunningCaseUuid: n.uuid }
68
68
  });
69
69
  },
70
- icon: () => c
70
+ icon: () => s
71
71
  });
72
72
  }
73
73
  //#endregion
74
74
  //#region src/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewMetrics.vue?vue&type=script&setup=true&lang.ts
75
- var xe = ["aria-label"], Se = { class: "text-xs font-semibold text-secondary uppercase" }, Ce = { class: "mt-xl font-mono text-4xl font-semibold text-primary" }, we = { class: "mt-xs text-sm text-secondary" }, Te = { class: "lg:col-span-2" }, Ee = { class: "flex h-1.5 w-full overflow-hidden rounded-full bg-secondary" }, De = { class: "mt-xl grid grid-cols-1 gap-md sm:grid-cols-3" }, Oe = { class: "flex min-w-0 items-center gap-sm" }, ke = { class: "truncate text-sm text-secondary" }, Ae = { class: "shrink-0 font-mono text-sm font-semibold text-primary tabular-nums" }, je = /* @__PURE__ */ A({
75
+ var xe = ["aria-label"], Se = { class: "text-xs font-semibold text-secondary uppercase" }, Ce = { class: "mt-xl font-mono text-4xl font-semibold text-primary" }, we = { class: "mt-xs text-sm text-secondary" }, Te = { class: "lg:col-span-2" }, Ee = { class: "flex h-1.5 w-full overflow-hidden rounded-full bg-secondary" }, De = { class: "mt-xl grid grid-cols-1 gap-md sm:grid-cols-3" }, Oe = { class: "flex min-w-0 items-center gap-sm" }, ke = { class: "truncate text-sm text-secondary" }, Ae = { class: "shrink-0 font-mono text-sm font-semibold text-primary tabular-nums" }, je = /* @__PURE__ */ j({
76
76
  __name: "DunningCaseOverviewMetrics",
77
77
  props: {
78
78
  hasLevelCountError: { type: Boolean },
@@ -80,33 +80,33 @@ var xe = ["aria-label"], Se = { class: "text-xs font-semibold text-secondary upp
80
80
  levelCountTotal: {}
81
81
  },
82
82
  setup(e) {
83
- let t = e, n = S(), r = w(() => t.hasLevelCountError ? n.t("module.dunning_case.overview.metrics_unavailable") : t.levelCountTotal === null ? n.t("module.dunning_case.common.loading") : n.t("module.dunning_case.overview.case_count", { count: t.levelCountTotal }));
83
+ let t = e, n = C(), r = T(() => t.hasLevelCountError ? n.t("module.dunning_case.overview.metrics_unavailable") : t.levelCountTotal === null ? n.t("module.dunning_case.common.loading") : n.t("module.dunning_case.overview.case_count", { count: t.levelCountTotal }));
84
84
  function i(e) {
85
85
  return e === 0 ? n.t("module.dunning_case.level.none") : n.t("module.dunning_case.level.reminder", { level: e });
86
86
  }
87
- return (t, a) => (P(), D("section", {
87
+ return (t, a) => (P(), O("section", {
88
88
  "aria-label": R(n).t("module.dunning_case.overview.levels"),
89
89
  class: "grid min-w-0 grid-cols-1 gap-2xl rounded-lg border border-secondary bg-primary p-2xl shadow-sm lg:grid-cols-3 lg:items-center"
90
- }, [O("div", null, [
91
- O("p", Se, L(R(n).t("module.dunning_case.overview.levels")), 1),
92
- O("p", Ce, L(e.levelCountTotal ?? "—"), 1),
93
- O("p", we, L(r.value), 1)
94
- ]), O("div", Te, [O("div", Ee, [(P(!0), D(C, null, I(e.levelCounts, (e, t) => (P(), D("span", {
90
+ }, [k("div", null, [
91
+ k("p", Se, L(R(n).t("module.dunning_case.overview.levels")), 1),
92
+ k("p", Ce, L(e.levelCountTotal ?? "—"), 1),
93
+ k("p", we, L(r.value), 1)
94
+ ]), k("div", Te, [k("div", Ee, [(P(!0), O(w, null, I(e.levelCounts, (e, t) => (P(), O("span", {
95
95
  key: t,
96
- class: M({
96
+ class: N({
97
97
  "bg-brand-500": t === 0,
98
98
  "bg-error-solid": t === 2,
99
99
  "bg-warning-solid": t === 1
100
100
  }),
101
- style: ae({ flexGrow: e ?? 0 })
102
- }, null, 6))), 128))]), O("div", De, [(P(!0), D(C, null, I(e.levelCounts, (e, t) => (P(), D("div", {
101
+ style: ie({ flexGrow: e ?? 0 })
102
+ }, null, 6))), 128))]), k("div", De, [(P(!0), O(w, null, I(e.levelCounts, (e, t) => (P(), O("div", {
103
103
  key: t,
104
104
  class: "flex items-center justify-between gap-xl"
105
- }, [O("div", Oe, [O("span", { class: M([{
105
+ }, [k("div", Oe, [k("span", { class: N([{
106
106
  "bg-brand-500": t === 0,
107
107
  "bg-error-solid": t === 2,
108
108
  "bg-warning-solid": t === 1
109
- }, "size-2 shrink-0 rounded-full"]) }, null, 2), O("p", ke, L(i(t + 1)), 1)]), O("p", Ae, L(e ?? "—"), 1)]))), 128))])])], 8, xe));
109
+ }, "size-2 shrink-0 rounded-full"]) }, null, 2), k("p", ke, L(i(t + 1)), 1)]), k("p", Ae, L(e ?? "—"), 1)]))), 128))])])], 8, xe));
110
110
  }
111
111
  }), Me = {
112
112
  uuid: "00000000-0000-4000-8000-000000000000",
@@ -119,21 +119,21 @@ function Ne(e, t) {
119
119
  return e.uuid === t.uuid && n && e.hasErrors === t.hasErrors;
120
120
  }
121
121
  function Pe(e) {
122
- let t = w(() => !0), { isFetchingNextPage: n, isLoading: r, fetchNextPage: i, refetch: a, result: o } = $({ params: {
122
+ let t = T(() => !0), { isFetchingNextPage: n, isLoading: r, fetchNextPage: i, refetch: a, result: o } = $({ params: {
123
123
  customerUuid: e.customerUuid,
124
124
  isOpen: t,
125
- level: w(() => e.activeLevel.value ?? void 0)
125
+ level: T(() => e.activeLevel.value ?? void 0)
126
126
  } });
127
127
  function s() {
128
128
  return o.value.isOk() ? o.value.getValue().data : [];
129
129
  }
130
- let c = F(/* @__PURE__ */ new Map()), l = w(() => s().map((e) => {
130
+ let c = F(/* @__PURE__ */ new Map()), l = T(() => s().map((e) => {
131
131
  let t = c.value.get(e.uuid);
132
132
  return t !== void 0 && Ne(e.latestCreatedReminder, t) ? {
133
133
  ...e,
134
134
  latestCreatedReminder: Me
135
135
  } : e;
136
- })), u = w(() => o.value.isErr() ? o.value.getError() : null);
136
+ })), u = T(() => o.value.isErr() ? o.value.getError() : null);
137
137
  ee({
138
138
  refetch: a,
139
139
  sendingUuids: () => l.value.filter((e) => m(e.latestCreatedReminder) === "sending").map((e) => e.uuid),
@@ -144,24 +144,24 @@ function Pe(e) {
144
144
  let d = $({ params: {
145
145
  customerUuid: e.customerUuid,
146
146
  isOpen: t,
147
- level: w(() => 1)
147
+ level: T(() => 1)
148
148
  } }), f = $({ params: {
149
149
  customerUuid: e.customerUuid,
150
150
  isOpen: t,
151
- level: w(() => 2)
151
+ level: T(() => 2)
152
152
  } }), p = $({ params: {
153
153
  customerUuid: e.customerUuid,
154
154
  isOpen: t,
155
- level: w(() => 3)
156
- } }), h = w(() => [
155
+ level: T(() => 3)
156
+ } }), h = T(() => [
157
157
  d,
158
158
  f,
159
159
  p
160
- ].map((e) => e.result.value.isOk() ? e.result.value.getValue().meta.total : null)), g = w(() => [
160
+ ].map((e) => e.result.value.isOk() ? e.result.value.getValue().meta.total : null)), g = T(() => [
161
161
  d,
162
162
  f,
163
163
  p
164
- ].some((e) => e.result.value.isErr())), _ = w(() => h.value.every((e) => e !== null) ? h.value.reduce((e, t) => e + t, 0) : null);
164
+ ].some((e) => e.result.value.isErr())), _ = T(() => h.value.every((e) => e !== null) ? h.value.reduce((e, t) => e + t, 0) : null);
165
165
  function v() {
166
166
  let e = s();
167
167
  return (t) => {
@@ -185,7 +185,7 @@ function Pe(e) {
185
185
  //#endregion
186
186
  //#region src/modules/dunning-case/api/queries/dunningCaseCustomerIndex.query.ts
187
187
  function Fe(e) {
188
- let t = w(() => ({ search: e.params.search?.value }));
188
+ let t = T(() => ({ search: e.params.search?.value }));
189
189
  return V("dunningCaseCustomerIndex", {
190
190
  params: { queryParams: t },
191
191
  queryFn: (e) => _.getAll(t.value.search, e)
@@ -194,7 +194,7 @@ function Fe(e) {
194
194
  //#endregion
195
195
  //#region src/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewFilters.composable.ts
196
196
  function Ie() {
197
- let e = S(), t = i({ debounceMs: 250 }), n = Fe({ params: { search: t.debouncedSearch } }), r = w(() => n.result.value.isOk() ? n.result.value.getValue().data : []), a = b({
197
+ let e = C(), t = i({ debounceMs: 250 }), n = Fe({ params: { search: t.debouncedSearch } }), r = T(() => n.result.value.isOk() ? n.result.value.getValue().data : []), a = b({
198
198
  actionGroup: { name: "dunning-cases" },
199
199
  filters: [y({
200
200
  defaultValue: {
@@ -205,10 +205,10 @@ function Ie() {
205
205
  displayFn: (e) => r.value.find((t) => t.uuid === e)?.name ?? e,
206
206
  key: "customerUuids",
207
207
  label: e.t("module.dunning_case.overview.filter_customer"),
208
- options: async (e) => a.values.value.customerUuids.value.length > 0 ? [] : (t.updateSearch(e), await j(), r.value.map((e) => e.uuid))
208
+ options: async (e) => a.values.value.customerUuids.value.length > 0 ? [] : (t.updateSearch(e), await M(), r.value.map((e) => e.uuid))
209
209
  })]
210
210
  });
211
- return z(() => a.values.value.customerUuids, (e) => {
211
+ return oe(() => a.values.value.customerUuids, (e) => {
212
212
  (e.operator !== x.INCLUDES || e.value.length > 1) && (a.values.value.customerUuids = {
213
213
  operator: x.INCLUDES,
214
214
  value: e.value.slice(-1)
@@ -217,13 +217,13 @@ function Ie() {
217
217
  deep: !0,
218
218
  immediate: !0
219
219
  }), {
220
- customerUuid: w(() => a.values.value.customerUuids.value[0]),
220
+ customerUuid: T(() => a.values.value.customerUuids.value[0]),
221
221
  filters: a
222
222
  };
223
223
  }
224
224
  //#endregion
225
225
  //#region src/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewActionsCell.vue?vue&type=script&setup=true&lang.ts
226
- var Le = { class: "flex w-full items-center justify-end gap-xs" }, Re = /* @__PURE__ */ A({
226
+ var Le = { class: "flex w-full items-center justify-end gap-xs" }, Re = /* @__PURE__ */ j({
227
227
  __name: "DunningCaseOverviewActionsCell",
228
228
  props: { item: {} },
229
229
  emits: [
@@ -232,20 +232,20 @@ var Le = { class: "flex w-full items-center justify-end gap-xs" }, Re = /* @__PU
232
232
  "viewCustomer"
233
233
  ],
234
234
  setup(e, { emit: t }) {
235
- let n = e, i = t, a = S(), o = r(), s = w(() => o.getCustomerDetailRoute(n.item.customer.uuid)), c = w(() => n.item.blockedReason !== null), u = w(() => m(n.item.latestCreatedReminder)), f = w(() => n.item.canRetryReminder ? a.t("module.dunning_case.overview.retry") : c.value ? a.t("module.dunning_case.overview.blocked") : n.item.nextReminderOn === null ? a.t("module.dunning_case.overview.not_scheduled") : a.t("module.dunning_case.overview.send"));
236
- return (t, n) => (P(), T(R(Z), null, {
237
- default: B(() => [k(R(ue), { class: "w-full" }, {
238
- default: B(() => [O("div", Le, [c.value && s.value !== null ? (P(), T(R(G), {
235
+ let n = e, i = t, a = C(), o = r(), s = T(() => o.getCustomerDetailRoute(n.item.customer.uuid)), l = T(() => n.item.blockedReason !== null), u = T(() => m(n.item.latestCreatedReminder)), f = T(() => n.item.canRetryReminder ? a.t("module.dunning_case.overview.retry") : l.value ? a.t("module.dunning_case.overview.blocked") : n.item.nextReminderOn === null ? a.t("module.dunning_case.overview.not_scheduled") : a.t("module.dunning_case.overview.send"));
236
+ return (t, n) => (P(), E(R(Z), null, {
237
+ default: z(() => [A(R(ue), { class: "w-full" }, {
238
+ default: z(() => [k("div", Le, [l.value && s.value !== null ? (P(), E(R(G), {
239
239
  key: 0,
240
- "icon-right": R(l),
240
+ "icon-right": R(c),
241
241
  label: R(a).t("module.dunning_case.overview.fix"),
242
242
  size: "sm",
243
243
  variant: "secondary",
244
244
  onClick: n[0] ||= (e) => i("viewCustomer")
245
- }, null, 8, ["icon-right", "label"])) : (P(), T(R(G), {
245
+ }, null, 8, ["icon-right", "label"])) : (P(), E(R(G), {
246
246
  key: 1,
247
247
  "icon-right": e.item.canSendReminder || e.item.canRetryReminder ? R(d) : void 0,
248
- "is-disabled": c.value || !e.item.canSendReminder && !e.item.canRetryReminder,
248
+ "is-disabled": l.value || !e.item.canSendReminder && !e.item.canRetryReminder,
249
249
  "is-loading": u.value === "sending",
250
250
  label: f.value,
251
251
  size: "sm",
@@ -262,21 +262,21 @@ var Le = { class: "flex w-full items-center justify-end gap-xs" }, Re = /* @__PU
262
262
  _: 1
263
263
  }));
264
264
  }
265
- }), ze = { class: "truncate text-sm font-medium text-primary" }, Be = /* @__PURE__ */ A({
265
+ }), ze = { class: "truncate text-sm font-medium text-primary" }, Be = /* @__PURE__ */ j({
266
266
  __name: "DunningCaseOverviewCustomerCell",
267
267
  props: { item: {} },
268
268
  setup(e) {
269
- return (t, n) => (P(), T(R(Z), null, {
270
- default: B(() => [O("span", ze, L(e.item.customer.name), 1)]),
269
+ return (t, n) => (P(), E(R(Z), null, {
270
+ default: z(() => [k("span", ze, L(e.item.customer.name), 1)]),
271
271
  _: 1
272
272
  }));
273
273
  }
274
- }), Ve = /* @__PURE__ */ A({
274
+ }), Ve = /* @__PURE__ */ j({
275
275
  __name: "DunningCaseOverviewDaysOverdueCell",
276
276
  props: { item: {} },
277
277
  setup(e) {
278
- return (t, n) => (P(), T(R(Z), null, {
279
- default: B(() => [O("span", { class: M([{
278
+ return (t, n) => (P(), E(R(Z), null, {
279
+ default: z(() => [k("span", { class: N([{
280
280
  "text-error-primary": e.item.level === 3,
281
281
  "text-primary": e.item.level !== 3
282
282
  }, "w-full text-right font-mono text-sm tabular-nums"]) }, L(e.item.daysOverdue), 3)]),
@@ -286,11 +286,11 @@ var Le = { class: "flex w-full items-center justify-end gap-xs" }, Re = /* @__PU
286
286
  }), He = {
287
287
  key: 0,
288
288
  class: "font-mono text-xs text-secondary tabular-nums"
289
- }, Ue = /* @__PURE__ */ A({
289
+ }, Ue = /* @__PURE__ */ j({
290
290
  __name: "DunningCaseOverviewLastReminderCell",
291
291
  props: { item: {} },
292
292
  setup(e) {
293
- let t = e, n = S(), r = w(() => {
293
+ let t = e, n = C(), r = T(() => {
294
294
  if (t.item.level === null) return null;
295
295
  if (t.item.lastReminderSentAt === null) return n.t("module.dunning_case.overview.last_reminder_not_sent");
296
296
  let e = U.Now.instant().epochMilliseconds - t.item.lastReminderSentAt.epochMilliseconds, r = Math.floor(e / 36e5);
@@ -302,45 +302,45 @@ var Le = { class: "flex w-full items-center justify-end gap-xs" }, Re = /* @__PU
302
302
  level: t.item.level
303
303
  });
304
304
  });
305
- return (e, t) => (P(), T(R(Z), null, {
306
- default: B(() => [r.value === null ? E("", !0) : (P(), D("span", He, L(r.value), 1))]),
305
+ return (e, t) => (P(), E(R(Z), null, {
306
+ default: z(() => [r.value === null ? D("", !0) : (P(), O("span", He, L(r.value), 1))]),
307
307
  _: 1
308
308
  }));
309
309
  }
310
310
  }), We = {
311
311
  key: 0,
312
312
  class: "flex min-w-0 items-center gap-sm"
313
- }, Ge = { class: "truncate text-xs text-primary" }, Ke = /* @__PURE__ */ A({
313
+ }, Ge = { class: "truncate text-xs text-primary" }, Ke = /* @__PURE__ */ j({
314
314
  __name: "DunningCaseOverviewLevelCell",
315
315
  props: { item: {} },
316
316
  setup(e) {
317
- let t = S();
317
+ let t = C();
318
318
  function n(e) {
319
319
  return e === 0 ? t.t("module.dunning_case.level.none") : t.t("module.dunning_case.level.reminder", { level: e });
320
320
  }
321
- return (t, r) => (P(), T(R(Z), null, {
322
- default: B(() => [e.item.level === null ? E("", !0) : (P(), D("div", We, [k(a, {
321
+ return (t, r) => (P(), E(R(Z), null, {
322
+ default: z(() => [e.item.level === null ? D("", !0) : (P(), O("div", We, [A(a, {
323
323
  level: e.item.level,
324
324
  size: "sm"
325
- }, null, 8, ["level"]), O("span", Ge, L(n(e.item.level)), 1)]))]),
325
+ }, null, 8, ["level"]), k("span", Ge, L(n(e.item.level)), 1)]))]),
326
326
  _: 1
327
327
  }));
328
328
  }
329
- }), qe = { class: "w-full text-right font-mono text-sm font-medium text-primary tabular-nums" }, Je = /* @__PURE__ */ A({
329
+ }), qe = { class: "w-full text-right font-mono text-sm font-medium text-primary tabular-nums" }, Je = /* @__PURE__ */ j({
330
330
  __name: "DunningCaseOverviewOutstandingCell",
331
331
  props: { item: {} },
332
332
  setup(e) {
333
333
  let t = n();
334
- return (n, r) => (P(), T(R(Z), null, {
335
- default: B(() => [O("span", qe, L(R(t).formatMonetary(e.item.outstandingBalance)), 1)]),
334
+ return (n, r) => (P(), E(R(Z), null, {
335
+ default: z(() => [k("span", qe, L(R(t).formatMonetary(e.item.outstandingBalance)), 1)]),
336
336
  _: 1
337
337
  }));
338
338
  }
339
- }), Ye = { class: "flex flex-col items-start gap-xxs" }, Xe = /* @__PURE__ */ A({
339
+ }), Ye = { class: "flex flex-col items-start gap-xxs" }, Xe = /* @__PURE__ */ j({
340
340
  __name: "DunningCaseOverviewReminderCell",
341
341
  props: { item: {} },
342
342
  setup(e) {
343
- let t = e, n = S(), r = w(() => m(t.item.latestCreatedReminder));
343
+ let t = e, n = C(), r = T(() => m(t.item.latestCreatedReminder));
344
344
  function i(e) {
345
345
  let t = U.Now.plainDateISO().until(e, { largestUnit: "days" }).days;
346
346
  return t <= 0 ? n.t("module.dunning_case.overview.due_today") : n.t("module.dunning_case.overview.due_in_days", { count: t });
@@ -348,14 +348,14 @@ var Le = { class: "flex w-full items-center justify-end gap-xs" }, Re = /* @__PU
348
348
  function a(e) {
349
349
  return U.PlainDate.compare(e, U.Now.plainDateISO()) <= 0;
350
350
  }
351
- return (t, n) => (P(), T(R(Z), null, {
352
- default: B(() => [O("div", Ye, [e.item.nextReminderOn === null ? E("", !0) : (P(), T(R(W), {
351
+ return (t, n) => (P(), E(R(Z), null, {
352
+ default: z(() => [k("div", Ye, [e.item.nextReminderOn === null ? D("", !0) : (P(), E(R(W), {
353
353
  key: 0,
354
354
  color: a(e.item.nextReminderOn) ? "success" : "warning",
355
355
  label: i(e.item.nextReminderOn),
356
356
  size: "sm",
357
357
  variant: "translucent"
358
- }, null, 8, ["color", "label"])), k(h, {
358
+ }, null, 8, ["color", "label"])), A(h, {
359
359
  "blocked-reason": e.item.blockedReason,
360
360
  status: r.value
361
361
  }, null, 8, ["blocked-reason", "status"])])]),
@@ -366,8 +366,8 @@ var Le = { class: "flex w-full items-center justify-end gap-xs" }, Re = /* @__PU
366
366
  //#endregion
367
367
  //#region src/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewTableColumns.composable.ts
368
368
  function Ze(e) {
369
- let t = S();
370
- return w(() => me()([
369
+ let t = C();
370
+ return T(() => me()([
371
371
  {
372
372
  headerLabel: t.t("module.dunning_case.overview.table.customer"),
373
373
  key: "customer",
@@ -441,7 +441,7 @@ function Ze(e) {
441
441
  //#endregion
442
442
  //#region src/modules/dunning-case/api/mutations/dunningCaseBulkSend.mutation.ts
443
443
  function Qe() {
444
- return oe({
444
+ return B({
445
445
  queryFn: (e) => o.sendBulk(e.params.queryParams),
446
446
  queryKeysToInvalidate: {
447
447
  dunningCaseDetail: {},
@@ -451,7 +451,7 @@ function Qe() {
451
451
  }
452
452
  //#endregion
453
453
  //#region src/modules/dunning-case/use-cases/send/components/DunningCaseBulkSendStat.vue
454
- var $e = /* @__PURE__ */ A({
454
+ var $e = /* @__PURE__ */ j({
455
455
  __name: "DunningCaseBulkSendStat",
456
456
  props: {
457
457
  hasSeparator: { type: Boolean },
@@ -461,11 +461,11 @@ var $e = /* @__PURE__ */ A({
461
461
  },
462
462
  setup(e) {
463
463
  let t = e;
464
- return (e, n) => (P(), D("div", { class: M([{ "border-r border-secondary": t.hasSeparator }, "p-lg"]) }, [O("p", { class: M([{
464
+ return (e, n) => (P(), O("div", { class: N([{ "border-r border-secondary": t.hasSeparator }, "p-lg"]) }, [k("p", { class: N([{
465
465
  "text-primary": t.tone === "default",
466
466
  "text-success-primary": t.tone === "success",
467
467
  "text-warning-primary": t.tone === "warning"
468
- }, "font-mono text-2xl font-semibold tabular-nums"]) }, L(t.value), 3), O("p", { class: M([{
468
+ }, "font-mono text-2xl font-semibold tabular-nums"]) }, L(t.value), 3), k("p", { class: N([{
469
469
  "text-secondary": t.tone === "default",
470
470
  "text-success-primary": t.tone === "success",
471
471
  "text-warning-primary": t.tone === "warning"
@@ -474,7 +474,7 @@ var $e = /* @__PURE__ */ A({
474
474
  }), et = { class: "flex flex-col gap-md" }, tt = { class: "grid grid-cols-3 overflow-hidden rounded-md border border-secondary" }, nt = { class: "rounded-md bg-success-primary px-lg py-md text-sm font-medium text-success-primary" }, rt = {
475
475
  key: 0,
476
476
  class: "rounded-md border border-secondary px-lg py-md text-sm text-secondary"
477
- }, it = /* @__PURE__ */ A({
477
+ }, it = /* @__PURE__ */ j({
478
478
  __name: "DunningCaseBulkSendSummary",
479
479
  props: {
480
480
  processableCount: {},
@@ -482,7 +482,7 @@ var $e = /* @__PURE__ */ A({
482
482
  totalCount: {}
483
483
  },
484
484
  setup(e) {
485
- let t = e, n = S(), r = w(() => [
485
+ let t = e, n = C(), r = T(() => [
486
486
  {
487
487
  label: n.t("module.dunning_case.bulk_send.total"),
488
488
  tone: "default",
@@ -499,8 +499,8 @@ var $e = /* @__PURE__ */ A({
499
499
  value: t.skippedCount
500
500
  }
501
501
  ]);
502
- return (e, i) => (P(), D("div", et, [
503
- O("div", tt, [(P(!0), D(C, null, I(r.value, (e, t) => (P(), T($e, {
502
+ return (e, i) => (P(), O("div", et, [
503
+ k("div", tt, [(P(!0), O(w, null, I(r.value, (e, t) => (P(), E($e, {
504
504
  key: e.label,
505
505
  "has-separator": t < r.value.length - 1,
506
506
  label: e.label,
@@ -512,14 +512,14 @@ var $e = /* @__PURE__ */ A({
512
512
  "tone",
513
513
  "value"
514
514
  ]))), 128))]),
515
- O("p", nt, L(R(n).t("module.dunning_case.bulk_send.processable", { count: t.processableCount })), 1),
516
- t.skippedCount > 0 ? (P(), D("p", rt, L(R(n).t("module.dunning_case.bulk_send.skipped", { count: t.skippedCount })), 1)) : E("", !0)
515
+ k("p", nt, L(R(n).t("module.dunning_case.bulk_send.processable", { count: t.processableCount })), 1),
516
+ t.skippedCount > 0 ? (P(), O("p", rt, L(R(n).t("module.dunning_case.bulk_send.skipped", { count: t.skippedCount })), 1)) : D("", !0)
517
517
  ]));
518
518
  }
519
519
  }), at = {
520
520
  key: 0,
521
521
  class: "text-sm text-secondary"
522
- }, ot = /* @__PURE__ */ A({
522
+ }, ot = /* @__PURE__ */ j({
523
523
  __name: "DunningCaseBulkSendDialog",
524
524
  props: { onSent: { type: Function } },
525
525
  emits: ["close"],
@@ -534,7 +534,7 @@ var $e = /* @__PURE__ */ A({
534
534
  function s(e) {
535
535
  return Object.hasOwn(a, e);
536
536
  }
537
- let c = S(), l = ge(), u = Qe(), f = F(null), p = F(!0), m = w(() => f.value?.meta.processed ?? 0);
537
+ let c = C(), l = ge(), u = Qe(), f = F(null), p = F(!0), m = T(() => f.value?.meta.processed ?? 0);
538
538
  function h(e) {
539
539
  let t = e.errors.at(0)?.errors.at(0)?.code;
540
540
  return t !== void 0 && s(t) ? c.t(a[t]) : c.t("module.dunning_case.bulk_send.skip_reason.unknown");
@@ -551,7 +551,7 @@ var $e = /* @__PURE__ */ A({
551
551
  })).join(", ");
552
552
  }
553
553
  let _ = ve({
554
- schema: ie.object({}),
554
+ schema: S.object({}),
555
555
  onSubmit: async () => {
556
556
  let e = await u.execute({ params: { queryParams: i } });
557
557
  if (e.isErr()) {
@@ -582,15 +582,15 @@ var $e = /* @__PURE__ */ A({
582
582
  }
583
583
  f.value = e.value, p.value = !1;
584
584
  }
585
- return N(() => {
585
+ return ae(() => {
586
586
  v();
587
- }), (e, t) => (P(), T(R(ce), {
587
+ }), (e, t) => (P(), E(R(ce), {
588
588
  form: R(_),
589
589
  size: "md",
590
590
  onClose: t[0] ||= (e) => r("close")
591
591
  }, {
592
- default: B(() => [
593
- k(R(X), {
592
+ default: z(() => [
593
+ A(R(X), {
594
594
  title: p.value ? R(c).t("module.dunning_case.bulk_send.title") : R(c).t("module.dunning_case.bulk_send.confirm_question", { count: m.value }),
595
595
  description: R(c).t("module.dunning_case.bulk_send.description"),
596
596
  "has-separator": !1,
@@ -600,8 +600,8 @@ var $e = /* @__PURE__ */ A({
600
600
  "description",
601
601
  "icon"
602
602
  ]),
603
- k(R(K), null, {
604
- default: B(() => [f.value === null ? (P(), D("p", at, L(R(c).t("module.dunning_case.bulk_send.loading")), 1)) : (P(), T(it, {
603
+ A(R(K), null, {
604
+ default: z(() => [f.value === null ? (P(), O("p", at, L(R(c).t("module.dunning_case.bulk_send.loading")), 1)) : (P(), E(it, {
605
605
  key: 1,
606
606
  "processable-count": f.value.meta.processed,
607
607
  "skipped-count": f.value.meta.skipped,
@@ -613,8 +613,8 @@ var $e = /* @__PURE__ */ A({
613
613
  ]))]),
614
614
  _: 1
615
615
  }),
616
- k(R(q), { "has-separator": !1 }, {
617
- right: B(() => [k(R(J)), k(R(Y), {
616
+ A(R(q), { "has-separator": !1 }, {
617
+ right: z(() => [A(R(J)), A(R(Y), {
618
618
  "icon-right": R(d),
619
619
  "is-disabled": p.value || m.value === 0,
620
620
  "is-loading": R(_).isSubmitting.value,
@@ -639,12 +639,12 @@ var $e = /* @__PURE__ */ A({
639
639
  }, pt = { class: "flex min-h-0 flex-1 flex-col overflow-hidden rounded-lg border border-secondary bg-primary shadow-sm" }, mt = { class: "flex flex-col gap-md border-b border-secondary p-sm md:flex-row md:items-center md:justify-between" }, ht = { class: "flex items-center justify-between gap-md border-b border-secondary p-sm" }, gt = {
640
640
  key: 0,
641
641
  class: "px-sm text-xs text-secondary"
642
- }, _t = { class: "relative flex min-h-0 flex-1 flex-col" }, vt = /*@__PURE__*/ A({
642
+ }, _t = { class: "relative flex min-h-0 flex-1 flex-col" }, vt = /*@__PURE__*/ j({
643
643
  __name: "DunningCaseOverviewView",
644
644
  setup(e) {
645
- let n = S(), i = he(), a = ge(), o = H(), l = t(), f = r(), m = g(), h = F("all"), _ = w(() => [
645
+ let n = C(), i = he(), a = ge(), o = H(), c = t(), f = r(), m = g(), h = F("all"), _ = T(() => [
646
646
  {
647
- icon: s,
647
+ icon: l,
648
648
  key: "all",
649
649
  label: n.t("module.dunning_case.overview.filter_all")
650
650
  },
@@ -663,12 +663,12 @@ var $e = /* @__PURE__ */ A({
663
663
  key: "level-3",
664
664
  label: n.t("module.dunning_case.level.reminder", { level: 3 })
665
665
  }
666
- ]), ee = w(() => h.value === "all" ? null : Number(h.value.replace("level-", ""))), y = F(!0), { customerUuid: b, filters: x } = Ie();
667
- te(x), l.set(() => n.t("module.dunning_case.title"));
668
- let { hasLevelCountError: ie, isFetchingNextPage: A, isLoading: j, data: M, error: ae, fetchNextPage: N, levelCounts: z, levelCountTotal: oe, trackBulkSend: V } = Pe({
666
+ ]), ee = T(() => h.value === "all" ? null : Number(h.value.replace("level-", ""))), y = F(!0), { customerUuid: b, filters: x } = Ie();
667
+ te(x), c.set(() => n.t("module.dunning_case.title"));
668
+ let { hasLevelCountError: S, isFetchingNextPage: j, isLoading: M, data: N, error: ie, fetchNextPage: ae, levelCounts: oe, levelCountTotal: B, trackBulkSend: V } = Pe({
669
669
  customerUuid: b,
670
670
  activeLevel: ee
671
- }), U = w(() => x.activeFilters.value.length);
671
+ }), U = T(() => x.activeFilters.value.length);
672
672
  function W(e) {
673
673
  i.create(v, { props: { dunningCaseUuid: e.uuid } }).open();
674
674
  }
@@ -704,39 +704,39 @@ var $e = /* @__PURE__ */ A({
704
704
  onSend: W,
705
705
  onViewCustomer: J
706
706
  });
707
- return (e, t) => (P(), T(R(se), {
707
+ return (e, t) => (P(), E(R(se), {
708
708
  title: R(n).t("module.dunning_case.title"),
709
709
  "is-title-hidden": !0
710
710
  }, {
711
- default: B(() => [O("div", st, [
712
- O("div", ct, [O("div", null, [O("h2", lt, L(R(n).t("module.dunning_case.title")), 1), O("p", ut, L(R(n).t("module.dunning_case.overview.description")), 1)]), O("div", dt, [k(R(G), {
713
- "icon-left": y.value ? R(p) : R(c),
711
+ default: z(() => [k("div", st, [
712
+ k("div", ct, [k("div", null, [k("h2", lt, L(R(n).t("module.dunning_case.title")), 1), k("p", ut, L(R(n).t("module.dunning_case.overview.description")), 1)]), k("div", dt, [A(R(G), {
713
+ "icon-left": y.value ? R(p) : R(s),
714
714
  label: R(n).t(y.value ? "module.dunning_case.overview.hide_metrics" : "module.dunning_case.overview.show_metrics"),
715
715
  variant: "secondary",
716
716
  onClick: t[0] ||= (e) => y.value = !y.value
717
- }, null, 8, ["icon-left", "label"]), k(R(G), {
717
+ }, null, 8, ["icon-left", "label"]), A(R(G), {
718
718
  "icon-right": R(d),
719
719
  label: R(n).t("module.dunning_case.overview.send_all"),
720
720
  onClick: q
721
721
  }, null, 8, ["icon-right", "label"])])]),
722
- y.value ? (P(), D("div", ft, [k(je, {
723
- "has-level-count-error": R(ie),
724
- "level-counts": R(z),
725
- "level-count-total": R(oe)
722
+ y.value ? (P(), O("div", ft, [A(je, {
723
+ "has-level-count-error": R(S),
724
+ "level-counts": R(oe),
725
+ "level-count-total": R(B)
726
726
  }, null, 8, [
727
727
  "has-level-count-error",
728
728
  "level-counts",
729
729
  "level-count-total"
730
- ])])) : E("", !0),
731
- O("div", pt, [
732
- O("div", mt, [k(R(de), {
730
+ ])])) : D("", !0),
731
+ k("div", pt, [
732
+ k("div", mt, [A(R(de), {
733
733
  modelValue: h.value,
734
734
  "onUpdate:modelValue": t[1] ||= (e) => h.value = e,
735
735
  "aria-label": R(n).t("module.dunning_case.overview.filter_label"),
736
736
  variant: "button-border"
737
737
  }, {
738
- default: B(() => [k(R(pe), null, {
739
- default: B(() => [(P(!0), D(C, null, I(_.value, (e) => (P(), T(R(fe), {
738
+ default: z(() => [A(R(pe), null, {
739
+ default: z(() => [(P(!0), O(w, null, I(_.value, (e) => (P(), E(R(fe), {
740
740
  key: e.key,
741
741
  config: { left: {
742
742
  icon: e.icon,
@@ -752,18 +752,18 @@ var $e = /* @__PURE__ */ A({
752
752
  _: 1
753
753
  })]),
754
754
  _: 1
755
- }, 8, ["modelValue", "aria-label"]), k(R(G), {
755
+ }, 8, ["modelValue", "aria-label"]), A(R(G), {
756
756
  "icon-right": R(d),
757
757
  label: R(n).t("module.dunning_case.overview.send_all"),
758
758
  size: "sm",
759
759
  onClick: q
760
760
  }, null, 8, ["icon-right", "label"])]),
761
- O("div", ht, [U.value === 0 ? (P(), D("p", gt, L(R(n).t("module.dunning_case.overview.no_active_filters")), 1)) : (P(), T(R(ne), { key: 1 })), k(R(re))]),
762
- O("div", _t, [k(R(le), {
761
+ k("div", ht, [U.value === 0 ? (P(), O("p", gt, L(R(n).t("module.dunning_case.overview.no_active_filters")), 1)) : (P(), E(R(ne), { key: 1 })), A(R(re))]),
762
+ k("div", _t, [A(R(le), {
763
763
  "active-filter-count": U.value,
764
764
  columns: R(Z),
765
- data: R(M),
766
- error: R(ae),
765
+ data: R(N),
766
+ error: R(ie),
767
767
  "get-key": (e) => e.uuid,
768
768
  actions: [R(X), R(ce)],
769
769
  "get-action-model": (e) => ({
@@ -772,11 +772,11 @@ var $e = /* @__PURE__ */ A({
772
772
  ...e
773
773
  }),
774
774
  "get-link": Y,
775
- "is-fetching-next-page": R(A),
776
- "is-loading": R(j),
775
+ "is-fetching-next-page": R(j),
776
+ "is-loading": R(M),
777
777
  variant: "full-page",
778
778
  onClearFilters: t[2] ||= (e) => R(x).clearAll(),
779
- onNextPage: R(N)
779
+ onNextPage: R(ae)
780
780
  }, null, 8, [
781
781
  "active-filter-count",
782
782
  "columns",
@@ -1,5 +1,5 @@
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";