taxtank-core 2.1.72 → 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.
- package/README.md +5 -5
- package/fesm2022/taxtank-core-common.mjs.map +1 -1
- package/fesm2022/taxtank-core.mjs +170 -148
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +42 -44
- package/package.json +1 -1
- package/index.d.ts.map +0 -1
|
@@ -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
|
};
|
|
@@ -1673,6 +1629,58 @@ let BudgetRule$1 = class BudgetRule extends ObservableModel {
|
|
|
1673
1629
|
static { this.className = 'BudgetRule'; }
|
|
1674
1630
|
};
|
|
1675
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
|
+
|
|
1676
1684
|
/**
|
|
1677
1685
|
* access token, needed to access basiq connect ui (https://github.com/basiqio/basiq-connect-ui)
|
|
1678
1686
|
*/
|
|
@@ -6803,13 +6811,6 @@ const CAPITAL_COSTS_ITEMS = [
|
|
|
6803
6811
|
}),
|
|
6804
6812
|
];
|
|
6805
6813
|
|
|
6806
|
-
/**
|
|
6807
|
-
* https://api-uat.corelogic.asia/property/au/v2/suggest.json
|
|
6808
|
-
* address suggestion from corelogic service
|
|
6809
|
-
*/
|
|
6810
|
-
class CorelogicSuggestion {
|
|
6811
|
-
}
|
|
6812
|
-
|
|
6813
6814
|
/**
|
|
6814
6815
|
* class contains equity information for passed financial year
|
|
6815
6816
|
*/
|
|
@@ -21736,6 +21737,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
21736
21737
|
}]
|
|
21737
21738
|
}] });
|
|
21738
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
|
+
|
|
21739
21804
|
class ExportFormatterService {
|
|
21740
21805
|
constructor(currencyPipe, percentPipe, datePipe) {
|
|
21741
21806
|
this.currencyPipe = currencyPipe;
|
|
@@ -22187,50 +22252,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
22187
22252
|
}]
|
|
22188
22253
|
}], ctorParameters: () => [] });
|
|
22189
22254
|
|
|
22190
|
-
var CorelogicMessagesEnum;
|
|
22191
|
-
(function (CorelogicMessagesEnum) {
|
|
22192
|
-
CorelogicMessagesEnum["SERVICE_UNAVAILABLE"] = "Corelogic service is temporary unavailable, please try again in a few minutes.";
|
|
22193
|
-
})(CorelogicMessagesEnum || (CorelogicMessagesEnum = {}));
|
|
22194
|
-
|
|
22195
|
-
class CorelogicService {
|
|
22196
|
-
constructor(http, toastService, environment) {
|
|
22197
|
-
this.http = http;
|
|
22198
|
-
this.toastService = toastService;
|
|
22199
|
-
this.environment = environment;
|
|
22200
|
-
this.accessTokenSubject = new ReplaySubject(1);
|
|
22201
|
-
}
|
|
22202
|
-
getAccessToken(force = false) {
|
|
22203
|
-
if (!this._accessToken || force) {
|
|
22204
|
-
this.http.get(`${this.environment.apiV2}/corelogic/tokens`)
|
|
22205
|
-
.pipe(map((response) => response.access_token))
|
|
22206
|
-
.subscribe((token) => {
|
|
22207
|
-
this._accessToken = token;
|
|
22208
|
-
this.accessTokenSubject.next(this._accessToken);
|
|
22209
|
-
});
|
|
22210
|
-
}
|
|
22211
|
-
return this.accessTokenSubject.asObservable();
|
|
22212
|
-
}
|
|
22213
|
-
getSuggestions(query, country = 'au') {
|
|
22214
|
-
// @TODO handle different countries in future
|
|
22215
|
-
return this.http.get(`${this.environment.coreLogicUrl}/property/${country}/v2/suggest.json?q=${query}`)
|
|
22216
|
-
.pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))), catchError((error) => {
|
|
22217
|
-
this.toastService.error(CorelogicMessagesEnum.SERVICE_UNAVAILABLE);
|
|
22218
|
-
return throwError(() => error);
|
|
22219
|
-
}));
|
|
22220
|
-
}
|
|
22221
|
-
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 }); }
|
|
22222
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CorelogicService, providedIn: 'root' }); }
|
|
22223
|
-
}
|
|
22224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CorelogicService, decorators: [{
|
|
22225
|
-
type: Injectable,
|
|
22226
|
-
args: [{
|
|
22227
|
-
providedIn: 'root'
|
|
22228
|
-
}]
|
|
22229
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: ToastService }, { type: undefined, decorators: [{
|
|
22230
|
-
type: Inject,
|
|
22231
|
-
args: ['environment']
|
|
22232
|
-
}] }] });
|
|
22233
|
-
|
|
22234
22255
|
/**
|
|
22235
22256
|
* Service for get property equity position half-year history chart data
|
|
22236
22257
|
*/
|
|
@@ -23154,13 +23175,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
23154
23175
|
}] }] });
|
|
23155
23176
|
|
|
23156
23177
|
const ADBLOCK_ERROR_HTML = new InjectionToken('ADBLOCK_ERROR_HTML');
|
|
23157
|
-
const ADBLOCK_ERROR_HTML_VALUE = `
|
|
23158
|
-
<div class="text-center">
|
|
23159
|
-
<strong>Action needed - Your adblocker is blocking CoreLogic</strong>
|
|
23160
|
-
To add a property in TaxTank we need to fetch data from CoreLogic — but your ad blocker is getting in the way.
|
|
23161
|
-
Please disable your adblocker or whitelist TaxTank to continue.
|
|
23162
|
-
<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>
|
|
23163
|
-
</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>
|
|
23164
23185
|
`;
|
|
23165
23186
|
|
|
23166
23187
|
/**
|
|
@@ -24027,34 +24048,30 @@ class AddressForm extends AbstractForm {
|
|
|
24027
24048
|
* Regarding corelogic formatting, street number should not contain spaces
|
|
24028
24049
|
*/
|
|
24029
24050
|
static { this.streetNumberPattern = /^[^\s]+$/; }
|
|
24030
|
-
constructor(
|
|
24031
|
-
|
|
24032
|
-
// even if null passed, default value will not work
|
|
24033
|
-
address) {
|
|
24051
|
+
constructor(address) {
|
|
24052
|
+
address = address ?? plainToClass(Address, {});
|
|
24034
24053
|
super({
|
|
24035
24054
|
// prefill search input with address string for edit case
|
|
24036
|
-
searchQuery: new UntypedFormControl(address
|
|
24037
|
-
type: new UntypedFormControl(address
|
|
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),
|
|
24038
24059
|
// corelogic fields (required for Australia and disabled for other countries)
|
|
24039
|
-
corelogicLocId: new UntypedFormControl(
|
|
24040
|
-
corelogicRefId: new UntypedFormControl(
|
|
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.' })]),
|
|
24041
24062
|
// manual fields (using when address not found in corelogic)
|
|
24042
|
-
unitNumber: new UntypedFormControl({ value: address
|
|
24043
|
-
address: new UntypedFormControl({ value: address
|
|
24044
|
-
streetNumber: new UntypedFormControl({ value: address
|
|
24045
|
-
street: new UntypedFormControl({ value: address
|
|
24046
|
-
city: new UntypedFormControl({ value: address
|
|
24047
|
-
state: new UntypedFormControl({ value: address
|
|
24048
|
-
postcode: new UntypedFormControl({ value: address
|
|
24049
|
-
country: new UntypedFormControl({ value: address
|
|
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)
|
|
24050
24071
|
}, address);
|
|
24051
|
-
/**
|
|
24052
|
-
* Emit event to search address in corelogic when user filled enough data for corelogic
|
|
24053
|
-
*/
|
|
24054
24072
|
this.onSearch = new EventEmitter();
|
|
24055
|
-
|
|
24056
|
-
|
|
24057
|
-
}
|
|
24073
|
+
this.listenCountryChanges();
|
|
24074
|
+
this.toggleAddressProviderFields();
|
|
24058
24075
|
this.listenEvents();
|
|
24059
24076
|
}
|
|
24060
24077
|
/**
|
|
@@ -24080,10 +24097,14 @@ class AddressForm extends AbstractForm {
|
|
|
24080
24097
|
this.switchToManual();
|
|
24081
24098
|
return;
|
|
24082
24099
|
}
|
|
24100
|
+
// this.get('googlePlaceId').enable();
|
|
24083
24101
|
this.patchValue({
|
|
24102
|
+
googlePlaceId: suggestion?.googlePlaceId ?? null,
|
|
24084
24103
|
corelogicLocId: suggestion?.localityId ?? null,
|
|
24085
24104
|
corelogicRefId: suggestion?.propertyId ?? null
|
|
24086
24105
|
});
|
|
24106
|
+
console.log(this.value);
|
|
24107
|
+
// console.log(this.getRawValue());
|
|
24087
24108
|
}
|
|
24088
24109
|
/**
|
|
24089
24110
|
* Check if Australia is selected in country field
|
|
@@ -24104,11 +24125,9 @@ class AddressForm extends AbstractForm {
|
|
|
24104
24125
|
this.get('city').enable();
|
|
24105
24126
|
this.get('state').enable();
|
|
24106
24127
|
this.get('postcode').enable();
|
|
24107
|
-
this.get('country').enable();
|
|
24108
24128
|
this.get('corelogicRefId').clearValidators();
|
|
24109
24129
|
this.listenManualFieldsChanges();
|
|
24110
24130
|
this.listenStreetFieldsChanges();
|
|
24111
|
-
this.listenCountryChanges();
|
|
24112
24131
|
}
|
|
24113
24132
|
/**
|
|
24114
24133
|
* Emit event to search address in corelogic when search field changes
|
|
@@ -24123,7 +24142,7 @@ class AddressForm extends AbstractForm {
|
|
|
24123
24142
|
// value could be a string when user search and suggestion when user select option from autocomplete
|
|
24124
24143
|
map((value) => {
|
|
24125
24144
|
// no need to search when value is not actually search string
|
|
24126
|
-
if (!value || value instanceof
|
|
24145
|
+
if (!value || value instanceof AddressSuggestion) {
|
|
24127
24146
|
return '';
|
|
24128
24147
|
}
|
|
24129
24148
|
// trim to avoid spaces in searchQuery, we should not send request started or finished with spaces
|
|
@@ -24170,26 +24189,29 @@ class AddressForm extends AbstractForm {
|
|
|
24170
24189
|
this.get('address').setValue(`${this.get('streetNumber').value} ${this.get('street').value}`);
|
|
24171
24190
|
});
|
|
24172
24191
|
}
|
|
24173
|
-
enableCorelogicFields() {
|
|
24174
|
-
this.get('corelogicLocId').enable();
|
|
24175
|
-
this.get('corelogicRefId').enable();
|
|
24176
|
-
}
|
|
24177
|
-
disableCorelogicFields() {
|
|
24178
|
-
this.get('corelogicLocId').disable();
|
|
24179
|
-
this.get('corelogicRefId').disable();
|
|
24180
|
-
}
|
|
24181
24192
|
/**
|
|
24182
24193
|
* Corelogic loc id is required for Australian addresses
|
|
24183
24194
|
*/
|
|
24184
24195
|
listenCountryChanges() {
|
|
24185
24196
|
this.get('country').valueChanges.subscribe(() => {
|
|
24186
|
-
|
|
24187
|
-
this.enableCorelogicFields();
|
|
24188
|
-
return;
|
|
24189
|
-
}
|
|
24190
|
-
this.disableCorelogicFields();
|
|
24197
|
+
this.toggleAddressProviderFields();
|
|
24191
24198
|
});
|
|
24192
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
|
+
}
|
|
24193
24215
|
}
|
|
24194
24216
|
|
|
24195
24217
|
/**
|
|
@@ -28450,5 +28472,5 @@ var MessagesEnum;
|
|
|
28450
28472
|
* Generated bundle index. Do not edit.
|
|
28451
28473
|
*/
|
|
28452
28474
|
|
|
28453
|
-
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, 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, 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 };
|
|
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 };
|
|
28454
28476
|
//# sourceMappingURL=taxtank-core.mjs.map
|