taxtank-core 2.1.73 → 2.1.74

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.
@@ -25,9 +25,9 @@ import * as i3 from 'taxtank-core/common';
25
25
  import { UserRolesEnum as UserRolesEnum$1, MixpanelService as MixpanelService$1, JwtService as JwtService$1 } from 'taxtank-core/common';
26
26
  import range from 'lodash/range';
27
27
  import { Validators, FormGroup, FormArray, UntypedFormControl, UntypedFormArray, UntypedFormGroup, FormControl } from '@angular/forms';
28
+ import cloneDeep$1 from 'lodash/cloneDeep';
28
29
  import compact from 'lodash/compact';
29
30
  import groupBy from 'lodash/groupBy';
30
- import cloneDeep$1 from 'lodash/cloneDeep';
31
31
  import moment$1 from 'moment/moment';
32
32
  import { EventSourcePolyfill } from 'event-source-polyfill/src/eventsource.min.js';
33
33
  import clone from 'lodash/clone';
@@ -75,7 +75,7 @@ let Country$1 = class Country extends AbstractModel {
75
75
  };
76
76
 
77
77
  class Country extends Country$1 {
78
- static { this.australia = plainToClass(Country, { id: 14, name: 'Australia', callingCode: '61' }); }
78
+ static { this.australia = plainToClass(Country, { id: 14, name: 'Australia', code: 'au', callingCode: '61' }); }
79
79
  /**
80
80
  * Return country name with phone code
81
81
  */
@@ -159,6 +159,7 @@ var AddressTypeEnum;
159
159
  class Address extends Address$1 {
160
160
  constructor() {
161
161
  super(...arguments);
162
+ this.country = Country.australia;
162
163
  this.type = AddressTypeEnum.STREET;
163
164
  }
164
165
  toString() {
@@ -176,7 +177,7 @@ class Address extends Address$1 {
176
177
  * 12/23 Jackson avenue Sydney QLD 1212
177
178
  */
178
179
  get nameLong() {
179
- return `${this.name} ${this.city} ${this.state} ${this.postcode}`;
180
+ return this.address ? `${this.name} ${this.city} ${this.state} ${this.postcode}` : null;
180
181
  }
181
182
  /**
182
183
  * Street number may contain digits, letters, symbols '/' and '-', but not spaces
@@ -213,54 +214,6 @@ var StatesEnum;
213
214
  StatesEnum["WA"] = "WA (Western Australia)";
214
215
  })(StatesEnum || (StatesEnum = {}));
215
216
 
216
- /**
217
- * Class describe configuration options for basiq connect control
218
- * https://www.npmjs.com/package/@basiq/basiq-connect-control
219
- */
220
- class BasiqConfig {
221
- constructor(options) {
222
- // ID of the DOM element to which Basiq Connect Control will be rendered;
223
- this.containerId = 'basiq-control';
224
- Object.assign(this, options);
225
- }
226
- }
227
-
228
- let BasiqJob$1 = class BasiqJob extends AbstractModel {
229
- };
230
-
231
- class BasiqJob extends BasiqJob$1 {
232
- }
233
-
234
- class BasiqJobStep {
235
- isVerifyCredentials() {
236
- return this.title === 'verify-credentials';
237
- }
238
- isRetrieveAccounts() {
239
- return this.title === 'retrieve-accounts';
240
- }
241
- isInProgress() {
242
- return this.status === 'in-progress';
243
- }
244
- isSuccess() {
245
- return this.status === 'success';
246
- }
247
- isFailed() {
248
- return this.status === 'failed';
249
- }
250
- }
251
-
252
- class BasiqJobResponse {
253
- getVerifyCredentialsStep() {
254
- return this.steps.find((step) => step.isVerifyCredentials());
255
- }
256
- getRetrieveAccountsStep() {
257
- return this.steps.find((step) => step.isRetrieveAccounts());
258
- }
259
- }
260
- __decorate([
261
- Type(() => BasiqJobStep)
262
- ], BasiqJobResponse.prototype, "steps", void 0);
263
-
264
217
  class BankAccountBalance extends AbstractModel {
265
218
  }
266
219
  __decorate([
@@ -314,6 +267,9 @@ __decorate([
314
267
  let Bank$1 = class Bank extends AbstractModel {
315
268
  };
316
269
 
270
+ let BasiqJob$1 = class BasiqJob extends AbstractModel {
271
+ };
272
+
317
273
  let ChartAccountsDepreciation$1 = class ChartAccountsDepreciation extends ObservableModel {
318
274
  static { this.className = 'ChartAccountsDepreciation'; }
319
275
  };
@@ -489,42 +445,6 @@ var TimezoneEnum;
489
445
  TimezoneEnum["ACT"] = "Australia/Canberra";
490
446
  })(TimezoneEnum || (TimezoneEnum = {}));
491
447
 
492
- const COLORS = {
493
- primary: '#00B7F0',
494
- secondary: '#133F5D',
495
- blue: '#00A3FF',
496
- lightBlue: '#13C5D2',
497
- red: '#FF6159',
498
- grey: '#D8D8D8',
499
- darkGrey: '#9B9B9B',
500
- darkestGrey: '#4A4A4A',
501
- green: '#29c940',
502
- orange: '#fabf2e',
503
- orangeLight: '#FFF9EA',
504
- redLight: '#FF6159',
505
- white: '#FFFFFF',
506
- chartBlue: '#53ABE2',
507
- chartBlueLight: '#76DDFB',
508
- chartBlueDark: '#2C82BE'
509
- };
510
-
511
- // blue palette used for charts with dynamic count of data groups
512
- const PALETTE_PRIMARY = [
513
- COLORS.chartBlue,
514
- COLORS.chartBlueLight,
515
- COLORS.chartBlueDark,
516
- COLORS.primary,
517
- COLORS.lightBlue,
518
- COLORS.secondary,
519
- COLORS.blue
520
- ];
521
- // blue/green/red palette for equity position chart
522
- const PALETTE_EQUITY = [
523
- COLORS.green,
524
- COLORS.primary,
525
- COLORS.red
526
- ];
527
-
528
448
  var AnnualFrequencyEnum;
529
449
  (function (AnnualFrequencyEnum) {
530
450
  AnnualFrequencyEnum[AnnualFrequencyEnum["ANNUAL"] = 1] = "ANNUAL";
@@ -1709,6 +1629,58 @@ let BudgetRule$1 = class BudgetRule extends ObservableModel {
1709
1629
  static { this.className = 'BudgetRule'; }
1710
1630
  };
1711
1631
 
1632
+ /**
1633
+ * https://api-uat.corelogic.asia/property/au/v2/suggest.json
1634
+ * address suggestion from corelogic/googlePlace service
1635
+ */
1636
+ class AddressSuggestion extends AbstractModel {
1637
+ }
1638
+
1639
+ /**
1640
+ * Class describe configuration options for basiq connect control
1641
+ * https://www.npmjs.com/package/@basiq/basiq-connect-control
1642
+ */
1643
+ class BasiqConfig {
1644
+ constructor(options) {
1645
+ // ID of the DOM element to which Basiq Connect Control will be rendered;
1646
+ this.containerId = 'basiq-control';
1647
+ Object.assign(this, options);
1648
+ }
1649
+ }
1650
+
1651
+ class BasiqJob extends BasiqJob$1 {
1652
+ }
1653
+
1654
+ class BasiqJobStep {
1655
+ isVerifyCredentials() {
1656
+ return this.title === 'verify-credentials';
1657
+ }
1658
+ isRetrieveAccounts() {
1659
+ return this.title === 'retrieve-accounts';
1660
+ }
1661
+ isInProgress() {
1662
+ return this.status === 'in-progress';
1663
+ }
1664
+ isSuccess() {
1665
+ return this.status === 'success';
1666
+ }
1667
+ isFailed() {
1668
+ return this.status === 'failed';
1669
+ }
1670
+ }
1671
+
1672
+ class BasiqJobResponse {
1673
+ getVerifyCredentialsStep() {
1674
+ return this.steps.find((step) => step.isVerifyCredentials());
1675
+ }
1676
+ getRetrieveAccountsStep() {
1677
+ return this.steps.find((step) => step.isRetrieveAccounts());
1678
+ }
1679
+ }
1680
+ __decorate([
1681
+ Type(() => BasiqJobStep)
1682
+ ], BasiqJobResponse.prototype, "steps", void 0);
1683
+
1712
1684
  /**
1713
1685
  * access token, needed to access basiq connect ui (https://github.com/basiqio/basiq-connect-ui)
1714
1686
  */
@@ -6839,13 +6811,6 @@ const CAPITAL_COSTS_ITEMS = [
6839
6811
  }),
6840
6812
  ];
6841
6813
 
6842
- /**
6843
- * https://api-uat.corelogic.asia/property/au/v2/suggest.json
6844
- * address suggestion from corelogic service
6845
- */
6846
- class CorelogicSuggestion {
6847
- }
6848
-
6849
6814
  /**
6850
6815
  * class contains equity information for passed financial year
6851
6816
  */
@@ -9170,60 +9135,6 @@ class BudgetRuleItem {
9170
9135
  }
9171
9136
  }
9172
9137
 
9173
- /**
9174
- * Monthly budget cash flow summary with actual and forecasted income/expense amounts.
9175
- * Contains derived comparison flags and chart-ready series used by the budget report UI.
9176
- */
9177
- class MonthlyCashFlowSummary {
9178
- constructor(expenseItems, incomeItems, month) {
9179
- this.expenseChartPalette = [COLORS.orangeLight, COLORS.orange];
9180
- this.incomeChartPalette = [COLORS.chartBlueLight, COLORS.primary];
9181
- const expenses = Math.abs(expenseItems.getActualByMonth(month));
9182
- const forecastedExpenses = Math.abs(expenseItems.getForecastByMonth(month));
9183
- const incomes = incomeItems.getActualByMonth(month);
9184
- const forecastedIncomes = incomeItems.getForecastByMonth(month);
9185
- this.cashFlow = incomes - expenses;
9186
- this.expenses = expenses;
9187
- this.forecastedExpenses = forecastedExpenses;
9188
- this.isOverspent = expenses > forecastedExpenses;
9189
- this.incomes = incomes;
9190
- this.forecastedIncomes = forecastedIncomes;
9191
- this.isOverIncome = incomes > forecastedIncomes;
9192
- this.expenseChart = [
9193
- plainToClass(ChartData, {
9194
- name: 'Forecast',
9195
- data: [{
9196
- label: 'Expenses',
9197
- value: forecastedExpenses,
9198
- }],
9199
- }),
9200
- plainToClass(ChartData, {
9201
- name: 'Actual',
9202
- data: [{
9203
- label: 'Expenses',
9204
- value: expenses,
9205
- }],
9206
- }),
9207
- ];
9208
- this.incomeChart = [
9209
- plainToClass(ChartData, {
9210
- name: 'Forecast',
9211
- data: [{
9212
- label: 'Incomes',
9213
- value: forecastedIncomes,
9214
- }],
9215
- }),
9216
- plainToClass(ChartData, {
9217
- name: 'Actual',
9218
- data: [{
9219
- label: 'Incomes',
9220
- value: incomes,
9221
- }],
9222
- }),
9223
- ];
9224
- }
9225
- }
9226
-
9227
9138
  /**
9228
9139
  * Base collection to work with property report items
9229
9140
  */
@@ -21826,6 +21737,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
21826
21737
  }]
21827
21738
  }] });
