@wisemen/wise-invoicing-web 0.2.0 → 0.3.1

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 (118) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-D-qXZrPT.js → ApprovalReminderSettingsViewDataProvider-DwtfyQpx.js} +4 -4
  2. package/dist/{BillingDocumentDetailViewDataProvider-DDdtlW-2.js → BillingDocumentDetailViewDataProvider-Dub07ybW.js} +1373 -1217
  3. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  4. package/dist/{BillingDocumentPdf-ehdFB6mr.js → BillingDocumentPdf-DgtUB45R.js} +20 -13
  5. package/dist/{CreditNoteDetailViewDataProvider-11a-JO3H.js → CreditNoteDetailViewDataProvider-BxNfC6yO.js} +90 -90
  6. package/dist/{CreditNotePdfViewDataProvider-bfeaya3P.js → CreditNotePdfViewDataProvider-D0j8qqK-.js} +2 -2
  7. package/dist/{CustomFieldValueText-CZQXGE5F.js → CustomFieldValueText-Cuhs9sRn.js} +26 -26
  8. package/dist/DunningCaseDetailViewDataProvider-ou1FfNWQ.js +439 -0
  9. package/dist/{DunningCaseOverviewView-y_bCmi5j.js → DunningCaseOverviewView--zaPD0-c.js} +255 -203
  10. package/dist/{DunningCaseReminderPdfViewDataProvider-DNODfED_.js → DunningCaseReminderPdfViewDataProvider-BpUDbbSH.js} +5 -4
  11. package/dist/{DunningCaseSendDialog-BPXcqit5.js → DunningCaseSendDialog-Co4oLFtZ.js} +83 -72
  12. package/dist/InvoiceApprovalOutOfSyncIndicator-H6H7kjAE.js +45 -0
  13. package/dist/InvoiceApprovalOverviewView-Bw-6rkon.js +814 -0
  14. package/dist/InvoiceApprovalStatusBadge-IyzJ--TJ.js +127 -0
  15. package/dist/InvoiceApproveDialogDataProvider-8G-11W1e.js +377 -0
  16. package/dist/{InvoiceDetailViewDataProvider-BYeaaQzL.js → InvoiceDetailViewDataProvider-B9gul2ei.js} +750 -692
  17. package/dist/InvoiceOverviewViewDataProvider-5KgIdhfL.js +1892 -0
  18. package/dist/{InvoicePdfView-BJRTg_TH.js → InvoicePdfView-5sJ-u_gT.js} +10 -4
  19. package/dist/{InvoicePdfViewDataProvider-CwI_uGm3.js → InvoicePdfViewDataProvider-BLVXDPv6.js} +3 -3
  20. package/dist/{InvoicePublicPdfViewDataProvider-uZUfsr5K.js → InvoicePublicPdfViewDataProvider-CnhYazmB.js} +3 -3
  21. package/dist/InvoicePublicProFormaPdfViewDataProvider-CcvGISK6.js +47 -0
  22. package/dist/{InvoicingFileUploadProvider-D9Xk4rQM.js → InvoicingFileUploadProvider-Kcq7kSSt.js} +2 -2
  23. package/dist/{IssuerSettingsViewDataProvider-CGRa8F-2.js → IssuerSettingsViewDataProvider-BuSIVnIl.js} +3 -3
  24. package/dist/{ReminderSettingsViewDataProvider-1ucp3z2T.js → ReminderSettingsViewDataProvider-CH7gSXnj.js} +100 -102
  25. package/dist/{api.util-C_kMGlJN.js → api.util-CkIRZS3h.js} +985 -930
  26. package/dist/{billingDocumentDetail.transformer-Da6_-Hv9.js → billingDocumentDetail.transformer-Bfd8geNo.js} +5 -7
  27. package/dist/client/index.d.ts +2 -2
  28. package/dist/client/sdk.gen.d.ts +2 -1
  29. package/dist/client/types.gen.d.ts +114 -31
  30. package/dist/client/zod.gen.d.ts +343 -78
  31. package/dist/composables/sending-refetch/sendingRefetch.composable.d.ts +7 -0
  32. package/dist/composables/sending-refetch/sendingRefetch.composable.spec.d.ts +1 -0
  33. package/dist/{creditNoteDetail.query-DLR7L0Ep.js → creditNoteDetail.query-tLnfqsEB.js} +27 -27
  34. package/dist/customerUuid.model-ClN4Vi9n.js +18 -0
  35. package/dist/{dist-Cxdm09Lp.js → dist-BQbaoN5W.js} +144 -96
  36. package/dist/{dist-CoztMdYH.js → dist-CGZBUnWK.js} +62 -62
  37. package/dist/{dist-boJIIxnT.js → dist-Cdbpkd3Y.js} +1 -1
  38. package/dist/{documentTitle.composable-DsBbzhXN.js → documentTitle.composable-CRJjS6p-.js} +19 -17
  39. package/dist/{i18n.lib-Cvr8pcDw.js → i18n.lib--mzprLMR.js} +88 -54
  40. package/dist/index.d.ts +56 -22
  41. package/dist/index.js +193 -201
  42. package/dist/{invoice.service-DEEA9mal.js → invoice.service-B1w16_Md.js} +184 -172
  43. package/dist/{invoiceApproval.service-DvL3LliM.js → invoiceApproval.service-BHAJmFkU.js} +8 -8
  44. package/dist/{invoiceApprovalStatus.util-3Zh10Pj8.js → invoiceApprovalStatus.util-DohOKR4q.js} +42 -38
  45. package/dist/invoiceCustomer.service-DpVfpQUD.js +39 -0
  46. package/dist/{invoiceDetail.query-CRoH_SgM.js → invoiceDetail.query-CfyNSXLS.js} +1 -1
  47. package/dist/{invoiceDeliveryStatus.util-nCsqDypY.js → invoiceIndexCache.util-BDLs7W9m.js} +128 -51
  48. package/dist/{invoicingConfig.composable-rxjGK882.js → invoicingConfig.composable-COn1rKRf.js} +2 -2
  49. package/dist/{issuerSettings.query-Dc5gsaEm.js → issuerSettings.query-CDFk2GiP.js} +3 -2
  50. package/dist/libs/i18n.lib.d.ts +56 -22
  51. package/dist/locales/en-US.json.d.ts +44 -27
  52. package/dist/locales/nl-BE.json.d.ts +44 -27
  53. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.model.d.ts +8 -1
  54. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.d.ts +12 -0
  55. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.spec.d.ts +1 -0
  56. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +2 -6
  57. package/dist/modules/dunning-case/api/mutations/dunningCaseReminderRetry.mutation.d.ts +4 -0
  58. package/dist/modules/dunning-case/api/services/dunningCase.service.d.ts +2 -1
  59. package/dist/modules/dunning-case/models/dunningCase.model.d.ts +5 -0
  60. package/dist/modules/dunning-case/models/dunningCaseReminderPdf.model.d.ts +0 -4
  61. package/dist/modules/dunning-case/models/dunningCaseReminderPdf.transformer.d.ts +0 -1
  62. package/dist/modules/dunning-case/test/builders/dunningCaseReminderPdfDto.builder.d.ts +1 -0
  63. package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewActionsCell.vue.d.ts +2 -0
  64. package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.d.ts +2 -2
  65. package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.spec.d.ts +1 -0
  66. package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewTableColumns.composable.d.ts +1 -0
  67. package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +0 -4
  68. package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseBulkSendDialog.vue.d.ts +2 -1
  69. package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderRow.vue.d.ts +4 -4
  70. package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.d.ts +2 -2
  71. package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.spec.d.ts +1 -0
  72. package/dist/modules/invoice/api/mutations/invoiceRejectApproval.mutation.d.ts +8 -0
  73. package/dist/modules/invoice/api/queries/invoicePublicProFormaDetail.query.d.ts +2 -0
  74. package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +6 -0
  75. package/dist/modules/invoice/api/services/invoice.service.d.ts +1 -0
  76. package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.d.ts +4 -2
  77. package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.spec.d.ts +1 -0
  78. package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.d.ts +8 -0
  79. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +1 -0
  80. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +2 -3
  81. package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.model.d.ts +2 -9
  82. package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.util.d.ts +4 -2
  83. package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreate.transformer.spec.d.ts +1 -0
  84. package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.transformer.d.ts +2 -1
  85. package/dist/modules/invoice/routes/invoice.routes.d.ts +4 -0
  86. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialog.vue.d.ts +1 -0
  87. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialogDataProvider.vue.d.ts +13 -0
  88. package/dist/modules/invoice/use-cases/detail/dialogs/InvoicePaymentDeleteDialog.vue.d.ts +13 -0
  89. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +2 -3
  90. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +11 -9
  91. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +2 -2
  92. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendApprovalDialog.vue.d.ts +3 -1
  93. package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +7 -4
  94. package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.spec.d.ts +1 -0
  95. package/dist/modules/invoice/use-cases/pdf/components/BillingDocumentPdf.vue.d.ts +1 -0
  96. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfWatermark.vue.d.ts +4 -1
  97. package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue.d.ts +1 -0
  98. package/dist/modules/invoice/use-cases/pdf/views/InvoicePublicProFormaPdfViewDataProvider.vue.d.ts +3 -0
  99. package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.action.d.ts +2 -0
  100. package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.spec.d.ts +1 -0
  101. package/dist/modules/invoice-approval/models/invoiceApprovalIndex.transformer.spec.d.ts +1 -0
  102. package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.transformer.spec.d.ts +1 -0
  103. package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverview.composable.d.ts +5 -6
  104. package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverviewFilters.composable.d.ts +0 -5
  105. package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +1 -0
  106. package/dist/{reminderConfig.query-snaHQmrY.js → reminderConfig.query-DSO0ekC_.js} +112 -105
  107. package/dist/routes/invoicingPublicRoutes.composable.d.ts +4 -0
  108. package/dist/style.css +1 -1
  109. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityApprovalDetails.vue.d.ts +7 -0
  110. package/package.json +3 -3
  111. package/dist/DunningCaseDetailViewDataProvider-DC-ziMoO.js +0 -409
  112. package/dist/InvoiceApprovalOverviewView-DZ14mi4L.js +0 -870
  113. package/dist/InvoiceApprovalStatusBadge-U-dW2hR4.js +0 -161
  114. package/dist/InvoiceApproveDialog-2LXneG2r.js +0 -308
  115. package/dist/InvoiceOverviewBulkSendApprovalDialog-99dfuN4i.js +0 -318
  116. package/dist/InvoiceOverviewViewDataProvider-CZIQeftL.js +0 -1620
  117. package/dist/customerUuid.model-GUFYq3O2.js +0 -5
  118. package/dist/modules/invoice-approval/actions/invoiceApprovalUnmarkAsNeedsApproval.action.d.ts +0 -1
