taxtank-core 0.30.20 → 0.30.22

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.
@@ -41,5 +41,9 @@ export declare abstract class AbstractForm<Model> extends UntypedFormGroup {
41
41
  * @param data
42
42
  */
43
43
  createModelInstance(data?: object): Model;
44
+ /**
45
+ * emit current form values
46
+ */
47
+ emitValues(): void;
44
48
  private listenValueChanges;
45
49
  }
@@ -1,7 +1,6 @@
1
1
  import { AbstractForm } from '../abstract.form';
2
2
  import { BasReport } from '../../models';
3
- import { TransactionAllocationCollection, TransactionCollection } from '../../collections';
4
- import { DepreciationCollection } from '../../collections/depreciation.collection';
3
+ import { TransactionAllocationCollection, TransactionCollection, DepreciationCollection } from '../../collections';
5
4
  /**
6
5
  * business activity statement report
7
6
  * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/268533936/BAS+Report
@@ -26,6 +26,7 @@ export declare class AllocationRuleForm extends AbstractForm<AllocationRule> imp
26
26
  * Depends on transaction type and tank type
27
27
  */
28
28
  private updateChartAccountsCategories;
29
+ get tankTypeLabel(): string;
29
30
  private setupFieldsByType;
30
31
  private setupFieldsByTankType;
31
32
  }
@@ -1,3 +1,7 @@
1
1
  import { ClientIncomeTypes as ClientIncomeTypesBase } from '../../db/Models/user/client-income-types';
2
2
  export declare class ClientIncomeTypes extends ClientIncomeTypesBase {
3
+ /**
4
+ * Get count of selected income types
5
+ */
6
+ get length(): number;
3
7
  }
@@ -12,7 +12,6 @@ export declare class AllocationRule extends AllocationRuleBase {
12
12
  type: AllocationRuleTypeEnum;
13
13
  conditionOperator: AllocationRuleConditionOperatorEnum;
14
14
  get typeLabel(): string;
15
- get tankTypeLabel(): string;
16
15
  isIncome(): boolean;
17
16
  isExpense(): boolean;
18
17
  isTransfer(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.30.20",
3
+ "version": "0.30.22",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",