taxtank-core 2.0.25 → 2.0.26

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.
@@ -1,15 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Inject, inject, EventEmitter, signal, NgModule, Pipe } from '@angular/core';
2
+ import { Inject, Injectable, inject, EventEmitter, NgModule, InjectionToken, Pipe } from '@angular/core';
3
3
  import * as i1$1 from '@angular/common';
4
4
  import { formatDate, CommonModule as CommonModule$1, CurrencyPipe, DatePipe } from '@angular/common';
5
5
  import * as i1 from '@angular/common/http';
6
- import { HttpParams, HttpClient, HttpErrorResponse, HTTP_INTERCEPTORS } from '@angular/common/http';
7
- import { map, catchError, mergeMap, filter, finalize, switchMap, first as first$1, take, startWith, debounceTime, distinctUntilChanged } from 'rxjs/operators';
8
- import { ReplaySubject, throwError, Subject, Observable, shareReplay, of, forkJoin, combineLatest, BehaviorSubject, from, merge as merge$1 } from 'rxjs';
6
+ import { HttpClient, HttpErrorResponse, HttpParams, HTTP_INTERCEPTORS } from '@angular/common/http';
7
+ import { map, filter, catchError, finalize, switchMap, first as first$1, take, mergeMap, startWith, debounceTime, distinctUntilChanged } from 'rxjs/operators';
8
+ import { ReplaySubject, Subject, Observable, shareReplay, of, forkJoin, throwError, combineLatest, BehaviorSubject, from, merge as merge$1 } from 'rxjs';
9
9
  import { plainToClass, Type, Transform, Exclude, Expose, classToPlain } from 'class-transformer';
10
+ import get from 'lodash/get';
10
11
  import 'reflect-metadata';
11
12
  import { __decorate } from 'tslib';
12
- import get from 'lodash/get';
13
13
  import flatten from 'lodash/flatten';
14
14
  import hasIn from 'lodash/hasIn';
15
15
  import intersection from 'lodash/intersection';
@@ -64,9 +64,6 @@ class AbstractModel {
64
64
  }
65
65
  }
66
66
 
67
- let Address$1 = class Address extends AbstractModel {
68
- };
69
-
70
67
  let Country$1 = class Country extends AbstractModel {
71
68
  };
72
69
 
@@ -86,6 +83,66 @@ class Country extends Country$1 {
86
83
  }
87
84
  }
88
85
 
86
+ class AddressService {
87
+ constructor(http, environment) {
88
+ this.http = http;
89
+ this.environment = environment;
90
+ this.countriesSubject = new ReplaySubject(1);
91
+ }
92
+ getCountries() {
93
+ if (!this._countries) {
94
+ this.http.get(`${this.environment.apiV2}/countries`)
95
+ .pipe(map((response) => response.map((item) => plainToClass(Country, item))))
96
+ .subscribe((countries) => {
97
+ this._countries = countries;
98
+ this.countriesSubject.next(countries);
99
+ });
100
+ }
101
+ return this.countriesSubject.asObservable();
102
+ }
103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", 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.2.4", ngImport: i0, type: AddressService, providedIn: 'root' }); }
105
+ }
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AddressService, decorators: [{
107
+ type: Injectable,
108
+ args: [{
109
+ providedIn: 'root'
110
+ }]
111
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
112
+ type: Inject,
113
+ args: ['environment']
114
+ }] }] });
115
+
116
+ /**
117
+ * @TODO TT-3846 upgrade
118
+ */
119
+ class PdfService {
120
+ constructor(http, environment) {
121
+ this.http = http;
122
+ this.environment = environment;
123
+ }
124
+ fromHTMLElements(elements, landscape) {
125
+ const formData = new FormData();
126
+ formData.append('file', new Blob([...Array.from(elements).map(element => element.outerHTML)], { type: 'text/html' }));
127
+ formData.append('landscape', landscape ? '1' : '0');
128
+ return this.http.post(`${this.environment.apiV2}/pdf/html`, formData, { responseType: 'blob' });
129
+ }
130
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", 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.2.4", ngImport: i0, type: PdfService, providedIn: 'root' }); }
132
+ }
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfService, decorators: [{
134
+ type: Injectable,
135
+ args: [{
136
+ providedIn: 'root'
137
+ }]
138
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
139
+ type: Inject,
140
+ args: ['environment']
141
+ }] }] });
142
+
143
+ let Address$1 = class Address extends AbstractModel {
144
+ };
145
+
89
146
  var AddressTypeEnum;
90
147
  (function (AddressTypeEnum) {
91
148
  AddressTypeEnum[AddressTypeEnum["STREET"] = 1] = "STREET";
@@ -11380,254 +11437,6 @@ __decorate([
11380
11437
  Type(() => AussieStore)
11381
11438
  ], AussieAppointment.prototype, "store", void 0);
11382
11439
 
11383
- var CorelogicMessagesEnum;
11384
- (function (CorelogicMessagesEnum) {
11385
- CorelogicMessagesEnum["SERVICE_UNAVAILABLE"] = "Corelogic service is temporary unavailable, please try again in a few minutes.";
11386
- })(CorelogicMessagesEnum || (CorelogicMessagesEnum = {}));
11387
-
11388
- /**
11389
- * Common toast message class
11390
- */
11391
- class Toast {
11392
- constructor() {
11393
- this.duration = 3000;
11394
- this.autoClose = true;
11395
- }
11396
- }
11397
-
11398
- var ToastTypeEnum;
11399
- (function (ToastTypeEnum) {
11400
- ToastTypeEnum[ToastTypeEnum["INFO"] = 0] = "INFO";
11401
- ToastTypeEnum[ToastTypeEnum["SUCCESS"] = 1] = "SUCCESS";
11402
- ToastTypeEnum[ToastTypeEnum["WARNING"] = 2] = "WARNING";
11403
- ToastTypeEnum[ToastTypeEnum["ERROR"] = 3] = "ERROR";
11404
- })(ToastTypeEnum || (ToastTypeEnum = {}));
11405
-
11406
- /**
11407
- * popup notifications service (toast, snackbar).
11408
- */
11409
- class ToastService {
11410
- constructor() {
11411
- this.toast$ = new ReplaySubject(1);
11412
- }
11413
- get() {
11414
- return this.toast$.asObservable();
11415
- }
11416
- add(toast) {
11417
- // set date to prevent closing of equal toasts (extra case)
11418
- toast.date = new Date(),
11419
- this.toast$.next(toast);
11420
- }
11421
- success(message) {
11422
- this.add(plainToClass(Toast, {
11423
- type: ToastTypeEnum.SUCCESS,
11424
- title: 'Success!',
11425
- message,
11426
- }));
11427
- }
11428
- warning(message) {
11429
- this.add(plainToClass(Toast, {
11430
- type: ToastTypeEnum.WARNING,
11431
- title: 'Notification!',
11432
- message,
11433
- }));
11434
- }
11435
- error(message) {
11436
- this.add(plainToClass(Toast, {
11437
- type: ToastTypeEnum.ERROR,
11438
- title: 'Error!',
11439
- message,
11440
- }));
11441
- }
11442
- info(message) {
11443
- this.add(plainToClass(Toast, {
11444
- type: ToastTypeEnum.INFO,
11445
- title: 'Information',
11446
- message,
11447
- }));
11448
- }
11449
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11450
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ToastService, providedIn: 'root' }); }
11451
- }
11452
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ToastService, decorators: [{
11453
- type: Injectable,
11454
- args: [{
11455
- providedIn: 'root'
11456
- }]
11457
- }] });
11458
-
11459
- class CorelogicService {
11460
- constructor(http, toastService, environment) {
11461
- this.http = http;
11462
- this.toastService = toastService;
11463
- this.environment = environment;
11464
- this.accessTokenSubject = new ReplaySubject(1);
11465
- }
11466
- getAccessToken(force = false) {
11467
- if (!this._accessToken || force) {
11468
- this.http.get(`${this.environment.apiV2}/corelogic/tokens`)
11469
- .pipe(map((response) => response.access_token))
11470
- .subscribe((token) => {
11471
- this._accessToken = token;
11472
- this.accessTokenSubject.next(this._accessToken);
11473
- });
11474
- }
11475
- return this.accessTokenSubject.asObservable();
11476
- }
11477
- getSuggestions(query, country = 'au') {
11478
- // @TODO handle different countries in future
11479
- return this.http.get(`${this.environment.coreLogicUrl}/property/${country}/v2/suggest.json?q=${query}`)
11480
- .pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))), catchError((error) => {
11481
- this.toastService.error(CorelogicMessagesEnum.SERVICE_UNAVAILABLE);
11482
- return throwError(() => error);
11483
- }));
11484
- }
11485
- 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 }); }
11486
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicService, providedIn: 'root' }); }
11487
- }
11488
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicService, decorators: [{
11489
- type: Injectable,
11490
- args: [{
11491
- providedIn: 'root'
11492
- }]
11493
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ToastService }, { type: undefined, decorators: [{
11494
- type: Inject,
11495
- args: ['environment']
11496
- }] }] });
11497
-
11498
- /**
11499
- * Corelogic interceptor add Core Logic access token for each search requests related with Core Logic API
11500
- */
11501
- class CorelogicInterceptor {
11502
- constructor(corelogicService, environment) {
11503
- this.corelogicService = corelogicService;
11504
- this.environment = environment;
11505
- }
11506
- intercept(request, next) {
11507
- // skip non-corelogic requests
11508
- if (!request.url.includes(this.environment.coreLogicUrl)) {
11509
- return next.handle(request);
11510
- }
11511
- // don't need token for this endpoint
11512
- if (request.url.includes(`${this.environment.coreLogicUrl}/access/oauth/token`)) {
11513
- return next.handle(request);
11514
- }
11515
- return this.corelogicService.getAccessToken()
11516
- .pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
11517
- }
11518
- addToken(request, token) {
11519
- return request.clone({
11520
- setHeaders: {
11521
- Authorization: 'Bearer ' + token
11522
- }
11523
- });
11524
- }
11525
- 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 }); }
11526
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicInterceptor }); }
11527
- }
11528
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CorelogicInterceptor, decorators: [{
11529
- type: Injectable
11530
- }], ctorParameters: () => [{ type: CorelogicService }, { type: undefined, decorators: [{
11531
- type: Inject,
11532
- args: ['environment']
11533
- }] }] });
11534
-
11535
- /**
11536
- * Financial Year interceptor add financialYear parameter to requests because a lot of POST and GET requests require this parameter
11537
- * @TODO now we can get current fin year from user on backend. So we can remove this interceptor
11538
- */
11539
- class FinancialYearInterceptor {
11540
- constructor(environment) {
11541
- this.environment = environment;
11542
- }
11543
- intercept(request, next) {
11544
- // skip third party requests
11545
- // @TODO Alex: Also check and ignore requests we don't need financial year
11546
- if (!request.url.includes(this.environment.api_uri)) {
11547
- return next.handle(request);
11548
- }
11549
- // Set financial year parameter to requests
11550
- let params = new HttpParams({
11551
- fromString: request.params.toString()
11552
- });
11553
- // clone request to add new parameters
11554
- let clonedReq = request.clone();
11555
- // @TODO query params should be passed using second param of get request and HttpParams object
11556
- if (!params.get('financialYear') && !request.urlWithParams.includes('?financialYear') && !request.urlWithParams.includes('&financialYear')) {
11557
- params = params.set('financialYear', localStorage.getItem('financialYear'));
11558
- clonedReq = request.clone({
11559
- params: params
11560
- });
11561
- }
11562
- return next.handle(clonedReq);
11563
- }
11564
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
11565
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearInterceptor }); }
11566
- }
11567
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
11568
- type: Injectable
11569
- }], ctorParameters: () => [{ type: undefined, decorators: [{
11570
- type: Inject,
11571
- args: ['environment']
11572
- }] }] });
11573
-
11574
- class AddressService {
11575
- constructor(http, environment) {
11576
- this.http = http;
11577
- this.environment = environment;
11578
- this.countriesSubject = new ReplaySubject(1);
11579
- }
11580
- getCountries() {
11581
- if (!this._countries) {
11582
- this.http.get(`${this.environment.apiV2}/countries`)
11583
- .pipe(map((response) => response.map((item) => plainToClass(Country, item))))
11584
- .subscribe((countries) => {
11585
- this._countries = countries;
11586
- this.countriesSubject.next(countries);
11587
- });
11588
- }
11589
- return this.countriesSubject.asObservable();
11590
- }
11591
- 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 }); }
11592
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AddressService, providedIn: 'root' }); }
11593
- }
11594
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AddressService, decorators: [{
11595
- type: Injectable,
11596
- args: [{
11597
- providedIn: 'root'
11598
- }]
11599
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
11600
- type: Inject,
11601
- args: ['environment']
11602
- }] }] });
11603
-
11604
- /**
11605
- * @TODO TT-3846 upgrade
11606
- */
11607
- class PdfService {
11608
- constructor(http, environment) {
11609
- this.http = http;
11610
- this.environment = environment;
11611
- }
11612
- fromHTMLElements(elements, landscape) {
11613
- const formData = new FormData();
11614
- formData.append('file', new Blob([...Array.from(elements).map(element => element.outerHTML)], { type: 'text/html' }));
11615
- formData.append('landscape', landscape ? '1' : '0');
11616
- return this.http.post(`${this.environment.apiV2}/pdf/html`, formData, { responseType: 'blob' });
11617
- }
11618
- 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 }); }
11619
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfService, providedIn: 'root' }); }
11620
- }
11621
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfService, decorators: [{
11622
- type: Injectable,
11623
- args: [{
11624
- providedIn: 'root'
11625
- }]
11626
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
11627
- type: Inject,
11628
- args: ['environment']
11629
- }] }] });
11630
-
11631
11440
  /**
11632
11441
  * @TODO Alex (TT-1777): replace old logic with the new when all services ready
11633
11442
  * @TODO Alex (TT-1777): rename old logic and keep it for custom events
@@ -11655,10 +11464,10 @@ class EventDispatcherService {
11655
11464
  dispatch2(event) {
11656
11465
  this.eventSubject2.next(event);
11657
11466
  }
11658
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11659
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EventDispatcherService, providedIn: 'root' }); }
11467
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11468
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EventDispatcherService, providedIn: 'root' }); }
11660
11469
  }
11661
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EventDispatcherService, decorators: [{
11470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EventDispatcherService, decorators: [{
11662
11471
  type: Injectable,
11663
11472
  args: [{
11664
11473
  providedIn: 'root'
@@ -11693,10 +11502,10 @@ class SseService {
11693
11502
  })
11694
11503
  .pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
11695
11504
  }
11696
- 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 }); }
11697
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SseService, providedIn: 'root' }); }
11505
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: i3.JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
11506
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SseService, providedIn: 'root' }); }
11698
11507
  }
11699
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SseService, decorators: [{
11508
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SseService, decorators: [{
11700
11509
  type: Injectable,
11701
11510
  args: [{
11702
11511
  providedIn: 'root'
@@ -11784,10 +11593,81 @@ class DataService {
11784
11593
  setCache(data) {
11785
11594
  this.cache = this.createCollectionInstance(this.collectionClass, data);
11786
11595
  }
11787
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11788
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DataService, providedIn: 'root' }); }
11596
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11597
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DataService, providedIn: 'root' }); }
11598
+ }
11599
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DataService, decorators: [{
11600
+ type: Injectable,
11601
+ args: [{
11602
+ providedIn: 'root'
11603
+ }]
11604
+ }] });
11605
+
11606
+ /**
11607
+ * Common toast message class
11608
+ */
11609
+ class Toast {
11610
+ constructor() {
11611
+ this.duration = 3000;
11612
+ this.autoClose = true;
11613
+ }
11614
+ }
11615
+
11616
+ var ToastTypeEnum;
11617
+ (function (ToastTypeEnum) {
11618
+ ToastTypeEnum[ToastTypeEnum["INFO"] = 0] = "INFO";
11619
+ ToastTypeEnum[ToastTypeEnum["SUCCESS"] = 1] = "SUCCESS";
11620
+ ToastTypeEnum[ToastTypeEnum["WARNING"] = 2] = "WARNING";
11621
+ ToastTypeEnum[ToastTypeEnum["ERROR"] = 3] = "ERROR";
11622
+ })(ToastTypeEnum || (ToastTypeEnum = {}));
11623
+
11624
+ /**
11625
+ * popup notifications service (toast, snackbar).
11626
+ */
11627
+ class ToastService {
11628
+ constructor() {
11629
+ this.toast$ = new ReplaySubject(1);
11630
+ }
11631
+ get() {
11632
+ return this.toast$.asObservable();
11633
+ }
11634
+ add(toast) {
11635
+ // set date to prevent closing of equal toasts (extra case)
11636
+ toast.date = new Date(),
11637
+ this.toast$.next(toast);
11638
+ }
11639
+ success(message) {
11640
+ this.add(plainToClass(Toast, {
11641
+ type: ToastTypeEnum.SUCCESS,
11642
+ title: 'Success!',
11643
+ message,
11644
+ }));
11645
+ }
11646
+ warning(message) {
11647
+ this.add(plainToClass(Toast, {
11648
+ type: ToastTypeEnum.WARNING,
11649
+ title: 'Notification!',
11650
+ message,
11651
+ }));
11652
+ }
11653
+ error(message) {
11654
+ this.add(plainToClass(Toast, {
11655
+ type: ToastTypeEnum.ERROR,
11656
+ title: 'Error!',
11657
+ message,
11658
+ }));
11659
+ }
11660
+ info(message) {
11661
+ this.add(plainToClass(Toast, {
11662
+ type: ToastTypeEnum.INFO,
11663
+ title: 'Information',
11664
+ message,
11665
+ }));
11666
+ }
11667
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11668
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ToastService, providedIn: 'root' }); }
11789
11669
  }