@@ -1,16 +1,22 @@
1
- import { t as e } from "./documentTitle.composable-DsBbzhXN.js";
2
- import { t } from "./BillingDocumentPdf-ehdFB6mr.js";
1
+ import { t as e } from "./documentTitle.composable-CRJjS6p-.js";
2
+ import { t } from "./BillingDocumentPdf-DgtUB45R.js";
3
3
  import { useI18n as n } from "vue-i18n";
4
4
  import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s } from "vue";
5
5
  //#region src/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue?vue&type=script&setup=true&lang.ts
6
6
  var c = { class: "min-h-screen bg-secondary px-3xl py-4xl print:bg-primary print:p-0" }, l = /* @__PURE__ */ o({
7
7
  __name: "InvoicePdfView",
8
- props: { invoice: {} },
8
+ props: {
9
+ invoice: {},
10
+ watermark: {}
11
+ },
9
12
  setup(o) {
10
13
  let l = o, u = n();
11
14
  e().set(() => l.invoice.sequence ?? u.t("wise_invoicing.invoice.detail.fallback_title"));
12
15
  let d = r(() => l.invoice);
13
- return (e, n) => (s(), i("main", c, [a(t, { "billing-document": d.value }, null, 8, ["billing-document"])]));
16
+ return (e, n) => (s(), i("main", c, [a(t, {
17
+ "billing-document": d.value,
18
+ watermark: l.watermark
19
+ }, null, 8, ["billing-document", "watermark"])]));
14
20
  }
15
21
  });
