taxtank-core 0.32.104 → 0.32.105
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/forms/transaction/index.mjs +2 -1
- package/esm2022/lib/forms/transaction/transaction-filter.form.mjs +35 -0
- package/esm2022/lib/models/client/client-details.mjs +2 -2
- package/esm2022/lib/models/financial-year/financial-year.mjs +3 -3
- package/esm2022/lib/models/property/property-forecast.mjs +1 -7
- package/esm2022/lib/models/property/property.mjs +4 -2
- package/esm2022/lib/services/account-setup/account-setup.service.mjs +2 -2
- package/fesm2022/taxtank-core.mjs +40 -12
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/forms/transaction/index.d.ts +1 -0
- package/lib/forms/transaction/transaction-filter.form.d.ts +18 -0
- package/lib/models/property/property-forecast.d.ts +0 -4
- package/package.json +1 -1
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
2
|
+
import { ControlsInterface } from '../abstract.form';
|
3
|
+
import { TransactionCollection } from '../../collections';
|
4
|
+
import { TankTypeEnum } from '../../db/Enums/tank-type.enum';
|
5
|
+
import { SoleBusiness } from '../../models';
|
6
|
+
import { IEventListener } from '../../interfaces';
|
7
|
+
interface ITransactionFilterControls extends ControlsInterface {
|
8
|
+
tankType: FormControl<TankTypeEnum>;
|
9
|
+
business: FormControl<SoleBusiness>;
|
10
|
+
dateFrom: FormControl<Date>;
|
11
|
+
dateTo: FormControl<Date>;
|
12
|
+
}
|
13
|
+
export declare class TransactionFilterForm extends FormGroup<ITransactionFilterControls> implements IEventListener {
|
14
|
+
constructor(tankType: TankTypeEnum, business?: SoleBusiness);
|
15
|
+
listenEvents(): void;
|
16
|
+
filter(collection: TransactionCollection): TransactionCollection;
|
17
|
+
}
|
18
|
+
export {};
|
@@ -22,8 +22,4 @@ export declare class PropertyForecast extends PropertyForecastBase {
|
|
22
22
|
* Rental Return = Income / Market Value
|
23
23
|
*/
|
24
24
|
get rentalReturn(): number;
|
25
|
-
/**
|
26
|
-
* Check if forecast is for real current fin year (not selected in the sidebar)
|
27
|
-
*/
|
28
|
-
isCurrentYear(): boolean;
|
29
25
|
}
|