taxtank-core 0.33.44 → 0.33.46

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.44",
3
+ "version": "0.33.46",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -1,18 +1,19 @@
1
1
  import { AbstractForm } from '../abstract.form';
2
2
  import { AllocationRule } from '../../models';
3
- import { UntypedFormArray } from '@angular/forms';
3
+ import { FormArray } from '@angular/forms';
4
4
  import { AllocationRuleTransactionForm } from './allocation-rule-transaction.form';
5
5
  import { ChartAccountsCategoryEnum } from '../../db/Enums';
6
6
  import { IEventListener } from '../../interfaces';
7
+ import { AllocationRuleCollection } from '../../collections';
7
8
  /**
8
9
  * @TODO move aux methods like isSplittable/isTaxFieldHidden/etc (used in view with ngIf) to properties to improve perf
9
10
  */
10
11
  export declare class AllocationRuleForm extends AbstractForm<AllocationRule> implements IEventListener {
11
12
  private isGST;
12
13
  chartAccountsCategories: ChartAccountsCategoryEnum[];
13
- constructor(rule: AllocationRule, isGST: boolean);
14
- get conditionsArray(): UntypedFormArray;
15
- get childTransactionsArray(): UntypedFormArray;
14
+ constructor(rule: AllocationRule, rules: AllocationRuleCollection, isGST: boolean);
15
+ get conditionsArray(): FormArray;
16
+ get childTransactionsArray(): FormArray;
16
17
  get transactionFormGroup(): AllocationRuleTransactionForm;
17
18
  addConditionForm(): void;
18
19
  isTaxFieldHidden(): boolean;
@@ -1,6 +1,5 @@
1
- import { DepreciationCollection, TransactionCollection } from '../../../../../collections';
1
+ import { DepreciationCollection, SoleBusinessLossCollection, TransactionCollection } from '../../../../../collections';
2
2
  import { SoleBusinessLoss } from '../../../../sole';
3
- import { SoleBusinessLossCollection } from '../../../../../collections';
4
3
  import { TaxSummary } from '../../../../tax-summary/tax-summary';
5
4
  /**
6
5
  * Sole business information related to expense transactions (losses)
@@ -22,7 +22,7 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
22
22
  * Listen events from Event Dispatcher services
23
23
  */
24
24
  listenEvents(): void;
25
- protected fetch(path?: string, cache?: boolean): Observable<Transaction[]>;
25
+ get(path?: string): Observable<Transaction[]>;
26
26
  getCurrentYear(): Observable<Transaction[]>;
27
27
  /**
28
28
  * Add single new transaction
@@ -1,4 +1,4 @@
1
- import { ExportableCollection } from "../../collections";
1
+ import { ExportableCollection } from '../../collections';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class XlsxService {
4
4
  /**