11790
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DataService, decorators: [{
11670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ToastService, decorators: [{
11791
11671
  type: Injectable,
11792
11672
  args: [{
11793
11673
  providedIn: 'root'
@@ -12154,10 +12034,10 @@ let RestService$1 = class RestService extends DataService {
12154
12034
  this.handleResponse([change.model], change.method);
12155
12035
  });
12156
12036
  }
12157
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12158
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, providedIn: 'root' }); }
12037
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12038
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RestService, providedIn: 'root' }); }
12159
12039
  };
12160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService$1, decorators: [{
12040
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RestService$1, decorators: [{
12161
12041
  type: Injectable,
12162
12042
  args: [{
12163
12043
  providedIn: 'root'
@@ -12297,10 +12177,10 @@ class BankAccountService extends RestService$1 {
12297
12177
  }
12298
12178
  });
12299
12179
  }
12300
- 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 }); }
12301
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountService, providedIn: 'root' }); }
12180
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12181
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankAccountService, providedIn: 'root' }); }
12302
12182
  }
12303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountService, decorators: [{
12183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankAccountService, decorators: [{
12304
12184
  type: Injectable,
12305
12185
  args: [{
12306
12186
  providedIn: 'root'
@@ -12405,10 +12285,10 @@ class BankConnectionService extends RestService$1 {
12405
12285
  }
12406
12286
  });
12407
12287
  }
12408
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankConnectionService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12409
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankConnectionService, providedIn: 'root' }); }
12288
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankConnectionService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12289
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankConnectionService, providedIn: 'root' }); }
12410
12290
  }
12411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankConnectionService, decorators: [{
12291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankConnectionService, decorators: [{
12412
12292
  type: Injectable,
12413
12293
  args: [{
12414
12294
  providedIn: 'root'
@@ -12474,10 +12354,10 @@ class BankTransactionService extends RestService$1 {
12474
12354
  }
12475
12355
  });
12476
12356
  }
12477
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12478
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionService, providedIn: 'root' }); }
12357
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankTransactionService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12358
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankTransactionService, providedIn: 'root' }); }
12479
12359
  }
12480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionService, decorators: [{
12360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankTransactionService, decorators: [{
12481
12361
  type: Injectable,
12482
12362
  args: [{
12483
12363
  providedIn: 'root'
@@ -12511,10 +12391,10 @@ class BasiqTokenService extends RestService$1 {
12511
12391
  const now = new Date().getTime();
12512
12392
  return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
12513
12393
  }
12514
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12515
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenService, providedIn: 'root' }); }
12394
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12395
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqTokenService, providedIn: 'root' }); }
12516
12396
  }
12517
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenService, decorators: [{
12397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqTokenService, decorators: [{
12518
12398
  type: Injectable,
12519
12399
  args: [{
12520
12400
  providedIn: 'root'
@@ -12656,10 +12536,10 @@ class BasiqService extends RestService$1 {
12656
12536
  }
12657
12537
  });
12658
12538
  }
12659
- 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 }); }
12660
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqService, providedIn: 'root' }); }
12539
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
12540
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqService, providedIn: 'root' }); }
12661
12541
  }
12662
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqService, decorators: [{
12542
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqService, decorators: [{
12663
12543
  type: Injectable,
12664
12544
  args: [{
12665
12545
  providedIn: 'root'
@@ -12687,10 +12567,10 @@ class BankTransactionCommentService extends RestService$1 {
12687
12567
  this.endpointUri = 'bank-transaction-comments';
12688
12568
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
12689
12569
  }
12690
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionCommentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12691
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionCommentService, providedIn: 'root' }); }
12570
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankTransactionCommentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12571
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankTransactionCommentService, providedIn: 'root' }); }
12692
12572
  }
12693
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankTransactionCommentService, decorators: [{
12573
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankTransactionCommentService, decorators: [{
12694
12574
  type: Injectable,
12695
12575
  args: [{
12696
12576
  providedIn: 'root'
@@ -12716,10 +12596,10 @@ class BankService extends RestService$1 {
12716
12596
  this.endpointUri = 'banks';
12717
12597
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
12718
12598
  }
12719
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12720
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankService, providedIn: 'root' }); }
12599
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12600
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankService, providedIn: 'root' }); }
12721
12601
  }
12722
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankService, decorators: [{
12602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankService, decorators: [{
12723
12603
  type: Injectable,
12724
12604
  args: [{
12725
12605
  providedIn: 'root'
@@ -12734,10 +12614,10 @@ class BudgetService extends RestService$1 {
12734
12614
  this.endpointUri = 'budgets';
12735
12615
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
12736
12616
  }
12737
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12738
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetService, providedIn: 'root' }); }
12617
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12618
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BudgetService, providedIn: 'root' }); }
12739
12619
  }
12740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BudgetService, decorators: [{
12620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BudgetService, decorators: [{
12741
12621
  type: Injectable,
12742
12622
  args: [{
12743
12623
  providedIn: 'root'
@@ -12763,10 +12643,10 @@ class ChartAccountsDepreciationService extends RestService$1 {
12763
12643
  this.collectionClass = Collection;
12764
12644
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
12765
12645
  }
12766
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12767
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' }); }
12646
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12647
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' }); }
12768
12648
  }
12769
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
12649
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
12770
12650
  type: Injectable,
12771
12651
  args: [{
12772
12652
  providedIn: 'root'
@@ -12805,10 +12685,10 @@ class ChartAccountsService extends RestService$1 {
12805
12685
  return headings;
12806
12686
  }));
12807
12687
  }
12808
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12809
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsService, providedIn: 'root' }); }
12688
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
12689
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsService, providedIn: 'root' }); }
12810
12690
  }
12811
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsService, decorators: [{
12691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsService, decorators: [{
12812
12692
  type: Injectable,
12813
12693
  args: [{
12814
12694
  providedIn: 'root'
@@ -12892,10 +12772,10 @@ class ChatService extends RestService$1 {
12892
12772
  this.setCache(cache, true);
12893
12773
  }, ['post']);
12894
12774
  }
12895
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChatService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12896
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChatService, providedIn: 'root' }); }
12775
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChatService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12776
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChatService, providedIn: 'root' }); }
12897
12777
  }
12898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChatService, decorators: [{
12778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChatService, decorators: [{
12899
12779
  type: Injectable,
12900
12780
  args: [{
12901
12781
  providedIn: 'root'
@@ -12925,10 +12805,10 @@ class MessageService extends RestService$1 {
12925
12805
  getUnreadChatsAmount() {
12926
12806
  return this.get().pipe(map((messages) => messages.getUnreadChatsAmount()));
12927
12807
  }
12928
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12929
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageService, providedIn: 'root' }); }
12808
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MessageService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12809
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MessageService, providedIn: 'root' }); }
12930
12810
  }
12931
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageService, decorators: [{
12811
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MessageService, decorators: [{
12932
12812
  type: Injectable,
12933
12813
  args: [{
12934
12814
  providedIn: 'root'
@@ -12997,10 +12877,10 @@ class MessageDocumentService extends RestService$1 {
12997
12877
  addBatch(chatId, files) {
12998
12878
  return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
12999
12879
  }
13000
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageDocumentService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13001
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageDocumentService, providedIn: 'root' }); }
12880
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MessageDocumentService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12881
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MessageDocumentService, providedIn: 'root' }); }
13002
12882
  }
13003
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MessageDocumentService, decorators: [{
12883
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MessageDocumentService, decorators: [{
13004
12884
  type: Injectable,
13005
12885
  args: [{
13006
12886
  providedIn: 'root'
@@ -13095,10 +12975,10 @@ class DepreciationService extends RestService$1 {
13095
12975
  this.refreshCache();
13096
12976
  });
13097
12977
  }
13098
- 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 }); }
13099
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationService, providedIn: 'root' }); }
12978
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
12979
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DepreciationService, providedIn: 'root' }); }
13100
12980
  }
13101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationService, decorators: [{
12981
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DepreciationService, decorators: [{
13102
12982
  type: Injectable,
13103
12983
  args: [{
13104
12984
  providedIn: 'root'
@@ -13120,10 +13000,10 @@ class DepreciationCapitalProjectService extends RestService$1 {
13120
13000
  this.endpointUri = 'depreciation-capital-projects';
13121
13001
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13122
13002
  }
13123
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationCapitalProjectService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13124
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' }); }
13003
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DepreciationCapitalProjectService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13004
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' }); }
13125
13005
  }
13126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
13006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
13127
13007
  type: Injectable,
13128
13008
  args: [{
13129
13009
  providedIn: 'root'
@@ -13149,10 +13029,10 @@ class DocumentFolderService extends RestService$1 {
13149
13029
  this.modelClass = DocumentFolder;
13150
13030
  this.disabledMethods = ['deleteBatch', 'postBatch', 'putBatch'];
13151
13031
  }
13152
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13153
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentFolderService, providedIn: 'root' }); }
13032
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13033
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DocumentFolderService, providedIn: 'root' }); }
13154
13034
  }
13155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentFolderService, decorators: [{
13035
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DocumentFolderService, decorators: [{
13156
13036
  type: Injectable,
13157
13037
  args: [{
13158
13038
  providedIn: 'root'
@@ -13177,10 +13057,10 @@ class DocumentService extends RestService$1 {
13177
13057
  postFiles(folder, files) {
13178
13058
  return this.postParallel(files.map(file => plainToClass(Document, { folder, file })));
13179
13059
  }
13180
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13181
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentService, providedIn: 'root' }); }
13060
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DocumentService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13061
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DocumentService, providedIn: 'root' }); }
13182
13062
  }
13183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DocumentService, decorators: [{
13063
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DocumentService, decorators: [{
13184
13064
  type: Injectable,
13185
13065
  args: [{
13186
13066
  providedIn: 'root'
@@ -13265,10 +13145,10 @@ class FacebookService {
13265
13145
  });
13266
13146
  });
13267
13147
  }
13268
- 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 }); }
13269
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FacebookService, providedIn: 'root' }); }
13148
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: i3.JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13149
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FacebookService, providedIn: 'root' }); }
13270
13150
  }
