@wisemen/wise-invoicing-web 0.1.0 → 0.2.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 (207) hide show
  1. package/dist/ApprovalReminderSettingsViewDataProvider-D-qXZrPT.js +151 -0
  2. package/dist/{BillingDocumentDetailViewDataProvider-BemnzVNY.js → BillingDocumentDetailViewDataProvider-DDdtlW-2.js} +1417 -1459
  3. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  4. package/dist/{BillingDocumentPdf-5vi2pgRM.js → BillingDocumentPdf-ehdFB6mr.js} +4 -4
  5. package/dist/{CreditNoteDetailViewDataProvider-BuY9ELoK.js → CreditNoteDetailViewDataProvider-11a-JO3H.js} +201 -201
  6. package/dist/{CreditNotePdfViewDataProvider-DI4eQkpM.js → CreditNotePdfViewDataProvider-bfeaya3P.js} +3 -3
  7. package/dist/{CustomFieldValueText-BGbQwhON.js → CustomFieldValueText-CZQXGE5F.js} +81 -81
  8. package/dist/DataProvider-C3uEds9v.js +75 -0
  9. package/dist/{DunningCaseDetailViewDataProvider-DKuuysqS.js → DunningCaseDetailViewDataProvider-DC-ziMoO.js} +35 -35
  10. package/dist/{DunningCaseOverviewView-aWttPLrC.js → DunningCaseOverviewView-y_bCmi5j.js} +180 -180
  11. package/dist/{DunningCaseReminderPdfViewDataProvider-I0I_WQQB.js → DunningCaseReminderPdfViewDataProvider-DNODfED_.js} +22 -23
  12. package/dist/{DunningCaseSendDialog-DyvA5R1p.js → DunningCaseSendDialog-BPXcqit5.js} +82 -82
  13. package/dist/InvoiceApprovalOverviewView-DZ14mi4L.js +870 -0
  14. package/dist/InvoiceApprovalStatusBadge-U-dW2hR4.js +161 -0
  15. package/dist/InvoiceApproveDialog-2LXneG2r.js +308 -0
  16. package/dist/InvoiceDetailViewDataProvider-BYeaaQzL.js +2156 -0
  17. package/dist/InvoiceOverviewBulkSendApprovalDialog-99dfuN4i.js +318 -0
  18. package/dist/InvoiceOverviewViewDataProvider-CZIQeftL.js +1620 -0
  19. package/dist/{InvoicePdfView-C-7m2g3b.js → InvoicePdfView-BJRTg_TH.js} +2 -2
  20. package/dist/{InvoicePdfViewDataProvider-BPiK110e.js → InvoicePdfViewDataProvider-CwI_uGm3.js} +4 -4
  21. package/dist/InvoicePublicPdfViewDataProvider-uZUfsr5K.js +45 -0
  22. package/dist/InvoicingFileUploadProvider-D9Xk4rQM.js +94 -0
  23. package/dist/{IssuerSettingsViewDataProvider-COqHGUE6.js → IssuerSettingsViewDataProvider-CGRa8F-2.js} +4 -4
  24. package/dist/{ReminderSettingsViewDataProvider-Dys4bUU7.js → ReminderSettingsViewDataProvider-1ucp3z2T.js} +58 -58
  25. package/dist/{api.util-BCSgCfpS.js → api.util-C_kMGlJN.js} +1456 -846
  26. package/dist/{billingDocumentDetail.transformer-BBn9R_cx.js → billingDocumentDetail.transformer-Da6_-Hv9.js} +58 -59
  27. package/dist/client/index.d.ts +2 -2
  28. package/dist/client/sdk.gen.d.ts +18 -1
  29. package/dist/client/types.gen.d.ts +1059 -106
  30. package/dist/client/zod.gen.d.ts +32759 -16136
  31. package/dist/{creditNoteDetail.query-BcPsB96h.js → creditNoteDetail.query-DLR7L0Ep.js} +30 -30
  32. package/dist/{dist-BBjpqvUl.js → dist-CoztMdYH.js} +614 -614
  33. package/dist/{dist-D9lp7NDv.js → dist-Cxdm09Lp.js} +210 -98
  34. package/dist/{documentTitle.composable-4ApFl9TZ.js → documentTitle.composable-DsBbzhXN.js} +23 -15
  35. package/dist/{customFieldValue.util-BwsX8exl.js → download.util-B5Q7KUC9.js} +6 -6
  36. package/dist/{i18n.lib-C6eb-F-e.js → i18n.lib-Cvr8pcDw.js} +272 -8
  37. package/dist/index.d.ts +297 -31
  38. package/dist/index.js +344 -324
  39. package/dist/invoice.service-DEEA9mal.js +745 -0
  40. package/dist/invoiceApproval.service-DvL3LliM.js +72 -0
  41. package/dist/invoiceApprovalStatus.util-3Zh10Pj8.js +79 -0
  42. package/dist/invoiceDeliveryStatus.util-nCsqDypY.js +211 -0
  43. package/dist/{invoiceDetail.query-Cek8nyaw.js → invoiceDetail.query-CRoH_SgM.js} +1 -1
  44. package/dist/{invoicingConfig.composable-DTmad1fe.js → invoicingConfig.composable-rxjGK882.js} +2 -2
  45. package/dist/{issuerSettings.query-Bvz-Oj5D.js → issuerSettings.query-Dc5gsaEm.js} +5 -5
  46. package/dist/libs/i18n.lib.d.ts +270 -6
  47. package/dist/locales/en-US.json.d.ts +136 -4
  48. package/dist/locales/nl-BE.json.d.ts +136 -4
  49. package/dist/modules/dunning-case/models/dunningCase.transformer.d.ts +0 -1
  50. package/dist/modules/invoice/api/mutations/invoiceApproveApproval.mutation.d.ts +16 -0
  51. package/dist/modules/invoice/api/mutations/invoiceArchiveApproval.mutation.d.ts +6 -0
  52. package/dist/modules/invoice/api/mutations/invoiceBulkSendApproval.mutation.d.ts +5 -0
  53. package/dist/modules/invoice/api/mutations/invoiceMarkAsPriorApprovalRequired.mutation.d.ts +4 -0
  54. package/dist/modules/invoice/api/mutations/invoiceRejectApproval.mutation.d.ts +9 -0
  55. package/dist/modules/invoice/api/mutations/invoiceRestoreFromProForma.mutation.d.ts +4 -0
  56. package/dist/modules/invoice/api/mutations/invoiceSendApproval.mutation.d.ts +5 -0
  57. package/dist/modules/invoice/api/mutations/invoiceUnmarkAsPriorApprovalRequired.mutation.d.ts +4 -0
  58. package/dist/modules/invoice/api/services/invoice.service.d.ts +14 -1
  59. package/dist/modules/invoice/components/InvoiceApprovalOutOfSyncIndicator.vue.d.ts +3 -0
  60. package/dist/{ui/DisplayState.vue.d.ts → modules/invoice/components/InvoiceApprovalStatusBadge.vue.d.ts} +7 -10
  61. package/dist/modules/invoice/components/InvoiceApprovalStatusChip.vue.d.ts +16 -0
  62. package/dist/modules/invoice/models/invoice/approval/invoiceApprovalTransformers.spec.d.ts +1 -0
  63. package/dist/modules/invoice/models/invoice/approval/invoiceApprovalUuid.model.d.ts +3 -0
  64. package/dist/modules/invoice/models/invoice/approval/invoiceApprove.transformer.d.ts +5 -0
  65. package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.d.ts +13 -0
  66. package/dist/modules/invoice/models/invoice/approval/invoiceReject.transformer.d.ts +5 -0
  67. package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.d.ts +7 -0
  68. package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.spec.d.ts +1 -0
  69. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +13 -1
  70. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.transformer.d.ts +1 -0
  71. package/dist/modules/invoice/models/invoice/index/invoiceIndex.model.d.ts +4 -0
  72. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +3 -0
  73. package/dist/modules/invoice/models/invoice/invoiceApproval.transformer.d.ts +7 -0
  74. package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.model.d.ts +34 -0
  75. package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.util.d.ts +10 -0
  76. package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.util.spec.d.ts +1 -0
  77. package/dist/modules/invoice/use-cases/detail/components/InvoiceApprovalBanner.vue.d.ts +19 -0
  78. package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailHeaderSection.vue.d.ts +4 -0
  79. package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailHeaderActions.composable.d.ts +5 -0
  80. package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +1 -1
  81. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApprovalArchiveDialog.vue.d.ts +13 -0
  82. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApprovalRevertDialog.vue.d.ts +15 -0
  83. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialog.vue.d.ts +13 -0
  84. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceFinalizeOutOfSyncDialog.vue.d.ts +21 -0
  85. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceRejectDialog.vue.d.ts +13 -0
  86. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewBulkActionBar.vue.d.ts +3 -0
  87. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableApprovalCell.vue.d.ts +9 -0
  88. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +3 -0
  89. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +1 -0
  90. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendApprovalDialog.vue.d.ts +12 -0
  91. package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +2 -0
  92. package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewView.vue.d.ts +0 -5
  93. package/dist/modules/invoice-approval/actions/invoiceApproval.actions.d.ts +5 -0
  94. package/dist/modules/invoice-approval/actions/invoiceApprovalArchive.action.d.ts +1 -0
  95. package/dist/modules/invoice-approval/actions/invoiceApprovalMarkAsApproved.action.d.ts +1 -0
  96. package/dist/modules/invoice-approval/actions/invoiceApprovalReject.action.d.ts +1 -0
  97. package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.action.d.ts +1 -0
  98. package/dist/modules/invoice-approval/actions/invoiceApprovalUnmarkAsNeedsApproval.action.d.ts +1 -0
  99. package/dist/modules/invoice-approval/api/mutations/approvalReminderConfigUpdate.mutation.d.ts +8 -0
  100. package/dist/modules/invoice-approval/api/queries/approvalReminderConfig.query.d.ts +1 -0
  101. package/dist/modules/invoice-approval/api/queries/invoiceApprovalIndex.query.d.ts +3 -0
  102. package/dist/modules/invoice-approval/api/query-keys/invoiceApproval.queryKeys.d.ts +15 -0
  103. package/dist/modules/invoice-approval/api/services/invoiceApproval.service.d.ts +10 -0
  104. package/dist/modules/invoice-approval/components/InvoiceApprovalReminderLevelIndicator.vue.d.ts +7 -0
  105. package/dist/modules/invoice-approval/models/approvalReminderConfig.transformer.d.ts +6 -0
  106. package/dist/modules/invoice-approval/models/approvalReminderConfigForm.model.d.ts +11 -0
  107. package/dist/modules/invoice-approval/models/approvalReminderConfigForm.spec.d.ts +1 -0
  108. package/dist/modules/invoice-approval/models/invoiceApprovalIndex.model.d.ts +21 -0
  109. package/dist/modules/invoice-approval/models/invoiceApprovalIndex.transformer.d.ts +5 -0
  110. package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.model.d.ts +9 -0
  111. package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.transformer.d.ts +6 -0
  112. package/dist/modules/invoice-approval/routes/invoiceApproval.routes.d.ts +24 -0
  113. package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewActionsCell.vue.d.ts +7 -0
  114. package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewAmountCell.vue.d.ts +7 -0
  115. package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewInvoiceCell.vue.d.ts +7 -0
  116. package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewMetrics.vue.d.ts +18 -0
  117. package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewNextReminderCell.vue.d.ts +7 -0
  118. package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewStatusCell.vue.d.ts +7 -0
  119. package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverview.composable.d.ts +42 -0
  120. package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverviewFilters.composable.d.ts +10 -0
  121. package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverviewTableColumns.composable.d.ts +3 -0
  122. package/dist/modules/invoice-approval/use-cases/overview/views/InvoiceApprovalOverviewView.vue.d.ts +3 -0
  123. package/dist/modules/invoice-approval/use-cases/settings/views/ApprovalReminderSettingsView.vue.d.ts +7 -0
  124. package/dist/modules/invoice-approval/use-cases/settings/views/ApprovalReminderSettingsViewDataProvider.vue.d.ts +3 -0
  125. package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
  126. package/dist/{plainDate.transformer-BxvJpJOv.js → plainDate.transformer-Bhiz9jW7.js} +17 -4
  127. package/dist/reminderConfig.query-snaHQmrY.js +309 -0
  128. package/dist/routes/invoicingRoutes.composable.d.ts +14 -6
  129. package/dist/search.composable-CU9OpyUB.js +52 -0
  130. package/dist/{src-BFgnUugN.js → src-DUSgQTKr.js} +45 -45
  131. package/dist/style.css +1 -1
  132. package/dist/types/queryKey.type.d.ts +3 -2
  133. package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +15 -0
  134. package/dist/utils/html.util.d.ts +4 -0
  135. package/package.json +2 -1
  136. package/dist/AddOpenBoundaryIcon-9SqBHfoz.js +0 -25
  137. package/dist/AirlineIcon-Z6sH_StM.js +0 -26
  138. package/dist/AirplaneIcon-C-nSkD1w.js +0 -19
  139. package/dist/AirportIcon-m4itDKCV.js +0 -16
  140. package/dist/AlertTriangleIcon-DtYLCC-Y.js +0 -23
  141. package/dist/AllocationsIcon-hcg93Sll.js +0 -16
  142. package/dist/ArrowNarrowRightIcon-2-Sml68f.js +0 -23
  143. package/dist/AssetIcon-qOYs6Wna.js +0 -16
  144. package/dist/BarChartIcon-DDyzpV_3.js +0 -22
  145. package/dist/BellIcon-DF1OBFta.js +0 -21
  146. package/dist/BuildingIcon-CC5PMNeP.js +0 -22
  147. package/dist/ChargerIcon-aM_endLr.js +0 -16
  148. package/dist/ChevronDownIcon-4QiK-Z6-.js +0 -23
  149. package/dist/ChevronUpIcon-qBsjZ5Dz.js +0 -23
  150. package/dist/ClockIcon-BNiPCaiB.js +0 -23
  151. package/dist/ClockSnoozeIcon-BxGfwJB6.js +0 -23
  152. package/dist/CopyIcon-DH5ly0dZ.js +0 -19
  153. package/dist/DataProvider-Dj34ljUX.js +0 -75
  154. package/dist/DownloadCloudIcon-Cf8ftklG.js +0 -22
  155. package/dist/EditIcon-Dr7OHBBR.js +0 -21
  156. package/dist/EraserIcon-B1VJSvdI.js +0 -23
  157. package/dist/FileIcon-ssmQI5Yl.js +0 -23
  158. package/dist/FilterLinesIcon-C7YdyPBk.js +0 -23
  159. package/dist/GlobeIcon-BfRM6Ike.js +0 -22
  160. package/dist/HelpIcon-BrJ49P5y.js +0 -22
  161. package/dist/HourGlassIcon-D9rfU1Is.js +0 -22
  162. package/dist/InfoCircleIcon-Ee0SyiMc.js +0 -23
  163. package/dist/InvoiceDetailViewDataProvider-D6E7YVV1.js +0 -1670
  164. package/dist/InvoiceOverviewViewDataProvider-i8tXATJE.js +0 -1677
  165. package/dist/InvoicePublicPdfViewDataProvider-BJe-8hC5.js +0 -45
  166. package/dist/KeyboardIcon-T3o_g-1c.js +0 -22
  167. package/dist/LinkExternalIcon-BkHS4fCx.js +0 -22
  168. package/dist/LinkIcon-DuPwae98.js +0 -22
  169. package/dist/MarkerIcon-B1Jqenjb.js +0 -28
  170. package/dist/MobileBatteryIcon-GZ1SMRDV.js +0 -16
  171. package/dist/MonitorIcon-pbK22reU.js +0 -22
  172. package/dist/NotificationIcon-Ctv8vyWt.js +0 -19
  173. package/dist/ParkingIcon-DnUPW3pB.js +0 -24
  174. package/dist/PlanningIcon-CXvrskgj.js +0 -16
  175. package/dist/PreferenceIcon-BHS8uDyi.js +0 -22
  176. package/dist/ReceiptCheckIcon-QTestqCJ.js +0 -23
  177. package/dist/RefreshIcon-DShY-aoS.js +0 -22
  178. package/dist/RemoveOpenBoundaryIcon-CN8YWs6o.js +0 -28
  179. package/dist/RewindIcon-GWg2AQax.js +0 -22
  180. package/dist/SettingsIcon-CBLJ6B5u.js +0 -25
  181. package/dist/ShieldIcon-CVnrOcxl.js +0 -19
  182. package/dist/ShieldOffIcon-B9l0dDVb.js +0 -23
  183. package/dist/SignOutIcon-CmDkjJ5F.js +0 -21
  184. package/dist/SlashCircleIcon-jY5FBko5.js +0 -22
  185. package/dist/StandIcon-CoYnBLMn.js +0 -23
  186. package/dist/StarsIcon-D7ZlqOW7.js +0 -22
  187. package/dist/StopwatchIcon-BK0vh1lg.js +0 -22
  188. package/dist/TargetIcon-HMWj77-Q.js +0 -22
  189. package/dist/ThreeDotsIcon-BtFruOKz.js +0 -32
  190. package/dist/ToolIcon-DRfDb7fE.js +0 -22
  191. package/dist/TrashIcon-BwxBjHv5.js +0 -19
  192. package/dist/TurnaroundIcon-b1X61TwZ.js +0 -27
  193. package/dist/UploadCloudIcon-BF0equKg.js +0 -22
  194. package/dist/UserIcon-B0rCC6KE.js +0 -22
  195. package/dist/UsersIcon-cK5l_zKG.js +0 -22
  196. package/dist/VerifiedIcon-CELYlqcv.js +0 -22
  197. package/dist/WifiIcon--JPvMNEF.js +0 -23
  198. package/dist/WifiOffIcon-BS2KftcP.js +0 -23
  199. package/dist/ZapIcon-BHwcIQc0.js +0 -23
  200. package/dist/ZoomInIcon-Cu6r915V.js +0 -23
  201. package/dist/ZoomOutIcon-DwB4FRj-.js +0 -23
  202. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  203. package/dist/instant.transformer-KmBsH3E9.js +0 -18
  204. package/dist/invoice.service-Bb8VqQvc.js +0 -635
  205. package/dist/invoiceDeliveryStatus.util-BPkGCQM6.js +0 -331
  206. package/dist/reminderConfig.query-DsJNqqi7.js +0 -331
  207. package/dist/search.composable-BCtYqudV.js +0 -52
