@wisemen/wise-invoicing-web 0.11.2 → 0.12.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-D0kpogSQ.js → ApprovalReminderSettingsViewDataProvider-BnHeEMZD.js} +6 -10
- package/dist/{BillingDocumentDetailViewDataProvider-D_oc3-0D.js → BillingDocumentDetailViewDataProvider-Dm8C5WNN.js} +1311 -1327
- package/dist/{BillingDocumentPdf-wlv-k8KE.js → BillingDocumentPdf-57ksqoPW.js} +16 -22
- package/dist/{CreditNoteDetailViewDataProvider-DoFm2xgo.js → CreditNoteDetailViewDataProvider-CC4gnwSN.js} +154 -172
- package/dist/{CreditNotePdfViewDataProvider-QpzNsVsK.js → CreditNotePdfViewDataProvider-C9vgN3kV.js} +4 -4
- package/dist/{CustomFieldValueText-DZzqLZ0K.js → CustomFieldValueText-CvWq0fl_.js} +3 -3
- package/dist/{DataProvider-C3uEds9v.js → DataProvider-BtnD-BzI.js} +1 -1
- package/dist/{DunningCaseSendDialog-Bol8NF1J.js → DunningCaseSendDialog-CfWSrquA.js} +6 -14
- package/dist/{InvoiceApprovalOutOfSyncIndicator-C4ZLDRiv.js → InvoiceApprovalOutOfSyncIndicator-CKLAraIU.js} +1 -1
- package/dist/{InvoiceApprovalOverviewView-BAmEOum7.js → InvoiceApprovalOverviewView-DpL-vV8_.js} +10 -18
- package/dist/{InvoiceApprovalStatusBadge-C2Wj9b_Z.js → InvoiceApprovalStatusBadge-oVWkCqZY.js} +3 -3
- package/dist/{InvoiceApproveDialogDataProvider-S81Mc5oS.js → InvoiceApproveDialogDataProvider-serNDdl9.js} +16 -32
- package/dist/{InvoiceDetailViewDataProvider-Dqu6qlky.js → InvoiceDetailViewDataProvider-BaT7fgsi.js} +591 -665
- package/dist/{InvoicePdfView-D0G-Pik3.js → InvoicePdfView-MaBnd78V.js} +2 -2
- package/dist/{InvoicePdfViewDataProvider-DXXbPe-Z.js → InvoicePdfViewDataProvider-BIHBY608.js} +4 -4
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-CdGFZD-G.js → InvoicePublicProFormaPdfViewDataProvider-KY8pN59k.js} +4 -4
- package/dist/{InvoicingFileUploadProvider-BsK5eRGE.js → InvoicingFileUploadProvider-CxmF68sz.js} +2 -2
- package/dist/IssuerSettingsViewDataProvider-DJzVZS8Q.js +543 -0
- package/dist/{PeppolSettingsViewDataProvider-ZdJQGqux.js → PeppolSettingsViewDataProvider-C7lwtu7n.js} +6 -20
- package/dist/{api.util-B3JqQVJA.js → api.util-Ct8FnoLB.js} +628 -547
- package/dist/{billingDocumentDetail.transformer-CcnSe7Fz.js → billingDocumentDetail.transformer-B3ypgtIv.js} +4 -2
- package/dist/client/index.d.ts +1 -1
- package/dist/client/types.gen.d.ts +177 -7
- package/dist/client/zod.gen.d.ts +406 -6
- package/dist/composables/invoicingConfig.composable.d.ts +15 -0
- package/dist/{creditNoteDetail.query-BVbXoNt-.js → creditNoteDetail.query-C2BYvPKC.js} +5 -3
- package/dist/{dist-DALBiuub.js → dist-BZgvL8_m.js} +19 -30
- package/dist/{documentTitle.composable-RvqrZTBa.js → documentTitle.composable-BqZWKGw1.js} +35 -29
- package/dist/{i18n.lib-BkdaaKCs.js → i18n.lib-8sQYo5_y.js} +101 -7
- package/dist/index.d.ts +96 -2
- package/dist/index.js +4517 -228
- package/dist/{invoice.service-jakQLnDu.js → invoice.service-CtePUw1R.js} +8 -5
- package/dist/{invoiceApproval.service-DR9g1Dek.js → invoiceApproval.service-CQzG8_wX.js} +2 -2
- package/dist/{invoiceApprovalStatus.util-Nd4E3qlZ.js → invoiceApprovalStatus.util-C4su45dU.js} +2 -2
- package/dist/{invoiceCustomer.service-Bp59E0ZJ.js → invoiceCustomer.service-CzbM3ey1.js} +2 -2
- package/dist/{invoiceDetail.query-BBhA0ZAn.js → invoiceDetail.query-NNAoIuWN.js} +1 -1
- package/dist/{invoiceIndexCache.util-Ba2MGULh.js → invoiceIndexCache.util-DI0WM-eW.js} +4 -8
- package/dist/{invoicingConfig.composable-k8p1Y_eJ.js → invoicingConfig.composable-DXJ71Uq_.js} +20 -18
- package/dist/issuerSettings.query-ggEHdk0S.js +204 -0
- package/dist/libs/i18n.lib.d.ts +96 -2
- package/dist/locales/en-US.json.d.ts +50 -3
- package/dist/locales/nl-BE.json.d.ts +51 -4
- package/dist/models/billing-document/billingDocumentCreditable.util.d.ts +19 -0
- package/dist/models/billing-document/billingDocumentCreditable.util.spec.d.ts +1 -0
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +2 -0
- package/dist/models/billing-document/billingDocumentUpdateLines.model.d.ts +2 -0
- package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +4 -1
- package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +1 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewFilters.composable.d.ts +1 -1
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewFilters.composable.spec.d.ts +1 -0
- package/dist/modules/settings/api/mutations/issuerSettingsUpdate.mutation.d.ts +22 -1
- package/dist/modules/settings/models/issuer-settings/invoiceSequenceFormat.util.d.ts +16 -0
- package/dist/modules/settings/models/issuer-settings/invoiceSequenceFormat.util.spec.d.ts +1 -0
- package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +7 -2
- package/dist/modules/settings/models/issuer-settings/issuerSettings.transformer.d.ts +2 -0
- package/dist/modules/settings/models/issuer-settings/issuerSettingsForm.model.d.ts +23 -2
- package/dist/modules/settings/use-cases/overview/components/InvoiceSequenceFormatFields.vue.d.ts +11 -0
- package/dist/modules/settings/use-cases/overview/components/InvoiceSequenceNumberPreview.vue.d.ts +12 -0
- package/dist/modules/settings/use-cases/overview/components/InvoiceSequencePreviewCard.vue.d.ts +13 -0
- package/dist/modules/settings/use-cases/overview/components/SharedSequencePreviewCard.vue.d.ts +8 -0
- package/dist/modules/settings/use-cases/overview/composables/sequenceFormatFields.composable.d.ts +16 -0
- package/dist/{reminderConfig.query-BIfCEIYX.js → reminderConfig.query-C2xT3DJH.js} +2 -2
- package/dist/{src-DUSgQTKr.js → src-Vz2dm4sM.js} +1 -3
- package/dist/style.css +1 -1
- package/dist/types/apiError.type.d.ts +2 -2
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +24 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +4 -0
- package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +4 -0
- 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/IssuerSettingsViewDataProvider-Ca7GPCDE.js +0 -193
- package/dist/ReminderSettingsViewDataProvider-DTC0Ud5z.js +0 -709
- package/dist/issuerSettings.query-BOgWdNmP.js +0 -118
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- /package/dist/{DunningCaseReminderPdfViewDataProvider.css → index.css} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InvoiceHasNoLinesError, InvoiceLineGroupMaxDepthExceededError, InvoiceNotEditableError } from '../client/index.ts';
|
|
1
|
+
import { ExternallyCreatedInvoiceNotEditableError, InvoiceHasNoLinesError, InvoiceIssuedOnBeforeLastIssuedError, InvoiceIssuedOnInClosedPeriodError, InvoiceIssuedOnInFutureError, InvoiceLineGroupMaxDepthExceededError, InvoiceNotEditableError, SequenceDateFormatIncompatibleWithResetError, SequenceSharingWouldReuseNumbersError } from '../client/index.ts';
|
|
2
2
|
import { I18nKey } from '../libs/i18n.lib.ts';
|
|
3
|
-
export type ApiErrorCode = InvoiceHasNoLinesError['code'] | InvoiceLineGroupMaxDepthExceededError['code'] | InvoiceNotEditableError['code'];
|
|
3
|
+
export type ApiErrorCode = ExternallyCreatedInvoiceNotEditableError['code'] | InvoiceHasNoLinesError['code'] | InvoiceIssuedOnBeforeLastIssuedError['code'] | InvoiceIssuedOnInClosedPeriodError['code'] | InvoiceIssuedOnInFutureError['code'] | InvoiceLineGroupMaxDepthExceededError['code'] | InvoiceNotEditableError['code'] | SequenceDateFormatIncompatibleWithResetError['code'] | SequenceSharingWouldReuseNumbersError['code'];
|
|
4
4
|
export declare const API_ERROR_I18N_KEYS: Record<ApiErrorCode, I18nKey>;
|
|
5
5
|
export declare function useApiError(): {
|
|
6
6
|
messages: import('vue').ComputedRef<Record<string, string>>;
|
|
@@ -38,6 +38,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
38
38
|
openReferenceLink: (link: import('../../../modules/custom-field/composables/customFieldReferenceLinks.composable').CustomFieldReferenceLink) => void;
|
|
39
39
|
rows: import('vue').Ref<({
|
|
40
40
|
id: string;
|
|
41
|
+
externalId: string | null;
|
|
41
42
|
parentGroupId: string | null;
|
|
42
43
|
sourceGroupUuid: string | null;
|
|
43
44
|
name: string;
|
|
@@ -141,6 +142,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
141
142
|
type: "group";
|
|
142
143
|
} | {
|
|
143
144
|
id: string;
|
|
145
|
+
externalId: string | null;
|
|
144
146
|
groupId: string | null;
|
|
145
147
|
sourceLineUuid: string | null;
|
|
146
148
|
isDiscount: boolean;
|
|
@@ -255,6 +257,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
255
257
|
vatRate: import('../../../client').VatRate;
|
|
256
258
|
})[], import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorRow[] | ({
|
|
257
259
|
id: string;
|
|
260
|
+
externalId: string | null;
|
|
258
261
|
parentGroupId: string | null;
|
|
259
262
|
sourceGroupUuid: string | null;
|
|
260
263
|
name: string;
|
|
@@ -358,6 +361,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
358
361
|
type: "group";
|
|
359
362
|
} | {
|
|
360
363
|
id: string;
|
|
364
|
+
externalId: string | null;
|
|
361
365
|
groupId: string | null;
|
|
362
366
|
sourceLineUuid: string | null;
|
|
363
367
|
isDiscount: boolean;
|
|
@@ -526,6 +530,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
526
530
|
openReferenceLink: (link: import('../../../modules/custom-field/composables/customFieldReferenceLinks.composable').CustomFieldReferenceLink) => void;
|
|
527
531
|
rows: import('vue').Ref<({
|
|
528
532
|
id: string;
|
|
533
|
+
externalId: string | null;
|
|
529
534
|
parentGroupId: string | null;
|
|
530
535
|
sourceGroupUuid: string | null;
|
|
531
536
|
name: string;
|
|
@@ -629,6 +634,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
629
634
|
type: "group";
|
|
630
635
|
} | {
|
|
631
636
|
id: string;
|
|
637
|
+
externalId: string | null;
|
|
632
638
|
groupId: string | null;
|
|
633
639
|
sourceLineUuid: string | null;
|
|
634
640
|
isDiscount: boolean;
|
|
@@ -743,6 +749,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
743
749
|
vatRate: import('../../../client').VatRate;
|
|
744
750
|
})[], import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorRow[] | ({
|
|
745
751
|
id: string;
|
|
752
|
+
externalId: string | null;
|
|
746
753
|
parentGroupId: string | null;
|
|
747
754
|
sourceGroupUuid: string | null;
|
|
748
755
|
name: string;
|
|
@@ -846,6 +853,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
846
853
|
type: "group";
|
|
847
854
|
} | {
|
|
848
855
|
id: string;
|
|
856
|
+
externalId: string | null;
|
|
849
857
|
groupId: string | null;
|
|
850
858
|
sourceLineUuid: string | null;
|
|
851
859
|
isDiscount: boolean;
|
|
@@ -1014,6 +1022,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1014
1022
|
openReferenceLink: (link: import('../../../modules/custom-field/composables/customFieldReferenceLinks.composable').CustomFieldReferenceLink) => void;
|
|
1015
1023
|
rows: import('vue').Ref<({
|
|
1016
1024
|
id: string;
|
|
1025
|
+
externalId: string | null;
|
|
1017
1026
|
parentGroupId: string | null;
|
|
1018
1027
|
sourceGroupUuid: string | null;
|
|
1019
1028
|
name: string;
|
|
@@ -1117,6 +1126,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1117
1126
|
type: "group";
|
|
1118
1127
|
} | {
|
|
1119
1128
|
id: string;
|
|
1129
|
+
externalId: string | null;
|
|
1120
1130
|
groupId: string | null;
|
|
1121
1131
|
sourceLineUuid: string | null;
|
|
1122
1132
|
isDiscount: boolean;
|
|
@@ -1231,6 +1241,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1231
1241
|
vatRate: import('../../../client').VatRate;
|
|
1232
1242
|
})[], import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorRow[] | ({
|
|
1233
1243
|
id: string;
|
|
1244
|
+
externalId: string | null;
|
|
1234
1245
|
parentGroupId: string | null;
|
|
1235
1246
|
sourceGroupUuid: string | null;
|
|
1236
1247
|
name: string;
|
|
@@ -1334,6 +1345,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1334
1345
|
type: "group";
|
|
1335
1346
|
} | {
|
|
1336
1347
|
id: string;
|
|
1348
|
+
externalId: string | null;
|
|
1337
1349
|
groupId: string | null;
|
|
1338
1350
|
sourceLineUuid: string | null;
|
|
1339
1351
|
isDiscount: boolean;
|
|
@@ -1502,6 +1514,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1502
1514
|
openReferenceLink: (link: import('../../../modules/custom-field/composables/customFieldReferenceLinks.composable').CustomFieldReferenceLink) => void;
|
|
1503
1515
|
rows: import('vue').Ref<({
|
|
1504
1516
|
id: string;
|
|
1517
|
+
externalId: string | null;
|
|
1505
1518
|
parentGroupId: string | null;
|
|
1506
1519
|
sourceGroupUuid: string | null;
|
|
1507
1520
|
name: string;
|
|
@@ -1605,6 +1618,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1605
1618
|
type: "group";
|
|
1606
1619
|
} | {
|
|
1607
1620
|
id: string;
|
|
1621
|
+
externalId: string | null;
|
|
1608
1622
|
groupId: string | null;
|
|
1609
1623
|
sourceLineUuid: string | null;
|
|
1610
1624
|
isDiscount: boolean;
|
|
@@ -1719,6 +1733,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1719
1733
|
vatRate: import('../../../client').VatRate;
|
|
1720
1734
|
})[], import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorRow[] | ({
|
|
1721
1735
|
id: string;
|
|
1736
|
+
externalId: string | null;
|
|
1722
1737
|
parentGroupId: string | null;
|
|
1723
1738
|
sourceGroupUuid: string | null;
|
|
1724
1739
|
name: string;
|
|
@@ -1822,6 +1837,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1822
1837
|
type: "group";
|
|
1823
1838
|
} | {
|
|
1824
1839
|
id: string;
|
|
1840
|
+
externalId: string | null;
|
|
1825
1841
|
groupId: string | null;
|
|
1826
1842
|
sourceLineUuid: string | null;
|
|
1827
1843
|
isDiscount: boolean;
|
|
@@ -1990,6 +2006,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1990
2006
|
openReferenceLink: (link: import('../../../modules/custom-field/composables/customFieldReferenceLinks.composable').CustomFieldReferenceLink) => void;
|
|
1991
2007
|
rows: import('vue').Ref<({
|
|
1992
2008
|
id: string;
|
|
2009
|
+
externalId: string | null;
|
|
1993
2010
|
parentGroupId: string | null;
|
|
1994
2011
|
sourceGroupUuid: string | null;
|
|
1995
2012
|
name: string;
|
|
@@ -2093,6 +2110,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
2093
2110
|
type: "group";
|
|
2094
2111
|
} | {
|
|
2095
2112
|
id: string;
|
|
2113
|
+
externalId: string | null;
|
|
2096
2114
|
groupId: string | null;
|
|
2097
2115
|
sourceLineUuid: string | null;
|
|
2098
2116
|
isDiscount: boolean;
|
|
@@ -2207,6 +2225,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
2207
2225
|
vatRate: import('../../../client').VatRate;
|
|
2208
2226
|
})[], import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorRow[] | ({
|
|
2209
2227
|
id: string;
|
|
2228
|
+
externalId: string | null;
|
|
2210
2229
|
parentGroupId: string | null;
|
|
2211
2230
|
sourceGroupUuid: string | null;
|
|
2212
2231
|
name: string;
|
|
@@ -2310,6 +2329,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
2310
2329
|
type: "group";
|
|
2311
2330
|
} | {
|
|
2312
2331
|
id: string;
|
|
2332
|
+
externalId: string | null;
|
|
2313
2333
|
groupId: string | null;
|
|
2314
2334
|
sourceLineUuid: string | null;
|
|
2315
2335
|
isDiscount: boolean;
|
|
@@ -2478,6 +2498,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
2478
2498
|
openReferenceLink: (link: import('../../../modules/custom-field/composables/customFieldReferenceLinks.composable').CustomFieldReferenceLink) => void;
|
|
2479
2499
|
rows: import('vue').Ref<({
|
|
2480
2500
|
id: string;
|
|
2501
|
+
externalId: string | null;
|
|
2481
2502
|
parentGroupId: string | null;
|
|
2482
2503
|
sourceGroupUuid: string | null;
|
|
2483
2504
|
name: string;
|
|
@@ -2581,6 +2602,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
2581
2602
|
type: "group";
|
|
2582
2603
|
} | {
|
|
2583
2604
|
id: string;
|
|
2605
|
+
externalId: string | null;
|
|
2584
2606
|
groupId: string | null;
|
|
2585
2607
|
sourceLineUuid: string | null;
|
|
2586
2608
|
isDiscount: boolean;
|
|
@@ -2695,6 +2717,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
2695
2717
|
vatRate: import('../../../client').VatRate;
|
|
2696
2718
|
})[], import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorRow[] | ({
|
|
2697
2719
|
id: string;
|
|
2720
|
+
externalId: string | null;
|
|
2698
2721
|
parentGroupId: string | null;
|
|
2699
2722
|
sourceGroupUuid: string | null;
|
|
2700
2723
|
name: string;
|
|
@@ -2798,6 +2821,7 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
2798
2821
|
type: "group";
|
|
2799
2822
|
} | {
|
|
2800
2823
|
id: string;
|
|
2824
|
+
externalId: string | null;
|
|
2801
2825
|
groupId: string | null;
|
|
2802
2826
|
sourceLineUuid: string | null;
|
|
2803
2827
|
isDiscount: boolean;
|
package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
60
60
|
openReferenceLink: (link: CustomFieldReferenceLink) => void;
|
|
61
61
|
rows: import('vue').Ref<({
|
|
62
62
|
id: string;
|
|
63
|
+
externalId: string | null;
|
|
63
64
|
parentGroupId: string | null;
|
|
64
65
|
sourceGroupUuid: string | null;
|
|
65
66
|
name: string;
|
|
@@ -163,6 +164,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
163
164
|
type: "group";
|
|
164
165
|
} | {
|
|
165
166
|
id: string;
|
|
167
|
+
externalId: string | null;
|
|
166
168
|
groupId: string | null;
|
|
167
169
|
sourceLineUuid: string | null;
|
|
168
170
|
isDiscount: boolean;
|
|
@@ -277,6 +279,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
277
279
|
vatRate: import('../../../../client/index.ts').VatRate;
|
|
278
280
|
})[], BillingDocumentLineItemEditorRow[] | ({
|
|
279
281
|
id: string;
|
|
282
|
+
externalId: string | null;
|
|
280
283
|
parentGroupId: string | null;
|
|
281
284
|
sourceGroupUuid: string | null;
|
|
282
285
|
name: string;
|
|
@@ -380,6 +383,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
380
383
|
type: "group";
|
|
381
384
|
} | {
|
|
382
385
|
id: string;
|
|
386
|
+
externalId: string | null;
|
|
383
387
|
groupId: string | null;
|
|
384
388
|
sourceLineUuid: string | null;
|
|
385
389
|
isDiscount: boolean;
|
|
@@ -9,6 +9,7 @@ export declare const BILLING_DOCUMENT_VAT_RATE_OPTIONS: VatRate[];
|
|
|
9
9
|
export declare const BILLING_DOCUMENT_UNIT_OPTIONS: UnitOfMeasurement[];
|
|
10
10
|
export interface BillingDocumentLineItemEditorGroupRow {
|
|
11
11
|
id: string;
|
|
12
|
+
externalId: string | null;
|
|
12
13
|
parentGroupId: string | null;
|
|
13
14
|
sourceGroupUuid: string | null;
|
|
14
15
|
name: string;
|
|
@@ -18,6 +19,7 @@ export interface BillingDocumentLineItemEditorGroupRow {
|
|
|
18
19
|
}
|
|
19
20
|
export interface BillingDocumentLineItemEditorLineRow {
|
|
20
21
|
id: string;
|
|
22
|
+
externalId: string | null;
|
|
21
23
|
groupId: string | null;
|
|
22
24
|
sourceLineUuid: string | null;
|
|
23
25
|
isDiscount: boolean;
|
|
@@ -150,6 +152,8 @@ export declare class BillingDocumentLineItemsEditorUtil {
|
|
|
150
152
|
static getDropContainerIds(rows: BillingDocumentLineItemEditorRow[], index: number, collapsedGroupIds?: ReadonlySet<string>): Array<string | null>;
|
|
151
153
|
private static getGroupBlockInsertionIndexAfterTarget;
|
|
152
154
|
private static getGroupBlockInsertionIndexBeforeTarget;
|
|
155
|
+
/** The groups that start collapsed: every group deeper than `expandedGroupLevels`. */
|
|
156
|
+
static getInitiallyCollapsedGroupIds(structure: BillingDocumentLineItemsStructure, expandedGroupLevels: number): Set<string>;
|
|
153
157
|
/** The group a row sits in: a line's group, a group's parent group. */
|
|
154
158
|
private static getRowContainerId;
|
|
155
159
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wisemen/wise-invoicing-web",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.12.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Invoicing frontend package with Vue 3 components, composables and types",
|
|
7
7
|
"author": "Wisemen",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"tailwindcss": "4.3.3",
|
|
90
90
|
"temporal-polyfill": "0.3.2",
|
|
91
91
|
"typescript": "6.0.3",
|
|
92
|
-
"vite": "^8.2.
|
|
92
|
+
"vite": "^8.2.4",
|
|
93
93
|
"vite-plugin-dts": "5.0.3",
|
|
94
94
|
"vitest": "^4.1.11",
|
|
95
95
|
"vue": "3.5.42",
|