13271
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FacebookService, decorators: [{
13151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FacebookService, decorators: [{
13272
13152
  type: Injectable,
13273
13153
  args: [{
13274
13154
  providedIn: 'root'
@@ -13335,10 +13215,10 @@ class GoogleService {
13335
13215
  logout() {
13336
13216
  google.accounts.id.disableAutoSelect();
13337
13217
  }
13338
- 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 }); }
13339
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoogleService, providedIn: 'root' }); }
13218
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: i3.JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13219
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: GoogleService, providedIn: 'root' }); }
13340
13220
  }
13341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GoogleService, decorators: [{
13221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: GoogleService, decorators: [{
13342
13222
  type: Injectable,
13343
13223
  args: [{
13344
13224
  providedIn: 'root'
@@ -13370,10 +13250,10 @@ class FileService extends RestService$1 {
13370
13250
  download(file) {
13371
13251
  return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
13372
13252
  }
13373
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13374
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FileService, providedIn: 'root' }); }
13253
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13254
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileService, providedIn: 'root' }); }
13375
13255
  }
13376
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FileService, decorators: [{
13256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileService, decorators: [{
13377
13257
  type: Injectable,
13378
13258
  args: [{
13379
13259
  providedIn: 'root'
@@ -13463,10 +13343,10 @@ class ClientInviteService extends RestService$1 {
13463
13343
  }
13464
13344
  });
13465
13345
  }
13466
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientInviteService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13467
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientInviteService, providedIn: 'root' }); }
13346
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientInviteService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13347
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientInviteService, providedIn: 'root' }); }
13468
13348
  }
13469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientInviteService, decorators: [{
13349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientInviteService, decorators: [{
13470
13350
  type: Injectable,
13471
13351
  args: [{
13472
13352
  providedIn: 'root'
@@ -13556,10 +13436,10 @@ class ClientMovementService extends RestService$1 {
13556
13436
  // this.updateCache([clientMovement], 'delete');
13557
13437
  }));
13558
13438
  }
13559
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13560
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementService, providedIn: 'root' }); }
13439
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13440
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientMovementService, providedIn: 'root' }); }
13561
13441
  }
13562
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementService, decorators: [{
13442
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientMovementService, decorators: [{
13563
13443
  type: Injectable,
13564
13444
  args: [{
13565
13445
  providedIn: 'root'
@@ -13620,10 +13500,10 @@ class EmployeeService extends RestService$1 {
13620
13500
  index === -1 ? employee.roles.push(role) : employee.roles.splice(index, 1);
13621
13501
  return super.put(employee, `${this.environment.apiV2}/${this.endpointUri}/${employee.id}`);
13622
13502
  }
13623
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13624
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeService, providedIn: 'root' }); }
13503
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13504
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeService, providedIn: 'root' }); }
13625
13505
  }
13626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeService, decorators: [{
13506
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeService, decorators: [{
13627
13507
  type: Injectable,
13628
13508
  args: [{
13629
13509
  providedIn: 'root'
@@ -13684,10 +13564,10 @@ class EmployeeInviteService extends RestService$1 {
13684
13564
  return updatedInvite;
13685
13565
  }));
13686
13566
  }
13687
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13688
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' }); }
13567
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13568
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' }); }
13689
13569
  }
13690
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeInviteService, decorators: [{
13570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeInviteService, decorators: [{
13691
13571
  type: Injectable,
13692
13572
  args: [{
13693
13573
  providedIn: 'root'
@@ -13711,10 +13591,10 @@ class ClientPortfolioReportService {
13711
13591
  return new ClientPortfolioReportCollection(clientReports);
13712
13592
  }));
13713
13593
  }
13714
- 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 }); }
13715
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' }); }
13594
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13595
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' }); }
13716
13596
  }
13717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
13597
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
13718
13598
  type: Injectable,
13719
13599
  args: [{
13720
13600
  providedIn: 'root'
@@ -13768,10 +13648,10 @@ class FirmService {
13768
13648
  getByType(type) {
13769
13649
  return this.getAll().pipe(map((firms) => firms.filter((firm) => firm.type === type)));
13770
13650
  }
13771
- 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 }); }
13772
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmService, providedIn: 'root' }); }
13651
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13652
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FirmService, providedIn: 'root' }); }
13773
13653
  }
13774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmService, decorators: [{
13654
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FirmService, decorators: [{
13775
13655
  type: Injectable,
13776
13656
  args: [{
13777
13657
  providedIn: 'root'
@@ -13789,10 +13669,10 @@ class FirmBranchService extends RestService$1 {
13789
13669
  this.collectionClass = (Collection);
13790
13670
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13791
13671
  }
13792
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmBranchService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13793
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmBranchService, providedIn: 'root' }); }
13672
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FirmBranchService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
13673
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FirmBranchService, providedIn: 'root' }); }
13794
13674
  }
13795
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FirmBranchService, decorators: [{
13675
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FirmBranchService, decorators: [{
13796
13676
  type: Injectable,
13797
13677
  args: [{
13798
13678
  providedIn: 'root'
@@ -14033,10 +13913,10 @@ class RestService {
14033
13913
  getCache() {
14034
13914
  return clone(this.cache);
14035
13915
  }
14036
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14037
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, providedIn: 'root' }); }
13916
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RestService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13917
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RestService, providedIn: 'root' }); }
14038
13918
  }
14039
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RestService, decorators: [{
13919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RestService, decorators: [{
14040
13920
  type: Injectable,
14041
13921
  args: [{
14042
13922
  providedIn: 'root'
@@ -14111,10 +13991,10 @@ class IncomeSourceForecastService extends RestService {
14111
13991
  return incomeSource.incomeSourceForecasts;
14112
13992
  }).flat();
14113
13993
  }
14114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14115
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' }); }
13994
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13995
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' }); }
14116
13996
  }
14117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
13997
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
14118
13998
  type: Injectable,
14119
13999
  args: [{
14120
14000
  providedIn: 'root'
@@ -14188,10 +14068,10 @@ class SalaryForecastService extends RestService {
14188
14068
  return incomeSource.salaryForecasts;
14189
14069
  }).flat();
14190
14070
  }
14191
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SalaryForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14192
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SalaryForecastService, providedIn: 'root' }); }
14071
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SalaryForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14072
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SalaryForecastService, providedIn: 'root' }); }
14193
14073
  }
14194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SalaryForecastService, decorators: [{
14074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SalaryForecastService, decorators: [{
14195
14075
  type: Injectable,
14196
14076
  args: [{
14197
14077
  providedIn: 'root'
@@ -14273,10 +14153,10 @@ class SoleForecastService extends RestService {
14273
14153
  this.refreshCache();
14274
14154
  });
14275
14155
  }
14276
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14277
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleForecastService, providedIn: 'root' }); }
14156
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleForecastService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14157
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleForecastService, providedIn: 'root' }); }
14278
14158
  }
14279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleForecastService, decorators: [{
14159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleForecastService, decorators: [{
14280
14160
  type: Injectable,
14281
14161
  args: [{
14282
14162
  providedIn: 'root'
@@ -14359,10 +14239,10 @@ class IncomeSourceService extends RestService {
14359
14239
  this.refreshCache();
14360
14240
  });
14361
14241
  }
14362
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14363
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceService, providedIn: 'root' }); }
14242
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14243
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceService, providedIn: 'root' }); }
14364
14244
  }
14365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceService, decorators: [{
14245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceService, decorators: [{
14366
14246
  type: Injectable,
14367
14247
  args: [{
14368
14248
  providedIn: 'root'
@@ -14435,10 +14315,10 @@ class BorrowingExpenseService {
14435
14315
  return combinedBorrowingExpenses;
14436
14316
  }));
14437
14317
  }
14438
- 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 }); }
14439
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' }); }
14318
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14319
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' }); }
14440
14320
  }
14441
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingExpenseService, decorators: [{
14321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BorrowingExpenseService, decorators: [{
14442
14322
  type: Injectable,
14443
14323
  args: [{
14444
14324
  providedIn: 'root'
@@ -14522,10 +14402,10 @@ class LoanService extends RestService$1 {
14522
14402
  delete(loan) {
14523
14403
  return super.delete(loan, `${this.environment.apiV2}/loans/${loan.id}`);
14524
14404
  }
14525
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LoanService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14526
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LoanService, providedIn: 'root' }); }
14405
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: LoanService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14406
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: LoanService, providedIn: 'root' }); }
14527
14407
  }
14528
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LoanService, decorators: [{
14408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: LoanService, decorators: [{
14529
14409
  type: Injectable,
14530
14410
  args: [{
14531
14411
  providedIn: 'root'
@@ -14551,10 +14431,10 @@ class BorrowingReportService extends RestService$1 {
14551
14431
  this.collectionClass = Collection;
14552
14432
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14553
14433
  }
14554
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14555
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingReportService, providedIn: 'root' }); }
14434
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BorrowingReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14435
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BorrowingReportService, providedIn: 'root' }); }
14556
14436
  }
14557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BorrowingReportService, decorators: [{
14437
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BorrowingReportService, decorators: [{
14558
14438
  type: Injectable,
14559
14439
  args: [{
14560
14440
  providedIn: 'root'
@@ -14579,10 +14459,10 @@ class PropertyCategoryService extends RestService$1 {
14579
14459
  this.endpointUri = 'properties/categories';
14580
14460
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14581
14461
  }
14582
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14583
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' }); }
14462
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14463
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' }); }
14584
14464
  }
14585
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryService, decorators: [{
14465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCategoryService, decorators: [{
14586
14466
  type: Injectable,
14587
14467
  args: [{
14588
14468
  providedIn: 'root'
@@ -14604,10 +14484,10 @@ class PropertyCategoryMovementService extends RestService$1 {
14604
14484
  this.listenCSE(Property, this.refreshCache, ['post']);
14605
14485
  this.listenCSE(PropertyValuation, this.refreshCache);
14606
14486
  }
14607
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14608
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' }); }
14487
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCategoryMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14488
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' }); }
14609
14489
  }
14610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
14490
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
14611
14491
  type: Injectable,
14612
14492
  args: [{
14613
14493
  providedIn: 'root'
@@ -14688,10 +14568,10 @@ class TaxExemptionService extends DataService {
14688
14568
  this.collectionClass = TaxExemptionCollection;
14689
14569
  this.setCache(TaxExemptions);
14690
14570
  }
14691
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
14692
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxExemptionService, providedIn: 'root' }); }
14571
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
14572
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxExemptionService, providedIn: 'root' }); }
14693
14573
  }
14694
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxExemptionService, decorators: [{
14574
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxExemptionService, decorators: [{
14695
14575
  type: Injectable,
14696
14576
  args: [{
14697
14577
  providedIn: 'root'
@@ -14707,10 +14587,10 @@ class PropertySaleService extends RestService$1 {
14707
14587
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
14708
14588
  this.roles = [UserRolesEnum$1.PROPERTY_TANK];
14709
14589
  }
14710
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14711
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertySaleService, providedIn: 'root' }); }
14590
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14591
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertySaleService, providedIn: 'root' }); }
14712
14592
  }
14713
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertySaleService, decorators: [{
14593
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertySaleService, decorators: [{
14714
14594
  type: Injectable,
14715
14595
  args: [{
14716
14596
  providedIn: 'root'
@@ -14764,10 +14644,10 @@ class PropertyShareService extends RestService$1 {
14764
14644
  listenSalesChanges() {
14765
14645
  this.listenCSE(PropertySale, this.refreshCache, ['post', 'delete']);
14766
14646
  }
14767
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyShareService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14768
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyShareService, providedIn: 'root' }); }
14647
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyShareService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14648
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyShareService, providedIn: 'root' }); }
14769
14649
  }
14770
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyShareService, decorators: [{
14650
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyShareService, decorators: [{
14771
14651
  type: Injectable,
14772
14652
  args: [{
14773
14653
  providedIn: 'root'
@@ -14786,10 +14666,10 @@ class PropertyValuationService extends RestService$1 {
14786
14666
  this.disabledMethods = ['postBatch', 'putBatch'];
14787
14667
  this.useBackendError = true;
14788
14668
  }
14789
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14790
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyValuationService, providedIn: 'root' }); }
14669
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyValuationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14670
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyValuationService, providedIn: 'root' }); }
14791
14671
  }
14792
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyValuationService, decorators: [{
14672
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyValuationService, decorators: [{
14793
14673
  type: Injectable,
14794
14674
  args: [{
14795
14675
  providedIn: 'root'
@@ -14933,10 +14813,10 @@ class PropertyService extends RestService$1 {
14933
14813
  return of({ growthPercent: 0, lowMarketValue: 0, marketValue: 0, highMarketValue: 0, confidence: PropertyCorelogicStatsConfidenceTypeEnum.LOW });
14934
14814
  }));
14935
14815
  }
14936
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14937
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyService, providedIn: 'root' }); }
14816
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14817
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyService, providedIn: 'root' }); }
14938
14818
  }
14939
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyService, decorators: [{
14819
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyService, decorators: [{
14940
14820
  type: Injectable,
14941
14821
  args: [{
14942
14822
  providedIn: 'root'
@@ -14993,10 +14873,10 @@ class ServiceNotificationService extends RestService {
14993
14873
  this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.NOTIFICATION_ADDED, notification));
14994
14874
  });
14995
14875
  }
14996
- 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 }); }
14997
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' }); }
14876
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServiceNotificationService, deps: [{ token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable }); }
14877
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' }); }
14998
14878
  }
