@wisemen/wise-invoicing-web 0.11.2 → 0.11.3
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.
- package/dist/{ApprovalReminderSettingsViewDataProvider-D0kpogSQ.js → ApprovalReminderSettingsViewDataProvider-BOzuwgOd.js} +2 -6
- package/dist/{BillingDocumentDetailViewDataProvider-D_oc3-0D.js → BillingDocumentDetailViewDataProvider-a3kGQ6K1.js} +75 -167
- package/dist/{BillingDocumentPdf-wlv-k8KE.js → BillingDocumentPdf-DrOZdixo.js} +12 -18
- package/dist/{CreditNoteDetailViewDataProvider-DoFm2xgo.js → CreditNoteDetailViewDataProvider-9CTOmMw8.js} +6 -26
- package/dist/{CreditNotePdfViewDataProvider-QpzNsVsK.js → CreditNotePdfViewDataProvider-DX_y_ZIS.js} +2 -2
- package/dist/{DataProvider-C3uEds9v.js → DataProvider-BtnD-BzI.js} +1 -1
- package/dist/{DunningCaseSendDialog-Bol8NF1J.js → DunningCaseSendDialog-BFGLaor0.js} +3 -11
- package/dist/{InvoiceApprovalOutOfSyncIndicator-C4ZLDRiv.js → InvoiceApprovalOutOfSyncIndicator-Pc40MY4q.js} +1 -1
- package/dist/{InvoiceApprovalOverviewView-BAmEOum7.js → InvoiceApprovalOverviewView-wBqCXtEF.js} +5 -13
- package/dist/{InvoiceApproveDialogDataProvider-S81Mc5oS.js → InvoiceApproveDialogDataProvider-DUeMi7qI.js} +10 -26
- package/dist/{InvoiceDetailViewDataProvider-Dqu6qlky.js → InvoiceDetailViewDataProvider-Dy4AN8tQ.js} +40 -114
- package/dist/{InvoicePdfView-D0G-Pik3.js → InvoicePdfView-B-DBwFx-.js} +1 -1
- package/dist/{InvoicePdfViewDataProvider-DXXbPe-Z.js → InvoicePdfViewDataProvider-aRN8o_EF.js} +3 -3
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-CdGFZD-G.js → InvoicePublicProFormaPdfViewDataProvider-CGddJNyW.js} +3 -3
- package/dist/{IssuerSettingsViewDataProvider-Ca7GPCDE.js → IssuerSettingsViewDataProvider-BlKorJfv.js} +2 -6
- package/dist/{PeppolSettingsViewDataProvider-ZdJQGqux.js → PeppolSettingsViewDataProvider-CH0iMxBL.js} +4 -18
- package/dist/{dist-DALBiuub.js → dist-BZgvL8_m.js} +19 -30
- package/dist/index.js +4496 -227
- package/dist/{invoice.service-jakQLnDu.js → invoice.service-CXCNJz0L.js} +1 -1
- package/dist/{invoiceCustomer.service-Bp59E0ZJ.js → invoiceCustomer.service-CknXiBt9.js} +1 -1
- package/dist/{invoiceDetail.query-BBhA0ZAn.js → invoiceDetail.query-Cp9AnTrw.js} +1 -1
- package/dist/{invoiceIndexCache.util-Ba2MGULh.js → invoiceIndexCache.util-By0N8jal.js} +1 -5
- package/dist/{src-DUSgQTKr.js → src-Vz2dm4sM.js} +1 -3
- package/package.json +2 -2
- package/dist/DunningCaseDetailViewDataProvider-uRJFWZtQ.js +0 -439
- package/dist/DunningCaseOverviewView-DpQoXamE.js +0 -799
- package/dist/DunningCaseReminderPdfViewDataProvider-D-CfDeC8.js +0 -490
- package/dist/InvoiceOverviewViewDataProvider-WKzgF7cl.js +0 -1929
- package/dist/InvoicePublicPdfViewDataProvider-ndVoAAY3.js +0 -45
- package/dist/ReminderSettingsViewDataProvider-DTC0Ud5z.js +0 -709
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- /package/dist/{DunningCaseReminderPdfViewDataProvider.css → index.css} +0 -0
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { n as t } from "./invoicingConfig.composable-k8p1Y_eJ.js";
|
|
3
|
-
import { t as n } from "./invoice.service-jakQLnDu.js";
|
|
4
|
-
import { t as r } from "./DataProvider-C3uEds9v.js";
|
|
5
|
-
import { t as i } from "./InvoicePdfView-D0G-Pik3.js";
|
|
6
|
-
import { useI18n as a } from "vue-i18n";
|
|
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
|
-
import { useQuery as _ } from "@wisemen/vue-core-api-utils";
|
|
9
|
-
import { useRouter as v } from "vue-router";
|
|
10
|
-
import { UIText as y } from "@wisemen/vue-core-design-system";
|
|
11
|
-
import { useRouteQuery as b } from "@vueuse/router";
|
|
12
|
-
//#region src/modules/invoice/api/queries/invoicePublicDetail.query.ts
|
|
13
|
-
function x(e) {
|
|
14
|
-
return _("invoicePublicDetail", {
|
|
15
|
-
isEnabled: o(() => e.value !== null),
|
|
16
|
-
params: { token: e },
|
|
17
|
-
queryFn: () => {
|
|
18
|
-
if (e.value === null) throw Error("Token is required to fetch invoice public detail");
|
|
19
|
-
return n.getPublicDetail(e.value);
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/modules/invoice/use-cases/pdf/views/InvoicePublicPdfViewDataProvider.vue?vue&type=script&setup=true&lang.ts
|
|
25
|
-
var S = { class: "flex min-h-screen items-center justify-center bg-secondary" }, C = {
|
|
26
|
-
key: 1,
|
|
27
|
-
class: "flex min-h-screen items-center justify-center bg-secondary"
|
|
28
|
-
}, w = /*@__PURE__*/ d({
|
|
29
|
-
__name: "InvoicePublicPdfViewDataProvider",
|
|
30
|
-
setup(e) {
|
|
31
|
-
let n = a(), d = t(), _ = o(() => d.invoicePdfComponent.value ?? i), w = v(), T = b("token", null), E = x(o(() => T.value));
|
|
32
|
-
return h(o(() => T.value === null || E.result.value?.isErr() === !0), async (e) => {
|
|
33
|
-
e && await w.replace({ name: "index" });
|
|
34
|
-
}, { immediate: !0 }), (e, t) => m(T) === null ? (f(), c("div", C, [u(m(y), { text: m(n).t("wise_invoicing.common.loading") }, null, 8, ["text"])])) : (f(), s(r, {
|
|
35
|
-
key: 0,
|
|
36
|
-
queries: { invoice: m(E) }
|
|
37
|
-
}, {
|
|
38
|
-
default: g(({ data: e }) => [(f(), s(p(_.value), { invoice: e.invoice }, null, 8, ["invoice"]))]),
|
|
39
|
-
loading: g(() => [l("div", S, [u(m(y), { text: m(n).t("wise_invoicing.common.loading") }, null, 8, ["text"])])]),
|
|
40
|
-
_: 1
|
|
41
|
-
}, 8, ["queries"]));
|
|
42
|
-
}
|
|
43
|
-
}), T = /* @__PURE__ */ e({ default: () => E }), E = w;
|
|
44
|
-
//#endregion
|
|
45
|
-
export { T as n, x as r, E as t };
|