package/dist/index.js CHANGED
@@ -1,34 +1,34 @@
1
- import { n as e, r as t } from "./i18n.lib-C6eb-F-e.js";
2
- import "./api.util-BCSgCfpS.js";
3
- import { g as n, h as r, s as i, t as a, w as o, x as s } from "./documentTitle.composable-4ApFl9TZ.js";
1
+ import { n as e, r as t } from "./i18n.lib-Cvr8pcDw.js";
2
+ import "./api.util-C_kMGlJN.js";
3
+ import { O as n, T as r, b as i, l as a, t as o, y as s } from "./documentTitle.composable-DsBbzhXN.js";
4
4
  import { n as c, r as l, t as u } from "./useCurrencyFormat.composable-MtZaqKnO.js";
5
- import { t as d } from "./search.composable-BCtYqudV.js";
6
- import { t as f } from "./src-BFgnUugN.js";
7
- import { r as ee, t as p } from "./InvoiceOverviewViewDataProvider-i8tXATJE.js";
8
- import { n as m, t as h } from "./customFieldValue.util-BwsX8exl.js";
9
- import { n as g } from "./plainDate.transformer-BxvJpJOv.js";
10
- import { n as _, t as v } from "./percentage.util-Bl78kSSk.js";
11
- import { n as y, t as b } from "./invoicingConfig.composable-DTmad1fe.js";
12
- import { n as x } from "./address.transformer-jGddczLV.js";
13
- import { t as S } from "./addressForm.model-C853zEtX.js";
14
- import { r as C, t as te } from "./DunningCaseOverviewView-aWttPLrC.js";
15
- import { r as ne, t as re } from "./InvoicePublicPdfViewDataProvider-BJe-8hC5.js";
16
- import { C as w, L as ie, T } from "./dist-D9lp7NDv.js";
17
- import { o as ae } from "./DunningCaseSendDialog-DyvA5R1p.js";
18
- import { n as oe } from "./dist-boJIIxnT.js";
19
- import { a as se, i as ce, l as E, n as le, o as ue, r as de, s as fe, t as D } from "./dist-BBjpqvUl.js";
20
- import { i as O } from "./CustomFieldValueText-BGbQwhON.js";
21
- import { t as pe } from "./DunningCaseDetailViewDataProvider-DKuuysqS.js";
22
- import { t as me } from "./DunningCaseReminderPdfViewDataProvider-I0I_WQQB.js";
23
- import { t as he } from "./ReminderSettingsViewDataProvider-Dys4bUU7.js";
24
- import { createAction as ge } from "@wisemen/vue-core-actions";
25
- import { RouterLink as k, useRouter as _e } from "vue-router";
26
- import { z as A } from "zod";
27
- import { useI18n as j } from "vue-i18n";
28
- import { Fragment as M, computed as N, createBlock as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createVNode as R, defineComponent as z, openBlock as B, renderList as V, toDisplayString as H, unref as U, withCtx as W } from "vue";
29
- import { useQueryClient as ve } from "@tanstack/vue-query";
30
- import { QueryClient as ye, SortUtil as be, useQuery as xe } from "@wisemen/vue-core-api-utils";
31
- import { UIBadge as G, UIButton as Se, UIRowLayout as K, UITable as Ce, UITableCell as q, UITableCellText as we, UIText as Te, UITextField as Ee, createComponent as J, defineTableColumns as De, useSort as Oe } from "@wisemen/vue-core-design-system";
5
+ import { n as d, t as f } from "./invoicingConfig.composable-rxjGK882.js";
6
+ import { t as p } from "./search.composable-CU9OpyUB.js";
7
+ import { t as m } from "./src-DUSgQTKr.js";
8
+ import { r as ee, t as h } from "./InvoiceOverviewViewDataProvider-CZIQeftL.js";
9
+ import { n as g } from "./address.transformer-jGddczLV.js";
10
+ import { t as _ } from "./addressForm.model-C853zEtX.js";
11
+ import { n as v, t as y } from "./download.util-B5Q7KUC9.js";
12
+ import { n as b } from "./plainDate.transformer-Bhiz9jW7.js";
13
+ import { n as x, t as S } from "./percentage.util-Bl78kSSk.js";
14
+ import { r as C, t as te } from "./DunningCaseOverviewView-y_bCmi5j.js";
15
+ import { D as w, U as ne, Y as re, w as T } from "./dist-Cxdm09Lp.js";
16
+ import { o as ie } from "./DunningCaseSendDialog-BPXcqit5.js";
17
+ import { n as ae } from "./dist-boJIIxnT.js";
18
+ import { t as oe } from "./DunningCaseDetailViewDataProvider-DC-ziMoO.js";
19
+ import { a as se, i as ce, l as E, n as le, o as ue, r as de, s as fe, t as D } from "./dist-CoztMdYH.js";
20
+ import { t as pe } from "./DunningCaseReminderPdfViewDataProvider-DNODfED_.js";
21
+ import { t as me } from "./ReminderSettingsViewDataProvider-1ucp3z2T.js";
22
+ import { r as he, t as ge } from "./InvoicePublicPdfViewDataProvider-uZUfsr5K.js";
23
+ import { n as O } from "./CustomFieldValueText-CZQXGE5F.js";
24
+ import { z as k } from "zod";
25
+ import { useI18n as A } from "vue-i18n";
26
+ import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createVNode as L, defineComponent as R, openBlock as z, renderList as B, toDisplayString as V, unref as H, withCtx as U } from "vue";
27
+ import { useQueryClient as _e } from "@tanstack/vue-query";
28
+ import { QueryClient as ve, SortUtil as ye, useQuery as be } from "@wisemen/vue-core-api-utils";
29
+ import { RouterLink as W, useRouter as xe } from "vue-router";
30
+ import { UIBadge as G, UIEmptyState as Se, UIRowLayout as K, UITable as Ce, UITableCell as q, UITableCellText as we, UIText as J, UITextField as Te, createComponent as Y, defineTableColumns as Ee, useSort as De } from "@wisemen/vue-core-design-system";
31
+ import { createAction as Oe } from "@wisemen/vue-core-actions";
32
32
  //#region src/locales/ui-en-US.json