14999
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceNotificationService, decorators: [{
14879
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServiceNotificationService, decorators: [{
15000
14880
  type: Injectable,
15001
14881
  args: [{
15002
14882
  providedIn: 'root'
@@ -15019,10 +14899,10 @@ class SoleBusinessService extends RestService$1 {
15019
14899
  this.endpointUri = 'sole-businesses';
15020
14900
  this.roles = [UserRolesEnum$1.SOLE_TANK];
15021
14901
  }
15022
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15023
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessService, providedIn: 'root' }); }
14902
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14903
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessService, providedIn: 'root' }); }
15024
14904
  }
15025
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessService, decorators: [{
14905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessService, decorators: [{
15026
14906
  type: Injectable,
15027
14907
  args: [{
15028
14908
  providedIn: 'root'
@@ -15035,10 +14915,10 @@ class SoleBusinessActivityService extends RestService {
15035
14915
  this.modelClass = SoleBusinessActivity;
15036
14916
  this.url = 'sole-business-activities';
15037
14917
  }
15038
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15039
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' }); }
14918
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14919
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' }); }
15040
14920
  }
15041
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
14921
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
15042
14922
  type: Injectable,
15043
14923
  args: [{
15044
14924
  providedIn: 'root'
@@ -15067,10 +14947,10 @@ class SoleBusinessLossService extends RestService$1 {
15067
14947
  this.refreshCache();
15068
14948
  });
15069
14949
  }
15070
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15071
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' }); }
14950
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessLossService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
14951
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' }); }
15072
14952
  }
15073
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossService, decorators: [{
14953
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessLossService, decorators: [{
15074
14954
  type: Injectable,
15075
14955
  args: [{
15076
14956
  providedIn: 'root'
@@ -15089,10 +14969,10 @@ class SoleBusinessLossOffsetRuleService extends RestService {
15089
14969
  this.modelClass = SoleBusinessLossOffsetRule;
15090
14970
  this.url = 'sole-business-loss-offset-rules';
15091
14971
  }
15092
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15093
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' }); }
14972
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14973
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' }); }
15094
14974
  }
15095
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
14975
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
15096
14976
  type: Injectable,
15097
14977
  args: [{
15098
14978
  providedIn: 'root'
@@ -15105,10 +14985,10 @@ class SoleContactService extends RestService {
15105
14985
  this.modelClass = SoleContact;
15106
14986
  this.url = 'sole-contacts';
15107
14987
  }
15108
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15109
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleContactService, providedIn: 'root' }); }
14988
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
14989
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleContactService, providedIn: 'root' }); }
15110
14990
  }
15111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleContactService, decorators: [{
14991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleContactService, decorators: [{
15112
14992
  type: Injectable,
15113
14993
  args: [{
15114
14994
  providedIn: 'root'
@@ -15164,10 +15044,10 @@ class SoleDepreciationMethodService {
15164
15044
  this.get().subscribe();
15165
15045
  });
15166
15046
  }
15167
- 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 }); }
15168
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' }); }
15047
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable }); }
15048
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' }); }
15169
15049
  }
15170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
15050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
15171
15051
  type: Injectable,
15172
15052
  args: [{
15173
15053
  providedIn: 'root'
@@ -15192,10 +15072,10 @@ class SoleDetailsService extends RestService$1 {
15192
15072
  get() {
15193
15073
  return super.get().pipe(map(soleDetails => soleDetails.length ? soleDetails : new Collection([plainToClass(SoleDetails, {})])));
15194
15074
  }
15195
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15196
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsService, providedIn: 'root' }); }
15075
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15076
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDetailsService, providedIn: 'root' }); }
15197
15077
  }
15198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsService, decorators: [{
15078
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDetailsService, decorators: [{
15199
15079
  type: Injectable,
15200
15080
  args: [{
15201
15081
  providedIn: 'root'
@@ -15229,10 +15109,10 @@ class SoleInvoiceService extends RestService$1 {
15229
15109
  }
15230
15110
  return this.cache.last.number + 1;
15231
15111
  }
15232
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15233
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' }); }
15112
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleInvoiceService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15113
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' }); }
15234
15114
  }
15235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceService, decorators: [{
15115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleInvoiceService, decorators: [{
15236
15116
  type: Injectable,
15237
15117
  args: [{
15238
15118
  providedIn: 'root'
@@ -15248,10 +15128,10 @@ class SoleInvoiceTemplateService extends RestService {
15248
15128
  this.modelClass = SoleInvoiceTemplate;
15249
15129
  this.url = 'sole-invoice-templates';
15250
15130
  }
15251
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15252
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' }); }
15131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15132
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' }); }
15253
15133
  }
15254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
15134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
15255
15135
  type: Injectable,
15256
15136
  args: [{
15257
15137
  providedIn: 'root'
@@ -15272,10 +15152,10 @@ class BasReportService extends RestService {
15272
15152
  this.modelClass = BasReport;
15273
15153
  this.url = 'bas-reports';
15274
15154
  }
15275
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15276
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasReportService, providedIn: 'root' }); }
15155
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15156
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasReportService, providedIn: 'root' }); }
15277
15157
  }
15278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasReportService, decorators: [{
15158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasReportService, decorators: [{
15279
15159
  type: Injectable,
15280
15160
  args: [{
15281
15161
  providedIn: 'root'
@@ -15299,10 +15179,10 @@ class ServicePaymentService extends RestService$1 {
15299
15179
  }
15300
15180
  return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
15301
15181
  }
15302
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15303
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentService, providedIn: 'root' }); }
15182
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15183
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePaymentService, providedIn: 'root' }); }
15304
15184
  }
15305
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentService, decorators: [{
15185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePaymentService, decorators: [{
15306
15186
  type: Injectable,
15307
15187
  args: [{
15308
15188
  providedIn: 'root'
@@ -15334,10 +15214,10 @@ class ServicePaymentMethodService extends RestService$1 {
15334
15214
  return this.http.put(`${this.apiUrl}/${paymentMethod.id}/default`, {})
15335
15215
  .pipe(map((updatedPaymentMethod) => plainToClass(ServicePaymentMethod, updatedPaymentMethod)));
15336
15216
  }
15337
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15338
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' }); }
15217
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15218
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' }); }
15339
15219
  }
15340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
15220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
15341
15221
  type: Injectable,
15342
15222
  args: [{
15343
15223
  providedIn: 'root'
@@ -15358,10 +15238,10 @@ class ServicePriceService extends RestService$1 {
15358
15238
  this.collectionClass = ServicePriceCollection;
15359
15239
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
15360
15240
  }
15361
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15362
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePriceService, providedIn: 'root' }); }
15241
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15242
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePriceService, providedIn: 'root' }); }
15363
15243
  }
15364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServicePriceService, decorators: [{
15244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServicePriceService, decorators: [{
15365
15245
  type: Injectable,
15366
15246
  args: [{
15367
15247
  providedIn: 'root'
@@ -15446,10 +15326,10 @@ class SubscriptionService extends RestService$1 {
15446
15326
  get(path = this.apiUrl) {
15447
15327
  return super.get(path).pipe(map(subscriptions => subscriptions.sortBy('isActive', 'ask')));
15448
15328
  }
15449
- 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 }); }
15450
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SubscriptionService, providedIn: 'root' }); }
15329
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15330
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SubscriptionService, providedIn: 'root' }); }
15451
15331
  }
15452
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SubscriptionService, decorators: [{
15332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SubscriptionService, decorators: [{
15453
15333
  type: Injectable,
15454
15334
  args: [{
15455
15335
  providedIn: 'root'
@@ -15467,10 +15347,10 @@ class ServiceProductService extends RestService$1 {
15467
15347
  this.endpointUri = 'service-products';
15468
15348
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
15469
15349
  }
15470
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15471
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceProductService, providedIn: 'root' }); }
15350
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15351
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServiceProductService, providedIn: 'root' }); }
15472
15352
  }
15473
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ServiceProductService, decorators: [{
15353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ServiceProductService, decorators: [{
15474
15354
  type: Injectable,
15475
15355
  args: [{
15476
15356
  providedIn: 'root'
@@ -15606,10 +15486,10 @@ class TaxReviewHistoryService extends RestService {
15606
15486
  this.updateCache();
15607
15487
  });
15608
15488
  }
15609
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewHistoryService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15610
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' }); }
15489
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReviewHistoryService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15490
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' }); }
15611
15491
  }
15612
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
15492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
15613
15493
  type: Injectable,
15614
15494
  args: [{
15615
15495
  providedIn: 'root'
@@ -15702,10 +15582,10 @@ class TaxReviewService extends RestService {
15702
15582
  }
15703
15583
  });
15704
15584
  }
15705
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15706
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewService, providedIn: 'root' }); }
15585
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReviewService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15586
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReviewService, providedIn: 'root' }); }
15707
15587
  }
15708
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReviewService, decorators: [{
15588
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReviewService, decorators: [{
15709
15589
  type: Injectable,
15710
15590
  args: [{
15711
15591
  providedIn: 'root'
@@ -16036,10 +15916,10 @@ class TaxSummaryService {
16036
15916
  this.getForecast().subscribe();
16037
15917
  });
16038
15918
  }
16039
- 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 }); }
16040
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxSummaryService, providedIn: 'root' }); }
15919
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
15920
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxSummaryService, providedIn: 'root' }); }
16041
15921
  }
16042
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxSummaryService, decorators: [{
15922
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxSummaryService, decorators: [{
16043
15923
  type: Injectable,
16044
15924
  args: [{
16045
15925
  providedIn: 'root'
@@ -16060,10 +15940,10 @@ class AllocationRuleService extends RestService$1 {
16060
15940
  getCustomHttpErrorMessages() {
16061
15941
  return { 422: 'You can only have 10 conditions in a rule' };
16062
15942
  }
16063
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16064
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AllocationRuleService, providedIn: 'root' }); }
15943
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15944
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AllocationRuleService, providedIn: 'root' }); }
16065
15945
  }
16066
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AllocationRuleService, decorators: [{
15946
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AllocationRuleService, decorators: [{
16067
15947
  type: Injectable,
16068
15948
  args: [{
16069
15949
  providedIn: 'root'
@@ -16168,10 +16048,10 @@ class TransactionAllocationService extends RestService {
16168
16048
  }
16169
16049
  });
16170
16050
  }
16171
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionAllocationService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16172
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' }); }
16051
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TransactionAllocationService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16052
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' }); }
16173
16053
  }
16174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionAllocationService, decorators: [{
16054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TransactionAllocationService, decorators: [{
16175
16055
  type: Injectable,
16176
16056
  args: [{
16177
16057
  providedIn: 'root'
@@ -16423,10 +16303,10 @@ class TransactionService extends RestService {
16423
16303
  }
16424
16304
  });
16425
16305
  }
16426
- 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 }); }
16427
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionService, providedIn: 'root' }); }
16306
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16307
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TransactionService, providedIn: 'root' }); }
16428
16308
  }
16429
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TransactionService, decorators: [{
16309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TransactionService, decorators: [{
16430
16310
  type: Injectable,
16431
16311
  args: [{
16432
16312
  providedIn: 'root'
@@ -16452,10 +16332,10 @@ class PriorTransactionService extends RestService$1 {
16452
16332
  const financialYear = new FinancialYear(new FinancialYear().year - 1);
16453
16333
  return super.get(this.apiUrl + `?financialYear=${financialYear.year}`).pipe(map(transactions => transactions.filterByFinancialYear('date', null, financialYear)));
16454
16334
  }
16455
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PriorTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16456
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PriorTransactionService, providedIn: 'root' }); }
16335
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PriorTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16336
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PriorTransactionService, providedIn: 'root' }); }
16457
16337
  }
16458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PriorTransactionService, decorators: [{
16338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PriorTransactionService, decorators: [{
16459
16339
  type: Injectable,
16460
16340
  args: [{
16461
16341
  providedIn: 'root'
@@ -16477,10 +16357,10 @@ class InvoiceTransactionsService extends RestService$1 {
16477
16357
  this.endpointUri = 'invoices/transactions';
16478
16358
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
16479
16359
  }
16480
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InvoiceTransactionsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16481
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InvoiceTransactionsService, providedIn: 'root' }); }
16360
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InvoiceTransactionsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16361
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InvoiceTransactionsService, providedIn: 'root' }); }
16482
16362
  }
16483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InvoiceTransactionsService, decorators: [{
16363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InvoiceTransactionsService, decorators: [{
16484
16364
  type: Injectable,
16485
16365
  args: [{
16486
16366
  providedIn: 'root'
@@ -16504,10 +16384,10 @@ class YoutubeService {
16504
16384
  title: item.snippet.title
16505
16385
  }))));
16506
16386
  }
16507
- 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 }); }
16508
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: YoutubeService, providedIn: 'root' }); }
16387
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: YoutubeService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16388
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: YoutubeService, providedIn: 'root' }); }
16509
16389
  }
16510
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: YoutubeService, decorators: [{
16390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: YoutubeService, decorators: [{
16511
16391
  type: Injectable,
16512
16392
  args: [{
16513
16393
  providedIn: 'root'
@@ -16527,10 +16407,10 @@ class VehicleService extends RestService$1 {
16527
16407
  this.collectionClass = (Collection);
16528
16408
  this.modelClass = Vehicle;
16529
16409
  }
16530
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16531
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleService, providedIn: 'root' }); }
16410
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16411
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleService, providedIn: 'root' }); }
16532
16412
  }
16533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleService, decorators: [{
16413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleService, decorators: [{
16534
16414
  type: Injectable,
16535
16415
  args: [{
16536
16416
  providedIn: 'root'
@@ -16560,10 +16440,10 @@ class VehicleClaimService extends RestService$1 {
16560
16440
  this.refreshCache();
16561
16441
  });
16562
16442
  }
16563
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16564
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimService, providedIn: 'root' }); }
16443
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleClaimService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16444
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleClaimService, providedIn: 'root' }); }
16565
16445
  }