21828
21739
 
21740
+ var CorelogicMessagesEnum;
21741
+ (function (CorelogicMessagesEnum) {
21742
+ CorelogicMessagesEnum["SERVICE_UNAVAILABLE"] = "Corelogic service is temporary unavailable, please try again in a few minutes.";
21743
+ })(CorelogicMessagesEnum || (CorelogicMessagesEnum = {}));
21744
+
21745
+ class CorelogicService {
21746
+ constructor(http, toastService, environment) {
21747
+ this.http = http;
21748
+ this.toastService = toastService;
21749
+ this.environment = environment;
21750
+ this.accessTokenSubject = new ReplaySubject(1);
21751
+ }
21752
+ getAccessToken(force = false) {
21753
+ if (!this._accessToken || force) {
21754
+ this.http.get(`${this.environment.apiV2}/corelogic/tokens`)
21755
+ .pipe(map((response) => response.access_token))
21756
+ .subscribe((token) => {
21757
+ this._accessToken = token;
21758
+ this.accessTokenSubject.next(this._accessToken);
21759
+ });
21760
+ }
21761
+ return this.accessTokenSubject.asObservable();
21762
+ }
21763
+ getSuggestions(query, country = 'au') {
21764
+ return this.http.get(`${this.environment.coreLogicUrl}/property/${country}/v2/suggest.json?q=${query}`)
21765
+ .pipe(map((response) => response.suggestions.map((item) => plainToClass(AddressSuggestion, item))), catchError((error) => {
21766
+ this.toastService.error(CorelogicMessagesEnum.SERVICE_UNAVAILABLE);
21767
+ return throwError(() => error);
21768
+ }));
21769
+ }
21770
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21771
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CorelogicService, providedIn: 'root' }); }
21772
+ }
21773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CorelogicService, decorators: [{
21774
+ type: Injectable,
21775
+ args: [{
21776
+ providedIn: 'root'
21777
+ }]
21778
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ToastService }, { type: undefined, decorators: [{
21779
+ type: Inject,
21780
+ args: ['environment']
21781
+ }] }] });
21782
+
21783
+ class GooglePlaceService {
21784
+ constructor(environment) {
21785
+ this.environment = environment;
21786
+ this.http = inject(HttpClient);
21787
+ }
21788
+ getSuggestions(search, country = 'au') {
21789
+ return this.http.get(`${this.environment.apiV2}/google-place/suggestions`, { params: { search, country } }).pipe(map((response) => response.map((item) => plainToClass(AddressSuggestion, item))));
21790
+ }
21791
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: GooglePlaceService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21792
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: GooglePlaceService, providedIn: 'root' }); }
21793
+ }
21794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: GooglePlaceService, decorators: [{
21795
+ type: Injectable,
21796
+ args: [{
21797
+ providedIn: 'root'
21798
+ }]
21799
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
21800
+ type: Inject,
21801
+ args: ['environment']
21802
+ }] }] });
21803
+
21829
21804
  class ExportFormatterService {
21830
21805
  constructor(currencyPipe, percentPipe, datePipe) {
21831
21806
  this.currencyPipe = currencyPipe;
@@ -22277,50 +22252,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
22277
22252
  }]
