@wisemen/wise-invoicing-web 0.6.0 → 0.7.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-r9DcFi76.js → ApprovalReminderSettingsViewDataProvider-Dsp3ee3c.js} +4 -4
- package/dist/{BillingDocumentDetailViewDataProvider-CsqBeAiA.js → BillingDocumentDetailViewDataProvider-TX-tovKU.js} +1506 -1427
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-thrvzGfh.js → BillingDocumentPdf-c-7N80u4.js} +5 -5
- package/dist/{CreditNoteDetailViewDataProvider-D6IMBwLn.js → CreditNoteDetailViewDataProvider-BNT0h67Q.js} +230 -223
- package/dist/{CreditNotePdfViewDataProvider-C4z1NE3Q.js → CreditNotePdfViewDataProvider-qgOuhUf_.js} +2 -2
- package/dist/{CustomFieldValueText-BRpCwCqJ.js → CustomFieldValueText-BP4bKQh7.js} +53 -38
- package/dist/{DunningCaseDetailViewDataProvider-DTotyRX8.js → DunningCaseDetailViewDataProvider-BNByfQTc.js} +13 -13
- package/dist/{DunningCaseOverviewView-kDq7UY5e.js → DunningCaseOverviewView-Dvwaw597.js} +23 -23
- package/dist/{DunningCaseReminderPdfViewDataProvider-DgKA-7lX.js → DunningCaseReminderPdfViewDataProvider-D1avIVyK.js} +1 -1
- package/dist/{DunningCaseSendDialog-DVfBVtgr.js → DunningCaseSendDialog-DwB_jFum.js} +8 -8
- package/dist/{InvoiceApprovalOutOfSyncIndicator-DPlrqqOs.js → InvoiceApprovalOutOfSyncIndicator-B_9HLzpt.js} +2 -2
- package/dist/{InvoiceApprovalOverviewView-B6naRElx.js → InvoiceApprovalOverviewView-jawT-M1t.js} +213 -213
- package/dist/{InvoiceApprovalStatusBadge-CDc_Pwsm.js → InvoiceApprovalStatusBadge-D6Sr6JmN.js} +4 -4
- package/dist/{InvoiceApproveDialogDataProvider-CK6ij8X1.js → InvoiceApproveDialogDataProvider-Bwb8bP1e.js} +16 -16
- package/dist/{InvoiceDetailViewDataProvider-BKurQPAV.js → InvoiceDetailViewDataProvider-B8mMYTQf.js} +592 -586
- package/dist/{InvoiceOverviewViewDataProvider-ChoyCi5L.js → InvoiceOverviewViewDataProvider-CLgV-Jcv.js} +440 -440
- package/dist/{InvoicePdfView-DLEKQ29O.js → InvoicePdfView-C518PlHp.js} +2 -2
- package/dist/{InvoicePdfViewDataProvider-C-b7iXiH.js → InvoicePdfViewDataProvider-ClfBkHUZ.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-DZ4WQsvi.js → InvoicePublicPdfViewDataProvider-CoXBj3Je.js} +3 -3
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-CsF8fPlp.js → InvoicePublicProFormaPdfViewDataProvider-WlVD7sw1.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-t64Qiyn6.js → InvoicingFileUploadProvider-Dl1LvCPm.js} +2 -2
- package/dist/{IssuerSettingsViewDataProvider-Cc8R6ekd.js → IssuerSettingsViewDataProvider-CXyyCvoZ.js} +3 -3
- package/dist/{PeppolSettingsViewDataProvider-DpVIfFVG.js → PeppolSettingsViewDataProvider-Cptga29B.js} +2 -2
- package/dist/{ReminderSettingsViewDataProvider-QOh3LpMX.js → ReminderSettingsViewDataProvider-BZgzQIxM.js} +4 -4
- package/dist/{api.util-Do9BEwG4.js → api.util-CR2xLnNj.js} +536 -515
- package/dist/{billingDocumentDetail.transformer-BAOQ3Zrg.js → billingDocumentDetail.transformer-D1f6Nv-U.js} +8 -2
- package/dist/client/index.d.ts +1 -1
- package/dist/client/types.gen.d.ts +23 -17
- package/dist/client/zod.gen.d.ts +360 -0
- package/dist/composables/invoicingConfig.composable.d.ts +12 -0
- package/dist/{creditNoteDetail.query-C1rr54m1.js → creditNoteDetail.query-DGeG9_sO.js} +3 -3
- package/dist/{dist-DCbLgB6Y.js → dist-BMzyJZTx.js} +258 -114
- package/dist/{dist-CZAOPudv.js → dist-DALBiuub.js} +133 -133
- package/dist/{documentTitle.composable-C3k1m0Nz.js → documentTitle.composable-RvqrZTBa.js} +1 -1
- package/dist/{download.util-B5Q7KUC9.js → download.util-LyRpGWKA.js} +9 -0
- package/dist/{i18n.lib-Bkz_R954.js → i18n.lib-MOiHLIGc.js} +4 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +219 -204
- package/dist/{invoice.service-DrI2ULIR.js → invoice.service-Fv4F4aZq.js} +3 -3
- package/dist/{invoiceApproval.service-Dpxiru7l.js → invoiceApproval.service-DJvXagC7.js} +2 -2
- package/dist/{invoiceApprovalStatus.util-CdOAcPzv.js → invoiceApprovalStatus.util-B98WeAf0.js} +2 -2
- package/dist/{invoiceCustomer.service-RRFosiYR.js → invoiceCustomer.service-CDyrtcwH.js} +2 -2
- package/dist/{invoiceDetail.query-BmtHdfj0.js → invoiceDetail.query-UHE0NCLh.js} +1 -1
- package/dist/{invoiceIndexCache.util-DKtJorc_.js → invoiceIndexCache.util-CLM7FO6z.js} +3 -3
- package/dist/{invoicingConfig.composable-CMTYHHS9.js → invoicingConfig.composable-UC7tGtBj.js} +14 -10
- package/dist/{issuerSettings.query-CKDhoStt.js → issuerSettings.query-CoiXblSm.js} +2 -2
- package/dist/libs/i18n.lib.d.ts +4 -0
- package/dist/locales/en-US.json.d.ts +2 -0
- package/dist/locales/nl-BE.json.d.ts +2 -0
- package/dist/modules/custom-field/components/CustomFieldList.vue.d.ts +0 -1
- package/dist/modules/custom-field/components/customFieldTypeIcon.d.ts +16 -0
- package/dist/modules/custom-field/components/customFieldValueText.spec.d.ts +1 -0
- package/dist/modules/custom-field/composables/customFieldReferenceLinks.composable.d.ts +16 -0
- package/dist/modules/custom-field/composables/customFieldReferenceLinks.composable.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.model.d.ts +1 -1
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.d.ts +10 -0
- package/dist/modules/custom-field/test/builders/customFieldDefinition.builder.d.ts +1 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +1 -1
- package/dist/{reminderConfig.query-yImUS5qt.js → reminderConfig.query-aRFzY6uZ.js} +2 -2
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +114 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +57 -36
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.d.ts +6 -1
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.spec.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { Component, MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
import { CustomFieldEntityType } from '../client/index.ts';
|
|
4
|
+
/**
|
|
5
|
+
* A reference custom field value, together with the definition fields that say what it
|
|
6
|
+
* points to. The package does not know the referenced entity, so the host maps it to a route.
|
|
7
|
+
*/
|
|
8
|
+
export interface CustomFieldReference {
|
|
9
|
+
entityType: CustomFieldEntityType;
|
|
10
|
+
key: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
3
13
|
export interface InvoicingConfig {
|
|
4
14
|
isDeliveryDateVisible?: boolean;
|
|
5
15
|
isGlobalDiscountEnabled?: boolean;
|
|
@@ -11,6 +21,7 @@ export interface InvoicingInitProps {
|
|
|
11
21
|
environment?: string;
|
|
12
22
|
getAccessToken?: () => Promise<string | null>;
|
|
13
23
|
getCustomerDetailRoute?: (customerUuid: string) => RouteLocationRaw | null;
|
|
24
|
+
getCustomFieldReferenceRoute?: (reference: CustomFieldReference) => RouteLocationRaw | null;
|
|
14
25
|
/**
|
|
15
26
|
* Renders the invoice PDF instead of the built-in layout, on both the in-app preview and the
|
|
16
27
|
* public token route. It receives a single `invoice: InvoicePdfDetail` prop, so a host app can
|
|
@@ -26,6 +37,7 @@ export declare function useInvoicingConfig(): {
|
|
|
26
37
|
isInitialized: import('vue').ComputedRef<boolean>;
|
|
27
38
|
isLineDiscountEnabled: import('vue').ComputedRef<boolean>;
|
|
28
39
|
getCustomerDetailRoute: (customerUuid: string) => RouteLocationRaw | null;
|
|
40
|
+
getCustomFieldReferenceRoute: (reference: CustomFieldReference) => RouteLocationRaw | null;
|
|
29
41
|
init: (props: InvoicingInitProps) => Promise<void>;
|
|
30
42
|
invoicePdfComponent: import('vue').ComputedRef<Component | null>;
|
|
31
43
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { H as e, L as t, S as n, T as r, V as i, Y as a, h as o, it as s, t as c, y as l } from "./api.util-
|
|
2
|
-
import { r as u, x as d } from "./documentTitle.composable-
|
|
1
|
+
import { H as e, L as t, S as n, T as r, V as i, Y as a, h as o, it as s, t as c, y as l } from "./api.util-CR2xLnNj.js";
|
|
2
|
+
import { r as u, x as d } from "./documentTitle.composable-RvqrZTBa.js";
|
|
3
3
|
import { n as f, t as p } from "./plainDate.transformer-Bhiz9jW7.js";
|
|
4
|
-
import { a as m, n as h, o as g, t as _ } from "./billingDocumentDetail.transformer-
|
|
4
|
+
import { a as m, n as h, o as g, t as _ } from "./billingDocumentDetail.transformer-D1f6Nv-U.js";
|
|
5
5
|
import { t as v } from "./dist-BFx8U4Su.js";
|
|
6
6
|
import { useQuery as y } from "@wisemen/vue-core-api-utils";
|
|
7
7
|
//#region src/modules/credit-note/models/detail/creditNoteDetail.transformer.ts
|