taxtank-core 2.0.38 → 2.0.39
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/README.md +5 -5
- package/fesm2022/taxtank-core-common.mjs +20 -20
- package/fesm2022/taxtank-core-common.mjs.map +1 -1
- package/fesm2022/taxtank-core.mjs +611 -621
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +14 -16
- package/package.json +1 -1
- package/index.d.ts.map +0 -1
|
@@ -100,10 +100,10 @@ class AddressService {
|
|
|
100
100
|
}
|
|
101
101
|
return this.countriesSubject.asObservable();
|
|
102
102
|
}
|
|
103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
104
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
104
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AddressService, providedIn: 'root' }); }
|
|
105
105
|
}
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AddressService, decorators: [{
|
|
107
107
|
type: Injectable,
|
|
108
108
|
args: [{
|
|
109
109
|
providedIn: 'root'
|
|
@@ -127,10 +127,10 @@ class PdfService {
|
|
|
127
127
|
formData.append('landscape', landscape ? '1' : '0');
|
|
128
128
|
return this.http.post(`${this.environment.apiV2}/pdf/html`, formData, { responseType: 'blob' });
|
|
129
129
|
}
|
|
130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
131
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
131
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfService, providedIn: 'root' }); }
|
|
132
132
|
}
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfService, decorators: [{
|
|
134
134
|
type: Injectable,
|
|
135
135
|
args: [{
|
|
136
136
|
providedIn: 'root'
|
|
@@ -9291,27 +9291,15 @@ class DocumentFolderCollection extends Collection {
|
|
|
9291
9291
|
}
|
|
9292
9292
|
}
|
|
9293
9293
|
|
|
9294
|
+
class BudgetCollection extends Collection {
|
|
9295
|
+
}
|
|
9296
|
+
|
|
9294
9297
|
class BudgetRuleCollection extends Collection {
|
|
9295
9298
|
get expenses() {
|
|
9296
9299
|
return this.filter(rule => rule.chartAccounts.isExpense());
|
|
9297
9300
|
}
|
|
9298
9301
|
get incomes() {
|
|
9299
|
-
return this.filter(rule => rule.chartAccounts.
|
|
9300
|
-
}
|
|
9301
|
-
}
|
|
9302
|
-
|
|
9303
|
-
class BudgetCollection extends Collection {
|
|
9304
|
-
get chartAccountsIds() {
|
|
9305
|
-
return this.mapBy('chartAccountsIds').flat();
|
|
9306
|
-
}
|
|
9307
|
-
get rules() {
|
|
9308
|
-
return new BudgetRuleCollection(this.mapBy('rules').flat());
|
|
9309
|
-
}
|
|
9310
|
-
get expense() {
|
|
9311
|
-
return this.findBy('type', BudgetTypeEnum.EXPENSE);
|
|
9312
|
-
}
|
|
9313
|
-
get income() {
|
|
9314
|
-
return this.findBy('type', BudgetTypeEnum.INCOME);
|
|
9302
|
+
return this.filter(rule => rule.chartAccounts.isIncome());
|
|
9315
9303
|
}
|
|
9316
9304
|
}
|
|
9317
9305
|
|
|
@@ -11361,8 +11349,8 @@ var SharesightPortfolioMessages;
|
|
|
11361
11349
|
class BudgetRule extends BudgetRule$1 {
|
|
11362
11350
|
constructor() {
|
|
11363
11351
|
super(...arguments);
|
|
11352
|
+
this.startDate = new Date();
|
|
11364
11353
|
this.inCalendar = false;
|
|
11365
|
-
this.frequency = DailyFrequencyEnum.MONTHLY;
|
|
11366
11354
|
}
|
|
11367
11355
|
}
|
|
11368
11356
|
__decorate([
|
|
@@ -11415,17 +11403,12 @@ var YoutubeVideosEnum;
|
|
|
11415
11403
|
})(YoutubeVideosEnum || (YoutubeVideosEnum = {}));
|
|
11416
11404
|
|
|
11417
11405
|
class Budget extends Budget$1 {
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
get amount() {
|
|
11422
|
-
return this.rulesCollection.sumBy('amount');
|
|
11423
|
-
}
|
|
11424
|
-
get chartAccountsIds() {
|
|
11425
|
-
return this.rulesCollection.mapBy('chartAccounts.id');
|
|
11406
|
+
constructor() {
|
|
11407
|
+
super(...arguments);
|
|
11408
|
+
this.financialYear = new FinancialYear().year;
|
|
11426
11409
|
}
|
|
11427
|
-
getMetadata() {
|
|
11428
|
-
return
|
|
11410
|
+
getMetadata(isIncome) {
|
|
11411
|
+
return isIncome ? {
|
|
11429
11412
|
name: 'Income',
|
|
11430
11413
|
thumbnail: 'income-budget.png',
|
|
11431
11414
|
videoId: YoutubeVideosEnum.BUDGET_INCOME,
|
|
@@ -11439,11 +11422,14 @@ class Budget extends Budget$1 {
|
|
|
11439
11422
|
categories: EXPENSE_CATEGORY_BY_TYPE,
|
|
11440
11423
|
};
|
|
11441
11424
|
}
|
|
11442
|
-
|
|
11443
|
-
|
|
11425
|
+
/**
|
|
11426
|
+
* @TODO TT-4522 remove after release
|
|
11427
|
+
*/
|
|
11428
|
+
get rulesCollection() {
|
|
11429
|
+
return new BudgetRuleCollection(this.rules);
|
|
11444
11430
|
}
|
|
11445
|
-
|
|
11446
|
-
return this.
|
|
11431
|
+
get amount() {
|
|
11432
|
+
return this.rulesCollection.sumBy('amount');
|
|
11447
11433
|
}
|
|
11448
11434
|
}
|
|
11449
11435
|
__decorate([
|
|
@@ -11704,10 +11690,10 @@ class EventDispatcherService {
|
|
|
11704
11690
|
dispatch2(event) {
|
|
11705
11691
|
this.eventSubject2.next(event);
|
|
11706
11692
|
}
|
|
11707
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
11708
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
11693
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11694
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EventDispatcherService, providedIn: 'root' }); }
|
|
11709
11695
|
}
|
|
11710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
11696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EventDispatcherService, decorators: [{
|
|
11711
11697
|
type: Injectable,
|
|
11712
11698
|
args: [{
|
|
11713
11699
|
providedIn: 'root'
|
|
@@ -11742,10 +11728,10 @@ class SseService {
|
|
|
11742
11728
|
})
|
|
11743
11729
|
.pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
|
|
11744
11730
|
}
|
|
11745
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
11746
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
11731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: i3.JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11732
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SseService, providedIn: 'root' }); }
|
|
11747
11733
|
}
|
|
11748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
11734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SseService, decorators: [{
|
|
11749
11735
|
type: Injectable,
|
|
11750
11736
|
args: [{
|
|
11751
11737
|
providedIn: 'root'
|
|
@@ -11833,10 +11819,10 @@ class DataService {
|
|
|
11833
11819
|
setCache(data) {
|
|
11834
11820
|
this.cache = this.createCollectionInstance(this.collectionClass, data);
|
|
11835
11821
|
}
|
|
11836
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
11837
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
11822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11823
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DataService, providedIn: 'root' }); }
|
|
11838
11824
|
}
|
|
11839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
11825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DataService, decorators: [{
|
|
11840
11826
|
type: Injectable,
|
|
11841
11827
|
args: [{
|
|
11842
11828
|
providedIn: 'root'
|
|
@@ -11904,10 +11890,10 @@ class ToastService {
|
|
|
11904
11890
|
message,
|
|
11905
11891
|
}));
|
|
11906
11892
|
}
|
|
11907
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
11908
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
11893
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11894
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ToastService, providedIn: 'root' }); }
|
|
11909
11895
|
}
|
|
11910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
11896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ToastService, decorators: [{
|
|
11911
11897
|
type: Injectable,
|
|
11912
11898
|
args: [{
|
|
11913
11899
|
providedIn: 'root'
|
|
@@ -12274,10 +12260,10 @@ let RestService$1 = class RestService extends DataService {
|
|
|
12274
12260
|
this.handleResponse([change.model], change.method);
|
|
12275
12261
|
});
|
|
12276
12262
|
}
|
|
12277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12278
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12263
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12264
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, providedIn: 'root' }); }
|
|
12279
12265
|
};
|
|
12280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService$1, decorators: [{
|
|
12281
12267
|
type: Injectable,
|
|
12282
12268
|
args: [{
|
|
12283
12269
|
providedIn: 'root'
|
|
@@ -12417,10 +12403,10 @@ class BankAccountService extends RestService$1 {
|
|
|
12417
12403
|
}
|
|
12418
12404
|
});
|
|
12419
12405
|
}
|
|
12420
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12421
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12407
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountService, providedIn: 'root' }); }
|
|
12422
12408
|
}
|
|
12423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountService, decorators: [{
|
|
12424
12410
|
type: Injectable,
|
|
12425
12411
|
args: [{
|
|
12426
12412
|
providedIn: 'root'
|
|
@@ -12525,10 +12511,10 @@ class BankConnectionService extends RestService$1 {
|
|
|
12525
12511
|
}
|
|
12526
12512
|
});
|
|
12527
12513
|
}
|
|
12528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12529
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12514
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankConnectionService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12515
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankConnectionService, providedIn: 'root' }); }
|
|
12530
12516
|
}
|
|
12531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankConnectionService, decorators: [{
|
|
12532
12518
|
type: Injectable,
|
|
12533
12519
|
args: [{
|
|
12534
12520
|
providedIn: 'root'
|
|
@@ -12594,10 +12580,10 @@ class BankTransactionService extends RestService$1 {
|
|
|
12594
12580
|
}
|
|
12595
12581
|
});
|
|
12596
12582
|
}
|
|
12597
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12598
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12583
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12584
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionService, providedIn: 'root' }); }
|
|
12599
12585
|
}
|
|
12600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionService, decorators: [{
|
|
12601
12587
|
type: Injectable,
|
|
12602
12588
|
args: [{
|
|
12603
12589
|
providedIn: 'root'
|
|
@@ -12631,10 +12617,10 @@ class BasiqTokenService extends RestService$1 {
|
|
|
12631
12617
|
const now = new Date().getTime();
|
|
12632
12618
|
return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
|
|
12633
12619
|
}
|
|
12634
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12635
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12620
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12621
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenService, providedIn: 'root' }); }
|
|
12636
12622
|
}
|
|
12637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenService, decorators: [{
|
|
12638
12624
|
type: Injectable,
|
|
12639
12625
|
args: [{
|
|
12640
12626
|
providedIn: 'root'
|
|
@@ -12776,10 +12762,10 @@ class BasiqService extends RestService$1 {
|
|
|
12776
12762
|
}
|
|
12777
12763
|
});
|
|
12778
12764
|
}
|
|
12779
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12780
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12765
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12766
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqService, providedIn: 'root' }); }
|
|
12781
12767
|
}
|
|
12782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqService, decorators: [{
|
|
12783
12769
|
type: Injectable,
|
|
12784
12770
|
args: [{
|
|
12785
12771
|
providedIn: 'root'
|
|
@@ -12807,10 +12793,10 @@ class BankTransactionCommentService extends RestService$1 {
|
|
|
12807
12793
|
this.endpointUri = 'bank-transaction-comments';
|
|
12808
12794
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
12809
12795
|
}
|
|
12810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12811
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12796
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionCommentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12797
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionCommentService, providedIn: 'root' }); }
|
|
12812
12798
|
}
|
|
12813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionCommentService, decorators: [{
|
|
12814
12800
|
type: Injectable,
|
|
12815
12801
|
args: [{
|
|
12816
12802
|
providedIn: 'root'
|
|
@@ -12836,10 +12822,10 @@ class BankService extends RestService$1 {
|
|
|
12836
12822
|
this.endpointUri = 'banks';
|
|
12837
12823
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
12838
12824
|
}
|
|
12839
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12840
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12825
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12826
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankService, providedIn: 'root' }); }
|
|
12841
12827
|
}
|
|
12842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankService, decorators: [{
|
|
12843
12829
|
type: Injectable,
|
|
12844
12830
|
args: [{
|
|
12845
12831
|
providedIn: 'root'
|
|
@@ -12854,10 +12840,10 @@ class BudgetService extends RestService$1 {
|
|
|
12854
12840
|
this.endpointUri = 'budgets';
|
|
12855
12841
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
12856
12842
|
}
|
|
12857
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12858
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12843
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12844
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetService, providedIn: 'root' }); }
|
|
12859
12845
|
}
|
|
12860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetService, decorators: [{
|
|
12861
12847
|
type: Injectable,
|
|
12862
12848
|
args: [{
|
|
12863
12849
|
providedIn: 'root'
|
|
@@ -12880,10 +12866,10 @@ class BudgetRuleService extends RestService$1 {
|
|
|
12880
12866
|
this.endpointUri = 'budget-rules';
|
|
12881
12867
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
12882
12868
|
}
|
|
12883
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12884
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12870
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetRuleService, providedIn: 'root' }); }
|
|
12885
12871
|
}
|
|
12886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetRuleService, decorators: [{
|
|
12887
12873
|
type: Injectable,
|
|
12888
12874
|
args: [{
|
|
12889
12875
|
providedIn: 'root'
|
|
@@ -12898,10 +12884,10 @@ class FinancialGoalService extends RestService$1 {
|
|
|
12898
12884
|
this.endpointUri = 'financial-goals';
|
|
12899
12885
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
12900
12886
|
}
|
|
12901
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12902
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12887
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialGoalService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12888
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialGoalService, providedIn: 'root' }); }
|
|
12903
12889
|
}
|
|
12904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialGoalService, decorators: [{
|
|
12905
12891
|
type: Injectable,
|
|
12906
12892
|
args: [{
|
|
12907
12893
|
providedIn: 'root'
|
|
@@ -12919,10 +12905,10 @@ class ChartAccountsDepreciationService extends RestService$1 {
|
|
|
12919
12905
|
this.collectionClass = Collection;
|
|
12920
12906
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
12921
12907
|
}
|
|
12922
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12923
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12908
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12909
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' }); }
|
|
12924
12910
|
}
|
|
12925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
|
|
12926
12912
|
type: Injectable,
|
|
12927
12913
|
args: [{
|
|
12928
12914
|
providedIn: 'root'
|
|
@@ -12961,10 +12947,10 @@ class ChartAccountsService extends RestService$1 {
|
|
|
12961
12947
|
return headings;
|
|
12962
12948
|
}));
|
|
12963
12949
|
}
|
|
12964
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
12965
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
12950
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12951
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsService, providedIn: 'root' }); }
|
|
12966
12952
|
}
|
|
12967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
12953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsService, decorators: [{
|
|
12968
12954
|
type: Injectable,
|
|
12969
12955
|
args: [{
|
|
12970
12956
|
providedIn: 'root'
|
|
@@ -13048,10 +13034,10 @@ class ChatService extends RestService$1 {
|
|
|
13048
13034
|
this.setCache(cache, true);
|
|
13049
13035
|
}, ['post']);
|
|
13050
13036
|
}
|
|
13051
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13052
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13037
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChatService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13038
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChatService, providedIn: 'root' }); }
|
|
13053
13039
|
}
|
|
13054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChatService, decorators: [{
|
|
13055
13041
|
type: Injectable,
|
|
13056
13042
|
args: [{
|
|
13057
13043
|
providedIn: 'root'
|
|
@@ -13081,10 +13067,10 @@ class MessageService extends RestService$1 {
|
|
|
13081
13067
|
getUnreadChatsAmount() {
|
|
13082
13068
|
return this.get().pipe(map((messages) => messages.getUnreadChatsAmount()));
|
|
13083
13069
|
}
|
|
13084
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13085
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13070
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13071
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageService, providedIn: 'root' }); }
|
|
13086
13072
|
}
|
|
13087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageService, decorators: [{
|
|
13088
13074
|
type: Injectable,
|
|
13089
13075
|
args: [{
|
|
13090
13076
|
providedIn: 'root'
|
|
@@ -13153,10 +13139,10 @@ class MessageDocumentService extends RestService$1 {
|
|
|
13153
13139
|
addBatch(chatId, files) {
|
|
13154
13140
|
return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
|
|
13155
13141
|
}
|
|
13156
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13157
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageDocumentService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13143
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageDocumentService, providedIn: 'root' }); }
|
|
13158
13144
|
}
|
|
13159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageDocumentService, decorators: [{
|
|
13160
13146
|
type: Injectable,
|
|
13161
13147
|
args: [{
|
|
13162
13148
|
providedIn: 'root'
|
|
@@ -13251,10 +13237,10 @@ class DepreciationService extends RestService$1 {
|
|
|
13251
13237
|
this.refreshCache();
|
|
13252
13238
|
});
|
|
13253
13239
|
}
|
|
13254
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13255
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13241
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationService, providedIn: 'root' }); }
|
|
13256
13242
|
}
|
|
13257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationService, decorators: [{
|
|
13258
13244
|
type: Injectable,
|
|
13259
13245
|
args: [{
|
|
13260
13246
|
providedIn: 'root'
|
|
@@ -13276,10 +13262,10 @@ class DepreciationCapitalProjectService extends RestService$1 {
|
|
|
13276
13262
|
this.endpointUri = 'depreciation-capital-projects';
|
|
13277
13263
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13278
13264
|
}
|
|
13279
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13280
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationCapitalProjectService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13266
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' }); }
|
|
13281
13267
|
}
|
|
13282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
|
|
13283
13269
|
type: Injectable,
|
|
13284
13270
|
args: [{
|
|
13285
13271
|
providedIn: 'root'
|
|
@@ -13305,10 +13291,10 @@ class DocumentFolderService extends RestService$1 {
|
|
|
13305
13291
|
this.modelClass = DocumentFolder;
|
|
13306
13292
|
this.disabledMethods = ['deleteBatch', 'postBatch', 'putBatch'];
|
|
13307
13293
|
}
|
|
13308
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13309
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13295
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentFolderService, providedIn: 'root' }); }
|
|
13310
13296
|
}
|
|
13311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentFolderService, decorators: [{
|
|
13312
13298
|
type: Injectable,
|
|
13313
13299
|
args: [{
|
|
13314
13300
|
providedIn: 'root'
|
|
@@ -13333,10 +13319,10 @@ class DocumentService extends RestService$1 {
|
|
|
13333
13319
|
postFiles(folder, files) {
|
|
13334
13320
|
return this.postParallel(files.map(file => plainToClass(Document, { folder, file })));
|
|
13335
13321
|
}
|
|
13336
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13337
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13323
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentService, providedIn: 'root' }); }
|
|
13338
13324
|
}
|
|
13339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentService, decorators: [{
|
|
13340
13326
|
type: Injectable,
|
|
13341
13327
|
args: [{
|
|
13342
13328
|
providedIn: 'root'
|
|
@@ -13421,10 +13407,10 @@ class FacebookService {
|
|
|
13421
13407
|
});
|
|
13422
13408
|
});
|
|
13423
13409
|
}
|
|
13424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13425
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13410
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: i3.JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13411
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FacebookService, providedIn: 'root' }); }
|
|
13426
13412
|
}
|
|
13427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FacebookService, decorators: [{
|
|
13428
13414
|
type: Injectable,
|
|
13429
13415
|
args: [{
|
|
13430
13416
|
providedIn: 'root'
|
|
@@ -13491,10 +13477,10 @@ class GoogleService {
|
|
|
13491
13477
|
logout() {
|
|
13492
13478
|
google.accounts.id.disableAutoSelect();
|
|
13493
13479
|
}
|
|
13494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13495
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13480
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: i3.JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13481
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoogleService, providedIn: 'root' }); }
|
|
13496
13482
|
}
|
|
13497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoogleService, decorators: [{
|
|
13498
13484
|
type: Injectable,
|
|
13499
13485
|
args: [{
|
|
13500
13486
|
providedIn: 'root'
|
|
@@ -13526,10 +13512,10 @@ class FileService extends RestService$1 {
|
|
|
13526
13512
|
download(file) {
|
|
13527
13513
|
return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
|
|
13528
13514
|
}
|
|
13529
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13530
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13516
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FileService, providedIn: 'root' }); }
|
|
13531
13517
|
}
|
|
13532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FileService, decorators: [{
|
|
13533
13519
|
type: Injectable,
|
|
13534
13520
|
args: [{
|
|
13535
13521
|
providedIn: 'root'
|
|
@@ -13619,10 +13605,10 @@ class ClientInviteService extends RestService$1 {
|
|
|
13619
13605
|
}
|
|
13620
13606
|
});
|
|
13621
13607
|
}
|
|
13622
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13623
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13608
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientInviteService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13609
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientInviteService, providedIn: 'root' }); }
|
|
13624
13610
|
}
|
|
13625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientInviteService, decorators: [{
|
|
13626
13612
|
type: Injectable,
|
|
13627
13613
|
args: [{
|
|
13628
13614
|
providedIn: 'root'
|
|
@@ -13712,10 +13698,10 @@ class ClientMovementService extends RestService$1 {
|
|
|
13712
13698
|
// this.updateCache([clientMovement], 'delete');
|
|
13713
13699
|
}));
|
|
13714
13700
|
}
|
|
13715
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13716
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13702
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementService, providedIn: 'root' }); }
|
|
13717
13703
|
}
|
|
13718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementService, decorators: [{
|
|
13719
13705
|
type: Injectable,
|
|
13720
13706
|
args: [{
|
|
13721
13707
|
providedIn: 'root'
|
|
@@ -13776,10 +13762,10 @@ class EmployeeService extends RestService$1 {
|
|
|
13776
13762
|
index === -1 ? employee.roles.push(role) : employee.roles.splice(index, 1);
|
|
13777
13763
|
return super.put(employee, `${this.environment.apiV2}/${this.endpointUri}/${employee.id}`);
|
|
13778
13764
|
}
|
|
13779
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13780
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13765
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13766
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeService, providedIn: 'root' }); }
|
|
13781
13767
|
}
|
|
13782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeService, decorators: [{
|
|
13783
13769
|
type: Injectable,
|
|
13784
13770
|
args: [{
|
|
13785
13771
|
providedIn: 'root'
|
|
@@ -13840,10 +13826,10 @@ class EmployeeInviteService extends RestService$1 {
|
|
|
13840
13826
|
return updatedInvite;
|
|
13841
13827
|
}));
|
|
13842
13828
|
}
|
|
13843
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13844
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13829
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13830
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' }); }
|
|
13845
13831
|
}
|
|
13846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeInviteService, decorators: [{
|
|
13847
13833
|
type: Injectable,
|
|
13848
13834
|
args: [{
|
|
13849
13835
|
providedIn: 'root'
|
|
@@ -13867,10 +13853,10 @@ class ClientPortfolioReportService {
|
|
|
13867
13853
|
return new ClientPortfolioReportCollection(clientReports);
|
|
13868
13854
|
}));
|
|
13869
13855
|
}
|
|
13870
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13871
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13856
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13857
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' }); }
|
|
13872
13858
|
}
|
|
13873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
|
|
13874
13860
|
type: Injectable,
|
|
13875
13861
|
args: [{
|
|
13876
13862
|
providedIn: 'root'
|
|
@@ -13924,10 +13910,10 @@ class FirmService {
|
|
|
13924
13910
|
getByType(type) {
|
|
13925
13911
|
return this.getAll().pipe(map((firms) => firms.filter((firm) => firm.type === type)));
|
|
13926
13912
|
}
|
|
13927
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13928
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13913
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13914
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmService, providedIn: 'root' }); }
|
|
13929
13915
|
}
|
|
13930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmService, decorators: [{
|
|
13931
13917
|
type: Injectable,
|
|
13932
13918
|
args: [{
|
|
13933
13919
|
providedIn: 'root'
|
|
@@ -13945,10 +13931,10 @@ class FirmBranchService extends RestService$1 {
|
|
|
13945
13931
|
this.collectionClass = (Collection);
|
|
13946
13932
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
13947
13933
|
}
|
|
13948
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
13949
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
13934
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmBranchService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13935
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmBranchService, providedIn: 'root' }); }
|
|
13950
13936
|
}
|
|
13951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
13937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmBranchService, decorators: [{
|
|
13952
13938
|
type: Injectable,
|
|
13953
13939
|
args: [{
|
|
13954
13940
|
providedIn: 'root'
|
|
@@ -14189,10 +14175,10 @@ class RestService {
|
|
|
14189
14175
|
getCache() {
|
|
14190
14176
|
return clone(this.cache);
|
|
14191
14177
|
}
|
|
14192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14193
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, providedIn: 'root' }); }
|
|
14194
14180
|
}
|
|
14195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, decorators: [{
|
|
14196
14182
|
type: Injectable,
|
|
14197
14183
|
args: [{
|
|
14198
14184
|
providedIn: 'root'
|
|
@@ -14267,10 +14253,10 @@ class IncomeSourceForecastService extends RestService {
|
|
|
14267
14253
|
return incomeSource.incomeSourceForecasts;
|
|
14268
14254
|
}).flat();
|
|
14269
14255
|
}
|
|
14270
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14271
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14256
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14257
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' }); }
|
|
14272
14258
|
}
|
|
14273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
|
|
14274
14260
|
type: Injectable,
|
|
14275
14261
|
args: [{
|
|
14276
14262
|
providedIn: 'root'
|
|
@@ -14344,10 +14330,10 @@ class SalaryForecastService extends RestService {
|
|
|
14344
14330
|
return incomeSource.salaryForecasts;
|
|
14345
14331
|
}).flat();
|
|
14346
14332
|
}
|
|
14347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14348
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14333
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SalaryForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14334
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SalaryForecastService, providedIn: 'root' }); }
|
|
14349
14335
|
}
|
|
14350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SalaryForecastService, decorators: [{
|
|
14351
14337
|
type: Injectable,
|
|
14352
14338
|
args: [{
|
|
14353
14339
|
providedIn: 'root'
|
|
@@ -14429,10 +14415,10 @@ class SoleForecastService extends RestService {
|
|
|
14429
14415
|
this.refreshCache();
|
|
14430
14416
|
});
|
|
14431
14417
|
}
|
|
14432
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14433
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14419
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleForecastService, providedIn: 'root' }); }
|
|
14434
14420
|
}
|
|
14435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleForecastService, decorators: [{
|
|
14436
14422
|
type: Injectable,
|
|
14437
14423
|
args: [{
|
|
14438
14424
|
providedIn: 'root'
|
|
@@ -14515,10 +14501,10 @@ class IncomeSourceService extends RestService {
|
|
|
14515
14501
|
this.refreshCache();
|
|
14516
14502
|
});
|
|
14517
14503
|
}
|
|
14518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14519
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14504
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14505
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceService, providedIn: 'root' }); }
|
|
14520
14506
|
}
|
|
14521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceService, decorators: [{
|
|
14522
14508
|
type: Injectable,
|
|
14523
14509
|
args: [{
|
|
14524
14510
|
providedIn: 'root'
|
|
@@ -14591,10 +14577,10 @@ class BorrowingExpenseService {
|
|
|
14591
14577
|
return combinedBorrowingExpenses;
|
|
14592
14578
|
}));
|
|
14593
14579
|
}
|
|
14594
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14595
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14580
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14581
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' }); }
|
|
14596
14582
|
}
|
|
14597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingExpenseService, decorators: [{
|
|
14598
14584
|
type: Injectable,
|
|
14599
14585
|
args: [{
|
|
14600
14586
|
providedIn: 'root'
|
|
@@ -14678,10 +14664,10 @@ class LoanService extends RestService$1 {
|
|
|
14678
14664
|
delete(loan) {
|
|
14679
14665
|
return super.delete(loan, `${this.environment.apiV2}/loans/${loan.id}`);
|
|
14680
14666
|
}
|
|
14681
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14682
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14667
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LoanService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14668
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LoanService, providedIn: 'root' }); }
|
|
14683
14669
|
}
|
|
14684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LoanService, decorators: [{
|
|
14685
14671
|
type: Injectable,
|
|
14686
14672
|
args: [{
|
|
14687
14673
|
providedIn: 'root'
|
|
@@ -14707,10 +14693,10 @@ class BorrowingReportService extends RestService$1 {
|
|
|
14707
14693
|
this.collectionClass = Collection;
|
|
14708
14694
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14709
14695
|
}
|
|
14710
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14711
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14696
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14697
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingReportService, providedIn: 'root' }); }
|
|
14712
14698
|
}
|
|
14713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingReportService, decorators: [{
|
|
14714
14700
|
type: Injectable,
|
|
14715
14701
|
args: [{
|
|
14716
14702
|
providedIn: 'root'
|
|
@@ -14735,10 +14721,10 @@ class PropertyCategoryService extends RestService$1 {
|
|
|
14735
14721
|
this.endpointUri = 'properties/categories';
|
|
14736
14722
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14737
14723
|
}
|
|
14738
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14739
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14724
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14725
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' }); }
|
|
14740
14726
|
}
|
|
14741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryService, decorators: [{
|
|
14742
14728
|
type: Injectable,
|
|
14743
14729
|
args: [{
|
|
14744
14730
|
providedIn: 'root'
|
|
@@ -14760,10 +14746,10 @@ class PropertyCategoryMovementService extends RestService$1 {
|
|
|
14760
14746
|
this.listenCSE(Property, this.refreshCache, ['post']);
|
|
14761
14747
|
this.listenCSE(PropertyValuation, this.refreshCache);
|
|
14762
14748
|
}
|
|
14763
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14764
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14750
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' }); }
|
|
14765
14751
|
}
|
|
14766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
|
|
14767
14753
|
type: Injectable,
|
|
14768
14754
|
args: [{
|
|
14769
14755
|
providedIn: 'root'
|
|
@@ -14844,10 +14830,10 @@ class TaxExemptionService extends DataService {
|
|
|
14844
14830
|
this.collectionClass = TaxExemptionCollection;
|
|
14845
14831
|
this.setCache(TaxExemptions);
|
|
14846
14832
|
}
|
|
14847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14848
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14833
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14834
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxExemptionService, providedIn: 'root' }); }
|
|
14849
14835
|
}
|
|
14850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxExemptionService, decorators: [{
|
|
14851
14837
|
type: Injectable,
|
|
14852
14838
|
args: [{
|
|
14853
14839
|
providedIn: 'root'
|
|
@@ -14863,10 +14849,10 @@ class PropertySaleService extends RestService$1 {
|
|
|
14863
14849
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14864
14850
|
this.roles = [UserRolesEnum$1.PROPERTY_TANK];
|
|
14865
14851
|
}
|
|
14866
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14867
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14852
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14853
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertySaleService, providedIn: 'root' }); }
|
|
14868
14854
|
}
|
|
14869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertySaleService, decorators: [{
|
|
14870
14856
|
type: Injectable,
|
|
14871
14857
|
args: [{
|
|
14872
14858
|
providedIn: 'root'
|
|
@@ -14920,10 +14906,10 @@ class PropertyShareService extends RestService$1 {
|
|
|
14920
14906
|
listenSalesChanges() {
|
|
14921
14907
|
this.listenCSE(PropertySale, this.refreshCache, ['post', 'delete']);
|
|
14922
14908
|
}
|
|
14923
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14924
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14909
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyShareService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14910
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyShareService, providedIn: 'root' }); }
|
|
14925
14911
|
}
|
|
14926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyShareService, decorators: [{
|
|
14927
14913
|
type: Injectable,
|
|
14928
14914
|
args: [{
|
|
14929
14915
|
providedIn: 'root'
|
|
@@ -14942,10 +14928,10 @@ class PropertyValuationService extends RestService$1 {
|
|
|
14942
14928
|
this.disabledMethods = ['postBatch', 'putBatch'];
|
|
14943
14929
|
this.useBackendError = true;
|
|
14944
14930
|
}
|
|
14945
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
14946
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
14931
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14932
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyValuationService, providedIn: 'root' }); }
|
|
14947
14933
|
}
|
|
14948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
14934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyValuationService, decorators: [{
|
|
14949
14935
|
type: Injectable,
|
|
14950
14936
|
args: [{
|
|
14951
14937
|
providedIn: 'root'
|
|
@@ -15089,10 +15075,10 @@ class PropertyService extends RestService$1 {
|
|
|
15089
15075
|
return of({ growthPercent: 0, lowMarketValue: 0, marketValue: 0, highMarketValue: 0, confidence: PropertyCorelogicStatsConfidenceTypeEnum.LOW });
|
|
15090
15076
|
}));
|
|
15091
15077
|
}
|
|
15092
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15093
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15078
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15079
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyService, providedIn: 'root' }); }
|
|
15094
15080
|
}
|
|
15095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyService, decorators: [{
|
|
15096
15082
|
type: Injectable,
|
|
15097
15083
|
args: [{
|
|
15098
15084
|
providedIn: 'root'
|
|
@@ -15149,10 +15135,10 @@ class ServiceNotificationService extends RestService {
|
|
|
15149
15135
|
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.NOTIFICATION_ADDED, notification));
|
|
15150
15136
|
});
|
|
15151
15137
|
}
|
|
15152
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15153
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceNotificationService, deps: [{ token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' }); }
|
|
15154
15140
|
}
|
|
15155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceNotificationService, decorators: [{
|
|
15156
15142
|
type: Injectable,
|
|
15157
15143
|
args: [{
|
|
15158
15144
|
providedIn: 'root'
|
|
@@ -15175,10 +15161,10 @@ class SoleBusinessService extends RestService$1 {
|
|
|
15175
15161
|
this.endpointUri = 'sole-businesses';
|
|
15176
15162
|
this.roles = [UserRolesEnum$1.SOLE_TANK];
|
|
15177
15163
|
}
|
|
15178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15179
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15165
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessService, providedIn: 'root' }); }
|
|
15180
15166
|
}
|
|
15181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessService, decorators: [{
|
|
15182
15168
|
type: Injectable,
|
|
15183
15169
|
args: [{
|
|
15184
15170
|
providedIn: 'root'
|
|
@@ -15191,10 +15177,10 @@ class SoleBusinessActivityService extends RestService {
|
|
|
15191
15177
|
this.modelClass = SoleBusinessActivity;
|
|
15192
15178
|
this.url = 'sole-business-activities';
|
|
15193
15179
|
}
|
|
15194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15195
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15180
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15181
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' }); }
|
|
15196
15182
|
}
|
|
15197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
|
|
15198
15184
|
type: Injectable,
|
|
15199
15185
|
args: [{
|
|
15200
15186
|
providedIn: 'root'
|
|
@@ -15223,10 +15209,10 @@ class SoleBusinessLossService extends RestService$1 {
|
|
|
15223
15209
|
this.refreshCache();
|
|
15224
15210
|
});
|
|
15225
15211
|
}
|
|
15226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15227
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15212
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15213
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' }); }
|
|
15228
15214
|
}
|
|
15229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossService, decorators: [{
|
|
15230
15216
|
type: Injectable,
|
|
15231
15217
|
args: [{
|
|
15232
15218
|
providedIn: 'root'
|
|
@@ -15245,10 +15231,10 @@ class SoleBusinessLossOffsetRuleService extends RestService {
|
|
|
15245
15231
|
this.modelClass = SoleBusinessLossOffsetRule;
|
|
15246
15232
|
this.url = 'sole-business-loss-offset-rules';
|
|
15247
15233
|
}
|
|
15248
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15249
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15234
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15235
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' }); }
|
|
15250
15236
|
}
|
|
15251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
|
|
15252
15238
|
type: Injectable,
|
|
15253
15239
|
args: [{
|
|
15254
15240
|
providedIn: 'root'
|
|
@@ -15261,10 +15247,10 @@ class SoleContactService extends RestService {
|
|
|
15261
15247
|
this.modelClass = SoleContact;
|
|
15262
15248
|
this.url = 'sole-contacts';
|
|
15263
15249
|
}
|
|
15264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15265
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15251
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleContactService, providedIn: 'root' }); }
|
|
15266
15252
|
}
|
|
15267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleContactService, decorators: [{
|
|
15268
15254
|
type: Injectable,
|
|
15269
15255
|
args: [{
|
|
15270
15256
|
providedIn: 'root'
|
|
@@ -15320,10 +15306,10 @@ class SoleDepreciationMethodService {
|
|
|
15320
15306
|
this.get().subscribe();
|
|
15321
15307
|
});
|
|
15322
15308
|
}
|
|
15323
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15324
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15310
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' }); }
|
|
15325
15311
|
}
|
|
15326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
|
|
15327
15313
|
type: Injectable,
|
|
15328
15314
|
args: [{
|
|
15329
15315
|
providedIn: 'root'
|
|
@@ -15348,10 +15334,10 @@ class SoleDetailsService extends RestService$1 {
|
|
|
15348
15334
|
get() {
|
|
15349
15335
|
return super.get().pipe(map(soleDetails => soleDetails.length ? soleDetails : new Collection([plainToClass(SoleDetails, {})])));
|
|
15350
15336
|
}
|
|
15351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15352
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15337
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15338
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsService, providedIn: 'root' }); }
|
|
15353
15339
|
}
|
|
15354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsService, decorators: [{
|
|
15355
15341
|
type: Injectable,
|
|
15356
15342
|
args: [{
|
|
15357
15343
|
providedIn: 'root'
|
|
@@ -15385,10 +15371,10 @@ class SoleInvoiceService extends RestService$1 {
|
|
|
15385
15371
|
}
|
|
15386
15372
|
return this.cache.last.number + 1;
|
|
15387
15373
|
}
|
|
15388
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15389
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15375
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' }); }
|
|
15390
15376
|
}
|
|
15391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceService, decorators: [{
|
|
15392
15378
|
type: Injectable,
|
|
15393
15379
|
args: [{
|
|
15394
15380
|
providedIn: 'root'
|
|
@@ -15404,10 +15390,10 @@ class SoleInvoiceTemplateService extends RestService {
|
|
|
15404
15390
|
this.modelClass = SoleInvoiceTemplate;
|
|
15405
15391
|
this.url = 'sole-invoice-templates';
|
|
15406
15392
|
}
|
|
15407
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15408
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15394
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' }); }
|
|
15409
15395
|
}
|
|
15410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
|
|
15411
15397
|
type: Injectable,
|
|
15412
15398
|
args: [{
|
|
15413
15399
|
providedIn: 'root'
|
|
@@ -15428,10 +15414,10 @@ class BasReportService extends RestService {
|
|
|
15428
15414
|
this.modelClass = BasReport;
|
|
15429
15415
|
this.url = 'bas-reports';
|
|
15430
15416
|
}
|
|
15431
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15432
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15417
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15418
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasReportService, providedIn: 'root' }); }
|
|
15433
15419
|
}
|
|
15434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasReportService, decorators: [{
|
|
15435
15421
|
type: Injectable,
|
|
15436
15422
|
args: [{
|
|
15437
15423
|
providedIn: 'root'
|
|
@@ -15455,10 +15441,10 @@ class ServicePaymentService extends RestService$1 {
|
|
|
15455
15441
|
}
|
|
15456
15442
|
return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
|
|
15457
15443
|
}
|
|
15458
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15459
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15444
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15445
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentService, providedIn: 'root' }); }
|
|
15460
15446
|
}
|
|
15461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentService, decorators: [{
|
|
15462
15448
|
type: Injectable,
|
|
15463
15449
|
args: [{
|
|
15464
15450
|
providedIn: 'root'
|
|
@@ -15490,10 +15476,10 @@ class ServicePaymentMethodService extends RestService$1 {
|
|
|
15490
15476
|
return this.http.put(`${this.apiUrl}/${paymentMethod.id}/default`, {})
|
|
15491
15477
|
.pipe(map((updatedPaymentMethod) => plainToClass(ServicePaymentMethod, updatedPaymentMethod)));
|
|
15492
15478
|
}
|
|
15493
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15494
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15479
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15480
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' }); }
|
|
15495
15481
|
}
|
|
15496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
|
|
15497
15483
|
type: Injectable,
|
|
15498
15484
|
args: [{
|
|
15499
15485
|
providedIn: 'root'
|
|
@@ -15514,10 +15500,10 @@ class ServicePriceService extends RestService$1 {
|
|
|
15514
15500
|
this.collectionClass = ServicePriceCollection;
|
|
15515
15501
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
15516
15502
|
}
|
|
15517
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15518
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15503
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15504
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePriceService, providedIn: 'root' }); }
|
|
15519
15505
|
}
|
|
15520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePriceService, decorators: [{
|
|
15521
15507
|
type: Injectable,
|
|
15522
15508
|
args: [{
|
|
15523
15509
|
providedIn: 'root'
|
|
@@ -15602,10 +15588,10 @@ class SubscriptionService extends RestService$1 {
|
|
|
15602
15588
|
get(path = this.apiUrl) {
|
|
15603
15589
|
return super.get(path).pipe(map(subscriptions => subscriptions.sortBy('isActive', 'ask')));
|
|
15604
15590
|
}
|
|
15605
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15606
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15591
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15592
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SubscriptionService, providedIn: 'root' }); }
|
|
15607
15593
|
}
|
|
15608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
15609
15595
|
type: Injectable,
|
|
15610
15596
|
args: [{
|
|
15611
15597
|
providedIn: 'root'
|
|
@@ -15623,10 +15609,10 @@ class ServiceProductService extends RestService$1 {
|
|
|
15623
15609
|
this.endpointUri = 'service-products';
|
|
15624
15610
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
15625
15611
|
}
|
|
15626
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15627
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15612
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15613
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceProductService, providedIn: 'root' }); }
|
|
15628
15614
|
}
|
|
15629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceProductService, decorators: [{
|
|
15630
15616
|
type: Injectable,
|
|
15631
15617
|
args: [{
|
|
15632
15618
|
providedIn: 'root'
|
|
@@ -15762,10 +15748,10 @@ class TaxReviewHistoryService extends RestService {
|
|
|
15762
15748
|
this.updateCache();
|
|
15763
15749
|
});
|
|
15764
15750
|
}
|
|
15765
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15766
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15751
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewHistoryService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15752
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' }); }
|
|
15767
15753
|
}
|
|
15768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
|
|
15769
15755
|
type: Injectable,
|
|
15770
15756
|
args: [{
|
|
15771
15757
|
providedIn: 'root'
|
|
@@ -15858,10 +15844,10 @@ class TaxReviewService extends RestService {
|
|
|
15858
15844
|
}
|
|
15859
15845
|
});
|
|
15860
15846
|
}
|
|
15861
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
15862
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
15847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15848
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewService, providedIn: 'root' }); }
|
|
15863
15849
|
}
|
|
15864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
15850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewService, decorators: [{
|
|
15865
15851
|
type: Injectable,
|
|
15866
15852
|
args: [{
|
|
15867
15853
|
providedIn: 'root'
|
|
@@ -16192,10 +16178,10 @@ class TaxSummaryService {
|
|
|
16192
16178
|
this.getForecast().subscribe();
|
|
16193
16179
|
});
|
|
16194
16180
|
}
|
|
16195
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16196
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16182
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxSummaryService, providedIn: 'root' }); }
|
|
16197
16183
|
}
|
|
16198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxSummaryService, decorators: [{
|
|
16199
16185
|
type: Injectable,
|
|
16200
16186
|
args: [{
|
|
16201
16187
|
providedIn: 'root'
|
|
@@ -16216,10 +16202,10 @@ class AllocationRuleService extends RestService$1 {
|
|
|
16216
16202
|
getCustomHttpErrorMessages() {
|
|
16217
16203
|
return { 422: 'You can only have 10 conditions in a rule' };
|
|
16218
16204
|
}
|
|
16219
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16220
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16206
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AllocationRuleService, providedIn: 'root' }); }
|
|
16221
16207
|
}
|
|
16222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AllocationRuleService, decorators: [{
|
|
16223
16209
|
type: Injectable,
|
|
16224
16210
|
args: [{
|
|
16225
16211
|
providedIn: 'root'
|
|
@@ -16324,10 +16310,10 @@ class TransactionAllocationService extends RestService {
|
|
|
16324
16310
|
}
|
|
16325
16311
|
});
|
|
16326
16312
|
}
|
|
16327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16313
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionAllocationService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16314
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' }); }
|
|
16329
16315
|
}
|
|
16330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionAllocationService, decorators: [{
|
|
16331
16317
|
type: Injectable,
|
|
16332
16318
|
args: [{
|
|
16333
16319
|
providedIn: 'root'
|
|
@@ -16579,10 +16565,10 @@ class TransactionService extends RestService {
|
|
|
16579
16565
|
}
|
|
16580
16566
|
});
|
|
16581
16567
|
}
|
|
16582
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16583
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16568
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16569
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionService, providedIn: 'root' }); }
|
|
16584
16570
|
}
|
|
16585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionService, decorators: [{
|
|
16586
16572
|
type: Injectable,
|
|
16587
16573
|
args: [{
|
|
16588
16574
|
providedIn: 'root'
|
|
@@ -16608,10 +16594,10 @@ class PriorTransactionService extends RestService$1 {
|
|
|
16608
16594
|
const financialYear = new FinancialYear(new FinancialYear().year - 1);
|
|
16609
16595
|
return super.get(this.apiUrl + `?financialYear=${financialYear.year}`).pipe(map(transactions => transactions.filterByFinancialYear('date', null, financialYear)));
|
|
16610
16596
|
}
|
|
16611
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16612
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16597
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PriorTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16598
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PriorTransactionService, providedIn: 'root' }); }
|
|
16613
16599
|
}
|
|
16614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PriorTransactionService, decorators: [{
|
|
16615
16601
|
type: Injectable,
|
|
16616
16602
|
args: [{
|
|
16617
16603
|
providedIn: 'root'
|
|
@@ -16633,10 +16619,10 @@ class InvoiceTransactionsService extends RestService$1 {
|
|
|
16633
16619
|
this.endpointUri = 'invoices/transactions';
|
|
16634
16620
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
16635
16621
|
}
|
|
16636
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16637
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16622
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InvoiceTransactionsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16623
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InvoiceTransactionsService, providedIn: 'root' }); }
|
|
16638
16624
|
}
|
|
16639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InvoiceTransactionsService, decorators: [{
|
|
16640
16626
|
type: Injectable,
|
|
16641
16627
|
args: [{
|
|
16642
16628
|
providedIn: 'root'
|
|
@@ -16660,10 +16646,10 @@ class YoutubeService {
|
|
|
16660
16646
|
title: item.snippet.title
|
|
16661
16647
|
}))));
|
|
16662
16648
|
}
|
|
16663
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16664
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16649
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: YoutubeService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16650
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: YoutubeService, providedIn: 'root' }); }
|
|
16665
16651
|
}
|
|
16666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: YoutubeService, decorators: [{
|
|
16667
16653
|
type: Injectable,
|
|
16668
16654
|
args: [{
|
|
16669
16655
|
providedIn: 'root'
|
|
@@ -16683,10 +16669,10 @@ class VehicleService extends RestService$1 {
|
|
|
16683
16669
|
this.collectionClass = (Collection);
|
|
16684
16670
|
this.modelClass = Vehicle;
|
|
16685
16671
|
}
|
|
16686
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16687
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16673
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleService, providedIn: 'root' }); }
|
|
16688
16674
|
}
|
|
16689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleService, decorators: [{
|
|
16690
16676
|
type: Injectable,
|
|
16691
16677
|
args: [{
|
|
16692
16678
|
providedIn: 'root'
|
|
@@ -16716,10 +16702,10 @@ class VehicleClaimService extends RestService$1 {
|
|
|
16716
16702
|
this.refreshCache();
|
|
16717
16703
|
});
|
|
16718
16704
|
}
|
|
16719
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16720
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16705
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16706
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimService, providedIn: 'root' }); }
|
|
16721
16707
|
}
|
|
16722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimService, decorators: [{
|
|
16723
16709
|
type: Injectable,
|
|
16724
16710
|
args: [{
|
|
16725
16711
|
providedIn: 'root'
|
|
@@ -16781,10 +16767,10 @@ class VehicleClaimDetailsService {
|
|
|
16781
16767
|
const vehicleClaimDetails = plainToClass(VehicleClaimDetails, Object.assign({}, this.cache, { isManual: true }));
|
|
16782
16768
|
this.update(vehicleClaimDetails).subscribe();
|
|
16783
16769
|
}
|
|
16784
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16785
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16771
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' }); }
|
|
16786
16772
|
}
|
|
16787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
|
|
16788
16774
|
type: Injectable,
|
|
16789
16775
|
args: [{
|
|
16790
16776
|
providedIn: 'root'
|
|
@@ -16805,10 +16791,10 @@ class VehicleLogbookService extends RestService$1 {
|
|
|
16805
16791
|
this.collectionClass = VehicleLogbookCollection;
|
|
16806
16792
|
this.modelClass = VehicleLogbook;
|
|
16807
16793
|
}
|
|
16808
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16809
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16795
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' }); }
|
|
16810
16796
|
}
|
|
16811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleLogbookService, decorators: [{
|
|
16812
16798
|
type: Injectable,
|
|
16813
16799
|
args: [{
|
|
16814
16800
|
providedIn: 'root'
|
|
@@ -16831,10 +16817,10 @@ class AnnualClientDetailsService extends RestService$1 {
|
|
|
16831
16817
|
this.endpointUri = 'annual-client-details';
|
|
16832
16818
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
|
|
16833
16819
|
}
|
|
16834
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16835
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16820
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16821
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' }); }
|
|
16836
16822
|
}
|
|
16837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
|
|
16838
16824
|
type: Injectable,
|
|
16839
16825
|
args: [{
|
|
16840
16826
|
providedIn: 'root'
|
|
@@ -16864,10 +16850,10 @@ class OccupationService {
|
|
|
16864
16850
|
}
|
|
16865
16851
|
return this.occupationsSubject.asObservable();
|
|
16866
16852
|
}
|
|
16867
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16868
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16853
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16854
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: OccupationService, providedIn: 'root' }); }
|
|
16869
16855
|
}
|
|
16870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: OccupationService, decorators: [{
|
|
16871
16857
|
type: Injectable,
|
|
16872
16858
|
args: [{
|
|
16873
16859
|
providedIn: 'root'
|
|
@@ -16889,10 +16875,10 @@ class ClientCouponService extends RestService$1 {
|
|
|
16889
16875
|
this.endpointUri = 'users/current/promo-code';
|
|
16890
16876
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
16891
16877
|
}
|
|
16892
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16893
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16878
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientCouponService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16879
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientCouponService, providedIn: 'root' }); }
|
|
16894
16880
|
}
|
|
16895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientCouponService, decorators: [{
|
|
16896
16882
|
type: Injectable,
|
|
16897
16883
|
args: [{
|
|
16898
16884
|
providedIn: 'root'
|
|
@@ -16907,10 +16893,10 @@ class CapitalLossService extends RestService$1 {
|
|
|
16907
16893
|
this.collectionClass = (Collection);
|
|
16908
16894
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
16909
16895
|
}
|
|
16910
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16911
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16896
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CapitalLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16897
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CapitalLossService, providedIn: 'root' }); }
|
|
16912
16898
|
}
|
|
16913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CapitalLossService, decorators: [{
|
|
16914
16900
|
type: Injectable,
|
|
16915
16901
|
args: [{
|
|
16916
16902
|
providedIn: 'root'
|
|
@@ -16973,10 +16959,10 @@ class UserEventSettingService extends RestService$1 {
|
|
|
16973
16959
|
this.endpointUri = 'user-event-settings';
|
|
16974
16960
|
this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
|
|
16975
16961
|
}
|
|
16976
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16977
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16962
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16963
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventSettingService, providedIn: 'root' }); }
|
|
16978
16964
|
}
|
|
16979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventSettingService, decorators: [{
|
|
16980
16966
|
type: Injectable,
|
|
16981
16967
|
args: [{
|
|
16982
16968
|
providedIn: 'root'
|
|
@@ -16991,10 +16977,10 @@ class UserEventTypeService extends RestService$1 {
|
|
|
16991
16977
|
this.endpointUri = 'user-event-types';
|
|
16992
16978
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
16993
16979
|
}
|
|
16994
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
16995
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
16980
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16981
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventTypeService, providedIn: 'root' }); }
|
|
16996
16982
|
}
|
|
16997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
16983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventTypeService, decorators: [{
|
|
16998
16984
|
type: Injectable,
|
|
16999
16985
|
args: [{
|
|
17000
16986
|
providedIn: 'root'
|
|
@@ -17021,10 +17007,10 @@ class UsersInviteService extends RestService {
|
|
|
17021
17007
|
this.modelClass = RegistrationInvite;
|
|
17022
17008
|
this.url = 'users/invite';
|
|
17023
17009
|
}
|
|
17024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17025
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17010
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17011
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersInviteService, providedIn: 'root' }); }
|
|
17026
17012
|
}
|
|
17027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersInviteService, decorators: [{
|
|
17028
17014
|
type: Injectable,
|
|
17029
17015
|
args: [{
|
|
17030
17016
|
providedIn: 'root'
|
|
@@ -17139,10 +17125,10 @@ class UserService extends RestService$1 {
|
|
|
17139
17125
|
this.setCache([user], true);
|
|
17140
17126
|
}, ['post', 'put']);
|
|
17141
17127
|
}
|
|
17142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17143
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17129
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserService, providedIn: 'root' }); }
|
|
17144
17130
|
}
|
|
17145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserService, decorators: [{
|
|
17146
17132
|
type: Injectable,
|
|
17147
17133
|
args: [{
|
|
17148
17134
|
providedIn: 'root'
|
|
@@ -17163,10 +17149,10 @@ class FinancialYearService {
|
|
|
17163
17149
|
window.location.reload();
|
|
17164
17150
|
}));
|
|
17165
17151
|
}
|
|
17166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17167
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17153
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearService, providedIn: 'root' }); }
|
|
17168
17154
|
}
|
|
17169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearService, decorators: [{
|
|
17170
17156
|
type: Injectable,
|
|
17171
17157
|
args: [{
|
|
17172
17158
|
providedIn: 'root'
|
|
@@ -17210,10 +17196,10 @@ class MfaDetailsService extends RestService$1 {
|
|
|
17210
17196
|
return mfaDetails;
|
|
17211
17197
|
}));
|
|
17212
17198
|
}
|
|
17213
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17214
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MfaDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17200
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MfaDetailsService, providedIn: 'root' }); }
|
|
17215
17201
|
}
|
|
17216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MfaDetailsService, decorators: [{
|
|
17217
17203
|
type: Injectable,
|
|
17218
17204
|
args: [{
|
|
17219
17205
|
providedIn: 'root'
|
|
@@ -17250,10 +17236,10 @@ class HoldingTradeService extends RestService$1 {
|
|
|
17250
17236
|
}
|
|
17251
17237
|
});
|
|
17252
17238
|
}
|
|
17253
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17254
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeService, providedIn: 'root' }); }
|
|
17255
17241
|
}
|
|
17256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeService, decorators: [{
|
|
17257
17243
|
type: Injectable,
|
|
17258
17244
|
args: [{
|
|
17259
17245
|
providedIn: 'root'
|
|
@@ -17290,10 +17276,10 @@ class HoldingTypeService extends RestService$1 {
|
|
|
17290
17276
|
}
|
|
17291
17277
|
});
|
|
17292
17278
|
}
|
|
17293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17294
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17280
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeService, providedIn: 'root' }); }
|
|
17295
17281
|
}
|
|
17296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeService, decorators: [{
|
|
17297
17283
|
type: Injectable,
|
|
17298
17284
|
args: [{
|
|
17299
17285
|
providedIn: 'root'
|
|
@@ -17312,10 +17298,10 @@ class HoldingSaleService extends RestService$1 {
|
|
|
17312
17298
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
17313
17299
|
this.roles = [UserRolesEnum$1.HOLDING_TANK];
|
|
17314
17300
|
}
|
|
17315
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17316
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17302
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingSaleService, providedIn: 'root' }); }
|
|
17317
17303
|
}
|
|
17318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingSaleService, decorators: [{
|
|
17319
17305
|
type: Injectable,
|
|
17320
17306
|
args: [{
|
|
17321
17307
|
providedIn: 'root'
|
|
@@ -17357,10 +17343,10 @@ class HoldingTradeImportService extends RestService$1 {
|
|
|
17357
17343
|
return throwError(error);
|
|
17358
17344
|
}));
|
|
17359
17345
|
}
|
|
17360
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17361
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeImportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17347
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeImportService, providedIn: 'root' }); }
|
|
17362
17348
|
}
|
|
17363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeImportService, decorators: [{
|
|
17364
17350
|
type: Injectable,
|
|
17365
17351
|
args: [{
|
|
17366
17352
|
providedIn: 'root'
|
|
@@ -17454,10 +17440,10 @@ class HoldingTypeExchangeService extends DataService {
|
|
|
17454
17440
|
this.collectionClass = Collection;
|
|
17455
17441
|
this.setCache(HoldingTypeExchanges);
|
|
17456
17442
|
}
|
|
17457
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17458
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17443
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17444
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' }); }
|
|
17459
17445
|
}
|
|
17460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
|
|
17461
17447
|
type: Injectable,
|
|
17462
17448
|
args: [{
|
|
17463
17449
|
providedIn: 'root'
|
|
@@ -17491,10 +17477,10 @@ class HomeOfficeClaimService extends RestService$1 {
|
|
|
17491
17477
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
17492
17478
|
this.roles = [UserRolesEnum$1.WORK_TANK, UserRolesEnum$1.SOLE_TANK];
|
|
17493
17479
|
}
|
|
17494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17495
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17480
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17481
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeClaimService, providedIn: 'root' }); }
|
|
17496
17482
|
}
|
|
17497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeClaimService, decorators: [{
|
|
17498
17484
|
type: Injectable,
|
|
17499
17485
|
args: [{
|
|
17500
17486
|
providedIn: 'root'
|
|
@@ -17522,10 +17508,10 @@ class HomeOfficeLogService extends RestService$1 {
|
|
|
17522
17508
|
listenEvents() {
|
|
17523
17509
|
this.listenCSE(HomeOfficeClaim, this.refreshCache, ['post']);
|
|
17524
17510
|
}
|
|
17525
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17526
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17511
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeLogService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17512
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeLogService, providedIn: 'root' }); }
|
|
17527
17513
|
}
|
|
17528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeLogService, decorators: [{
|
|
17529
17515
|
type: Injectable,
|
|
17530
17516
|
args: [{
|
|
17531
17517
|
providedIn: 'root'
|
|
@@ -17565,10 +17551,10 @@ class AussieService extends RestService$1 {
|
|
|
17565
17551
|
postAppointment() {
|
|
17566
17552
|
return this.http.delete(`${this.environment.apiV2}/aussie/appointments`);
|
|
17567
17553
|
}
|
|
17568
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17569
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17554
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17555
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieService, providedIn: 'root' }); }
|
|
17570
17556
|
}
|
|
17571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieService, decorators: [{
|
|
17572
17558
|
type: Injectable,
|
|
17573
17559
|
args: [{
|
|
17574
17560
|
providedIn: 'root'
|
|
@@ -17592,10 +17578,10 @@ class SharesightDetailsService extends RestService$1 {
|
|
|
17592
17578
|
reconnect(sharesightDetails) {
|
|
17593
17579
|
return this.put(sharesightDetails, `${this.apiUrl}/${sharesightDetails.id}/reconnect`);
|
|
17594
17580
|
}
|
|
17595
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17596
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17581
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17582
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightDetailsService, providedIn: 'root' }); }
|
|
17597
17583
|
}
|
|
17598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightDetailsService, decorators: [{
|
|
17599
17585
|
type: Injectable,
|
|
17600
17586
|
args: [{
|
|
17601
17587
|
providedIn: 'root'
|
|
@@ -17613,10 +17599,10 @@ class SharesightPortfolioService extends RestService$1 {
|
|
|
17613
17599
|
getExternal() {
|
|
17614
17600
|
return this.fetch(`${this.apiUrl}/external`, false);
|
|
17615
17601
|
}
|
|
17616
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17617
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17602
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightPortfolioService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17603
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightPortfolioService, providedIn: 'root' }); }
|
|
17618
17604
|
}
|
|
17619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightPortfolioService, decorators: [{
|
|
17620
17606
|
type: Injectable,
|
|
17621
17607
|
args: [{
|
|
17622
17608
|
providedIn: 'root'
|
|
@@ -17693,10 +17679,10 @@ class IncomeSourceTypeService extends DataService {
|
|
|
17693
17679
|
this.collectionClass = Collection;
|
|
17694
17680
|
this.setCache(IncomeSourceTypes);
|
|
17695
17681
|
}
|
|
17696
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17697
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17682
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17683
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' }); }
|
|
17698
17684
|
}
|
|
17699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
|
|
17700
17686
|
type: Injectable,
|
|
17701
17687
|
args: [{
|
|
17702
17688
|
providedIn: 'root'
|
|
@@ -17710,10 +17696,10 @@ class ChartAccountsValueService extends DataService {
|
|
|
17710
17696
|
this.collectionClass = ChartAccountsValueCollection;
|
|
17711
17697
|
this.setCache(ChartAccountsValues);
|
|
17712
17698
|
}
|
|
17713
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
17714
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
17699
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17700
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' }); }
|
|
17715
17701
|
}
|
|
17716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
17702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsValueService, decorators: [{
|
|
17717
17703
|
type: Injectable,
|
|
17718
17704
|
args: [{
|
|
17719
17705
|
providedIn: 'root'
|
|
@@ -19686,10 +19672,10 @@ class TaxReturnItemService extends DataService {
|
|
|
19686
19672
|
this.collectionClass = Collection;
|
|
19687
19673
|
this.setCache(TaxReturnItems);
|
|
19688
19674
|
}
|
|
19689
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
19690
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
19675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19676
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' }); }
|
|
19691
19677
|
}
|
|
19692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
19678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReturnItemService, decorators: [{
|
|
19693
19679
|
type: Injectable,
|
|
19694
19680
|
args: [{
|
|
19695
19681
|
providedIn: 'root'
|
|
@@ -19704,10 +19690,10 @@ class SetupItemService extends RestService$1 {
|
|
|
19704
19690
|
this.collectionClass = AccountSetupItemCollection;
|
|
19705
19691
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
19706
19692
|
}
|
|
19707
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
19708
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
19693
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SetupItemService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19694
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SetupItemService, providedIn: 'root' }); }
|
|
19709
19695
|
}
|
|
19710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
19696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SetupItemService, decorators: [{
|
|
19711
19697
|
type: Injectable,
|
|
19712
19698
|
args: [{
|
|
19713
19699
|
providedIn: 'root'
|
|
@@ -19890,10 +19876,10 @@ class AccountSetupService {
|
|
|
19890
19876
|
getSharesightDetails(importEnabled) {
|
|
19891
19877
|
return this.sharesightDetailsService.getArray().pipe(map(details => details.filter(detail => importEnabled ? detail.importEnabled : detail.exportEnabled)));
|
|
19892
19878
|
}
|
|
19893
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
19894
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
19879
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountSetupService, deps: [{ token: SetupItemService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankConnectionService }, { token: BankAccountService }, { token: BankTransactionService }, { token: LoanService }, { token: AllocationRuleService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: HomeOfficeClaimService }, { token: TransactionService }, { token: DepreciationService }, { token: SoleBusinessService }, { token: HoldingTradeService }, { token: UserService }, { token: ClientMovementService }, { token: ClientInviteService }, { token: EmployeeService }, { token: EmployeeInviteService }, { token: FirmService }, { token: SharesightDetailsService }, { token: PropertyShareService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19880
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountSetupService, providedIn: 'root' }); }
|
|
19895
19881
|
}
|
|
19896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
19882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountSetupService, decorators: [{
|
|
19897
19883
|
type: Injectable,
|
|
19898
19884
|
args: [{
|
|
19899
19885
|
providedIn: 'root'
|
|
@@ -19908,10 +19894,10 @@ class AdblockDetectorService {
|
|
|
19908
19894
|
constructor() {
|
|
19909
19895
|
checkAdBlock().then((isDetected) => this.isDetected = isDetected);
|
|
19910
19896
|
}
|
|
19911
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
19912
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
19897
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdblockDetectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19898
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdblockDetectorService, providedIn: 'root' }); }
|
|
19913
19899
|
}
|
|
19914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
19900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdblockDetectorService, decorators: [{
|
|
19915
19901
|
type: Injectable,
|
|
19916
19902
|
args: [{
|
|
19917
19903
|
providedIn: 'root'
|
|
@@ -19963,10 +19949,10 @@ class MixpanelService {
|
|
|
19963
19949
|
}
|
|
19964
19950
|
mixpanel['track_pageview']();
|
|
19965
19951
|
}
|
|
19966
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
19967
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
19952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19953
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MixpanelService, providedIn: 'root' }); }
|
|
19968
19954
|
}
|
|
19969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
19955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MixpanelService, decorators: [{
|
|
19970
19956
|
type: Injectable,
|
|
19971
19957
|
args: [{
|
|
19972
19958
|
providedIn: 'root'
|
|
@@ -20033,10 +20019,10 @@ class JwtService extends JwtHelperService {
|
|
|
20033
20019
|
isMe(userId) {
|
|
20034
20020
|
return this.decode().id === userId;
|
|
20035
20021
|
}
|
|
20036
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20037
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20022
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20023
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtService, providedIn: 'root' }); }
|
|
20038
20024
|
}
|
|
20039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtService, decorators: [{
|
|
20040
20026
|
type: Injectable,
|
|
20041
20027
|
args: [{
|
|
20042
20028
|
providedIn: 'root'
|
|
@@ -20077,10 +20063,10 @@ class AuthService {
|
|
|
20077
20063
|
this.jwtService.destroyTokens();
|
|
20078
20064
|
location.replace(url);
|
|
20079
20065
|
}
|
|
20080
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20081
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20066
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20067
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthService, providedIn: 'root' }); }
|
|
20082
20068
|
}
|
|
20083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthService, decorators: [{
|
|
20084
20070
|
type: Injectable,
|
|
20085
20071
|
args: [{
|
|
20086
20072
|
providedIn: 'root'
|
|
@@ -20217,10 +20203,10 @@ class JwtInterceptor {
|
|
|
20217
20203
|
// });
|
|
20218
20204
|
});
|
|
20219
20205
|
}
|
|
20220
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20221
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20207
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtInterceptor }); }
|
|
20222
20208
|
}
|
|
20223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtInterceptor, decorators: [{
|
|
20224
20210
|
type: Injectable
|
|
20225
20211
|
}], ctorParameters: () => [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
|
|
20226
20212
|
type: Inject,
|
|
@@ -20228,9 +20214,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImpor
|
|
|
20228
20214
|
}] }] });
|
|
20229
20215
|
|
|
20230
20216
|
let InterceptorsModule$1 = class InterceptorsModule {
|
|
20231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20232
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
20233
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
20217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
20218
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule }); }
|
|
20219
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, providers: [
|
|
20234
20220
|
{
|
|
20235
20221
|
provide: HTTP_INTERCEPTORS,
|
|
20236
20222
|
useClass: JwtInterceptor,
|
|
@@ -20238,7 +20224,7 @@ let InterceptorsModule$1 = class InterceptorsModule {
|
|
|
20238
20224
|
}
|
|
20239
20225
|
] }); }
|
|
20240
20226
|
};
|
|
20241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule$1, decorators: [{
|
|
20242
20228
|
type: NgModule,
|
|
20243
20229
|
args: [{
|
|
20244
20230
|
providers: [
|
|
@@ -20268,13 +20254,13 @@ class CommonModule {
|
|
|
20268
20254
|
]
|
|
20269
20255
|
};
|
|
20270
20256
|
}
|
|
20271
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20272
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
20257
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
20258
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: CommonModule, imports: [CommonModule$1,
|
|
20273
20259
|
InterceptorsModule$1] }); }
|
|
20274
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
20260
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CommonModule, imports: [CommonModule$1,
|
|
20275
20261
|
InterceptorsModule$1] }); }
|
|
20276
20262
|
}
|
|
20277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CommonModule, decorators: [{
|
|
20278
20264
|
type: NgModule,
|
|
20279
20265
|
args: [{
|
|
20280
20266
|
declarations: [],
|
|
@@ -20321,10 +20307,10 @@ class UserSwitcherService {
|
|
|
20321
20307
|
window.location.replace('/client/dashboard');
|
|
20322
20308
|
});
|
|
20323
20309
|
}
|
|
20324
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20325
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20311
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherService, providedIn: 'root' }); }
|
|
20326
20312
|
}
|
|
20327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherService, decorators: [{
|
|
20328
20314
|
type: Injectable,
|
|
20329
20315
|
args: [{
|
|
20330
20316
|
providedIn: 'root'
|
|
@@ -20368,10 +20354,10 @@ class AssetsService {
|
|
|
20368
20354
|
delete(entityId, asset) {
|
|
20369
20355
|
return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
|
|
20370
20356
|
}
|
|
20371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20372
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20357
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20358
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AssetsService, providedIn: 'root' }); }
|
|
20373
20359
|
}
|
|
20374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AssetsService, decorators: [{
|
|
20375
20361
|
type: Injectable,
|
|
20376
20362
|
args: [{
|
|
20377
20363
|
providedIn: 'root'
|
|
@@ -20399,10 +20385,10 @@ class BankAccountCalculationService {
|
|
|
20399
20385
|
getNetPosition(bankAccounts, bankTransactions, allocations) {
|
|
20400
20386
|
return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
|
|
20401
20387
|
}
|
|
20402
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20403
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20388
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20389
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' }); }
|
|
20404
20390
|
}
|
|
20405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountCalculationService, decorators: [{
|
|
20406
20392
|
type: Injectable,
|
|
20407
20393
|
args: [{
|
|
20408
20394
|
providedIn: 'root'
|
|
@@ -20429,10 +20415,10 @@ class ExportFormatterService {
|
|
|
20429
20415
|
}
|
|
20430
20416
|
}));
|
|
20431
20417
|
}
|
|
20432
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20433
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20419
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExportFormatterService, providedIn: 'root' }); }
|
|
20434
20420
|
}
|
|
20435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExportFormatterService, decorators: [{
|
|
20436
20422
|
type: Injectable,
|
|
20437
20423
|
args: [{
|
|
20438
20424
|
providedIn: 'root'
|
|
@@ -20452,10 +20438,10 @@ class HeaderTitleService {
|
|
|
20452
20438
|
return route;
|
|
20453
20439
|
}), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
|
|
20454
20440
|
}
|
|
20455
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20456
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20442
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HeaderTitleService, providedIn: 'root' }); }
|
|
20457
20443
|
}
|
|
20458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HeaderTitleService, decorators: [{
|
|
20459
20445
|
type: Injectable,
|
|
20460
20446
|
args: [{
|
|
20461
20447
|
providedIn: 'root'
|
|
@@ -20488,10 +20474,10 @@ class IntercomService {
|
|
|
20488
20474
|
const connectionCredentials = this.initUser(user);
|
|
20489
20475
|
window.Intercom('boot', connectionCredentials);
|
|
20490
20476
|
}
|
|
20491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20492
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20477
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20478
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IntercomService, providedIn: 'root' }); }
|
|
20493
20479
|
}
|
|
20494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IntercomService, decorators: [{
|
|
20495
20481
|
type: Injectable,
|
|
20496
20482
|
args: [{
|
|
20497
20483
|
providedIn: 'root'
|
|
@@ -20568,20 +20554,20 @@ class PdfFromDomElementService {
|
|
|
20568
20554
|
if (!document.getElementById('pdf-export-style')) {
|
|
20569
20555
|
const style = document.createElement('style');
|
|
20570
20556
|
style.id = 'pdf-export-style';
|
|
20571
|
-
style.textContent = `
|
|
20572
|
-
.pdf-export input.mat-mdc-input-element {
|
|
20573
|
-
height: 30px !important;
|
|
20574
|
-
margin-top: 20px;
|
|
20575
|
-
padding: 0 15px !important;
|
|
20576
|
-
}
|
|
20557
|
+
style.textContent = `
|
|
20558
|
+
.pdf-export input.mat-mdc-input-element {
|
|
20559
|
+
height: 30px !important;
|
|
20560
|
+
margin-top: 20px;
|
|
20561
|
+
padding: 0 15px !important;
|
|
20562
|
+
}
|
|
20577
20563
|
`;
|
|
20578
20564
|
document.head.appendChild(style);
|
|
20579
20565
|
}
|
|
20580
20566
|
}
|
|
20581
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20582
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20567
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20568
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' }); }
|
|
20583
20569
|
}
|
|
20584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDomElementService, decorators: [{
|
|
20585
20571
|
type: Injectable,
|
|
20586
20572
|
args: [{
|
|
20587
20573
|
providedIn: 'root'
|
|
@@ -20697,10 +20683,10 @@ class PdfFromTableService {
|
|
|
20697
20683
|
startY: lastTableCoords + FILE_SETTINGS.titleCoords.top / 2,
|
|
20698
20684
|
});
|
|
20699
20685
|
}
|
|
20700
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20701
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20686
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20687
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromTableService, providedIn: 'root' }); }
|
|
20702
20688
|
}
|
|
20703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromTableService, decorators: [{
|
|
20704
20690
|
type: Injectable,
|
|
20705
20691
|
args: [{
|
|
20706
20692
|
providedIn: 'root'
|
|
@@ -20742,10 +20728,10 @@ class PdfFromDataTableService extends PdfFromTableService {
|
|
|
20742
20728
|
});
|
|
20743
20729
|
return pdf;
|
|
20744
20730
|
}
|
|
20745
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20746
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20732
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' }); }
|
|
20747
20733
|
}
|
|
20748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDataTableService, decorators: [{
|
|
20749
20735
|
type: Injectable,
|
|
20750
20736
|
args: [{
|
|
20751
20737
|
providedIn: 'root'
|
|
@@ -20794,10 +20780,10 @@ class PdfFromHtmlTableService extends PdfFromTableService {
|
|
|
20794
20780
|
Array.from(caption.children).map((node) => node.textContent).join('\n') :
|
|
20795
20781
|
caption.innerText;
|
|
20796
20782
|
}
|
|
20797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20798
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20784
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' }); }
|
|
20799
20785
|
}
|
|
20800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
|
|
20801
20787
|
type: Injectable,
|
|
20802
20788
|
args: [{
|
|
20803
20789
|
providedIn: 'root'
|
|
@@ -20821,10 +20807,10 @@ class PreloaderService {
|
|
|
20821
20807
|
activePreloaders = activePreloaders.filter((preloader) => preloader !== endpoint);
|
|
20822
20808
|
this.activePreloaders.next(activePreloaders);
|
|
20823
20809
|
}
|
|
20824
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20825
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20810
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20811
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderService, providedIn: 'root' }); }
|
|
20826
20812
|
}
|
|
20827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderService, decorators: [{
|
|
20828
20814
|
type: Injectable,
|
|
20829
20815
|
args: [{
|
|
20830
20816
|
providedIn: 'root'
|
|
@@ -20862,10 +20848,10 @@ class CorelogicService {
|
|
|
20862
20848
|
return throwError(() => error);
|
|
20863
20849
|
}));
|
|
20864
20850
|
}
|
|
20865
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20866
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20851
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20852
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicService, providedIn: 'root' }); }
|
|
20867
20853
|
}
|
|
20868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicService, decorators: [{
|
|
20869
20855
|
type: Injectable,
|
|
20870
20856
|
args: [{
|
|
20871
20857
|
providedIn: 'root'
|
|
@@ -20894,10 +20880,10 @@ class EquityPositionChartService {
|
|
|
20894
20880
|
}))
|
|
20895
20881
|
}))));
|
|
20896
20882
|
}
|
|
20897
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
20898
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
20883
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20884
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' }); }
|
|
20899
20885
|
}
|
|
20900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
20886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EquityPositionChartService, decorators: [{
|
|
20901
20887
|
type: Injectable,
|
|
20902
20888
|
args: [{
|
|
20903
20889
|
providedIn: 'root'
|
|
@@ -21068,10 +21054,10 @@ class PropertyCalculationService {
|
|
|
21068
21054
|
return new Badge('Monitoring performance');
|
|
21069
21055
|
}
|
|
21070
21056
|
}
|
|
21071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21072
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21057
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21058
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' }); }
|
|
21073
21059
|
}
|
|
21074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCalculationService, decorators: [{
|
|
21075
21061
|
type: Injectable,
|
|
21076
21062
|
args: [{
|
|
21077
21063
|
providedIn: 'root'
|
|
@@ -21129,10 +21115,10 @@ class PropertyTransactionReportService {
|
|
|
21129
21115
|
getDepreciations() {
|
|
21130
21116
|
return this.depreciationService.get().pipe(map((depreciations) => depreciations.getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property)));
|
|
21131
21117
|
}
|
|
21132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21133
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21119
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' }); }
|
|
21134
21120
|
}
|
|
21135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
|
|
21136
21122
|
type: Injectable,
|
|
21137
21123
|
args: [{
|
|
21138
21124
|
providedIn: 'root'
|
|
@@ -21152,10 +21138,10 @@ class CurrentFirmBranchService {
|
|
|
21152
21138
|
set(firmBranches) {
|
|
21153
21139
|
this.firmBranchIds$.next(firmBranches.map(branch => branch.id));
|
|
21154
21140
|
}
|
|
21155
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21156
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21141
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentFirmBranchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21142
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentFirmBranchService, providedIn: 'root' }); }
|
|
21157
21143
|
}
|
|
21158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentFirmBranchService, decorators: [{
|
|
21159
21145
|
type: Injectable,
|
|
21160
21146
|
args: [{
|
|
21161
21147
|
providedIn: 'root'
|
|
@@ -21253,10 +21239,10 @@ class XlsxService {
|
|
|
21253
21239
|
});
|
|
21254
21240
|
FileSaver.saveAs(data, `${fileName}.xlsx`);
|
|
21255
21241
|
}
|
|
21256
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21257
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21242
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21243
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: XlsxService, providedIn: 'root' }); }
|
|
21258
21244
|
}
|
|
21259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: XlsxService, decorators: [{
|
|
21260
21246
|
type: Injectable,
|
|
21261
21247
|
args: [{
|
|
21262
21248
|
providedIn: 'root'
|
|
@@ -21290,10 +21276,10 @@ class CorelogicInterceptor {
|
|
|
21290
21276
|
}
|
|
21291
21277
|
});
|
|
21292
21278
|
}
|
|
21293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21294
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21280
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicInterceptor }); }
|
|
21295
21281
|
}
|
|
21296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicInterceptor, decorators: [{
|
|
21297
21283
|
type: Injectable
|
|
21298
21284
|
}], ctorParameters: () => [{ type: CorelogicService }, { type: undefined, decorators: [{
|
|
21299
21285
|
type: Inject,
|
|
@@ -21329,10 +21315,10 @@ class FinancialYearInterceptor {
|
|
|
21329
21315
|
}
|
|
21330
21316
|
return next.handle(clonedReq);
|
|
21331
21317
|
}
|
|
21332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21333
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21318
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21319
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearInterceptor }); }
|
|
21334
21320
|
}
|
|
21335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
|
|
21336
21322
|
type: Injectable
|
|
21337
21323
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
21338
21324
|
type: Inject,
|
|
@@ -21366,10 +21352,10 @@ class UserSwitcherInterceptor {
|
|
|
21366
21352
|
intercept(request, next) {
|
|
21367
21353
|
return next.handle(this.switch(request, this.userSwitcherService.get()));
|
|
21368
21354
|
}
|
|
21369
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21370
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21356
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherInterceptor }); }
|
|
21371
21357
|
}
|
|
21372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
|
|
21373
21359
|
type: Injectable
|
|
21374
21360
|
}], ctorParameters: () => [{ type: UserSwitcherService }, { type: undefined, decorators: [{
|
|
21375
21361
|
type: Inject,
|
|
@@ -21720,10 +21706,10 @@ class PreloaderInterceptor {
|
|
|
21720
21706
|
findEndpoint(requestPath) {
|
|
21721
21707
|
return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
|
|
21722
21708
|
}
|
|
21723
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21724
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21709
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21710
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderInterceptor }); }
|
|
21725
21711
|
}
|
|
21726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderInterceptor, decorators: [{
|
|
21727
21713
|
type: Injectable
|
|
21728
21714
|
}], ctorParameters: () => [{ type: PreloaderService }] });
|
|
21729
21715
|
|
|
@@ -21748,10 +21734,10 @@ class BasiqTokenInterceptor {
|
|
|
21748
21734
|
}
|
|
21749
21735
|
});
|
|
21750
21736
|
}
|
|
21751
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21752
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21738
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenInterceptor }); }
|
|
21753
21739
|
}
|
|
21754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
|
|
21755
21741
|
type: Injectable
|
|
21756
21742
|
}], ctorParameters: () => [{ type: BasiqTokenService }] });
|
|
21757
21743
|
|
|
@@ -21774,10 +21760,10 @@ class BasiqClientIdInterceptor {
|
|
|
21774
21760
|
url: request.url.replace('null', basiqClientId)
|
|
21775
21761
|
});
|
|
21776
21762
|
}
|
|
21777
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21778
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21763
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21764
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqClientIdInterceptor }); }
|
|
21779
21765
|
}
|
|
21780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
|
|
21781
21767
|
type: Injectable
|
|
21782
21768
|
}], ctorParameters: () => [{ type: UserService }] });
|
|
21783
21769
|
|
|
@@ -21812,10 +21798,10 @@ class RewardfulInterceptor {
|
|
|
21812
21798
|
&& (window['Rewardful'].referral || window['Rewardful'].coupon?.id)
|
|
21813
21799
|
&& registrationUrls.some(registrationUrl => request.url.includes(registrationUrl));
|
|
21814
21800
|
}
|
|
21815
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21816
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21801
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RewardfulInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21802
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RewardfulInterceptor }); }
|
|
21817
21803
|
}
|
|
21818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RewardfulInterceptor, decorators: [{
|
|
21819
21805
|
type: Injectable
|
|
21820
21806
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
21821
21807
|
type: Inject,
|
|
@@ -21844,10 +21830,10 @@ class AussieInterceptor {
|
|
|
21844
21830
|
}
|
|
21845
21831
|
});
|
|
21846
21832
|
}
|
|
21847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21848
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21833
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieInterceptor, deps: [{ token: AussieService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21834
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieInterceptor }); }
|
|
21849
21835
|
}
|
|
21850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieInterceptor, decorators: [{
|
|
21851
21837
|
type: Injectable
|
|
21852
21838
|
}], ctorParameters: () => [{ type: AussieService }, { type: undefined, decorators: [{
|
|
21853
21839
|
type: Inject,
|
|
@@ -21855,13 +21841,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImpor
|
|
|
21855
21841
|
}] }] });
|
|
21856
21842
|
|
|
21857
21843
|
const ADBLOCK_ERROR_HTML = new InjectionToken('ADBLOCK_ERROR_HTML');
|
|
21858
|
-
const ADBLOCK_ERROR_HTML_VALUE = `
|
|
21859
|
-
<div class="text-center">
|
|
21860
|
-
<strong>Action needed - Your adblocker is blocking CoreLogic</strong>
|
|
21861
|
-
To add a property in TaxTank we need to fetch data from CoreLogic — but your ad blocker is getting in the way.
|
|
21862
|
-
Please disable your adblocker or whitelist TaxTank to continue.
|
|
21863
|
-
<a class="btn" target="_blank" href="https://support.taxtank.com.au/en/articles/10505609-how-to-ensure-seamless-functionality-while-using-ad-blockers-with-taxtank">Learn more</a>
|
|
21864
|
-
</div>
|
|
21844
|
+
const ADBLOCK_ERROR_HTML_VALUE = `
|
|
21845
|
+
<div class="text-center">
|
|
21846
|
+
<strong>Action needed - Your adblocker is blocking CoreLogic</strong>
|
|
21847
|
+
To add a property in TaxTank we need to fetch data from CoreLogic — but your ad blocker is getting in the way.
|
|
21848
|
+
Please disable your adblocker or whitelist TaxTank to continue.
|
|
21849
|
+
<a class="btn" target="_blank" href="https://support.taxtank.com.au/en/articles/10505609-how-to-ensure-seamless-functionality-while-using-ad-blockers-with-taxtank">Learn more</a>
|
|
21850
|
+
</div>
|
|
21865
21851
|
`;
|
|
21866
21852
|
|
|
21867
21853
|
/**
|
|
@@ -21886,10 +21872,10 @@ class AdBlockErrorInterceptor {
|
|
|
21886
21872
|
}
|
|
21887
21873
|
return next.handle(request);
|
|
21888
21874
|
}
|
|
21889
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21890
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
21875
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdBlockErrorInterceptor, deps: [{ token: 'environment' }, { token: AdblockDetectorService }, { token: ToastService }, { token: ADBLOCK_ERROR_HTML }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21876
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdBlockErrorInterceptor }); }
|
|
21891
21877
|
}
|
|
21892
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdBlockErrorInterceptor, decorators: [{
|
|
21893
21879
|
type: Injectable
|
|
21894
21880
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
21895
21881
|
type: Inject,
|
|
@@ -21900,9 +21886,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImpor
|
|
|
21900
21886
|
}] }] });
|
|
21901
21887
|
|
|
21902
21888
|
class InterceptorsModule {
|
|
21903
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
21904
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
21905
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
21889
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
21890
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule }); }
|
|
21891
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, providers: [
|
|
21906
21892
|
{
|
|
21907
21893
|
provide: HTTP_INTERCEPTORS,
|
|
21908
21894
|
useClass: CorelogicInterceptor,
|
|
@@ -21955,7 +21941,7 @@ class InterceptorsModule {
|
|
|
21955
21941
|
}
|
|
21956
21942
|
] }); }
|
|
21957
21943
|
}
|
|
21958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
21944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, decorators: [{
|
|
21959
21945
|
type: NgModule,
|
|
21960
21946
|
args: [{
|
|
21961
21947
|
providers: [
|
|
@@ -22017,13 +22003,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImpor
|
|
|
22017
22003
|
* https://angular.io/guide/creating-libraries
|
|
22018
22004
|
*/
|
|
22019
22005
|
class CoreModule {
|
|
22020
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
22021
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
22006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
22007
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: CoreModule, imports: [CommonModule$1,
|
|
22022
22008
|
InterceptorsModule] }); }
|
|
22023
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
22009
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CoreModule, imports: [CommonModule$1,
|
|
22024
22010
|
InterceptorsModule] }); }
|
|
22025
22011
|
}
|
|
22026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
22012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CoreModule, decorators: [{
|
|
22027
22013
|
type: NgModule,
|
|
22028
22014
|
args: [{
|
|
22029
22015
|
declarations: [],
|
|
@@ -22043,10 +22029,10 @@ class AppCurrencyPipe extends CurrencyPipe {
|
|
|
22043
22029
|
digitsInfo = digitsInfo ?? '1.0-' + (value.toString().match(/[1-9]/)?.index || 2);
|
|
22044
22030
|
return super.transform(value, currencyCode, display, digitsInfo, locale);
|
|
22045
22031
|
}
|
|
22046
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
22047
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
22032
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
22033
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" }); }
|
|
22048
22034
|
}
|
|
22049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
22035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppCurrencyPipe, decorators: [{
|
|
22050
22036
|
type: Pipe,
|
|
22051
22037
|
args: [{
|
|
22052
22038
|
name: 'appCurrency',
|
|
@@ -22061,10 +22047,10 @@ class SafeUrlPipe {
|
|
|
22061
22047
|
transform(url) {
|
|
22062
22048
|
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
|
|
22063
22049
|
}
|
|
22064
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
22065
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
22050
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
22051
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
|
|
22066
22052
|
}
|
|
22067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
22053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SafeUrlPipe, decorators: [{
|
|
22068
22054
|
type: Pipe,
|
|
22069
22055
|
args: [{
|
|
22070
22056
|
name: 'safeUrl',
|
|
@@ -22079,10 +22065,10 @@ class AppPercentPipe {
|
|
|
22079
22065
|
transform(value, total, floor) {
|
|
22080
22066
|
return this.percentagePipe.transform(value, total, floor) + '%';
|
|
22081
22067
|
}
|
|
22082
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
22083
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
22068
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppPercentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
22069
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AppPercentPipe, isStandalone: true, name: "percentage" }); }
|
|
22084
22070
|
}
|
|
22085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
22071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppPercentPipe, decorators: [{
|
|
22086
22072
|
type: Pipe,
|
|
22087
22073
|
args: [{
|
|
22088
22074
|
name: 'percentage',
|
|
@@ -22435,10 +22421,10 @@ class BusinessResolver {
|
|
|
22435
22421
|
resolve() {
|
|
22436
22422
|
return this.soleDetailsService.getFirst();
|
|
22437
22423
|
}
|
|
22438
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
22439
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
22424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BusinessResolver, deps: [{ token: SoleDetailsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
22425
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BusinessResolver, providedIn: 'root' }); }
|
|
22440
22426
|
}
|
|
22441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
22427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BusinessResolver, decorators: [{
|
|
22442
22428
|
type: Injectable,
|
|
22443
22429
|
args: [{ providedIn: 'root' }]
|
|
22444
22430
|
}], ctorParameters: () => [{ type: SoleDetailsService }] });
|
|
@@ -22450,10 +22436,10 @@ class SoleDetailsResolver {
|
|
|
22450
22436
|
resolve() {
|
|
22451
22437
|
return this.soleDetails.getFirst();
|
|
22452
22438
|
}
|
|
22453
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
22454
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
22439
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsResolver, deps: [{ token: SoleDetailsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
22440
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsResolver, providedIn: 'root' }); }
|
|
22455
22441
|
}
|
|
22456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
22442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsResolver, decorators: [{
|
|
22457
22443
|
type: Injectable,
|
|
22458
22444
|
args: [{ providedIn: 'root' }]
|
|
22459
22445
|
}], ctorParameters: () => [{ type: SoleDetailsService }] });
|
|
@@ -22883,6 +22869,9 @@ class AddressForm extends AbstractForm {
|
|
|
22883
22869
|
}
|
|
22884
22870
|
}
|
|
22885
22871
|
|
|
22872
|
+
/**
|
|
22873
|
+
* @TODO TT-4522 remove after release
|
|
22874
|
+
*/
|
|
22886
22875
|
class BudgetForm extends AbstractForm {
|
|
22887
22876
|
constructor(budget) {
|
|
22888
22877
|
super({
|
|
@@ -22944,135 +22933,6 @@ class BudgetForm extends AbstractForm {
|
|
|
22944
22933
|
}
|
|
22945
22934
|
}
|
|
22946
22935
|
|
|
22947
|
-
class BudgetRuleForm extends AbstractForm {
|
|
22948
|
-
constructor(rule) {
|
|
22949
|
-
super({
|
|
22950
|
-
tankType: new FormControl(rule.chartAccounts?.tankType ?? TankTypeEnum.PERSONAL, [Validators.required]),
|
|
22951
|
-
chartAccounts: new FormControl({ value: rule.chartAccounts, disabled: !!rule.chartAccounts?.category }, [Validators.required, RxwebValidators.unique()]),
|
|
22952
|
-
amount: new FormControl(rule.amount, Validators.required),
|
|
22953
|
-
startDate: new FormControl({ value: rule.startDate, disabled: true }),
|
|
22954
|
-
endDate: new FormControl(rule.endDate),
|
|
22955
|
-
inCalendar: new FormControl(rule.inCalendar),
|
|
22956
|
-
frequency: new FormControl(rule.frequency),
|
|
22957
|
-
bankAccount: new FormControl(rule.endDate),
|
|
22958
|
-
property: new FormControl(rule.property),
|
|
22959
|
-
business: new FormControl(rule.business),
|
|
22960
|
-
incomeSource: new FormControl(rule.incomeSource),
|
|
22961
|
-
}, rule);
|
|
22962
|
-
}
|
|
22963
|
-
}
|
|
22964
|
-
|
|
22965
|
-
/**
|
|
22966
|
-
* general validation rules
|
|
22967
|
-
*/
|
|
22968
|
-
var FormValidationsEnum;
|
|
22969
|
-
(function (FormValidationsEnum) {
|
|
22970
|
-
FormValidationsEnum[FormValidationsEnum["INPUT_MAX_LENGTH"] = 60] = "INPUT_MAX_LENGTH";
|
|
22971
|
-
FormValidationsEnum[FormValidationsEnum["TEXT_MAX_LENGTH"] = 300] = "TEXT_MAX_LENGTH";
|
|
22972
|
-
FormValidationsEnum[FormValidationsEnum["FILE_MAX_SIZE"] = 4194304] = "FILE_MAX_SIZE";
|
|
22973
|
-
// @TODO move to file uploader component
|
|
22974
|
-
FormValidationsEnum["FILE_ACCEPTED_TYPES"] = "Accepted file type: .doc .jpg .png .pdf .tiff .bmp .excel .csv";
|
|
22975
|
-
})(FormValidationsEnum || (FormValidationsEnum = {}));
|
|
22976
|
-
|
|
22977
|
-
class DocumentFolderForm extends AbstractForm {
|
|
22978
|
-
constructor(folder) {
|
|
22979
|
-
super({
|
|
22980
|
-
name: new FormControl(folder.name, [Validators.required, Validators.maxLength(FormValidationsEnum.INPUT_MAX_LENGTH)]),
|
|
22981
|
-
parent: new FormControl(folder.parent),
|
|
22982
|
-
}, folder);
|
|
22983
|
-
}
|
|
22984
|
-
}
|
|
22985
|
-
|
|
22986
|
-
class DocumentForm extends AbstractForm {
|
|
22987
|
-
constructor(document) {
|
|
22988
|
-
super({
|
|
22989
|
-
folder: new FormControl(document.folder, Validators.required),
|
|
22990
|
-
file: new FormControl(document.file, Validators.required),
|
|
22991
|
-
}, document);
|
|
22992
|
-
}
|
|
22993
|
-
}
|
|
22994
|
-
|
|
22995
|
-
/**
|
|
22996
|
-
* Form with loan details.
|
|
22997
|
-
* Loan could be created from bank account (Bank Loan) or directly from loan page (Vehicle Loan)
|
|
22998
|
-
*/
|
|
22999
|
-
class LoanForm extends AbstractForm {
|
|
23000
|
-
static { this.mortgageLoanTypes = [LoanTypeEnum.MORTGAGE, LoanTypeEnum.HOME_EQUITY_LINE_OF_CREDIT, LoanTypeEnum.HOME_LOAN]; }
|
|
23001
|
-
constructor(loan = plainToClass(Loan, {})) {
|
|
23002
|
-
super({
|
|
23003
|
-
type: new UntypedFormControl(loan.type, Validators.required),
|
|
23004
|
-
amount: new UntypedFormControl(loan.amount, Validators.required),
|
|
23005
|
-
interestRate: new UntypedFormControl(loan.interestRate, [Validators.required, Validators.min(0), Validators.max(100)]),
|
|
23006
|
-
commencementDate: new UntypedFormControl(loan.commencementDate, Validators.required),
|
|
23007
|
-
repaymentAmount: new UntypedFormControl(loan.repaymentAmount),
|
|
23008
|
-
repaymentFrequency: new UntypedFormControl(loan.repaymentFrequency, Validators.required),
|
|
23009
|
-
term: new UntypedFormControl(loan.term, Validators.required),
|
|
23010
|
-
// interestType is predefined for vehicle loans
|
|
23011
|
-
interestType: new UntypedFormControl({ value: loan.interestType, disabled: !loan.bankAccount }, Validators.required),
|
|
23012
|
-
// availableRedraw is predefined for vehicle loans
|
|
23013
|
-
availableRedraw: new UntypedFormControl({ value: loan.availableRedraw, disabled: !loan.bankAccount }, Validators.required),
|
|
23014
|
-
// repaymentType is predefined for vehicle loans
|
|
23015
|
-
repaymentType: new UntypedFormControl({ value: loan.repaymentType, disabled: !loan.bankAccount }, Validators.required),
|
|
23016
|
-
}, loan);
|
|
23017
|
-
this.loan = loan;
|
|
23018
|
-
// Set data which always the same for vehicle loans
|
|
23019
|
-
if (!loan.bankAccount) {
|
|
23020
|
-
Object.assign(this.model, {
|
|
23021
|
-
repaymentType: LoanRepaymentTypeEnum.PRINCIPAL_AND_INTEREST,
|
|
23022
|
-
availableRedraw: 0,
|
|
23023
|
-
interestType: LoanInterestTypeEnum.FIXED_RATE
|
|
23024
|
-
});
|
|
23025
|
-
}
|
|
23026
|
-
this.updateTermValidation();
|
|
23027
|
-
this.listenEvents();
|
|
23028
|
-
}
|
|
23029
|
-
listenEvents() {
|
|
23030
|
-
// We need to set term automatically only for bank loans.
|
|
23031
|
-
// For vehicle loans user should fill it manually with validation depended of frequency
|
|
23032
|
-
if (this.loan.bankAccount) {
|
|
23033
|
-
this.listenTypeChanges();
|
|
23034
|
-
}
|
|
23035
|
-
else {
|
|
23036
|
-
this.listenRepaymentFrequencyChanges();
|
|
23037
|
-
}
|
|
23038
|
-
}
|
|
23039
|
-
/**
|
|
23040
|
-
* Set term automatically by loan type changes
|
|
23041
|
-
*/
|
|
23042
|
-
listenTypeChanges() {
|
|
23043
|
-
this.get('type').valueChanges.subscribe((type) => {
|
|
23044
|
-
this.get('term').setValue(LoanForm.mortgageLoanTypes.includes(type) ? Loan.mortgageDefaultTerm : Loan.loanDefaultTerm);
|
|
23045
|
-
});
|
|
23046
|
-
}
|
|
23047
|
-
/**
|
|
23048
|
-
* term validation depends on selected repaymentFrequency
|
|
23049
|
-
*/
|
|
23050
|
-
listenRepaymentFrequencyChanges() {
|
|
23051
|
-
this.get('repaymentFrequency').valueChanges.subscribe(() => {
|
|
23052
|
-
this.updateTermValidation();
|
|
23053
|
-
});
|
|
23054
|
-
}
|
|
23055
|
-
/**
|
|
23056
|
-
* For vehicle loans term has a maximum value depended of repayment frequency
|
|
23057
|
-
*/
|
|
23058
|
-
updateTermValidation() {
|
|
23059
|
-
// no need terms for bank loans
|
|
23060
|
-
if (this.loan.bankAccount) {
|
|
23061
|
-
return;
|
|
23062
|
-
}
|
|
23063
|
-
const currentRepaymentFrequency = this.get('repaymentFrequency').value;
|
|
23064
|
-
// term validation depends on selected repayment frequency, so can not validate when frequency is empty
|
|
23065
|
-
// repaymentType is required field, so we don't need to clear validation
|
|
23066
|
-
if (!currentRepaymentFrequency) {
|
|
23067
|
-
return;
|
|
23068
|
-
}
|
|
23069
|
-
const termControl = this.get('term');
|
|
23070
|
-
const maxTermValue = LoanMaxNumberOfPaymentsEnum[AnnualFrequencyEnum[currentRepaymentFrequency]];
|
|
23071
|
-
termControl.setValidators([Validators.max(maxTermValue)]);
|
|
23072
|
-
termControl.updateValueAndValidity();
|
|
23073
|
-
}
|
|
23074
|
-
}
|
|
23075
|
-
|
|
23076
22936
|
/**
|
|
23077
22937
|
* Check if at least one form field is true, otherwise form is invalid.
|
|
23078
22938
|
* Use with groups of boolean form controls (checkbox, toggle, etc.)
|
|
@@ -23275,10 +23135,10 @@ class UniqueEmailValidator {
|
|
|
23275
23135
|
validate(control) {
|
|
23276
23136
|
return this.userService.search(control.value).pipe(map(user => user ? { emailIsUsed: true } : null));
|
|
23277
23137
|
}
|
|
23278
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
23279
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
23138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
23139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' }); }
|
|
23280
23140
|
}
|
|
23281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
23141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UniqueEmailValidator, decorators: [{
|
|
23282
23142
|
type: Injectable,
|
|
23283
23143
|
args: [{ providedIn: 'root' }]
|
|
23284
23144
|
}], ctorParameters: () => [{ type: UserService }] });
|
|
@@ -23306,6 +23166,136 @@ function matchSumValidator(controlsFn, error) {
|
|
|
23306
23166
|
};
|
|
23307
23167
|
}
|
|
23308
23168
|
|
|
23169
|
+
class BudgetRuleForm extends AbstractForm {
|
|
23170
|
+
constructor(rule) {
|
|
23171
|
+
super({
|
|
23172
|
+
tankType: new FormControl(rule.chartAccounts?.tankType ?? TankTypeEnum.PERSONAL, [Validators.required]),
|
|
23173
|
+
chartAccounts: new FormControl({ value: rule.chartAccounts, disabled: !!rule.chartAccounts?.category }, [Validators.required, RxwebValidators.unique()]),
|
|
23174
|
+
amount: new FormControl(rule.amount, Validators.required),
|
|
23175
|
+
startDate: new FormControl(rule.startDate, Validators.required),
|
|
23176
|
+
endDate: new FormControl(rule.endDate),
|
|
23177
|
+
inCalendar: new FormControl(rule.inCalendar),
|
|
23178
|
+
frequency: new FormControl(rule.frequency ?? false),
|
|
23179
|
+
description: new FormControl(rule.description),
|
|
23180
|
+
bankAccount: new FormControl(rule.endDate, conditionalValidator(() => !!this.value.inCalendar, Validators.required)),
|
|
23181
|
+
property: new FormControl(rule.property, conditionalValidator(() => this.value.tankType === TankTypeEnum.PROPERTY, Validators.required)),
|
|
23182
|
+
business: new FormControl(rule.business, conditionalValidator(() => this.value.tankType === TankTypeEnum.SOLE, Validators.required)),
|
|
23183
|
+
incomeSource: new FormControl(rule.incomeSource, conditionalValidator(() => this.value.chartAccounts?.isWorkIncome(), Validators.required)),
|
|
23184
|
+
}, rule);
|
|
23185
|
+
}
|
|
23186
|
+
}
|
|
23187
|
+
|
|
23188
|
+
/**
|
|
23189
|
+
* general validation rules
|
|
23190
|
+
*/
|
|
23191
|
+
var FormValidationsEnum;
|
|
23192
|
+
(function (FormValidationsEnum) {
|
|
23193
|
+
FormValidationsEnum[FormValidationsEnum["INPUT_MAX_LENGTH"] = 60] = "INPUT_MAX_LENGTH";
|
|
23194
|
+
FormValidationsEnum[FormValidationsEnum["TEXT_MAX_LENGTH"] = 300] = "TEXT_MAX_LENGTH";
|
|
23195
|
+
FormValidationsEnum[FormValidationsEnum["FILE_MAX_SIZE"] = 4194304] = "FILE_MAX_SIZE";
|
|
23196
|
+
// @TODO move to file uploader component
|
|
23197
|
+
FormValidationsEnum["FILE_ACCEPTED_TYPES"] = "Accepted file type: .doc .jpg .png .pdf .tiff .bmp .excel .csv";
|
|
23198
|
+
})(FormValidationsEnum || (FormValidationsEnum = {}));
|
|
23199
|
+
|
|
23200
|
+
class DocumentFolderForm extends AbstractForm {
|
|
23201
|
+
constructor(folder) {
|
|
23202
|
+
super({
|
|
23203
|
+
name: new FormControl(folder.name, [Validators.required, Validators.maxLength(FormValidationsEnum.INPUT_MAX_LENGTH)]),
|
|
23204
|
+
parent: new FormControl(folder.parent),
|
|
23205
|
+
}, folder);
|
|
23206
|
+
}
|
|
23207
|
+
}
|
|
23208
|
+
|
|
23209
|
+
class DocumentForm extends AbstractForm {
|
|
23210
|
+
constructor(document) {
|
|
23211
|
+
super({
|
|
23212
|
+
folder: new FormControl(document.folder, Validators.required),
|
|
23213
|
+
file: new FormControl(document.file, Validators.required),
|
|
23214
|
+
}, document);
|
|
23215
|
+
}
|
|
23216
|
+
}
|
|
23217
|
+
|
|
23218
|
+
/**
|
|
23219
|
+
* Form with loan details.
|
|
23220
|
+
* Loan could be created from bank account (Bank Loan) or directly from loan page (Vehicle Loan)
|
|
23221
|
+
*/
|
|
23222
|
+
class LoanForm extends AbstractForm {
|
|
23223
|
+
static { this.mortgageLoanTypes = [LoanTypeEnum.MORTGAGE, LoanTypeEnum.HOME_EQUITY_LINE_OF_CREDIT, LoanTypeEnum.HOME_LOAN]; }
|
|
23224
|
+
constructor(loan = plainToClass(Loan, {})) {
|
|
23225
|
+
super({
|
|
23226
|
+
type: new UntypedFormControl(loan.type, Validators.required),
|
|
23227
|
+
amount: new UntypedFormControl(loan.amount, Validators.required),
|
|
23228
|
+
interestRate: new UntypedFormControl(loan.interestRate, [Validators.required, Validators.min(0), Validators.max(100)]),
|
|
23229
|
+
commencementDate: new UntypedFormControl(loan.commencementDate, Validators.required),
|
|
23230
|
+
repaymentAmount: new UntypedFormControl(loan.repaymentAmount),
|
|
23231
|
+
repaymentFrequency: new UntypedFormControl(loan.repaymentFrequency, Validators.required),
|
|
23232
|
+
term: new UntypedFormControl(loan.term, Validators.required),
|
|
23233
|
+
// interestType is predefined for vehicle loans
|
|
23234
|
+
interestType: new UntypedFormControl({ value: loan.interestType, disabled: !loan.bankAccount }, Validators.required),
|
|
23235
|
+
// availableRedraw is predefined for vehicle loans
|
|
23236
|
+
availableRedraw: new UntypedFormControl({ value: loan.availableRedraw, disabled: !loan.bankAccount }, Validators.required),
|
|
23237
|
+
// repaymentType is predefined for vehicle loans
|
|
23238
|
+
repaymentType: new UntypedFormControl({ value: loan.repaymentType, disabled: !loan.bankAccount }, Validators.required),
|
|
23239
|
+
}, loan);
|
|
23240
|
+
this.loan = loan;
|
|
23241
|
+
// Set data which always the same for vehicle loans
|
|
23242
|
+
if (!loan.bankAccount) {
|
|
23243
|
+
Object.assign(this.model, {
|
|
23244
|
+
repaymentType: LoanRepaymentTypeEnum.PRINCIPAL_AND_INTEREST,
|
|
23245
|
+
availableRedraw: 0,
|
|
23246
|
+
interestType: LoanInterestTypeEnum.FIXED_RATE
|
|
23247
|
+
});
|
|
23248
|
+
}
|
|
23249
|
+
this.updateTermValidation();
|
|
23250
|
+
this.listenEvents();
|
|
23251
|
+
}
|
|
23252
|
+
listenEvents() {
|
|
23253
|
+
// We need to set term automatically only for bank loans.
|
|
23254
|
+
// For vehicle loans user should fill it manually with validation depended of frequency
|
|
23255
|
+
if (this.loan.bankAccount) {
|
|
23256
|
+
this.listenTypeChanges();
|
|
23257
|
+
}
|
|
23258
|
+
else {
|
|
23259
|
+
this.listenRepaymentFrequencyChanges();
|
|
23260
|
+
}
|
|
23261
|
+
}
|
|
23262
|
+
/**
|
|
23263
|
+
* Set term automatically by loan type changes
|
|
23264
|
+
*/
|
|
23265
|
+
listenTypeChanges() {
|
|
23266
|
+
this.get('type').valueChanges.subscribe((type) => {
|
|
23267
|
+
this.get('term').setValue(LoanForm.mortgageLoanTypes.includes(type) ? Loan.mortgageDefaultTerm : Loan.loanDefaultTerm);
|
|
23268
|
+
});
|
|
23269
|
+
}
|
|
23270
|
+
/**
|
|
23271
|
+
* term validation depends on selected repaymentFrequency
|
|
23272
|
+
*/
|
|
23273
|
+
listenRepaymentFrequencyChanges() {
|
|
23274
|
+
this.get('repaymentFrequency').valueChanges.subscribe(() => {
|
|
23275
|
+
this.updateTermValidation();
|
|
23276
|
+
});
|
|
23277
|
+
}
|
|
23278
|
+
/**
|
|
23279
|
+
* For vehicle loans term has a maximum value depended of repayment frequency
|
|
23280
|
+
*/
|
|
23281
|
+
updateTermValidation() {
|
|
23282
|
+
// no need terms for bank loans
|
|
23283
|
+
if (this.loan.bankAccount) {
|
|
23284
|
+
return;
|
|
23285
|
+
}
|
|
23286
|
+
const currentRepaymentFrequency = this.get('repaymentFrequency').value;
|
|
23287
|
+
// term validation depends on selected repayment frequency, so can not validate when frequency is empty
|
|
23288
|
+
// repaymentType is required field, so we don't need to clear validation
|
|
23289
|
+
if (!currentRepaymentFrequency) {
|
|
23290
|
+
return;
|
|
23291
|
+
}
|
|
23292
|
+
const termControl = this.get('term');
|
|
23293
|
+
const maxTermValue = LoanMaxNumberOfPaymentsEnum[AnnualFrequencyEnum[currentRepaymentFrequency]];
|
|
23294
|
+
termControl.setValidators([Validators.max(maxTermValue)]);
|
|
23295
|
+
termControl.updateValueAndValidity();
|
|
23296
|
+
}
|
|
23297
|
+
}
|
|
23298
|
+
|
|
23309
23299
|
const END_DATE_VALIDATION_ERROR = 'Target date must be more than start date';
|
|
23310
23300
|
class FinancialGoalForm extends AbstractForm {
|
|
23311
23301
|
constructor(goal = plainToClass(FinancialGoal, {})) {
|
|
@@ -23483,10 +23473,10 @@ class ClientMovementForm extends AbstractForm {
|
|
|
23483
23473
|
firmBranch: new FormControl(clientMovement.firmBranch, [Validators.required]),
|
|
23484
23474
|
}, clientMovement);
|
|
23485
23475
|
}
|
|
23486
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
23487
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
23476
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementForm, deps: [{ token: ClientMovement }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
23477
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementForm, providedIn: 'root' }); }
|
|
23488
23478
|
}
|
|
23489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
23479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementForm, decorators: [{
|
|
23490
23480
|
type: Injectable,
|
|
23491
23481
|
args: [{
|
|
23492
23482
|
providedIn: 'root'
|
|
@@ -23499,10 +23489,10 @@ class EmployeeDetailsForm extends AbstractForm {
|
|
|
23499
23489
|
firmBranches: new FormControl(employeeDetails.firmBranches, [Validators.required]),
|
|
23500
23490
|
}, employeeDetails);
|
|
23501
23491
|
}
|
|
23502
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
23503
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
23492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeDetailsForm, deps: [{ token: EmployeeDetails }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
23493
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeDetailsForm, providedIn: 'root' }); }
|
|
23504
23494
|
}
|
|
23505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
23495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeDetailsForm, decorators: [{
|
|
23506
23496
|
type: Injectable,
|
|
23507
23497
|
args: [{
|
|
23508
23498
|
providedIn: 'root'
|