16566
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimService, decorators: [{
16446
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleClaimService, decorators: [{
16567
16447
  type: Injectable,
16568
16448
  args: [{
16569
16449
  providedIn: 'root'
@@ -16625,10 +16505,10 @@ class VehicleClaimDetailsService {
16625
16505
  const vehicleClaimDetails = plainToClass(VehicleClaimDetails, Object.assign({}, this.cache, { isManual: true }));
16626
16506
  this.update(vehicleClaimDetails).subscribe();
16627
16507
  }
16628
- 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 }); }
16629
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' }); }
16508
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable }); }
16509
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' }); }
16630
16510
  }
16631
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
16511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
16632
16512
  type: Injectable,
16633
16513
  args: [{
16634
16514
  providedIn: 'root'
@@ -16649,10 +16529,10 @@ class VehicleLogbookService extends RestService$1 {
16649
16529
  this.collectionClass = VehicleLogbookCollection;
16650
16530
  this.modelClass = VehicleLogbook;
16651
16531
  }
16652
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16653
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' }); }
16532
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16533
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' }); }
16654
16534
  }
16655
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: VehicleLogbookService, decorators: [{
16535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: VehicleLogbookService, decorators: [{
16656
16536
  type: Injectable,
16657
16537
  args: [{
16658
16538
  providedIn: 'root'
@@ -16675,10 +16555,10 @@ class AnnualClientDetailsService extends RestService$1 {
16675
16555
  this.endpointUri = 'annual-client-details';
16676
16556
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
16677
16557
  }
16678
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16679
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' }); }
16558
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16559
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' }); }
16680
16560
  }
16681
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
16561
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
16682
16562
  type: Injectable,
16683
16563
  args: [{
16684
16564
  providedIn: 'root'
@@ -16708,10 +16588,10 @@ class OccupationService {
16708
16588
  }
16709
16589
  return this.occupationsSubject.asObservable();
16710
16590
  }
16711
- 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 }); }
16712
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: OccupationService, providedIn: 'root' }); }
16591
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16592
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: OccupationService, providedIn: 'root' }); }
16713
16593
  }
16714
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: OccupationService, decorators: [{
16594
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: OccupationService, decorators: [{
16715
16595
  type: Injectable,
16716
16596
  args: [{
16717
16597
  providedIn: 'root'
@@ -16733,10 +16613,10 @@ class ClientCouponService extends RestService$1 {
16733
16613
  this.endpointUri = 'users/current/promo-code';
16734
16614
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
16735
16615
  }
16736
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientCouponService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16737
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientCouponService, providedIn: 'root' }); }
16616
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientCouponService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16617
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientCouponService, providedIn: 'root' }); }
16738
16618
  }
16739
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientCouponService, decorators: [{
16619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientCouponService, decorators: [{
16740
16620
  type: Injectable,
16741
16621
  args: [{
16742
16622
  providedIn: 'root'
@@ -16751,10 +16631,10 @@ class CapitalLossService extends RestService$1 {
16751
16631
  this.collectionClass = (Collection);
16752
16632
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
16753
16633
  }
16754
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CapitalLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16755
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CapitalLossService, providedIn: 'root' }); }
16634
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CapitalLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16635
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CapitalLossService, providedIn: 'root' }); }
16756
16636
  }
16757
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CapitalLossService, decorators: [{
16637
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CapitalLossService, decorators: [{
16758
16638
  type: Injectable,
16759
16639
  args: [{
16760
16640
  providedIn: 'root'
@@ -16817,10 +16697,10 @@ class UserEventSettingService extends RestService$1 {
16817
16697
  this.endpointUri = 'user-event-settings';
16818
16698
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
16819
16699
  }
16820
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16821
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventSettingService, providedIn: 'root' }); }
16700
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16701
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserEventSettingService, providedIn: 'root' }); }
16822
16702
  }
16823
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventSettingService, decorators: [{
16703
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserEventSettingService, decorators: [{
16824
16704
  type: Injectable,
16825
16705
  args: [{
16826
16706
  providedIn: 'root'
@@ -16835,10 +16715,10 @@ class UserEventTypeService extends RestService$1 {
16835
16715
  this.endpointUri = 'user-event-types';
16836
16716
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
16837
16717
  }
16838
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16839
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventTypeService, providedIn: 'root' }); }
16718
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16719
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserEventTypeService, providedIn: 'root' }); }
16840
16720
  }
16841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserEventTypeService, decorators: [{
16721
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserEventTypeService, decorators: [{
16842
16722
  type: Injectable,
16843
16723
  args: [{
16844
16724
  providedIn: 'root'
@@ -16865,10 +16745,10 @@ class UsersInviteService extends RestService {
16865
16745
  this.modelClass = RegistrationInvite;
16866
16746
  this.url = 'users/invite';
16867
16747
  }
16868
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16869
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersInviteService, providedIn: 'root' }); }
16748
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16749
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersInviteService, providedIn: 'root' }); }
16870
16750
  }
16871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersInviteService, decorators: [{
16751
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersInviteService, decorators: [{
16872
16752
  type: Injectable,
16873
16753
  args: [{
16874
16754
  providedIn: 'root'
@@ -16983,10 +16863,10 @@ class UserService extends RestService$1 {
16983
16863
  this.setCache([user], true);
16984
16864
  }, ['post', 'put']);
16985
16865
  }
16986
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16987
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserService, providedIn: 'root' }); }
16866
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16867
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserService, providedIn: 'root' }); }
16988
16868
  }
16989
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserService, decorators: [{
16869
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserService, decorators: [{
16990
16870
  type: Injectable,
16991
16871
  args: [{
16992
16872
  providedIn: 'root'
@@ -17007,10 +16887,10 @@ class FinancialYearService {
17007
16887
  window.location.reload();
17008
16888
  }));
17009
16889
  }
17010
- 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 }); }
17011
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearService, providedIn: 'root' }); }
16890
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FinancialYearService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16891
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FinancialYearService, providedIn: 'root' }); }
17012
16892
  }
17013
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FinancialYearService, decorators: [{
16893
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FinancialYearService, decorators: [{
17014
16894
  type: Injectable,
17015
16895
  args: [{
17016
16896
  providedIn: 'root'
@@ -17054,10 +16934,10 @@ class MfaDetailsService extends RestService$1 {
17054
16934
  return mfaDetails;
17055
16935
  }));
17056
16936
  }
17057
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MfaDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17058
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MfaDetailsService, providedIn: 'root' }); }
16937
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MfaDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
16938
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MfaDetailsService, providedIn: 'root' }); }
17059
16939
  }
17060
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MfaDetailsService, decorators: [{
16940
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MfaDetailsService, decorators: [{
17061
16941
  type: Injectable,
17062
16942
  args: [{
17063
16943
  providedIn: 'root'
@@ -17094,10 +16974,10 @@ class HoldingTradeService extends RestService$1 {
17094
16974
  }
17095
16975
  });
17096
16976
  }
17097
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
17098
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeService, providedIn: 'root' }); }
16977
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTradeService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16978
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTradeService, providedIn: 'root' }); }
17099
16979
  }
17100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeService, decorators: [{
16980
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTradeService, decorators: [{
17101
16981
  type: Injectable,
17102
16982
  args: [{
17103
16983
  providedIn: 'root'
@@ -17134,10 +17014,10 @@ class HoldingTypeService extends RestService$1 {
17134
17014
  }
17135
17015
  });
17136
17016
  }
17137
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
17138
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeService, providedIn: 'root' }); }
17017
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTypeService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
17018
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTypeService, providedIn: 'root' }); }
17139
17019
  }
17140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeService, decorators: [{
17020
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTypeService, decorators: [{
17141
17021
  type: Injectable,
17142
17022
  args: [{
17143
17023
  providedIn: 'root'
@@ -17156,10 +17036,10 @@ class HoldingSaleService extends RestService$1 {
17156
17036
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
17157
17037
  this.roles = [UserRolesEnum$1.HOLDING_TANK];
17158
17038
  }
17159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17160
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingSaleService, providedIn: 'root' }); }
17039
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17040
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingSaleService, providedIn: 'root' }); }
17161
17041
  }
17162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingSaleService, decorators: [{
17042
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingSaleService, decorators: [{
17163
17043
  type: Injectable,
17164
17044
  args: [{
17165
17045
  providedIn: 'root'
@@ -17201,10 +17081,10 @@ class HoldingTradeImportService extends RestService$1 {
17201
17081
  return throwError(error);
17202
17082
  }));
17203
17083
  }
17204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeImportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17205
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeImportService, providedIn: 'root' }); }
17084
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTradeImportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17085
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTradeImportService, providedIn: 'root' }); }
17206
17086
  }
17207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTradeImportService, decorators: [{
17087
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTradeImportService, decorators: [{
17208
17088
  type: Injectable,
17209
17089
  args: [{
17210
17090
  providedIn: 'root'
@@ -17298,10 +17178,10 @@ class HoldingTypeExchangeService extends DataService {
17298
17178
  this.collectionClass = Collection;
17299
17179
  this.setCache(HoldingTypeExchanges);
17300
17180
  }
17301
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
17302
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' }); }
17181
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
17182
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' }); }
17303
17183
  }
17304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
17184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
17305
17185
  type: Injectable,
17306
17186
  args: [{
17307
17187
  providedIn: 'root'
@@ -17335,10 +17215,10 @@ class HomeOfficeClaimService extends RestService$1 {
17335
17215
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
17336
17216
  this.roles = [UserRolesEnum$1.WORK_TANK, UserRolesEnum$1.SOLE_TANK];
17337
17217
  }
17338
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17339
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeClaimService, providedIn: 'root' }); }
17218
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HomeOfficeClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17219
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HomeOfficeClaimService, providedIn: 'root' }); }
17340
17220
  }
17341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeClaimService, decorators: [{
17221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HomeOfficeClaimService, decorators: [{
17342
17222
  type: Injectable,
17343
17223
  args: [{
17344
17224
  providedIn: 'root'
@@ -17366,10 +17246,10 @@ class HomeOfficeLogService extends RestService$1 {
17366
17246
  listenEvents() {
17367
17247
  this.listenCSE(HomeOfficeClaim, this.refreshCache, ['post']);
17368
17248
  }
17369
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeLogService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
17370
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeLogService, providedIn: 'root' }); }
17249
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HomeOfficeLogService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
17250
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HomeOfficeLogService, providedIn: 'root' }); }
17371
17251
  }
17372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HomeOfficeLogService, decorators: [{
17252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HomeOfficeLogService, decorators: [{
17373
17253
  type: Injectable,
17374
17254
  args: [{
17375
17255
  providedIn: 'root'
@@ -17409,10 +17289,10 @@ class AussieService extends RestService$1 {
17409
17289
  postAppointment() {
17410
17290
  return this.http.delete(`${this.environment.apiV2}/aussie/appointments`);
17411
17291
  }
17412
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
17413
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieService, providedIn: 'root' }); }
17292
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AussieService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
17293
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AussieService, providedIn: 'root' }); }
17414
17294
  }
17415
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieService, decorators: [{
17295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AussieService, decorators: [{
17416
17296
  type: Injectable,
17417
17297
  args: [{
17418
17298
  providedIn: 'root'
@@ -17436,10 +17316,10 @@ class SharesightDetailsService extends RestService$1 {
17436
17316
  reconnect(sharesightDetails) {
17437
17317
  return this.put(sharesightDetails, `${this.apiUrl}/${sharesightDetails.id}/reconnect`);
17438
17318
  }
17439
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17440
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightDetailsService, providedIn: 'root' }); }
17319
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SharesightDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17320
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SharesightDetailsService, providedIn: 'root' }); }
17441
17321
  }
17442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightDetailsService, decorators: [{
17322
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SharesightDetailsService, decorators: [{
17443
17323
  type: Injectable,
17444
17324
  args: [{
17445
17325
  providedIn: 'root'
@@ -17457,10 +17337,10 @@ class SharesightPortfolioService extends RestService$1 {
17457
17337
  getExternal() {
17458
17338
  return this.fetch(`${this.apiUrl}/external`, false);
17459
17339
  }
17460
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightPortfolioService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17461
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightPortfolioService, providedIn: 'root' }); }
17340
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SharesightPortfolioService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
17341
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SharesightPortfolioService, providedIn: 'root' }); }
17462
17342
  }
