@wisemen/wise-invoicing-web 0.4.0 → 0.5.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-CD0Seawd.js} +1 -1
- package/dist/{BillingDocumentDetailViewDataProvider-B3I6UIKY.js → BillingDocumentDetailViewDataProvider-BgVYrLu8.js} +1530 -1505
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-rFqmLUPy.js → BillingDocumentPdf-LYvPMzYT.js} +1 -1
- package/dist/{CreditNoteDetailViewDataProvider-CQRnG2Fz.js → CreditNoteDetailViewDataProvider-CpSIbMM2.js} +2 -2
- package/dist/{CreditNotePdfViewDataProvider-RytwPWH5.js → CreditNotePdfViewDataProvider-Dtnu9gS3.js} +1 -1
- package/dist/{DunningCaseDetailViewDataProvider-BRYbYgTw.js → DunningCaseDetailViewDataProvider-DutSCkco.js} +2 -2
- package/dist/{DunningCaseOverviewView-D0vScVF1.js → DunningCaseOverviewView-D8o4VMQD.js} +2 -2
- package/dist/{DunningCaseSendDialog-CV66_tMv.js → DunningCaseSendDialog-DGg7bXeZ.js} +1 -1
- package/dist/{InvoiceApprovalOverviewView-CcMqr2jH.js → InvoiceApprovalOverviewView-C4MI4IqD.js} +1 -1
- package/dist/{InvoiceApproveDialogDataProvider-DaCEHgs0.js → InvoiceApproveDialogDataProvider-CMZ0zDZo.js} +1 -1
- package/dist/{InvoiceDetailViewDataProvider-B5uZY8Qy.js → InvoiceDetailViewDataProvider-k1yIeHYP.js} +4 -4
- package/dist/{InvoicePdfView-CPEX7E9W.js → InvoicePdfView-CB8gx8TE.js} +1 -1
- package/dist/{InvoicePdfViewDataProvider-T4-8A2OD.js → InvoicePdfViewDataProvider-Cs4Gqa0h.js} +2 -2
- package/dist/{InvoicePublicPdfViewDataProvider-BkHZoPSZ.js → InvoicePublicPdfViewDataProvider-BaSvVJ8W.js} +2 -2
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-CfkArXbC.js → InvoicePublicProFormaPdfViewDataProvider-S3N9E91M.js} +2 -2
- package/dist/{ReminderSettingsViewDataProvider-CjX7afDs.js → ReminderSettingsViewDataProvider-BotrOSmS.js} +1 -1
- package/dist/{i18n.lib-CKs3ExEl.js → i18n.lib-DBxdqkbJ.js} +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +18 -18
- package/dist/{invoicingConfig.composable-DjFexycc.js → invoicingConfig.composable-CaWQMTP1.js} +1 -1
- package/dist/libs/i18n.lib.d.ts +2 -0
- package/dist/locales/en-US.json.d.ts +1 -0
- package/dist/locales/nl-BE.json.d.ts +1 -0
- package/dist/style.css +1 -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
|
@@ -3,7 +3,11 @@ type __VLS_Props = {
|
|
|
3
3
|
isCollapsed: boolean;
|
|
4
4
|
isDropTarget?: boolean;
|
|
5
5
|
contentColumnSpan: number;
|
|
6
|
+
/** The part of the total that comes from discount lines, 0 without any. */
|
|
7
|
+
discountTotal: number;
|
|
6
8
|
group: BillingDocumentLineItemEditorGroupRow;
|
|
9
|
+
/** Every nested line's price excl. VAT, summed. */
|
|
10
|
+
netTotal: number | null;
|
|
7
11
|
total: number | null;
|
|
8
12
|
};
|
|
9
13
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { BillingDocumentLineItemEditorRow } from './utils/billingDocumentLineItemsEditor.util.ts';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
/**
|
|
3
|
-
|
|
3
|
+
/** How many groups the row sits in. */
|
|
4
|
+
depth: number;
|
|
5
|
+
type: BillingDocumentLineItemEditorRow['type'];
|
|
4
6
|
};
|
|
5
7
|
declare var __VLS_1: {};
|
|
6
8
|
type __VLS_Slots = {} & {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
2
|
-
dropTargetGroupId: import('vue').Ref<string | null, string | null>;
|
|
3
|
-
hoveredGroupId: import('vue').Ref<string | null, string | null>;
|
|
4
2
|
hasInvalidRows: import('vue').ComputedRef<boolean>;
|
|
5
3
|
hasSaveError: import('vue').Ref<boolean, boolean>;
|
|
6
4
|
isDirty: import('vue').ComputedRef<boolean>;
|
|
7
|
-
isDraggingRows: import('vue').Ref<boolean, boolean>;
|
|
8
5
|
isEditable: import('vue').ComputedRef<boolean>;
|
|
9
6
|
isSaving: import('vue').ComputedRef<boolean>;
|
|
10
7
|
customFieldDefinitions: import('vue').ComputedRef<import('../../../modules/custom-field/models/custom-field-definition/customFieldDefinition.model').CustomFieldDefinition[]>;
|
|
@@ -471,12 +468,9 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
471
468
|
structure: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemsStructure>;
|
|
472
469
|
meta: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorMeta>;
|
|
473
470
|
}) => {
|
|
474
|
-
dropTargetGroupId: import('vue').Ref<string | null, string | null>;
|
|
475
|
-
hoveredGroupId: import('vue').Ref<string | null, string | null>;
|
|
476
471
|
hasInvalidRows: import('vue').ComputedRef<boolean>;
|
|
477
472
|
hasSaveError: import('vue').Ref<boolean, boolean>;
|
|
478
473
|
isDirty: import('vue').ComputedRef<boolean>;
|
|
479
|
-
isDraggingRows: import('vue').Ref<boolean, boolean>;
|
|
480
474
|
isEditable: import('vue').ComputedRef<boolean>;
|
|
481
475
|
isSaving: import('vue').ComputedRef<boolean>;
|
|
482
476
|
customFieldDefinitions: import('vue').ComputedRef<import('../../../modules/custom-field/models/custom-field-definition/customFieldDefinition.model').CustomFieldDefinition[]>;
|
|
@@ -943,12 +937,9 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
943
937
|
structure: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemsStructure>;
|
|
944
938
|
meta: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorMeta>;
|
|
945
939
|
}, useInjectBillingDocumentLineItemsTableContext: <TFallback extends {
|
|
946
|
-
dropTargetGroupId: import('vue').Ref<string | null, string | null>;
|
|
947
|
-
hoveredGroupId: import('vue').Ref<string | null, string | null>;
|
|
948
940
|
hasInvalidRows: import('vue').ComputedRef<boolean>;
|
|
949
941
|
hasSaveError: import('vue').Ref<boolean, boolean>;
|
|
950
942
|
isDirty: import('vue').ComputedRef<boolean>;
|
|
951
|
-
isDraggingRows: import('vue').Ref<boolean, boolean>;
|
|
952
943
|
isEditable: import('vue').ComputedRef<boolean>;
|
|
953
944
|
isSaving: import('vue').ComputedRef<boolean>;
|
|
954
945
|
customFieldDefinitions: import('vue').ComputedRef<import('../../../modules/custom-field/models/custom-field-definition/customFieldDefinition.model').CustomFieldDefinition[]>;
|
|
@@ -1415,12 +1406,9 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1415
1406
|
structure: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemsStructure>;
|
|
1416
1407
|
meta: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorMeta>;
|
|
1417
1408
|
} | null = {
|
|
1418
|
-
dropTargetGroupId: import('vue').Ref<string | null, string | null>;
|
|
1419
|
-
hoveredGroupId: import('vue').Ref<string | null, string | null>;
|
|
1420
1409
|
hasInvalidRows: import('vue').ComputedRef<boolean>;
|
|
1421
1410
|
hasSaveError: import('vue').Ref<boolean, boolean>;
|
|
1422
1411
|
isDirty: import('vue').ComputedRef<boolean>;
|
|
1423
|
-
isDraggingRows: import('vue').Ref<boolean, boolean>;
|
|
1424
1412
|
isEditable: import('vue').ComputedRef<boolean>;
|
|
1425
1413
|
isSaving: import('vue').ComputedRef<boolean>;
|
|
1426
1414
|
customFieldDefinitions: import('vue').ComputedRef<import('../../../modules/custom-field/models/custom-field-definition/customFieldDefinition.model').CustomFieldDefinition[]>;
|
|
@@ -1887,12 +1875,9 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
1887
1875
|
structure: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemsStructure>;
|
|
1888
1876
|
meta: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorMeta>;
|
|
1889
1877
|
}>(fallback?: TFallback | undefined) => TFallback extends null ? {
|
|
1890
|
-
dropTargetGroupId: import('vue').Ref<string | null, string | null>;
|
|
1891
|
-
hoveredGroupId: import('vue').Ref<string | null, string | null>;
|
|
1892
1878
|
hasInvalidRows: import('vue').ComputedRef<boolean>;
|
|
1893
1879
|
hasSaveError: import('vue').Ref<boolean, boolean>;
|
|
1894
1880
|
isDirty: import('vue').ComputedRef<boolean>;
|
|
1895
|
-
isDraggingRows: import('vue').Ref<boolean, boolean>;
|
|
1896
1881
|
isEditable: import('vue').ComputedRef<boolean>;
|
|
1897
1882
|
isSaving: import('vue').ComputedRef<boolean>;
|
|
1898
1883
|
customFieldDefinitions: import('vue').ComputedRef<import('../../../modules/custom-field/models/custom-field-definition/customFieldDefinition.model').CustomFieldDefinition[]>;
|
|
@@ -2359,12 +2344,9 @@ export declare const useProvideBillingDocumentLineItemsTableContext: (context: {
|
|
|
2359
2344
|
structure: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemsStructure>;
|
|
2360
2345
|
meta: import('vue').ComputedRef<import('./utils/billingDocumentLineItemsEditor.util').BillingDocumentLineItemEditorMeta>;
|
|
2361
2346
|
} | null : {
|
|
2362
|
-
dropTargetGroupId: import('vue').Ref<string | null, string | null>;
|
|
2363
|
-
hoveredGroupId: import('vue').Ref<string | null, string | null>;
|
|
2364
2347
|
hasInvalidRows: import('vue').ComputedRef<boolean>;
|
|
2365
2348
|
hasSaveError: import('vue').Ref<boolean, boolean>;
|
|
2366
2349
|
isDirty: import('vue').ComputedRef<boolean>;
|
|
2367
|
-
isDraggingRows: import('vue').Ref<boolean, boolean>;
|
|
2368
2350
|
isEditable: import('vue').ComputedRef<boolean>;
|
|
2369
2351
|
isSaving: import('vue').ComputedRef<boolean>;
|
|
2370
2352
|
customFieldDefinitions: import('vue').ComputedRef<import('../../../modules/custom-field/models/custom-field-definition/customFieldDefinition.model').CustomFieldDefinition[]>;
|
package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts
CHANGED
|
@@ -19,12 +19,9 @@ export interface BillingDocumentLineItemsEditorDisplayRow {
|
|
|
19
19
|
vat: number | null;
|
|
20
20
|
}
|
|
21
21
|
export declare function useBillingDocumentLineItemsEditor(options: UseBillingDocumentLineItemsEditorOptions): {
|
|
22
|
-
dropTargetGroupId: import('vue').Ref<string | null, string | null>;
|
|
23
|
-
hoveredGroupId: import('vue').Ref<string | null, string | null>;
|
|
24
22
|
hasInvalidRows: ComputedRef<boolean>;
|
|
25
23
|
hasSaveError: import('vue').Ref<boolean, boolean>;
|
|
26
24
|
isDirty: ComputedRef<boolean>;
|
|
27
|
-
isDraggingRows: import('vue').Ref<boolean, boolean>;
|
|
28
25
|
isEditable: ComputedRef<boolean>;
|
|
29
26
|
isSaving: ComputedRef<boolean>;
|
|
30
27
|
customFieldDefinitions: ComputedRef<CustomFieldDefinition[]>;
|
|
@@ -5,6 +5,8 @@ type __VLS_Props = {
|
|
|
5
5
|
isTouched: boolean;
|
|
6
6
|
align?: 'left' | 'right';
|
|
7
7
|
as?: 'input' | 'select';
|
|
8
|
+
/** Item names stand out from the other values in the row. */
|
|
9
|
+
emphasis?: 'medium' | 'none' | 'semibold';
|
|
8
10
|
errorMessage: string | null;
|
|
9
11
|
label: string;
|
|
10
12
|
prefix?: string;
|
|
@@ -26,6 +28,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
26
28
|
variant: "ghost" | "outlined";
|
|
27
29
|
align: "left" | "right";
|
|
28
30
|
as: "input" | "select";
|
|
31
|
+
emphasis: "medium" | "none" | "semibold";
|
|
29
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
34
|
declare const _default: typeof __VLS_export;
|
|
@@ -152,6 +152,12 @@ export declare class BillingDocumentLineItemsEditorUtil {
|
|
|
152
152
|
private static getGroupBlockInsertionIndexBeforeTarget;
|
|
153
153
|
/** The group a row sits in: a line's group, a group's parent group. */
|
|
154
154
|
private static getRowContainerId;
|
|
155
|
+
/**
|
|
156
|
+
* Left padding of a row's item cell, which holds its checkbox. Groups step
|
|
157
|
+
* in 0.5rem per level; lines sit 0.75rem further in than the group they are
|
|
158
|
+
* in, and top-level lines line up with top-level groups.
|
|
159
|
+
*/
|
|
160
|
+
static getRowIndentInRem(type: BillingDocumentLineItemEditorRow['type'], depth: number): number;
|
|
155
161
|
private static getSignedQuantity;
|
|
156
162
|
/**
|
|
157
163
|
* Wraps the selection in the supplied (new) group. A group whose lines are
|
package/package.json
CHANGED