16
22
  //#endregion
@@ -1,7 +1,7 @@
1
- import { n as e } from "./invoicingConfig.composable-rxjGK882.js";
1
+ import { n as e } from "./invoicingConfig.composable-COn1rKRf.js";
2
2
  import { t } from "./DataProvider-C3uEds9v.js";
3
- import { t as n } from "./InvoicePdfView-BJRTg_TH.js";
4
- import { t as r } from "./invoiceDetail.query-CRoH_SgM.js";
3
+ import { t as n } from "./InvoicePdfView-5sJ-u_gT.js";
4
+ import { t as r } from "./invoiceDetail.query-CfyNSXLS.js";
5
5
  import { useI18n as i } from "vue-i18n";
6
6
  import { computed as a, createBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, openBlock as u, resolveDynamicComponent as d, unref as f, withCtx as p } from "vue";
7
7
  import { UIText as m } from "@wisemen/vue-core-design-system";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { n as t } from "./invoicingConfig.composable-rxjGK882.js";
3
- import { t as n } from "./invoice.service-DEEA9mal.js";
2
+ import { n as t } from "./invoicingConfig.composable-COn1rKRf.js";
3
+ import { t as n } from "./invoice.service-B1w16_Md.js";
4
4
  import { t as r } from "./DataProvider-C3uEds9v.js";
5
- import { t as i } from "./InvoicePdfView-BJRTg_TH.js";
5
+ import { t as i } from "./InvoicePdfView-5sJ-u_gT.js";
6
6
  import { useI18n as a } from "vue-i18n";
7
7
  import { computed as o, createBlock as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, openBlock as f, resolveDynamicComponent as p, unref as m, watch as h, withCtx as g } from "vue";
8
8
  import { useQuery as _ } from "@wisemen/vue-core-api-utils";
@@ -0,0 +1,47 @@
1
+ import { n as e } from "./invoicingConfig.composable-COn1rKRf.js";
2
+ import { t } from "./invoice.service-B1w16_Md.js";
3
+ import { t as n } from "./DataProvider-C3uEds9v.js";
4
+ import { t as r } from "./InvoicePdfView-5sJ-u_gT.js";
5
+ import { useI18n as i } from "vue-i18n";
6
+ import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, openBlock as d, resolveDynamicComponent as f, unref as p, watch as m, withCtx as h } from "vue";
7
+ import { useQuery as g } from "@wisemen/vue-core-api-utils";
8
+ import { useRouter as _ } from "vue-router";
9
+ import { UIText as v } from "@wisemen/vue-core-design-system";
10
+ import { useRouteQuery as y } from "@vueuse/router";
11
+ //#region src/modules/invoice/api/queries/invoicePublicProFormaDetail.query.ts
12
+ function b(e) {
13
+ return g("invoicePublicProFormaDetail", {
14
+ isEnabled: a(() => e.value !== null),
15
+ params: { token: e },
16
+ queryFn: () => {
17
+ if (e.value === null) throw Error("Token is required to fetch proforma public detail");
18
+ return t.getPublicProFormaDetail(e.value);
19
+ }
20
+ });
21
+ }
22
+ //#endregion
23
+ //#region src/modules/invoice/use-cases/pdf/views/InvoicePublicProFormaPdfViewDataProvider.vue?vue&type=script&setup=true&lang.ts
24
+ var x = { class: "flex min-h-screen items-center justify-center bg-secondary" }, S = {
25
+ key: 1,
26
+ class: "flex min-h-screen items-center justify-center bg-secondary"
27
+ }, C = /* @__PURE__ */ u({
28
+ __name: "InvoicePublicProFormaPdfViewDataProvider",
29
+ setup(t) {
30
+ let u = i(), g = e(), C = a(() => g.invoicePdfComponent.value ?? r), w = _(), T = y("token", null), E = b(a(() => T.value));
31
+ return m(a(() => T.value === null || E.result.value?.isErr() === !0), async (e) => {
32
+ e && await w.replace({ name: "index" });
33
+ }, { immediate: !0 }), (e, t) => p(T) === null ? (d(), s("div", S, [l(p(v), { text: p(u).t("wise_invoicing.common.loading") }, null, 8, ["text"])])) : (d(), o(n, {
34
+ key: 0,
35
+ queries: { invoice: p(E) }
36
+ }, {
37
+ default: h(({ data: e }) => [(d(), o(f(C.value), {
38
+ invoice: e.invoice,
39
+ watermark: p(u).t("wise_invoicing.invoice.pdf.pro_forma")
40
+ }, null, 8, ["invoice", "watermark"]))]),
41
+ loading: h(() => [c("div", x, [l(p(v), { text: p(u).t("wise_invoicing.common.loading") }, null, 8, ["text"])])]),
42
+ _: 1
43
+ }, 8, ["queries"]));
44
+ }
45
+ });
46
+ //#endregion
47
+ export { C as default };
@@ -1,5 +1,5 @@
1
- import { _ as e, f as t, t as n, u as r } from "./api.util-C_kMGlJN.js";
2
- import { x as i } from "./documentTitle.composable-DsBbzhXN.js";
1
+ import { _ as e, f as t, t as n, u as r } from "./api.util-CkIRZS3h.js";
2
+ import { S as i } from "./documentTitle.composable-CRJjS6p-.js";
3
3
  import { z as a } from "zod";
4
4
  import { createBlock as o, defineComponent as s, openBlock as c, renderSlot as l, unref as u, withCtx as d } from "vue";
5
5
  import { UIConfigProvider as f, useInjectConfigContext as p } from "@wisemen/vue-core-design-system";
@@ -1,10 +1,10 @@
1
- import "./api.util-C_kMGlJN.js";
2
- import { s as e, t } from "./documentTitle.composable-DsBbzhXN.js";
1
+ import "./api.util-CkIRZS3h.js";
2
+ import { c as e, t } from "./documentTitle.composable-CRJjS6p-.js";
3
3
  import { r as n } from "./useCurrencyFormat.composable-MtZaqKnO.js";
4
4
  import { t as r } from "./addressForm.model-C853zEtX.js";
5
5
  import { t as i } from "./DataProvider-C3uEds9v.js";
6
6
  import { t as a } from "./formango.util-D5c2ql--.js";
7
- import { n as o, r as s, t as c } from "./issuerSettings.query-Dc5gsaEm.js";
7
+ import { n as o, r as s, t as c } from "./issuerSettings.query-CDFk2GiP.js";
8
8
  import { t as l } from "./dashboard-BaWGNEek.js";
9
9
  import { z as u } from "zod";
10
10
  import { useI18n as d } from "vue-i18n";
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { t } from "./i18n.lib-Cvr8pcDw.js";
3
- import "./api.util-C_kMGlJN.js";
4
- import { C as n, p as r, s as i, t as a } from "./documentTitle.composable-DsBbzhXN.js";
5
- import { i as o, n as s, r as c, t as l } from "./reminderConfig.query-snaHQmrY.js";
2
+ import { t } from "./i18n.lib--mzprLMR.js";
3
+ import "./api.util-CkIRZS3h.js";
4
+ import { c as n, m as r, t as i, w as a } from "./documentTitle.composable-CRJjS6p-.js";
5
+ import { i as o, n as s, r as c, t as l } from "./reminderConfig.query-DSO0ekC_.js";
6
6
  import { t as u } from "./DataProvider-C3uEds9v.js";
7
7
  import { t as d } from "./formango.util-D5c2ql--.js";
8
8
  import { z as f } from "zod";
9
9
  import { useI18n as p } from "vue-i18n";
10
10
  import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, mergeModels as C, mergeProps as w, nextTick as T, normalizeClass as E, normalizeStyle as D, openBlock as O, ref as k, renderList as A, toDisplayString as j, unref as M, useModel as N, watch as ee, withCtx as P, withKeys as F, withModifiers as I } from "vue";
11
11
  import { useMutation as L } from "@wisemen/vue-core-api-utils";
12
- import { UIButton as R, UIDashboardPage as te, UIDashboardPageContent as ne, UIDashboardPageLoadingState as z, UIForm as re, UINumberField as B, UISelect as V, UITabs as H, UITabsItem as U, UITabsList as W, UITextField as ie, UITextareaField as ae, UITooltip as oe, UITooltipContent as se, createSelectOptions as G, useToast as K } from "@wisemen/vue-core-design-system";
12
+ import { UIButton as te, UIDashboardPage as ne, UIDashboardPageContent as re, UIDashboardPageLoadingState as R, UIForm as z, UINumberField as B, UISelect as V, UITabs as H, UITabsItem as U, UITabsList as W, UITextField as ie, UITextareaField as ae, UITooltip as oe, UITooltipContent as se, createSelectOptions as G, useToast as K } from "@wisemen/vue-core-design-system";
13
13
  import { useForm as ce } from "formango";
14
14
  //#region src/modules/dunning-case/api/mutations/reminderConfigUpdate.mutation.ts