33
33
  var ke = {
34
34
  "component.api_error.default_message": "An unexpected error occurred.",
@@ -156,139 +156,59 @@ var ke = {
156
156
  "shared.options": "Opties"
157
157
  };
158
158
  //#endregion
159
- //#region src/modules/invoice/actions/invoiceNavigateToDetail.action.ts
160
- function je() {
161
- let e = _e();
162
- return ge({
163
- id: "invoice-navigate-to-detail",
164
- isApplicable: (e) => e.hasTargetedModelsOfType("Invoice"),
165
- name: (e) => {
166
- let t = e.targetedModelOfTypeOrThrow("Invoice");
167
- return t.subject ?? t.sequence ?? t.uuid;
168
- },
169
- execute: (t) => {
170
- let r = t.targetedModelOfTypeOrThrow("Invoice");
171
- r.type === n.STANDARD ? e.push({
172
- name: "invoicing-invoice-detail",
173
- params: { invoiceUuid: r.uuid }
174
- }) : e.push({
175
- name: "invoicing-credit-note-detail",
176
- params: { creditNoteUuid: r.uuid }
177
- });
178
- }
179
- });
180
- }
181
- //#endregion
182
159
  //#region src/composables/created.composable.ts
183
- function Me(e) {
160
+ function je(e) {
184
161
  e();
185
162
  }
186
163
  //#endregion
187
164
  //#region src/composables/invoicingQueryInvalidation.composable.ts
188
- function Ne() {
189
- let e = new ye(ve());
165
+ function Me() {
166
+ let e = new ve(_e());
190
167
  async function t() {
191
168
  await e.invalidate("invoiceIndex");
192
169
  }
193
170
  return { invalidateInvoiceIndex: t };
194
171
  }
195
172
  //#endregion
196
- //#region src/utils/number.util.ts
197
- var Pe = class {
198
- static format(e, t = 0) {
199
- return new Intl.NumberFormat(void 0, { maximumFractionDigits: t }).format(e);
200
- }
201
- static randomBetween(e, t) {
202
- return Math.floor(Math.random() * (t - e + 1)) + e;
203
- }
204
- }, Fe = A.uuid().brand("CreditNoteUuid"), Ie = A.uuid().brand("InvoiceUuid");
205
- //#endregion
206
- //#region ../router/src/createRoutes.ts
207
- function Y(e) {
208
- return e;
209
- }
210
- //#endregion
211
- //#region src/modules/dunning-case/routes/dunningCase.routes.ts
212
- var Le = Y([{
213
- name: "dunning-case-module",
214
- path: "/dunning-cases",
215
- redirect: { name: "dunning-case-overview" },
216
- children: [{
217
- name: "dunning-case-overview",
218
- path: "",
219
- component: () => import("./DunningCaseOverviewView-aWttPLrC.js").then((e) => e.n),
220
- meta: { permission: "dunning-case.read" }
221
- }, {
222
- name: "dunning-case-detail",
223
- props: !0,
224
- path: ":dunningCaseUuid",
225
- component: () => import("./DunningCaseDetailViewDataProvider-DKuuysqS.js").then((e) => e.n),
226
- meta: { permission: "dunning-case.read" }
227
- }]
228
- }]), Re = Y([{
229
- name: "dunning-case-settings-module",
230
- path: "payment-reminders",
231
- component: () => import("./ReminderSettingsViewDataProvider-Dys4bUU7.js").then((e) => e.n),
232
- meta: { permission: "reminder-config.read" }
233
- }]), ze = Y([{
234
- name: "dunning-case-reminder-pdf",
235
- path: "/dunning-case-reminder-pdf",
236
- component: () => import("./DunningCaseReminderPdfViewDataProvider-I0I_WQQB.js").then((e) => e.n)
237
- }]), Be = [{
238
- name: "invoicing-settings-module",
239
- path: "invoicing",
240
- redirect: { name: "invoicing-settings-overview" },
241
- children: [{
242
- name: "invoicing-settings-overview",
243
- path: "",
244
- component: () => import("./IssuerSettingsViewDataProvider-COqHGUE6.js"),
245
- meta: { permission: "issuer.read" }
246
- }]
247
- }, ...Re], X = {
248
- invoice_has_no_lines: "wise_invoicing.api_error.invoice_has_no_lines",
249
- invoice_not_editable: "wise_invoicing.api_error.invoice_not_editable"
250
- };
251
- function Ve() {
252
- let e = j();
253
- return { messages: N(() => Object.fromEntries(Object.entries(X).map(([t, n]) => [t, e.t(n)]))) };
254
- }
173
+ //#region src/modules/credit-note/models/creditNoteUuid.model.ts
174
+ var Ne = k.uuid().brand("CreditNoteUuid");
255
175
  //#endregion
256
176
  //#region src/modules/dunning-case/api/queries/dunningCaseCustomerByExternalId.query.ts
257
- function He(e) {
258
- return xe("dunningCaseCustomerByExternalId", {
259
- isEnabled: N(() => e.value !== null),
177
+ function Pe(e) {
178
+ return be("dunningCaseCustomerByExternalId", {
179
+ isEnabled: M(() => e.value !== null),
260
180
  params: { externalId: e },
261
- queryFn: () => ae.getUuidByExternalId(e.value ?? "")
181
+ queryFn: () => ie.getUuidByExternalId(e.value ?? "")
262
182
  });
263
183
  }
264
184
  //#endregion
265
185
  //#region src/modules/dunning-case/use-cases/customer/components/CustomerDunningCasesSection.vue?vue&type=script&setup=true&lang.ts
266
- var Ue = { key: 0 }, We = { class: "mb-md text-sm font-semibold text-primary" }, Ge = { class: "flex size-(--spacing-4xl) shrink-0 items-center justify-center rounded-full bg-brand-100 text-brand-600" }, Ke = { class: "min-w-0 flex-1" }, qe = { class: "flex min-w-0 flex-wrap items-center gap-sm" }, Je = { class: "text-sm font-semibold wrap-break-word text-primary" }, Ye = { class: "mt-xs block text-sm text-secondary" }, Xe = {
186
+ var Fe = { key: 0 }, Ie = { class: "mb-md text-sm font-semibold text-primary" }, Le = { class: "flex size-(--spacing-4xl) shrink-0 items-center justify-center rounded-full bg-brand-100 text-brand-600" }, Re = { class: "min-w-0 flex-1" }, ze = { class: "flex min-w-0 flex-wrap items-center gap-sm" }, Be = { class: "text-sm font-semibold wrap-break-word text-primary" }, Ve = { class: "mt-xs block text-sm text-secondary" }, He = {
267
187
  key: 0,
268
188
  class: "rounded-lg border border-secondary bg-primary"
269
- }, Ze = { class: "cursor-pointer px-lg py-md text-sm font-medium text-primary" }, Qe = { class: "border-t border-secondary" }, $e = { class: "flex size-(--spacing-4xl) shrink-0 items-center justify-center rounded-full bg-secondary text-secondary" }, et = { class: "min-w-0 flex-1" }, tt = { class: "block truncate text-primary" }, nt = { class: "mt-xxs block text-xs text-secondary tabular-nums" }, rt = /* @__PURE__ */ z({
189
+ }, Ue = { class: "cursor-pointer px-lg py-md text-sm font-medium text-primary" }, We = { class: "border-t border-secondary" }, Ge = { class: "flex size-(--spacing-4xl) shrink-0 items-center justify-center rounded-full bg-secondary text-secondary" }, Ke = { class: "min-w-0 flex-1" }, qe = { class: "block truncate text-primary" }, Je = { class: "mt-xxs block text-xs text-secondary tabular-nums" }, Ye = /* @__PURE__ */ R({
270
190
  __name: "CustomerDunningCasesSection",
271
191
  props: {
272
192
  customerUuid: {},
273
193
  externalId: {}
274
194
  },
275
195
  setup(e) {
276
- let t = e, n = j(), r = l(), i = He(N(() => t.customerUuid === void 0 ? t.externalId ?? null : null)), a = N(() => t.customerUuid === void 0 ? i.result.value.isOk() ? i.result.value.getValue() ?? void 0 : void 0 : t.customerUuid), o = C({
277
- isEnabled: N(() => a.value !== void 0),
196
+ let t = e, n = A(), r = l(), i = Pe(M(() => t.customerUuid === void 0 ? t.externalId ?? null : null)), a = M(() => t.customerUuid === void 0 ? i.result.value.isOk() ? i.result.value.getValue() ?? void 0 : void 0 : t.customerUuid), o = C({
197
+ isEnabled: M(() => a.value !== void 0),
278
198
  params: {
279
199
  customerUuid: a,
280
- isOpen: N(() => !0)
200
+ isOpen: M(() => !0)
281
201
  }
282
202
  }), s = C({
283
- isEnabled: N(() => a.value !== void 0),
203
+ isEnabled: M(() => a.value !== void 0),
284
204
  params: {
285
205
  customerUuid: a,
286
- isOpen: N(() => !1)
206
+ isOpen: M(() => !1)
287
207
  }
288
- }), c = N(() => o.result.value.isOk() ? o.result.value.getValue().data : []), u = N(() => s.result.value.isOk() ? s.result.value.getValue().data : []);
289
- return (e, t) => c.value.length > 0 || u.value.length > 0 ? (B(), I("section", Ue, [
290
- L("h2", We, H(U(n).t("module.dunning_case.customer.title")), 1),
291
- (B(!0), I(M, null, V(c.value, (e) => (B(), P(U(k), {
208
+ }), c = M(() => o.result.value.isOk() ? o.result.value.getValue().data : []), u = M(() => s.result.value.isOk() ? s.result.value.getValue().data : []);
209
+ return (e, t) => c.value.length > 0 || u.value.length > 0 ? (z(), F("section", Fe, [
210
+ I("h2", Ie, V(H(n).t("module.dunning_case.customer.title")), 1),
211
+ (z(!0), F(j, null, B(c.value, (e) => (z(), N(H(W), {
292
212
  key: e.uuid,
293
213
  to: {
294
214
  name: "dunning-case-detail",
@@ -296,19 +216,19 @@ var Ue = { key: 0 }, We = { class: "mb-md text-sm font-semibold text-primary" },
296
216
  },
297
217
  class: "mb-md flex w-fit max-w-full items-center gap-lg rounded-lg border border-secondary bg-primary p-lg shadow-sm hover:bg-secondary sm:max-w-2xl"
298
218
  }, {
299
- default: W(() => [
300
- L("span", Ge, [R(U(w), { class: "size-(--spacing-xl)" })]),
301
- L("span", Ke, [L("span", qe, [L("span", Je, H(U(n).t("module.dunning_case.customer.open_case")), 1), R(U(G), {
302
- label: e.level === 0 ? U(n).t("module.dunning_case.level.none") : U(n).t("module.dunning_case.level.reminder", { level: e.level }),
219
+ default: U(() => [
220
+ I("span", Le, [L(H(T), { class: "size-(--spacing-xl)" })]),
221
+ I("span", Re, [I("span", ze, [I("span", Be, V(H(n).t("module.dunning_case.customer.open_case")), 1), L(H(G), {
222
+ label: e.level === 0 ? H(n).t("module.dunning_case.level.none") : H(n).t("module.dunning_case.level.reminder", { level: e.level }),
303
223
  color: "brand",
304
224
  size: "sm",
305
225
  variant: "translucent"
306
- }, null, 8, ["label"])]), L("span", Ye, H(U(n).t("module.dunning_case.customer.outstanding", { amount: U(r).formatMonetary(e.outstandingBalance) })), 1)]),
307
- R(U(T), { class: "size-(--spacing-xl) shrink-0 text-tertiary" })
226
+ }, null, 8, ["label"])]), I("span", Ve, V(H(n).t("module.dunning_case.customer.outstanding", { amount: H(r).formatMonetary(e.outstandingBalance) })), 1)]),
227
+ L(H(w), { class: "size-(--spacing-xl) shrink-0 text-tertiary" })
308
228
  ]),
309
229
  _: 2
310
230
  }, 1032, ["to"]))), 128)),
311
- u.value.length > 0 ? (B(), I("details", Xe, [L("summary", Ze, H(U(n).t("module.dunning_case.customer.closed_cases", { count: u.value.length })), 1), L("div", Qe, [(B(!0), I(M, null, V(u.value, (e) => (B(), P(U(k), {
231
+ u.value.length > 0 ? (z(), F("details", He, [I("summary", Ue, V(H(n).t("module.dunning_case.customer.closed_cases", { count: u.value.length })), 1), I("div", We, [(z(!0), F(j, null, B(u.value, (e) => (z(), N(H(W), {
312
232
  key: e.uuid,
313
233
  to: {
314
234
  name: "dunning-case-detail",
@@ -316,16 +236,192 @@ var Ue = { key: 0 }, We = { class: "mb-md text-sm font-semibold text-primary" },
316
236
  },
317
237
  class: "flex items-center justify-between gap-lg border-b border-secondary px-lg py-md text-sm last:border-b-0 hover:bg-secondary"
318
238
  }, {
319
- default: W(() => [
320
- L("span", $e, [R(U(w), { class: "size-(--spacing-xl)" })]),
321
- L("span", et, [L("span", tt, H(U(n).t("module.dunning_case.customer.closed_case")), 1), L("span", nt, H(U(r).formatMonetary(e.outstandingBalance)), 1)]),
322
- R(U(T), { class: "size-(--spacing-xl) shrink-0 text-tertiary" })
239
+ default: U(() => [
240
+ I("span", Ge, [L(H(T), { class: "size-(--spacing-xl)" })]),
241
+ I("span", Ke, [I("span", qe, V(H(n).t("module.dunning_case.customer.closed_case")), 1), I("span", Je, V(H(r).formatMonetary(e.outstandingBalance)), 1)]),
242
+ L(H(w), { class: "size-(--spacing-xl) shrink-0 text-tertiary" })
323
243
  ]),
324
244
  _: 2
325
- }, 1032, ["to"]))), 128))])])) : F("", !0)
326
- ])) : F("", !0);
245
+ }, 1032, ["to"]))), 128))])])) : P("", !0)
246
+ ])) : P("", !0);
327
247
  }
328
- }), Z = /* @__PURE__ */ z({
248
+ });
249
+ //#endregion
250
+ //#region src/modules/invoice/actions/invoiceNavigateToDetail.action.ts
251
+ function Xe() {
252
+ let e = xe();
253
+ return Oe({
254
+ id: "invoice-navigate-to-detail",
255
+ isApplicable: (e) => e.hasTargetedModelsOfType("Invoice"),
256
+ name: (e) => {
257
+ let t = e.targetedModelOfTypeOrThrow("Invoice");
258
+ return t.subject ?? t.sequence ?? t.uuid;
259
+ },
260
+ execute: (t) => {
261
+ let n = t.targetedModelOfTypeOrThrow("Invoice");
262
+ n.type === i.STANDARD ? e.push({
263
+ name: "invoicing-invoice-detail",
264
+ params: { invoiceUuid: n.uuid }
265
+ }) : e.push({
266
+ name: "invoicing-credit-note-detail",
267
+ params: { creditNoteUuid: n.uuid }
268
+ });
269
+ }
270
+ });
271
+ }
272
+ //#endregion
273
+ //#region src/modules/invoice/models/invoiceUuid.model.ts
274
+ var Ze = k.uuid().brand("InvoiceUuid");
275
+ //#endregion
276
+ //#region ../router/src/createRoutes.ts
277
+ function X(e) {
278
+ return e;
279
+ }
280
+ //#endregion
281
+ //#region src/modules/dunning-case/routes/dunningCase.routes.ts
282
+ var Qe = X([{
283
+ name: "dunning-case-module",
284
+ path: "/dunning-cases",
285
+ redirect: { name: "dunning-case-overview" },
286
+ children: [{
287
+ name: "dunning-case-overview",
288
+ path: "",
289
+ component: () => import("./DunningCaseOverviewView-y_bCmi5j.js").then((e) => e.n),
290
+ meta: { permission: "dunning-case.read" }
291
+ }, {
292
+ name: "dunning-case-detail",
293
+ props: !0,
294
+ path: ":dunningCaseUuid",
295
+ component: () => import("./DunningCaseDetailViewDataProvider-DC-ziMoO.js").then((e) => e.n),
296
+ meta: { permission: "dunning-case.read" }
297
+ }]
298
+ }]), $e = X([{
299
+ name: "dunning-case-settings-module",
300
+ path: "payment-reminders",
301
+ component: () => import("./ReminderSettingsViewDataProvider-1ucp3z2T.js").then((e) => e.n),
302
+ meta: { permission: "reminder-config.read" }
303
+ }]), et = X([{
304
+ name: "dunning-case-reminder-pdf",
305
+ path: "/dunning-case-reminder-pdf",
306
+ component: () => import("./DunningCaseReminderPdfViewDataProvider-DNODfED_.js").then((e) => e.n)
307
+ }]), tt = X([{
308
+ name: "invoice-approval-module",
309
+ path: "/invoicing/approvals",
310
+ redirect: { name: "invoice-approval-overview" },
311
+ children: [{
312
+ name: "invoice-approval-overview",
313
+ path: "",
314
+ component: () => import("./InvoiceApprovalOverviewView-DZ14mi4L.js"),
315
+ meta: { permission: "invoice-approval.read" }
316
+ }]
317
+ }]), nt = X([{
318
+ name: "invoice-approval-settings-module",
319
+ path: "approval-reminders",
320
+ component: () => import("./ApprovalReminderSettingsViewDataProvider-D-qXZrPT.js"),
321
+ meta: { permission: "reminder-config.read" }
322
+ }]), rt = [
323
+ {
324
+ name: "invoicing-settings-module",
325
+ path: "invoicing",
326
+ redirect: { name: "invoicing-settings-overview" },
327
+ children: [{
328
+ name: "invoicing-settings-overview",
329
+ path: "",
330
+ component: () => import("./IssuerSettingsViewDataProvider-CGRa8F-2.js"),
331
+ meta: { permission: "issuer.read" }
332
+ }]
333
+ },
334
+ ...$e,
335
+ ...nt
336
+ ];
337
+ //#endregion
338
+ //#region src/modules/invoice/routes/invoice.routes.ts
339
+ function it(e) {
340
+ return X([{
341
+ name: "invoicing-module",
342
+ path: "/invoicing/invoices",
343
+ redirect: { name: "invoicing-invoice-overview" },
344
+ children: [{
345
+ name: "invoicing-invoice-overview",
346
+ path: "",
347
+ component: e ?? (() => import("./InvoiceOverviewViewDataProvider-CZIQeftL.js").then((e) => e.n)),
348
+ meta: { permission: "invoice.read" }
349
+ }, {
350
+ name: "invoicing-invoice-detail",
351
+ props: !0,
352
+ path: ":invoiceUuid",
353
+ component: () => import("./InvoiceDetailViewDataProvider-BYeaaQzL.js"),
354
+ meta: { permission: "invoice.read" }
355
+ }]
356
+ }]);
357
+ }
358
+ var at = X([{
359
+ name: "invoicing-invoice-pdf-preview",
360
+ props: !0,
361
+ path: "/invoicing/invoices/:invoiceUuid/pdf",
362
+ component: () => import("./InvoicePdfViewDataProvider-CwI_uGm3.js"),
363
+ meta: { permission: "invoice.read" }
364
+ }]), ot = X([{
365
+ name: "invoicing-invoice-public-pdf-preview",
366
+ path: "/pdf",
367
+ component: () => import("./InvoicePublicPdfViewDataProvider-uZUfsr5K.js").then((e) => e.n)
368
+ }]);
369
+ //#endregion
370
+ //#region src/routes/invoicingPublicRoutes.composable.ts
371
+ function st() {
372
+ return [...ot, ...et];
373
+ }
374
+ //#endregion
375
+ //#region src/modules/credit-note/routes/creditNote.routes.ts
376
+ var ct = [{
377
+ name: "invoicing-credit-note-module",
378
+ path: "/invoicing/credit-notes",
379
+ redirect: { name: "invoicing-invoice-overview" },
380
+ children: [{
381
+ name: "invoicing-credit-note-detail",
382
+ props: !0,
383
+ path: ":creditNoteUuid",
384
+ component: () => import("./CreditNoteDetailViewDataProvider-11a-JO3H.js"),
385
+ meta: { permission: "invoice.read" }
386
+ }]
387
+ }], lt = [{
388
+ name: "invoicing-credit-note-pdf-preview",
389
+ props: !0,
390
+ path: "/invoicing/credit-notes/:creditNoteUuid/pdf",
391
+ component: () => import("./CreditNotePdfViewDataProvider-bfeaya3P.js"),
392
+ meta: { permission: "invoice.read" }
393
+ }];
394
+ //#endregion
395
+ //#region src/routes/invoicingRoutes.composable.ts
396
+ function ut(e) {
397
+ return X([{
398
+ path: "",
399
+ children: [
400
+ ...it(e?.invoiceOverviewComponent),
401
+ ...ct,
402
+ ...Qe,
403
+ ...tt
404
+ ]
405
+ }]);
406
+ }
407
+ //#endregion
408
+ //#region src/routes/invoicingStandaloneRoutes.composable.ts
409
+ function dt() {
410
+ return [...lt, ...at];
411
+ }
412
+ //#endregion
413
+ //#region src/types/apiError.type.ts
414
+ var Z = {
415
+ invoice_has_no_lines: "wise_invoicing.api_error.invoice_has_no_lines",
416
+ invoice_not_editable: "wise_invoicing.api_error.invoice_not_editable"
417
+ };
418
+ function ft() {
419
+ let e = A();
420
+ return { messages: M(() => Object.fromEntries(Object.entries(Z).map(([t, n]) => [t, e.t(n)]))) };
421
+ }
422
+ //#endregion
423
+ //#region src/ui/customer-invoice-list/components/CustomerInvoiceTableBadgeCell.vue
424
+ var Q = /* @__PURE__ */ R({
329
425
  __name: "CustomerInvoiceTableBadgeCell",
330
426
  props: {
331
427
  color: {},
@@ -333,8 +429,8 @@ var Ue = { key: 0 }, We = { class: "mb-md text-sm font-semibold text-primary" },
333
429
  },
334
430
  setup(e) {
335
431
  let t = e;
336
- return (e, n) => (B(), P(U(q), null, {
337
- default: W(() => [R(U(G), {
432
+ return (e, n) => (z(), N(H(q), null, {
433
+ default: U(() => [L(H(G), {
338
434
  label: t.label,
339
435
  color: t.color,
340
436
  size: "sm"
@@ -342,32 +438,32 @@ var Ue = { key: 0 }, We = { class: "mb-md text-sm font-semibold text-primary" },
342
438
  _: 1
343
439
  }));
344
440
  }
345
- }), it = /* @__PURE__ */ z({
441
+ }), pt = /* @__PURE__ */ R({
346
442
  __name: "CustomerInvoiceTableInvoiceNumberCell",
347
443
  props: { sequence: {} },
348
444
  setup(e) {
349
445
  let t = e;
350
- return (e, n) => (B(), P(U(q), null, {
351
- default: W(() => [R(U(Te), {
446
+ return (e, n) => (z(), N(H(q), null, {
447
+ default: U(() => [L(H(J), {
352
448
  text: t.sequence ?? "-",
353
449
  class: "text-xs font-medium text-primary"
354
450
  }, null, 8, ["text"])]),
355
451
  _: 1
356
452
  }));
357
453
  }
358
- }), Q = /* @__PURE__ */ z({
454
+ }), $ = /* @__PURE__ */ R({
359
455
  __name: "CustomerInvoiceTableTextCell",
360
456
  props: { text: {} },
361
457
  setup(e) {
362
458
  let t = e;
363
- return (e, n) => (B(), P(U(q), null, {
364
- default: W(() => [R(U(we), { text: t.text ?? "-" }, null, 8, ["text"])]),
459
+ return (e, n) => (z(), N(H(q), null, {
460
+ default: U(() => [L(H(we), { text: t.text ?? "-" }, null, 8, ["text"])]),
365
461
  _: 1
366
462
  }));
367
463
  }
368
- }), $ = class {
464
+ }), mt = class {
369
465
  static getStatusBadgeColor(e) {
370
- return e === r.OVERDUE || e === r.PROTESTED ? "error" : "gray";
466
+ return e === s.OVERDUE || e === s.PROTESTED ? "error" : "gray";
371
467
  }
372
468
  static getVatAmount(e) {
373
469
  return {
@@ -378,20 +474,20 @@ var Ue = { key: 0 }, We = { class: "mb-md text-sm font-semibold text-primary" },
378
474
  };
379
475
  //#endregion
380
476
  //#region src/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.ts
381
- function at() {
382
- let e = j(), t = oe(), r = l();
383
- function i(e) {
477
+ function ht() {
478
+ let e = A(), t = ae(), r = l();
479
+ function a(e) {
384
480
  return e === null ? null : t.formatPlainDate(e);
385
481
  }
386
- return N(() => De()([
482
+ return M(() => Ee()([
387
483
  {
388
484
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.invoice_number"),
389
- key: o.SEQUENCE,
485
+ key: n.SEQUENCE,
390
486
  size: {
391
487
  max: "9.625rem",
392
488
  min: "9.625rem"
393
489
  },
394
- component: (e) => J(it, { sequence: e.sequence })
490
+ component: (e) => Y(pt, { sequence: e.sequence })
395
491
  },
396
492
  {
397
493
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.status"),
@@ -400,19 +496,19 @@ function at() {
400
496
  max: "6.4375rem",
401
497
  min: "6.4375rem"
402
498
  },
403
- component: (t) => J(Z, {
404
- color: $.getStatusBadgeColor(t.status),
499
+ component: (t) => Y(Q, {
500
+ color: mt.getStatusBadgeColor(t.status),
405
501
  label: e.t(O.getMetadata(t.status).translationKey)
406
502
  })
407
503
  },
408
504
  {
409
505
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.invoice_date"),
410
- key: o.ISSUED_ON,
506
+ key: n.ISSUED_ON,
411
507
  size: {
412
508
  max: "8.125rem",
413
509
  min: "8.125rem"
414
510
  },
415
- component: (e) => J(Q, { text: i(e.issuedOn) })
511
+ component: (e) => Y($, { text: a(e.issuedOn) })
416
512
  },
417
513
  {
418
514
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.due_date"),
@@ -421,7 +517,7 @@ function at() {
421
517
  max: "7.125rem",
422
518
  min: "7.125rem"
423
519
  },
424
- component: (e) => J(Q, { text: i(e.dueOn) })
520
+ component: (e) => Y($, { text: a(e.dueOn) })
425
521
  },
426
522
  {
427
523
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.type"),
@@ -430,19 +526,19 @@ function at() {
430
526
  max: "7.875rem",
431
527
  min: "7.875rem"
432
528
  },
433
- component: (t) => J(Z, {
529
+ component: (t) => Y(Q, {
434
530
  color: "gray",
435
- label: e.t(t.type === n.CREDIT_NOTE ? "wise_invoicing.invoice.type.credit_note" : "wise_invoicing.invoice.type.standard")
531
+ label: e.t(t.type === i.CREDIT_NOTE ? "wise_invoicing.invoice.type.credit_note" : "wise_invoicing.invoice.type.standard")
436
532
  })
437
533
  },
438
534
  {
439
535
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.amount_excl_vat"),
440
- key: o.NET_AMOUNT,
536
+ key: n.NET_AMOUNT,
441
537
  size: {
442
538
  max: "8.25rem",
443
539
  min: "8.25rem"
444
540
  },
445
- component: (e) => J(Q, { text: r.formatMonetary(e.total) })
541
+ component: (e) => Y($, { text: r.formatMonetary(e.total) })
446
542
  },
447
543
  {
448
544
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.vat"),
@@ -451,7 +547,7 @@ function at() {
451
547
  max: "8.25rem",
452
548
  min: "8.25rem"
453
549
  },
454
- component: (e) => J(Q, { text: r.formatMonetary($.getVatAmount(e)) })
550
+ component: (e) => Y($, { text: r.formatMonetary(mt.getVatAmount(e)) })
455
551
  },
456
552
  {
457
553
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.amount_incl_vat"),
@@ -460,7 +556,7 @@ function at() {
460
556
  max: "8.25rem",
461
557
  min: "8.25rem"
462
558
  },
463
- component: (e) => J(Q, { text: r.formatMonetary(e.grossAmount) })
559
+ component: (e) => Y($, { text: r.formatMonetary(e.grossAmount) })
464
560
  },
465
561
  {
466
562
  headerLabel: e.t("wise_invoicing.customer_invoice_list.columns.amount_due"),
@@ -469,14 +565,14 @@ function at() {
469
565
  max: "1fr",
470
566
  min: "8.3125rem"
471
567
  },
472
- component: (e) => J(Q, { text: e.balanceDueAmount === null ? null : r.formatMonetary(e.balanceDueAmount) })
568
+ component: (e) => Y($, { text: e.balanceDueAmount === null ? null : r.formatMonetary(e.balanceDueAmount) })
473
569
  }
474
570
  ]));
475
571
  }
476
572
  //#endregion
477
573
  //#region src/ui/customer-invoice-list/composables/customerInvoiceTableFilters.composable.ts
478
- function ot() {
479
- let e = j(), t = ce({
574
+ function gt() {
575
+ let e = A(), t = ce({
480
576
  actionGroup: { name: "customer-invoices" },
481
577
  filters: [
482
578
  se({
@@ -488,7 +584,7 @@ function ot() {
488
584
  displayFn: (t) => e.t(O.getMetadata(t).translationKey),
489
585
  key: "statuses",
490
586
  label: e.t("wise_invoicing.customer_invoice_list.filters.status"),
491
- options: () => Object.values(r)
587
+ options: () => Object.values(s)
492
588
  }),
493
589
  E({
494
590
  defaultValue: {
@@ -515,16 +611,16 @@ function ot() {
515
611
  label: e.t("wise_invoicing.invoice.overview.filters.due_on")
516
612
  })
517
613
  ]
518
- }), n = N(() => {
614
+ }), n = M(() => {
519
615
  let e = t.values.value.statuses.value;
520
616
  return e?.length ? e : null;
521
617
  });
522
618
  return {
523
- issuedOnRange: N(() => {
619
+ issuedOnRange: M(() => {
524
620
  let e = t.values.value.issuedOnRange.value;
525
621
  return e.from === null || e.until === null ? null : e;
526
622
  }),
527
- dueOnRange: N(() => {
623
+ dueOnRange: M(() => {
528
624
  let e = t.values.value.dueOnRange.value;
529
625
  return e.from === null || e.until === null ? null : e;
530
626
  }),
@@ -533,64 +629,38 @@ function ot() {
533
629
  };
534
630
  }
535
631
  //#endregion
536
- //#region src/ui/DisplayState.vue?vue&type=script&setup=true&lang.ts
537
- var st = { class: "duration-500 starting:opacity-0 starting:blur-md" }, ct = { class: "block text-center text-md font-bold text-secondary" }, lt = { class: "mx-auto mt-md max-w-sm text-center text-sm text-tertiary" }, ut = /* @__PURE__ */ z({
538
- __name: "DisplayState",
539
- props: {
540
- title: {},
541
- action: { default: null },
542
- message: {}
543
- },
544
- setup(e) {
545
- let t = e;
546
- return (e, n) => (B(), I("div", st, [
547
- L("span", ct, H(t.title), 1),
548
- L("p", lt, H(t.message), 1),
549
- t.action === null ? F("", !0) : (B(), P(U(K), {
550
- key: 0,
551
- justify: "center",
552
- class: "mt-2xl"
553
- }, {
554
- default: W(() => [R(U(Se), {
555
- label: t.action.label,
556
- variant: "secondary",
557
- onClick: t.action.onClick
558
- }, null, 8, ["label", "onClick"])]),
559
- _: 1
560
- }))
561
- ]));
562
- }
563
- }), dt = {
632
+ //#region src/ui/customer-invoice-list/CustomerInvoiceTable.vue?vue&type=script&setup=true&lang.ts
633
+ var _t = { class: "flex min-h-0 flex-1 flex-col" }, vt = {
564
634
  key: 1,
565
635
  class: "flex min-h-0 flex-1 flex-col"
566
- }, ft = { class: "flex min-h-0 flex-1 flex-col" }, pt = /* @__PURE__ */ z({
636
+ }, yt = /* @__PURE__ */ R({
567
637
  __name: "CustomerInvoiceTable",
568
638
  props: { externalId: {} },
569
639
  setup(e) {
570
- let t = e, r = j(), i = at(), a = d({ debounceMs: 300 }), { issuedOnRange: s, dueOnRange: c, filters: l, statuses: u } = ot();
640
+ let t = e, r = A(), a = ht(), o = p({ debounceMs: 300 }), { issuedOnRange: s, dueOnRange: c, filters: l, statuses: u } = gt();
571
641
  le(l);
572
- let f = Oe({
642
+ let d = De({
573
643
  initialValues: [{
574
644
  direction: "desc",
575
- key: o.ISSUED_ON
645
+ key: n.ISSUED_ON
576
646
  }],
577
647
  keys: [
578
- o.SEQUENCE,
579
- o.ISSUED_ON,
580
- o.NET_AMOUNT
648
+ n.SEQUENCE,
649
+ n.ISSUED_ON,
650
+ n.NET_AMOUNT
581
651
  ]
582
- }), { isFetching: p, isFetchingNextPage: m, isLoading: h, fetchNextPage: g, result: _ } = ee({ params: {
583
- filters: N(() => ({
652
+ }), { isFetching: f, isFetchingNextPage: m, isLoading: h, fetchNextPage: g, result: _ } = ee({ params: {
653
+ filters: M(() => ({
584
654
  issuedOnRange: s.value,
585
655
  customerExternalIds: [t.externalId],
586
656
  dueOnRange: c.value,
587
657
  statuses: u.value
588
658
  })),
589
- search: a.debouncedSearch,
590
- sort: f.values
591
- } }), v = N(() => _.value.isOk() ? _.value.getValue().data : []), y = N(() => _.value.isErr() ? _.value.getError() : null), b = N(() => l.activeFilters.value.length), x = N(() => (a.debouncedSearch.value?.trim().length ?? 0) > 0), S = N(() => !h.value && !p.value && y.value === null && v.value.length === 0 && a.search.value === "" && b.value === 0);
659
+ search: o.debouncedSearch,
660
+ sort: d.values
661
+ } }), v = M(() => _.value.isOk() ? _.value.getValue().data : []), y = M(() => _.value.isErr() ? _.value.getError() : null), b = M(() => l.activeFilters.value.length), x = M(() => (o.debouncedSearch.value?.trim().length ?? 0) > 0), S = M(() => !h.value && !f.value && y.value === null && v.value.length === 0 && o.search.value === "" && b.value === 0);
592
662
  function C(e) {
593
- return e.type === n.CREDIT_NOTE ? {
663
+ return e.type === i.CREDIT_NOTE ? {
594
664
  name: "invoicing-credit-note-detail",
595
665
  params: { creditNoteUuid: e.uuid }
596
666
  } : {
@@ -598,45 +668,65 @@ var st = { class: "duration-500 starting:opacity-0 starting:blur-md" }, ct = { c
598
668
  params: { invoiceUuid: e.uuid }
599
669
  };
600
670
  }
601
- return (e, t) => S.value ? (B(), P(ut, {
602
- key: 0,
603
- title: U(r).t("wise_invoicing.customer_invoice_list.empty_state.title"),
604
- message: U(r).t("wise_invoicing.customer_invoice_list.empty_state.description")
605
- }, null, 8, ["title", "message"])) : (B(), I("div", dt, [R(U(K), {
671
+ return (e, t) => (z(), F("div", _t, [L(H(K), {
672
+ align: "center",
606
673
  justify: "between",
607
- class: "p-md"
674
+ class: "border-b border-secondary bg-secondary px-lg py-md"
608
675
  }, {
609
- default: W(() => [R(U(ue)), R(U(K), { justify: "end" }, {
610
- default: W(() => [R(U(Ee), {
611
- modelValue: U(a).search.value,
612
- "onUpdate:modelValue": t[0] ||= (e) => U(a).search.value = e,
676
+ default: U(() => [L(H(K), {
677
+ align: "center",
678
+ gap: "md",
679
+ class: "min-w-0"
680
+ }, {
681
+ default: U(() => [L(H(J), {
682
+ text: H(r).t("wise_invoicing.customer_invoice_list.title"),
683
+ class: "shrink-0 text-sm font-semibold text-primary"
684
+ }, null, 8, ["text"]), L(H(ue))]),
685
+ _: 1
686
+ }), S.value ? P("", !0) : (z(), N(H(K), {
687
+ key: 0,
688
+ justify: "end"
689
+ }, {
690
+ default: U(() => [L(H(Te), {
691
+ modelValue: H(o).search.value,
692
+ "onUpdate:modelValue": t[0] ||= (e) => H(o).search.value = e,
613
693
  label: null,
614
- "icon-left": U(ie),
615
- placeholder: U(r).t("wise_invoicing.common.search"),
694
+ "icon-left": H(ne),
695
+ placeholder: H(r).t("wise_invoicing.common.search"),
616
696
  size: "sm",
617
697
  type: "search"
618
698
  }, null, 8, [
619
699
  "modelValue",
620
700
  "icon-left",
621
701
  "placeholder"
622
- ]), R(U(fe))]),
702
+ ]), L(H(fe))]),
623
703
  _: 1
624
- })]),
704
+ }))]),
625
705
  _: 1
626
- }), L("div", ft, [R(U(Ce), {
627
- columns: U(i),
706
+ }), S.value ? (z(), N(H(Se), {
707
+ key: 0,
708
+ icon: H(re),
709
+ title: H(r).t("wise_invoicing.customer_invoice_list.empty_state.title"),
710
+ description: H(r).t("wise_invoicing.customer_invoice_list.empty_state.description"),
711
+ class: "py-7xl"
712
+ }, null, 8, [
713
+ "icon",
714
+ "title",
715
+ "description"
716
+ ])) : (z(), F("div", vt, [L(H(Ce), {
717
+ columns: H(a),
628
718
  data: v.value,
629
- sort: U(f),
630
- "is-loading": U(h),
631
- "is-fetching-next-page": U(m),
719
+ sort: H(d),
720
+ "is-loading": H(h),
721
+ "is-fetching-next-page": H(m),
632
722
  error: y.value,
633
723
  "has-active-search": x.value,
634
724
  "active-filter-count": b.value,
635
725
  "get-key": (e) => e.uuid,
636
726
  "get-link": C,
637
- onNextPage: U(g),
638
- onClearSearch: t[1] ||= (e) => U(a).clear(),
639
- onClearFilters: t[2] ||= (e) => U(l).clearAll()
727
+ onNextPage: H(g),
728
+ onClearSearch: t[1] ||= (e) => H(o).clear(),
729
+ onClearFilters: t[2] ||= (e) => H(l).clearAll()
640
730
  }, null, 8, [
641
731
  "columns",
642
732
  "data",
@@ -648,96 +738,26 @@ var st = { class: "duration-500 starting:opacity-0 starting:blur-md" }, ct = { c
648
738
  "active-filter-count",
649
739
  "get-key",
650
740
  "onNextPage"
651
- ])])]));
741
+ ])]))]));
652
742
  }
653
- }), mt = /* @__PURE__ */ z({
743
+ }), bt = /* @__PURE__ */ R({
654
744
  __name: "CustomerInvoiceList",
655
745
  props: { externalId: {} },
656
746
  setup(e) {
657
- let t = e, n = N(() => typeof t.externalId == "string" && t.externalId !== "" ? t.externalId : null);
658
- return (e, t) => n.value === null ? F("", !0) : (B(), P(pt, {
747
+ let t = e, n = M(() => typeof t.externalId == "string" && t.externalId !== "" ? t.externalId : null);
748
+ return (e, t) => n.value === null ? P("", !0) : (z(), N(yt, {
659
749
  key: n.value,
660
750
  "external-id": n.value
661
751
  }, null, 8, ["external-id"]));
662
752
  }
663
- });
664
- //#endregion
665
- //#region src/modules/invoice/routes/invoice.routes.ts
666
- function ht(e) {
667
- return Y([{
668
- name: "invoicing-module",
669
- path: "/invoicing/invoices",
670
- redirect: { name: "invoicing-invoice-overview" },
671
- children: [{
672
- name: "invoicing-invoice-overview",
673
- path: "",
674
- component: e ?? (() => import("./InvoiceOverviewViewDataProvider-i8tXATJE.js").then((e) => e.n)),
675
- meta: { permission: "invoice.read" }
676
- }, {
677
- name: "invoicing-invoice-detail",
678
- props: !0,
679
- path: ":invoiceUuid",
680
- component: () => import("./InvoiceDetailViewDataProvider-D6E7YVV1.js"),
681
- meta: { permission: "invoice.read" }
682
- }]
683
- }]);
684
- }
685
- var gt = Y([{
686
- name: "invoicing-invoice-pdf-preview",
687
- props: !0,
688
- path: "/invoicing/invoices/:invoiceUuid/pdf",
689
- component: () => import("./InvoicePdfViewDataProvider-BPiK110e.js"),
690
- meta: { permission: "invoice.read" }
691
- }]), _t = Y([{
692
- name: "invoicing-invoice-public-pdf-preview",
693
- path: "/pdf",
694
- component: () => import("./InvoicePublicPdfViewDataProvider-BJe-8hC5.js").then((e) => e.n)
695
- }]);
696
- //#endregion
697
- //#region src/routes/invoicingPublicRoutes.composable.ts
698
- function vt() {
699
- return [..._t, ...ze];
700
- }
701
- //#endregion
702
- //#region src/modules/credit-note/routes/creditNote.routes.ts
703
- var yt = [{
704
- name: "invoicing-credit-note-module",
705
- path: "/invoicing/credit-notes",
706
- redirect: { name: "invoicing-invoice-overview" },
707
- children: [{
708
- name: "invoicing-credit-note-detail",
709
- props: !0,
710
- path: ":creditNoteUuid",
711
- component: () => import("./CreditNoteDetailViewDataProvider-BuY9ELoK.js"),
712
- meta: { permission: "invoice.read" }
713
- }]
714
- }], bt = [{
715
- name: "invoicing-credit-note-pdf-preview",
716
- props: !0,
717
- path: "/invoicing/credit-notes/:creditNoteUuid/pdf",
718
- component: () => import("./CreditNotePdfViewDataProvider-DI4eQkpM.js"),
719
- meta: { permission: "invoice.read" }
720
- }];
721
- //#endregion
722
- //#region src/routes/invoicingRoutes.composable.ts
723
- function xt(e) {
724
- return Y([{
725
- path: "",
726
- children: [
727
- ...ht(e?.invoiceOverviewComponent),
728
- ...yt,
729
- ...Le
730
- ]
731
- }]);
732
- }
733
- //#endregion
734
- //#region src/routes/invoicingStandaloneRoutes.composable.ts
735
- function St() {
736
- return [...bt, ...gt];
737
- }
738
- //#endregion
739
- //#region src/index.ts
740
- var Ct = {
753
+ }), xt = class {
754
+ static format(e, t = 0) {
755
+ return new Intl.NumberFormat(void 0, { maximumFractionDigits: t }).format(e);
756
+ }
757
+ static randomBetween(e, t) {
758
+ return Math.floor(Math.random() * (t - e + 1)) + e;
759
+ }
760
+ }, St = {
741
761
  "en-US": {
742
762
  ...t,
743
763
  ...ke
@@ -748,4 +768,4 @@ var Ct = {
748
768
  }
749
769
  };
750
770
  //#endregion
751
- export { x as AddressUtil, m as DownloadUtil, g as MonetaryTransformer, Pe as NumberUtil, v as Percentage, _ as PercentageTransformer, s as SortDirection, be as SortUtil, i as WiseInvoicingCustomFieldType, h as WiseInvoicingCustomFieldValueUtil, rt as WiseInvoicingCustomerDunningCasesSection, mt as WiseInvoicingCustomerInvoiceList, pe as WiseInvoicingDunningCaseDetailView, te as WiseInvoicingDunningCaseOverviewView, me as WiseInvoicingDunningCaseReminderPdfView, p as WiseInvoicingInvoiceOverviewView, re as WiseInvoicingInvoicePublicPdfViewDataProvider, he as WiseInvoicingReminderSettingsView, S as addressFormSchema, Fe as creditNoteUuidSchema, b as initWiseInvoicingConfig, Ie as invoiceUuidSchema, Me as onCreated, u as toMajorUnits, c as toMinorUnits, l as useCurrencyFormat, a as useDocumentTitle, je as useInvoiceNavigateToDetailAction, d as useSearch, f as useSort, Ve as useWiseInvoicingApiError, y as useWiseInvoicingConfig, C as useWiseInvoicingDunningCaseIndexQuery, ne as useWiseInvoicingInvoicePublicDetailQuery, vt as useWiseInvoicingPublicRoutes, Ne as useWiseInvoicingQueryInvalidation, xt as useWiseInvoicingRoutes, St as useWiseInvoicingStandaloneRoutes, X as wiseInvoicingApiErrorI18nKeys, Ct as wiseInvoicingLocales, Be as wiseInvoicingSettingsRoutes };
771
+ export { g as AddressUtil, y as DownloadUtil, b as MonetaryTransformer, xt as NumberUtil, S as Percentage, x as PercentageTransformer, r as SortDirection, ye as SortUtil, a as WiseInvoicingCustomFieldType, v as WiseInvoicingCustomFieldValueUtil, Ye as WiseInvoicingCustomerDunningCasesSection, bt as WiseInvoicingCustomerInvoiceList, oe as WiseInvoicingDunningCaseDetailView, te as WiseInvoicingDunningCaseOverviewView, pe as WiseInvoicingDunningCaseReminderPdfView, h as WiseInvoicingInvoiceOverviewView, ge as WiseInvoicingInvoicePublicPdfViewDataProvider, me as WiseInvoicingReminderSettingsView, _ as addressFormSchema, Ne as creditNoteUuidSchema, f as initWiseInvoicingConfig, Ze as invoiceUuidSchema, je as onCreated, u as toMajorUnits, c as toMinorUnits, l as useCurrencyFormat, o as useDocumentTitle, Xe as useInvoiceNavigateToDetailAction, p as useSearch, m as useSort, ft as useWiseInvoicingApiError, d as useWiseInvoicingConfig, C as useWiseInvoicingDunningCaseIndexQuery, he as useWiseInvoicingInvoicePublicDetailQuery, st as useWiseInvoicingPublicRoutes, Me as useWiseInvoicingQueryInvalidation, ut as useWiseInvoicingRoutes, dt as useWiseInvoicingStandaloneRoutes, Z as wiseInvoicingApiErrorI18nKeys, St as wiseInvoicingLocales, rt as wiseInvoicingSettingsRoutes };