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/fesm2022/taxtank-core.mjs +21 -40
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/db/Models/chart-accounts/chart-accounts-depreciation.d.ts +1 -1
- package/src/lib/forms/chart-accounts/chart-accounts.form.d.ts +3 -0
- package/src/lib/forms/chart-accounts/index.d.ts +0 -1
- package/src/lib/models/chart-accounts/chart-accounts-depreciation.d.ts +1 -1
- package/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +1 -5
- package/src/lib/services/http/chart-accounts/chart-accounts.service.d.ts +1 -5
- package/src/lib/forms/chart-accounts/chart-accounts-depreciation.form.d.ts +0 -7
package/package.json
CHANGED
@@ -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
|
}
|
@@ -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
|
-
|
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>>
|
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>
|
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
|
-
}
|