@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
package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ApiResult } from '@wisemen/vue-core-api-utils';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
|
+
import { CustomFieldType } from '../../../../client/index.ts';
|
|
3
4
|
import { AnyBillingDocumentDetail } from '../../../../models/billing-document/billingDocumentDetail.model.ts';
|
|
4
5
|
import { BillingDocumentUpdateLines } from '../../../../models/billing-document/billingDocumentUpdateLines.model.ts';
|
|
6
|
+
import { CustomFieldReferenceLink } from '../../../../modules/custom-field/composables/customFieldReferenceLinks.composable.ts';
|
|
5
7
|
import { CustomFieldDefinition } from '../../../../modules/custom-field/models/custom-field-definition/customFieldDefinition.model.ts';
|
|
6
8
|
import { BillingDocumentLineItemEditorMeta, BillingDocumentLineItemEditorRow, BillingDocumentLineItemsStructure } from '../utils/billingDocumentLineItemsEditor.util.ts';
|
|
7
9
|
interface UseBillingDocumentLineItemsEditorOptions {
|
|
@@ -19,6 +21,7 @@ export interface BillingDocumentLineItemsEditorDisplayRow {
|
|
|
19
21
|
vat: number | null;
|
|
20
22
|
}
|
|
21
23
|
export declare function useBillingDocumentLineItemsEditor(options: UseBillingDocumentLineItemsEditorOptions): {
|
|
24
|
+
hasActionsColumn: ComputedRef<boolean>;
|
|
22
25
|
hasInvalidRows: ComputedRef<boolean>;
|
|
23
26
|
hasSaveError: import('vue').Ref<boolean, boolean>;
|
|
24
27
|
isDirty: ComputedRef<boolean>;
|
|
@@ -26,6 +29,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
26
29
|
isSaving: ComputedRef<boolean>;
|
|
27
30
|
customFieldDefinitions: ComputedRef<CustomFieldDefinition[]>;
|
|
28
31
|
displayRows: ComputedRef<BillingDocumentLineItemsEditorDisplayRow[]>;
|
|
32
|
+
getReferenceLinks: (row: BillingDocumentLineItemEditorRow) => CustomFieldReferenceLink[];
|
|
29
33
|
groupCustomFieldDefinitions: ComputedRef<CustomFieldDefinition[]>;
|
|
30
34
|
lineCustomFieldDefinitions: ComputedRef<CustomFieldDefinition[]>;
|
|
31
35
|
mutations: {
|
|
@@ -53,6 +57,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
53
57
|
updateAllFields: (lineId: string, values: import('../../../../models/billing-document/billingDocumentLineItemUpdateForm.model').BillingDocumentLineItemUpdateForm) => void;
|
|
54
58
|
updateGroup: (groupId: string, values: import('../../../../models/billing-document/billingDocumentLineItemGroupUpdateForm.model').BillingDocumentLineItemGroupUpdateForm) => void;
|
|
55
59
|
};
|
|
60
|
+
openReferenceLink: (link: CustomFieldReferenceLink) => void;
|
|
56
61
|
rows: import('vue').Ref<({
|
|
57
62
|
id: string;
|
|
58
63
|
parentGroupId: string | null;
|
|
@@ -60,11 +65,11 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
60
65
|
name: string;
|
|
61
66
|
customFields: ({
|
|
62
67
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
63
|
-
type:
|
|
68
|
+
type: CustomFieldType.BOOLEAN;
|
|
64
69
|
value: boolean;
|
|
65
70
|
} | {
|
|
66
71
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
67
|
-
type:
|
|
72
|
+
type: CustomFieldType.DATE;
|
|
68
73
|
value: "infinity" | "-infinity" | {
|
|
69
74
|
readonly era: string | undefined;
|
|
70
75
|
readonly eraYear: number | undefined;
|
|
@@ -104,7 +109,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
104
109
|
};
|
|
105
110
|
} | {
|
|
106
111
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
107
|
-
type:
|
|
112
|
+
type: CustomFieldType.MONETARY;
|
|
108
113
|
value: {
|
|
109
114
|
amount: number;
|
|
110
115
|
currency: import('../../../..').Currency;
|
|
@@ -112,27 +117,31 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
112
117
|
};
|
|
113
118
|
} | {
|
|
114
119
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
115
|
-
type:
|
|
120
|
+
type: CustomFieldType.MULTI_SELECT;
|
|
116
121
|
value: string[];
|
|
117
122
|
} | {
|
|
118
123
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
119
|
-
type:
|
|
124
|
+
type: CustomFieldType.NUMBER;
|
|
120
125
|
value: number;
|
|
121
126
|
} | {
|
|
122
127
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
123
|
-
type:
|
|
128
|
+
type: CustomFieldType.REFERENCE;
|
|
124
129
|
value: string;
|
|
125
130
|
} | {
|
|
126
131
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
127
|
-
type:
|
|
132
|
+
type: CustomFieldType.SINGLE_SELECT;
|
|
128
133
|
value: string;
|
|
129
134
|
} | {
|
|
130
135
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
131
|
-
type:
|
|
136
|
+
type: CustomFieldType.TEXT;
|
|
137
|
+
value: string;
|
|
138
|
+
} | {
|
|
139
|
+
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
140
|
+
type: CustomFieldType.TEXT_ARRAY;
|
|
132
141
|
value: string[];
|
|
133
142
|
} | {
|
|
134
143
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
135
|
-
type:
|
|
144
|
+
type: CustomFieldType.TIMESTAMP;
|
|
136
145
|
value: {
|
|
137
146
|
readonly epochMilliseconds: number;
|
|
138
147
|
readonly epochNanoseconds: bigint;
|
|
@@ -160,11 +169,11 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
160
169
|
name: string;
|
|
161
170
|
customFields: ({
|
|
162
171
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
163
|
-
type:
|
|
172
|
+
type: CustomFieldType.BOOLEAN;
|
|
164
173
|
value: boolean;
|
|
165
174
|
} | {
|
|
166
175
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
167
|
-
type:
|
|
176
|
+
type: CustomFieldType.DATE;
|
|
168
177
|
value: "infinity" | "-infinity" | {
|
|
169
178
|
readonly era: string | undefined;
|
|
170
179
|
readonly eraYear: number | undefined;
|
|
@@ -204,7 +213,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
204
213
|
};
|
|
205
214
|
} | {
|
|
206
215
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
207
|
-
type:
|
|
216
|
+
type: CustomFieldType.MONETARY;
|
|
208
217
|
value: {
|
|
209
218
|
amount: number;
|
|
210
219
|
currency: import('../../../..').Currency;
|
|
@@ -212,27 +221,31 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
212
221
|
};
|
|
213
222
|
} | {
|
|
214
223
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
215
|
-
type:
|
|
224
|
+
type: CustomFieldType.MULTI_SELECT;
|
|
216
225
|
value: string[];
|
|
217
226
|
} | {
|
|
218
227
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
219
|
-
type:
|
|
228
|
+
type: CustomFieldType.NUMBER;
|
|
220
229
|
value: number;
|
|
221
230
|
} | {
|
|
222
231
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
223
|
-
type:
|
|
232
|
+
type: CustomFieldType.REFERENCE;
|
|
233
|
+
value: string;
|
|
234
|
+
} | {
|
|
235
|
+
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
236
|
+
type: CustomFieldType.SINGLE_SELECT;
|
|
224
237
|
value: string;
|
|
225
238
|
} | {
|
|
226
239
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
227
|
-
type:
|
|
240
|
+
type: CustomFieldType.TEXT;
|
|
228
241
|
value: string;
|
|
229
242
|
} | {
|
|
230
243
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
231
|
-
type:
|
|
244
|
+
type: CustomFieldType.TEXT_ARRAY;
|
|
232
245
|
value: string[];
|
|
233
246
|
} | {
|
|
234
247
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
235
|
-
type:
|
|
248
|
+
type: CustomFieldType.TIMESTAMP;
|
|
236
249
|
value: {
|
|
237
250
|
readonly epochMilliseconds: number;
|
|
238
251
|
readonly epochNanoseconds: bigint;
|
|
@@ -269,11 +282,11 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
269
282
|
name: string;
|
|
270
283
|
customFields: ({
|
|
271
284
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
272
|
-
type:
|
|
285
|
+
type: CustomFieldType.BOOLEAN;
|
|
273
286
|
value: boolean;
|
|
274
287
|
} | {
|
|
275
288
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
276
|
-
type:
|
|
289
|
+
type: CustomFieldType.DATE;
|
|
277
290
|
value: "infinity" | "-infinity" | {
|
|
278
291
|
readonly era: string | undefined;
|
|
279
292
|
readonly eraYear: number | undefined;
|
|
@@ -313,7 +326,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
313
326
|
};
|
|
314
327
|
} | {
|
|
315
328
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
316
|
-
type:
|
|
329
|
+
type: CustomFieldType.MONETARY;
|
|
317
330
|
value: {
|
|
318
331
|
amount: number;
|
|
319
332
|
currency: import('../../../..').Currency;
|
|
@@ -321,27 +334,31 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
321
334
|
};
|
|
322
335
|
} | {
|
|
323
336
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
324
|
-
type:
|
|
337
|
+
type: CustomFieldType.MULTI_SELECT;
|
|
325
338
|
value: string[];
|
|
326
339
|
} | {
|
|
327
340
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
328
|
-
type:
|
|
341
|
+
type: CustomFieldType.NUMBER;
|
|
329
342
|
value: number;
|
|
330
343
|
} | {
|
|
331
344
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
332
|
-
type:
|
|
345
|
+
type: CustomFieldType.REFERENCE;
|
|
333
346
|
value: string;
|
|
334
347
|
} | {
|
|
335
348
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
336
|
-
type:
|
|
349
|
+
type: CustomFieldType.SINGLE_SELECT;
|
|
337
350
|
value: string;
|
|
338
351
|
} | {
|
|
339
352
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
340
|
-
type:
|
|
353
|
+
type: CustomFieldType.TEXT;
|
|
354
|
+
value: string;
|
|
355
|
+
} | {
|
|
356
|
+
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
357
|
+
type: CustomFieldType.TEXT_ARRAY;
|
|
341
358
|
value: string[];
|
|
342
359
|
} | {
|
|
343
360
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
344
|
-
type:
|
|
361
|
+
type: CustomFieldType.TIMESTAMP;
|
|
345
362
|
value: {
|
|
346
363
|
readonly epochMilliseconds: number;
|
|
347
364
|
readonly epochNanoseconds: bigint;
|
|
@@ -369,11 +386,11 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
369
386
|
name: string;
|
|
370
387
|
customFields: ({
|
|
371
388
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
372
|
-
type:
|
|
389
|
+
type: CustomFieldType.BOOLEAN;
|
|
373
390
|
value: boolean;
|
|
374
391
|
} | {
|
|
375
392
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
376
|
-
type:
|
|
393
|
+
type: CustomFieldType.DATE;
|
|
377
394
|
value: "infinity" | "-infinity" | {
|
|
378
395
|
readonly era: string | undefined;
|
|
379
396
|
readonly eraYear: number | undefined;
|
|
@@ -413,7 +430,7 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
413
430
|
};
|
|
414
431
|
} | {
|
|
415
432
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
416
|
-
type:
|
|
433
|
+
type: CustomFieldType.MONETARY;
|
|
417
434
|
value: {
|
|
418
435
|
amount: number;
|
|
419
436
|
currency: import('../../../..').Currency;
|
|
@@ -421,27 +438,31 @@ export declare function useBillingDocumentLineItemsEditor(options: UseBillingDoc
|
|
|
421
438
|
};
|
|
422
439
|
} | {
|
|
423
440
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
424
|
-
type:
|
|
441
|
+
type: CustomFieldType.MULTI_SELECT;
|
|
425
442
|
value: string[];
|
|
426
443
|
} | {
|
|
427
444
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
428
|
-
type:
|
|
445
|
+
type: CustomFieldType.NUMBER;
|
|
429
446
|
value: number;
|
|
430
447
|
} | {
|
|
431
448
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
432
|
-
type:
|
|
449
|
+
type: CustomFieldType.REFERENCE;
|
|
450
|
+
value: string;
|
|
451
|
+
} | {
|
|
452
|
+
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
453
|
+
type: CustomFieldType.SINGLE_SELECT;
|
|
433
454
|
value: string;
|
|
434
455
|
} | {
|
|
435
456
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
436
|
-
type:
|
|
457
|
+
type: CustomFieldType.TEXT;
|
|
437
458
|
value: string;
|
|
438
459
|
} | {
|
|
439
460
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
440
|
-
type:
|
|
461
|
+
type: CustomFieldType.TEXT_ARRAY;
|
|
441
462
|
value: string[];
|
|
442
463
|
} | {
|
|
443
464
|
definitionUuid: import('../../../..').WiseInvoicingCustomFieldDefinitionUuid;
|
|
444
|
-
type:
|
|
465
|
+
type: CustomFieldType.TIMESTAMP;
|
|
445
466
|
value: {
|
|
446
467
|
readonly epochMilliseconds: number;
|
|
447
468
|
readonly epochNanoseconds: bigint;
|
package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import { UITableColumn } from '@wisemen/vue-core-design-system';
|
|
2
|
+
import { CustomFieldDefinition } from '../../../modules/custom-field/models/custom-field-definition/customFieldDefinition.model.ts';
|
|
2
3
|
import { InvoiceIndex } from '../../../modules/invoice/models/invoice/index/invoiceIndex.model.ts';
|
|
3
|
-
|
|
4
|
+
interface UseCustomerInvoiceTableColumnsOptions {
|
|
5
|
+
customFieldDefinitions: () => CustomFieldDefinition[];
|
|
6
|
+
}
|
|
7
|
+
export declare function useCustomerInvoiceTableColumns(options: UseCustomerInvoiceTableColumnsOptions): import('vue').ComputedRef<UITableColumn<InvoiceIndex, string>[]>;
|
|
8
|
+
export {};
|
package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED