taxtank-core 0.30.120 → 0.30.122
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/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/corelogic-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/financial-year-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
- package/esm2020/lib/interceptors/jwt-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/preloader.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +3 -3
- package/esm2020/lib/models/bank/bank-account-property.mjs +3 -3
- package/esm2020/lib/models/sole/sole-business-allocation.mjs +2 -2
- package/esm2020/lib/services/account-setup/account-setup.service.mjs +3 -3
- package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +3 -3
- package/esm2020/lib/services/asset/assets.service.mjs +3 -3
- package/esm2020/lib/services/auth/auth.service.mjs +3 -3
- package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
- package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
- package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +3 -3
- package/esm2020/lib/services/data.service.mjs +3 -3
- package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
- package/esm2020/lib/services/event/sse.service.mjs +3 -3
- package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
- package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
- package/esm2020/lib/services/http/address/address.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +3 -3
- package/esm2020/lib/services/http/budget/budget.service.mjs +3 -3
- package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
- package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
- package/esm2020/lib/services/http/chat/chat.service.mjs +3 -3
- package/esm2020/lib/services/http/chat/message-document.service.mjs +3 -3
- package/esm2020/lib/services/http/chat/message.service.mjs +3 -3
- package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +3 -3
- package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +3 -3
- package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
- package/esm2020/lib/services/http/document/document.service.mjs +3 -3
- package/esm2020/lib/services/http/facebook/facebook.service.mjs +3 -3
- package/esm2020/lib/services/http/file/file.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +4 -2
- package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/employee/employee.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/firm.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +3 -3
- package/esm2020/lib/services/http/google/google.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding-sale.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding-type.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/income-source.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +3 -3
- package/esm2020/lib/services/http/loan/loan.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property.service.mjs +3 -3
- package/esm2020/lib/services/http/receipt/receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/rest/rest-old.service.mjs +3 -3
- package/esm2020/lib/services/http/rest/rest.service.mjs +3 -3
- package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction.service.mjs +3 -3
- package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +3 -3
- package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
- package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
- package/esm2020/lib/services/http/user/user.service.mjs +3 -3
- package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +3 -3
- package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
- package/esm2020/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +3 -3
- package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
- package/esm2020/lib/services/json/income-source/income-source-type.service.mjs +3 -3
- package/esm2020/lib/services/json/tax-exemption/tax-exemption.service.mjs +3 -3
- package/esm2020/lib/services/json/tax-return/tax-return-item.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
- package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
- package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +3 -3
- package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +3 -3
- package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
- package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +3 -3
- package/esm2020/lib/services/toast/toast.service.mjs +3 -3
- package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +3 -3
- package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
- package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +3 -3
- package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
- package/esm2020/lib/tt-core.module.mjs +4 -4
- package/fesm2015/taxtank-core.mjs +1251 -1249
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +1501 -1499
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/models/bank/bank-account-property.d.ts +1 -1
- package/lib/services/http/firm/client-invite/client-invite-messages.enum.d.ts +3 -1
- package/package.json +1 -1
|
@@ -70,9 +70,9 @@ class CorelogicService {
|
|
|
70
70
|
.pipe(map((response) => response.suggestions.map((item) => plainToClass(CorelogicSuggestion, item))));
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
74
|
-
CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
73
|
+
CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
74
|
+
CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, providedIn: 'root' });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, decorators: [{
|
|
76
76
|
type: Injectable,
|
|
77
77
|
args: [{
|
|
78
78
|
providedIn: 'root'
|
|
@@ -112,9 +112,9 @@ class CorelogicInterceptor {
|
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
116
|
-
CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
115
|
+
CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
116
|
+
CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor });
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, decorators: [{
|
|
118
118
|
type: Injectable
|
|
119
119
|
}], ctorParameters: function () {
|
|
120
120
|
return [{ type: CorelogicService }, { type: undefined, decorators: [{
|
|
@@ -153,9 +153,9 @@ class FinancialYearInterceptor {
|
|
|
153
153
|
return next.handle(clonedReq);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
157
|
-
FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
156
|
+
FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
157
|
+
FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor });
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
|
|
159
159
|
type: Injectable
|
|
160
160
|
}], ctorParameters: function () {
|
|
161
161
|
return [{ type: undefined, decorators: [{
|
|
@@ -1916,6 +1916,80 @@ __decorate([
|
|
|
1916
1916
|
Type(() => LoanPayout)
|
|
1917
1917
|
], Loan.prototype, "payout", void 0);
|
|
1918
1918
|
|
|
1919
|
+
var TaxExemptionEnum;
|
|
1920
|
+
(function (TaxExemptionEnum) {
|
|
1921
|
+
TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
|
|
1922
|
+
// principle place of residence
|
|
1923
|
+
TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
|
|
1924
|
+
TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
|
|
1925
|
+
TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
|
|
1926
|
+
TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
|
|
1927
|
+
TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
|
|
1928
|
+
TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
|
|
1929
|
+
})(TaxExemptionEnum || (TaxExemptionEnum = {}));
|
|
1930
|
+
|
|
1931
|
+
class TaxExemption extends TaxExemption$1 {
|
|
1932
|
+
isPartial() {
|
|
1933
|
+
return [TaxExemptionEnum.INVESTMENT_TO_PPR, TaxExemptionEnum.PPR_TO_INVESTMENT].includes(this.id);
|
|
1934
|
+
}
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
class AssetSale extends ObservableModel {
|
|
1938
|
+
}
|
|
1939
|
+
__decorate([
|
|
1940
|
+
Type(() => Date)
|
|
1941
|
+
], AssetSale.prototype, "date", void 0);
|
|
1942
|
+
|
|
1943
|
+
class PropertySale extends AssetSale {
|
|
1944
|
+
get saleCostsTotalAmount() {
|
|
1945
|
+
return this.commission + this.legalFees + this.otherCost;
|
|
1946
|
+
}
|
|
1947
|
+
/**
|
|
1948
|
+
* CGT is not applicable for sales with "Principle place of residence" exemption type.
|
|
1949
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
|
|
1950
|
+
*/
|
|
1951
|
+
isCGTApplicable() {
|
|
1952
|
+
var _a;
|
|
1953
|
+
return ((_a = this.taxExemption) === null || _a === void 0 ? void 0 : _a.id) !== TaxExemptionEnum.PPR;
|
|
1954
|
+
}
|
|
1955
|
+
get netPrice() {
|
|
1956
|
+
return this.price - this.saleCostsTotalAmount;
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
__decorate([
|
|
1960
|
+
Type(() => Number)
|
|
1961
|
+
], PropertySale.prototype, "holdingCosts", void 0);
|
|
1962
|
+
__decorate([
|
|
1963
|
+
Type(() => Number)
|
|
1964
|
+
], PropertySale.prototype, "structuralImprovementsWDV", void 0);
|
|
1965
|
+
__decorate([
|
|
1966
|
+
Type(() => Number)
|
|
1967
|
+
], PropertySale.prototype, "buildingAtCostClaimed", void 0);
|
|
1968
|
+
__decorate([
|
|
1969
|
+
Type(() => Number)
|
|
1970
|
+
], PropertySale.prototype, "price", void 0);
|
|
1971
|
+
__decorate([
|
|
1972
|
+
Type(() => Number)
|
|
1973
|
+
], PropertySale.prototype, "commission", void 0);
|
|
1974
|
+
__decorate([
|
|
1975
|
+
Type(() => Number)
|
|
1976
|
+
], PropertySale.prototype, "legalFees", void 0);
|
|
1977
|
+
__decorate([
|
|
1978
|
+
Type(() => Number)
|
|
1979
|
+
], PropertySale.prototype, "otherCost", void 0);
|
|
1980
|
+
__decorate([
|
|
1981
|
+
Type(() => Date)
|
|
1982
|
+
], PropertySale.prototype, "settlementDate", void 0);
|
|
1983
|
+
__decorate([
|
|
1984
|
+
Type(() => Date)
|
|
1985
|
+
], PropertySale.prototype, "date", void 0);
|
|
1986
|
+
__decorate([
|
|
1987
|
+
Type(() => TaxExemption)
|
|
1988
|
+
], PropertySale.prototype, "taxExemption", void 0);
|
|
1989
|
+
__decorate([
|
|
1990
|
+
Type(() => PropertySaleTaxExemptionMetaField$1)
|
|
1991
|
+
], PropertySale.prototype, "taxExemptionMetaFields", void 0);
|
|
1992
|
+
|
|
1919
1993
|
var UserStatusEnum;
|
|
1920
1994
|
(function (UserStatusEnum) {
|
|
1921
1995
|
UserStatusEnum[UserStatusEnum["INACTIVE"] = 0] = "INACTIVE";
|
|
@@ -3968,179 +4042,6 @@ var TransactionTypeEnum;
|
|
|
3968
4042
|
TransactionTypeEnum[TransactionTypeEnum["CREDIT"] = 2] = "CREDIT";
|
|
3969
4043
|
})(TransactionTypeEnum || (TransactionTypeEnum = {}));
|
|
3970
4044
|
|
|
3971
|
-
var TaxExemptionEnum;
|
|
3972
|
-
(function (TaxExemptionEnum) {
|
|
3973
|
-
TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
|
|
3974
|
-
// principle place of residence
|
|
3975
|
-
TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
|
|
3976
|
-
TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
|
|
3977
|
-
TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
|
|
3978
|
-
TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
|
|
3979
|
-
TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
|
|
3980
|
-
TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
|
|
3981
|
-
})(TaxExemptionEnum || (TaxExemptionEnum = {}));
|
|
3982
|
-
|
|
3983
|
-
class TaxExemption extends TaxExemption$1 {
|
|
3984
|
-
isPartial() {
|
|
3985
|
-
return [TaxExemptionEnum.INVESTMENT_TO_PPR, TaxExemptionEnum.PPR_TO_INVESTMENT].includes(this.id);
|
|
3986
|
-
}
|
|
3987
|
-
}
|
|
3988
|
-
|
|
3989
|
-
class AssetSale extends ObservableModel {
|
|
3990
|
-
}
|
|
3991
|
-
__decorate([
|
|
3992
|
-
Type(() => Date)
|
|
3993
|
-
], AssetSale.prototype, "date", void 0);
|
|
3994
|
-
|
|
3995
|
-
class PropertySale extends AssetSale {
|
|
3996
|
-
get saleCostsTotalAmount() {
|
|
3997
|
-
return this.commission + this.legalFees + this.otherCost;
|
|
3998
|
-
}
|
|
3999
|
-
/**
|
|
4000
|
-
* CGT is not applicable for sales with "Principle place of residence" exemption type.
|
|
4001
|
-
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
|
|
4002
|
-
*/
|
|
4003
|
-
isCGTApplicable() {
|
|
4004
|
-
var _a;
|
|
4005
|
-
return ((_a = this.taxExemption) === null || _a === void 0 ? void 0 : _a.id) !== TaxExemptionEnum.PPR;
|
|
4006
|
-
}
|
|
4007
|
-
get netPrice() {
|
|
4008
|
-
return this.price - this.saleCostsTotalAmount;
|
|
4009
|
-
}
|
|
4010
|
-
}
|
|
4011
|
-
__decorate([
|
|
4012
|
-
Type(() => Number)
|
|
4013
|
-
], PropertySale.prototype, "holdingCosts", void 0);
|
|
4014
|
-
__decorate([
|
|
4015
|
-
Type(() => Number)
|
|
4016
|
-
], PropertySale.prototype, "structuralImprovementsWDV", void 0);
|
|
4017
|
-
__decorate([
|
|
4018
|
-
Type(() => Number)
|
|
4019
|
-
], PropertySale.prototype, "buildingAtCostClaimed", void 0);
|
|
4020
|
-
__decorate([
|
|
4021
|
-
Type(() => Number)
|
|
4022
|
-
], PropertySale.prototype, "price", void 0);
|
|
4023
|
-
__decorate([
|
|
4024
|
-
Type(() => Number)
|
|
4025
|
-
], PropertySale.prototype, "commission", void 0);
|
|
4026
|
-
__decorate([
|
|
4027
|
-
Type(() => Number)
|
|
4028
|
-
], PropertySale.prototype, "legalFees", void 0);
|
|
4029
|
-
__decorate([
|
|
4030
|
-
Type(() => Number)
|
|
4031
|
-
], PropertySale.prototype, "otherCost", void 0);
|
|
4032
|
-
__decorate([
|
|
4033
|
-
Type(() => Date)
|
|
4034
|
-
], PropertySale.prototype, "settlementDate", void 0);
|
|
4035
|
-
__decorate([
|
|
4036
|
-
Type(() => Date)
|
|
4037
|
-
], PropertySale.prototype, "date", void 0);
|
|
4038
|
-
__decorate([
|
|
4039
|
-
Type(() => TaxExemption)
|
|
4040
|
-
], PropertySale.prototype, "taxExemption", void 0);
|
|
4041
|
-
__decorate([
|
|
4042
|
-
Type(() => PropertySaleTaxExemptionMetaField$1)
|
|
4043
|
-
], PropertySale.prototype, "taxExemptionMetaFields", void 0);
|
|
4044
|
-
|
|
4045
|
-
/**
|
|
4046
|
-
* @Todo TT-2143 should be removed when PropertySaleCostBaseForm refactored (cut property to separated form)
|
|
4047
|
-
*/
|
|
4048
|
-
class PropertySaleCostBase {
|
|
4049
|
-
static createFrom(property, propertySale, depreciations, holdingCosts) {
|
|
4050
|
-
var _a, _b, _c;
|
|
4051
|
-
return plainToClass(PropertySaleCostBase, {
|
|
4052
|
-
property: plainToClass(Property, property),
|
|
4053
|
-
sale: plainToClass(PropertySale, Object.assign({}, propertySale, {
|
|
4054
|
-
holdingCosts: (_a = propertySale.holdingCosts) !== null && _a !== void 0 ? _a : Math.abs(holdingCosts.sumBy('amount')),
|
|
4055
|
-
structuralImprovementsWDV: (_b = propertySale.structuralImprovementsWDV) !== null && _b !== void 0 ? _b : depreciations.getWithCapitalProject().getCloseBalanceByYear(),
|
|
4056
|
-
buildingAtCostClaimed: (_c = propertySale.buildingAtCostClaimed) !== null && _c !== void 0 ? _c : depreciations.getWithoutCapitalProject().getClaimedAmountByYear(),
|
|
4057
|
-
})),
|
|
4058
|
-
});
|
|
4059
|
-
}
|
|
4060
|
-
}
|
|
4061
|
-
|
|
4062
|
-
class PropertySaleTaxExemptionMetaField extends PropertySaleTaxExemptionMetaField$1 {
|
|
4063
|
-
}
|
|
4064
|
-
|
|
4065
|
-
class TaxExemptionMetaField extends TaxExemptionMetaField$1 {
|
|
4066
|
-
}
|
|
4067
|
-
|
|
4068
|
-
/**
|
|
4069
|
-
* Calculation form control types
|
|
4070
|
-
*/
|
|
4071
|
-
var CalculationFormTypeEnum;
|
|
4072
|
-
(function (CalculationFormTypeEnum) {
|
|
4073
|
-
CalculationFormTypeEnum[CalculationFormTypeEnum["INPUT"] = 1] = "INPUT";
|
|
4074
|
-
CalculationFormTypeEnum[CalculationFormTypeEnum["SELECT"] = 2] = "SELECT";
|
|
4075
|
-
})(CalculationFormTypeEnum || (CalculationFormTypeEnum = {}));
|
|
4076
|
-
|
|
4077
|
-
/**
|
|
4078
|
-
* Fields to implement custom calculation form
|
|
4079
|
-
*/
|
|
4080
|
-
class CalculationFormItem {
|
|
4081
|
-
constructor() {
|
|
4082
|
-
// type of control (input, select, e.t.c)
|
|
4083
|
-
this.type = CalculationFormTypeEnum.SELECT;
|
|
4084
|
-
}
|
|
4085
|
-
}
|
|
4086
|
-
__decorate([
|
|
4087
|
-
Transform(({ obj }) => obj.type === CalculationFormTypeEnum.SELECT),
|
|
4088
|
-
Expose()
|
|
4089
|
-
], CalculationFormItem.prototype, "isSelect", void 0);
|
|
4090
|
-
|
|
4091
|
-
const CAPITAL_COSTS_ITEMS = [
|
|
4092
|
-
plainToClass(CalculationFormItem, {
|
|
4093
|
-
name: 'rentingWholeProperty',
|
|
4094
|
-
value: null,
|
|
4095
|
-
label: 'Are you renting out the whole property?',
|
|
4096
|
-
type: CalculationFormTypeEnum.SELECT,
|
|
4097
|
-
dependentFields: ['howBigIsProperty', 'howBigIsLetArea', 'howBigIsCommonAreas'],
|
|
4098
|
-
isDisabled: false,
|
|
4099
|
-
validators: [Validators.required]
|
|
4100
|
-
}),
|
|
4101
|
-
plainToClass(CalculationFormItem, {
|
|
4102
|
-
name: 'rentingWholeYear',
|
|
4103
|
-
value: null,
|
|
4104
|
-
label: 'Are you renting out for the whole year?',
|
|
4105
|
-
type: CalculationFormTypeEnum.SELECT,
|
|
4106
|
-
dependentFields: ['howManyDays'],
|
|
4107
|
-
isDisabled: false,
|
|
4108
|
-
validators: [Validators.required]
|
|
4109
|
-
}),
|
|
4110
|
-
plainToClass(CalculationFormItem, {
|
|
4111
|
-
name: 'howBigIsProperty',
|
|
4112
|
-
value: null,
|
|
4113
|
-
label: 'How big is the property?',
|
|
4114
|
-
type: CalculationFormTypeEnum.INPUT,
|
|
4115
|
-
isDisabled: true,
|
|
4116
|
-
validators: [Validators.required, Validators.min(1)]
|
|
4117
|
-
}),
|
|
4118
|
-
plainToClass(CalculationFormItem, {
|
|
4119
|
-
name: 'howBigIsLetArea',
|
|
4120
|
-
value: null,
|
|
4121
|
-
label: 'How big is the let area?',
|
|
4122
|
-
type: CalculationFormTypeEnum.INPUT,
|
|
4123
|
-
isDisabled: true,
|
|
4124
|
-
validators: [Validators.required, Validators.min(1)]
|
|
4125
|
-
}),
|
|
4126
|
-
plainToClass(CalculationFormItem, {
|
|
4127
|
-
name: 'howBigIsCommonAreas',
|
|
4128
|
-
value: null,
|
|
4129
|
-
label: 'How big are the common areas?',
|
|
4130
|
-
type: CalculationFormTypeEnum.INPUT,
|
|
4131
|
-
isDisabled: true,
|
|
4132
|
-
validators: [Validators.required, Validators.min(1)]
|
|
4133
|
-
}),
|
|
4134
|
-
plainToClass(CalculationFormItem, {
|
|
4135
|
-
name: 'howManyDays',
|
|
4136
|
-
value: null,
|
|
4137
|
-
label: 'How many days of the year is the property available for rent?',
|
|
4138
|
-
type: CalculationFormTypeEnum.INPUT,
|
|
4139
|
-
isDisabled: true,
|
|
4140
|
-
validators: [Validators.required, Validators.min(1)]
|
|
4141
|
-
}),
|
|
4142
|
-
];
|
|
4143
|
-
|
|
4144
4045
|
/**
|
|
4145
4046
|
* Enum with asset types
|
|
4146
4047
|
*/
|
|
@@ -4168,617 +4069,253 @@ var AssetEntityTypeEnum;
|
|
|
4168
4069
|
AssetEntityTypeEnum["MESSAGES"] = "messages";
|
|
4169
4070
|
})(AssetEntityTypeEnum || (AssetEntityTypeEnum = {}));
|
|
4170
4071
|
|
|
4171
|
-
class
|
|
4072
|
+
class TransactionReceipt extends TransactionReceipt$1 {
|
|
4172
4073
|
constructor() {
|
|
4173
4074
|
super(...arguments);
|
|
4174
|
-
this.type = AssetTypeEnum.
|
|
4175
|
-
this.entityType = AssetEntityTypeEnum.
|
|
4176
|
-
}
|
|
4177
|
-
getApiUrlPrefix() {
|
|
4178
|
-
return '';
|
|
4179
|
-
}
|
|
4180
|
-
getEntity() {
|
|
4181
|
-
return this.property;
|
|
4182
|
-
}
|
|
4183
|
-
}
|
|
4184
|
-
|
|
4185
|
-
class PropertyValuation extends PropertyValuation$1 {
|
|
4186
|
-
get financialYear() {
|
|
4187
|
-
return new FinancialYear(this.date).year;
|
|
4188
|
-
}
|
|
4189
|
-
isCurrentYear() {
|
|
4190
|
-
return this.financialYear === new FinancialYear(new Date()).year;
|
|
4075
|
+
this.type = AssetTypeEnum.TRANSACTION_RECEIPT;
|
|
4076
|
+
this.entityType = AssetEntityTypeEnum.TRANSACTIONS;
|
|
4191
4077
|
}
|
|
4192
4078
|
}
|
|
4193
|
-
__decorate([
|
|
4194
|
-
Type(() => Date)
|
|
4195
|
-
], PropertyValuation.prototype, "date", void 0);
|
|
4196
|
-
__decorate([
|
|
4197
|
-
Type(() => PropertyDocument)
|
|
4198
|
-
], PropertyValuation.prototype, "document", void 0);
|
|
4199
|
-
__decorate([
|
|
4200
|
-
Type(() => Number)
|
|
4201
|
-
], PropertyValuation.prototype, "marketValue", void 0);
|
|
4202
|
-
__decorate([
|
|
4203
|
-
Exclude()
|
|
4204
|
-
], PropertyValuation.prototype, "documentFile", void 0);
|
|
4205
4079
|
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
class PropertyCategory extends PropertyCategory$1 {
|
|
4214
|
-
// @Todo check if category is Owner Occupied. If will be needed to check more categories - move the checking to the backend
|
|
4215
|
-
isOwnerOccupied() {
|
|
4216
|
-
return this.id === PropertyCategoryListEnum.OWNER_OCCUPIED;
|
|
4217
|
-
}
|
|
4218
|
-
isVacantLand() {
|
|
4219
|
-
return this.id === PropertyCategoryListEnum.VACANT_LAND;
|
|
4080
|
+
/**
|
|
4081
|
+
* Income sources chart data
|
|
4082
|
+
*/
|
|
4083
|
+
class IncomeSourceChartData {
|
|
4084
|
+
constructor(forecastedIncomeAmount, transactions) {
|
|
4085
|
+
this.forecastedIncomeAmount = forecastedIncomeAmount;
|
|
4086
|
+
this.transactions = transactions;
|
|
4220
4087
|
}
|
|
4221
|
-
|
|
4222
|
-
|
|
4088
|
+
/**
|
|
4089
|
+
* Get prepared data for income sources chart
|
|
4090
|
+
*/
|
|
4091
|
+
get() {
|
|
4092
|
+
const chartData = [{
|
|
4093
|
+
id: 'actualIncome',
|
|
4094
|
+
name: 'Actual Income',
|
|
4095
|
+
data: [],
|
|
4096
|
+
// display future actual incomes with dash line and past actual incomes with solid line
|
|
4097
|
+
zones: [{
|
|
4098
|
+
// line style after current month
|
|
4099
|
+
value: new FinancialYear().getMonthDate(new Date().getMonth()).getTime(),
|
|
4100
|
+
dashStyle: 'Solid'
|
|
4101
|
+
}, {
|
|
4102
|
+
// default line style
|
|
4103
|
+
dashStyle: 'Dash'
|
|
4104
|
+
}]
|
|
4105
|
+
}, {
|
|
4106
|
+
id: 'forecastedIncome',
|
|
4107
|
+
name: 'Forecasted Income',
|
|
4108
|
+
data: [],
|
|
4109
|
+
}];
|
|
4110
|
+
for (const key in MonthNameShortEnum) {
|
|
4111
|
+
if (MonthNameShortEnum.hasOwnProperty(key)) {
|
|
4112
|
+
// transaction collection for provided month
|
|
4113
|
+
const monthTransactionCollection = this.transactions.getByMonth(+MonthNumberEnum[key]);
|
|
4114
|
+
chartData[0].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), monthTransactionCollection.amount]);
|
|
4115
|
+
chartData[1].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), this.forecastedIncomeAmount / 12]);
|
|
4116
|
+
}
|
|
4117
|
+
}
|
|
4118
|
+
return chartData;
|
|
4223
4119
|
}
|
|
4224
4120
|
}
|
|
4225
4121
|
|
|
4226
|
-
class
|
|
4122
|
+
class TransactionMetaField extends TransactionMetaField$1 {
|
|
4227
4123
|
}
|
|
4228
4124
|
__decorate([
|
|
4229
|
-
Type(() =>
|
|
4230
|
-
],
|
|
4231
|
-
__decorate([
|
|
4232
|
-
Type(() => PropertyCategory)
|
|
4233
|
-
], PropertyCategoryMovement.prototype, "propertyCategory", void 0);
|
|
4125
|
+
Type(() => ChartAccountsMetaField)
|
|
4126
|
+
], TransactionMetaField.prototype, "metaField", void 0);
|
|
4234
4127
|
__decorate([
|
|
4235
|
-
Type(() =>
|
|
4236
|
-
],
|
|
4128
|
+
Type(() => Transaction$1)
|
|
4129
|
+
], TransactionMetaField.prototype, "transaction", void 0);
|
|
4237
4130
|
__decorate([
|
|
4238
|
-
Type(() =>
|
|
4239
|
-
],
|
|
4131
|
+
Type(() => ChartAccountsMetaField)
|
|
4132
|
+
], TransactionMetaField.prototype, "chartAccountsMetaField", void 0);
|
|
4240
4133
|
|
|
4241
4134
|
/**
|
|
4242
|
-
*
|
|
4135
|
+
* Enum with maximum number of payments, depending on the frequency.
|
|
4136
|
+
* Used only for vehicle loans
|
|
4243
4137
|
*/
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4138
|
+
var LoanMaxNumberOfPaymentsEnum;
|
|
4139
|
+
(function (LoanMaxNumberOfPaymentsEnum) {
|
|
4140
|
+
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["WEEKLY"] = 260] = "WEEKLY";
|
|
4141
|
+
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["FORTNIGHTLY"] = 130] = "FORTNIGHTLY";
|
|
4142
|
+
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["MONTHLY"] = 60] = "MONTHLY";
|
|
4143
|
+
})(LoanMaxNumberOfPaymentsEnum || (LoanMaxNumberOfPaymentsEnum = {}));
|
|
4144
|
+
|
|
4145
|
+
class BankTransaction extends BankTransaction$1 {
|
|
4146
|
+
constructor() {
|
|
4147
|
+
super(...arguments);
|
|
4148
|
+
// allocated money amount for bank transaction
|
|
4149
|
+
this.allocatedAmount = 0;
|
|
4150
|
+
this.unallocatedAmount = 0;
|
|
4249
4151
|
}
|
|
4250
4152
|
/**
|
|
4251
|
-
*
|
|
4153
|
+
* get allocated amount value but with +/- sign
|
|
4252
4154
|
*/
|
|
4253
|
-
get
|
|
4254
|
-
return this.
|
|
4155
|
+
get balanceAmount() {
|
|
4156
|
+
return this.isCredit() ? this.allocatedAmount : -this.allocatedAmount;
|
|
4255
4157
|
}
|
|
4256
4158
|
/**
|
|
4257
|
-
*
|
|
4258
|
-
* @param type
|
|
4159
|
+
* check if bank transaction is debit
|
|
4259
4160
|
*/
|
|
4260
|
-
|
|
4261
|
-
return
|
|
4262
|
-
}
|
|
4263
|
-
}
|
|
4264
|
-
|
|
4265
|
-
var PropertyEquityChartTypeEnum;
|
|
4266
|
-
(function (PropertyEquityChartTypeEnum) {
|
|
4267
|
-
PropertyEquityChartTypeEnum["MARKET_VALUE"] = "marketValue";
|
|
4268
|
-
PropertyEquityChartTypeEnum["LOAN_BALANCE"] = "loanBalance";
|
|
4269
|
-
})(PropertyEquityChartTypeEnum || (PropertyEquityChartTypeEnum = {}));
|
|
4270
|
-
|
|
4271
|
-
// count of years for future values
|
|
4272
|
-
const FORECAST_YEARS = 25;
|
|
4273
|
-
/**
|
|
4274
|
-
* class contain actual and forecasted market values and loan balances for passed properties
|
|
4275
|
-
* X axis - years from the first actual data year to the last forecasted year
|
|
4276
|
-
* Y axis - amounts of market values, loan balances
|
|
4277
|
-
* Also on hover appear equity positions point
|
|
4278
|
-
*/
|
|
4279
|
-
class PropertyEquityChartData {
|
|
4280
|
-
constructor(properties, bankAccounts, loans, registerDate) {
|
|
4281
|
-
this.registerDate = registerDate;
|
|
4282
|
-
this.properties = properties;
|
|
4283
|
-
this.bankAccounts = bankAccounts.getLoanAccounts();
|
|
4284
|
-
this.loans = loans;
|
|
4285
|
-
this.currentYear = new FinancialYear(new Date()).year;
|
|
4286
|
-
this.initItems();
|
|
4287
|
-
this.buildHistoryItems();
|
|
4288
|
-
this.buildActualItem();
|
|
4289
|
-
this.buildForecastedItems();
|
|
4290
|
-
this.checkZeroLoanBalance();
|
|
4291
|
-
this.checkZeroMarketValue();
|
|
4161
|
+
isDebit() {
|
|
4162
|
+
return this.type === BankTransactionTypeEnum.DEBIT;
|
|
4292
4163
|
}
|
|
4293
4164
|
/**
|
|
4294
|
-
*
|
|
4295
|
-
* @param type
|
|
4165
|
+
* check if bank transaction is credit
|
|
4296
4166
|
*/
|
|
4297
|
-
|
|
4298
|
-
return this.
|
|
4167
|
+
isCredit() {
|
|
4168
|
+
return this.type === BankTransactionTypeEnum.CREDIT;
|
|
4299
4169
|
}
|
|
4300
4170
|
/**
|
|
4301
|
-
*
|
|
4171
|
+
* Create Transaction instance based on Bank Transaction
|
|
4302
4172
|
*/
|
|
4303
|
-
|
|
4304
|
-
return
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
value: this.currentYear,
|
|
4313
|
-
dashStyle: 'Solid'
|
|
4314
|
-
}, {
|
|
4315
|
-
// default line style
|
|
4316
|
-
dashStyle: 'Dash'
|
|
4317
|
-
}]
|
|
4318
|
-
},
|
|
4319
|
-
{
|
|
4320
|
-
// id used to add/remove serie to chart
|
|
4321
|
-
id: 'loanBalance',
|
|
4322
|
-
name: 'Loan Balance',
|
|
4323
|
-
series: this.getChartSeries(PropertyEquityChartTypeEnum.LOAN_BALANCE)
|
|
4324
|
-
}
|
|
4325
|
-
];
|
|
4173
|
+
toTransaction() {
|
|
4174
|
+
return plainToClass(Transaction, {
|
|
4175
|
+
amount: this.amount,
|
|
4176
|
+
description: this.description,
|
|
4177
|
+
date: this.date,
|
|
4178
|
+
source: TransactionSourceEnum.BANK_TRANSACTION,
|
|
4179
|
+
operation: this.operation,
|
|
4180
|
+
type: this.type,
|
|
4181
|
+
});
|
|
4326
4182
|
}
|
|
4327
4183
|
/**
|
|
4328
|
-
*
|
|
4184
|
+
* Check if bank transaction is completely allocated
|
|
4329
4185
|
*/
|
|
4330
|
-
|
|
4331
|
-
this.
|
|
4332
|
-
for (let year = new FinancialYear(this.registerDate).year - 1; year <= (this.currentYear + FORECAST_YEARS); year++) {
|
|
4333
|
-
this.list.push(new PropertyEquityChartItem(year));
|
|
4334
|
-
}
|
|
4186
|
+
isAllocated(allocations) {
|
|
4187
|
+
return this.amount === this.getAllocatedAmount(allocations);
|
|
4335
4188
|
}
|
|
4336
4189
|
/**
|
|
4337
|
-
*
|
|
4190
|
+
* Get bank transaction allocated amount
|
|
4338
4191
|
*/
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
const items = this.list.filter((item) => item.year <= this.currentYear);
|
|
4342
|
-
items.forEach((item) => {
|
|
4343
|
-
// increase item values with property actual forecasts for item year
|
|
4344
|
-
item.marketValue = this.properties.items.reduce((sum, property) => sum + this.getMarketValueForPropertyByYear(property, item.year), 0);
|
|
4345
|
-
item.loanBalance = Math.abs(this.properties.items.reduce((sum, property) => sum + this.getLoanBalanceForPropertyByYear(property, item.year), 0));
|
|
4346
|
-
});
|
|
4192
|
+
getAllocatedAmount(allocations) {
|
|
4193
|
+
return allocations.getByBankTransactionsIds([this.id]).amount;
|
|
4347
4194
|
}
|
|
4348
4195
|
/**
|
|
4349
|
-
*
|
|
4350
|
-
* @private
|
|
4196
|
+
* Get bank transaction unallocated amount
|
|
4351
4197
|
*/
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
item.marketValue = this.properties.marketValue;
|
|
4355
|
-
item.loanBalance = this.properties.items.reduce((sum, property) => sum + Math.abs(this.bankAccounts.getPropertyBalanceAmount(property.id)), 0);
|
|
4198
|
+
getUnallocatedAmount(allocations) {
|
|
4199
|
+
return this.amount - this.getAllocatedAmount(allocations);
|
|
4356
4200
|
}
|
|
4201
|
+
}
|
|
4202
|
+
__decorate([
|
|
4203
|
+
Type(() => Date)
|
|
4204
|
+
], BankTransaction.prototype, "date", void 0);
|
|
4205
|
+
__decorate([
|
|
4206
|
+
Type(() => Number)
|
|
4207
|
+
], BankTransaction.prototype, "amount", void 0);
|
|
4208
|
+
|
|
4209
|
+
class TransactionAllocation extends TransactionAllocation$1 {
|
|
4357
4210
|
/**
|
|
4358
|
-
*
|
|
4211
|
+
* Create a new instance of transaction allocation
|
|
4212
|
+
* transaction could be empty since we can POST allocation inside a new transaction
|
|
4359
4213
|
*/
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
this.properties.items.forEach((property) => {
|
|
4363
|
-
let forecastedMarketValue = (property.growthPercent / 100) * property.marketValue + property.marketValue;
|
|
4364
|
-
// calculate future values for each future year for current handling property
|
|
4365
|
-
this.list
|
|
4366
|
-
.filter((item) => item.year > this.currentYear)
|
|
4367
|
-
.forEach((item) => {
|
|
4368
|
-
const propertyBankAccounts = this.bankAccounts.getByPropertyId(property.id);
|
|
4369
|
-
// increase loan balance amount for handling equity position item
|
|
4370
|
-
item.loanBalance += this.getLoanBalanceByYear(property, item.year, propertyBankAccounts, this.loans.getByBankAccountsIds(propertyBankAccounts.getIds()));
|
|
4371
|
-
// increase market value amount for handling equity position item
|
|
4372
|
-
item.marketValue += forecastedMarketValue;
|
|
4373
|
-
// increase current market value forecast for the next cycle iteration
|
|
4374
|
-
forecastedMarketValue += forecastedMarketValue * (property.growthPercent / 100);
|
|
4375
|
-
});
|
|
4376
|
-
});
|
|
4377
|
-
}
|
|
4378
|
-
/**
|
|
4379
|
-
* Get property loan balance by financial year
|
|
4380
|
-
* @param property Property instance for filter
|
|
4381
|
-
* @param year Financial year number
|
|
4382
|
-
* @param bankAccounts List of bank accounts
|
|
4383
|
-
* @param loans List of loans
|
|
4384
|
-
* @private
|
|
4385
|
-
*/
|
|
4386
|
-
getLoanBalanceByYear(property, year, bankAccounts, loans) {
|
|
4387
|
-
return bankAccounts.items.reduce((totalSum, bankAccount) => { var _a, _b; return totalSum + (bankAccount.getPropertyPercentage(property.id) * (((_b = (_a = loans.getByBankAccountId(bankAccount.id)) === null || _a === void 0 ? void 0 : _a.getLastPaymentByYear(year)) === null || _b === void 0 ? void 0 : _b.totalOwed) || 0)); }, 0);
|
|
4388
|
-
}
|
|
4389
|
-
getMarketValueForPropertyByYear(property, year) {
|
|
4390
|
-
if (new FinancialYear(property.contractDate).year > year) {
|
|
4391
|
-
return 0;
|
|
4392
|
-
}
|
|
4393
|
-
return (property.getForecastByYear(year) || first(property.forecasts)).marketValue;
|
|
4394
|
-
}
|
|
4395
|
-
getLoanBalanceForPropertyByYear(property, year) {
|
|
4396
|
-
var _a;
|
|
4397
|
-
if (new FinancialYear(property.contractDate).year > year) {
|
|
4398
|
-
return 0;
|
|
4399
|
-
}
|
|
4400
|
-
return ((_a = property.getForecastByYear(year)) === null || _a === void 0 ? void 0 : _a.loanBalance) || this.bankAccounts.getPropertyBalanceAmount(property.id);
|
|
4401
|
-
}
|
|
4402
|
-
/**
|
|
4403
|
-
* Check if loan balance is 0 and set it as null (to not to draw point on the chart)
|
|
4404
|
-
*/
|
|
4405
|
-
checkZeroLoanBalance() {
|
|
4406
|
-
this.list.forEach((item) => {
|
|
4407
|
-
if (item.loanBalance === 0) {
|
|
4408
|
-
item.loanBalance = null;
|
|
4409
|
-
}
|
|
4410
|
-
});
|
|
4411
|
-
}
|
|
4412
|
-
/**
|
|
4413
|
-
* Check if market value is 0 and set it as null (to not to draw point on the chart)
|
|
4414
|
-
*/
|
|
4415
|
-
checkZeroMarketValue() {
|
|
4416
|
-
this.list.forEach((item) => {
|
|
4417
|
-
if (item.marketValue === 0) {
|
|
4418
|
-
item.marketValue = null;
|
|
4419
|
-
}
|
|
4420
|
-
});
|
|
4214
|
+
static create(amount, bankTransaction, transaction) {
|
|
4215
|
+
return plainToClass(TransactionAllocation, { amount, transaction, bankTransaction });
|
|
4421
4216
|
}
|
|
4422
4217
|
}
|
|
4218
|
+
__decorate([
|
|
4219
|
+
Type(() => BankTransaction)
|
|
4220
|
+
], TransactionAllocation.prototype, "bankTransaction", void 0);
|
|
4221
|
+
__decorate([
|
|
4222
|
+
Type(() => Transaction)
|
|
4223
|
+
], TransactionAllocation.prototype, "transaction", void 0);
|
|
4423
4224
|
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
}
|
|
4436
|
-
/**
|
|
4437
|
-
* Get tax position
|
|
4438
|
-
* Tax Position = Income - Expense - Interest - Depreciation
|
|
4439
|
-
*/
|
|
4440
|
-
get taxPosition() {
|
|
4441
|
-
return this.cashPosition + this.depreciation;
|
|
4225
|
+
/**
|
|
4226
|
+
* Depreciation Nested Tree node with depreciations group
|
|
4227
|
+
*/
|
|
4228
|
+
class DepreciationGroup {
|
|
4229
|
+
constructor(label, description, icon, children, totalCost, openingValue) {
|
|
4230
|
+
this.label = label;
|
|
4231
|
+
this.description = description;
|
|
4232
|
+
this.icon = icon;
|
|
4233
|
+
this.children = children;
|
|
4234
|
+
this.totalCost = totalCost;
|
|
4235
|
+
this.openingValue = openingValue;
|
|
4442
4236
|
}
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
* Rental Return = Income / Market Value
|
|
4446
|
-
*/
|
|
4447
|
-
get rentalReturn() {
|
|
4448
|
-
return this.income / this.marketValue;
|
|
4237
|
+
getClaimAmount() {
|
|
4238
|
+
return this.children.reduce((sum, child) => sum + child.getClaimAmount(), 0);
|
|
4449
4239
|
}
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
*/
|
|
4453
|
-
isCurrentYear() {
|
|
4454
|
-
return this.financialYear === new FinancialYear(new Date()).year;
|
|
4240
|
+
getAmount() {
|
|
4241
|
+
return this.children.reduce((sum, child) => sum + child.getAmount(), 0);
|
|
4455
4242
|
}
|
|
4456
4243
|
}
|
|
4457
|
-
__decorate([
|
|
4458
|
-
Transform(({ value }) => +value)
|
|
4459
|
-
], PropertyForecast.prototype, "income", void 0);
|
|
4460
|
-
__decorate([
|
|
4461
|
-
Transform(({ value }) => -Math.abs(+value))
|
|
4462
|
-
], PropertyForecast.prototype, "expense", void 0);
|
|
4463
|
-
__decorate([
|
|
4464
|
-
Transform(({ value }) => -Math.abs(+value))
|
|
4465
|
-
], PropertyForecast.prototype, "interest", void 0);
|
|
4466
|
-
__decorate([
|
|
4467
|
-
Transform(({ value }) => -Math.abs(+value))
|
|
4468
|
-
], PropertyForecast.prototype, "depreciation", void 0);
|
|
4469
|
-
__decorate([
|
|
4470
|
-
Transform(({ value }) => +value)
|
|
4471
|
-
], PropertyForecast.prototype, "loanBalance", void 0);
|
|
4472
|
-
__decorate([
|
|
4473
|
-
Transform(({ value }) => +value)
|
|
4474
|
-
], PropertyForecast.prototype, "marketValue", void 0);
|
|
4475
|
-
|
|
4476
|
-
var PropertyShareStatusEnum;
|
|
4477
|
-
(function (PropertyShareStatusEnum) {
|
|
4478
|
-
PropertyShareStatusEnum[PropertyShareStatusEnum["PENDING"] = 1] = "PENDING";
|
|
4479
|
-
PropertyShareStatusEnum[PropertyShareStatusEnum["APPROVED"] = 2] = "APPROVED";
|
|
4480
|
-
PropertyShareStatusEnum[PropertyShareStatusEnum["REJECTED"] = 3] = "REJECTED";
|
|
4481
|
-
})(PropertyShareStatusEnum || (PropertyShareStatusEnum = {}));
|
|
4482
4244
|
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
return this.status === PropertyShareStatusEnum.REJECTED;
|
|
4245
|
+
/**
|
|
4246
|
+
* @TODO Alex useless class, use parent instead
|
|
4247
|
+
* Depreciation Tree node with depreciation details
|
|
4248
|
+
*/
|
|
4249
|
+
class DepreciationGroupItem extends DepreciationGroup {
|
|
4250
|
+
constructor(depreciation) {
|
|
4251
|
+
super(depreciation.chartAccounts.name, depreciation.description, 'property');
|
|
4252
|
+
this.depreciation = depreciation;
|
|
4492
4253
|
}
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
return (_a = PropertyShareStatusEnum[this.status]) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
4254
|
+
getClaimAmount() {
|
|
4255
|
+
return this.depreciation.currentYearForecast.claimAmount;
|
|
4496
4256
|
}
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
* Otherwise - return first name from invitation
|
|
4500
|
-
*/
|
|
4501
|
-
get userName() {
|
|
4502
|
-
return this.user ? this.user.fullName : `${this.invite.firstName}`;
|
|
4257
|
+
getAmount() {
|
|
4258
|
+
return this.depreciation.currentYearForecast.amount;
|
|
4503
4259
|
}
|
|
4504
4260
|
}
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
]
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
]
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
]
|
|
4261
|
+
|
|
4262
|
+
var DepreciationGroupEnum;
|
|
4263
|
+
(function (DepreciationGroupEnum) {
|
|
4264
|
+
DepreciationGroupEnum[DepreciationGroupEnum["BUILDING_IMPROVEMENTS"] = 0] = "BUILDING_IMPROVEMENTS";
|
|
4265
|
+
DepreciationGroupEnum[DepreciationGroupEnum["PLANT_EQUIPMENT"] = 1] = "PLANT_EQUIPMENT";
|
|
4266
|
+
DepreciationGroupEnum[DepreciationGroupEnum["LOW_VALUE_POOL"] = 2] = "LOW_VALUE_POOL";
|
|
4267
|
+
DepreciationGroupEnum[DepreciationGroupEnum["WRITTEN_OFF_ITEMS"] = 3] = "WRITTEN_OFF_ITEMS";
|
|
4268
|
+
DepreciationGroupEnum[DepreciationGroupEnum["BORROWING_EXPENSES"] = 4] = "BORROWING_EXPENSES";
|
|
4269
|
+
DepreciationGroupEnum[DepreciationGroupEnum["SMALL_BUSINESS_POOL"] = 5] = "SMALL_BUSINESS_POOL";
|
|
4270
|
+
})(DepreciationGroupEnum || (DepreciationGroupEnum = {}));
|
|
4271
|
+
|
|
4272
|
+
const DEPRECIATION_GROUPS = {
|
|
4273
|
+
[DepreciationGroupEnum.BORROWING_EXPENSES]: {
|
|
4274
|
+
label: 'Borrowing Expenses',
|
|
4275
|
+
description: 'Borrowing expenses on loans are deductible over 1826 days (5 years) starting from the date of a loan',
|
|
4276
|
+
icon: 'loan'
|
|
4277
|
+
},
|
|
4278
|
+
[DepreciationGroupEnum.BUILDING_IMPROVEMENTS]: {
|
|
4279
|
+
label: 'Building & Improvements',
|
|
4280
|
+
description: 'Construction costs, renovations and capital improvements which depreciate at 2.5%',
|
|
4281
|
+
icon: 'building-improvements'
|
|
4282
|
+
},
|
|
4283
|
+
[DepreciationGroupEnum.PLANT_EQUIPMENT]: {
|
|
4284
|
+
label: 'Plant & Equipment',
|
|
4285
|
+
description: 'Assets which decline in value over their useful life (as prescribed by the ATO)',
|
|
4286
|
+
icon: 'plant-equipment'
|
|
4287
|
+
},
|
|
4288
|
+
[DepreciationGroupEnum.LOW_VALUE_POOL]: {
|
|
4289
|
+
label: 'Low Value Pool',
|
|
4290
|
+
description: 'Items under $1,000 are added to the pool to maximise depreciation',
|
|
4291
|
+
icon: 'lvp'
|
|
4292
|
+
},
|
|
4293
|
+
[DepreciationGroupEnum.WRITTEN_OFF_ITEMS]: {
|
|
4294
|
+
label: 'Written Off Items',
|
|
4295
|
+
description: 'Items below $300, replaced or obsolete are fully deductible',
|
|
4296
|
+
icon: 'cart'
|
|
4297
|
+
},
|
|
4298
|
+
[DepreciationGroupEnum.SMALL_BUSINESS_POOL]: {
|
|
4299
|
+
label: 'Small business pool',
|
|
4300
|
+
description: 'The small business pool allows business owners to claim depreciation on plant and equipment items at an accelerated rate.',
|
|
4301
|
+
icon: 'portfolio'
|
|
4302
|
+
},
|
|
4303
|
+
};
|
|
4523
4304
|
|
|
4524
4305
|
/**
|
|
4525
|
-
*
|
|
4526
|
-
* Enum with properties ownership filter options
|
|
4306
|
+
* Depreciation Low Value Pool rate based on asset financial year (current or subsequent years).
|
|
4527
4307
|
*/
|
|
4528
|
-
var
|
|
4529
|
-
(function (
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
})(ShareFilterOptionsEnum || (ShareFilterOptionsEnum = {}));
|
|
4308
|
+
var DepreciationLvpRateEnum;
|
|
4309
|
+
(function (DepreciationLvpRateEnum) {
|
|
4310
|
+
DepreciationLvpRateEnum[DepreciationLvpRateEnum["FIRST_YEAR"] = 0.1875] = "FIRST_YEAR";
|
|
4311
|
+
DepreciationLvpRateEnum[DepreciationLvpRateEnum["DEFAULT"] = 0.375] = "DEFAULT";
|
|
4312
|
+
})(DepreciationLvpRateEnum || (DepreciationLvpRateEnum = {}));
|
|
4534
4313
|
|
|
4535
|
-
class
|
|
4314
|
+
class DepreciationReceipt extends DepreciationReceipt$1 {
|
|
4536
4315
|
constructor() {
|
|
4537
4316
|
super(...arguments);
|
|
4538
|
-
this.type = AssetTypeEnum.
|
|
4539
|
-
this.entityType = AssetEntityTypeEnum.
|
|
4540
|
-
}
|
|
4541
|
-
}
|
|
4542
|
-
|
|
4543
|
-
/**
|
|
4544
|
-
* Income sources chart data
|
|
4545
|
-
*/
|
|
4546
|
-
class IncomeSourceChartData {
|
|
4547
|
-
constructor(forecastedIncomeAmount, transactions) {
|
|
4548
|
-
this.forecastedIncomeAmount = forecastedIncomeAmount;
|
|
4549
|
-
this.transactions = transactions;
|
|
4550
|
-
}
|
|
4551
|
-
/**
|
|
4552
|
-
* Get prepared data for income sources chart
|
|
4553
|
-
*/
|
|
4554
|
-
get() {
|
|
4555
|
-
const chartData = [{
|
|
4556
|
-
id: 'actualIncome',
|
|
4557
|
-
name: 'Actual Income',
|
|
4558
|
-
data: [],
|
|
4559
|
-
// display future actual incomes with dash line and past actual incomes with solid line
|
|
4560
|
-
zones: [{
|
|
4561
|
-
// line style after current month
|
|
4562
|
-
value: new FinancialYear().getMonthDate(new Date().getMonth()).getTime(),
|
|
4563
|
-
dashStyle: 'Solid'
|
|
4564
|
-
}, {
|
|
4565
|
-
// default line style
|
|
4566
|
-
dashStyle: 'Dash'
|
|
4567
|
-
}]
|
|
4568
|
-
}, {
|
|
4569
|
-
id: 'forecastedIncome',
|
|
4570
|
-
name: 'Forecasted Income',
|
|
4571
|
-
data: [],
|
|
4572
|
-
}];
|
|
4573
|
-
for (const key in MonthNameShortEnum) {
|
|
4574
|
-
if (MonthNameShortEnum.hasOwnProperty(key)) {
|
|
4575
|
-
// transaction collection for provided month
|
|
4576
|
-
const monthTransactionCollection = this.transactions.getByMonth(+MonthNumberEnum[key]);
|
|
4577
|
-
chartData[0].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), monthTransactionCollection.amount]);
|
|
4578
|
-
chartData[1].data.push([new FinancialYear().getMonthDate(+MonthNumberEnum[key]).getTime(), this.forecastedIncomeAmount / 12]);
|
|
4579
|
-
}
|
|
4580
|
-
}
|
|
4581
|
-
return chartData;
|
|
4582
|
-
}
|
|
4583
|
-
}
|
|
4584
|
-
|
|
4585
|
-
class TransactionMetaField extends TransactionMetaField$1 {
|
|
4586
|
-
}
|
|
4587
|
-
__decorate([
|
|
4588
|
-
Type(() => ChartAccountsMetaField)
|
|
4589
|
-
], TransactionMetaField.prototype, "metaField", void 0);
|
|
4590
|
-
__decorate([
|
|
4591
|
-
Type(() => Transaction$1)
|
|
4592
|
-
], TransactionMetaField.prototype, "transaction", void 0);
|
|
4593
|
-
__decorate([
|
|
4594
|
-
Type(() => ChartAccountsMetaField)
|
|
4595
|
-
], TransactionMetaField.prototype, "chartAccountsMetaField", void 0);
|
|
4596
|
-
|
|
4597
|
-
/**
|
|
4598
|
-
* Enum with maximum number of payments, depending on the frequency.
|
|
4599
|
-
* Used only for vehicle loans
|
|
4600
|
-
*/
|
|
4601
|
-
var LoanMaxNumberOfPaymentsEnum;
|
|
4602
|
-
(function (LoanMaxNumberOfPaymentsEnum) {
|
|
4603
|
-
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["WEEKLY"] = 260] = "WEEKLY";
|
|
4604
|
-
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["FORTNIGHTLY"] = 130] = "FORTNIGHTLY";
|
|
4605
|
-
LoanMaxNumberOfPaymentsEnum[LoanMaxNumberOfPaymentsEnum["MONTHLY"] = 60] = "MONTHLY";
|
|
4606
|
-
})(LoanMaxNumberOfPaymentsEnum || (LoanMaxNumberOfPaymentsEnum = {}));
|
|
4607
|
-
|
|
4608
|
-
class BankTransaction extends BankTransaction$1 {
|
|
4609
|
-
constructor() {
|
|
4610
|
-
super(...arguments);
|
|
4611
|
-
// allocated money amount for bank transaction
|
|
4612
|
-
this.allocatedAmount = 0;
|
|
4613
|
-
this.unallocatedAmount = 0;
|
|
4614
|
-
}
|
|
4615
|
-
/**
|
|
4616
|
-
* get allocated amount value but with +/- sign
|
|
4617
|
-
*/
|
|
4618
|
-
get balanceAmount() {
|
|
4619
|
-
return this.isCredit() ? this.allocatedAmount : -this.allocatedAmount;
|
|
4620
|
-
}
|
|
4621
|
-
/**
|
|
4622
|
-
* check if bank transaction is debit
|
|
4623
|
-
*/
|
|
4624
|
-
isDebit() {
|
|
4625
|
-
return this.type === BankTransactionTypeEnum.DEBIT;
|
|
4626
|
-
}
|
|
4627
|
-
/**
|
|
4628
|
-
* check if bank transaction is credit
|
|
4629
|
-
*/
|
|
4630
|
-
isCredit() {
|
|
4631
|
-
return this.type === BankTransactionTypeEnum.CREDIT;
|
|
4632
|
-
}
|
|
4633
|
-
/**
|
|
4634
|
-
* Create Transaction instance based on Bank Transaction
|
|
4635
|
-
*/
|
|
4636
|
-
toTransaction() {
|
|
4637
|
-
return plainToClass(Transaction, {
|
|
4638
|
-
amount: this.amount,
|
|
4639
|
-
description: this.description,
|
|
4640
|
-
date: this.date,
|
|
4641
|
-
source: TransactionSourceEnum.BANK_TRANSACTION,
|
|
4642
|
-
operation: this.operation,
|
|
4643
|
-
type: this.type,
|
|
4644
|
-
});
|
|
4645
|
-
}
|
|
4646
|
-
/**
|
|
4647
|
-
* Check if bank transaction is completely allocated
|
|
4648
|
-
*/
|
|
4649
|
-
isAllocated(allocations) {
|
|
4650
|
-
return this.amount === this.getAllocatedAmount(allocations);
|
|
4651
|
-
}
|
|
4652
|
-
/**
|
|
4653
|
-
* Get bank transaction allocated amount
|
|
4654
|
-
*/
|
|
4655
|
-
getAllocatedAmount(allocations) {
|
|
4656
|
-
return allocations.getByBankTransactionsIds([this.id]).amount;
|
|
4657
|
-
}
|
|
4658
|
-
/**
|
|
4659
|
-
* Get bank transaction unallocated amount
|
|
4660
|
-
*/
|
|
4661
|
-
getUnallocatedAmount(allocations) {
|
|
4662
|
-
return this.amount - this.getAllocatedAmount(allocations);
|
|
4663
|
-
}
|
|
4664
|
-
}
|
|
4665
|
-
__decorate([
|
|
4666
|
-
Type(() => Date)
|
|
4667
|
-
], BankTransaction.prototype, "date", void 0);
|
|
4668
|
-
__decorate([
|
|
4669
|
-
Type(() => Number)
|
|
4670
|
-
], BankTransaction.prototype, "amount", void 0);
|
|
4671
|
-
|
|
4672
|
-
class TransactionAllocation extends TransactionAllocation$1 {
|
|
4673
|
-
/**
|
|
4674
|
-
* Create a new instance of transaction allocation
|
|
4675
|
-
* transaction could be empty since we can POST allocation inside a new transaction
|
|
4676
|
-
*/
|
|
4677
|
-
static create(amount, bankTransaction, transaction) {
|
|
4678
|
-
return plainToClass(TransactionAllocation, { amount, transaction, bankTransaction });
|
|
4679
|
-
}
|
|
4680
|
-
}
|
|
4681
|
-
__decorate([
|
|
4682
|
-
Type(() => BankTransaction)
|
|
4683
|
-
], TransactionAllocation.prototype, "bankTransaction", void 0);
|
|
4684
|
-
__decorate([
|
|
4685
|
-
Type(() => Transaction)
|
|
4686
|
-
], TransactionAllocation.prototype, "transaction", void 0);
|
|
4687
|
-
|
|
4688
|
-
/**
|
|
4689
|
-
* Depreciation Nested Tree node with depreciations group
|
|
4690
|
-
*/
|
|
4691
|
-
class DepreciationGroup {
|
|
4692
|
-
constructor(label, description, icon, children, totalCost, openingValue) {
|
|
4693
|
-
this.label = label;
|
|
4694
|
-
this.description = description;
|
|
4695
|
-
this.icon = icon;
|
|
4696
|
-
this.children = children;
|
|
4697
|
-
this.totalCost = totalCost;
|
|
4698
|
-
this.openingValue = openingValue;
|
|
4699
|
-
}
|
|
4700
|
-
getClaimAmount() {
|
|
4701
|
-
return this.children.reduce((sum, child) => sum + child.getClaimAmount(), 0);
|
|
4702
|
-
}
|
|
4703
|
-
getAmount() {
|
|
4704
|
-
return this.children.reduce((sum, child) => sum + child.getAmount(), 0);
|
|
4705
|
-
}
|
|
4706
|
-
}
|
|
4707
|
-
|
|
4708
|
-
/**
|
|
4709
|
-
* @TODO Alex useless class, use parent instead
|
|
4710
|
-
* Depreciation Tree node with depreciation details
|
|
4711
|
-
*/
|
|
4712
|
-
class DepreciationGroupItem extends DepreciationGroup {
|
|
4713
|
-
constructor(depreciation) {
|
|
4714
|
-
super(depreciation.chartAccounts.name, depreciation.description, 'property');
|
|
4715
|
-
this.depreciation = depreciation;
|
|
4716
|
-
}
|
|
4717
|
-
getClaimAmount() {
|
|
4718
|
-
return this.depreciation.currentYearForecast.claimAmount;
|
|
4719
|
-
}
|
|
4720
|
-
getAmount() {
|
|
4721
|
-
return this.depreciation.currentYearForecast.amount;
|
|
4722
|
-
}
|
|
4723
|
-
}
|
|
4724
|
-
|
|
4725
|
-
var DepreciationGroupEnum;
|
|
4726
|
-
(function (DepreciationGroupEnum) {
|
|
4727
|
-
DepreciationGroupEnum[DepreciationGroupEnum["BUILDING_IMPROVEMENTS"] = 0] = "BUILDING_IMPROVEMENTS";
|
|
4728
|
-
DepreciationGroupEnum[DepreciationGroupEnum["PLANT_EQUIPMENT"] = 1] = "PLANT_EQUIPMENT";
|
|
4729
|
-
DepreciationGroupEnum[DepreciationGroupEnum["LOW_VALUE_POOL"] = 2] = "LOW_VALUE_POOL";
|
|
4730
|
-
DepreciationGroupEnum[DepreciationGroupEnum["WRITTEN_OFF_ITEMS"] = 3] = "WRITTEN_OFF_ITEMS";
|
|
4731
|
-
DepreciationGroupEnum[DepreciationGroupEnum["BORROWING_EXPENSES"] = 4] = "BORROWING_EXPENSES";
|
|
4732
|
-
DepreciationGroupEnum[DepreciationGroupEnum["SMALL_BUSINESS_POOL"] = 5] = "SMALL_BUSINESS_POOL";
|
|
4733
|
-
})(DepreciationGroupEnum || (DepreciationGroupEnum = {}));
|
|
4734
|
-
|
|
4735
|
-
const DEPRECIATION_GROUPS = {
|
|
4736
|
-
[DepreciationGroupEnum.BORROWING_EXPENSES]: {
|
|
4737
|
-
label: 'Borrowing Expenses',
|
|
4738
|
-
description: 'Borrowing expenses on loans are deductible over 1826 days (5 years) starting from the date of a loan',
|
|
4739
|
-
icon: 'loan'
|
|
4740
|
-
},
|
|
4741
|
-
[DepreciationGroupEnum.BUILDING_IMPROVEMENTS]: {
|
|
4742
|
-
label: 'Building & Improvements',
|
|
4743
|
-
description: 'Construction costs, renovations and capital improvements which depreciate at 2.5%',
|
|
4744
|
-
icon: 'building-improvements'
|
|
4745
|
-
},
|
|
4746
|
-
[DepreciationGroupEnum.PLANT_EQUIPMENT]: {
|
|
4747
|
-
label: 'Plant & Equipment',
|
|
4748
|
-
description: 'Assets which decline in value over their useful life (as prescribed by the ATO)',
|
|
4749
|
-
icon: 'plant-equipment'
|
|
4750
|
-
},
|
|
4751
|
-
[DepreciationGroupEnum.LOW_VALUE_POOL]: {
|
|
4752
|
-
label: 'Low Value Pool',
|
|
4753
|
-
description: 'Items under $1,000 are added to the pool to maximise depreciation',
|
|
4754
|
-
icon: 'lvp'
|
|
4755
|
-
},
|
|
4756
|
-
[DepreciationGroupEnum.WRITTEN_OFF_ITEMS]: {
|
|
4757
|
-
label: 'Written Off Items',
|
|
4758
|
-
description: 'Items below $300, replaced or obsolete are fully deductible',
|
|
4759
|
-
icon: 'cart'
|
|
4760
|
-
},
|
|
4761
|
-
[DepreciationGroupEnum.SMALL_BUSINESS_POOL]: {
|
|
4762
|
-
label: 'Small business pool',
|
|
4763
|
-
description: 'The small business pool allows business owners to claim depreciation on plant and equipment items at an accelerated rate.',
|
|
4764
|
-
icon: 'portfolio'
|
|
4765
|
-
},
|
|
4766
|
-
};
|
|
4767
|
-
|
|
4768
|
-
/**
|
|
4769
|
-
* Depreciation Low Value Pool rate based on asset financial year (current or subsequent years).
|
|
4770
|
-
*/
|
|
4771
|
-
var DepreciationLvpRateEnum;
|
|
4772
|
-
(function (DepreciationLvpRateEnum) {
|
|
4773
|
-
DepreciationLvpRateEnum[DepreciationLvpRateEnum["FIRST_YEAR"] = 0.1875] = "FIRST_YEAR";
|
|
4774
|
-
DepreciationLvpRateEnum[DepreciationLvpRateEnum["DEFAULT"] = 0.375] = "DEFAULT";
|
|
4775
|
-
})(DepreciationLvpRateEnum || (DepreciationLvpRateEnum = {}));
|
|
4776
|
-
|
|
4777
|
-
class DepreciationReceipt extends DepreciationReceipt$1 {
|
|
4778
|
-
constructor() {
|
|
4779
|
-
super(...arguments);
|
|
4780
|
-
this.type = AssetTypeEnum.DEPRECIATION_RECEIPT;
|
|
4781
|
-
this.entityType = AssetEntityTypeEnum.DEPRECIATIONS;
|
|
4317
|
+
this.type = AssetTypeEnum.DEPRECIATION_RECEIPT;
|
|
4318
|
+
this.entityType = AssetEntityTypeEnum.DEPRECIATIONS;
|
|
4782
4319
|
}
|
|
4783
4320
|
}
|
|
4784
4321
|
|
|
@@ -4841,7 +4378,7 @@ __decorate([
|
|
|
4841
4378
|
Type(() => SoleBusiness)
|
|
4842
4379
|
], SoleBusinessAllocation.prototype, "business", void 0);
|
|
4843
4380
|
__decorate([
|
|
4844
|
-
Transform(({ value }) => value
|
|
4381
|
+
Transform(({ value }) => isNaN(value) ? 100 : value),
|
|
4845
4382
|
Expose()
|
|
4846
4383
|
], SoleBusinessAllocation.prototype, "percent", void 0);
|
|
4847
4384
|
|
|
@@ -8045,29 +7582,151 @@ __decorate([
|
|
|
8045
7582
|
Type(() => User)
|
|
8046
7583
|
], PropertySubscription.prototype, "user", void 0);
|
|
8047
7584
|
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
7585
|
+
var PropertyCategoryListEnum;
|
|
7586
|
+
(function (PropertyCategoryListEnum) {
|
|
7587
|
+
PropertyCategoryListEnum[PropertyCategoryListEnum["OWNER_OCCUPIED"] = 3] = "OWNER_OCCUPIED";
|
|
7588
|
+
PropertyCategoryListEnum[PropertyCategoryListEnum["SHARED"] = 4] = "SHARED";
|
|
7589
|
+
PropertyCategoryListEnum[PropertyCategoryListEnum["VACANT_LAND"] = 5] = "VACANT_LAND";
|
|
7590
|
+
})(PropertyCategoryListEnum || (PropertyCategoryListEnum = {}));
|
|
7591
|
+
|
|
7592
|
+
class PropertyCategory extends PropertyCategory$1 {
|
|
7593
|
+
// @Todo check if category is Owner Occupied. If will be needed to check more categories - move the checking to the backend
|
|
7594
|
+
isOwnerOccupied() {
|
|
7595
|
+
return this.id === PropertyCategoryListEnum.OWNER_OCCUPIED;
|
|
8058
7596
|
}
|
|
8059
|
-
|
|
8060
|
-
return this.
|
|
7597
|
+
isVacantLand() {
|
|
7598
|
+
return this.id === PropertyCategoryListEnum.VACANT_LAND;
|
|
8061
7599
|
}
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
return !!((_a = this.myShare) === null || _a === void 0 ? void 0 : _a.sale);
|
|
7600
|
+
isShared() {
|
|
7601
|
+
return this.id === PropertyCategoryListEnum.SHARED;
|
|
8065
7602
|
}
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
7603
|
+
}
|
|
7604
|
+
|
|
7605
|
+
class PropertyDocument extends PropertyDocument$1 {
|
|
7606
|
+
constructor() {
|
|
7607
|
+
super(...arguments);
|
|
7608
|
+
this.type = AssetTypeEnum.PROPERTY;
|
|
7609
|
+
this.entityType = AssetEntityTypeEnum.PROPERTIES;
|
|
7610
|
+
}
|
|
7611
|
+
getApiUrlPrefix() {
|
|
7612
|
+
return '';
|
|
7613
|
+
}
|
|
7614
|
+
getEntity() {
|
|
7615
|
+
return this.property;
|
|
7616
|
+
}
|
|
7617
|
+
}
|
|
7618
|
+
|
|
7619
|
+
class PropertyValuation extends PropertyValuation$1 {
|
|
7620
|
+
get financialYear() {
|
|
7621
|
+
return new FinancialYear(this.date).year;
|
|
7622
|
+
}
|
|
7623
|
+
isCurrentYear() {
|
|
7624
|
+
return this.financialYear === new FinancialYear(new Date()).year;
|
|
7625
|
+
}
|
|
7626
|
+
}
|
|
7627
|
+
__decorate([
|
|
7628
|
+
Type(() => Date)
|
|
7629
|
+
], PropertyValuation.prototype, "date", void 0);
|
|
7630
|
+
__decorate([
|
|
7631
|
+
Type(() => PropertyDocument)
|
|
7632
|
+
], PropertyValuation.prototype, "document", void 0);
|
|
7633
|
+
__decorate([
|
|
7634
|
+
Type(() => Number)
|
|
7635
|
+
], PropertyValuation.prototype, "marketValue", void 0);
|
|
7636
|
+
__decorate([
|
|
7637
|
+
Exclude()
|
|
7638
|
+
], PropertyValuation.prototype, "documentFile", void 0);
|
|
7639
|
+
|
|
7640
|
+
class PropertyForecast extends PropertyForecast$1 {
|
|
7641
|
+
constructor() {
|
|
7642
|
+
super(...arguments);
|
|
7643
|
+
this.financialYear = new FinancialYear(new Date()).year;
|
|
7644
|
+
}
|
|
7645
|
+
/**
|
|
7646
|
+
* Get cash position
|
|
7647
|
+
* Cash Position = Income - Expense - Interest
|
|
7648
|
+
*/
|
|
7649
|
+
get cashPosition() {
|
|
7650
|
+
return this.income + this.expense + this.interest;
|
|
7651
|
+
}
|
|
7652
|
+
/**
|
|
7653
|
+
* Get tax position
|
|
7654
|
+
* Tax Position = Income - Expense - Interest - Depreciation
|
|
7655
|
+
*/
|
|
7656
|
+
get taxPosition() {
|
|
7657
|
+
return this.cashPosition + this.depreciation;
|
|
7658
|
+
}
|
|
7659
|
+
/**
|
|
7660
|
+
* Get rental return percent
|
|
7661
|
+
* Rental Return = Income / Market Value
|
|
7662
|
+
*/
|
|
7663
|
+
get rentalReturn() {
|
|
7664
|
+
return this.income / this.marketValue;
|
|
7665
|
+
}
|
|
7666
|
+
/**
|
|
7667
|
+
* Check if forecast is for real current fin year (not selected in the sidebar)
|
|
7668
|
+
*/
|
|
7669
|
+
isCurrentYear() {
|
|
7670
|
+
return this.financialYear === new FinancialYear(new Date()).year;
|
|
7671
|
+
}
|
|
7672
|
+
}
|
|
7673
|
+
__decorate([
|
|
7674
|
+
Transform(({ value }) => +value)
|
|
7675
|
+
], PropertyForecast.prototype, "income", void 0);
|
|
7676
|
+
__decorate([
|
|
7677
|
+
Transform(({ value }) => -Math.abs(+value))
|
|
7678
|
+
], PropertyForecast.prototype, "expense", void 0);
|
|
7679
|
+
__decorate([
|
|
7680
|
+
Transform(({ value }) => -Math.abs(+value))
|
|
7681
|
+
], PropertyForecast.prototype, "interest", void 0);
|
|
7682
|
+
__decorate([
|
|
7683
|
+
Transform(({ value }) => -Math.abs(+value))
|
|
7684
|
+
], PropertyForecast.prototype, "depreciation", void 0);
|
|
7685
|
+
__decorate([
|
|
7686
|
+
Transform(({ value }) => +value)
|
|
7687
|
+
], PropertyForecast.prototype, "loanBalance", void 0);
|
|
7688
|
+
__decorate([
|
|
7689
|
+
Transform(({ value }) => +value)
|
|
7690
|
+
], PropertyForecast.prototype, "marketValue", void 0);
|
|
7691
|
+
|
|
7692
|
+
class PropertyCategoryMovement extends PropertyCategoryMovement$1 {
|
|
7693
|
+
}
|
|
7694
|
+
__decorate([
|
|
7695
|
+
Type(() => PropertyValuation)
|
|
7696
|
+
], PropertyCategoryMovement.prototype, "valuation", void 0);
|
|
7697
|
+
__decorate([
|
|
7698
|
+
Type(() => PropertyCategory)
|
|
7699
|
+
], PropertyCategoryMovement.prototype, "propertyCategory", void 0);
|
|
7700
|
+
__decorate([
|
|
7701
|
+
Type(() => Date)
|
|
7702
|
+
], PropertyCategoryMovement.prototype, "fromDate", void 0);
|
|
7703
|
+
__decorate([
|
|
7704
|
+
Type(() => Date)
|
|
7705
|
+
], PropertyCategoryMovement.prototype, "toDate", void 0);
|
|
7706
|
+
|
|
7707
|
+
/**
|
|
7708
|
+
* propertySale docs - https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4209508353/Property+Sold+button
|
|
7709
|
+
*/
|
|
7710
|
+
class Property extends Property$1 {
|
|
7711
|
+
get name() {
|
|
7712
|
+
return this.address.name;
|
|
7713
|
+
}
|
|
7714
|
+
get isActive() {
|
|
7715
|
+
var _a;
|
|
7716
|
+
return !!((_a = this.subscriptions) === null || _a === void 0 ? void 0 : _a.length);
|
|
7717
|
+
}
|
|
7718
|
+
isOwn() {
|
|
7719
|
+
return this.user.id === +localStorage.getItem('userId');
|
|
7720
|
+
}
|
|
7721
|
+
isSold() {
|
|
7722
|
+
var _a;
|
|
7723
|
+
return !!((_a = this.myShare) === null || _a === void 0 ? void 0 : _a.sale);
|
|
7724
|
+
}
|
|
7725
|
+
/**
|
|
7726
|
+
* Get initials of property. Required by Photoable interface
|
|
7727
|
+
*/
|
|
7728
|
+
getPhotoPlaceholder() {
|
|
7729
|
+
return this.name.split(' ')[1].slice(0, 2);
|
|
8071
7730
|
}
|
|
8072
7731
|
/**
|
|
8073
7732
|
* Get property photo. Required by Photoable interface
|
|
@@ -8124,177 +7783,518 @@ class Property extends Property$1 {
|
|
|
8124
7783
|
get shareRatio() {
|
|
8125
7784
|
return this.myShare.percent / 100;
|
|
8126
7785
|
}
|
|
8127
|
-
get previousCategory() {
|
|
8128
|
-
let previousCategory;
|
|
8129
|
-
const movementsCount = this.categoryMovements.length;
|
|
8130
|
-
if (movementsCount > 1) {
|
|
8131
|
-
previousCategory = this.categoryMovements[movementsCount - 2].propertyCategory;
|
|
7786
|
+
get previousCategory() {
|
|
7787
|
+
let previousCategory;
|
|
7788
|
+
const movementsCount = this.categoryMovements.length;
|
|
7789
|
+
if (movementsCount > 1) {
|
|
7790
|
+
previousCategory = this.categoryMovements[movementsCount - 2].propertyCategory;
|
|
7791
|
+
}
|
|
7792
|
+
return previousCategory;
|
|
7793
|
+
}
|
|
7794
|
+
getCurrentSubscription() {
|
|
7795
|
+
// always return first element because subscriptions array contains only one element
|
|
7796
|
+
return this.subscriptions[0];
|
|
7797
|
+
}
|
|
7798
|
+
getForecastByYear(year) {
|
|
7799
|
+
return this.forecasts.find((forecast) => forecast.financialYear === year);
|
|
7800
|
+
}
|
|
7801
|
+
get isShared() {
|
|
7802
|
+
return this.shares.length > 1;
|
|
7803
|
+
}
|
|
7804
|
+
/**
|
|
7805
|
+
* @TODO consider to move methods related with propertySale to separated class, since used just in one module yet
|
|
7806
|
+
* purchase costs - claimed costs, except `ppr to investment` exemption,
|
|
7807
|
+
* in that case it's equal to market value, when property became an investment property
|
|
7808
|
+
*/
|
|
7809
|
+
calculateCostBase(sale) {
|
|
7810
|
+
const marketValue = new PropertySaleTaxExemptionMetaFieldCollection(sale.taxExemptionMetaFields).getMarketValue();
|
|
7811
|
+
if (marketValue) {
|
|
7812
|
+
return marketValue;
|
|
7813
|
+
}
|
|
7814
|
+
return this.purchasePrice + this.capitalCostsTotalAmount + sale.holdingCosts + sale.structuralImprovementsWDV - sale.buildingAtCostClaimed;
|
|
7815
|
+
}
|
|
7816
|
+
calculateGrossCapitalGain(sale) {
|
|
7817
|
+
return round((sale.netPrice - this.calculateCostBase(sale)) * this.getPartialCGTExemptionRatio(sale) * this.shareRatio, 2);
|
|
7818
|
+
}
|
|
7819
|
+
/**
|
|
7820
|
+
* net capital gain includes tax exemption
|
|
7821
|
+
*/
|
|
7822
|
+
calculateNetCapitalGain(sale) {
|
|
7823
|
+
return this.getCGTExemptionRatio(sale) * sale.grossCapitalGain;
|
|
7824
|
+
}
|
|
7825
|
+
/**
|
|
7826
|
+
* guess tax exemption based on property details
|
|
7827
|
+
*/
|
|
7828
|
+
getCGTExemption(sale) {
|
|
7829
|
+
if (sale.taxExemption) {
|
|
7830
|
+
return sale.taxExemption.id;
|
|
7831
|
+
}
|
|
7832
|
+
switch (true) {
|
|
7833
|
+
// exemption for main residence properties
|
|
7834
|
+
case this.category.id === PropertyCategoryListEnum.OWNER_OCCUPIED:
|
|
7835
|
+
return TaxExemptionEnum.PPR;
|
|
7836
|
+
// exemption for investment properties owned for at least one year
|
|
7837
|
+
case this.isOneYearExemptionApplicable(sale):
|
|
7838
|
+
return TaxExemptionEnum.ONE_YEAR_RULE;
|
|
7839
|
+
default:
|
|
7840
|
+
return null;
|
|
7841
|
+
}
|
|
7842
|
+
}
|
|
7843
|
+
getPartialCGTExemptionRatio(sale) {
|
|
7844
|
+
var _a;
|
|
7845
|
+
const metaFields = new PropertySaleTaxExemptionMetaFieldCollection(sale.taxExemptionMetaFields);
|
|
7846
|
+
switch ((_a = sale.taxExemption) === null || _a === void 0 ? void 0 : _a.id) {
|
|
7847
|
+
case TaxExemptionEnum.INVESTMENT_TO_PPR:
|
|
7848
|
+
const ownershipDays = this.getOwnershipDuration(sale);
|
|
7849
|
+
return (ownershipDays - metaFields.getPPRDays()) / ownershipDays;
|
|
7850
|
+
case TaxExemptionEnum.PPR_TO_INVESTMENT:
|
|
7851
|
+
return metaFields.getClaimPercent() / 100;
|
|
7852
|
+
default:
|
|
7853
|
+
return 1;
|
|
7854
|
+
}
|
|
7855
|
+
}
|
|
7856
|
+
/**
|
|
7857
|
+
* tax exemption can reduce cgt from 100% to less (up to zero)
|
|
7858
|
+
*/
|
|
7859
|
+
getCGTExemptionRatio(sale) {
|
|
7860
|
+
var _a;
|
|
7861
|
+
switch ((_a = sale.taxExemption) === null || _a === void 0 ? void 0 : _a.id) {
|
|
7862
|
+
// 50% exemption for investments owned for at least one year
|
|
7863
|
+
case TaxExemptionEnum.ONE_YEAR_RULE:
|
|
7864
|
+
return 0.5;
|
|
7865
|
+
case TaxExemptionEnum.INVESTMENT_TO_PPR:
|
|
7866
|
+
case TaxExemptionEnum.PPR_TO_INVESTMENT:
|
|
7867
|
+
return this.isOneYearExemptionApplicable(sale) ? 0.5 : 1;
|
|
7868
|
+
// full exemption
|
|
7869
|
+
case TaxExemptionEnum.PPR:
|
|
7870
|
+
case TaxExemptionEnum.SIX_YEARS_RULE:
|
|
7871
|
+
case TaxExemptionEnum.TRANSFER:
|
|
7872
|
+
case TaxExemptionEnum.OTHER:
|
|
7873
|
+
return 0;
|
|
7874
|
+
// no exemption
|
|
7875
|
+
default:
|
|
7876
|
+
return 1;
|
|
7877
|
+
}
|
|
7878
|
+
}
|
|
7879
|
+
/**
|
|
7880
|
+
* in cgt report we apply losses, which can reset 1 year rule (in case if there is no profit after loss)
|
|
7881
|
+
*/
|
|
7882
|
+
isOneYearExemptionApplicable(sale) {
|
|
7883
|
+
return sale.grossCapitalGain > 0 && this.getOwnershipDuration(sale, 'years') > 0;
|
|
7884
|
+
}
|
|
7885
|
+
/**
|
|
7886
|
+
* CGT is not applicable for properties acquired before 20.09.1985 (tax didn't exist before this date).
|
|
7887
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
|
|
7888
|
+
*/
|
|
7889
|
+
isCGTApplicable() {
|
|
7890
|
+
return this.contractDate >= Property.preCGTAssetDate;
|
|
7891
|
+
}
|
|
7892
|
+
/**
|
|
7893
|
+
* ownership duration from purchase till sale
|
|
7894
|
+
*/
|
|
7895
|
+
getOwnershipDuration(sale, unitOfTime = 'days') {
|
|
7896
|
+
return moment(sale.date).diff(moment(this.contractDate), unitOfTime);
|
|
7897
|
+
}
|
|
7898
|
+
/**
|
|
7899
|
+
* Tax Position = Income - Expense - Interest - Depreciation
|
|
7900
|
+
* Where (Income - Expense - Interest) is cash position.
|
|
7901
|
+
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217415928/Dashboard+Property
|
|
7902
|
+
*/
|
|
7903
|
+
getTaxPosition(transactions, depreciations) {
|
|
7904
|
+
return transactions.grossClaimAmount - Math.abs(depreciations.claimAmount);
|
|
7905
|
+
}
|
|
7906
|
+
}
|
|
7907
|
+
/**
|
|
7908
|
+
* Property acquired before 20 September 1985 will generally be treated as pre-Capital Gains Tax (CGT) assets.
|
|
7909
|
+
* Any assets acquired before this day are CGT exempt (because the tax didn't exist before this date).
|
|
7910
|
+
*/
|
|
7911
|
+
Property.preCGTAssetDate = new Date(1985, 9, 20);
|
|
7912
|
+
__decorate([
|
|
7913
|
+
Type(() => Number)
|
|
7914
|
+
], Property.prototype, "purchasePrice", void 0);
|
|
7915
|
+
__decorate([
|
|
7916
|
+
Type(() => Number)
|
|
7917
|
+
], Property.prototype, "growthPercent", void 0);
|
|
7918
|
+
__decorate([
|
|
7919
|
+
Type(() => Date)
|
|
7920
|
+
], Property.prototype, "contractDate", void 0);
|
|
7921
|
+
__decorate([
|
|
7922
|
+
Type(() => Date)
|
|
7923
|
+
], Property.prototype, "settlementDate", void 0);
|
|
7924
|
+
__decorate([
|
|
7925
|
+
Type(() => Address)
|
|
7926
|
+
], Property.prototype, "address", void 0);
|
|
7927
|
+
__decorate([
|
|
7928
|
+
Type(() => PropertyCategory)
|
|
7929
|
+
], Property.prototype, "category", void 0);
|
|
7930
|
+
__decorate([
|
|
7931
|
+
Type(() => Number)
|
|
7932
|
+
], Property.prototype, "stampDuty", void 0);
|
|
7933
|
+
__decorate([
|
|
7934
|
+
Type(() => Number)
|
|
7935
|
+
], Property.prototype, "legalFees", void 0);
|
|
7936
|
+
__decorate([
|
|
7937
|
+
Type(() => Number)
|
|
7938
|
+
], Property.prototype, "otherCapitalCosts", void 0);
|
|
7939
|
+
__decorate([
|
|
7940
|
+
Type(() => PropertyValuation)
|
|
7941
|
+
], Property.prototype, "valuations", void 0);
|
|
7942
|
+
__decorate([
|
|
7943
|
+
Type(() => PropertyForecast)
|
|
7944
|
+
], Property.prototype, "forecasts", void 0);
|
|
7945
|
+
__decorate([
|
|
7946
|
+
Type(() => PropertyCategoryMovement)
|
|
7947
|
+
], Property.prototype, "categoryMovements", void 0);
|
|
7948
|
+
__decorate([
|
|
7949
|
+
Type(() => User)
|
|
7950
|
+
], Property.prototype, "user", void 0);
|
|
7951
|
+
__decorate([
|
|
7952
|
+
Type(() => PropertySubscription)
|
|
7953
|
+
], Property.prototype, "subscriptions", void 0);
|
|
7954
|
+
__decorate([
|
|
7955
|
+
Exclude()
|
|
7956
|
+
], Property.prototype, "documentFile", void 0);
|
|
7957
|
+
|
|
7958
|
+
/**
|
|
7959
|
+
* @Todo TT-2143 should be removed when PropertySaleCostBaseForm refactored (cut property to separated form)
|
|
7960
|
+
*/
|
|
7961
|
+
class PropertySaleCostBase {
|
|
7962
|
+
static createFrom(property, propertySale, depreciations, holdingCosts) {
|
|
7963
|
+
var _a, _b, _c;
|
|
7964
|
+
return plainToClass(PropertySaleCostBase, {
|
|
7965
|
+
property: plainToClass(Property, property),
|
|
7966
|
+
sale: plainToClass(PropertySale, Object.assign({}, propertySale, {
|
|
7967
|
+
holdingCosts: (_a = propertySale.holdingCosts) !== null && _a !== void 0 ? _a : Math.abs(holdingCosts.sumBy('amount')),
|
|
7968
|
+
structuralImprovementsWDV: (_b = propertySale.structuralImprovementsWDV) !== null && _b !== void 0 ? _b : depreciations.getWithCapitalProject().getCloseBalanceByYear(),
|
|
7969
|
+
buildingAtCostClaimed: (_c = propertySale.buildingAtCostClaimed) !== null && _c !== void 0 ? _c : depreciations.getWithoutCapitalProject().getClaimedAmountByYear(),
|
|
7970
|
+
})),
|
|
7971
|
+
});
|
|
7972
|
+
}
|
|
7973
|
+
}
|
|
7974
|
+
|
|
7975
|
+
class PropertySaleTaxExemptionMetaField extends PropertySaleTaxExemptionMetaField$1 {
|
|
7976
|
+
}
|
|
7977
|
+
|
|
7978
|
+
class TaxExemptionMetaField extends TaxExemptionMetaField$1 {
|
|
7979
|
+
}
|
|
7980
|
+
|
|
7981
|
+
/**
|
|
7982
|
+
* Calculation form control types
|
|
7983
|
+
*/
|
|
7984
|
+
var CalculationFormTypeEnum;
|
|
7985
|
+
(function (CalculationFormTypeEnum) {
|
|
7986
|
+
CalculationFormTypeEnum[CalculationFormTypeEnum["INPUT"] = 1] = "INPUT";
|
|
7987
|
+
CalculationFormTypeEnum[CalculationFormTypeEnum["SELECT"] = 2] = "SELECT";
|
|
7988
|
+
})(CalculationFormTypeEnum || (CalculationFormTypeEnum = {}));
|
|
7989
|
+
|
|
7990
|
+
/**
|
|
7991
|
+
* Fields to implement custom calculation form
|
|
7992
|
+
*/
|
|
7993
|
+
class CalculationFormItem {
|
|
7994
|
+
constructor() {
|
|
7995
|
+
// type of control (input, select, e.t.c)
|
|
7996
|
+
this.type = CalculationFormTypeEnum.SELECT;
|
|
7997
|
+
}
|
|
7998
|
+
}
|
|
7999
|
+
__decorate([
|
|
8000
|
+
Transform(({ obj }) => obj.type === CalculationFormTypeEnum.SELECT),
|
|
8001
|
+
Expose()
|
|
8002
|
+
], CalculationFormItem.prototype, "isSelect", void 0);
|
|
8003
|
+
|
|
8004
|
+
const CAPITAL_COSTS_ITEMS = [
|
|
8005
|
+
plainToClass(CalculationFormItem, {
|
|
8006
|
+
name: 'rentingWholeProperty',
|
|
8007
|
+
value: null,
|
|
8008
|
+
label: 'Are you renting out the whole property?',
|
|
8009
|
+
type: CalculationFormTypeEnum.SELECT,
|
|
8010
|
+
dependentFields: ['howBigIsProperty', 'howBigIsLetArea', 'howBigIsCommonAreas'],
|
|
8011
|
+
isDisabled: false,
|
|
8012
|
+
validators: [Validators.required]
|
|
8013
|
+
}),
|
|
8014
|
+
plainToClass(CalculationFormItem, {
|
|
8015
|
+
name: 'rentingWholeYear',
|
|
8016
|
+
value: null,
|
|
8017
|
+
label: 'Are you renting out for the whole year?',
|
|
8018
|
+
type: CalculationFormTypeEnum.SELECT,
|
|
8019
|
+
dependentFields: ['howManyDays'],
|
|
8020
|
+
isDisabled: false,
|
|
8021
|
+
validators: [Validators.required]
|
|
8022
|
+
}),
|
|
8023
|
+
plainToClass(CalculationFormItem, {
|
|
8024
|
+
name: 'howBigIsProperty',
|
|
8025
|
+
value: null,
|
|
8026
|
+
label: 'How big is the property?',
|
|
8027
|
+
type: CalculationFormTypeEnum.INPUT,
|
|
8028
|
+
isDisabled: true,
|
|
8029
|
+
validators: [Validators.required, Validators.min(1)]
|
|
8030
|
+
}),
|
|
8031
|
+
plainToClass(CalculationFormItem, {
|
|
8032
|
+
name: 'howBigIsLetArea',
|
|
8033
|
+
value: null,
|
|
8034
|
+
label: 'How big is the let area?',
|
|
8035
|
+
type: CalculationFormTypeEnum.INPUT,
|
|
8036
|
+
isDisabled: true,
|
|
8037
|
+
validators: [Validators.required, Validators.min(1)]
|
|
8038
|
+
}),
|
|
8039
|
+
plainToClass(CalculationFormItem, {
|
|
8040
|
+
name: 'howBigIsCommonAreas',
|
|
8041
|
+
value: null,
|
|
8042
|
+
label: 'How big are the common areas?',
|
|
8043
|
+
type: CalculationFormTypeEnum.INPUT,
|
|
8044
|
+
isDisabled: true,
|
|
8045
|
+
validators: [Validators.required, Validators.min(1)]
|
|
8046
|
+
}),
|
|
8047
|
+
plainToClass(CalculationFormItem, {
|
|
8048
|
+
name: 'howManyDays',
|
|
8049
|
+
value: null,
|
|
8050
|
+
label: 'How many days of the year is the property available for rent?',
|
|
8051
|
+
type: CalculationFormTypeEnum.INPUT,
|
|
8052
|
+
isDisabled: true,
|
|
8053
|
+
validators: [Validators.required, Validators.min(1)]
|
|
8054
|
+
}),
|
|
8055
|
+
];
|
|
8056
|
+
|
|
8057
|
+
/**
|
|
8058
|
+
* class contains equity information for passed financial year
|
|
8059
|
+
*/
|
|
8060
|
+
class PropertyEquityChartItem {
|
|
8061
|
+
constructor(year, marketValue, loanBalance) {
|
|
8062
|
+
this.year = year;
|
|
8063
|
+
this.marketValue = marketValue || 0;
|
|
8064
|
+
this.loanBalance = loanBalance || 0;
|
|
8065
|
+
}
|
|
8066
|
+
/**
|
|
8067
|
+
* calculate equity position
|
|
8068
|
+
*/
|
|
8069
|
+
get equityPosition() {
|
|
8070
|
+
return this.marketValue - this.loanBalance;
|
|
8071
|
+
}
|
|
8072
|
+
/**
|
|
8073
|
+
* return this equity position instance as chart serie
|
|
8074
|
+
* @param type
|
|
8075
|
+
*/
|
|
8076
|
+
getSerie(type) {
|
|
8077
|
+
return [this.year, this[type]];
|
|
8078
|
+
}
|
|
8079
|
+
}
|
|
8080
|
+
|
|
8081
|
+
var PropertyEquityChartTypeEnum;
|
|
8082
|
+
(function (PropertyEquityChartTypeEnum) {
|
|
8083
|
+
PropertyEquityChartTypeEnum["MARKET_VALUE"] = "marketValue";
|
|
8084
|
+
PropertyEquityChartTypeEnum["LOAN_BALANCE"] = "loanBalance";
|
|
8085
|
+
})(PropertyEquityChartTypeEnum || (PropertyEquityChartTypeEnum = {}));
|
|
8086
|
+
|
|
8087
|
+
// count of years for future values
|
|
8088
|
+
const FORECAST_YEARS = 25;
|
|
8089
|
+
/**
|
|
8090
|
+
* class contain actual and forecasted market values and loan balances for passed properties
|
|
8091
|
+
* X axis - years from the first actual data year to the last forecasted year
|
|
8092
|
+
* Y axis - amounts of market values, loan balances
|
|
8093
|
+
* Also on hover appear equity positions point
|
|
8094
|
+
*/
|
|
8095
|
+
class PropertyEquityChartData {
|
|
8096
|
+
constructor(properties, bankAccounts, loans, registerDate) {
|
|
8097
|
+
this.registerDate = registerDate;
|
|
8098
|
+
this.properties = properties;
|
|
8099
|
+
this.bankAccounts = bankAccounts.getLoanAccounts();
|
|
8100
|
+
this.loans = loans;
|
|
8101
|
+
this.currentYear = new FinancialYear(new Date()).year;
|
|
8102
|
+
this.initItems();
|
|
8103
|
+
this.buildHistoryItems();
|
|
8104
|
+
this.buildActualItem();
|
|
8105
|
+
this.buildForecastedItems();
|
|
8106
|
+
this.checkZeroLoanBalance();
|
|
8107
|
+
this.checkZeroMarketValue();
|
|
8108
|
+
}
|
|
8109
|
+
/**
|
|
8110
|
+
* get items list in chart series format
|
|
8111
|
+
* @param type
|
|
8112
|
+
*/
|
|
8113
|
+
getChartSeries(type) {
|
|
8114
|
+
return this.list.map((item) => item.getSerie(type));
|
|
8115
|
+
}
|
|
8116
|
+
/**
|
|
8117
|
+
* get prepared chart data
|
|
8118
|
+
*/
|
|
8119
|
+
getChartData() {
|
|
8120
|
+
return [
|
|
8121
|
+
{
|
|
8122
|
+
id: 'marketValue',
|
|
8123
|
+
name: 'Market Value',
|
|
8124
|
+
series: this.getChartSeries(PropertyEquityChartTypeEnum.MARKET_VALUE),
|
|
8125
|
+
// display future market value with dash line and past market value with solid line
|
|
8126
|
+
zones: [{
|
|
8127
|
+
// line style after current calendar year
|
|
8128
|
+
value: this.currentYear,
|
|
8129
|
+
dashStyle: 'Solid'
|
|
8130
|
+
}, {
|
|
8131
|
+
// default line style
|
|
8132
|
+
dashStyle: 'Dash'
|
|
8133
|
+
}]
|
|
8134
|
+
},
|
|
8135
|
+
{
|
|
8136
|
+
// id used to add/remove serie to chart
|
|
8137
|
+
id: 'loanBalance',
|
|
8138
|
+
name: 'Loan Balance',
|
|
8139
|
+
series: this.getChartSeries(PropertyEquityChartTypeEnum.LOAN_BALANCE)
|
|
8140
|
+
}
|
|
8141
|
+
];
|
|
8142
|
+
}
|
|
8143
|
+
/**
|
|
8144
|
+
* create empty equity position item for each year in collection
|
|
8145
|
+
*/
|
|
8146
|
+
initItems() {
|
|
8147
|
+
this.list = [];
|
|
8148
|
+
for (let year = new FinancialYear(this.registerDate).year - 1; year <= (this.currentYear + FORECAST_YEARS); year++) {
|
|
8149
|
+
this.list.push(new PropertyEquityChartItem(year));
|
|
8132
8150
|
}
|
|
8133
|
-
return previousCategory;
|
|
8134
|
-
}
|
|
8135
|
-
getCurrentSubscription() {
|
|
8136
|
-
// always return first element because subscriptions array contains only one element
|
|
8137
|
-
return this.subscriptions[0];
|
|
8138
|
-
}
|
|
8139
|
-
getForecastByYear(year) {
|
|
8140
|
-
return this.forecasts.find((forecast) => forecast.financialYear === year);
|
|
8141
|
-
}
|
|
8142
|
-
get isShared() {
|
|
8143
|
-
return this.shares.length > 1;
|
|
8144
8151
|
}
|
|
8145
8152
|
/**
|
|
8146
|
-
*
|
|
8147
|
-
* purchase costs - claimed costs, except `ppr to investment` exemption,
|
|
8148
|
-
* in that case it's equal to market value, when property became an investment property
|
|
8153
|
+
* collect equity position items with past values from properties forecasts
|
|
8149
8154
|
*/
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8155
|
+
buildHistoryItems() {
|
|
8156
|
+
// get items for past and current years
|
|
8157
|
+
const items = this.list.filter((item) => item.year <= this.currentYear);
|
|
8158
|
+
items.forEach((item) => {
|
|
8159
|
+
// increase item values with property actual forecasts for item year
|
|
8160
|
+
item.marketValue = this.properties.items.reduce((sum, property) => sum + this.getMarketValueForPropertyByYear(property, item.year), 0);
|
|
8161
|
+
item.loanBalance = Math.abs(this.properties.items.reduce((sum, property) => sum + this.getLoanBalanceForPropertyByYear(property, item.year), 0));
|
|
8162
|
+
});
|
|
8156
8163
|
}
|
|
8157
|
-
|
|
8158
|
-
|
|
8164
|
+
/**
|
|
8165
|
+
* set actual year's real data
|
|
8166
|
+
* @private
|
|
8167
|
+
*/
|
|
8168
|
+
buildActualItem() {
|
|
8169
|
+
const item = this.list.find((i) => i.year === this.currentYear);
|
|
8170
|
+
item.marketValue = this.properties.marketValue;
|
|
8171
|
+
item.loanBalance = this.properties.items.reduce((sum, property) => sum + Math.abs(this.bankAccounts.getPropertyBalanceAmount(property.id)), 0);
|
|
8159
8172
|
}
|
|
8160
8173
|
/**
|
|
8161
|
-
*
|
|
8174
|
+
* collect equity position items with forecasted (future) calculated values
|
|
8162
8175
|
*/
|
|
8163
|
-
|
|
8164
|
-
|
|
8176
|
+
buildForecastedItems() {
|
|
8177
|
+
// calculate future values for all properties separately
|
|
8178
|
+
this.properties.items.forEach((property) => {
|
|
8179
|
+
let forecastedMarketValue = (property.growthPercent / 100) * property.marketValue + property.marketValue;
|
|
8180
|
+
// calculate future values for each future year for current handling property
|
|
8181
|
+
this.list
|
|
8182
|
+
.filter((item) => item.year > this.currentYear)
|
|
8183
|
+
.forEach((item) => {
|
|
8184
|
+
const propertyBankAccounts = this.bankAccounts.getByPropertyId(property.id);
|
|
8185
|
+
// increase loan balance amount for handling equity position item
|
|
8186
|
+
item.loanBalance += this.getLoanBalanceByYear(property, item.year, propertyBankAccounts, this.loans.getByBankAccountsIds(propertyBankAccounts.getIds()));
|
|
8187
|
+
// increase market value amount for handling equity position item
|
|
8188
|
+
item.marketValue += forecastedMarketValue;
|
|
8189
|
+
// increase current market value forecast for the next cycle iteration
|
|
8190
|
+
forecastedMarketValue += forecastedMarketValue * (property.growthPercent / 100);
|
|
8191
|
+
});
|
|
8192
|
+
});
|
|
8165
8193
|
}
|
|
8166
8194
|
/**
|
|
8167
|
-
*
|
|
8195
|
+
* Get property loan balance by financial year
|
|
8196
|
+
* @param property Property instance for filter
|
|
8197
|
+
* @param year Financial year number
|
|
8198
|
+
* @param bankAccounts List of bank accounts
|
|
8199
|
+
* @param loans List of loans
|
|
8200
|
+
* @private
|
|
8168
8201
|
*/
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
return sale.taxExemption.id;
|
|
8172
|
-
}
|
|
8173
|
-
switch (true) {
|
|
8174
|
-
// exemption for main residence properties
|
|
8175
|
-
case this.category.id === PropertyCategoryListEnum.OWNER_OCCUPIED:
|
|
8176
|
-
return TaxExemptionEnum.PPR;
|
|
8177
|
-
// exemption for investment properties owned for at least one year
|
|
8178
|
-
case this.isOneYearExemptionApplicable(sale):
|
|
8179
|
-
return TaxExemptionEnum.ONE_YEAR_RULE;
|
|
8180
|
-
default:
|
|
8181
|
-
return null;
|
|
8182
|
-
}
|
|
8202
|
+
getLoanBalanceByYear(property, year, bankAccounts, loans) {
|
|
8203
|
+
return bankAccounts.items.reduce((totalSum, bankAccount) => { var _a, _b; return totalSum + (bankAccount.getPropertyPercentage(property.id) * (((_b = (_a = loans.getByBankAccountId(bankAccount.id)) === null || _a === void 0 ? void 0 : _a.getLastPaymentByYear(year)) === null || _b === void 0 ? void 0 : _b.totalOwed) || 0)); }, 0);
|
|
8183
8204
|
}
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
switch ((_a = sale.taxExemption) === null || _a === void 0 ? void 0 : _a.id) {
|
|
8188
|
-
case TaxExemptionEnum.INVESTMENT_TO_PPR:
|
|
8189
|
-
const ownershipDays = this.getOwnershipDuration(sale);
|
|
8190
|
-
return (ownershipDays - metaFields.getPPRDays()) / ownershipDays;
|
|
8191
|
-
case TaxExemptionEnum.PPR_TO_INVESTMENT:
|
|
8192
|
-
return metaFields.getClaimPercent() / 100;
|
|
8193
|
-
default:
|
|
8194
|
-
return 1;
|
|
8205
|
+
getMarketValueForPropertyByYear(property, year) {
|
|
8206
|
+
if (new FinancialYear(property.contractDate).year > year) {
|
|
8207
|
+
return 0;
|
|
8195
8208
|
}
|
|
8209
|
+
return (property.getForecastByYear(year) || first(property.forecasts)).marketValue;
|
|
8196
8210
|
}
|
|
8197
|
-
|
|
8198
|
-
* tax exemption can reduce cgt from 100% to less (up to zero)
|
|
8199
|
-
*/
|
|
8200
|
-
getCGTExemptionRatio(sale) {
|
|
8211
|
+
getLoanBalanceForPropertyByYear(property, year) {
|
|
8201
8212
|
var _a;
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
case TaxExemptionEnum.ONE_YEAR_RULE:
|
|
8205
|
-
return 0.5;
|
|
8206
|
-
case TaxExemptionEnum.INVESTMENT_TO_PPR:
|
|
8207
|
-
case TaxExemptionEnum.PPR_TO_INVESTMENT:
|
|
8208
|
-
return this.isOneYearExemptionApplicable(sale) ? 0.5 : 1;
|
|
8209
|
-
// full exemption
|
|
8210
|
-
case TaxExemptionEnum.PPR:
|
|
8211
|
-
case TaxExemptionEnum.SIX_YEARS_RULE:
|
|
8212
|
-
case TaxExemptionEnum.TRANSFER:
|
|
8213
|
-
case TaxExemptionEnum.OTHER:
|
|
8214
|
-
return 0;
|
|
8215
|
-
// no exemption
|
|
8216
|
-
default:
|
|
8217
|
-
return 1;
|
|
8213
|
+
if (new FinancialYear(property.contractDate).year > year) {
|
|
8214
|
+
return 0;
|
|
8218
8215
|
}
|
|
8216
|
+
return ((_a = property.getForecastByYear(year)) === null || _a === void 0 ? void 0 : _a.loanBalance) || this.bankAccounts.getPropertyBalanceAmount(property.id);
|
|
8219
8217
|
}
|
|
8220
8218
|
/**
|
|
8221
|
-
*
|
|
8219
|
+
* Check if loan balance is 0 and set it as null (to not to draw point on the chart)
|
|
8222
8220
|
*/
|
|
8223
|
-
|
|
8224
|
-
|
|
8221
|
+
checkZeroLoanBalance() {
|
|
8222
|
+
this.list.forEach((item) => {
|
|
8223
|
+
if (item.loanBalance === 0) {
|
|
8224
|
+
item.loanBalance = null;
|
|
8225
|
+
}
|
|
8226
|
+
});
|
|
8225
8227
|
}
|
|
8226
8228
|
/**
|
|
8227
|
-
*
|
|
8228
|
-
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
|
|
8229
|
+
* Check if market value is 0 and set it as null (to not to draw point on the chart)
|
|
8229
8230
|
*/
|
|
8230
|
-
|
|
8231
|
-
|
|
8231
|
+
checkZeroMarketValue() {
|
|
8232
|
+
this.list.forEach((item) => {
|
|
8233
|
+
if (item.marketValue === 0) {
|
|
8234
|
+
item.marketValue = null;
|
|
8235
|
+
}
|
|
8236
|
+
});
|
|
8232
8237
|
}
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
+
}
|
|
8239
|
+
|
|
8240
|
+
var PropertyShareStatusEnum;
|
|
8241
|
+
(function (PropertyShareStatusEnum) {
|
|
8242
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["PENDING"] = 1] = "PENDING";
|
|
8243
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["APPROVED"] = 2] = "APPROVED";
|
|
8244
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["REJECTED"] = 3] = "REJECTED";
|
|
8245
|
+
})(PropertyShareStatusEnum || (PropertyShareStatusEnum = {}));
|
|
8246
|
+
|
|
8247
|
+
class PropertyShare extends PropertyShare$1 {
|
|
8248
|
+
isAccepted() {
|
|
8249
|
+
return this.status === PropertyShareStatusEnum.APPROVED;
|
|
8250
|
+
}
|
|
8251
|
+
isPending() {
|
|
8252
|
+
return this.status === PropertyShareStatusEnum.PENDING;
|
|
8253
|
+
}
|
|
8254
|
+
isRejected() {
|
|
8255
|
+
return this.status === PropertyShareStatusEnum.REJECTED;
|
|
8256
|
+
}
|
|
8257
|
+
get statusName() {
|
|
8258
|
+
var _a;
|
|
8259
|
+
return (_a = PropertyShareStatusEnum[this.status]) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
8238
8260
|
}
|
|
8239
8261
|
/**
|
|
8240
|
-
*
|
|
8241
|
-
*
|
|
8242
|
-
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217415928/Dashboard+Property
|
|
8262
|
+
* Return full user name if user is already registered.
|
|
8263
|
+
* Otherwise - return first name from invitation
|
|
8243
8264
|
*/
|
|
8244
|
-
|
|
8245
|
-
return
|
|
8265
|
+
get userName() {
|
|
8266
|
+
return this.user ? this.user.fullName : `${this.invite.firstName}`;
|
|
8246
8267
|
}
|
|
8247
8268
|
}
|
|
8248
|
-
/**
|
|
8249
|
-
* Property acquired before 20 September 1985 will generally be treated as pre-Capital Gains Tax (CGT) assets.
|
|
8250
|
-
* Any assets acquired before this day are CGT exempt (because the tax didn't exist before this date).
|
|
8251
|
-
*/
|
|
8252
|
-
Property.preCGTAssetDate = new Date(1985, 9, 20);
|
|
8253
|
-
__decorate([
|
|
8254
|
-
Type(() => Number)
|
|
8255
|
-
], Property.prototype, "purchasePrice", void 0);
|
|
8256
|
-
__decorate([
|
|
8257
|
-
Type(() => Number)
|
|
8258
|
-
], Property.prototype, "growthPercent", void 0);
|
|
8259
8269
|
__decorate([
|
|
8260
8270
|
Type(() => Date)
|
|
8261
|
-
],
|
|
8271
|
+
], PropertyShare.prototype, "fromDate", void 0);
|
|
8262
8272
|
__decorate([
|
|
8263
8273
|
Type(() => Date)
|
|
8264
|
-
],
|
|
8265
|
-
__decorate([
|
|
8266
|
-
Type(() => Address)
|
|
8267
|
-
], Property.prototype, "address", void 0);
|
|
8268
|
-
__decorate([
|
|
8269
|
-
Type(() => PropertyCategory)
|
|
8270
|
-
], Property.prototype, "category", void 0);
|
|
8271
|
-
__decorate([
|
|
8272
|
-
Type(() => Number)
|
|
8273
|
-
], Property.prototype, "stampDuty", void 0);
|
|
8274
|
-
__decorate([
|
|
8275
|
-
Type(() => Number)
|
|
8276
|
-
], Property.prototype, "legalFees", void 0);
|
|
8277
|
-
__decorate([
|
|
8278
|
-
Type(() => Number)
|
|
8279
|
-
], Property.prototype, "otherCapitalCosts", void 0);
|
|
8280
|
-
__decorate([
|
|
8281
|
-
Type(() => PropertyValuation)
|
|
8282
|
-
], Property.prototype, "valuations", void 0);
|
|
8283
|
-
__decorate([
|
|
8284
|
-
Type(() => PropertyForecast)
|
|
8285
|
-
], Property.prototype, "forecasts", void 0);
|
|
8286
|
-
__decorate([
|
|
8287
|
-
Type(() => PropertyCategoryMovement)
|
|
8288
|
-
], Property.prototype, "categoryMovements", void 0);
|
|
8274
|
+
], PropertyShare.prototype, "toDate", void 0);
|
|
8289
8275
|
__decorate([
|
|
8290
8276
|
Type(() => User)
|
|
8291
|
-
],
|
|
8277
|
+
], PropertyShare.prototype, "user", void 0);
|
|
8292
8278
|
__decorate([
|
|
8293
|
-
Type(() =>
|
|
8294
|
-
],
|
|
8279
|
+
Type(() => RegistrationInvite)
|
|
8280
|
+
], PropertyShare.prototype, "invite", void 0);
|
|
8295
8281
|
__decorate([
|
|
8296
|
-
|
|
8297
|
-
],
|
|
8282
|
+
Type(() => Property)
|
|
8283
|
+
], PropertyShare.prototype, "property", void 0);
|
|
8284
|
+
__decorate([
|
|
8285
|
+
Transform(({ obj }) => obj.user ? obj.user.email : obj.invite.email)
|
|
8286
|
+
], PropertyShare.prototype, "email", void 0);
|
|
8287
|
+
|
|
8288
|
+
/**
|
|
8289
|
+
* @TODO used only on dashboard, move from tt-core
|
|
8290
|
+
* Enum with properties ownership filter options
|
|
8291
|
+
*/
|
|
8292
|
+
var ShareFilterOptionsEnum;
|
|
8293
|
+
(function (ShareFilterOptionsEnum) {
|
|
8294
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["ALL"] = 1] = "ALL";
|
|
8295
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["CREATED"] = 2] = "CREATED";
|
|
8296
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["SHARED"] = 3] = "SHARED";
|
|
8297
|
+
})(ShareFilterOptionsEnum || (ShareFilterOptionsEnum = {}));
|
|
8298
8298
|
|
|
8299
8299
|
class BankAccountProperty extends BankAccountProperty$1 {
|
|
8300
8300
|
}
|
|
@@ -8302,7 +8302,7 @@ __decorate([
|
|
|
8302
8302
|
Type(() => Property)
|
|
8303
8303
|
], BankAccountProperty.prototype, "property", void 0);
|
|
8304
8304
|
__decorate([
|
|
8305
|
-
Transform(({ value }) => value
|
|
8305
|
+
Transform(({ value }) => isNaN(value) ? 100 : value),
|
|
8306
8306
|
Expose()
|
|
8307
8307
|
], BankAccountProperty.prototype, "percent", void 0);
|
|
8308
8308
|
|
|
@@ -9234,9 +9234,9 @@ class JwtService extends JwtHelperService {
|
|
|
9234
9234
|
return this.getUser().id === userId;
|
|
9235
9235
|
}
|
|
9236
9236
|
}
|
|
9237
|
-
JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9238
|
-
JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9237
|
+
JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
9238
|
+
JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, providedIn: 'root' });
|
|
9239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, decorators: [{
|
|
9240
9240
|
type: Injectable,
|
|
9241
9241
|
args: [{
|
|
9242
9242
|
providedIn: 'root'
|
|
@@ -9271,9 +9271,9 @@ class EventDispatcherService {
|
|
|
9271
9271
|
this.eventSubject2.next(event);
|
|
9272
9272
|
}
|
|
9273
9273
|
}
|
|
9274
|
-
EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9275
|
-
EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9274
|
+
EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9275
|
+
EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
|
|
9276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, decorators: [{
|
|
9277
9277
|
type: Injectable,
|
|
9278
9278
|
args: [{
|
|
9279
9279
|
providedIn: 'root'
|
|
@@ -9322,9 +9322,9 @@ class AuthService {
|
|
|
9322
9322
|
location.replace(url);
|
|
9323
9323
|
}
|
|
9324
9324
|
}
|
|
9325
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9326
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9325
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9326
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
9327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, decorators: [{
|
|
9328
9328
|
type: Injectable,
|
|
9329
9329
|
args: [{
|
|
9330
9330
|
providedIn: 'root'
|
|
@@ -9460,9 +9460,9 @@ class JwtInterceptor {
|
|
|
9460
9460
|
});
|
|
9461
9461
|
}
|
|
9462
9462
|
}
|
|
9463
|
-
JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9464
|
-
JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9463
|
+
JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9464
|
+
JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor });
|
|
9465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, decorators: [{
|
|
9466
9466
|
type: Injectable
|
|
9467
9467
|
}], ctorParameters: function () {
|
|
9468
9468
|
return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
|
|
@@ -9497,9 +9497,9 @@ class UserSwitcherService {
|
|
|
9497
9497
|
window.location.replace('/firm/dashboard');
|
|
9498
9498
|
}
|
|
9499
9499
|
}
|
|
9500
|
-
UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9501
|
-
UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9500
|
+
UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9501
|
+
UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
|
|
9502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, decorators: [{
|
|
9503
9503
|
type: Injectable,
|
|
9504
9504
|
args: [{
|
|
9505
9505
|
providedIn: 'root'
|
|
@@ -9545,9 +9545,9 @@ class UserSwitcherInterceptor {
|
|
|
9545
9545
|
return next.handle(this.switch(request, this.userSwitcherService.get()));
|
|
9546
9546
|
}
|
|
9547
9547
|
}
|
|
9548
|
-
UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9549
|
-
UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9548
|
+
UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9549
|
+
UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor });
|
|
9550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
|
|
9551
9551
|
type: Injectable
|
|
9552
9552
|
}], ctorParameters: function () {
|
|
9553
9553
|
return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
|
|
@@ -9828,9 +9828,9 @@ class PreloaderService {
|
|
|
9828
9828
|
this.activePreloaders.next(activePreloaders);
|
|
9829
9829
|
}
|
|
9830
9830
|
}
|
|
9831
|
-
PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9832
|
-
PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9831
|
+
PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9832
|
+
PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, providedIn: 'root' });
|
|
9833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, decorators: [{
|
|
9834
9834
|
type: Injectable,
|
|
9835
9835
|
args: [{
|
|
9836
9836
|
providedIn: 'root'
|
|
@@ -9858,9 +9858,9 @@ class PreloaderInterceptor {
|
|
|
9858
9858
|
return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
|
|
9859
9859
|
}
|
|
9860
9860
|
}
|
|
9861
|
-
PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9862
|
-
PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9861
|
+
PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9862
|
+
PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor });
|
|
9863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, decorators: [{
|
|
9864
9864
|
type: Injectable
|
|
9865
9865
|
}], ctorParameters: function () { return [{ type: PreloaderService }]; } });
|
|
9866
9866
|
|
|
@@ -9890,9 +9890,9 @@ class DataService {
|
|
|
9890
9890
|
this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
|
|
9891
9891
|
}
|
|
9892
9892
|
}
|
|
9893
|
-
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9894
|
-
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9893
|
+
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9894
|
+
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, providedIn: 'root' });
|
|
9895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DataService, decorators: [{
|
|
9896
9896
|
type: Injectable,
|
|
9897
9897
|
args: [{
|
|
9898
9898
|
providedIn: 'root'
|
|
@@ -9929,9 +9929,9 @@ class SseService {
|
|
|
9929
9929
|
.pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
|
|
9930
9930
|
}
|
|
9931
9931
|
}
|
|
9932
|
-
SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
9933
|
-
SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
9934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
9932
|
+
SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9933
|
+
SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, providedIn: 'root' });
|
|
9934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, decorators: [{
|
|
9935
9935
|
type: Injectable,
|
|
9936
9936
|
args: [{
|
|
9937
9937
|
providedIn: 'root'
|
|
@@ -10147,9 +10147,9 @@ let RestService$1 = class RestService extends DataService {
|
|
|
10147
10147
|
*/
|
|
10148
10148
|
listenEvents() { }
|
|
10149
10149
|
};
|
|
10150
|
-
RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10151
|
-
RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10150
|
+
RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10151
|
+
RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, providedIn: 'root' });
|
|
10152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, decorators: [{
|
|
10153
10153
|
type: Injectable,
|
|
10154
10154
|
args: [{
|
|
10155
10155
|
providedIn: 'root'
|
|
@@ -10294,9 +10294,9 @@ class ToastService {
|
|
|
10294
10294
|
}));
|
|
10295
10295
|
}
|
|
10296
10296
|
}
|
|
10297
|
-
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10298
|
-
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10297
|
+
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10298
|
+
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, providedIn: 'root' });
|
|
10299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, decorators: [{
|
|
10300
10300
|
type: Injectable,
|
|
10301
10301
|
args: [{
|
|
10302
10302
|
providedIn: 'root'
|
|
@@ -10374,9 +10374,9 @@ class BankConnectionService extends RestService$1 {
|
|
|
10374
10374
|
});
|
|
10375
10375
|
}
|
|
10376
10376
|
}
|
|
10377
|
-
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10378
|
-
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10377
|
+
BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10378
|
+
BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
|
|
10379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, decorators: [{
|
|
10380
10380
|
type: Injectable,
|
|
10381
10381
|
args: [{
|
|
10382
10382
|
providedIn: 'root'
|
|
@@ -10518,9 +10518,9 @@ BasiqService.retrieveAccountsCheckInterval = 3000;
|
|
|
10518
10518
|
* How long we will wait accounts retrieving, break after timeout if not retireved
|
|
10519
10519
|
*/
|
|
10520
10520
|
BasiqService.retrieveAccountsTimeout = 20000;
|
|
10521
|
-
BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10522
|
-
BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10521
|
+
BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10522
|
+
BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, providedIn: 'root' });
|
|
10523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, decorators: [{
|
|
10524
10524
|
type: Injectable,
|
|
10525
10525
|
args: [{
|
|
10526
10526
|
providedIn: 'root'
|
|
@@ -10557,9 +10557,9 @@ class BasiqTokenService extends RestService$1 {
|
|
|
10557
10557
|
return new BasiqToken(tokenResponse['access_token'], new Date(now + tokenResponse['expires_in'] * 1000));
|
|
10558
10558
|
}
|
|
10559
10559
|
}
|
|
10560
|
-
BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10561
|
-
BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10560
|
+
BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10561
|
+
BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
|
|
10562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, decorators: [{
|
|
10563
10563
|
type: Injectable,
|
|
10564
10564
|
args: [{
|
|
10565
10565
|
providedIn: 'root'
|
|
@@ -10588,9 +10588,9 @@ class BasiqTokenInterceptor {
|
|
|
10588
10588
|
});
|
|
10589
10589
|
}
|
|
10590
10590
|
}
|
|
10591
|
-
BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10592
|
-
BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10591
|
+
BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10592
|
+
BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor });
|
|
10593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
|
|
10594
10594
|
type: Injectable
|
|
10595
10595
|
}], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
|
|
10596
10596
|
|
|
@@ -10773,9 +10773,9 @@ class UserService {
|
|
|
10773
10773
|
});
|
|
10774
10774
|
}
|
|
10775
10775
|
}
|
|
10776
|
-
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10777
|
-
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10776
|
+
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10777
|
+
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
10778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, decorators: [{
|
|
10779
10779
|
type: Injectable,
|
|
10780
10780
|
args: [{
|
|
10781
10781
|
providedIn: 'root'
|
|
@@ -10807,17 +10807,17 @@ class BasiqClientIdInterceptor {
|
|
|
10807
10807
|
});
|
|
10808
10808
|
}
|
|
10809
10809
|
}
|
|
10810
|
-
BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10811
|
-
BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
10812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10810
|
+
BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10811
|
+
BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor });
|
|
10812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
|
|
10813
10813
|
type: Injectable
|
|
10814
10814
|
}], ctorParameters: function () { return [{ type: UserService }]; } });
|
|
10815
10815
|
|
|
10816
10816
|
class InterceptorsModule {
|
|
10817
10817
|
}
|
|
10818
|
-
InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10819
|
-
InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
10820
|
-
InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
10818
|
+
InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10819
|
+
InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule });
|
|
10820
|
+
InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, providers: [
|
|
10821
10821
|
{
|
|
10822
10822
|
provide: HTTP_INTERCEPTORS,
|
|
10823
10823
|
useClass: CorelogicInterceptor,
|
|
@@ -10855,7 +10855,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
10855
10855
|
multi: true
|
|
10856
10856
|
}
|
|
10857
10857
|
] });
|
|
10858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, decorators: [{
|
|
10859
10859
|
type: NgModule,
|
|
10860
10860
|
args: [{
|
|
10861
10861
|
providers: [
|
|
@@ -10913,12 +10913,12 @@ class TtCoreModule {
|
|
|
10913
10913
|
};
|
|
10914
10914
|
}
|
|
10915
10915
|
}
|
|
10916
|
-
TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
10917
|
-
TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
10916
|
+
TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10917
|
+
TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
|
|
10918
10918
|
InterceptorsModule] });
|
|
10919
|
-
TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
10919
|
+
TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
|
|
10920
10920
|
InterceptorsModule] });
|
|
10921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
10921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, decorators: [{
|
|
10922
10922
|
type: NgModule,
|
|
10923
10923
|
args: [{
|
|
10924
10924
|
declarations: [],
|
|
@@ -12466,9 +12466,9 @@ class AddressService {
|
|
|
12466
12466
|
return this.countriesSubject.asObservable();
|
|
12467
12467
|
}
|
|
12468
12468
|
}
|
|
12469
|
-
AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12470
|
-
AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12469
|
+
AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12470
|
+
AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, providedIn: 'root' });
|
|
12471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, decorators: [{
|
|
12472
12472
|
type: Injectable,
|
|
12473
12473
|
args: [{
|
|
12474
12474
|
providedIn: 'root'
|
|
@@ -12538,9 +12538,9 @@ class BankAccountService extends RestService$1 {
|
|
|
12538
12538
|
});
|
|
12539
12539
|
}
|
|
12540
12540
|
}
|
|
12541
|
-
BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12542
|
-
BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12541
|
+
BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12542
|
+
BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, providedIn: 'root' });
|
|
12543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, decorators: [{
|
|
12544
12544
|
type: Injectable,
|
|
12545
12545
|
args: [{
|
|
12546
12546
|
providedIn: 'root'
|
|
@@ -12607,9 +12607,9 @@ class BankTransactionService extends RestService$1 {
|
|
|
12607
12607
|
});
|
|
12608
12608
|
}
|
|
12609
12609
|
}
|
|
12610
|
-
BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12611
|
-
BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12610
|
+
BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12611
|
+
BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
|
|
12612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, decorators: [{
|
|
12613
12613
|
type: Injectable,
|
|
12614
12614
|
args: [{
|
|
12615
12615
|
providedIn: 'root'
|
|
@@ -12636,9 +12636,9 @@ class BankService extends RestService$1 {
|
|
|
12636
12636
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
12637
12637
|
}
|
|
12638
12638
|
}
|
|
12639
|
-
BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12640
|
-
BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12639
|
+
BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12640
|
+
BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, providedIn: 'root' });
|
|
12641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, decorators: [{
|
|
12642
12642
|
type: Injectable,
|
|
12643
12643
|
args: [{
|
|
12644
12644
|
providedIn: 'root'
|
|
@@ -12655,9 +12655,9 @@ class BudgetService extends RestService$1 {
|
|
|
12655
12655
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
12656
12656
|
}
|
|
12657
12657
|
}
|
|
12658
|
-
BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12659
|
-
BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12658
|
+
BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12659
|
+
BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, providedIn: 'root' });
|
|
12660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BudgetService, decorators: [{
|
|
12661
12661
|
type: Injectable,
|
|
12662
12662
|
args: [{
|
|
12663
12663
|
providedIn: 'root'
|
|
@@ -12685,9 +12685,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
|
|
|
12685
12685
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
12686
12686
|
}
|
|
12687
12687
|
}
|
|
12688
|
-
ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12689
|
-
ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12688
|
+
ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12689
|
+
ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
|
|
12690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
|
|
12691
12691
|
type: Injectable,
|
|
12692
12692
|
args: [{
|
|
12693
12693
|
providedIn: 'root'
|
|
@@ -12727,9 +12727,9 @@ class ChartAccountsService extends RestService$1 {
|
|
|
12727
12727
|
}));
|
|
12728
12728
|
}
|
|
12729
12729
|
}
|
|
12730
|
-
ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12731
|
-
ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12730
|
+
ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12731
|
+
ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
|
|
12732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, decorators: [{
|
|
12733
12733
|
type: Injectable,
|
|
12734
12734
|
args: [{
|
|
12735
12735
|
providedIn: 'root'
|
|
@@ -12798,9 +12798,9 @@ class ChatService extends RestService$1 {
|
|
|
12798
12798
|
});
|
|
12799
12799
|
}
|
|
12800
12800
|
}
|
|
12801
|
-
ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12802
|
-
ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12801
|
+
ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12802
|
+
ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, providedIn: 'root' });
|
|
12803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, decorators: [{
|
|
12804
12804
|
type: Injectable,
|
|
12805
12805
|
args: [{
|
|
12806
12806
|
providedIn: 'root'
|
|
@@ -12859,9 +12859,9 @@ class MessageService extends RestService$1 {
|
|
|
12859
12859
|
});
|
|
12860
12860
|
}
|
|
12861
12861
|
}
|
|
12862
|
-
MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12863
|
-
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12862
|
+
MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12863
|
+
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, providedIn: 'root' });
|
|
12864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, decorators: [{
|
|
12865
12865
|
type: Injectable,
|
|
12866
12866
|
args: [{
|
|
12867
12867
|
providedIn: 'root'
|
|
@@ -12933,9 +12933,9 @@ class MessageDocumentService extends RestService$1 {
|
|
|
12933
12933
|
return combineLatest(files.map((file) => this.add(chatId, file))).pipe(map((docsBase) => docsBase.map((docBase) => plainToClass(MessageDocument, docBase))));
|
|
12934
12934
|
}
|
|
12935
12935
|
}
|
|
12936
|
-
MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
12937
|
-
MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
12938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
12936
|
+
MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12937
|
+
MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
|
|
12938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, decorators: [{
|
|
12939
12939
|
type: Injectable,
|
|
12940
12940
|
args: [{
|
|
12941
12941
|
providedIn: 'root'
|
|
@@ -12998,9 +12998,9 @@ class ReceiptService {
|
|
|
12998
12998
|
return plainToClass(this.modelClass, data);
|
|
12999
12999
|
}
|
|
13000
13000
|
}
|
|
13001
|
-
ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13002
|
-
ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13001
|
+
ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13002
|
+
ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, providedIn: 'root' });
|
|
13003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, decorators: [{
|
|
13004
13004
|
type: Injectable,
|
|
13005
13005
|
args: [{
|
|
13006
13006
|
providedIn: 'root'
|
|
@@ -13031,9 +13031,9 @@ class DepreciationReceiptService extends ReceiptService {
|
|
|
13031
13031
|
this.listenEvents();
|
|
13032
13032
|
}
|
|
13033
13033
|
}
|
|
13034
|
-
DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13035
|
-
DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13034
|
+
DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13035
|
+
DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
|
|
13036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, decorators: [{
|
|
13037
13037
|
type: Injectable,
|
|
13038
13038
|
args: [{
|
|
13039
13039
|
providedIn: 'root'
|
|
@@ -13168,9 +13168,9 @@ class DepreciationService extends RestService$1 {
|
|
|
13168
13168
|
});
|
|
13169
13169
|
}
|
|
13170
13170
|
}
|
|
13171
|
-
DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13172
|
-
DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13171
|
+
DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: DepreciationReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13172
|
+
DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, providedIn: 'root' });
|
|
13173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, decorators: [{
|
|
13174
13174
|
type: Injectable,
|
|
13175
13175
|
args: [{
|
|
13176
13176
|
providedIn: 'root'
|
|
@@ -13222,9 +13222,9 @@ class DepreciationCapitalProjectService {
|
|
|
13222
13222
|
}));
|
|
13223
13223
|
}
|
|
13224
13224
|
}
|
|
13225
|
-
DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13226
|
-
DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13225
|
+
DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13226
|
+
DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
|
|
13227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
|
|
13228
13228
|
type: Injectable,
|
|
13229
13229
|
args: [{
|
|
13230
13230
|
providedIn: 'root'
|
|
@@ -13436,9 +13436,9 @@ class RestService {
|
|
|
13436
13436
|
*/
|
|
13437
13437
|
listenEvents() { }
|
|
13438
13438
|
}
|
|
13439
|
-
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13440
|
-
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13439
|
+
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13440
|
+
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
13441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, decorators: [{
|
|
13442
13442
|
type: Injectable,
|
|
13443
13443
|
args: [{
|
|
13444
13444
|
providedIn: 'root'
|
|
@@ -13457,9 +13457,9 @@ class DocumentService extends RestService {
|
|
|
13457
13457
|
this.modelClass = Document;
|
|
13458
13458
|
}
|
|
13459
13459
|
}
|
|
13460
|
-
DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13461
|
-
DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13460
|
+
DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13461
|
+
DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, providedIn: 'root' });
|
|
13462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, decorators: [{
|
|
13463
13463
|
type: Injectable,
|
|
13464
13464
|
args: [{
|
|
13465
13465
|
providedIn: 'root'
|
|
@@ -13525,9 +13525,9 @@ class DocumentFolderService extends RestService {
|
|
|
13525
13525
|
}));
|
|
13526
13526
|
}
|
|
13527
13527
|
}
|
|
13528
|
-
DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13529
|
-
DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13528
|
+
DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13529
|
+
DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
|
|
13530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, decorators: [{
|
|
13531
13531
|
type: Injectable,
|
|
13532
13532
|
args: [{
|
|
13533
13533
|
providedIn: 'root'
|
|
@@ -13604,9 +13604,9 @@ FacebookService.authOptions = {
|
|
|
13604
13604
|
auth_type: 'rerequest',
|
|
13605
13605
|
return_scopes: true
|
|
13606
13606
|
};
|
|
13607
|
-
FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13608
|
-
FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13607
|
+
FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13608
|
+
FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, providedIn: 'root' });
|
|
13609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, decorators: [{
|
|
13610
13610
|
type: Injectable,
|
|
13611
13611
|
args: [{
|
|
13612
13612
|
providedIn: 'root'
|
|
@@ -13676,9 +13676,9 @@ class GoogleService {
|
|
|
13676
13676
|
google.accounts.id.disableAutoSelect();
|
|
13677
13677
|
}
|
|
13678
13678
|
}
|
|
13679
|
-
GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13680
|
-
GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13679
|
+
GoogleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i4.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13680
|
+
GoogleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, providedIn: 'root' });
|
|
13681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: GoogleService, decorators: [{
|
|
13682
13682
|
type: Injectable,
|
|
13683
13683
|
args: [{
|
|
13684
13684
|
providedIn: 'root'
|
|
@@ -13709,9 +13709,9 @@ class FileService extends RestService$1 {
|
|
|
13709
13709
|
return this.http.get(`${this.apiUrl}/${file.id}/download`, { responseType: 'blob' });
|
|
13710
13710
|
}
|
|
13711
13711
|
}
|
|
13712
|
-
FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13713
|
-
FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13712
|
+
FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13713
|
+
FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, providedIn: 'root' });
|
|
13714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, decorators: [{
|
|
13715
13715
|
type: Injectable,
|
|
13716
13716
|
args: [{
|
|
13717
13717
|
providedIn: 'root'
|
|
@@ -13728,9 +13728,9 @@ class ClientIncomeTypesService extends RestService$1 {
|
|
|
13728
13728
|
this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
|
|
13729
13729
|
}
|
|
13730
13730
|
}
|
|
13731
|
-
ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13732
|
-
ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13731
|
+
ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13732
|
+
ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
|
|
13733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
|
|
13734
13734
|
type: Injectable,
|
|
13735
13735
|
args: [{
|
|
13736
13736
|
providedIn: 'root'
|
|
@@ -13847,9 +13847,9 @@ class ClientInviteService extends RestService {
|
|
|
13847
13847
|
});
|
|
13848
13848
|
}
|
|
13849
13849
|
}
|
|
13850
|
-
ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13851
|
-
ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13850
|
+
ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13851
|
+
ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
|
|
13852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, decorators: [{
|
|
13853
13853
|
type: Injectable,
|
|
13854
13854
|
args: [{
|
|
13855
13855
|
providedIn: 'root'
|
|
@@ -13861,7 +13861,9 @@ var ClientInviteMessages;
|
|
|
13861
13861
|
ClientInviteMessages["TT_ADVISOR_INVITED"] = "You have Invited TaxTank Support successfully";
|
|
13862
13862
|
ClientInviteMessages["REVOKE_TT_ADVISOR_CONFIRM"] = "Are you sure you want to revoke access?";
|
|
13863
13863
|
ClientInviteMessages["TT_ADVISOR_REVOKED"] = "Access revoked";
|
|
13864
|
-
ClientInviteMessages["
|
|
13864
|
+
ClientInviteMessages["TT_INVITE_ACCEPT"] = "You successfully accepted the invitation";
|
|
13865
|
+
ClientInviteMessages["TT_ACCOUNTANT_INVITED"] = "Accountant invitation has been sent successfully";
|
|
13866
|
+
ClientInviteMessages["TT_ACCOUNTANT_INVETED_TOOLTIP"] = "Need an accountant? TaxTank Accountants delivers virtual accounting service exclusive to TaxTank subscribers. Experience a fast, seamless, and cost-effective lodgement service that rewards your TaxTank efforts throughout the year. Our team of experienced accountants brings their expertise in tax and TaxTank to the virtual realm. It all starts with a 15-minute consultation that sets the stage for personalised service. With us, you\u2019ll receive the best of both worlds at tax time.";
|
|
13865
13867
|
})(ClientInviteMessages || (ClientInviteMessages = {}));
|
|
13866
13868
|
|
|
13867
13869
|
class ClientMovementService extends RestService {
|
|
@@ -13934,9 +13936,9 @@ class ClientMovementService extends RestService {
|
|
|
13934
13936
|
});
|
|
13935
13937
|
}
|
|
13936
13938
|
}
|
|
13937
|
-
ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13938
|
-
ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13939
|
+
ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13940
|
+
ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
|
|
13941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, decorators: [{
|
|
13940
13942
|
type: Injectable,
|
|
13941
13943
|
args: [{
|
|
13942
13944
|
providedIn: 'root'
|
|
@@ -13965,9 +13967,9 @@ class EmployeeService extends RestService {
|
|
|
13965
13967
|
}));
|
|
13966
13968
|
}
|
|
13967
13969
|
}
|
|
13968
|
-
EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
13969
|
-
EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
13970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13970
|
+
EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13971
|
+
EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, providedIn: 'root' });
|
|
13972
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, decorators: [{
|
|
13971
13973
|
type: Injectable,
|
|
13972
13974
|
args: [{
|
|
13973
13975
|
providedIn: 'root'
|
|
@@ -14008,9 +14010,9 @@ class EmployeeInviteService extends RestService {
|
|
|
14008
14010
|
}));
|
|
14009
14011
|
}
|
|
14010
14012
|
}
|
|
14011
|
-
EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14012
|
-
EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14013
|
+
EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14014
|
+
EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
|
|
14015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, decorators: [{
|
|
14014
14016
|
type: Injectable,
|
|
14015
14017
|
args: [{
|
|
14016
14018
|
providedIn: 'root'
|
|
@@ -14035,9 +14037,9 @@ class ClientPortfolioReportService {
|
|
|
14035
14037
|
}));
|
|
14036
14038
|
}
|
|
14037
14039
|
}
|
|
14038
|
-
ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14039
|
-
ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14040
|
+
ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14041
|
+
ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
|
|
14042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
|
|
14041
14043
|
type: Injectable,
|
|
14042
14044
|
args: [{
|
|
14043
14045
|
providedIn: 'root'
|
|
@@ -14101,9 +14103,9 @@ class FirmService {
|
|
|
14101
14103
|
}));
|
|
14102
14104
|
}
|
|
14103
14105
|
}
|
|
14104
|
-
FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14105
|
-
FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14106
|
+
FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14107
|
+
FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, providedIn: 'root' });
|
|
14108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, decorators: [{
|
|
14107
14109
|
type: Injectable,
|
|
14108
14110
|
args: [{
|
|
14109
14111
|
providedIn: 'root'
|
|
@@ -14178,9 +14180,9 @@ class IncomeSourceForecastService extends RestService {
|
|
|
14178
14180
|
}).flat();
|
|
14179
14181
|
}
|
|
14180
14182
|
}
|
|
14181
|
-
IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14182
|
-
IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14183
|
+
IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14184
|
+
IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
|
|
14185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
|
|
14184
14186
|
type: Injectable,
|
|
14185
14187
|
args: [{
|
|
14186
14188
|
providedIn: 'root'
|
|
@@ -14250,9 +14252,9 @@ class SalaryForecastService extends RestService {
|
|
|
14250
14252
|
}).flat();
|
|
14251
14253
|
}
|
|
14252
14254
|
}
|
|
14253
|
-
SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14254
|
-
SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14255
|
+
SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14256
|
+
SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
|
|
14257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, decorators: [{
|
|
14256
14258
|
type: Injectable,
|
|
14257
14259
|
args: [{
|
|
14258
14260
|
providedIn: 'root'
|
|
@@ -14328,9 +14330,9 @@ class SoleForecastService extends RestService {
|
|
|
14328
14330
|
});
|
|
14329
14331
|
}
|
|
14330
14332
|
}
|
|
14331
|
-
SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14332
|
-
SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14333
|
+
SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14334
|
+
SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
|
|
14335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, decorators: [{
|
|
14334
14336
|
type: Injectable,
|
|
14335
14337
|
args: [{
|
|
14336
14338
|
providedIn: 'root'
|
|
@@ -14409,9 +14411,9 @@ class IncomeSourceService extends RestService {
|
|
|
14409
14411
|
});
|
|
14410
14412
|
}
|
|
14411
14413
|
}
|
|
14412
|
-
IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14413
|
-
IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14414
|
+
IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14415
|
+
IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
|
|
14416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, decorators: [{
|
|
14415
14417
|
type: Injectable,
|
|
14416
14418
|
args: [{
|
|
14417
14419
|
providedIn: 'root'
|
|
@@ -14472,9 +14474,9 @@ class BorrowingExpenseService {
|
|
|
14472
14474
|
}));
|
|
14473
14475
|
}
|
|
14474
14476
|
}
|
|
14475
|
-
BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14476
|
-
BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14477
|
+
BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14478
|
+
BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
|
|
14479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, decorators: [{
|
|
14478
14480
|
type: Injectable,
|
|
14479
14481
|
args: [{
|
|
14480
14482
|
providedIn: 'root'
|
|
@@ -14556,9 +14558,9 @@ class LoanService extends RestService$1 {
|
|
|
14556
14558
|
}));
|
|
14557
14559
|
}
|
|
14558
14560
|
}
|
|
14559
|
-
LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14560
|
-
LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14561
|
+
LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14562
|
+
LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, providedIn: 'root' });
|
|
14563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, decorators: [{
|
|
14562
14564
|
type: Injectable,
|
|
14563
14565
|
args: [{
|
|
14564
14566
|
providedIn: 'root'
|
|
@@ -14577,9 +14579,9 @@ class PropertyCategoryService extends RestService$1 {
|
|
|
14577
14579
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14578
14580
|
}
|
|
14579
14581
|
}
|
|
14580
|
-
PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14581
|
-
PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14582
|
+
PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14583
|
+
PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
|
|
14584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, decorators: [{
|
|
14583
14585
|
type: Injectable,
|
|
14584
14586
|
args: [{
|
|
14585
14587
|
providedIn: 'root'
|
|
@@ -14595,9 +14597,9 @@ class PropertyCategoryMovementService extends RestService$1 {
|
|
|
14595
14597
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14596
14598
|
}
|
|
14597
14599
|
}
|
|
14598
|
-
PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14599
|
-
PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14600
|
+
PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14601
|
+
PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
|
|
14602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
|
|
14601
14603
|
type: Injectable,
|
|
14602
14604
|
args: [{
|
|
14603
14605
|
providedIn: 'root'
|
|
@@ -14639,9 +14641,9 @@ class PropertyDocumentService extends RestService$1 {
|
|
|
14639
14641
|
});
|
|
14640
14642
|
}
|
|
14641
14643
|
}
|
|
14642
|
-
PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14643
|
-
PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14644
|
+
PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14645
|
+
PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
|
|
14646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, decorators: [{
|
|
14645
14647
|
type: Injectable,
|
|
14646
14648
|
args: [{
|
|
14647
14649
|
providedIn: 'root'
|
|
@@ -14715,9 +14717,9 @@ class TaxExemptionService extends DataService {
|
|
|
14715
14717
|
this.setCache(TaxExemptions);
|
|
14716
14718
|
}
|
|
14717
14719
|
}
|
|
14718
|
-
TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14719
|
-
TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14720
|
+
TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14721
|
+
TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
|
|
14722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, decorators: [{
|
|
14721
14723
|
type: Injectable,
|
|
14722
14724
|
args: [{
|
|
14723
14725
|
providedIn: 'root'
|
|
@@ -14733,9 +14735,9 @@ class PropertySaleService extends RestService$1 {
|
|
|
14733
14735
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
14734
14736
|
}
|
|
14735
14737
|
}
|
|
14736
|
-
PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14737
|
-
PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14738
|
+
PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14739
|
+
PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
|
|
14740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, decorators: [{
|
|
14739
14741
|
type: Injectable,
|
|
14740
14742
|
args: [{
|
|
14741
14743
|
providedIn: 'root'
|
|
@@ -14782,9 +14784,9 @@ class PropertyShareService extends RestService$1 {
|
|
|
14782
14784
|
this.listenCSE(PropertySale, ['post', 'delete'], this.resetCache);
|
|
14783
14785
|
}
|
|
14784
14786
|
}
|
|
14785
|
-
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14786
|
-
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14787
|
+
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14788
|
+
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
|
|
14789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, decorators: [{
|
|
14788
14790
|
type: Injectable,
|
|
14789
14791
|
args: [{
|
|
14790
14792
|
providedIn: 'root'
|
|
@@ -14881,9 +14883,9 @@ class PropertyService extends RestService$1 {
|
|
|
14881
14883
|
}));
|
|
14882
14884
|
}
|
|
14883
14885
|
}
|
|
14884
|
-
PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14885
|
-
PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14886
|
+
PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14887
|
+
PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, providedIn: 'root' });
|
|
14888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, decorators: [{
|
|
14887
14889
|
type: Injectable,
|
|
14888
14890
|
args: [{
|
|
14889
14891
|
providedIn: 'root'
|
|
@@ -14937,9 +14939,9 @@ class ServiceNotificationService extends RestService {
|
|
|
14937
14939
|
});
|
|
14938
14940
|
}
|
|
14939
14941
|
}
|
|
14940
|
-
ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14941
|
-
ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14942
|
+
ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14943
|
+
ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
|
|
14944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, decorators: [{
|
|
14943
14945
|
type: Injectable,
|
|
14944
14946
|
args: [{
|
|
14945
14947
|
providedIn: 'root'
|
|
@@ -14990,9 +14992,9 @@ class SoleBusinessService extends RestService {
|
|
|
14990
14992
|
}));
|
|
14991
14993
|
}
|
|
14992
14994
|
}
|
|
14993
|
-
SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14994
|
-
SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
14995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
14995
|
+
SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14996
|
+
SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
|
|
14997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, decorators: [{
|
|
14996
14998
|
type: Injectable,
|
|
14997
14999
|
args: [{
|
|
14998
15000
|
providedIn: 'root'
|
|
@@ -15007,9 +15009,9 @@ class SoleBusinessActivityService extends RestService {
|
|
|
15007
15009
|
this.isHydra = true;
|
|
15008
15010
|
}
|
|
15009
15011
|
}
|
|
15010
|
-
SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15011
|
-
SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15012
|
+
SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15013
|
+
SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
|
|
15014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
|
|
15013
15015
|
type: Injectable,
|
|
15014
15016
|
args: [{
|
|
15015
15017
|
providedIn: 'root'
|
|
@@ -15035,9 +15037,9 @@ class SoleBusinessLossService extends RestService {
|
|
|
15035
15037
|
});
|
|
15036
15038
|
}
|
|
15037
15039
|
}
|
|
15038
|
-
SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15039
|
-
SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15040
|
+
SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15041
|
+
SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
|
|
15042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, decorators: [{
|
|
15041
15043
|
type: Injectable,
|
|
15042
15044
|
args: [{
|
|
15043
15045
|
providedIn: 'root'
|
|
@@ -15055,9 +15057,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
|
|
|
15055
15057
|
this.isHydra = true;
|
|
15056
15058
|
}
|
|
15057
15059
|
}
|
|
15058
|
-
SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15059
|
-
SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15060
|
+
SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15061
|
+
SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
|
|
15062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
|
|
15061
15063
|
type: Injectable,
|
|
15062
15064
|
args: [{
|
|
15063
15065
|
providedIn: 'root'
|
|
@@ -15072,9 +15074,9 @@ class SoleContactService extends RestService {
|
|
|
15072
15074
|
this.isHydra = true;
|
|
15073
15075
|
}
|
|
15074
15076
|
}
|
|
15075
|
-
SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15076
|
-
SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15077
|
+
SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15078
|
+
SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, providedIn: 'root' });
|
|
15079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, decorators: [{
|
|
15078
15080
|
type: Injectable,
|
|
15079
15081
|
args: [{
|
|
15080
15082
|
providedIn: 'root'
|
|
@@ -15130,9 +15132,9 @@ class SoleDepreciationMethodService {
|
|
|
15130
15132
|
});
|
|
15131
15133
|
}
|
|
15132
15134
|
}
|
|
15133
|
-
SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15134
|
-
SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15135
|
+
SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15136
|
+
SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
|
|
15137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
|
|
15136
15138
|
type: Injectable,
|
|
15137
15139
|
args: [{
|
|
15138
15140
|
providedIn: 'root'
|
|
@@ -15187,9 +15189,9 @@ class SoleDetailsService {
|
|
|
15187
15189
|
}));
|
|
15188
15190
|
}
|
|
15189
15191
|
}
|
|
15190
|
-
SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15191
|
-
SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15192
|
+
SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15193
|
+
SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
|
|
15194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, decorators: [{
|
|
15193
15195
|
type: Injectable,
|
|
15194
15196
|
args: [{
|
|
15195
15197
|
providedIn: 'root'
|
|
@@ -15265,9 +15267,9 @@ class SoleInvoiceService extends RestService {
|
|
|
15265
15267
|
});
|
|
15266
15268
|
}
|
|
15267
15269
|
}
|
|
15268
|
-
SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15269
|
-
SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15270
|
+
SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15271
|
+
SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
|
|
15272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, decorators: [{
|
|
15271
15273
|
type: Injectable,
|
|
15272
15274
|
args: [{
|
|
15273
15275
|
providedIn: 'root'
|
|
@@ -15282,9 +15284,9 @@ class SoleInvoiceTemplateService extends RestService {
|
|
|
15282
15284
|
this.isHydra = true;
|
|
15283
15285
|
}
|
|
15284
15286
|
}
|
|
15285
|
-
SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15286
|
-
SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15287
|
+
SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15288
|
+
SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
|
|
15289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
|
|
15288
15290
|
type: Injectable,
|
|
15289
15291
|
args: [{
|
|
15290
15292
|
providedIn: 'root'
|
|
@@ -15299,9 +15301,9 @@ class BasReportService extends RestService {
|
|
|
15299
15301
|
this.isHydra = true;
|
|
15300
15302
|
}
|
|
15301
15303
|
}
|
|
15302
|
-
BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15303
|
-
BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15304
|
+
BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15305
|
+
BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, providedIn: 'root' });
|
|
15306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, decorators: [{
|
|
15305
15307
|
type: Injectable,
|
|
15306
15308
|
args: [{
|
|
15307
15309
|
providedIn: 'root'
|
|
@@ -15327,9 +15329,9 @@ class ServicePaymentService extends RestService$1 {
|
|
|
15327
15329
|
return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
|
|
15328
15330
|
}
|
|
15329
15331
|
}
|
|
15330
|
-
ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15331
|
-
ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15332
|
+
ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15333
|
+
ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
|
|
15334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, decorators: [{
|
|
15333
15335
|
type: Injectable,
|
|
15334
15336
|
args: [{
|
|
15335
15337
|
providedIn: 'root'
|
|
@@ -15377,9 +15379,9 @@ class ServicePaymentMethodService extends RestService$1 {
|
|
|
15377
15379
|
});
|
|
15378
15380
|
}
|
|
15379
15381
|
}
|
|
15380
|
-
ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15381
|
-
ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15382
|
+
ServicePaymentMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15383
|
+
ServicePaymentMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, providedIn: 'root' });
|
|
15384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentMethodService, decorators: [{
|
|
15383
15385
|
type: Injectable,
|
|
15384
15386
|
args: [{
|
|
15385
15387
|
providedIn: 'root'
|
|
@@ -15404,9 +15406,9 @@ class ServicePriceService extends RestService$1 {
|
|
|
15404
15406
|
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
15405
15407
|
}
|
|
15406
15408
|
}
|
|
15407
|
-
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15408
|
-
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15409
|
+
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15410
|
+
ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
|
|
15411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, decorators: [{
|
|
15410
15412
|
type: Injectable,
|
|
15411
15413
|
args: [{
|
|
15412
15414
|
providedIn: 'root'
|
|
@@ -15523,9 +15525,9 @@ class SubscriptionService extends RestService$1 {
|
|
|
15523
15525
|
});
|
|
15524
15526
|
}
|
|
15525
15527
|
}
|
|
15526
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15527
|
-
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15528
|
+
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15529
|
+
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
|
|
15530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
15529
15531
|
type: Injectable,
|
|
15530
15532
|
args: [{
|
|
15531
15533
|
providedIn: 'root'
|
|
@@ -15547,9 +15549,9 @@ class ServiceProductService extends RestService$1 {
|
|
|
15547
15549
|
this.isApiPlatform = true;
|
|
15548
15550
|
}
|
|
15549
15551
|
}
|
|
15550
|
-
ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15551
|
-
ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15552
|
+
ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15553
|
+
ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
|
|
15554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, decorators: [{
|
|
15553
15555
|
type: Injectable,
|
|
15554
15556
|
args: [{
|
|
15555
15557
|
providedIn: 'root'
|
|
@@ -15581,9 +15583,9 @@ class TaxReviewHistoryService extends RestService {
|
|
|
15581
15583
|
});
|
|
15582
15584
|
}
|
|
15583
15585
|
}
|
|
15584
|
-
TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15585
|
-
TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15586
|
+
TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15587
|
+
TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
|
|
15588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
|
|
15587
15589
|
type: Injectable,
|
|
15588
15590
|
args: [{
|
|
15589
15591
|
providedIn: 'root'
|
|
@@ -15672,9 +15674,9 @@ class TaxReviewService extends RestService {
|
|
|
15672
15674
|
});
|
|
15673
15675
|
}
|
|
15674
15676
|
}
|
|
15675
|
-
TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15676
|
-
TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15677
|
+
TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15678
|
+
TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
|
|
15679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, decorators: [{
|
|
15678
15680
|
type: Injectable,
|
|
15679
15681
|
args: [{
|
|
15680
15682
|
providedIn: 'root'
|
|
@@ -15731,9 +15733,9 @@ class TaxSummaryService {
|
|
|
15731
15733
|
});
|
|
15732
15734
|
}
|
|
15733
15735
|
}
|
|
15734
|
-
TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15735
|
-
TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15736
|
+
TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15737
|
+
TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
|
|
15738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, decorators: [{
|
|
15737
15739
|
type: Injectable,
|
|
15738
15740
|
args: [{
|
|
15739
15741
|
providedIn: 'root'
|
|
@@ -15754,9 +15756,9 @@ class AllocationRuleService extends RestService$1 {
|
|
|
15754
15756
|
this.isApiPlatform = true;
|
|
15755
15757
|
}
|
|
15756
15758
|
}
|
|
15757
|
-
AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15758
|
-
AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15759
|
+
AllocationRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15760
|
+
AllocationRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, providedIn: 'root' });
|
|
15761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AllocationRuleService, decorators: [{
|
|
15760
15762
|
type: Injectable,
|
|
15761
15763
|
args: [{
|
|
15762
15764
|
providedIn: 'root'
|
|
@@ -15846,9 +15848,9 @@ class TransactionAllocationService extends RestService {
|
|
|
15846
15848
|
});
|
|
15847
15849
|
}
|
|
15848
15850
|
}
|
|
15849
|
-
TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15850
|
-
TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15851
|
+
TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15852
|
+
TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
|
|
15853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, decorators: [{
|
|
15852
15854
|
type: Injectable,
|
|
15853
15855
|
args: [{
|
|
15854
15856
|
providedIn: 'root'
|
|
@@ -15874,9 +15876,9 @@ class TransactionReceiptService extends ReceiptService {
|
|
|
15874
15876
|
this.listenEvents();
|
|
15875
15877
|
}
|
|
15876
15878
|
}
|
|
15877
|
-
TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
15878
|
-
TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
15879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15879
|
+
TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15880
|
+
TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
|
|
15881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, decorators: [{
|
|
15880
15882
|
type: Injectable,
|
|
15881
15883
|
args: [{
|
|
15882
15884
|
providedIn: 'root'
|
|
@@ -16188,9 +16190,9 @@ class TransactionService extends RestService {
|
|
|
16188
16190
|
});
|
|
16189
16191
|
}
|
|
16190
16192
|
}
|
|
16191
|
-
TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16192
|
-
TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16193
|
+
TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16194
|
+
TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, providedIn: 'root' });
|
|
16195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, decorators: [{
|
|
16194
16196
|
type: Injectable,
|
|
16195
16197
|
args: [{
|
|
16196
16198
|
providedIn: 'root'
|
|
@@ -16221,9 +16223,9 @@ class TutorialVideoService {
|
|
|
16221
16223
|
}
|
|
16222
16224
|
TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
|
|
16223
16225
|
TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
|
|
16224
|
-
TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16225
|
-
TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16226
|
+
TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16227
|
+
TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
|
|
16228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, decorators: [{
|
|
16227
16229
|
type: Injectable,
|
|
16228
16230
|
args: [{
|
|
16229
16231
|
providedIn: 'root'
|
|
@@ -16245,9 +16247,9 @@ class VehicleService extends RestService {
|
|
|
16245
16247
|
this.modelClass = Vehicle;
|
|
16246
16248
|
}
|
|
16247
16249
|
}
|
|
16248
|
-
VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16249
|
-
VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16250
|
+
VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16251
|
+
VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, providedIn: 'root' });
|
|
16252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, decorators: [{
|
|
16251
16253
|
type: Injectable,
|
|
16252
16254
|
args: [{
|
|
16253
16255
|
providedIn: 'root'
|
|
@@ -16319,9 +16321,9 @@ class VehicleClaimService extends RestService {
|
|
|
16319
16321
|
combineLatest(batch$).subscribe();
|
|
16320
16322
|
}
|
|
16321
16323
|
}
|
|
16322
|
-
VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16323
|
-
VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16324
|
+
VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16325
|
+
VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
|
|
16326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, decorators: [{
|
|
16325
16327
|
type: Injectable,
|
|
16326
16328
|
args: [{
|
|
16327
16329
|
providedIn: 'root'
|
|
@@ -16398,9 +16400,9 @@ class VehicleClaimDetailsService {
|
|
|
16398
16400
|
this.update(vehicleClaimDetails).subscribe();
|
|
16399
16401
|
}
|
|
16400
16402
|
}
|
|
16401
|
-
VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16402
|
-
VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16403
|
+
VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16404
|
+
VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
|
|
16405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
|
|
16404
16406
|
type: Injectable,
|
|
16405
16407
|
args: [{
|
|
16406
16408
|
providedIn: 'root'
|
|
@@ -16422,9 +16424,9 @@ class VehicleLogbookService extends RestService {
|
|
|
16422
16424
|
this.modelClass = VehicleLogbook;
|
|
16423
16425
|
}
|
|
16424
16426
|
}
|
|
16425
|
-
VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16426
|
-
VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16427
|
+
VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16428
|
+
VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
|
|
16429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, decorators: [{
|
|
16428
16430
|
type: Injectable,
|
|
16429
16431
|
args: [{
|
|
16430
16432
|
providedIn: 'root'
|
|
@@ -16441,9 +16443,9 @@ class AnnualClientDetailsService extends RestService$1 {
|
|
|
16441
16443
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch', 'delete'];
|
|
16442
16444
|
}
|
|
16443
16445
|
}
|
|
16444
|
-
AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16445
|
-
AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16446
|
+
AnnualClientDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16447
|
+
AnnualClientDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, providedIn: 'root' });
|
|
16448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AnnualClientDetailsService, decorators: [{
|
|
16447
16449
|
type: Injectable,
|
|
16448
16450
|
args: [{
|
|
16449
16451
|
providedIn: 'root'
|
|
@@ -16474,9 +16476,9 @@ class OccupationService {
|
|
|
16474
16476
|
return this.occupationsSubject.asObservable();
|
|
16475
16477
|
}
|
|
16476
16478
|
}
|
|
16477
|
-
OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16478
|
-
OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16479
|
+
OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16480
|
+
OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, providedIn: 'root' });
|
|
16481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, decorators: [{
|
|
16480
16482
|
type: Injectable,
|
|
16481
16483
|
args: [{
|
|
16482
16484
|
providedIn: 'root'
|
|
@@ -16522,9 +16524,9 @@ class UserEventSettingService extends RestService {
|
|
|
16522
16524
|
}));
|
|
16523
16525
|
}
|
|
16524
16526
|
}
|
|
16525
|
-
UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16526
|
-
UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16527
|
+
UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16528
|
+
UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
|
|
16529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, decorators: [{
|
|
16528
16530
|
type: Injectable,
|
|
16529
16531
|
args: [{
|
|
16530
16532
|
providedIn: 'root'
|
|
@@ -16539,9 +16541,9 @@ class UserEventTypeService extends RestService {
|
|
|
16539
16541
|
this.isHydra = true;
|
|
16540
16542
|
}
|
|
16541
16543
|
}
|
|
16542
|
-
UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16543
|
-
UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16544
|
+
UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16545
|
+
UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
|
|
16546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, decorators: [{
|
|
16545
16547
|
type: Injectable,
|
|
16546
16548
|
args: [{
|
|
16547
16549
|
providedIn: 'root'
|
|
@@ -16558,9 +16560,9 @@ class UsersInviteService extends RestService {
|
|
|
16558
16560
|
this.url = 'users/invite';
|
|
16559
16561
|
}
|
|
16560
16562
|
}
|
|
16561
|
-
UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16562
|
-
UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16563
|
+
UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16564
|
+
UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
|
|
16565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, decorators: [{
|
|
16564
16566
|
type: Injectable,
|
|
16565
16567
|
args: [{
|
|
16566
16568
|
providedIn: 'root'
|
|
@@ -16580,9 +16582,9 @@ class HoldingService extends RestService$1 {
|
|
|
16580
16582
|
this.listenCSE(HoldingSale, ['post', 'put', 'delete'], this.resetCache);
|
|
16581
16583
|
}
|
|
16582
16584
|
}
|
|
16583
|
-
HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16584
|
-
HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16585
|
+
HoldingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16586
|
+
HoldingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, providedIn: 'root' });
|
|
16587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingService, decorators: [{
|
|
16586
16588
|
type: Injectable,
|
|
16587
16589
|
args: [{
|
|
16588
16590
|
providedIn: 'root'
|
|
@@ -16599,9 +16601,9 @@ class HoldingTypeService extends RestService$1 {
|
|
|
16599
16601
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
16600
16602
|
}
|
|
16601
16603
|
}
|
|
16602
|
-
HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16603
|
-
HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16604
|
+
HoldingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16605
|
+
HoldingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, providedIn: 'root' });
|
|
16606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeService, decorators: [{
|
|
16605
16607
|
type: Injectable,
|
|
16606
16608
|
args: [{
|
|
16607
16609
|
providedIn: 'root'
|
|
@@ -16618,9 +16620,9 @@ class HoldingSaleService extends RestService$1 {
|
|
|
16618
16620
|
this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
|
|
16619
16621
|
}
|
|
16620
16622
|
}
|
|
16621
|
-
HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16622
|
-
HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16623
|
+
HoldingSaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16624
|
+
HoldingSaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, providedIn: 'root' });
|
|
16625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingSaleService, decorators: [{
|
|
16624
16626
|
type: Injectable,
|
|
16625
16627
|
args: [{
|
|
16626
16628
|
providedIn: 'root'
|
|
@@ -16715,9 +16717,9 @@ class HoldingTypeExchangeService extends DataService {
|
|
|
16715
16717
|
this.setCache(HoldingTypeExchanges);
|
|
16716
16718
|
}
|
|
16717
16719
|
}
|
|
16718
|
-
HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16719
|
-
HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16720
|
+
HoldingTypeExchangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16721
|
+
HoldingTypeExchangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, providedIn: 'root' });
|
|
16722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HoldingTypeExchangeService, decorators: [{
|
|
16721
16723
|
type: Injectable,
|
|
16722
16724
|
args: [{
|
|
16723
16725
|
providedIn: 'root'
|
|
@@ -16821,9 +16823,9 @@ class IncomeSourceTypeService extends DataService {
|
|
|
16821
16823
|
this.setCache(IncomeSourceTypes);
|
|
16822
16824
|
}
|
|
16823
16825
|
}
|
|
16824
|
-
IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16825
|
-
IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16826
|
+
IncomeSourceTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16827
|
+
IncomeSourceTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, providedIn: 'root' });
|
|
16828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceTypeService, decorators: [{
|
|
16827
16829
|
type: Injectable,
|
|
16828
16830
|
args: [{
|
|
16829
16831
|
providedIn: 'root'
|
|
@@ -16845,9 +16847,9 @@ class ChartAccountsValueService extends DataService {
|
|
|
16845
16847
|
return this.getCache().find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
|
|
16846
16848
|
}
|
|
16847
16849
|
}
|
|
16848
|
-
ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16849
|
-
ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
16850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
16850
|
+
ChartAccountsValueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16851
|
+
ChartAccountsValueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, providedIn: 'root' });
|
|
16852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsValueService, decorators: [{
|
|
16851
16853
|
type: Injectable,
|
|
16852
16854
|
args: [{
|
|
16853
16855
|
providedIn: 'root'
|
|
@@ -18937,9 +18939,9 @@ class TaxReturnItemService extends DataService {
|
|
|
18937
18939
|
this.setCache(TaxReturnItems);
|
|
18938
18940
|
}
|
|
18939
18941
|
}
|
|
18940
|
-
TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
18941
|
-
TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
18942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
18942
|
+
TaxReturnItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18943
|
+
TaxReturnItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, providedIn: 'root' });
|
|
18944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReturnItemService, decorators: [{
|
|
18943
18945
|
type: Injectable,
|
|
18944
18946
|
args: [{
|
|
18945
18947
|
providedIn: 'root'
|
|
@@ -19159,9 +19161,9 @@ class AccountSetupService {
|
|
|
19159
19161
|
return this.create(AccountSetupItemsEnum.BANK_FEEDS, this.bankAccountsService.getArray());
|
|
19160
19162
|
}
|
|
19161
19163
|
}
|
|
19162
|
-
AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19163
|
-
AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19164
|
+
AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }, { token: HoldingService }, { token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19165
|
+
AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
|
|
19166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, decorators: [{
|
|
19165
19167
|
type: Injectable,
|
|
19166
19168
|
args: [{
|
|
19167
19169
|
providedIn: 'root'
|
|
@@ -19187,9 +19189,9 @@ class RewardfulService {
|
|
|
19187
19189
|
});
|
|
19188
19190
|
}
|
|
19189
19191
|
}
|
|
19190
|
-
RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19191
|
-
RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19192
|
+
RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19193
|
+
RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, providedIn: 'root' });
|
|
19194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, decorators: [{
|
|
19193
19195
|
type: Injectable,
|
|
19194
19196
|
args: [{
|
|
19195
19197
|
providedIn: 'root'
|
|
@@ -19236,9 +19238,9 @@ class AssetsService {
|
|
|
19236
19238
|
return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
|
|
19237
19239
|
}
|
|
19238
19240
|
}
|
|
19239
|
-
AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19240
|
-
AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19241
|
+
AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19242
|
+
AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, providedIn: 'root' });
|
|
19243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, decorators: [{
|
|
19242
19244
|
type: Injectable,
|
|
19243
19245
|
args: [{
|
|
19244
19246
|
providedIn: 'root'
|
|
@@ -19299,9 +19301,9 @@ class BankTransactionCalculationService {
|
|
|
19299
19301
|
return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
|
|
19300
19302
|
}
|
|
19301
19303
|
}
|
|
19302
|
-
BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19303
|
-
BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19304
|
+
BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19305
|
+
BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
|
|
19306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
|
|
19305
19307
|
type: Injectable,
|
|
19306
19308
|
args: [{
|
|
19307
19309
|
providedIn: 'root'
|
|
@@ -19330,9 +19332,9 @@ class BankAccountCalculationService {
|
|
|
19330
19332
|
return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
|
|
19331
19333
|
}
|
|
19332
19334
|
}
|
|
19333
|
-
BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19334
|
-
BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19335
|
+
BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19336
|
+
BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
|
|
19337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, decorators: [{
|
|
19336
19338
|
type: Injectable,
|
|
19337
19339
|
args: [{
|
|
19338
19340
|
providedIn: 'root'
|
|
@@ -19360,9 +19362,9 @@ class ExportFormatterService {
|
|
|
19360
19362
|
}));
|
|
19361
19363
|
}
|
|
19362
19364
|
}
|
|
19363
|
-
ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19364
|
-
ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19365
|
+
ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$1.CurrencyPipe }, { token: i1$1.PercentPipe }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19366
|
+
ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
|
|
19367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, decorators: [{
|
|
19366
19368
|
type: Injectable,
|
|
19367
19369
|
args: [{
|
|
19368
19370
|
providedIn: 'root'
|
|
@@ -19383,9 +19385,9 @@ class HeaderTitleService {
|
|
|
19383
19385
|
}), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
|
|
19384
19386
|
}
|
|
19385
19387
|
}
|
|
19386
|
-
HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19387
|
-
HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19388
|
+
HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, deps: [{ token: i4.Router }, { token: i4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19389
|
+
HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
|
|
19390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, decorators: [{
|
|
19389
19391
|
type: Injectable,
|
|
19390
19392
|
args: [{
|
|
19391
19393
|
providedIn: 'root'
|
|
@@ -19419,9 +19421,9 @@ class IntercomService {
|
|
|
19419
19421
|
window.Intercom('boot', connectionCredentials);
|
|
19420
19422
|
}
|
|
19421
19423
|
}
|
|
19422
|
-
IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19423
|
-
IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19424
|
+
IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19425
|
+
IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, providedIn: 'root' });
|
|
19426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, decorators: [{
|
|
19425
19427
|
type: Injectable,
|
|
19426
19428
|
args: [{
|
|
19427
19429
|
providedIn: 'root'
|
|
@@ -19493,9 +19495,9 @@ class PdfFromDomElementService {
|
|
|
19493
19495
|
.then((blob) => new File([blob], filename, { type: 'application/pdf' })));
|
|
19494
19496
|
}
|
|
19495
19497
|
}
|
|
19496
|
-
PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19497
|
-
PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19498
|
+
PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19499
|
+
PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
|
|
19500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, decorators: [{
|
|
19499
19501
|
type: Injectable,
|
|
19500
19502
|
args: [{
|
|
19501
19503
|
providedIn: 'root'
|
|
@@ -19589,9 +19591,9 @@ class PdfFromTableService {
|
|
|
19589
19591
|
.setTextColor(FILE_SETTINGS.text.colorPrimary);
|
|
19590
19592
|
}
|
|
19591
19593
|
}
|
|
19592
|
-
PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19593
|
-
PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19594
|
+
PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19595
|
+
PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
|
|
19596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, decorators: [{
|
|
19595
19597
|
type: Injectable,
|
|
19596
19598
|
args: [{
|
|
19597
19599
|
providedIn: 'root'
|
|
@@ -19625,9 +19627,9 @@ class PdfFromDataTableService extends PdfFromTableService {
|
|
|
19625
19627
|
return pdf;
|
|
19626
19628
|
}
|
|
19627
19629
|
}
|
|
19628
|
-
PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19629
|
-
PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19630
|
+
PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19631
|
+
PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
|
|
19632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, decorators: [{
|
|
19631
19633
|
type: Injectable,
|
|
19632
19634
|
args: [{
|
|
19633
19635
|
providedIn: 'root'
|
|
@@ -19660,9 +19662,9 @@ class PdfFromHtmlTableService extends PdfFromTableService {
|
|
|
19660
19662
|
return pdf;
|
|
19661
19663
|
}
|
|
19662
19664
|
}
|
|
19663
|
-
PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19664
|
-
PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19665
|
+
PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
19666
|
+
PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
|
|
19667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
|
|
19666
19668
|
type: Injectable,
|
|
19667
19669
|
args: [{
|
|
19668
19670
|
providedIn: 'root'
|
|
@@ -19689,9 +19691,9 @@ class EquityPositionChartService {
|
|
|
19689
19691
|
}))));
|
|
19690
19692
|
}
|
|
19691
19693
|
}
|
|
19692
|
-
EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19693
|
-
EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19694
|
+
EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19695
|
+
EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
|
|
19696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, decorators: [{
|
|
19695
19697
|
type: Injectable,
|
|
19696
19698
|
args: [{
|
|
19697
19699
|
providedIn: 'root'
|
|
@@ -19846,9 +19848,9 @@ class PropertyCalculationService {
|
|
|
19846
19848
|
}
|
|
19847
19849
|
}
|
|
19848
19850
|
}
|
|
19849
|
-
PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19850
|
-
PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19851
|
+
PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19852
|
+
PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
|
|
19853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, decorators: [{
|
|
19852
19854
|
type: Injectable,
|
|
19853
19855
|
args: [{
|
|
19854
19856
|
providedIn: 'root'
|
|
@@ -19899,9 +19901,9 @@ class PropertyTransactionReportService {
|
|
|
19899
19901
|
.getWithoutBorrowingExpenses()));
|
|
19900
19902
|
}
|
|
19901
19903
|
}
|
|
19902
|
-
PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19903
|
-
PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19904
|
+
PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19905
|
+
PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
|
|
19906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
|
|
19905
19907
|
type: Injectable,
|
|
19906
19908
|
args: [{
|
|
19907
19909
|
providedIn: 'root'
|
|
@@ -19969,9 +19971,9 @@ class TransactionCalculationService {
|
|
|
19969
19971
|
return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
|
|
19970
19972
|
}
|
|
19971
19973
|
}
|
|
19972
|
-
TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
19973
|
-
TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
19974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
19974
|
+
TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19975
|
+
TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
|
|
19976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, decorators: [{
|
|
19975
19977
|
type: Injectable,
|
|
19976
19978
|
args: [{
|
|
19977
19979
|
providedIn: 'root'
|
|
@@ -20031,9 +20033,9 @@ class LogbookBestPeriodService {
|
|
|
20031
20033
|
});
|
|
20032
20034
|
}
|
|
20033
20035
|
}
|
|
20034
|
-
LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
20035
|
-
LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
20036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
20036
|
+
LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20037
|
+
LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
|
|
20038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
|
|
20037
20039
|
type: Injectable,
|
|
20038
20040
|
args: [{
|
|
20039
20041
|
providedIn: 'root'
|
|
@@ -20112,9 +20114,9 @@ class XlsxService {
|
|
|
20112
20114
|
FileSaver.saveAs(data, `${fileName}.xlsx`);
|
|
20113
20115
|
}
|
|
20114
20116
|
}
|
|
20115
|
-
XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
20116
|
-
XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
20117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
20117
|
+
XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20118
|
+
XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, providedIn: 'root' });
|
|
20119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, decorators: [{
|
|
20118
20120
|
type: Injectable,
|
|
20119
20121
|
args: [{
|
|
20120
20122
|
providedIn: 'root'
|