15
15
  function le() {
@@ -28,20 +28,20 @@ var J = f.object({
28
28
  subject: f.string().refine(q, t.global.t("module.dunning_case.settings.validation.required"))
29
29
  }), ue = f.object({
30
30
  feeAmount: f.number().min(0),
31
- feeCurrency: f.enum(i),
31
+ feeCurrency: f.enum(n),
32
32
  feePercentage: f.number().min(0).max(100),
33
33
  feePrecision: f.number().int().min(0),
34
34
  feeType: f.enum(r),
35
35
  offsetDays: f.number().int().min(1),
36
- schedule: f.enum(n),
36
+ schedule: f.enum(a),
37
37
  sequence: f.number().int().min(1).max(3),
38
38
  template: f.object({
39
39
  "en-US": J,
40
40
  "fr-BE": J,
41
41
  "nl-BE": J
42
42
  })
43
- }), de = f.object({ reminders: f.array(ue).length(3) }).superRefine((e, r) => {
44
- e.reminders[0]?.schedule !== n.AFTER_DUE_DATE && r.addIssue({
43
+ }), de = f.object({ reminders: f.array(ue).length(3) }).superRefine((e, n) => {
44
+ e.reminders[0]?.schedule !== a.AFTER_DUE_DATE && n.addIssue({
45
45
  code: "custom",
46
46
  message: t.global.t("module.dunning_case.settings.validation.level_one_due_date"),
47
47
  path: [
@@ -50,18 +50,18 @@ var J = f.object({
50
50
  "schedule"
51
51
  ]
52
52
  });
53
- let i = 0;
54
- for (let [a, o] of e.reminders.entries()) {
55
- let e = o.schedule === n.AFTER_DUE_DATE ? o.offsetDays : i + o.offsetDays;
56
- a > 0 && e <= i && r.addIssue({
53
+ let r = 0;
54
+ for (let [i, o] of e.reminders.entries()) {
55
+ let e = o.schedule === a.AFTER_DUE_DATE ? o.offsetDays : r + o.offsetDays;
56
+ i > 0 && e <= r && n.addIssue({
57
57
  code: "custom",
58
58
  message: t.global.t("module.dunning_case.settings.validation.chronological"),
59
59
  path: [
60
60
  "reminders",
61
- a,
61
+ i,
62
62
  "offsetDays"
63
63
  ]
64
- }), i = e;
64
+ }), r = e;
65
65
  }
66
66
  });
67
67
  function fe(e) {
@@ -95,36 +95,36 @@ var pe = { class: "mt-3xl flex max-w-260 flex-col gap-md" }, me = { class: "roun
95
95
  },
96
96
  emits: [
97
97
  "commitOffset",
98
+ "typeOffset",
98
99
  "updateOffset",
99
- "updateOffsetFromInput",
100
100
  "updateSchedule"
101
101
  ],
102
102
  setup(e, { emit: t }) {
103
- let i = e, a = t, o = p(), c = h(() => !i.canUpdate || i.level === 1), l = h(() => i.feeTypeField.modelValue.value ?? r.AMOUNT), u = h(() => G([r.AMOUNT, r.PERCENTAGE])), f = {
103
+ let n = e, i = t, o = p(), c = h(() => !n.canUpdate || n.level === 1), l = h(() => n.feeTypeField.modelValue.value ?? r.AMOUNT), u = h(() => G([r.AMOUNT, r.PERCENTAGE])), f = {
104
104
  maximumFractionDigits: 2,
105
105
  minimumFractionDigits: 0
106
- }, m = { maximumFractionDigits: 2 }, _ = h(() => i.feeCurrency === void 0 ? "" : new Intl.NumberFormat(o.locale.value, {
107
- currency: i.feeCurrency,
106
+ }, m = { maximumFractionDigits: 2 }, _ = h(() => n.feeCurrency === void 0 ? "" : new Intl.NumberFormat(o.locale.value, {
107
+ currency: n.feeCurrency,
108
108
  style: "currency"
109
- }).formatToParts(0).find((e) => e.type === "currency")?.value ?? i.feeCurrency);
109
+ }).formatToParts(0).find((e) => e.type === "currency")?.value ?? n.feeCurrency);
110
110
  function b(e) {
111
- return o.t(e === n.AFTER_DUE_DATE ? "module.dunning_case.settings.ladder.after_due_date" : "module.dunning_case.settings.ladder.after_previous");
111
+ return o.t(e === a.AFTER_DUE_DATE ? "module.dunning_case.settings.ladder.after_due_date" : "module.dunning_case.settings.ladder.after_previous");
112
112
  }
113
113
  function S(e) {
114
114
  return o.t(e === r.PERCENTAGE ? "module.dunning_case.settings.ladder.fee_type_percentage" : "module.dunning_case.settings.ladder.fee_type_amount");
115
115
  }
116
116
  return (e, t) => (O(), v("div", be, [
117
- y("div", xe, [y("span", Se, j(M(o).t("module.dunning_case.level.reminder", { level: i.level })), 1), x(s, {
118
- level: i.level,
117
+ y("div", xe, [y("span", Se, j(M(o).t("module.dunning_case.level.reminder", { level: n.level })), 1), x(s, {
118
+ level: n.level,
119
119
  size: "md"
120
120
  }, null, 8, ["level"])]),
121
- y("div", Ce, [y("span", we, j(M(o).t("module.dunning_case.settings.ladder.trigger")), 1), x(M(V), w(M(d)(i.scheduleField), {
121
+ y("div", Ce, [y("span", we, j(M(o).t("module.dunning_case.settings.ladder.trigger")), 1), x(M(V), w(M(d)(n.scheduleField), {
122
122
  "aria-label": M(o).t("module.dunning_case.settings.ladder.trigger"),
123
123
  "display-fn": b,
124
124
  "is-disabled": c.value,
125
- items: i.scheduleItems,
125
+ items: n.scheduleItems,
126
126
  label: null,
127
- "onUpdate:modelValue": t[0] ||= (e) => a("updateSchedule", e)
127
+ "onUpdate:modelValue": t[0] ||= (e) => i("updateSchedule", e)
128
128
  }), null, 16, [
129
129
  "aria-label",
130
130
  "is-disabled",
@@ -132,45 +132,46 @@ var pe = { class: "mt-3xl flex max-w-260 flex-col gap-md" }, me = { class: "roun
132
132
  ])]),
133
133
  y("div", Te, [y("span", Ee, j(M(o).t("module.dunning_case.settings.ladder.offset")), 1), y("div", {
134
134
  class: "flex flex-col items-start gap-xs sm:flex-row sm:items-center",
135
- onFocusoutCapture: t[2] ||= (e) => a("commitOffset", e),
136
- onInputCapture: t[3] ||= (e) => a("updateOffsetFromInput", e)
137
- }, [x(M(B), w(M(d)(i.offsetField), {
135
+ onFocusoutCapture: t[2] ||= (e) => i("commitOffset"),
136
+ onInputCapture: t[3] ||= (e) => i("typeOffset", !0),
137
+ onInput: t[4] ||= (e) => i("typeOffset", !1)
138
+ }, [x(M(B), w(M(d)(n.offsetField), {
138
139
  "aria-label": M(o).t("module.dunning_case.settings.ladder.offset"),
139
- "is-disabled": !i.canUpdate,
140
+ "is-disabled": !n.canUpdate,
140
141
  label: null,
141
142
  min: 1,
142
143
  "show-controls": !0,
143
144
  step: 1,
144
145
  class: "w-30",
145
146
  size: "sm",
146
- "onUpdate:modelValue": t[1] ||= (e) => a("updateOffset", e)
147
- }), null, 16, ["aria-label", "is-disabled"]), y("span", De, j(M(o).t("module.dunning_case.settings.ladder.day_hint", { day: i.absoluteDay })), 1)], 32)]),
148
- y("div", Oe, [y("span", ke, j(M(o).t("module.dunning_case.settings.ladder.fee")), 1), y("div", Ae, [y("div", je, [x(M(V), w(M(d)(i.feeTypeField), {
147
+ "onUpdate:modelValue": t[1] ||= (e) => i("updateOffset", e)
148
+ }), null, 16, ["aria-label", "is-disabled"]), y("span", De, j(M(o).t("module.dunning_case.settings.ladder.day_hint", { day: n.absoluteDay })), 1)], 32)]),
149
+ y("div", Oe, [y("span", ke, j(M(o).t("module.dunning_case.settings.ladder.fee")), 1), y("div", Ae, [y("div", je, [x(M(V), w(M(d)(n.feeTypeField), {
149
150
  "aria-label": M(o).t("module.dunning_case.settings.ladder.fee_type"),
150
151
  "display-fn": S,
151
- "is-disabled": !i.canUpdate,
152
+ "is-disabled": !n.canUpdate,
152
153
  items: u.value,
153
154
  label: null
154
155
  }), null, 16, [
155
156
  "aria-label",
156
157
  "is-disabled",
157
158
  "items"
158
- ])]), y("div", Me, [l.value === M(r).PERCENTAGE ? (O(), g(M(B), w({ key: 0 }, M(d)(i.feePercentageField), {
159
+ ])]), y("div", Me, [l.value === M(r).PERCENTAGE ? (O(), g(M(B), w({ key: 0 }, M(d)(n.feePercentageField), {
159
160
  "aria-label": M(o).t("module.dunning_case.settings.ladder.fee"),
160
161
  "format-options": m,
161
- "is-disabled": !i.canUpdate,
162
+ "is-disabled": !n.canUpdate,
162
163
  label: null,
163
164
  max: 100,
164
165
  min: 0,
165
166
  step: .01,
166
167
  size: "sm"
167
168
  }), {
168
- right: P(() => [...t[4] ||= [y("span", { class: "pr-md text-xs text-secondary" }, " % ", -1)]]),
169
+ right: P(() => [...t[5] ||= [y("span", { class: "pr-md text-xs text-secondary" }, " % ", -1)]]),
169
170
  _: 1
170
- }, 16, ["aria-label", "is-disabled"])) : (O(), g(M(B), w({ key: 1 }, M(d)(i.feeField), {
171
+ }, 16, ["aria-label", "is-disabled"])) : (O(), g(M(B), w({ key: 1 }, M(d)(n.feeField), {
171
172
  "aria-label": M(o).t("module.dunning_case.settings.ladder.fee"),
172
173
  "format-options": f,
173
- "is-disabled": !i.canUpdate,
174
+ "is-disabled": !n.canUpdate,
174
175
  label: null,
175
176
  min: 0,
176
177
  step: .01,
@@ -328,9 +329,9 @@ var pe = { class: "mt-3xl flex max-w-260 flex-col gap-md" }, me = { class: "roun
328
329
  "offset-field": e.offsetDays,
329
330
  "schedule-field": e.schedule,
330
331
  "schedule-items": t.scheduleItems,
331
- onCommitOffset: (e) => t.ladder.commitOffset(n, e),
332
+ onCommitOffset: (e) => t.ladder.commitOffset(n),
333
+ onTypeOffset: t.ladder.setTypingOffset,
332
334
  onUpdateOffset: (e) => t.ladder.updateOffset(n, e),
333
- onUpdateOffsetFromInput: (e) => t.ladder.updateOffsetFromInput(n, e),
334
335
  onUpdateSchedule: (e) => t.ladder.updateSchedule(n, e)
335
336
  }, null, 8, [
336
337
  "absolute-day",
@@ -344,8 +345,8 @@ var pe = { class: "mt-3xl flex max-w-260 flex-col gap-md" }, me = { class: "roun
344
345
  "schedule-field",
345
346
  "schedule-items",
346
347
  "onCommitOffset",
348
+ "onTypeOffset",
347
349
  "onUpdateOffset",
348
- "onUpdateOffsetFromInput",
349
350
  "onUpdateSchedule"
350
351
  ]))), 128))]),
351
352
  x(ye)
@@ -453,91 +454,88 @@ var pe = { class: "mt-3xl flex max-w-260 flex-col gap-md" }, me = { class: "roun
453
454
  return r[n] = { ...t }, r;
454
455
  }
455
456
  static getAbsoluteDay(e, t) {
456
- let r = 0;
457
- for (let i of t.slice(0, e + 1)) i.schedule === n.AFTER_DUE_DATE ? r = i.offsetDays : r += i.offsetDays;
458
- return r;
457
+ let n = 0;
458
+ for (let r of t.slice(0, e + 1)) r.schedule === a.AFTER_DUE_DATE ? n = r.offsetDays : n += r.offsetDays;
459
+ return n;
459
460
  }
460
- }, at = 60, Z = 15;
461
- function Q(e) {
462
- let t = k([]);
461
+ }, at = 60, ot = 1, Z = 15;
462
+ function st(e) {
463
+ return e != null && Number.isInteger(e) && e >= ot;
464
+ }
465
+ function ct(e) {
466
+ let t = k([]), n = !1;
463
467
  function r(e) {
464
468
  return X.getAbsoluteDay(e, t.value);
465
469
  }
466
470
  let i = h(() => {
467
471
  let t = e.items.value.length - 1, n = t < 0 ? 0 : r(t), i = Math.ceil(n / Z) * Z;
468
472
  return Math.max(at, i);
469
- }), a = h(() => e.items.value.map((e, t) => ({
473
+ }), o = h(() => e.items.value.map((e, t) => ({
470
474
  absoluteDay: r(t),
471
475
  minimumDay: t === 0 ? 1 : r(t - 1) + 1,
472
476
  sequence: e.sequence
473
477
  })));
474
- function o() {
478
+ function s() {
475
479
  t.value = e.items.value.map((e) => ({
476
480
  offsetDays: e.offsetDays,
477
481
  schedule: e.schedule
478
482
  }));
479
483
  }
480
- function s(n, r) {
484
+ function c(n, r) {
481
485
  let i = e.items.value[n];
482
- i !== void 0 && (t.value = X.commitReminder(t.value, {
483
- offsetDays: r ?? i.offsetDays,
486
+ if (i === void 0) return;
487
+ let a = r ?? i.offsetDays;
488
+ st(a) && (t.value = X.commitReminder(t.value, {
489
+ offsetDays: a,
484
490
  schedule: i.schedule
485
491
  }, n));
486
492
  }
487
- function c(t, n) {
488
- let r = n?.target, i;
489
- if (r instanceof HTMLInputElement) {
490
- let n = Number(r.value);
491
- Number.isFinite(n) && (i = n, e.fields[t]?.offsetDays["onUpdate:modelValue"](n));
492
- }
493
- e.fields[t]?.offsetDays.onBlur(), T(() => s(t, i));
493
+ function l(t) {
494
+ e.fields[t]?.offsetDays.onBlur(), T(() => c(t));
494
495
  }
495
- function l(t, n) {
496
- let r = n.target;
497
- if (!(r instanceof HTMLInputElement)) return;
498
- let i = Number(r.value);
499
- Number.isFinite(i) && e.fields[t]?.offsetDays["onUpdate:modelValue"](i);
496
+ function u(e) {
497
+ n = e;
500
498
  }
501
- function u(t, n) {
502
- e.fields[t]?.offsetDays["onUpdate:modelValue"](n), s(t, n ?? void 0);
499
+ function d(t, r) {
500
+ e.fields[t]?.offsetDays["onUpdate:modelValue"](r), n || c(t, r);
503
501
  }
504
- function d(t, n) {
505
- e.fields[t]?.schedule["onUpdate:modelValue"](n), s(t);
502
+ function f(t, n) {
503
+ e.fields[t]?.schedule["onUpdate:modelValue"](n), c(t);
506
504
  }
507
- function f(t, a) {
508
- let o = e.items.value[t], c = e.fields[t]?.offsetDays;
509
- if (o === void 0 || c === void 0 || !e.canUpdate.value) return;
510
- let l = t === 0 ? 0 : r(t - 1), u = o.schedule === n.AFTER_DUE_DATE ? 1 : l + 1, d = Math.min(i.value, Math.max(u, a)), f = o.schedule === n.AFTER_DUE_DATE ? d : d - l;
511
- c.setValue(f), s(t);
505
+ function p(t, n) {
506
+ let o = e.items.value[t], s = e.fields[t]?.offsetDays;
507
+ if (o === void 0 || s === void 0 || !e.canUpdate.value) return;
508
+ let l = t === 0 ? 0 : r(t - 1), u = o.schedule === a.AFTER_DUE_DATE ? 1 : l + 1, d = Math.min(i.value, Math.max(u, n)), f = o.schedule === a.AFTER_DUE_DATE ? d : d - l;
509
+ s.setValue(f), c(t);
512
510
  }
513
511
  return {
514
- commitOffset: c,
512
+ commitOffset: l,
515
513
  getAbsoluteDay: r,
516
514
  items: e.items,
517
- markers: a,
518
- reset: o,
519
- setAbsoluteDay: f,
515
+ markers: o,
516
+ reset: s,
517
+ setAbsoluteDay: p,
518
+ setTypingOffset: u,
520
519
  timelineDays: i,
521
- updateOffset: u,
522
- updateOffsetFromInput: l,
523
- updateSchedule: d
520
+ updateOffset: d,
521
+ updateSchedule: f
524
522
  };
525
523
  }
526
524
  //#endregion
527
525
  //#region src/modules/dunning-case/use-cases/settings/views/ReminderSettingsView.vue?vue&type=script&setup=true&lang.ts
528
- var ot = { class: "mx-auto w-full max-w-340" }, st = { class: "flex flex-col gap-lg sm:flex-row sm:items-start sm:justify-between" }, ct = { class: "text-md font-semibold text-primary" }, lt = { class: "mt-xs text-sm text-secondary" }, ut = /* @__PURE__ */ S({
526
+ var Q = { class: "mx-auto w-full max-w-340" }, lt = { class: "flex flex-col gap-lg sm:flex-row sm:items-start sm:justify-between" }, ut = { class: "text-md font-semibold text-primary" }, dt = { class: "mt-xs text-sm text-secondary" }, ft = /* @__PURE__ */ S({
529
527
  __name: "ReminderSettingsView",
530
528
  props: { reminderConfigs: {} },
531
529
  setup(e) {
532
- let t = e, r = [
530
+ let t = e, n = [
533
531
  0,
534
532
  1,
535
533
  2
536
- ], i = [
534
+ ], r = [
537
535
  "en-US",
538
536
  "nl-BE",
539
537
  "fr-BE"
540
- ], s = [n.AFTER_DUE_DATE, n.AFTER_LAST_REMINDER], c = p(), l = K(), u = a(), d = le(), f = k("ladder"), m = k(0), v = k("en-US");
538
+ ], s = [a.AFTER_DUE_DATE, a.AFTER_LAST_REMINDER], c = p(), l = K(), u = i(), d = le(), f = k("ladder"), m = k(0), v = k("en-US");
541
539
  u.set(() => c.t("module.dunning_case.settings.title"));
542
540
  let b = ce({
543
541
  initialState: h(() => o.reminderConfigsToForm(t.reminderConfigs)),
@@ -553,7 +551,7 @@ var ot = { class: "mx-auto w-full max-w-340" }, st = { class: "flex flex-col gap
553
551
  onSubmitError: () => {
554
552
  l.unableToSave();
555
553
  }
556
- }), S = b.registerArray("reminders"), C = r.map((e) => {
554
+ }), S = b.registerArray("reminders"), C = n.map((e) => {
557
555
  let t = S.register(`${e}`), n = t.register("template");
558
556
  return {
559
557
  feeAmount: t.register("feeAmount"),
@@ -576,13 +574,13 @@ var ot = { class: "mx-auto w-full max-w-340" }, st = { class: "flex flex-col gap
576
574
  offsetDays: t.register("offsetDays"),
577
575
  schedule: t.register("schedule")
578
576
  };
579
- }), w = k(!0), T = h(() => G(s)), E = Q({
577
+ }), w = k(!0), T = h(() => G(s)), E = ct({
580
578
  canUpdate: w,
581
579
  fields: C,
582
580
  items: h(() => (b.state.value.reminders ?? []).map((e, t) => ({
583
581
  feeCurrency: e?.feeCurrency,
584
582
  offsetDays: e?.offsetDays ?? 0,
585
- schedule: e?.schedule ?? n.AFTER_DUE_DATE,
583
+ schedule: e?.schedule ?? a.AFTER_DUE_DATE,
586
584
  sequence: e?.sequence ?? t + 1
587
585
  })))
588
586
  }), D = h({
@@ -594,7 +592,7 @@ var ot = { class: "mx-auto w-full max-w-340" }, st = { class: "flex flex-col gap
594
592
  }), A = h({
595
593
  get: () => v.value,
596
594
  set: (e) => {
597
- let t = i.find((t) => t === e);
595
+ let t = r.find((t) => t === e);
598
596
  t !== void 0 && (v.value = t);
599
597
  }
600
598
  });
@@ -606,25 +604,25 @@ var ot = { class: "mx-auto w-full max-w-340" }, st = { class: "flex flex-col gap
606
604
  hasMissingContent: N(t, v.value),
607
605
  label: c.t("module.dunning_case.level.reminder", { level: t + 1 }),
608
606
  value: String(t)
609
- }))), L = h(() => i.map((e) => ({
607
+ }))), L = h(() => r.map((e) => ({
610
608
  hasMissingContent: N(m.value, e),
611
609
  label: c.t(`module.dunning_case.settings.locale.${e}`),
612
610
  value: e
613
- }))), z = h(() => c.t("module.dunning_case.settings.templates.card_title", {
611
+ }))), R = h(() => c.t("module.dunning_case.settings.templates.card_title", {
614
612
  language: c.t(`module.dunning_case.settings.locale_name.${v.value}`),
615
613
  level: m.value + 1
616
614
  }));
617
- return ee(() => t.reminderConfigs, E.reset, { immediate: !0 }), (e, t) => (O(), g(M(te), {
615
+ return ee(() => t.reminderConfigs, E.reset, { immediate: !0 }), (e, t) => (O(), g(M(ne), {
618
616
  title: M(c).t("module.dunning_case.settings.title"),
619
617
  subtitle: M(c).t("module.dunning_case.settings.subtitle")
620
618
  }, {
621
- default: P(() => [x(M(ne), null, {
622
- default: P(() => [x(M(re), {
619
+ default: P(() => [x(M(re), null, {
620
+ default: P(() => [x(M(z), {
623
621
  form: M(b),
624
622
  "prompt-on-unsaved-changes": !0
625
623
  }, {
626
- default: P(() => [y("div", ot, [
627
- y("div", st, [y("div", null, [y("h2", ct, j(M(c).t("module.dunning_case.settings.title")), 1), y("p", lt, j(M(c).t("module.dunning_case.settings.subtitle")), 1)]), w.value ? (O(), g(M(R), {
624
+ default: P(() => [y("div", Q, [
625
+ y("div", lt, [y("div", null, [y("h2", ut, j(M(c).t("module.dunning_case.settings.title")), 1), y("p", dt, j(M(c).t("module.dunning_case.settings.subtitle")), 1)]), w.value ? (O(), g(M(te), {
628
626
  key: 0,
629
627
  "is-disabled": !M(b).isDirty.value || !M(b).isValid.value,
630
628
  "is-loading": M(b).isSubmitting.value,
@@ -674,7 +672,7 @@ var ot = { class: "mx-auto w-full max-w-340" }, st = { class: "flex flex-col gap
674
672
  "onUpdate:activeLocale": t[2] ||= (e) => A.value = e,
675
673
  "body-field": F.value?.body,
676
674
  "can-update": w.value,
677
- "card-title": z.value,
675
+ "card-title": R.value,
678
676
  "level-items": I.value,
679
677
  "locale-items": L.value,
680
678
  "subject-field": F.value?.subject
@@ -696,16 +694,16 @@ var ot = { class: "mx-auto w-full max-w-340" }, st = { class: "flex flex-col gap
696
694
  _: 1
697
695
  }, 8, ["title", "subtitle"]));
698
696
  }
699
- }), dt = /*@__PURE__*/ S({
697
+ }), pt = /*@__PURE__*/ S({
700
698
  __name: "ReminderSettingsViewDataProvider",
701
699
  setup(e) {
702
700
  let t = l();
703
701
  return (e, n) => (O(), g(u, { queries: { reminderConfigs: M(t) } }, {
704
- default: P(({ data: e }) => [x(ut, { "reminder-configs": e.reminderConfigs }, null, 8, ["reminder-configs"])]),
705
- loading: P(() => [x(M(z), { breadcrumbs: [] })]),
702
+ default: P(({ data: e }) => [x(ft, { "reminder-configs": e.reminderConfigs }, null, 8, ["reminder-configs"])]),
703
+ loading: P(() => [x(M(R), { breadcrumbs: [] })]),
706
704
  _: 1
707
705
  }, 8, ["queries"]));
708
706
  }
709
- }), ft = /* @__PURE__ */ e({ default: () => $ }), $ = dt;
707
+ }), mt = /* @__PURE__ */ e({ default: () => $ }), $ = pt;
710
708
  //#endregion
711
- export { ft as n, $ as t };
709
+ export { mt as n, $ as t };