taxtank-core 0.33.47 → 0.33.48
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/home-office/home-office-claim.collection.mjs +7 -0
- package/esm2022/src/lib/collections/home-office/index.mjs +2 -0
- package/esm2022/src/lib/collections/index.mjs +2 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.mjs +10 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +6 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +1 -2
- package/esm2022/src/lib/forms/abstract.form.mjs +3 -3
- package/esm2022/src/lib/forms/home-office/home-office-calculator.form.mjs +25 -0
- package/esm2022/src/lib/forms/home-office/home-office-claim.form.mjs +3 -3
- package/esm2022/src/lib/forms/home-office/home-office-log.form.mjs +2 -2
- package/esm2022/src/lib/forms/home-office/index.mjs +2 -1
- package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +15 -2
- package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +2 -3
- package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +21 -2
- package/esm2022/src/lib/models/dictionary/dictionary.mjs +3 -2
- package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +5 -1
- package/esm2022/src/lib/models/home-office/home-office-claim.interface.mjs +1 -1
- package/esm2022/src/lib/models/home-office/home-office-claim.mjs +31 -11
- package/esm2022/src/lib/models/transaction/transaction.mjs +5 -2
- package/esm2022/src/lib/services/data.service.mjs +2 -2
- package/esm2022/src/lib/services/http/home-office/home-office-claim.service.mjs +4 -4
- package/esm2022/src/lib/services/http/home-office/home-office-log.service.mjs +2 -2
- package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +8 -1
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +24 -5
- package/esm2022/src/lib/validators/current-fin-year.validator.mjs +3 -2
- package/fesm2022/taxtank-core.mjs +147 -39
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/home-office/home-office-claim.collection.d.ts +5 -0
- package/src/lib/collections/home-office/index.d.ts +1 -0
- package/src/lib/collections/index.d.ts +1 -0
- package/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.d.ts +10 -1
- package/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +6 -1
- package/src/lib/db/Enums/chart-accounts/index.d.ts +0 -1
- package/src/lib/forms/abstract.form.d.ts +1 -1
- package/src/lib/forms/home-office/home-office-calculator.form.d.ts +8 -0
- package/src/lib/forms/home-office/home-office-log.form.d.ts +1 -1
- package/src/lib/forms/home-office/index.d.ts +1 -0
- package/src/lib/forms/transaction/work/work-expense.form.d.ts +4 -2
- package/src/lib/models/bank/bank-transaction-chart-data.d.ts +2 -2
- package/src/lib/models/chart-accounts/chart-accounts.d.ts +2 -0
- package/src/lib/models/dictionary/dictionary.d.ts +2 -2
- package/src/lib/models/home-office/home-office-claim.d.ts +8 -4
- package/src/lib/models/home-office/home-office-claim.interface.d.ts +5 -2
- package/src/lib/models/transaction/transaction.d.ts +2 -1
- package/src/lib/services/http/home-office/home-office-claim.service.d.ts +4 -4
- package/src/lib/services/http/home-office/home-office-log.service.d.ts +1 -1
- package/src/lib/services/http/rest/rest-old.service.d.ts +4 -0
- package/src/lib/services/http/rest/rest.service.d.ts +1 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/home-office-chart-accounts.enum.mjs +0 -18
- package/src/lib/db/Enums/chart-accounts/home-office-chart-accounts.enum.d.ts +0 -16
@@ -4,8 +4,8 @@ import * as i1$1 from '@angular/common';
|
|
4
4
|
import { formatDate, CommonModule, CurrencyPipe, DatePipe } from '@angular/common';
|
5
5
|
import * as i1 from '@angular/common/http';
|
6
6
|
import { HttpParams, HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
|
7
|
-
import { map, mergeMap, filter, first as first$1,
|
8
|
-
import { ReplaySubject, Subject, Observable, throwError, combineLatest, BehaviorSubject, forkJoin,
|
7
|
+
import { map, mergeMap, filter, catchError, first as first$1, finalize, debounceTime, distinctUntilChanged, startWith } from 'rxjs/operators';
|
8
|
+
import { ReplaySubject, Subject, Observable, of, throwError, combineLatest, BehaviorSubject, forkJoin, from, merge as merge$1 } from 'rxjs';
|
9
9
|
import { plainToClass, Type, Transform, Exclude, Expose, classToPlain } from 'class-transformer';
|
10
10
|
import { __decorate } from 'tslib';
|
11
11
|
import get from 'lodash/get';
|
@@ -1032,6 +1032,11 @@ var ChartAccountsListEnum;
|
|
1032
1032
|
ChartAccountsListEnum[ChartAccountsListEnum["PLATFORM_FEES"] = 857] = "PLATFORM_FEES";
|
1033
1033
|
ChartAccountsListEnum[ChartAccountsListEnum["AUSTRALIAN_GOVERNMENT_SPECIAL_PAYMENTS"] = 871] = "AUSTRALIAN_GOVERNMENT_SPECIAL_PAYMENTS";
|
1034
1034
|
ChartAccountsListEnum[ChartAccountsListEnum["FHSS"] = 872] = "FHSS";
|
1035
|
+
ChartAccountsListEnum[ChartAccountsListEnum["MOBILE_PHONE"] = 90] = "MOBILE_PHONE";
|
1036
|
+
ChartAccountsListEnum[ChartAccountsListEnum["INTERNET"] = 94] = "INTERNET";
|
1037
|
+
ChartAccountsListEnum[ChartAccountsListEnum["ELECTRICITY_AND_GAS"] = 234] = "ELECTRICITY_AND_GAS";
|
1038
|
+
ChartAccountsListEnum[ChartAccountsListEnum["TELEPHONE"] = 255] = "TELEPHONE";
|
1039
|
+
ChartAccountsListEnum[ChartAccountsListEnum["HOME_OFFICE_CLEANING"] = 11861] = "HOME_OFFICE_CLEANING";
|
1035
1040
|
})(ChartAccountsListEnum || (ChartAccountsListEnum = {}));
|
1036
1041
|
|
1037
1042
|
var BusinessChartAccountsEnum;
|
@@ -1071,6 +1076,15 @@ var BusinessChartAccountsEnum;
|
|
1071
1076
|
BusinessChartAccountsEnum[BusinessChartAccountsEnum["PAYG_INSTALLMENTS"] = 878] = "PAYG_INSTALLMENTS";
|
1072
1077
|
BusinessChartAccountsEnum[BusinessChartAccountsEnum["INTEREST_EARNED"] = 879] = "INTEREST_EARNED";
|
1073
1078
|
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_HOURS"] = 888] = "HOME_OFFICE_HOURS";
|
1079
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["ELECTRICITY_AND_GAS"] = 892] = "ELECTRICITY_AND_GAS";
|
1080
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_CLEANING"] = 893] = "HOME_OFFICE_CLEANING";
|
1081
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["INTERNET"] = 705] = "INTERNET";
|
1082
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["TELEPHONE"] = 11860] = "TELEPHONE";
|
1083
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["MOBILE_PHONE"] = 719] = "MOBILE_PHONE";
|
1084
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_RENT"] = 889] = "HOME_OFFICE_RENT";
|
1085
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_LOAN"] = 890] = "HOME_OFFICE_LOAN";
|
1086
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_RATES"] = 891] = "HOME_OFFICE_RATES";
|
1087
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_OTHER"] = 894] = "HOME_OFFICE_OTHER";
|
1074
1088
|
})(BusinessChartAccountsEnum || (BusinessChartAccountsEnum = {}));
|
1075
1089
|
|
1076
1090
|
var ChartAccountsMetaFieldListEnum;
|
@@ -1208,24 +1222,6 @@ var ChartAccountsPropertyAdjustmentsListEnum;
|
|
1208
1222
|
ChartAccountsPropertyAdjustmentsListEnum[ChartAccountsPropertyAdjustmentsListEnum["LANDLORD_REIMBURSEMENT"] = 908] = "LANDLORD_REIMBURSEMENT";
|
1209
1223
|
})(ChartAccountsPropertyAdjustmentsListEnum || (ChartAccountsPropertyAdjustmentsListEnum = {}));
|
1210
1224
|
|
1211
|
-
var HomeOfficeChartAccountsEnum;
|
1212
|
-
(function (HomeOfficeChartAccountsEnum) {
|
1213
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["MOBILE_PHONE"] = 90] = "MOBILE_PHONE";
|
1214
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["INTERNET"] = 94] = "INTERNET";
|
1215
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["ELECTRICITY_AND_GAS"] = 234] = "ELECTRICITY_AND_GAS";
|
1216
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["TELEPHONE"] = 255] = "TELEPHONE";
|
1217
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["HOME_OFFICE_CLEANING"] = 11861] = "HOME_OFFICE_CLEANING";
|
1218
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["BUSINESS_ELECTRICITY_AND_GAS"] = 892] = "BUSINESS_ELECTRICITY_AND_GAS";
|
1219
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["BUSINESS_HOME_OFFICE_CLEANING"] = 893] = "BUSINESS_HOME_OFFICE_CLEANING";
|
1220
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["BUSINESS_INTERNET"] = 705] = "BUSINESS_INTERNET";
|
1221
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["BUSINESS_TELEPHONE"] = 11860] = "BUSINESS_TELEPHONE";
|
1222
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["BUSINESS_MOBILE_PHONE"] = 719] = "BUSINESS_MOBILE_PHONE";
|
1223
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["HOME_OFFICE_RENT"] = 889] = "HOME_OFFICE_RENT";
|
1224
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["HOME_OFFICE_LOAN"] = 890] = "HOME_OFFICE_LOAN";
|
1225
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["HOME_OFFICE_RATES"] = 891] = "HOME_OFFICE_RATES";
|
1226
|
-
HomeOfficeChartAccountsEnum[HomeOfficeChartAccountsEnum["HOME_OFFICE_OTHER"] = 894] = "HOME_OFFICE_OTHER";
|
1227
|
-
})(HomeOfficeChartAccountsEnum || (HomeOfficeChartAccountsEnum = {}));
|
1228
|
-
|
1229
1225
|
var DocumentTypeEnum;
|
1230
1226
|
(function (DocumentTypeEnum) {
|
1231
1227
|
DocumentTypeEnum[DocumentTypeEnum["INVOICE"] = 1] = "INVOICE";
|
@@ -3277,6 +3273,22 @@ class ChartAccounts extends ChartAccounts$1 {
|
|
3277
3273
|
BusinessChartAccountsEnum.HOME_OFFICE_HOURS,
|
3278
3274
|
BusinessChartAccountsEnum.KMS_TRAVELLED,
|
3279
3275
|
]; }
|
3276
|
+
static { this.homeOfficeList = [
|
3277
|
+
ChartAccountsListEnum.MOBILE_PHONE,
|
3278
|
+
ChartAccountsListEnum.INTERNET,
|
3279
|
+
ChartAccountsListEnum.ELECTRICITY_AND_GAS,
|
3280
|
+
ChartAccountsListEnum.TELEPHONE,
|
3281
|
+
ChartAccountsListEnum.HOME_OFFICE_CLEANING,
|
3282
|
+
BusinessChartAccountsEnum.ELECTRICITY_AND_GAS,
|
3283
|
+
BusinessChartAccountsEnum.HOME_OFFICE_CLEANING,
|
3284
|
+
BusinessChartAccountsEnum.INTERNET,
|
3285
|
+
BusinessChartAccountsEnum.TELEPHONE,
|
3286
|
+
BusinessChartAccountsEnum.MOBILE_PHONE,
|
3287
|
+
BusinessChartAccountsEnum.HOME_OFFICE_RENT,
|
3288
|
+
BusinessChartAccountsEnum.HOME_OFFICE_LOAN,
|
3289
|
+
BusinessChartAccountsEnum.HOME_OFFICE_RATES,
|
3290
|
+
BusinessChartAccountsEnum.HOME_OFFICE_OTHER,
|
3291
|
+
]; }
|
3280
3292
|
/**
|
3281
3293
|
* Return name as string
|
3282
3294
|
*/
|
@@ -3481,6 +3493,9 @@ class ChartAccounts extends ChartAccounts$1 {
|
|
3481
3493
|
isDividends() {
|
3482
3494
|
return this.id === ChartAccountsListEnum.DIVIDENDS;
|
3483
3495
|
}
|
3496
|
+
isHomeOfficeExpense() {
|
3497
|
+
return ChartAccounts.homeOfficeList.includes(this.id);
|
3498
|
+
}
|
3484
3499
|
isHomeOfficeWorkHours() {
|
3485
3500
|
return this.id === ChartAccountsListEnum.HOME_OFFICE_HOURS;
|
3486
3501
|
}
|
@@ -6471,6 +6486,9 @@ __decorate([
|
|
6471
6486
|
__decorate([
|
6472
6487
|
Type(() => SoleInvoiceItem)
|
6473
6488
|
], Transaction.prototype, "invoiceItem", void 0);
|
6489
|
+
__decorate([
|
6490
|
+
Type(() => SoleBusiness)
|
6491
|
+
], Transaction.prototype, "business", void 0);
|
6474
6492
|
__decorate([
|
6475
6493
|
Transform(({ value }) => +value)
|
6476
6494
|
], Transaction.prototype, "tax", void 0);
|
@@ -9549,6 +9567,12 @@ class ChartAccountsValueCollection extends Collection {
|
|
9549
9567
|
}
|
9550
9568
|
}
|
9551
9569
|
|
9570
|
+
class HomeOfficeClaimCollection extends Collection {
|
9571
|
+
findByBusiness(business) {
|
9572
|
+
return business ? this.findBy('business.id', business.id) : this.findBy('business', null);
|
9573
|
+
}
|
9574
|
+
}
|
9575
|
+
|
9552
9576
|
// @TODO Alex move here all collections
|
9553
9577
|
|
9554
9578
|
class Loan extends Loan$1 {
|
@@ -10218,7 +10242,7 @@ __decorate([
|
|
10218
10242
|
* List of objects grouped by passed property
|
10219
10243
|
*/
|
10220
10244
|
class Dictionary {
|
10221
|
-
constructor(items, path = 'id') {
|
10245
|
+
constructor(items = [], path = 'id') {
|
10222
10246
|
this.items = {};
|
10223
10247
|
if (!items.length) {
|
10224
10248
|
return;
|
@@ -10227,6 +10251,7 @@ class Dictionary {
|
|
10227
10251
|
}
|
10228
10252
|
add(key, value) {
|
10229
10253
|
this.items[key] = value;
|
10254
|
+
return this;
|
10230
10255
|
}
|
10231
10256
|
get(key) {
|
10232
10257
|
return this.items[key] !== undefined ? this.items[key] : null;
|
@@ -10700,15 +10725,35 @@ __decorate([
|
|
10700
10725
|
], TaxReturn.prototype, "taxReturnItems", void 0);
|
10701
10726
|
|
10702
10727
|
class HomeOfficeClaim extends ObservableModel {
|
10728
|
+
constructor() {
|
10729
|
+
super(...arguments);
|
10730
|
+
this.hours = 0;
|
10731
|
+
this.electricityAndGas = 0;
|
10732
|
+
this.cleaning = 0;
|
10733
|
+
this.internet = 0;
|
10734
|
+
this.telephone = 0;
|
10735
|
+
this.mobile = 0;
|
10736
|
+
this.officePercent = 0;
|
10737
|
+
}
|
10703
10738
|
static { this.className = 'HomeOfficeClaim'; }
|
10704
|
-
|
10705
|
-
return
|
10706
|
-
|
10707
|
-
|
10708
|
-
|
10709
|
-
|
10710
|
-
|
10711
|
-
|
10739
|
+
getChartAccountsList() {
|
10740
|
+
return this.business ? BusinessChartAccountsEnum : ChartAccountsListEnum;
|
10741
|
+
}
|
10742
|
+
getChartAccountsClaims() {
|
10743
|
+
const claims = new Dictionary([]);
|
10744
|
+
const list = this.getChartAccountsList();
|
10745
|
+
claims.add(list.ELECTRICITY_AND_GAS, this.electricityAndGas)
|
10746
|
+
.add(list.HOME_OFFICE_CLEANING, this.cleaning)
|
10747
|
+
.add(list.INTERNET, this.internet)
|
10748
|
+
.add(list.TELEPHONE, this.telephone)
|
10749
|
+
.add(list.MOBILE_PHONE, this.mobile);
|
10750
|
+
if (this.method === HomeOfficeClaimMethodEnum.OCCUPANCY) {
|
10751
|
+
claims.add(BusinessChartAccountsEnum.HOME_OFFICE_RENT, this.officePercent);
|
10752
|
+
claims.add(BusinessChartAccountsEnum.HOME_OFFICE_LOAN, this.officePercent);
|
10753
|
+
claims.add(BusinessChartAccountsEnum.HOME_OFFICE_RATES, this.officePercent);
|
10754
|
+
claims.add(BusinessChartAccountsEnum.HOME_OFFICE_OTHER, this.officePercent);
|
10755
|
+
}
|
10756
|
+
return claims;
|
10712
10757
|
}
|
10713
10758
|
}
|
10714
10759
|
__decorate([
|
@@ -11044,7 +11089,7 @@ class DataService {
|
|
11044
11089
|
* never return cache directly to prevent update
|
11045
11090
|
*/
|
11046
11091
|
getCacheFirst() {
|
11047
|
-
return
|
11092
|
+
return this.getCache()?.first;
|
11048
11093
|
}
|
11049
11094
|
/**
|
11050
11095
|
* @TODO vik any[] because of problems with base models extending abstractModel
|
@@ -11134,6 +11179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
11134
11179
|
}] });
|
11135
11180
|
|
11136
11181
|
/**
|
11182
|
+
* @TODO refactor to behavior subject?
|
11137
11183
|
* Abstract base service that implements common services functionality
|
11138
11184
|
* and describe abstract methods/properties that have to be implemented in child services
|
11139
11185
|
* Model - entity service is working with
|
@@ -11185,7 +11231,7 @@ let RestService$1 = class RestService extends DataService {
|
|
11185
11231
|
* perform a shallow copy of the emitted data to make it immutable
|
11186
11232
|
*/
|
11187
11233
|
getCacheSubjectObservable() {
|
11188
|
-
return this.cacheSubject.asObservable().pipe(map((cache) =>
|
11234
|
+
return this.cacheSubject.asObservable().pipe(map((cache) => cloneDeep$1(cache)));
|
11189
11235
|
}
|
11190
11236
|
/**
|
11191
11237
|
* Get data from backend and fill the cache
|
@@ -11202,6 +11248,9 @@ let RestService$1 = class RestService extends DataService {
|
|
11202
11248
|
.pipe(map((response) => Array.isArray(response) ? response : toArray(response)), map((response) => {
|
11203
11249
|
this.setCache(response, true);
|
11204
11250
|
return this.cache;
|
11251
|
+
}), catchError(() => {
|
11252
|
+
this.toastService.error('An error occurred while fetching data');
|
11253
|
+
return of(this.cache);
|
11205
11254
|
}));
|
11206
11255
|
}
|
11207
11256
|
get(path = this.apiUrl) {
|
@@ -11238,6 +11287,9 @@ let RestService$1 = class RestService extends DataService {
|
|
11238
11287
|
this.handleResponse([result], 'post');
|
11239
11288
|
}
|
11240
11289
|
return result;
|
11290
|
+
}), catchError(() => {
|
11291
|
+
this.toastService.error('An error occurred while posting data');
|
11292
|
+
return of(null);
|
11241
11293
|
}));
|
11242
11294
|
}
|
11243
11295
|
/**
|
@@ -11252,6 +11304,9 @@ let RestService$1 = class RestService extends DataService {
|
|
11252
11304
|
this.handleResponse(result, 'post');
|
11253
11305
|
}
|
11254
11306
|
return result;
|
11307
|
+
}), catchError(() => {
|
11308
|
+
this.toastService.error('An error occurred while posting data');
|
11309
|
+
return of([]);
|
11255
11310
|
}));
|
11256
11311
|
}
|
11257
11312
|
/**
|
@@ -11266,6 +11321,9 @@ let RestService$1 = class RestService extends DataService {
|
|
11266
11321
|
this.handleResponse([result], 'put');
|
11267
11322
|
}
|
11268
11323
|
return result;
|
11324
|
+
}), catchError(() => {
|
11325
|
+
this.toastService.error('An error occurred while put data');
|
11326
|
+
return of(null);
|
11269
11327
|
}));
|
11270
11328
|
}
|
11271
11329
|
/**
|
@@ -11292,6 +11350,9 @@ let RestService$1 = class RestService extends DataService {
|
|
11292
11350
|
if (!this.mercureTopic) {
|
11293
11351
|
this.handleResponse([model], 'delete');
|
11294
11352
|
}
|
11353
|
+
}), catchError(() => {
|
11354
|
+
this.toastService.error('An error occurred while deleting data');
|
11355
|
+
return of(null);
|
11295
11356
|
}));
|
11296
11357
|
}
|
11297
11358
|
/**
|
@@ -11304,6 +11365,9 @@ let RestService$1 = class RestService extends DataService {
|
|
11304
11365
|
if (!this.mercureTopic) {
|
11305
11366
|
this.handleResponse(models, 'delete');
|
11306
11367
|
}
|
11368
|
+
}), catchError(() => {
|
11369
|
+
this.toastService.error('An error occurred while deleting data');
|
11370
|
+
return of(null);
|
11307
11371
|
}));
|
11308
11372
|
}
|
11309
11373
|
/**
|
@@ -13206,6 +13270,12 @@ class RestService {
|
|
13206
13270
|
createModelInstance(model) {
|
13207
13271
|
return plainToClass(this.modelClass, model);
|
13208
13272
|
}
|
13273
|
+
/**
|
13274
|
+
* never return cache directly to prevent update
|
13275
|
+
*/
|
13276
|
+
getCache() {
|
13277
|
+
return clone(this.cache);
|
13278
|
+
}
|
13209
13279
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
13210
13280
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RestService, providedIn: 'root' }); }
|
13211
13281
|
}
|
@@ -16358,7 +16428,7 @@ class HomeOfficeClaimService extends RestService$1 {
|
|
16358
16428
|
super(...arguments);
|
16359
16429
|
this.endpointUri = 'home-office-claims';
|
16360
16430
|
this.modelClass = HomeOfficeClaim;
|
16361
|
-
this.collectionClass =
|
16431
|
+
this.collectionClass = HomeOfficeClaimCollection;
|
16362
16432
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
16363
16433
|
}
|
16364
16434
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HomeOfficeClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
@@ -19946,6 +20016,10 @@ const ENDPOINTS = {
|
|
19946
20016
|
HOME_OFFICE_CLAIM_GET: new Endpoint('GET', '\\/home-office-claims'),
|
19947
20017
|
HOME_OFFICE_CLAIM_POST: new Endpoint('POST', '\\/home-office-claims'),
|
19948
20018
|
HOME_OFFICE_CLAIM_PUT: new Endpoint('PUT', '\\/home-office-claims\\/\\d+'),
|
20019
|
+
HOME_OFFICE_LOG_GET: new Endpoint('GET', '\\/home-office-logs'),
|
20020
|
+
HOME_OFFICE_LOG_POST: new Endpoint('POST', '\\/home-office-logs'),
|
20021
|
+
HOME_OFFICE_LOG_PUT: new Endpoint('PUT', '\\/home-office-logs\\/\\d+'),
|
20022
|
+
HOME_OFFICE_LOG_DELETE: new Endpoint('DELETE', '\\/home-office-logs\\/\\d+'),
|
19949
20023
|
VEHICLE_LOGBOOKS_GET: new Endpoint('GET', '\\/vehicles\\/logbooks'),
|
19950
20024
|
VEHICLE_LOGBOOKS_POST: new Endpoint('POST', '\\/vehicles\\/logbooks'),
|
19951
20025
|
VEHICLE_LOGBOOKS_PUT: new Endpoint('PUT', '\\/vehicles\\/logbooks\\/\\d+'),
|
@@ -20647,8 +20721,8 @@ class AbstractForm extends FormGroup {
|
|
20647
20721
|
get currentValue() {
|
20648
20722
|
return this.createModelInstance(Object.assign({}, this.model, this.getRawValue()));
|
20649
20723
|
}
|
20650
|
-
toggleEnabledState() {
|
20651
|
-
|
20724
|
+
toggleEnabledState(control) {
|
20725
|
+
control.enabled ? control.disable() : control.enable();
|
20652
20726
|
}
|
20653
20727
|
/**
|
20654
20728
|
* Check validation and return a new instance of generic model.
|
@@ -21280,7 +21354,8 @@ function fieldsSumValidator(field, summary = 100, fieldAlias) {
|
|
21280
21354
|
function currentFinYearValidator() {
|
21281
21355
|
const currentFinYear = new FinancialYear();
|
21282
21356
|
return (control) => {
|
21283
|
-
|
21357
|
+
const date = new Date(control.value);
|
21358
|
+
if (!control.value || date >= currentFinYear.startDate && date <= currentFinYear.endDate) {
|
21284
21359
|
return null;
|
21285
21360
|
}
|
21286
21361
|
return { notCurrentFinYear: true };
|
@@ -24053,8 +24128,9 @@ class WorkIncomeForm extends WorkTransactionForm {
|
|
24053
24128
|
}
|
24054
24129
|
|
24055
24130
|
class WorkExpenseForm extends WorkTransactionForm {
|
24056
|
-
constructor(transaction, registeredForGst, allocations, controls = {}) {
|
24131
|
+
constructor(transaction, registeredForGst, allocations, homeOfficeClaim, controls = {}) {
|
24057
24132
|
super(transaction, registeredForGst, allocations, controls);
|
24133
|
+
this.homeOfficeClaim = homeOfficeClaim;
|
24058
24134
|
// amount set automatically for chartAccounts with hours meta field
|
24059
24135
|
if (transaction.getMetaFieldValue(ChartAccountsMetaFieldListEnum.HOURS)) {
|
24060
24136
|
this.get('amount').disable();
|
@@ -24063,6 +24139,7 @@ class WorkExpenseForm extends WorkTransactionForm {
|
|
24063
24139
|
}
|
24064
24140
|
listenEvents() {
|
24065
24141
|
this.watchChartAccountsMetaFields();
|
24142
|
+
this.watchChartAccounts();
|
24066
24143
|
}
|
24067
24144
|
watchChartAccountsMetaFields() {
|
24068
24145
|
this.get('metaFields').valueChanges.subscribe((metaFields) => {
|
@@ -24080,6 +24157,17 @@ class WorkExpenseForm extends WorkTransactionForm {
|
|
24080
24157
|
this.get('amountWithGST').setValue(amount);
|
24081
24158
|
});
|
24082
24159
|
}
|
24160
|
+
watchChartAccounts() {
|
24161
|
+
super.watchChartAccounts();
|
24162
|
+
this.get('chartAccounts').valueChanges.subscribe((chartAccounts) => {
|
24163
|
+
if (!chartAccounts.isHomeOfficeExpense() || !this.homeOfficeClaim) {
|
24164
|
+
return;
|
24165
|
+
}
|
24166
|
+
const claims = this.homeOfficeClaim.getChartAccountsClaims();
|
24167
|
+
this.get('claimPercent').patchValue(claims.get(chartAccounts.id));
|
24168
|
+
this.get('claimPercent').disable();
|
24169
|
+
});
|
24170
|
+
}
|
24083
24171
|
}
|
24084
24172
|
|
24085
24173
|
class HoldingIncomeForm extends WorkTransactionForm {
|
@@ -24508,7 +24596,7 @@ class HomeOfficeClaimForm extends AbstractForm {
|
|
24508
24596
|
internet: new FormControl(claim.internet, [Validators.required, Validators.min(0), Validators.max(100)]),
|
24509
24597
|
telephone: new FormControl(claim.telephone, [Validators.required, Validators.min(0), Validators.max(100)]),
|
24510
24598
|
mobile: new FormControl(claim.mobile, [Validators.required, Validators.min(0), Validators.max(100)]),
|
24511
|
-
|
24599
|
+
officePercent: new FormControl(claim.officePercent, [Validators.required, Validators.min(0), Validators.max(100)]),
|
24512
24600
|
}, claim);
|
24513
24601
|
this.listenEvents();
|
24514
24602
|
this.switchMethod(claim.method);
|
@@ -24536,7 +24624,7 @@ class HomeOfficeClaimForm extends AbstractForm {
|
|
24536
24624
|
return [this.controls.electricityAndGas, this.controls.cleaning, this.controls.internet, this.controls.telephone, this.controls.mobile];
|
24537
24625
|
}
|
24538
24626
|
get occupancyControls() {
|
24539
|
-
return [...this.actualControls, this.controls.
|
24627
|
+
return [...this.actualControls, this.controls.officePercent];
|
24540
24628
|
}
|
24541
24629
|
}
|
24542
24630
|
|
@@ -24550,6 +24638,26 @@ class HomeOfficeLogForm extends AbstractForm {
|
|
24550
24638
|
}
|
24551
24639
|
}
|
24552
24640
|
|
24641
|
+
class HomeOfficeCalculatorForm extends AbstractForm {
|
24642
|
+
constructor(claim = plainToClass(HomeOfficeClaim, {})) {
|
24643
|
+
super({
|
24644
|
+
homeArea: new FormControl(claim.homeArea, [Validators.required]),
|
24645
|
+
officeArea: new FormControl({ value: claim.officeArea, disabled: !!claim.dedicatedOffice }, [Validators.required]),
|
24646
|
+
dedicatedOffice: new FormControl(claim.dedicatedOffice, [Validators.required]),
|
24647
|
+
}, claim);
|
24648
|
+
this.listenEvents();
|
24649
|
+
}
|
24650
|
+
listenEvents() {
|
24651
|
+
this.get('dedicatedOffice').valueChanges.subscribe(() => {
|
24652
|
+
this.toggleEnabledState(this.get('officeArea'));
|
24653
|
+
});
|
24654
|
+
}
|
24655
|
+
submit() {
|
24656
|
+
const officePercent = this.value.dedicatedOffice ? 100 : round(this.value.officeArea * 100 / this.value.homeArea, 2);
|
24657
|
+
return super.submit({ officePercent });
|
24658
|
+
}
|
24659
|
+
}
|
24660
|
+
|
24553
24661
|
var MessagesEnum;
|
24554
24662
|
(function (MessagesEnum) {
|
24555
24663
|
MessagesEnum["HOLDING_CREATED"] = "Holding created";
|
@@ -24575,5 +24683,5 @@ var MessagesEnum;
|
|
24575
24683
|
* Generated bundle index. Do not edit.
|
24576
24684
|
*/
|
24577
24685
|
|
24578
|
-
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessChartAccountsEnum, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueCollection, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingImport, HoldingImportForm, HoldingImportMessagesEnum, HoldingImportService, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeChartAccountsEnum, HomeOfficeClaim, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, alphaSpaceValidator, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
|
24686
|
+
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessChartAccountsEnum, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueCollection, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingImport, HoldingImportForm, HoldingImportMessagesEnum, HoldingImportService, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, alphaSpaceValidator, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
|
24579
24687
|
//# sourceMappingURL=taxtank-core.mjs.map
|