@wisemen/wise-invoicing-web 0.4.0 → 0.6.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.
- package/dist/{ApprovalReminderSettingsViewDataProvider-IuReavOR.js → ApprovalReminderSettingsViewDataProvider-r9DcFi76.js} +4 -4
- package/dist/{BillingDocumentDetailViewDataProvider-B3I6UIKY.js → BillingDocumentDetailViewDataProvider-CsqBeAiA.js} +1496 -1418
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-rFqmLUPy.js → BillingDocumentPdf-thrvzGfh.js} +266 -205
- package/dist/{CreditNoteDetailViewDataProvider-CQRnG2Fz.js → CreditNoteDetailViewDataProvider-D6IMBwLn.js} +242 -242
- package/dist/{CreditNotePdfViewDataProvider-RytwPWH5.js → CreditNotePdfViewDataProvider-C4z1NE3Q.js} +2 -2
- package/dist/{CustomFieldValueText-DA0aPKwC.js → CustomFieldValueText-BRpCwCqJ.js} +37 -22
- package/dist/{DunningCaseDetailViewDataProvider-BRYbYgTw.js → DunningCaseDetailViewDataProvider-DTotyRX8.js} +5 -5
- package/dist/{DunningCaseOverviewView-D0vScVF1.js → DunningCaseOverviewView-kDq7UY5e.js} +5 -5
- package/dist/{DunningCaseReminderPdfViewDataProvider-I_ZQiAuK.js → DunningCaseReminderPdfViewDataProvider-DgKA-7lX.js} +1 -1
- package/dist/{DunningCaseSendDialog-CV66_tMv.js → DunningCaseSendDialog-DVfBVtgr.js} +12 -12
- package/dist/{InvoiceApprovalOutOfSyncIndicator-AJOQe8j8.js → InvoiceApprovalOutOfSyncIndicator-DPlrqqOs.js} +1 -1
- package/dist/{InvoiceApprovalOverviewView-CcMqr2jH.js → InvoiceApprovalOverviewView-B6naRElx.js} +8 -8
- package/dist/{InvoiceApprovalStatusBadge-BJ3Q18bf.js → InvoiceApprovalStatusBadge-CDc_Pwsm.js} +3 -3
- package/dist/{InvoiceApproveDialogDataProvider-DaCEHgs0.js → InvoiceApproveDialogDataProvider-CK6ij8X1.js} +7 -7
- package/dist/{InvoiceDetailViewDataProvider-B5uZY8Qy.js → InvoiceDetailViewDataProvider-BKurQPAV.js} +369 -369
- package/dist/{InvoiceOverviewViewDataProvider-BrgmweRE.js → InvoiceOverviewViewDataProvider-ChoyCi5L.js} +368 -368
- package/dist/{InvoicePdfView-CPEX7E9W.js → InvoicePdfView-DLEKQ29O.js} +2 -2
- package/dist/{InvoicePdfViewDataProvider-T4-8A2OD.js → InvoicePdfViewDataProvider-C-b7iXiH.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-BkHZoPSZ.js → InvoicePublicPdfViewDataProvider-DZ4WQsvi.js} +3 -3
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-CfkArXbC.js → InvoicePublicProFormaPdfViewDataProvider-CsF8fPlp.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-BLBjPKqx.js → InvoicingFileUploadProvider-t64Qiyn6.js} +2 -2
- package/dist/{IssuerSettingsViewDataProvider-BStn0jFI.js → IssuerSettingsViewDataProvider-Cc8R6ekd.js} +51 -46
- package/dist/PeppolSettingsViewDataProvider-DpVIfFVG.js +276 -0
- package/dist/{ReminderSettingsViewDataProvider-CjX7afDs.js → ReminderSettingsViewDataProvider-QOh3LpMX.js} +63 -63
- package/dist/{api.util-D6m6OY3_.js → api.util-Do9BEwG4.js} +735 -641
- package/dist/{billingDocumentDetail.transformer-Da-Nt4bI.js → billingDocumentDetail.transformer-BAOQ3Zrg.js} +3 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +4 -1
- package/dist/client/types.gen.d.ts +218 -40
- package/dist/client/zod.gen.d.ts +2575 -72
- package/dist/{creditNoteDetail.query-Yb8TdZNm.js → creditNoteDetail.query-C1rr54m1.js} +15 -15
- package/dist/{dist-BpDuRYDT.js → dist-CZAOPudv.js} +1 -1
- package/dist/{documentTitle.composable-CRJjS6p-.js → documentTitle.composable-C3k1m0Nz.js} +28 -26
- package/dist/{i18n.lib-CKs3ExEl.js → i18n.lib-Bkz_R954.js} +56 -2
- package/dist/index.d.ts +55 -0
- package/dist/index.js +161 -156
- package/dist/{invoice.service-DWDl9XRh.js → invoice.service-DrI2ULIR.js} +39 -38
- package/dist/{invoiceApproval.service-Fwlxgd9o.js → invoiceApproval.service-Dpxiru7l.js} +7 -7
- package/dist/{invoiceApprovalStatus.util-q-zHLdFV.js → invoiceApprovalStatus.util-CdOAcPzv.js} +2 -2
- package/dist/{invoiceCustomer.service-DOexR54S.js → invoiceCustomer.service-RRFosiYR.js} +6 -6
- package/dist/{invoiceDetail.query-B5w0Vlsy.js → invoiceDetail.query-BmtHdfj0.js} +1 -1
- package/dist/{invoiceIndexCache.util-CUlp4R7R.js → invoiceIndexCache.util-DKtJorc_.js} +3 -3
- package/dist/{invoicingConfig.composable-DjFexycc.js → invoicingConfig.composable-CMTYHHS9.js} +2 -2
- package/dist/{issuerSettings.query-BHuLjV9P.js → issuerSettings.query-CKDhoStt.js} +2 -2
- package/dist/libs/i18n.lib.d.ts +54 -0
- package/dist/locales/en-US.json.d.ts +28 -1
- package/dist/locales/nl-BE.json.d.ts +28 -1
- package/dist/models/billing-document/billingDocumentAdvancePayment.util.d.ts +9 -0
- package/dist/models/billing-document/billingDocumentAdvancePayment.util.spec.d.ts +1 -0
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +1 -0
- package/dist/modules/custom-field/components/customFieldList.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.model.d.ts +6 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.transformer.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.d.ts +6 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldViewKey.model.d.ts +9 -0
- package/dist/modules/custom-field/test/builders/customFieldDefinition.builder.d.ts +2 -1
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +1 -0
- package/dist/modules/invoice-delivery/api/mutations/peppolConnectionUpdate.mutation.d.ts +6 -0
- package/dist/modules/invoice-delivery/api/queries/peppolConnection.query.d.ts +1 -0
- package/dist/modules/invoice-delivery/api/query-keys/invoiceDelivery.queryKeys.d.ts +6 -0
- package/dist/modules/invoice-delivery/api/services/peppolConnection.service.d.ts +8 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormApiKeyField.vue.d.ts +8 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormCompanyField.vue.d.ts +11 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormEnabledField.vue.d.ts +7 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormProviderField.vue.d.ts +9 -0
- package/dist/modules/invoice-delivery/index.d.ts +1 -0
- package/dist/modules/invoice-delivery/models/deliveryReason.util.d.ts +6 -0
- package/dist/modules/invoice-delivery/models/peppolConnection.model.d.ts +18 -0
- package/dist/modules/invoice-delivery/models/peppolConnection.transformer.d.ts +9 -0
- package/dist/modules/invoice-delivery/models/peppolConnectionForm.model.d.ts +9 -0
- package/dist/modules/invoice-delivery/use-cases/settings/views/PeppolSettingsView.vue.d.ts +7 -0
- package/dist/modules/invoice-delivery/use-cases/settings/views/PeppolSettingsViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
- package/dist/{reminderConfig.query-C4J6m4ER.js → reminderConfig.query-yImUS5qt.js} +22 -22
- package/dist/style.css +1 -1
- package/dist/types/queryKey.type.d.ts +2 -1
- package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGroupRow.vue.d.ts +4 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsTreeIndent.vue.d.ts +4 -2
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +0 -18
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +0 -3
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableField.vue.d.ts +3 -0
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableTextField.vue.d.ts +1 -0
- package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +6 -0
- package/package.json +1 -1
package/dist/{CreditNotePdfViewDataProvider-RytwPWH5.js → CreditNotePdfViewDataProvider-C4z1NE3Q.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./DataProvider-C3uEds9v.js";
|
|
2
|
-
import { t } from "./InvoicePdfView-
|
|
3
|
-
import { t as n } from "./creditNoteDetail.query-
|
|
2
|
+
import { t } from "./InvoicePdfView-DLEKQ29O.js";
|
|
3
|
+
import { t as n } from "./creditNoteDetail.query-C1rr54m1.js";
|
|
4
4
|
import { useI18n as r } from "vue-i18n";
|
|
5
5
|
import { computed as i, createBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, openBlock as l, unref as u, withCtx as d } from "vue";
|
|
6
6
|
import { UIText as f } from "@wisemen/vue-core-design-system";
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as n, u as r, y as i } from "./documentTitle.composable-
|
|
1
|
+
import { Z as e, t } from "./api.util-Do9BEwG4.js";
|
|
2
|
+
import { b as n, u as r, y as i } from "./documentTitle.composable-C3k1m0Nz.js";
|
|
3
3
|
import { r as a } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
4
4
|
import { n as o } from "./dist-Cdbpkd3Y.js";
|
|
5
5
|
import { useI18n as s } from "vue-i18n";
|
|
6
6
|
import { computed as c, createBlock as l, defineComponent as u, normalizeClass as d, openBlock as f, unref as p } from "vue";
|
|
7
7
|
import { useQuery as m } from "@wisemen/vue-core-api-utils";
|
|
8
8
|
import { UIText as h } from "@wisemen/vue-core-design-system";
|
|
9
|
-
//#region src/modules/custom-field/models/custom-field-definition/
|
|
10
|
-
var g =
|
|
9
|
+
//#region src/modules/custom-field/models/custom-field-definition/customFieldViewKey.model.ts
|
|
10
|
+
var g = /* @__PURE__ */ function(e) {
|
|
11
|
+
return e.CREDIT_NOTE_DETAIL = "credit-note-detail", e.INVOICE_DETAIL = "invoice-detail", e.INVOICE_OVERVIEW = "invoice-overview", e;
|
|
12
|
+
}({}), _ = class {
|
|
11
13
|
static fromDto(e) {
|
|
12
14
|
return {
|
|
13
15
|
uuid: e.uuid,
|
|
@@ -22,28 +24,41 @@ var g = class {
|
|
|
22
24
|
key: e.key,
|
|
23
25
|
label: e.label,
|
|
24
26
|
rules: e.rules,
|
|
25
|
-
type: e.type
|
|
27
|
+
type: e.type,
|
|
28
|
+
views: e.views.filter((e) => Object.values(g).includes(e.key)).map((e) => ({
|
|
29
|
+
key: e.key,
|
|
30
|
+
order: e.order
|
|
31
|
+
}))
|
|
26
32
|
};
|
|
27
33
|
}
|
|
28
|
-
},
|
|
34
|
+
}, v = class {
|
|
29
35
|
static async getAll(n) {
|
|
30
|
-
return (await t.fromPromise(e({ query: n?.entityTypes === void 0 ? void 0 : { filter: { entityTypes: n.entityTypes } } }))).map((e) => e.data.map(
|
|
36
|
+
return (await t.fromPromise(e({ query: n?.entityTypes === void 0 ? void 0 : { filter: { entityTypes: n.entityTypes } } }))).map((e) => e.data.map(_.fromDto));
|
|
31
37
|
}
|
|
32
38
|
};
|
|
33
39
|
//#endregion
|
|
34
40
|
//#region src/modules/custom-field/api/queries/customFieldDefinitionIndex.query.ts
|
|
35
|
-
function
|
|
41
|
+
function y(e) {
|
|
36
42
|
return m("customFieldDefinitionIndex", {
|
|
37
43
|
params: { queryParams: e },
|
|
38
|
-
queryFn: () =>
|
|
44
|
+
queryFn: () => v.getAll(e?.value)
|
|
39
45
|
});
|
|
40
46
|
}
|
|
41
47
|
//#endregion
|
|
42
48
|
//#region src/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.ts
|
|
43
|
-
var
|
|
49
|
+
var b = class {
|
|
44
50
|
static filterByEntityType(e, t) {
|
|
45
51
|
return e.filter((e) => e.entityType === t);
|
|
46
52
|
}
|
|
53
|
+
static filterByView(e, t) {
|
|
54
|
+
return e.flatMap((e) => {
|
|
55
|
+
let n = e.views.find((e) => e.key === t);
|
|
56
|
+
return n === void 0 ? [] : [{
|
|
57
|
+
definition: e,
|
|
58
|
+
order: n.order
|
|
59
|
+
}];
|
|
60
|
+
}).toSorted((e, t) => e.order - t.order).map(({ definition: e }) => e);
|
|
61
|
+
}
|
|
47
62
|
static getChoiceLabel(e, t, n) {
|
|
48
63
|
let r = e.choices.find((e) => e.value === t);
|
|
49
64
|
return r === void 0 ? t : this.getLocalizedValue(r.label, n) || t;
|
|
@@ -55,7 +70,7 @@ var y = class {
|
|
|
55
70
|
let n = t.toLowerCase(), r = n.split("-")[0], i = e.items.find((e) => e.locale.toLowerCase() === n), a = e.items.find((e) => e.locale.toLowerCase().split("-")[0] === r);
|
|
56
71
|
return i?.value ?? a?.value ?? e.items[0]?.value ?? "";
|
|
57
72
|
}
|
|
58
|
-
},
|
|
73
|
+
}, x = {
|
|
59
74
|
[n.CREDITED]: {
|
|
60
75
|
isEditable: !1,
|
|
61
76
|
isRefreshable: !1,
|
|
@@ -140,21 +155,21 @@ var y = class {
|
|
|
140
155
|
tone: "purple",
|
|
141
156
|
translationKey: "wise_invoicing.invoice.status.sent"
|
|
142
157
|
}
|
|
143
|
-
},
|
|
144
|
-
[i.DRAFT]:
|
|
145
|
-
[i.FINALIZED]:
|
|
146
|
-
[i.READY]:
|
|
147
|
-
},
|
|
158
|
+
}, S = {
|
|
159
|
+
[i.DRAFT]: x[n.DRAFT],
|
|
160
|
+
[i.FINALIZED]: x[n.FINALIZED],
|
|
161
|
+
[i.READY]: x[n.READY]
|
|
162
|
+
}, C = class {
|
|
148
163
|
static getLifecycleMetadata(e) {
|
|
149
|
-
return
|
|
164
|
+
return S[e];
|
|
150
165
|
}
|
|
151
166
|
static getMetadata(e) {
|
|
152
|
-
return
|
|
167
|
+
return x[e];
|
|
153
168
|
}
|
|
154
169
|
static isEditable(e) {
|
|
155
|
-
return
|
|
170
|
+
return x[e].isEditable;
|
|
156
171
|
}
|
|
157
|
-
},
|
|
172
|
+
}, w = /* @__PURE__ */ u({
|
|
158
173
|
__name: "CustomFieldValueText",
|
|
159
174
|
props: {
|
|
160
175
|
definition: {},
|
|
@@ -177,7 +192,7 @@ var y = class {
|
|
|
177
192
|
}
|
|
178
193
|
}), g = c(() => t.size === "md" ? "min-w-0 text-sm/5 text-primary" : "min-w-0 text-xs text-primary");
|
|
179
194
|
function _(e) {
|
|
180
|
-
return t.definition === void 0 ? e :
|
|
195
|
+
return t.definition === void 0 ? e : b.getChoiceLabel(t.definition, e, n.locale.value);
|
|
181
196
|
}
|
|
182
197
|
return (e, t) => (f(), l(p(h), {
|
|
183
198
|
text: m.value || "-",
|
|
@@ -186,4 +201,4 @@ var y = class {
|
|
|
186
201
|
}
|
|
187
202
|
});
|
|
188
203
|
//#endregion
|
|
189
|
-
export {
|
|
204
|
+
export { g as a, y as i, C as n, b as r, w as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import "./api.util-
|
|
3
|
-
import {
|
|
2
|
+
import "./api.util-Do9BEwG4.js";
|
|
3
|
+
import { E as t, t as n } from "./documentTitle.composable-C3k1m0Nz.js";
|
|
4
4
|
import { r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
5
|
-
import { n as i } from "./invoicingConfig.composable-
|
|
6
|
-
import { n as a } from "./reminderConfig.query-
|
|
5
|
+
import { n as i } from "./invoicingConfig.composable-CMTYHHS9.js";
|
|
6
|
+
import { n as a } from "./reminderConfig.query-yImUS5qt.js";
|
|
7
7
|
import { D as o, Y as ee, at as te, et as s, ft as c, gt as l } from "./dist-DCbLgB6Y.js";
|
|
8
|
-
import { a as u, i as ne, n as re, o as d, r as ie, t as ae } from "./DunningCaseSendDialog-
|
|
8
|
+
import { a as u, i as ne, n as re, o as d, r as ie, t as ae } from "./DunningCaseSendDialog-DVfBVtgr.js";
|
|
9
9
|
import { n as f } from "./customerUuid.model-ClN4Vi9n.js";
|
|
10
10
|
import { n as oe } from "./dist-Cdbpkd3Y.js";
|
|
11
11
|
import { t as p } from "./DataProvider-C3uEds9v.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./documentTitle.composable-
|
|
2
|
+
import { t } from "./documentTitle.composable-C3k1m0Nz.js";
|
|
3
3
|
import { r as n } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
4
|
-
import { n as r } from "./invoicingConfig.composable-
|
|
4
|
+
import { n as r } from "./invoicingConfig.composable-CMTYHHS9.js";
|
|
5
5
|
import { t as i } from "./search.composable-CU9OpyUB.js";
|
|
6
|
-
import { n as a, r as o } from "./reminderConfig.query-
|
|
6
|
+
import { n as a, r as o } from "./reminderConfig.query-yImUS5qt.js";
|
|
7
7
|
import { L as s, O as c, U as l, c as u, gt as d, l as f, mt as p } from "./dist-DCbLgB6Y.js";
|
|
8
|
-
import { a as m, n as h, r as g, s as _, t as v } from "./DunningCaseSendDialog-
|
|
8
|
+
import { a as m, n as h, r as g, s as _, t as v } from "./DunningCaseSendDialog-DVfBVtgr.js";
|
|
9
9
|
import { n as ee } from "./customerUuid.model-ClN4Vi9n.js";
|
|
10
|
-
import { f as y, i as b, n as te, o as ne, r as x, s as re } from "./dist-
|
|
10
|
+
import { f as y, i as b, n as te, o as ne, r as x, s as re } from "./dist-CZAOPudv.js";
|
|
11
11
|
import { z as S } from "zod";
|
|
12
12
|
import { useI18n as C } from "vue-i18n";
|
|
13
13
|
import { Fragment as w, computed as T, createBlock as E, createCommentVNode as D, createElementBlock as O, createElementVNode as k, createVNode as A, defineComponent as j, nextTick as M, normalizeClass as N, normalizeStyle as ie, onMounted as ae, openBlock as P, ref as F, renderList as I, toDisplayString as L, unref as R, watch as oe, withCtx as z } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { lt as t, t as n } from "./api.util-Do9BEwG4.js";
|
|
3
3
|
import { r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
4
4
|
import { n as i } from "./src-DUSgQTKr.js";
|
|
5
5
|
import { n as a, t as o } from "./address.transformer-jGddczLV.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as e, et as t, t as n } from "./api.util-Do9BEwG4.js";
|
|
2
2
|
import { r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
3
|
-
import { n as i } from "./invoicingConfig.composable-
|
|
4
|
-
import { n as a, r as o, t as s } from "./reminderConfig.query-
|
|
3
|
+
import { n as i } from "./invoicingConfig.composable-CMTYHHS9.js";
|
|
4
|
+
import { n as a, r as o, t as s } from "./reminderConfig.query-yImUS5qt.js";
|
|
5
5
|
import { gt as c, p as l, rt as u } from "./dist-DCbLgB6Y.js";
|
|
6
6
|
import { t as d } from "./customerUuid.model-ClN4Vi9n.js";
|
|
7
7
|
import { z as f } from "zod";
|
|
@@ -15,10 +15,10 @@ import { UIBadge as P, UIColumnLayout as F, UIDialogBody as I, UIDialogFooter as
|
|
|
15
15
|
import { useForm as U } from "formango";
|
|
16
16
|
//#region src/modules/dunning-case/api/services/dunningCaseCustomer.service.ts
|
|
17
17
|
var W = class {
|
|
18
|
-
static async getAll(
|
|
19
|
-
return (await n.fromPromise(
|
|
18
|
+
static async getAll(t, r) {
|
|
19
|
+
return (await n.fromPromise(e({ query: {
|
|
20
20
|
pagination: r,
|
|
21
|
-
search:
|
|
21
|
+
search: t
|
|
22
22
|
} }))).map((e) => ({
|
|
23
23
|
data: e.data.items.map((e) => ({
|
|
24
24
|
uuid: e.uuid,
|
|
@@ -27,15 +27,15 @@ var W = class {
|
|
|
27
27
|
meta: e.data.meta
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
30
|
-
static async getRecipients(
|
|
30
|
+
static async getRecipients(e) {
|
|
31
31
|
let r = [], i = 0, a = 0;
|
|
32
32
|
do {
|
|
33
|
-
let o = await n.fromPromise(
|
|
33
|
+
let o = await n.fromPromise(t({
|
|
34
34
|
query: { pagination: {
|
|
35
35
|
limit: 100,
|
|
36
36
|
offset: i
|
|
37
37
|
} },
|
|
38
|
-
path: { uuid:
|
|
38
|
+
path: { uuid: e }
|
|
39
39
|
}));
|
|
40
40
|
if (o.isErr()) return te(o.error);
|
|
41
41
|
if (r.push(...o.value.data.items.map((e) => ({
|
|
@@ -45,9 +45,9 @@ var W = class {
|
|
|
45
45
|
} while (i < a);
|
|
46
46
|
return ne(r);
|
|
47
47
|
}
|
|
48
|
-
static async getUuidByExternalId(
|
|
49
|
-
return (await n.fromPromise(
|
|
50
|
-
filter: { externalId:
|
|
48
|
+
static async getUuidByExternalId(t) {
|
|
49
|
+
return (await n.fromPromise(e({ query: {
|
|
50
|
+
filter: { externalId: t },
|
|
51
51
|
pagination: {
|
|
52
52
|
limit: 1,
|
|
53
53
|
offset: 0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { rt as e } from "./dist-DCbLgB6Y.js";
|
|
2
|
-
import { t } from "./invoiceCustomer.service-
|
|
2
|
+
import { t } from "./invoiceCustomer.service-RRFosiYR.js";
|
|
3
3
|
import { useI18n as n } from "vue-i18n";
|
|
4
4
|
import { computed as r, createBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
|
|
5
5
|
import { useOffsetInfiniteQuery as u } from "@wisemen/vue-core-api-utils";
|
package/dist/{InvoiceApprovalOverviewView-CcMqr2jH.js → InvoiceApprovalOverviewView-B6naRElx.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./api.util-
|
|
2
|
-
import { _ as e, a as t, o as n, t as r } from "./documentTitle.composable-
|
|
1
|
+
import "./api.util-Do9BEwG4.js";
|
|
2
|
+
import { _ as e, a as t, o as n, t as r } from "./documentTitle.composable-C3k1m0Nz.js";
|
|
3
3
|
import { r as i } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
4
4
|
import { t as a } from "./search.composable-CU9OpyUB.js";
|
|
5
5
|
import { F as o, G as s, L as c, M as l, R as u, U as d, V as f, c as p, gt as m, i as h, mt as ee, rt as g, y as te } from "./dist-DCbLgB6Y.js";
|
|
6
6
|
import { n as _ } from "./dist-Cdbpkd3Y.js";
|
|
7
|
-
import { f as v, i as y, n as ne, o as re, r as b, s as ie } from "./dist-
|
|
8
|
-
import { t as x } from "./invoiceApprovalStatus.util-
|
|
9
|
-
import { n as S, t as ae } from "./InvoiceApprovalOutOfSyncIndicator-
|
|
10
|
-
import { t as C } from "./InvoiceApprovalStatusBadge-
|
|
11
|
-
import { i as oe, n as w, r as T, t as E } from "./InvoiceApproveDialogDataProvider-
|
|
12
|
-
import { t as D } from "./invoiceApproval.service-
|
|
7
|
+
import { f as v, i as y, n as ne, o as re, r as b, s as ie } from "./dist-CZAOPudv.js";
|
|
8
|
+
import { t as x } from "./invoiceApprovalStatus.util-CdOAcPzv.js";
|
|
9
|
+
import { n as S, t as ae } from "./InvoiceApprovalOutOfSyncIndicator-DPlrqqOs.js";
|
|
10
|
+
import { t as C } from "./InvoiceApprovalStatusBadge-CDc_Pwsm.js";
|
|
11
|
+
import { i as oe, n as w, r as T, t as E } from "./InvoiceApproveDialogDataProvider-CK6ij8X1.js";
|
|
12
|
+
import { t as D } from "./invoiceApproval.service-Dpxiru7l.js";
|
|
13
13
|
import { useI18n as O } from "vue-i18n";
|
|
14
14
|
import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createVNode as F, defineComponent as I, isRef as se, nextTick as L, normalizeClass as R, normalizeStyle as ce, openBlock as z, ref as le, renderList as B, resolveDynamicComponent as ue, unref as V, withCtx as H } from "vue";
|
|
15
15
|
import { useOffsetInfiniteQuery as de } from "@wisemen/vue-core-api-utils";
|
package/dist/{InvoiceApprovalStatusBadge-BJ3Q18bf.js → InvoiceApprovalStatusBadge-CDc_Pwsm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api.util-
|
|
2
|
-
import { a as e, o as t } from "./documentTitle.composable-
|
|
1
|
+
import "./api.util-Do9BEwG4.js";
|
|
2
|
+
import { a as e, o as t } from "./documentTitle.composable-C3k1m0Nz.js";
|
|
3
3
|
import { W as n, y as r } from "./dist-DCbLgB6Y.js";
|
|
4
4
|
import { n as i } from "./dist-Cdbpkd3Y.js";
|
|
5
|
-
import { t as a } from "./invoiceApprovalStatus.util-
|
|
5
|
+
import { t as a } from "./invoiceApprovalStatus.util-CdOAcPzv.js";
|
|
6
6
|
import { useI18n as o } from "vue-i18n";
|
|
7
7
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, openBlock as g, renderList as _, unref as v, withCtx as y } from "vue";
|
|
8
8
|
import { UIBadge as b, UIText as x, UITooltip as S, UITooltipContent as C } from "@wisemen/vue-core-design-system";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as e } from "./i18n.lib-
|
|
2
|
-
import "./api.util-
|
|
3
|
-
import { g as t } from "./documentTitle.composable-
|
|
4
|
-
import { t as n } from "./invoice.service-
|
|
1
|
+
import { t as e } from "./i18n.lib-Bkz_R954.js";
|
|
2
|
+
import "./api.util-Do9BEwG4.js";
|
|
3
|
+
import { g as t } from "./documentTitle.composable-C3k1m0Nz.js";
|
|
4
|
+
import { t as n } from "./invoice.service-DrI2ULIR.js";
|
|
5
5
|
import { R as r, ft as i, rt as a } from "./dist-DCbLgB6Y.js";
|
|
6
6
|
import { t as o } from "./DataProvider-C3uEds9v.js";
|
|
7
7
|
import { t as s } from "./formango.util-D5c2ql--.js";
|
|
8
|
-
import { t as c } from "./invoiceApprovalStatus.util-
|
|
9
|
-
import { t as l } from "./issuerSettings.query-
|
|
10
|
-
import { n as u, r as d, t as f } from "./InvoicingFileUploadProvider-
|
|
8
|
+
import { t as c } from "./invoiceApprovalStatus.util-CdOAcPzv.js";
|
|
9
|
+
import { t as l } from "./issuerSettings.query-CKDhoStt.js";
|
|
10
|
+
import { n as u, r as d, t as f } from "./InvoicingFileUploadProvider-t64Qiyn6.js";
|
|
11
11
|
import { z as p } from "zod";
|
|
12
12
|
import { useI18n as m } from "vue-i18n";
|
|
13
13
|
import { computed as h, createBlock as g, createVNode as _, defineComponent as v, mergeProps as y, openBlock as b, unref as x, withCtx as S } from "vue";
|