22278
22253
  }], ctorParameters: () => [] });
22279
22254
 
22280
- var CorelogicMessagesEnum;
22281
- (function (CorelogicMessagesEnum) {
22282
- CorelogicMessagesEnum["SERVICE_UNAVAILABLE"] = "Corelogic service is temporary unavailable, please try again in a few minutes.";
22283
- })(CorelogicMessagesEnum || (CorelogicMessagesEnum = {}));
22284
-
22285
- class CorelogicService {
22286
- constructor(http, toastService, environment) {
22287
- this.http = http;
22288
- this.toastService = toastService;
22289
- this.environment = environment;
22290
- this.accessTokenSubject = new ReplaySubject(1);
22291
- }
22292
- getAccessToken(force = false) {
22293
- if (!this._accessToken || force) {
22294
- this.http.get(`${this.environment.apiV2}/corelogic/tokens`)
22295
- .pipe(map((response) => response.access_token))
22296
- .subscribe((token) => {
22297
- this._accessToken = token;
22298
- this.accessTokenSubject.next(this._accessToken);
22299
- });
22300
- }
22301
- return this.accessTokenSubject.asObservable();
22302
- }
22303
- getSuggestions(query, country = 'au') {
22304
- // @TODO handle different countries in future
22305
- return this.http.get(`${this.environment.coreLogicUrl}/property/${country}/v2/suggest.json?q=${query}`)
22306
- .pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))), catchError((error) => {
22307
- this.toastService.error(CorelogicMessagesEnum.SERVICE_UNAVAILABLE);
22308
- return throwError(() => error);
22309
- }));
22310
- }
22311
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
22312
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CorelogicService, providedIn: 'root' }); }
22313
- }
22314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CorelogicService, decorators: [{
22315
- type: Injectable,
22316
- args: [{
22317
- providedIn: 'root'
22318
- }]
22319
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ToastService }, { type: undefined, decorators: [{
22320
- type: Inject,
22321
- args: ['environment']
22322
- }] }] });
22323
-
22324
22255
  /**
22325
22256
  * Service for get property equity position half-year history chart data
22326
22257
  */