17463
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SharesightPortfolioService, decorators: [{
17343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SharesightPortfolioService, decorators: [{
17464
17344
  type: Injectable,
17465
17345
  args: [{
17466
17346
  providedIn: 'root'
@@ -17537,10 +17417,10 @@ class IncomeSourceTypeService extends DataService {
17537
17417
  this.collectionClass = Collection;
17538
17418
  this.setCache(IncomeSourceTypes);
17539
17419
  }
17540
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
17541
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' }); }
17420
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
17421
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' }); }
17542
17422
  }
17543
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
17423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
17544
17424
  type: Injectable,
17545
17425
  args: [{
17546
17426
  providedIn: 'root'
@@ -17554,10 +17434,10 @@ class ChartAccountsValueService extends DataService {
17554
17434
  this.collectionClass = ChartAccountsValueCollection;
17555
17435
  this.setCache(ChartAccountsValues);
17556
17436
  }
17557
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
17558
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' }); }
17437
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
17438
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' }); }
17559
17439
  }
17560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChartAccountsValueService, decorators: [{
17440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ChartAccountsValueService, decorators: [{
17561
17441
  type: Injectable,
17562
17442
  args: [{
17563
17443
  providedIn: 'root'
@@ -19530,10 +19410,10 @@ class TaxReturnItemService extends DataService {
19530
19410
  this.collectionClass = Collection;
19531
19411
  this.setCache(TaxReturnItems);
19532
19412
  }
19533
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19534
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' }); }
19413
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19414
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' }); }
19535
19415
  }
19536
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TaxReturnItemService, decorators: [{
19416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TaxReturnItemService, decorators: [{
19537
19417
  type: Injectable,
19538
19418
  args: [{
19539
19419
  providedIn: 'root'
@@ -19548,10 +19428,10 @@ class SetupItemService extends RestService$1 {
19548
19428
  this.collectionClass = AccountSetupItemCollection;
19549
19429
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
19550
19430
  }
19551
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SetupItemService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
19552
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SetupItemService, providedIn: 'root' }); }
19431
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SetupItemService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
19432
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SetupItemService, providedIn: 'root' }); }
19553
19433
  }
19554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SetupItemService, decorators: [{
19434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SetupItemService, decorators: [{
19555
19435
  type: Injectable,
19556
19436
  args: [{
19557
19437
  providedIn: 'root'
@@ -19734,54 +19614,28 @@ class AccountSetupService {
19734
19614
  getSharesightDetails(importEnabled) {
19735
19615
  return this.sharesightDetailsService.getArray().pipe(map(details => details.filter(detail => importEnabled ? detail.importEnabled : detail.exportEnabled)));
19736
19616
  }
19737
- 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 }); }
19738
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountSetupService, providedIn: 'root' }); }
19617
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", 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 }); }
19618
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AccountSetupService, providedIn: 'root' }); }
19739
19619
  }
19740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountSetupService, decorators: [{
19620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AccountSetupService, decorators: [{
19741
19621
  type: Injectable,
19742
19622
  args: [{
19743
19623
  providedIn: 'root'
19744
19624
  }]
19745
19625
  }], ctorParameters: () => [{ type: SetupItemService }, { type: PropertyService }, { type: IncomeSourceService }, { type: BankConnectionService }, { type: BankAccountService }, { type: BankTransactionService }, { type: LoanService }, { type: AllocationRuleService }, { type: TransactionAllocationService }, { type: VehicleClaimService }, { type: HomeOfficeClaimService }, { type: TransactionService }, { type: DepreciationService }, { type: SoleBusinessService }, { type: HoldingTradeService }, { type: UserService }, { type: ClientMovementService }, { type: ClientInviteService }, { type: EmployeeService }, { type: EmployeeInviteService }, { type: FirmService }, { type: SharesightDetailsService }, { type: PropertyShareService }] });
19746
19626
 
19747
- class AdblockService {
19627
+ /**
19628
+ * service that checks adblock once we started application and saves this information
19629
+ * to unbound from promise of adblock-checker
19630
+ */
19631
+ class AdblockDetectorService {
19748
19632
  constructor() {
19749
- this.isAdBlockDetected = signal(false, ...(ngDevMode ? [{ debugName: "isAdBlockDetected" }] : []));
19750
- /**
19751
- * do we need to show initial or recurrent notification
19752
- */
19753
- this.isNotificationShown = signal(true, ...(ngDevMode ? [{ debugName: "isNotificationShown" }] : []));
19754
- /**
19755
- * checkAdBlock is promise based, so we need to know when service is ready
19756
- */
19757
- this.serviceInitSubject = new Subject();
19758
- this.isInitialModalClosed = signal(false, ...(ngDevMode ? [{ debugName: "isInitialModalClosed" }] : []));
19759
- checkAdBlock().then((isWorking) => {
19760
- this.isAdBlockDetected.set(isWorking);
19761
- this.setNotificationShown(this.getNotificationShown());
19762
- this.setInitialModalClosed(this.getInitialModalClosed());
19763
- this.serviceInitSubject.next(true);
19764
- this.serviceInitSubject.complete();
19765
- });
19766
- }
19767
- getNotificationShown() {
19768
- return JSON.parse(localStorage.getItem('isNotificationShown')) || false;
19769
- }
19770
- setNotificationShown(isShown) {
19771
- localStorage.setItem('isNotificationShown', `${isShown}`);
19772
- this.isNotificationShown.set(isShown);
19773
- }
19774
- setInitialModalClosed(isClosed) {
19775
- localStorage.setItem('isInitialModalClosed', `${isClosed}`);
19776
- this.isInitialModalClosed.set(isClosed);
19777
- }
19778
- getInitialModalClosed() {
19779
- return JSON.parse(localStorage.getItem('isInitialModalClosed')) || false;
19633
+ checkAdBlock().then((isDetected) => this.isDetected = isDetected);
19780
19634
  }
19781
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdblockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19782
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdblockService, providedIn: 'root' }); }
19635
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AdblockDetectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19636
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AdblockDetectorService, providedIn: 'root' }); }
19783
19637
  }
19784
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AdblockService, decorators: [{
19638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AdblockDetectorService, decorators: [{
19785
19639
  type: Injectable,
19786
19640
  args: [{
19787
19641
  providedIn: 'root'
@@ -19833,10 +19687,10 @@ class MixpanelService {
19833
19687
  }
19834
19688
  mixpanel['track_pageview']();
19835
19689
  }
19836
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
19837
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MixpanelService, providedIn: 'root' }); }
19690
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MixpanelService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
19691
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MixpanelService, providedIn: 'root' }); }
19838
19692
  }
19839
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MixpanelService, decorators: [{
19693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MixpanelService, decorators: [{
19840
19694
  type: Injectable,
19841
19695
  args: [{
19842
19696
  providedIn: 'root'
@@ -19903,10 +19757,10 @@ class JwtService extends JwtHelperService {
19903
19757
  isMe(userId) {
19904
19758
  return this.decode().id === userId;
19905
19759
  }
19906
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
19907
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtService, providedIn: 'root' }); }
19760
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
19761
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtService, providedIn: 'root' }); }
19908
19762
  }
19909
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtService, decorators: [{
19763
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtService, decorators: [{
19910
19764
  type: Injectable,
19911
19765
  args: [{
19912
19766
  providedIn: 'root'
@@ -19947,10 +19801,10 @@ class AuthService {
19947
19801
  this.jwtService.destroyTokens();
19948
19802
  location.replace(url);
19949
19803
  }
19950
- 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 }); }
19951
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthService, providedIn: 'root' }); }
19804
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: MixpanelService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
19805
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthService, providedIn: 'root' }); }
19952
19806
  }
19953
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthService, decorators: [{
19807
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthService, decorators: [{
19954
19808
  type: Injectable,
19955
19809
  args: [{
19956
19810
  providedIn: 'root'
@@ -20087,10 +19941,10 @@ class JwtInterceptor {
20087
19941
  // });
20088
19942
  });
20089
19943
  }
20090
- 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 }); }
20091
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtInterceptor }); }
19944
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
19945
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtInterceptor }); }
20092
19946
  }
20093
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: JwtInterceptor, decorators: [{
19947
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtInterceptor, decorators: [{
20094
19948
  type: Injectable
20095
19949
  }], ctorParameters: () => [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
20096
19950
  type: Inject,
@@ -20098,9 +19952,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
20098
19952
  }] }] });
20099
19953
 
20100
19954
  let InterceptorsModule$1 = class InterceptorsModule {
20101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
20102
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule }); }
20103
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, providers: [
19955
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19956
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: InterceptorsModule }); }
19957
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InterceptorsModule, providers: [
20104
19958
  {
20105
19959
  provide: HTTP_INTERCEPTORS,
20106
19960
  useClass: JwtInterceptor,
@@ -20108,7 +19962,7 @@ let InterceptorsModule$1 = class InterceptorsModule {
20108
19962
  }
20109
19963
  ] }); }
20110
19964
  };
20111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule$1, decorators: [{
19965
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InterceptorsModule$1, decorators: [{
20112
19966
  type: NgModule,
20113
19967
  args: [{
20114
19968
  providers: [
@@ -20138,13 +19992,13 @@ class CommonModule {
20138
19992
  ]
20139
19993
  };
20140
19994
  }
20141
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
20142
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: CommonModule, imports: [CommonModule$1,
19995
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19996
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: CommonModule, imports: [CommonModule$1,
20143
19997
  InterceptorsModule$1] }); }
20144
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CommonModule, imports: [CommonModule$1,
19998
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CommonModule, imports: [CommonModule$1,
20145
19999
  InterceptorsModule$1] }); }
20146
20000
  }
20147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CommonModule, decorators: [{
20001
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CommonModule, decorators: [{
20148
20002
  type: NgModule,
20149
20003
  args: [{
20150
20004
  declarations: [],
@@ -20191,10 +20045,10 @@ class UserSwitcherService {
20191
20045
  window.location.replace('/client/dashboard');
20192
20046
  });
20193
20047
  }
20194
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
20195
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherService, providedIn: 'root' }); }
20048
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserSwitcherService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
20049
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserSwitcherService, providedIn: 'root' }); }
20196
20050
  }
20197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherService, decorators: [{
20051
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserSwitcherService, decorators: [{
20198
20052
  type: Injectable,
20199
20053
  args: [{
20200
20054
  providedIn: 'root'
@@ -20238,10 +20092,10 @@ class AssetsService {
20238
20092
  delete(entityId, asset) {
20239
20093
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
20240
20094
  }
20241
- 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 }); }
20242
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AssetsService, providedIn: 'root' }); }
20095
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
20096
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AssetsService, providedIn: 'root' }); }
20243
20097
  }
20244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AssetsService, decorators: [{
20098
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AssetsService, decorators: [{
20245
20099
  type: Injectable,
20246
20100
  args: [{
20247
20101
  providedIn: 'root'
@@ -20269,10 +20123,10 @@ class BankAccountCalculationService {
20269
20123
  getNetPosition(bankAccounts, bankTransactions, allocations) {
20270
20124
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
20271
20125
  }
20272
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20273
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' }); }
20126
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankAccountCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20127
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' }); }
20274
20128
  }
20275
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BankAccountCalculationService, decorators: [{
20129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BankAccountCalculationService, decorators: [{
20276
20130
  type: Injectable,
20277
20131
  args: [{
20278
20132
  providedIn: 'root'
@@ -20299,10 +20153,10 @@ class ExportFormatterService {
20299
20153
  }
20300
20154
  }));
20301
20155
  }
20302
- 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 }); }
20303
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExportFormatterService, providedIn: 'root' }); }
20156
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable }); }
20157
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExportFormatterService, providedIn: 'root' }); }
20304
20158
  }
20305
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExportFormatterService, decorators: [{
20159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ExportFormatterService, decorators: [{
20306
20160
  type: Injectable,
20307
20161
  args: [{
20308
20162
  providedIn: 'root'
@@ -20322,10 +20176,10 @@ class HeaderTitleService {
20322
20176
  return route;
20323
20177
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
20324
20178
  }
20325
- 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 }); }
20326
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HeaderTitleService, providedIn: 'root' }); }
20179
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
20180
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HeaderTitleService, providedIn: 'root' }); }
20327
20181
  }
20328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HeaderTitleService, decorators: [{
20182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: HeaderTitleService, decorators: [{
20329
20183
  type: Injectable,
20330
20184
  args: [{
20331
20185
  providedIn: 'root'
@@ -20358,10 +20212,10 @@ class IntercomService {
20358
20212
  const connectionCredentials = this.initUser(user);
20359
20213
  window.Intercom('boot', connectionCredentials);
20360
20214
  }
20361
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
20362
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IntercomService, providedIn: 'root' }); }
20215
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
20216
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IntercomService, providedIn: 'root' }); }
20363
20217
  }
