taxtank-core 0.32.33 → 0.32.35
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/esm2022/lib/collections/collection.mjs +7 -4
- package/esm2022/lib/collections/sole/sole-invoice.collection.mjs +2 -2
- package/esm2022/lib/db/Models/sole/bas-report.mjs +1 -1
- package/esm2022/lib/forms/abstract.form.mjs +6 -3
- package/esm2022/lib/forms/sole/bas-report.form.mjs +7 -6
- package/esm2022/lib/models/sole/sole-invoice.mjs +8 -2
- package/fesm2022/taxtank-core.mjs +25 -12
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/collections/collection.d.ts +1 -1
- package/lib/forms/abstract.form.d.ts +1 -1
- package/lib/models/sole/sole-invoice.d.ts +3 -1
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ export declare class Collection<Model extends AbstractModel> implements Iterable
|
|
|
36
36
|
groupBy(path?: string): CollectionDictionary<this>;
|
|
37
37
|
indexBy(path?: string): Dictionary<Model>;
|
|
38
38
|
filter(callback: (item: Model) => boolean): this;
|
|
39
|
-
filterBy(path: string, values
|
|
39
|
+
filterBy(path: string, values?: any): this;
|
|
40
40
|
filterByRange(path: string, from: any, to: any): this;
|
|
41
41
|
filterByFinancialYear(pathFrom: string, pathTo?: string, financialYear?: FinancialYear): this;
|
|
42
42
|
find(callback: (item: Model) => boolean): Model | null;
|
|
@@ -50,6 +50,6 @@ export declare abstract class AbstractForm<Model> extends UntypedFormGroup {
|
|
|
50
50
|
/**
|
|
51
51
|
* upgraded version of patchValue to skip duplicated changes
|
|
52
52
|
*/
|
|
53
|
-
patchField(name: string, value: any
|
|
53
|
+
patchField(name: string, value: any): void;
|
|
54
54
|
fieldChanged(name: string): boolean;
|
|
55
55
|
}
|
|
@@ -49,8 +49,10 @@ export declare class SoleInvoice extends SoleInvoiceBase {
|
|
|
49
49
|
isDraft(): boolean;
|
|
50
50
|
isCancelled(): boolean;
|
|
51
51
|
isPending(): boolean;
|
|
52
|
-
|
|
52
|
+
isAllocated(): boolean;
|
|
53
53
|
isPaidCash(): boolean;
|
|
54
|
+
isPaid(): boolean;
|
|
55
|
+
isEditable(): boolean;
|
|
54
56
|
isOverdue(): boolean;
|
|
55
57
|
isUnpaid(): boolean;
|
|
56
58
|
/**
|