taxtank-core 0.6.1 → 0.7.3
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/bundles/taxtank-core.umd.js +156 -9
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/collection.js +7 -1
- package/esm2015/lib/forms/abstract.form.js +11 -0
- package/esm2015/lib/forms/index.js +7 -0
- package/esm2015/lib/forms/login/login.form.js +11 -0
- package/esm2015/lib/forms/register/register-client.form.js +29 -0
- package/esm2015/lib/forms/register/register-firm.form.js +26 -0
- package/esm2015/lib/forms/user/password.form.js +11 -0
- package/esm2015/lib/forms/user/reset-password.form.js +10 -0
- package/esm2015/lib/models/depreciation/depreciation-lvp-rate.enum.js +6 -0
- package/esm2015/lib/models/depreciation/depreciation.js +6 -3
- package/esm2015/lib/models/pdf/pdf-config.js +11 -3
- package/esm2015/lib/services/pdf/pdf.service.js +26 -6
- package/esm2015/public-api.js +6 -1
- package/fesm2015/taxtank-core.js +136 -11
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/collection.d.ts +4 -0
- package/lib/forms/abstract.form.d.ts +4 -0
- package/lib/forms/index.d.ts +6 -0
- package/lib/forms/login/login.form.d.ts +4 -0
- package/lib/forms/register/register-client.form.d.ts +5 -0
- package/lib/forms/register/register-firm.form.d.ts +7 -0
- package/lib/forms/user/password.form.d.ts +4 -0
- package/lib/forms/user/reset-password.form.d.ts +4 -0
- package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts +4 -0
- package/lib/models/depreciation/depreciation.d.ts +1 -0
- package/lib/services/pdf/pdf.service.d.ts +1 -0
- package/package.json +2 -1
- package/public-api.d.ts +5 -0
|
@@ -32,6 +32,10 @@ export declare class Collection<Model extends object> implements Iterable<Model>
|
|
|
32
32
|
*/
|
|
33
33
|
sumBy(field: string): number;
|
|
34
34
|
toArray(): Model[];
|
|
35
|
+
/**
|
|
36
|
+
* Filter items by specific provided callback
|
|
37
|
+
*/
|
|
38
|
+
filter(callback: (item: Model) => boolean): Collection<Model>;
|
|
35
39
|
get first(): Model;
|
|
36
40
|
get last(): Model;
|
|
37
41
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AbstractForm } from '../abstract.form';
|
|
2
|
+
import { FirmTypeEnum } from '../../db/Enums/firm-type.enum';
|
|
3
|
+
export declare class RegisterFirmForm extends AbstractForm {
|
|
4
|
+
private firmType;
|
|
5
|
+
constructor(firmType: FirmTypeEnum, referenceCode?: string);
|
|
6
|
+
submit(): object;
|
|
7
|
+
}
|
|
@@ -13,6 +13,7 @@ export declare class Depreciation extends DepreciationBase implements ITank, IRe
|
|
|
13
13
|
static LOW_VALUE_POOL_THRESHOLD: number;
|
|
14
14
|
purchaseDate: Date;
|
|
15
15
|
date: Date;
|
|
16
|
+
lowValuePoolDate: Date;
|
|
16
17
|
writeOffManualDate: Date;
|
|
17
18
|
writeOffDate: Date;
|
|
18
19
|
depreciationCapitalProject: DepreciationCapitalProject;
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taxtank-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^12.2.3 || ~13.0.0",
|
|
7
7
|
"@angular/core": "^12.2.3 || ~13.0.0",
|
|
8
|
+
"@angular/forms": "^12.2.3 || ~13.0.0",
|
|
8
9
|
"@angular/router": "^12.2.3 || ~13.0.0",
|
|
9
10
|
"@auth0/angular-jwt": "^5.0.2",
|
|
10
11
|
"@stripe/stripe-js": "^1.11.0",
|
package/public-api.d.ts
CHANGED
|
@@ -155,6 +155,7 @@ export * from './lib/models/color/alphabet-colors.enum';
|
|
|
155
155
|
export * from './lib/models/data-table/data-table';
|
|
156
156
|
export * from './lib/models/data-table/data-table-column';
|
|
157
157
|
export * from './lib/models/depreciation/depreciation';
|
|
158
|
+
export * from './lib/models/depreciation/depreciation-lvp-rate.enum';
|
|
158
159
|
export * from './lib/models/depreciation/depreciation-capital-project';
|
|
159
160
|
export * from './lib/models/depreciation/depreciation-forecast';
|
|
160
161
|
export * from './lib/models/depreciation/depreciation-group.enum';
|
|
@@ -348,3 +349,7 @@ export * from './lib/functions/array';
|
|
|
348
349
|
* Interceptors
|
|
349
350
|
*/
|
|
350
351
|
export * from './lib/interceptors/interceptors.module';
|
|
352
|
+
/**
|
|
353
|
+
* Forms
|
|
354
|
+
*/
|
|
355
|
+
export * from './lib/forms';
|