20364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IntercomService, decorators: [{
20218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: IntercomService, decorators: [{
20365
20219
  type: Injectable,
20366
20220
  args: [{
20367
20221
  providedIn: 'root'
@@ -20438,20 +20292,20 @@ class PdfFromDomElementService {
20438
20292
  if (!document.getElementById('pdf-export-style')) {
20439
20293
  const style = document.createElement('style');
20440
20294
  style.id = 'pdf-export-style';
20441
- style.textContent = `
20442
- .pdf-export input.mat-mdc-input-element {
20443
- height: 30px !important;
20444
- margin-top: 20px;
20445
- padding: 0 15px !important;
20446
- }
20295
+ style.textContent = `
20296
+ .pdf-export input.mat-mdc-input-element {
20297
+ height: 30px !important;
20298
+ margin-top: 20px;
20299
+ padding: 0 15px !important;
20300
+ }
20447
20301
  `;
20448
20302
  document.head.appendChild(style);
20449
20303
  }
20450
20304
  }
20451
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20452
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' }); }
20305
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20306
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' }); }
20453
20307
  }
20454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDomElementService, decorators: [{
20308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromDomElementService, decorators: [{
20455
20309
  type: Injectable,
20456
20310
  args: [{
20457
20311
  providedIn: 'root'
@@ -20567,10 +20421,10 @@ class PdfFromTableService {
20567
20421
  startY: lastTableCoords + FILE_SETTINGS.titleCoords.top / 2,
20568
20422
  });
20569
20423
  }
20570
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20571
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromTableService, providedIn: 'root' }); }
20424
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20425
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromTableService, providedIn: 'root' }); }
20572
20426
  }
20573
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromTableService, decorators: [{
20427
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromTableService, decorators: [{
20574
20428
  type: Injectable,
20575
20429
  args: [{
20576
20430
  providedIn: 'root'
@@ -20612,10 +20466,10 @@ class PdfFromDataTableService extends PdfFromTableService {
20612
20466
  });
20613
20467
  return pdf;
20614
20468
  }
20615
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
20616
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' }); }
20469
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
20470
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' }); }
20617
20471
  }
20618
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromDataTableService, decorators: [{
20472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromDataTableService, decorators: [{
20619
20473
  type: Injectable,
20620
20474
  args: [{
20621
20475
  providedIn: 'root'
@@ -20664,10 +20518,10 @@ class PdfFromHtmlTableService extends PdfFromTableService {
20664
20518
  Array.from(caption.children).map((node) => node.textContent).join('\n') :
20665
20519
  caption.innerText;
20666
20520
  }
20667
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
20668
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' }); }
20521
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
20522
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' }); }
20669
20523
  }
20670
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
20524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
20671
20525
  type: Injectable,
20672
20526
  args: [{
20673
20527
  providedIn: 'root'
@@ -20691,16 +20545,60 @@ class PreloaderService {
20691
20545
  activePreloaders = activePreloaders.filter((preloader) => preloader !== endpoint);
20692
20546
  this.activePreloaders.next(activePreloaders);
20693
20547
  }
20694
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20695
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderService, providedIn: 'root' }); }
20548
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20549
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreloaderService, providedIn: 'root' }); }
20696
20550
  }
20697
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderService, decorators: [{
20551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreloaderService, decorators: [{
20698
20552
  type: Injectable,
20699
20553
  args: [{
20700
20554
  providedIn: 'root'
20701
20555
  }]
20702
20556
  }], ctorParameters: () => [] });
20703
20557
 
20558
+ var CorelogicMessagesEnum;
20559
+ (function (CorelogicMessagesEnum) {
20560
+ CorelogicMessagesEnum["SERVICE_UNAVAILABLE"] = "Corelogic service is temporary unavailable, please try again in a few minutes.";
20561
+ })(CorelogicMessagesEnum || (CorelogicMessagesEnum = {}));
20562
+
20563
+ class CorelogicService {
20564
+ constructor(http, toastService, environment) {
20565
+ this.http = http;
20566
+ this.toastService = toastService;
20567
+ this.environment = environment;
20568
+ this.accessTokenSubject = new ReplaySubject(1);
20569
+ }
20570
+ getAccessToken(force = false) {
20571
+ if (!this._accessToken || force) {
20572
+ this.http.get(`${this.environment.apiV2}/corelogic/tokens`)
20573
+ .pipe(map((response) => response.access_token))
20574
+ .subscribe((token) => {
20575
+ this._accessToken = token;
20576
+ this.accessTokenSubject.next(this._accessToken);
20577
+ });
20578
+ }
20579
+ return this.accessTokenSubject.asObservable();
20580
+ }
20581
+ getSuggestions(query, country = 'au') {
20582
+ // @TODO handle different countries in future
20583
+ return this.http.get(`${this.environment.coreLogicUrl}/property/${country}/v2/suggest.json?q=${query}`)
20584
+ .pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))), catchError((error) => {
20585
+ this.toastService.error(CorelogicMessagesEnum.SERVICE_UNAVAILABLE);
20586
+ return throwError(() => error);
20587
+ }));
20588
+ }
20589
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
20590
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CorelogicService, providedIn: 'root' }); }
20591
+ }
20592
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CorelogicService, decorators: [{
20593
+ type: Injectable,
20594
+ args: [{
20595
+ providedIn: 'root'
20596
+ }]
20597
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ToastService }, { type: undefined, decorators: [{
20598
+ type: Inject,
20599
+ args: ['environment']
20600
+ }] }] });
20601
+
20704
20602
  /**
20705
20603
  * Service for get property equity position half-year history chart data
20706
20604
  */
@@ -20720,10 +20618,10 @@ class EquityPositionChartService {
20720
20618
  }))
20721
20619
  }))));
20722
20620
  }
20723
- 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 }); }
20724
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' }); }
20621
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
20622
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' }); }
20725
20623
  }
20726
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EquityPositionChartService, decorators: [{
20624
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EquityPositionChartService, decorators: [{
20727
20625
  type: Injectable,
20728
20626
  args: [{
20729
20627
  providedIn: 'root'
@@ -20894,10 +20792,10 @@ class PropertyCalculationService {
20894
20792
  return new Badge('Monitoring performance');
20895
20793
  }
20896
20794
  }
20897
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20898
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' }); }
20795
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20796
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' }); }
20899
20797
  }
20900
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyCalculationService, decorators: [{
20798
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyCalculationService, decorators: [{
20901
20799
  type: Injectable,
20902
20800
  args: [{
20903
20801
  providedIn: 'root'
@@ -20955,10 +20853,10 @@ class PropertyTransactionReportService {
20955
20853
  getDepreciations() {
20956
20854
  return this.depreciationService.get().pipe(map((depreciations) => depreciations.getByChartAccountsCategories(CHART_ACCOUNTS_CATEGORIES.property)));
20957
20855
  }
20958
- 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 }); }
20959
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' }); }
20856
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
20857
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' }); }
20960
20858
  }
20961
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
20859
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
20962
20860
  type: Injectable,
20963
20861
  args: [{
20964
20862
  providedIn: 'root'
@@ -20978,10 +20876,10 @@ class CurrentFirmBranchService {
20978
20876
  set(firmBranches) {
20979
20877
  this.firmBranchIds$.next(firmBranches.map(branch => branch.id));
20980
20878
  }
20981
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentFirmBranchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20982
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentFirmBranchService, providedIn: 'root' }); }
20879
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CurrentFirmBranchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20880
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CurrentFirmBranchService, providedIn: 'root' }); }
20983
20881
  }
20984
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentFirmBranchService, decorators: [{
20882
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CurrentFirmBranchService, decorators: [{
20985
20883
  type: Injectable,
20986
20884
  args: [{
20987
20885
  providedIn: 'root'
@@ -21079,16 +20977,92 @@ class XlsxService {
21079
20977
  });
21080
20978
  FileSaver.saveAs(data, `${fileName}.xlsx`);
21081
20979
  }
21082
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
21083
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: XlsxService, providedIn: 'root' }); }
20980
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20981
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XlsxService, providedIn: 'root' }); }
21084
20982
  }
21085
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: XlsxService, decorators: [{
20983
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XlsxService, decorators: [{
21086
20984
  type: Injectable,
21087
20985
  args: [{
21088
20986
  providedIn: 'root'
21089
20987
  }]
21090
20988
  }] });
21091
20989
 
20990
+ /**
20991
+ * Corelogic interceptor add Core Logic access token for each search requests related with Core Logic API
20992
+ */
20993
+ class CorelogicInterceptor {
20994
+ constructor(corelogicService, environment) {
20995
+ this.corelogicService = corelogicService;
20996
+ this.environment = environment;
20997
+ }
20998
+ intercept(request, next) {
20999
+ // skip non-corelogic requests
21000
+ if (!request.url.includes(this.environment.coreLogicUrl)) {
21001
+ return next.handle(request);
21002
+ }
21003
+ // don't need token for this endpoint
21004
+ if (request.url.includes(`${this.environment.coreLogicUrl}/access/oauth/token`)) {
21005
+ return next.handle(request);
21006
+ }
21007
+ return this.corelogicService.getAccessToken()
21008
+ .pipe(mergeMap((token) => next.handle(this.addToken(request, token))));
21009
+ }
21010
+ addToken(request, token) {
21011
+ return request.clone({
21012
+ setHeaders: {
21013
+ Authorization: 'Bearer ' + token
21014
+ }
21015
+ });
21016
+ }
21017
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21018
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CorelogicInterceptor }); }
21019
+ }
21020
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CorelogicInterceptor, decorators: [{
21021
+ type: Injectable
21022
+ }], ctorParameters: () => [{ type: CorelogicService }, { type: undefined, decorators: [{
21023
+ type: Inject,
21024
+ args: ['environment']
21025
+ }] }] });
21026
+
21027
+ /**
21028
+ * Financial Year interceptor add financialYear parameter to requests because a lot of POST and GET requests require this parameter
21029
+ * @TODO now we can get current fin year from user on backend. So we can remove this interceptor
21030
+ */
21031
+ class FinancialYearInterceptor {
21032
+ constructor(environment) {
21033
+ this.environment = environment;
21034
+ }
21035
+ intercept(request, next) {
21036
+ // skip third party requests
21037
+ // @TODO Alex: Also check and ignore requests we don't need financial year
21038
+ if (!request.url.includes(this.environment.api_uri)) {
21039
+ return next.handle(request);
21040
+ }
21041
+ // Set financial year parameter to requests
21042
+ let params = new HttpParams({
21043
+ fromString: request.params.toString()
21044
+ });
21045
+ // clone request to add new parameters
21046
+ let clonedReq = request.clone();
21047
+ // @TODO query params should be passed using second param of get request and HttpParams object
21048
+ if (!params.get('financialYear') && !request.urlWithParams.includes('?financialYear') && !request.urlWithParams.includes('&financialYear')) {
21049
+ params = params.set('financialYear', localStorage.getItem('financialYear'));
21050
+ clonedReq = request.clone({
21051
+ params: params
21052
+ });
21053
+ }
21054
+ return next.handle(clonedReq);
21055
+ }
21056
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21057
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FinancialYearInterceptor }); }
21058
+ }
21059
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
21060
+ type: Injectable
21061
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
21062
+ type: Inject,
21063
+ args: ['environment']
21064
+ }] }] });
21065
+
21092
21066
  /**
21093
21067
  * Impersonate current's user (manager) to client experience with help of special header
21094
21068
  */
@@ -21116,10 +21090,10 @@ class UserSwitcherInterceptor {
21116
21090
  intercept(request, next) {
21117
21091
  return next.handle(this.switch(request, this.userSwitcherService.get()));
21118
21092
  }
21119
- 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 }); }
21120
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherInterceptor }); }
21093
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21094
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserSwitcherInterceptor }); }
21121
21095
  }
21122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
21096
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
21123
21097
  type: Injectable
21124
21098
  }], ctorParameters: () => [{ type: UserSwitcherService }, { type: undefined, decorators: [{
21125
21099
  type: Inject,
@@ -21462,10 +21436,10 @@ class PreloaderInterceptor {
21462
21436
  findEndpoint(requestPath) {
21463
21437
  return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
21464
21438
  }
21465
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }
21466
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderInterceptor }); }
21439
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }
21440
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreloaderInterceptor }); }
21467
21441
  }
21468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PreloaderInterceptor, decorators: [{
21442
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreloaderInterceptor, decorators: [{
21469
21443
  type: Injectable
21470
21444
  }], ctorParameters: () => [{ type: PreloaderService }] });
21471
21445
 
@@ -21490,10 +21464,10 @@ class BasiqTokenInterceptor {
21490
21464
  }
21491
21465
  });
21492
21466
  }
21493
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
21494
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenInterceptor }); }
21467
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
21468
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqTokenInterceptor }); }
21495
21469
  }
21496
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
21470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
21497
21471
  type: Injectable
21498
21472
  }], ctorParameters: () => [{ type: BasiqTokenService }] });
21499
21473
 
@@ -21516,10 +21490,10 @@ class BasiqClientIdInterceptor {
21516
21490
  url: request.url.replace('null', basiqClientId)
21517
21491
  });
21518
21492
  }
21519
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
21520
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqClientIdInterceptor }); }
21493
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
21494
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqClientIdInterceptor }); }
21521
21495
  }
21522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
21496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
21523
21497
  type: Injectable
21524
21498
  }], ctorParameters: () => [{ type: UserService }] });
21525
21499
 
@@ -21554,10 +21528,10 @@ class RewardfulInterceptor {
21554
21528
  && (window['Rewardful'].referral || window['Rewardful'].coupon?.id)
21555
21529
  && registrationUrls.some(registrationUrl => request.url.includes(registrationUrl));
21556
21530
  }
21557
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RewardfulInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21558
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RewardfulInterceptor }); }
21531
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RewardfulInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21532
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RewardfulInterceptor }); }
21559
21533
  }
21560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RewardfulInterceptor, decorators: [{
21534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RewardfulInterceptor, decorators: [{
21561
21535
  type: Injectable
21562
21536
  }], ctorParameters: () => [{ type: undefined, decorators: [{
21563
21537
  type: Inject,
@@ -21586,20 +21560,65 @@ class AussieInterceptor {
21586
21560
  }
21587
21561
  });
21588
21562
  }
21589
- 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 }); }
21590
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieInterceptor }); }
21563
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AussieInterceptor, deps: [{ token: AussieService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21564
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AussieInterceptor }); }
21591
21565
  }
21592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AussieInterceptor, decorators: [{
21566
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AussieInterceptor, decorators: [{
21593
21567
  type: Injectable
21594
21568
  }], ctorParameters: () => [{ type: AussieService }, { type: undefined, decorators: [{
21595
21569
  type: Inject,
21596
21570
  args: ['environment']
21597
21571
  }] }] });
21598
21572
 
21573
+ const ADBLOCK_ERROR_HTML = new InjectionToken('ADBLOCK_ERROR_HTML');
21574
+ const ADBLOCK_ERROR_HTML_VALUE = `
21575
+ <div class="text-center">
21576
+ <strong>Action needed - Your adblocker is blocking CoreLogic</strong>
21577
+ To add a property in TaxTank we need to fetch data from CoreLogic — but your ad blocker is getting in the way.
21578
+ Please disable your adblocker or whitelist TaxTank to continue.
21579
+ <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>
21580
+ </div>
21581
+ `;
21582
+
21583
+ /**
21584
+ * interceptor for handling errors which occurs because of adBlocker
21585
+ */
21586
+ class AdBlockErrorInterceptor {
21587
+ constructor(environment, adblockDetectService, toastService, adblockHtml) {
21588
+ this.environment = environment;
21589
+ this.adblockDetectService = adblockDetectService;
21590
+ this.toastService = toastService;
21591
+ this.adblockHtml = adblockHtml;
21592
+ }
21593
+ intercept(request, next) {
21594
+ if (!(request.url.includes(this.environment.api_uri) || request.url.includes(this.environment.apiV2))) {
21595
+ return next.handle(request).pipe(catchError((error) => {
21596
+ if (error.status === 0 && this.adblockDetectService.isDetected) {
21597
+ this.toastService.error(this.adblockHtml);
21598
+ return [];
21599
+ }
21600
+ return throwError(() => error);
21601
+ }));
21602
+ }
21603
+ return next.handle(request);
21604
+ }
21605
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AdBlockErrorInterceptor, deps: [{ token: 'environment' }, { token: AdblockDetectorService }, { token: ToastService }, { token: ADBLOCK_ERROR_HTML }], target: i0.ɵɵFactoryTarget.Injectable }); }
21606
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AdBlockErrorInterceptor }); }
21607
+ }
21608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AdBlockErrorInterceptor, decorators: [{
21609
+ type: Injectable
21610
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
21611
+ type: Inject,
21612
+ args: ['environment']
21613
+ }] }, { type: AdblockDetectorService }, { type: ToastService }, { type: undefined, decorators: [{
21614
+ type: Inject,
21615
+ args: [ADBLOCK_ERROR_HTML]
21616
+ }] }] });
21617
+
21599
21618
  class InterceptorsModule {
21600
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
21601
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule }); }
21602
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, providers: [
21619
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
21620
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: InterceptorsModule }); }
21621
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InterceptorsModule, providers: [
21603
21622
  {
21604
21623
  provide: HTTP_INTERCEPTORS,
21605
21624
  useClass: CorelogicInterceptor,
@@ -21640,10 +21659,19 @@ class InterceptorsModule {
21640
21659
  provide: HTTP_INTERCEPTORS,
21641
21660
  useClass: BasiqClientIdInterceptor,
21642
21661
  multi: true
21662
+ },
21663
+ {
21664
+ provide: HTTP_INTERCEPTORS,
21665
+ useClass: AdBlockErrorInterceptor,
21666
+ multi: true
21667
+ },
21668
+ {
21669
+ provide: ADBLOCK_ERROR_HTML,
21670
+ useValue: ADBLOCK_ERROR_HTML_VALUE
21643
21671
  }
21644
21672
  ] }); }
21645
21673
  }
21646
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: InterceptorsModule, decorators: [{
21674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: InterceptorsModule, decorators: [{
21647
21675
  type: NgModule,
21648
21676
  args: [{
21649
21677
  providers: [
@@ -21687,6 +21715,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
21687
21715
  provide: HTTP_INTERCEPTORS,
21688
21716
  useClass: BasiqClientIdInterceptor,
21689
21717
  multi: true
21718
+ },
21719
+ {
21720
+ provide: HTTP_INTERCEPTORS,
21721
+ useClass: AdBlockErrorInterceptor,
21722
+ multi: true
21723
+ },
21724
+ {
21725
+ provide: ADBLOCK_ERROR_HTML,
21726
+ useValue: ADBLOCK_ERROR_HTML_VALUE
21690
21727
  }
21691
21728
  ]
21692
21729
  }]
@@ -21696,13 +21733,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
21696
21733
  * https://angular.io/guide/creating-libraries
21697
21734
  */
21698
21735
  class CoreModule {
21699
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
21700
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: CoreModule, imports: [CommonModule$1,
21736
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
21737
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: CoreModule, imports: [CommonModule$1,
21701
21738
  InterceptorsModule] }); }
21702
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CoreModule, imports: [CommonModule$1,
21739
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CoreModule, imports: [CommonModule$1,
21703
21740
  InterceptorsModule] }); }
21704
21741
  }
21705
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CoreModule, decorators: [{
21742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CoreModule, decorators: [{
21706
21743
  type: NgModule,
21707
21744
  args: [{
21708
21745
  declarations: [],
@@ -21722,10 +21759,10 @@ class AppCurrencyPipe extends CurrencyPipe {
21722
21759
  digitsInfo = digitsInfo ?? '1.0-' + (value.toString().match(/[1-9]/)?.index || 2);
21723
21760
  return super.transform(value, currencyCode, display, digitsInfo, locale);
21724
21761
  }
21725
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
21726
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" }); }
21762
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
21763
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" }); }
21727
21764
  }
21728
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppCurrencyPipe, decorators: [{
21765
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AppCurrencyPipe, decorators: [{
21729
21766
  type: Pipe,
21730
21767
  args: [{
21731
21768
  name: 'appCurrency',
@@ -21740,10 +21777,10 @@ class SafeUrlPipe {
21740
21777
  transform(url) {
21741
21778
  return this.sanitizer.bypassSecurityTrustResourceUrl(url);
21742
21779
  }
21743
- 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 }); }
21744
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
21780
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
21781
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
21745
21782
  }
21746
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SafeUrlPipe, decorators: [{
21783
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SafeUrlPipe, decorators: [{
21747
21784
  type: Pipe,
21748
21785
  args: [{
21749
21786
  name: 'safeUrl',
@@ -21758,10 +21795,10 @@ class AppPercentPipe {
21758
21795
  transform(value, total, floor) {
21759
21796
  return this.percentagePipe.transform(value, total, floor) + '%';
21760
21797
  }
21761
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppPercentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
21762
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AppPercentPipe, isStandalone: true, name: "percentage" }); }
21798
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AppPercentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
21799
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: AppPercentPipe, isStandalone: true, name: "percentage" }); }
21763
21800
  }
21764
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppPercentPipe, decorators: [{
21801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AppPercentPipe, decorators: [{
21765
21802
  type: Pipe,
21766
21803
  args: [{
21767
21804
  name: 'percentage',
@@ -22135,10 +22172,10 @@ class BusinessResolver {
22135
22172
  resolve() {
22136
22173
  return this.soleDetailsService.getFirst();
22137
22174
  }
22138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BusinessResolver, deps: [{ token: SoleDetailsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22139
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BusinessResolver, providedIn: 'root' }); }
22175
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BusinessResolver, deps: [{ token: SoleDetailsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22176
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BusinessResolver, providedIn: 'root' }); }
22140
22177
  }
22141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: BusinessResolver, decorators: [{
22178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BusinessResolver, decorators: [{
22142
22179
  type: Injectable,
22143
22180
  args: [{ providedIn: 'root' }]
22144
22181
  }], ctorParameters: () => [{ type: SoleDetailsService }] });
@@ -22150,10 +22187,10 @@ class SoleDetailsResolver {
22150
22187
  resolve() {
22151
22188
  return this.soleDetails.getFirst();
22152
22189
  }
22153
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsResolver, deps: [{ token: SoleDetailsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22154
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsResolver, providedIn: 'root' }); }
22190
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDetailsResolver, deps: [{ token: SoleDetailsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22191
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDetailsResolver, providedIn: 'root' }); }
22155
22192
  }
22156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SoleDetailsResolver, decorators: [{
22193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SoleDetailsResolver, decorators: [{
22157
22194
  type: Injectable,
22158
22195
  args: [{ providedIn: 'root' }]
22159
22196
  }], ctorParameters: () => [{ type: SoleDetailsService }] });
@@ -22957,10 +22994,10 @@ class UniqueEmailValidator {
22957
22994
  validate(control) {
22958
22995
  return this.userService.search(control.value).pipe(map(user => user ? { emailIsUsed: true } : null));
22959
22996
  }
22960
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22961
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' }); }
22997
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UniqueEmailValidator, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22998
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UniqueEmailValidator, providedIn: 'root' }); }
22962
22999
  }
22963
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UniqueEmailValidator, decorators: [{
23000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UniqueEmailValidator, decorators: [{
22964
23001
  type: Injectable,
22965
23002
  args: [{ providedIn: 'root' }]
22966
23003
  }], ctorParameters: () => [{ type: UserService }] });
@@ -22976,7 +23013,7 @@ function nameValidator() {
22976
23013
  * @param controlsFn function to get controls from target parent
22977
23014
  * it's easier to pass controls instead of function, but it won't work with dynamic fields
22978
23015
  */
22979
- function matchSumValidator(controlsFn) {
23016
+ function matchSumValidator(controlsFn, error) {
22980
23017
  return (targetControl) => {
22981
23018
  const controls = controlsFn.bind(targetControl.parent)();
22982
23019
  if (controls.find(control => control.value === null) || targetControl.value === null) {
@@ -22984,7 +23021,7 @@ function matchSumValidator(controlsFn) {
22984
23021
  }
22985
23022
  const sum = controls.reduce((acc, control) => acc + control.value, 0);
22986
23023
  const targetValue = targetControl.value;
22987
- return sum.toFixed(2) === targetValue.toFixed(2) ? null : { matchSum: true };
23024
+ return sum.toFixed(2) === targetValue.toFixed(2) ? null : { matchSum: error };
22988
23025
  };
22989
23026
  }
22990
23027
 
@@ -23039,10 +23076,10 @@ class ClientMovementForm extends AbstractForm {
23039
23076
  firmBranch: new FormControl(clientMovement.firmBranch, [Validators.required]),
23040
23077
  }, clientMovement);
23041
23078
  }
23042
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementForm, deps: [{ token: ClientMovement }], target: i0.ɵɵFactoryTarget.Injectable }); }
23043
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementForm, providedIn: 'root' }); }
23079
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientMovementForm, deps: [{ token: ClientMovement }], target: i0.ɵɵFactoryTarget.Injectable }); }
23080
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientMovementForm, providedIn: 'root' }); }
23044
23081
  }
23045
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClientMovementForm, decorators: [{
23082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClientMovementForm, decorators: [{
23046
23083
  type: Injectable,
23047
23084
  args: [{
23048
23085
  providedIn: 'root'
@@ -23055,10 +23092,10 @@ class EmployeeDetailsForm extends AbstractForm {
23055
23092
  firmBranches: new FormControl(employeeDetails.firmBranches, [Validators.required]),
23056
23093
  }, employeeDetails);
23057
23094
  }
23058
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeDetailsForm, deps: [{ token: EmployeeDetails }], target: i0.ɵɵFactoryTarget.Injectable }); }
23059
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeDetailsForm, providedIn: 'root' }); }
23095
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeDetailsForm, deps: [{ token: EmployeeDetails }], target: i0.ɵɵFactoryTarget.Injectable }); }
23096
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeDetailsForm, providedIn: 'root' }); }
23060
23097
  }
23061
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EmployeeDetailsForm, decorators: [{
23098
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: EmployeeDetailsForm, decorators: [{
23062
23099
  type: Injectable,
23063
23100
  args: [{
23064
23101
  providedIn: 'root'
@@ -25771,7 +25808,7 @@ class HoldingIncomeForm extends WorkTransactionForm {
25771
25808
  incomeSource: new UntypedFormControl(transaction.incomeSource, [Validators.required, autocompleteValidator()]),
25772
25809
  });
25773
25810
  // transactionAmount=frankedAmount + unfrankedAmount
25774
- this.get('amount').setValidators([Validators.required, conditionalValidator(() => this.get('chartAccounts').value && this.get('chartAccounts').value.isDividends(), matchSumValidator(this.getAmountComponents))]);
25811
+ this.get('amount').setValidators([Validators.required, conditionalValidator(() => this.get('chartAccounts').value && this.get('chartAccounts').value.isDividends(), matchSumValidator(this.getAmountComponents, 'The Franked and Unfranked amounts entered do not equal the total Amount received. Please check and try again.'))]);
25775
25812
  // forbid to edit some fields for allocated transaction
25776
25813
  if (allocations.length) {
25777
25814
  this.get('chartAccounts').disable();
@@ -26340,5 +26377,5 @@ var MessagesEnum;
26340
26377
  * Generated bundle index. Do not edit.
26341
26378
  */
26342
26379
 
26343
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupItemStatusEnum, AccountSetupItemsEnum, AccountSetupService, AdblockService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AppPercentPipe, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AussieAppointment, AussieAppointmentForm, AussieBroker, AussieConfirmationForm, AussieService, AussieStore, AussieStoreForm, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionComment, BankTransactionCommentForm, BankTransactionCommentMessagesEnum, BankTransactionCommentService, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessChartAccountsEnum, BusinessResolver, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueCollection, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicMessagesEnum, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DateFormatsEnum, DateRange, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderCollection, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HTTP_ERROR_MESSAGES, HeaderTitleService, Holding, HoldingCollection, HoldingExpenseForm, HoldingIncomeForm, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleService, HoldingTrade, HoldingTradeCollection, HoldingTradeFilterForm, HoldingTradeForm, HoldingTradeImport, HoldingTradeImportForm, HoldingTradeImportMessagesEnum, HoldingTradeImportService, HoldingTradeMessagesEnum, HoldingTradeService, HoldingTradeTypeEnum, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, InvoiceTransactionsService, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MfaDetails, MfaDetailsForm, MfaDetailsMessagesEnum, MfaDetailsService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SharesightDetails, SharesightDetailsMessagesEnum, SharesightDetailsService, SharesightPortfolio, SharesightPortfolioMessages, SharesightPortfolioService, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsResolver, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TreeNodeData, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, YoutubeVideosEnum, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, nameValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
26380
+ export { ADBLOCK_ERROR_HTML, ADBLOCK_ERROR_HTML_VALUE, AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupItemStatusEnum, AccountSetupItemsEnum, AccountSetupService, AdblockDetectorService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AppPercentPipe, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AussieAppointment, AussieAppointmentForm, AussieBroker, AussieConfirmationForm, AussieService, AussieStore, AussieStoreForm, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionComment, BankTransactionCommentForm, BankTransactionCommentMessagesEnum, BankTransactionCommentService, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessChartAccountsEnum, BusinessResolver, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueCollection, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicMessagesEnum, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DateFormatsEnum, DateRange, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderCollection, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HTTP_ERROR_MESSAGES, HeaderTitleService, Holding, HoldingCollection, HoldingExpenseForm, HoldingIncomeForm, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleService, HoldingTrade, HoldingTradeCollection, HoldingTradeFilterForm, HoldingTradeForm, HoldingTradeImport, HoldingTradeImportForm, HoldingTradeImportMessagesEnum, HoldingTradeImportService, HoldingTradeMessagesEnum, HoldingTradeService, HoldingTradeTypeEnum, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, InvoiceTransactionsService, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MfaDetails, MfaDetailsForm, MfaDetailsMessagesEnum, MfaDetailsService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SharesightDetails, SharesightDetailsMessagesEnum, SharesightDetailsService, SharesightPortfolio, SharesightPortfolioMessages, SharesightPortfolioService, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsResolver, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TreeNodeData, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, YoutubeVideosEnum, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, nameValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
26344
26381
  //# sourceMappingURL=taxtank-core.mjs.map