taxtank-core 1.0.65 → 1.0.67

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^19.0.2",
@@ -4,7 +4,7 @@ export declare class ChartAccountsDepreciation extends ObservableModel {
4
4
  static className: string;
5
5
  effectiveYear?: number;
6
6
  effectiveLife?: number;
7
- limit?: number;
7
+ maxClaim?: number;
8
8
  createdAt?: Date;
9
9
  updatedAt?: Date;
10
10
  chartAccounts?: ChartAccounts;
@@ -1,6 +1,9 @@
1
1
  import { AbstractForm } from '../abstract.form';
2
+ import { FormArray } from '@angular/forms';
2
3
  import { ChartAccounts } from '../../models';
3
4
  export declare class ChartAccountsForm extends AbstractForm<ChartAccounts> {
4
5
  private chartAccounts;
5
6
  constructor(chartAccounts?: ChartAccounts);
7
+ get depreciationsArray(): FormArray;
8
+ addDepreciationGroup(): void;
6
9
  }
@@ -1,2 +1 @@
1
1
  export * from './chart-accounts.form';
2
- export * from './chart-accounts-depreciation.form';
@@ -2,6 +2,6 @@ import { ChartAccountsDepreciation as ChartAccountsDepreciationBase } from '../.
2
2
  import { ChartAccounts } from './chart-accounts';
3
3
  export declare class ChartAccountsDepreciation extends ChartAccountsDepreciationBase {
4
4
  chartAccounts: ChartAccounts;
5
- limit: number;
5
+ maxClaim: number;
6
6
  effectiveLife: number;
7
7
  }
@@ -2,19 +2,15 @@ import { RestMethod, RestService } from '../../rest';
2
2
  import { ChartAccountsDepreciation as ChartAccountsDepreciationBase } from '../../../../db/Models';
3
3
  import { ChartAccountsDepreciation } from '../../../../models';
4
4
  import { Collection } from '../../../../collections';
5
- import { IEventListener } from '../../../../interfaces';
6
5
  import * as i0 from "@angular/core";
7
6
  /**
8
7
  * Service to work with depreciation chart accounts
9
8
  */
10
- export declare class ChartAccountsDepreciationService extends RestService<ChartAccountsDepreciationBase, ChartAccountsDepreciation, Collection<ChartAccountsDepreciation>> implements IEventListener {
11
- protected environment: any;
9
+ export declare class ChartAccountsDepreciationService extends RestService<ChartAccountsDepreciationBase, ChartAccountsDepreciation, Collection<ChartAccountsDepreciation>> {
12
10
  endpointUri: string;
13
11
  modelClass: typeof ChartAccountsDepreciation;
14
12
  collectionClass: typeof Collection;
15
13
  disabledMethods: RestMethod[];
16
- constructor(environment: any);
17
- listenEvents(): void;
18
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartAccountsDepreciationService, never>;
19
15
  static ɵprov: i0.ɵɵInjectableDeclaration<ChartAccountsDepreciationService>;
20
16
  }
@@ -4,19 +4,15 @@ import { ChartAccounts as ChartAccountsBase } from '../../../db/Models';
4
4
  import { ChartAccounts, ChartAccountsHeading } from '../../../models';
5
5
  import { RestMethod, RestService } from '../rest';
6
6
  import { ChartAccountsCollection } from '../../../collections';
7
- import { IEventListener } from '../../../interfaces';
8
7
  import * as i0 from "@angular/core";
9
8
  /**
10
9
  * Chart accounts service
11
10
  */
12
- export declare class ChartAccountsService extends RestService<ChartAccountsBase, ChartAccounts, ChartAccountsCollection> implements IEventListener {
13
- protected environment: any;
11
+ export declare class ChartAccountsService extends RestService<ChartAccountsBase, ChartAccounts, ChartAccountsCollection> {
14
12
  protected endpointUri: string;
15
13
  modelClass: typeof ChartAccounts;
16
14
  collectionClass: typeof ChartAccountsCollection;
17
15
  disabledMethods: RestMethod[];
18
- constructor(environment: any);
19
- listenEvents(): void;
20
16
  /**
21
17
  * Get list of chart accounts headings by catogory with chart accounts inside
22
18
  */
@@ -1,7 +0,0 @@
1
- import { AbstractForm } from '../abstract.form';
2
- import { ChartAccountsDepreciation } from '../../models';
3
- export declare class ChartAccountsDepreciationForm extends AbstractForm<ChartAccountsDepreciation> {
4
- private chartAccountsDepreciation;
5
- constructor(chartAccountsDepreciation?: ChartAccountsDepreciation);
6
- submit(): ChartAccountsDepreciation;
7
- }