@@ -23244,13 +23175,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
23244
23175
  }] }] });
23245
23176
 
23246
23177
  const ADBLOCK_ERROR_HTML = new InjectionToken('ADBLOCK_ERROR_HTML');
23247
- const ADBLOCK_ERROR_HTML_VALUE = `
23248
- <div class="text-center">
23249
- <strong>Action needed - Your adblocker is blocking CoreLogic</strong>
23250
- To add a property in TaxTank we need to fetch data from CoreLogic — but your ad blocker is getting in the way.
23251
- Please disable your adblocker or whitelist TaxTank to continue.
23252
- <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>
23253
- </div>
23178
+ const ADBLOCK_ERROR_HTML_VALUE = `
23179
+ <div class="text-center">
23180
+ <strong>Action needed - Your adblocker is blocking CoreLogic</strong>
23181
+ To add a property in TaxTank we need to fetch data from CoreLogic — but your ad blocker is getting in the way.
23182
+ Please disable your adblocker or whitelist TaxTank to continue.
23183
+ <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>
23184
+ </div>
23254
23185
  `;
23255
23186
 
23256
23187
  /**
@@ -24117,34 +24048,30 @@ class AddressForm extends AbstractForm {
24117
24048
  * Regarding corelogic formatting, street number should not contain spaces
24118
24049
  */
24119
24050
  static { this.streetNumberPattern = /^[^\s]+$/; }
24120
- constructor(
24121
- // no default value because Address form is always a child form. That's mean address value always passed and then default value never work.
24122
- // even if null passed, default value will not work
24123
- address) {
24051
+ constructor(address) {
24052
+ address = address ?? plainToClass(Address, {});
24124
24053
  super({
24125
24054
  // prefill search input with address string for edit case
24126
- searchQuery: new UntypedFormControl(address?.address ? address.nameLong : null, Validators.required),
24127
- type: new UntypedFormControl(address?.type || AddressTypeEnum.STREET, Validators.required),
24055
+ searchQuery: new UntypedFormControl(address.nameLong, Validators.required),
24056
+ type: new UntypedFormControl(address.type || AddressTypeEnum.STREET, Validators.required),
24057
+ // google fields (required for non-australia and disabled for other countries)
24058
+ googlePlaceId: new UntypedFormControl(null, Validators.required),
24128
24059
  // corelogic fields (required for Australia and disabled for other countries)
24129
- corelogicLocId: new UntypedFormControl({ value: address?.corelogicLocId, disabled: true }, Validators.required),
24130
- corelogicRefId: new UntypedFormControl({ value: address?.corelogicRefId, disabled: true }, [RxwebValidators.required({ message: 'The address is incomplete or incorrect. Please check and try again.' })]),
24060
+ corelogicLocId: new UntypedFormControl(address.corelogicLocId, Validators.required),
24061
+ corelogicRefId: new UntypedFormControl(address.corelogicRefId, [RxwebValidators.required({ message: 'The address is incomplete or incorrect. Please check and try again.' })]),
24131
24062
  // manual fields (using when address not found in corelogic)
24132
- unitNumber: new UntypedFormControl({ value: address?.unitNumber, disabled: true }),
24133
- address: new UntypedFormControl({ value: address?.address, disabled: true }),
24134
- streetNumber: new UntypedFormControl({ value: address?.streetNumber, disabled: true }, [Validators.required, Validators.pattern(AddressForm.streetNumberPattern)]),
24135
- street: new UntypedFormControl({ value: address?.street, disabled: true }, Validators.required),
24136
- city: new UntypedFormControl({ value: address?.city, disabled: true }, Validators.required),
24137
- state: new UntypedFormControl({ value: address?.state, disabled: true }, Validators.required),
24138
- postcode: new UntypedFormControl({ value: address?.postcode, disabled: true }, Validators.required),
24139
- country: new UntypedFormControl({ value: address?.country || Country.australia, disabled: true }, Validators.required)
24063
+ unitNumber: new UntypedFormControl({ value: address.unitNumber, disabled: true }),
24064
+ address: new UntypedFormControl({ value: address.address, disabled: true }),
24065
+ streetNumber: new UntypedFormControl({ value: address.streetNumber, disabled: true }, [Validators.required, Validators.pattern(AddressForm.streetNumberPattern)]),
24066
+ street: new UntypedFormControl({ value: address.street, disabled: true }, Validators.required),
24067
+ city: new UntypedFormControl({ value: address.city, disabled: true }, Validators.required),
24068
+ state: new UntypedFormControl({ value: address.state, disabled: true }, Validators.required),
24069
+ postcode: new UntypedFormControl({ value: address.postcode, disabled: true }, Validators.required),
24070
+ country: new UntypedFormControl({ value: address.country || Country.australia, disabled: false }, Validators.required)
24140
24071
  }, address);
24141
- /**
24142
- * Emit event to search address in corelogic when user filled enough data for corelogic
24143
- */
24144
24072
  this.onSearch = new EventEmitter();
24145
- if (this.isAustraliaSelected()) {
24146
- this.enableCorelogicFields();
24147
- }
24073
+ this.listenCountryChanges();
24074
+ this.toggleAddressProviderFields();
24148
24075
  this.listenEvents();
24149
24076
  }
24150
24077
  /**
@@ -24170,10 +24097,14 @@ class AddressForm extends AbstractForm {
24170
24097
  this.switchToManual();
24171
24098
  return;
24172
24099
  }
24100
+ // this.get('googlePlaceId').enable();
24173
24101
  this.patchValue({
24102
+ googlePlaceId: suggestion?.googlePlaceId ?? null,
24174
24103
  corelogicLocId: suggestion?.localityId ?? null,
24175
24104
  corelogicRefId: suggestion?.propertyId ?? null
24176
24105
  });
24106
+ console.log(this.value);
24107
+ // console.log(this.getRawValue());
24177
24108
  }
24178
24109
  /**
24179
24110
  * Check if Australia is selected in country field
@@ -24194,11 +24125,9 @@ class AddressForm extends AbstractForm {
24194
24125
  this.get('city').enable();
24195
24126
  this.get('state').enable();
24196
24127
  this.get('postcode').enable();
24197
- this.get('country').enable();
24198
24128
  this.get('corelogicRefId').clearValidators();
24199
24129
  this.listenManualFieldsChanges();
24200
24130
  this.listenStreetFieldsChanges();
24201
- this.listenCountryChanges();
24202
24131
  }
24203
24132
  /**
24204
24133
  * Emit event to search address in corelogic when search field changes
@@ -24213,7 +24142,7 @@ class AddressForm extends AbstractForm {
24213
24142
  // value could be a string when user search and suggestion when user select option from autocomplete
24214
24143
  map((value) => {
24215
24144
  // no need to search when value is not actually search string
24216
- if (!value || value instanceof CorelogicSuggestion) {
24145
+ if (!value || value instanceof AddressSuggestion) {
24217
24146
  return '';
24218
24147
  }
24219
24148
  // trim to avoid spaces in searchQuery, we should not send request started or finished with spaces
@@ -24260,26 +24189,29 @@ class AddressForm extends AbstractForm {
24260
24189
  this.get('address').setValue(`${this.get('streetNumber').value} ${this.get('street').value}`);
24261
24190
  });
24262
24191
  }
24263
- enableCorelogicFields() {
24264
- this.get('corelogicLocId').enable();
24265
- this.get('corelogicRefId').enable();
24266
- }
24267
- disableCorelogicFields() {
24268
- this.get('corelogicLocId').disable();
24269
- this.get('corelogicRefId').disable();
24270
- }
24271
24192
  /**
24272
24193
  * Corelogic loc id is required for Australian addresses
24273
24194
  */
24274
24195
  listenCountryChanges() {
24275
24196
  this.get('country').valueChanges.subscribe(() => {
24276
- if (this.isAustraliaSelected()) {
24277
- this.enableCorelogicFields();
24278
- return;
24279
- }
24280
- this.disableCorelogicFields();
24197
+ this.toggleAddressProviderFields();
24281
24198
  });
24282
24199
  }
24200
+ toggleAddressProviderFields() {
24201
+ if (this.isManual) {
24202
+ return;
24203
+ }
24204
+ if (this.isAustraliaSelected()) {
24205
+ this.get('googlePlaceId').disable();
24206
+ this.get('corelogicLocId').enable();
24207
+ this.get('corelogicRefId').enable();
24208
+ }
24209
+ else {
24210
+ this.get('googlePlaceId').enable();
24211
+ this.get('corelogicLocId').disable();
24212
+ this.get('corelogicRefId').disable();
24213
+ }
24214
+ }
24283
24215
  }
24284
24216
 
24285
24217
  /**
@@ -28540,5 +28472,5 @@ var MessagesEnum;
28540
28472
  * Generated bundle index. Do not edit.
28541
28473
  */
28542
28474
 
28543
- 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, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountForm, BankAccountImportForm, BankAccountMessagesEnum, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsFilterForm, BankAccountsImportForm, BankConnection, BankConnectionCollection, BankConnectionForm, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionComment, BankTransactionCommentForm, BankTransactionCommentMessagesEnum, BankTransactionCommentService, BankTransactionImport, BankTransactionImportCollection, BankTransactionImportMessagesEnum, BankTransactionImportService, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BasiqUser, BasiqUserService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetCollection, BudgetForm, BudgetMessagesEnum, BudgetMetadataInterface, BudgetRule, BudgetRuleCollection, BudgetRuleForm, BudgetRuleItem, BudgetRuleItemCollection, BudgetRuleService, BudgetService, BudgetTypeEnum, BusinessChartAccountsEnum, BusinessDepreciationMethod, BusinessDepreciationMethodEnum, BusinessDepreciationMethodForm, BusinessDepreciationMethodService, BusinessResolver, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, COLORS, CalculationFormItem, CalculationFormTypeEnum, CalendarEvent, CalendarEventCollection, CalendarEventTypeEnum, CalendarReminder, CalendarReminderCollection, CalendarReminderForm, CalendarReminderMessagesEnum, CalendarReminderService, CalendarReminderTypeEnum, CalendarViewEnum, 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, Currency, CurrencyService, CurrencyTypeEnum, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DailyFrequencyEnum, DateAmountDictionary, 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, EXPENSE_CATEGORY_BY_TYPE, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExchangeRate, ExchangeRateService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialGoal, FinancialGoalCollection, FinancialGoalFilterForm, FinancialGoalForm, FinancialGoalMessagesEnum, FinancialGoalService, FinancialGoalStatusEnum, FinancialGoalTypeEnum, 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, HoldingTradeImportCollection, HoldingTradeImportForm, HoldingTradeImportMessagesEnum, HoldingTradeImportService, HoldingTradeMessagesEnum, HoldingTradeReportItem, HoldingTradeService, HoldingTradeTypeEnum, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, INCOME_CATEGORY_BY_TYPE, 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, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MfaDetails, MfaDetailsForm, MfaDetailsMessagesEnum, MfaDetailsService, MoneyCalendarEvent, MoneyCalendarEventCollection, MoneyScheduleFilterForm, MonthNameShortEnum, MonthNumberEnum, MonthlyCashFlowSummary, 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, PALETTE_EQUITY, PALETTE_PRIMARY, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorDepreciationService, 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, RelativeDatePipe, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceEnum, ServicePriceOldEnum, 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, SoleContactItem, SoleContactItemCollection, SoleContactMessagesEnum, SoleContactService, SoleDetails, SoleDetailsForm, SoleDetailsResolver, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SoleInvoiceTypeEnum, SolePlItem, SolePlItemCollection, 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, TransactionBaseFilter, 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, VehicleClaimForm, VehicleClaimMethodEnum, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, YoutubeVideosEnum, atLeastOneCheckedValidator, atLeastOneEnabledValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, compareWithControlValidator, conditionalValidator, createDate, currentFinYearValidator, dateRangeValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, nameValidator, passwordMatchValidator, passwordValidator, recurringDates, replace, sort, sortDeep, toArray };
28475
+ export { ADBLOCK_ERROR_HTML, ADBLOCK_ERROR_HTML_VALUE, AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupItemStatusEnum, AccountSetupItemsEnum, AccountSetupService, AdblockDetectorService, Address, AddressForm, AddressService, AddressSuggestion, 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, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountForm, BankAccountImportForm, BankAccountMessagesEnum, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsFilterForm, BankAccountsImportForm, BankConnection, BankConnectionCollection, BankConnectionForm, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionComment, BankTransactionCommentForm, BankTransactionCommentMessagesEnum, BankTransactionCommentService, BankTransactionImport, BankTransactionImportCollection, BankTransactionImportMessagesEnum, BankTransactionImportService, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BasiqUser, BasiqUserService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetCollection, BudgetForm, BudgetMessagesEnum, BudgetMetadataInterface, BudgetRule, BudgetRuleCollection, BudgetRuleForm, BudgetRuleItem, BudgetRuleItemCollection, BudgetRuleService, BudgetService, BudgetTypeEnum, BusinessChartAccountsEnum, BusinessDepreciationMethod, BusinessDepreciationMethodEnum, BusinessDepreciationMethodForm, BusinessDepreciationMethodService, BusinessResolver, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CalendarEvent, CalendarEventCollection, CalendarEventTypeEnum, CalendarReminder, CalendarReminderCollection, CalendarReminderForm, CalendarReminderMessagesEnum, CalendarReminderService, CalendarReminderTypeEnum, CalendarViewEnum, 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, Country, Currency, CurrencyService, CurrencyTypeEnum, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DailyFrequencyEnum, DateAmountDictionary, 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, EXPENSE_CATEGORY_BY_TYPE, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExchangeRate, ExchangeRateService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialGoal, FinancialGoalCollection, FinancialGoalFilterForm, FinancialGoalForm, FinancialGoalMessagesEnum, FinancialGoalService, FinancialGoalStatusEnum, FinancialGoalTypeEnum, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GooglePlaceService, GoogleService, HTTP_ERROR_MESSAGES, HeaderTitleService, Holding, HoldingCollection, HoldingExpenseForm, HoldingIncomeForm, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleService, HoldingTrade, HoldingTradeCollection, HoldingTradeFilterForm, HoldingTradeForm, HoldingTradeImport, HoldingTradeImportCollection, HoldingTradeImportForm, HoldingTradeImportMessagesEnum, HoldingTradeImportService, HoldingTradeMessagesEnum, HoldingTradeReportItem, HoldingTradeService, HoldingTradeTypeEnum, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, INCOME_CATEGORY_BY_TYPE, 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, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MfaDetails, MfaDetailsForm, MfaDetailsMessagesEnum, MfaDetailsService, MoneyCalendarEvent, MoneyCalendarEventCollection, MoneyScheduleFilterForm, 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, PriorDepreciationService, 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, RelativeDatePipe, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceEnum, ServicePriceOldEnum, 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, SoleContactItem, SoleContactItemCollection, SoleContactMessagesEnum, SoleContactService, SoleDetails, SoleDetailsForm, SoleDetailsResolver, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SoleInvoiceTypeEnum, SolePlItem, SolePlItemCollection, 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, TransactionBaseFilter, 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, VehicleClaimForm, VehicleClaimMethodEnum, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, YoutubeVideosEnum, atLeastOneCheckedValidator, atLeastOneEnabledValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, compareWithControlValidator, conditionalValidator, createDate, currentFinYearValidator, dateRangeValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, nameValidator, passwordMatchValidator, passwordValidator, recurringDates, replace, sort, sortDeep, toArray };
28544
28476
  //# sourceMappingURL=taxtank-core.mjs.map