taxtank-core 0.28.11 → 0.28.12

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.
@@ -1,8 +1,17 @@
1
1
  import { AbstractForm } from '../abstract.form';
2
2
  import { SoleBusiness } from '../../models';
3
3
  import { FormGroup } from '@angular/forms';
4
- export declare class SoleBusinessForm extends AbstractForm<SoleBusiness> {
4
+ import { IEventListener } from '../../interfaces/event-listener.interface';
5
+ export declare class SoleBusinessForm extends AbstractForm<SoleBusiness> implements IEventListener {
5
6
  constructor(business?: SoleBusiness);
7
+ listenEvents(): void;
8
+ /**
9
+ * We take the first forecast because income sources available only for new business, so we have only one forecast
10
+ */
6
11
  get forecastFormGroup(): FormGroup;
12
+ /**
13
+ * We take the first loss because losses available only for new business, so we have only one loss
14
+ */
7
15
  get lossFormGroup(): FormGroup;
16
+ private listenNameChanges;
8
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.11",
3
+ "version": "0.28.12",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",