taxtank-core 0.7.3 → 0.8.0
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/bundles/taxtank-core.umd.js +138 -147
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/property/property.collection.js +2 -5
- package/esm2015/lib/db/Enums/property/property-share-access.enum.js +6 -0
- package/esm2015/lib/db/Enums/property/property-share-status.enum.js +7 -0
- package/esm2015/lib/db/Enums/user-event-type-client-type.enum.js +9 -9
- package/esm2015/lib/db/Models/property/property-sale/property-sale.js +1 -1
- package/esm2015/lib/db/Models/property/property-share.js +3 -0
- package/esm2015/lib/db/Models/property/property.js +1 -1
- package/esm2015/lib/db/Models/user.js +1 -1
- package/esm2015/lib/models/endpoint/endpoints.const.js +4 -4
- package/esm2015/lib/models/event/app-event-type.enum.js +2 -2
- package/esm2015/lib/models/notification/notification.js +3 -3
- package/esm2015/lib/models/property/property-sale/property-sale.js +1 -1
- package/esm2015/lib/models/property/{property-owner.js → property-share.js} +15 -15
- package/esm2015/lib/models/property/property.js +9 -8
- package/esm2015/lib/models/property/share-filter-options.enum.js +11 -0
- package/esm2015/lib/services/bank/bank-account.service.js +2 -2
- package/esm2015/lib/services/depreciation/depreciation.service.js +2 -2
- package/esm2015/lib/services/property/property-share/property-share.service.js +115 -0
- package/esm2015/lib/services/property/property.service.js +6 -6
- package/esm2015/public-api.js +7 -6
- package/fesm2015/taxtank-core.js +109 -118
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/property/property.collection.d.ts +1 -4
- package/lib/db/Enums/property/property-share-access.enum.d.ts +4 -0
- package/lib/db/Enums/property/{property-owner-status.enum.d.ts → property-share-status.enum.d.ts} +1 -1
- package/lib/db/Enums/user-event-type-client-type.enum.d.ts +8 -8
- package/lib/db/Models/property/property-sale/property-sale.d.ts +4 -3
- package/lib/db/Models/property/{property-owner.d.ts → property-share.d.ts} +6 -6
- package/lib/db/Models/property/property.d.ts +2 -2
- package/lib/db/Models/user.d.ts +2 -2
- package/lib/models/event/app-event-type.enum.d.ts +1 -1
- package/lib/models/property/{property-owner.d.ts → property-share.d.ts} +3 -3
- package/lib/models/property/property.d.ts +6 -5
- package/lib/models/property/share-filter-options.enum.d.ts +9 -0
- package/lib/services/property/property-share/property-share.service.d.ts +44 -0
- package/lib/services/property/property.service.d.ts +3 -3
- package/package.json +1 -1
- package/public-api.d.ts +6 -5
- package/esm2015/lib/db/Enums/property/property-owner-access.enum.js +0 -6
- package/esm2015/lib/db/Enums/property/property-owner-status.enum.js +0 -7
- package/esm2015/lib/db/Models/property/property-owner.js +0 -3
- package/esm2015/lib/models/property/ownership-filter-options.enum.js +0 -10
- package/esm2015/lib/services/property/property-owner/property-owner.service.js +0 -123
- package/lib/db/Enums/property/property-owner-access.enum.d.ts +0 -4
- package/lib/models/property/ownership-filter-options.enum.d.ts +0 -8
- package/lib/services/property/property-owner/property-owner.service.d.ts +0 -52
package/fesm2015/taxtank-core.js
CHANGED
|
@@ -522,9 +522,9 @@ const ENDPOINTS = {
|
|
|
522
522
|
PROPERTIES_CATEGORIES_POST: new Endpoint('POST', '\\/properties\\/categories'),
|
|
523
523
|
PROPERTIES_CATEGORY_MOVEMENTS_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/category-movements'),
|
|
524
524
|
PROPERTIES_CATEGORY_MOVEMENTS_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/category-movements\\/\\d+'),
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
525
|
+
PROPERTIES_SHARES_PUT: new Endpoint('PUT', '\\/properties\\/shares\\/\\d+'),
|
|
526
|
+
PROPERTIES_SHARES_GET: new Endpoint('GET', '\\/properties\\/shares'),
|
|
527
|
+
PROPERTIES_SHARES_POST: new Endpoint('POST', '\\/properties\\/shares'),
|
|
528
528
|
PROPERTIES_DEACTIVATE_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/deactivate'),
|
|
529
529
|
PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_GET: new Endpoint('GET', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
|
|
530
530
|
PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
|
|
@@ -1734,10 +1734,7 @@ class PropertyCollection extends Collection {
|
|
|
1734
1734
|
getActiveProperties() {
|
|
1735
1735
|
return new PropertyCollection(this.items.filter((property) => property.isActive));
|
|
1736
1736
|
}
|
|
1737
|
-
|
|
1738
|
-
* Get new property collection filtered by owner
|
|
1739
|
-
*/
|
|
1740
|
-
getOwnProperties() {
|
|
1737
|
+
getCreatedProperties() {
|
|
1741
1738
|
return new PropertyCollection(this.items.filter((property) => property.isOwn()));
|
|
1742
1739
|
}
|
|
1743
1740
|
/**
|
|
@@ -2499,18 +2496,18 @@ var PropertyDepreciationCalculationEnum;
|
|
|
2499
2496
|
PropertyDepreciationCalculationEnum[PropertyDepreciationCalculationEnum["DIMINISHING"] = 2] = "DIMINISHING";
|
|
2500
2497
|
})(PropertyDepreciationCalculationEnum || (PropertyDepreciationCalculationEnum = {}));
|
|
2501
2498
|
|
|
2502
|
-
var
|
|
2503
|
-
(function (
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
})(
|
|
2499
|
+
var PropertyShareAccessEnum;
|
|
2500
|
+
(function (PropertyShareAccessEnum) {
|
|
2501
|
+
PropertyShareAccessEnum[PropertyShareAccessEnum["VIEW"] = 1] = "VIEW";
|
|
2502
|
+
PropertyShareAccessEnum[PropertyShareAccessEnum["EDIT"] = 2] = "EDIT";
|
|
2503
|
+
})(PropertyShareAccessEnum || (PropertyShareAccessEnum = {}));
|
|
2507
2504
|
|
|
2508
|
-
var
|
|
2509
|
-
(function (
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
})(
|
|
2505
|
+
var PropertyShareStatusEnum;
|
|
2506
|
+
(function (PropertyShareStatusEnum) {
|
|
2507
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["PENDING"] = 1] = "PENDING";
|
|
2508
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["APPROVED"] = 2] = "APPROVED";
|
|
2509
|
+
PropertyShareStatusEnum[PropertyShareStatusEnum["REJECTED"] = 3] = "REJECTED";
|
|
2510
|
+
})(PropertyShareStatusEnum || (PropertyShareStatusEnum = {}));
|
|
2514
2511
|
|
|
2515
2512
|
var RegistrationInviteStatusEnum;
|
|
2516
2513
|
(function (RegistrationInviteStatusEnum) {
|
|
@@ -2733,14 +2730,14 @@ var UserEventTypeClientTypeEnum;
|
|
|
2733
2730
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_ACCEPTED"] = 2012] = "FIRM_INVITE_ACCEPTED";
|
|
2734
2731
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REJECTED"] = 2013] = "FIRM_INVITE_REJECTED";
|
|
2735
2732
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REGISTERED"] = 2014] = "FIRM_INVITE_REGISTERED";
|
|
2736
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2737
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2738
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2739
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2740
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2741
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2742
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2743
|
-
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["
|
|
2733
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE"] = 2020] = "PROPERTY_SHARE_INVITE";
|
|
2734
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_TO_REGISTER"] = 2021] = "PROPERTY_SHARE_INVITE_TO_REGISTER";
|
|
2735
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_ACCEPTED"] = 2022] = "PROPERTY_SHARE_INVITE_ACCEPTED";
|
|
2736
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REJECTED"] = 2023] = "PROPERTY_SHARE_INVITE_REJECTED";
|
|
2737
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REGISTERED"] = 2024] = "PROPERTY_SHARE_INVITE_REGISTERED";
|
|
2738
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REQUESTED"] = 2025] = "PROPERTY_SHARE_CHANGE_REQUESTED";
|
|
2739
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_ACCEPTED"] = 2026] = "PROPERTY_SHARE_CHANGE_ACCEPTED";
|
|
2740
|
+
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REJECTED"] = 2027] = "PROPERTY_SHARE_CHANGE_REJECTED";
|
|
2744
2741
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_NEW_ACCOUNTS"] = 2030] = "BASIQ_NEW_ACCOUNTS";
|
|
2745
2742
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_FIRST_IMPORT_COMPLETE"] = 2031] = "BASIQ_FIRST_IMPORT_COMPLETE";
|
|
2746
2743
|
UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_AUTHORIZATION_FAIL"] = 2032] = "BASIQ_AUTHORIZATION_FAIL";
|
|
@@ -2815,6 +2812,18 @@ var VehicleLogbookPurposeEnum;
|
|
|
2815
2812
|
VehicleLogbookPurposeEnum[VehicleLogbookPurposeEnum["PERSONAL"] = 2] = "PERSONAL";
|
|
2816
2813
|
})(VehicleLogbookPurposeEnum || (VehicleLogbookPurposeEnum = {}));
|
|
2817
2814
|
|
|
2815
|
+
var TaxExemptionEnum;
|
|
2816
|
+
(function (TaxExemptionEnum) {
|
|
2817
|
+
TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
|
|
2818
|
+
// principle place of residence
|
|
2819
|
+
TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
|
|
2820
|
+
TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
|
|
2821
|
+
TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
|
|
2822
|
+
TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
|
|
2823
|
+
TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
|
|
2824
|
+
TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
|
|
2825
|
+
})(TaxExemptionEnum || (TaxExemptionEnum = {}));
|
|
2826
|
+
|
|
2818
2827
|
var TaxExemptionMetadataEnum;
|
|
2819
2828
|
(function (TaxExemptionMetadataEnum) {
|
|
2820
2829
|
// principle place of residence
|
|
@@ -3470,18 +3479,6 @@ __decorate([
|
|
|
3470
3479
|
Type(() => Date)
|
|
3471
3480
|
], PropertyCategoryMovement.prototype, "toDate", void 0);
|
|
3472
3481
|
|
|
3473
|
-
var TaxExemptionEnum;
|
|
3474
|
-
(function (TaxExemptionEnum) {
|
|
3475
|
-
TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
|
|
3476
|
-
// principle place of residence
|
|
3477
|
-
TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
|
|
3478
|
-
TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
|
|
3479
|
-
TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
|
|
3480
|
-
TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
|
|
3481
|
-
TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
|
|
3482
|
-
TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
|
|
3483
|
-
})(TaxExemptionEnum || (TaxExemptionEnum = {}));
|
|
3484
|
-
|
|
3485
3482
|
var PropertyCategoryListEnum;
|
|
3486
3483
|
(function (PropertyCategoryListEnum) {
|
|
3487
3484
|
PropertyCategoryListEnum[PropertyCategoryListEnum["OWNER_OCCUPIED"] = 3] = "OWNER_OCCUPIED";
|
|
@@ -3561,21 +3558,21 @@ class Property extends Property$1 {
|
|
|
3561
3558
|
return (this.marketValue - this.purchasePrice) / this.marketValue;
|
|
3562
3559
|
}
|
|
3563
3560
|
get myShare() {
|
|
3564
|
-
return this.
|
|
3561
|
+
return this.shares.find((share) => share.user.id === +localStorage.getItem('userId'));
|
|
3565
3562
|
}
|
|
3566
3563
|
/**
|
|
3567
|
-
* exact claim
|
|
3564
|
+
* exact claim including share percent
|
|
3568
3565
|
*/
|
|
3569
|
-
get
|
|
3570
|
-
return this.
|
|
3566
|
+
get shareClaimPercent() {
|
|
3567
|
+
return this.sharePercent * this.claimPercent / 100;
|
|
3571
3568
|
}
|
|
3572
3569
|
get actualValuation() {
|
|
3573
3570
|
return this.valuations.reduce((maxDateValuation, valuation) => {
|
|
3574
3571
|
return maxDateValuation.date > valuation.date ? maxDateValuation : valuation;
|
|
3575
3572
|
}, this.valuations[0]);
|
|
3576
3573
|
}
|
|
3577
|
-
get
|
|
3578
|
-
return this.myShare.
|
|
3574
|
+
get sharePercent() {
|
|
3575
|
+
return this.myShare.percent;
|
|
3579
3576
|
}
|
|
3580
3577
|
get previousCategory() {
|
|
3581
3578
|
let previousCategory;
|
|
@@ -3593,9 +3590,10 @@ class Property extends Property$1 {
|
|
|
3593
3590
|
return this.forecasts.find((forecast) => forecast.financialYear === year);
|
|
3594
3591
|
}
|
|
3595
3592
|
get isShared() {
|
|
3596
|
-
return this.
|
|
3593
|
+
return this.shares.length > 1;
|
|
3597
3594
|
}
|
|
3598
3595
|
/**
|
|
3596
|
+
* @TODO consider to move methods related with propertySale to separated class, since used just in one module yet
|
|
3599
3597
|
* purchase costs - claimed costs, except `ppr to investment` exemption,
|
|
3600
3598
|
* in that case it's equal to market value, when property became an investment property
|
|
3601
3599
|
*/
|
|
@@ -5416,7 +5414,7 @@ var AppEventTypeEnum;
|
|
|
5416
5414
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_CREATED"] = 22] = "PROPERTY_MOVEMENT_CREATED";
|
|
5417
5415
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_UPDATED"] = 23] = "PROPERTY_MOVEMENT_UPDATED";
|
|
5418
5416
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_DELETED"] = 24] = "PROPERTY_MOVEMENT_DELETED";
|
|
5419
|
-
AppEventTypeEnum[AppEventTypeEnum["
|
|
5417
|
+
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SHARE_UPDATED"] = 25] = "PROPERTY_SHARE_UPDATED";
|
|
5420
5418
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_ADDED"] = 26] = "PROPERTY_SUBSCRIPTION_ADDED";
|
|
5421
5419
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_DELETED"] = 27] = "PROPERTY_SUBSCRIPTION_DELETED";
|
|
5422
5420
|
AppEventTypeEnum[AppEventTypeEnum["PROPERTY_VALUATION_DOCUMENT_CREATED"] = 28] = "PROPERTY_VALUATION_DOCUMENT_CREATED";
|
|
@@ -5631,8 +5629,8 @@ __decorate([
|
|
|
5631
5629
|
// return '/client/bank-feeds';
|
|
5632
5630
|
// case NOTIFICATION_EVENT_TYPES.clientInvite.includes(obj.eventType):
|
|
5633
5631
|
// return '/client/users/invitations';
|
|
5634
|
-
// case NOTIFICATION_EVENT_TYPES.
|
|
5635
|
-
// return '/client/users/
|
|
5632
|
+
// case NOTIFICATION_EVENT_TYPES.propertyShare.includes(obj.eventType):
|
|
5633
|
+
// return '/client/users/shares';
|
|
5636
5634
|
// case NOTIFICATION_EVENT_TYPES.employeeInviteFromClient.includes(obj.eventType):
|
|
5637
5635
|
// return '/firm/clients/invites';
|
|
5638
5636
|
default:
|
|
@@ -5718,14 +5716,15 @@ const CAPITAL_COSTS_ITEMS = [
|
|
|
5718
5716
|
];
|
|
5719
5717
|
|
|
5720
5718
|
/**
|
|
5719
|
+
* @TODO used only on dashboard, move from tt-core
|
|
5721
5720
|
* Enum with properties ownership filter options
|
|
5722
5721
|
*/
|
|
5723
|
-
var
|
|
5724
|
-
(function (
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
})(
|
|
5722
|
+
var ShareFilterOptionsEnum;
|
|
5723
|
+
(function (ShareFilterOptionsEnum) {
|
|
5724
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["ALL"] = 1] = "ALL";
|
|
5725
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["CREATED"] = 2] = "CREATED";
|
|
5726
|
+
ShareFilterOptionsEnum[ShareFilterOptionsEnum["SHARED"] = 3] = "SHARED";
|
|
5727
|
+
})(ShareFilterOptionsEnum || (ShareFilterOptionsEnum = {}));
|
|
5729
5728
|
|
|
5730
5729
|
/**
|
|
5731
5730
|
* class contains equity information for passed financial year
|
|
@@ -5908,49 +5907,49 @@ class PropertyEquityChartData {
|
|
|
5908
5907
|
}
|
|
5909
5908
|
}
|
|
5910
5909
|
|
|
5911
|
-
class
|
|
5910
|
+
class PropertyShare$1 {
|
|
5912
5911
|
}
|
|
5913
5912
|
|
|
5914
|
-
class
|
|
5913
|
+
class PropertyShare extends PropertyShare$1 {
|
|
5915
5914
|
isAccepted() {
|
|
5916
|
-
return this.status ===
|
|
5915
|
+
return this.status === PropertyShareStatusEnum.APPROVED;
|
|
5917
5916
|
}
|
|
5918
5917
|
isPending() {
|
|
5919
|
-
return this.status ===
|
|
5918
|
+
return this.status === PropertyShareStatusEnum.PENDING;
|
|
5920
5919
|
}
|
|
5921
5920
|
isRejected() {
|
|
5922
|
-
return this.status ===
|
|
5921
|
+
return this.status === PropertyShareStatusEnum.REJECTED;
|
|
5923
5922
|
}
|
|
5924
5923
|
get statusName() {
|
|
5925
5924
|
var _a;
|
|
5926
|
-
return (_a =
|
|
5925
|
+
return (_a = PropertyShareStatusEnum[this.status]) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
5927
5926
|
}
|
|
5928
5927
|
/**
|
|
5929
5928
|
* Return full user name if user is already registered.
|
|
5930
5929
|
* Otherwise - return first name from invitation
|
|
5931
5930
|
*/
|
|
5932
|
-
get
|
|
5931
|
+
get userName() {
|
|
5933
5932
|
return this.user ? this.user.fullName : `${this.invite.firstName}`;
|
|
5934
5933
|
}
|
|
5935
5934
|
}
|
|
5936
5935
|
__decorate([
|
|
5937
5936
|
Type(() => Date)
|
|
5938
|
-
],
|
|
5937
|
+
], PropertyShare.prototype, "fromDate", void 0);
|
|
5939
5938
|
__decorate([
|
|
5940
5939
|
Type(() => Date)
|
|
5941
|
-
],
|
|
5940
|
+
], PropertyShare.prototype, "toDate", void 0);
|
|
5942
5941
|
__decorate([
|
|
5943
5942
|
Type(() => User)
|
|
5944
|
-
],
|
|
5943
|
+
], PropertyShare.prototype, "user", void 0);
|
|
5945
5944
|
__decorate([
|
|
5946
5945
|
Type(() => RegistrationInvite)
|
|
5947
|
-
],
|
|
5946
|
+
], PropertyShare.prototype, "invite", void 0);
|
|
5948
5947
|
__decorate([
|
|
5949
5948
|
Type(() => Property)
|
|
5950
|
-
],
|
|
5949
|
+
], PropertyShare.prototype, "property", void 0);
|
|
5951
5950
|
__decorate([
|
|
5952
5951
|
Transform(({ obj }) => obj.user ? obj.user.email : obj.invite.email)
|
|
5953
|
-
],
|
|
5952
|
+
], PropertyShare.prototype, "email", void 0);
|
|
5954
5953
|
|
|
5955
5954
|
class PropertySale$1 {
|
|
5956
5955
|
}
|
|
@@ -6745,7 +6744,7 @@ class BankAccountService extends BaseRestService {
|
|
|
6745
6744
|
*/
|
|
6746
6745
|
listenToEventDispatcherChanges() {
|
|
6747
6746
|
this.eventDispatcherService.on([
|
|
6748
|
-
AppEventTypeEnum.
|
|
6747
|
+
AppEventTypeEnum.PROPERTY_SHARE_UPDATED,
|
|
6749
6748
|
AppEventTypeEnum.LOAN_PAYOUT_UPDATED,
|
|
6750
6749
|
AppEventTypeEnum.BANK_CONNECTION_ADDED
|
|
6751
6750
|
]).subscribe(() => {
|
|
@@ -7865,7 +7864,7 @@ class DepreciationService extends BaseRestService {
|
|
|
7865
7864
|
* Listen to EventDispatcherService event related to updated bank loan
|
|
7866
7865
|
*/
|
|
7867
7866
|
listenToUpdatedLoan() {
|
|
7868
|
-
this.eventDispatcherService.on([AppEventTypeEnum.LOAN_UPDATED, AppEventTypeEnum.
|
|
7867
|
+
this.eventDispatcherService.on([AppEventTypeEnum.LOAN_UPDATED, AppEventTypeEnum.PROPERTY_SHARE_UPDATED]).subscribe(() => {
|
|
7869
7868
|
this.fetch().subscribe();
|
|
7870
7869
|
});
|
|
7871
7870
|
}
|
|
@@ -8854,16 +8853,16 @@ class PropertyService extends BaseRestService {
|
|
|
8854
8853
|
this.listenEvents();
|
|
8855
8854
|
}
|
|
8856
8855
|
listenEvents() {
|
|
8857
|
-
this.
|
|
8856
|
+
this.listenShareInviteAccepted();
|
|
8858
8857
|
this.listenServiceSubscriptionUpdated();
|
|
8859
8858
|
// @TODO Alex: consider to refactor property movements logic similar to client-movements
|
|
8860
8859
|
this.listenMovementsChanged();
|
|
8861
8860
|
}
|
|
8862
8861
|
/**
|
|
8863
|
-
* Update cache when
|
|
8862
|
+
* Update cache when share invitation accepted
|
|
8864
8863
|
*/
|
|
8865
|
-
|
|
8866
|
-
this.eventDispatcherService.on(AppEventTypeEnum.
|
|
8864
|
+
listenShareInviteAccepted() {
|
|
8865
|
+
this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(() => this.resetCache());
|
|
8867
8866
|
}
|
|
8868
8867
|
/**
|
|
8869
8868
|
* Update cache when user's service subscription is updated
|
|
@@ -8930,7 +8929,7 @@ class PropertyService extends BaseRestService {
|
|
|
8930
8929
|
this.updateCache();
|
|
8931
8930
|
}));
|
|
8932
8931
|
}
|
|
8933
|
-
|
|
8932
|
+
getByShareId(id) {
|
|
8934
8933
|
return this.get().pipe(map((properties) => {
|
|
8935
8934
|
return properties.filter((property) => property.user.id === id);
|
|
8936
8935
|
}));
|
|
@@ -9152,15 +9151,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
9152
9151
|
}] }]; } });
|
|
9153
9152
|
|
|
9154
9153
|
// @TODO check and improve logic during refactoring
|
|
9155
|
-
class
|
|
9154
|
+
class PropertyShareService extends BaseRestService {
|
|
9156
9155
|
constructor(http, eventDispatcherService, environment) {
|
|
9157
9156
|
super(http, eventDispatcherService, environment);
|
|
9158
9157
|
this.http = http;
|
|
9159
9158
|
this.eventDispatcherService = eventDispatcherService;
|
|
9160
9159
|
this.environment = environment;
|
|
9161
|
-
// api url parameter for properties
|
|
9162
|
-
this.url = 'properties/
|
|
9163
|
-
this.modelClass =
|
|
9160
|
+
// api url parameter for properties shares
|
|
9161
|
+
this.url = 'properties/shares';
|
|
9162
|
+
this.modelClass = PropertyShare;
|
|
9164
9163
|
this.listenEvents();
|
|
9165
9164
|
}
|
|
9166
9165
|
/**
|
|
@@ -9172,70 +9171,62 @@ class PropertyOwnerService extends BaseRestService {
|
|
|
9172
9171
|
/**
|
|
9173
9172
|
* Updated loan
|
|
9174
9173
|
*/
|
|
9175
|
-
update(
|
|
9176
|
-
return this.http.put(`${this.environment.apiV2}/${this.url}/${
|
|
9177
|
-
.pipe(map((
|
|
9178
|
-
const
|
|
9174
|
+
update(propertyShare) {
|
|
9175
|
+
return this.http.put(`${this.environment.apiV2}/${this.url}/${propertyShare.id}`, propertyShare)
|
|
9176
|
+
.pipe(map((updatedPropertyShareBase) => {
|
|
9177
|
+
const updatedPropertyShare = plainToClass(PropertyShare, updatedPropertyShareBase);
|
|
9179
9178
|
// if loan type is NOT vehicle - fire EventDispatcher event
|
|
9180
|
-
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.
|
|
9181
|
-
replace(this.cache,
|
|
9179
|
+
this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.PROPERTY_SHARE_UPDATED, null));
|
|
9180
|
+
replace(this.cache, updatedPropertyShare);
|
|
9182
9181
|
this.updateCache();
|
|
9183
|
-
return
|
|
9182
|
+
return updatedPropertyShare;
|
|
9184
9183
|
}));
|
|
9185
9184
|
}
|
|
9186
9185
|
/**
|
|
9187
|
-
* Re-invite property
|
|
9186
|
+
* Re-invite property share
|
|
9188
9187
|
* @param share user to share property
|
|
9189
9188
|
*/
|
|
9190
9189
|
reinvite(share) {
|
|
9191
9190
|
return this.http.post(`${this.environment.apiV2}/${this.url}/${share.id}/reinvite`, {});
|
|
9192
9191
|
}
|
|
9193
|
-
/**
|
|
9194
|
-
* Get incoming property owners list
|
|
9195
|
-
*/
|
|
9196
9192
|
getIncoming() {
|
|
9197
9193
|
return this.get()
|
|
9198
|
-
.pipe(map((
|
|
9199
|
-
const
|
|
9200
|
-
|
|
9194
|
+
.pipe(map((propertyShares) => {
|
|
9195
|
+
const propertySharesIncoming = [];
|
|
9196
|
+
propertyShares.forEach((propertyShare) => {
|
|
9201
9197
|
var _a;
|
|
9202
|
-
if (((_a =
|
|
9203
|
-
|
|
9198
|
+
if (((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId')) {
|
|
9199
|
+
propertySharesIncoming.push(propertyShare);
|
|
9204
9200
|
}
|
|
9205
9201
|
});
|
|
9206
|
-
return
|
|
9202
|
+
return propertySharesIncoming;
|
|
9207
9203
|
}));
|
|
9208
9204
|
}
|
|
9209
9205
|
/**
|
|
9210
|
-
* Get outcoming property
|
|
9206
|
+
* Get outcoming property shares list
|
|
9211
9207
|
*/
|
|
9212
9208
|
getOutcoming() {
|
|
9213
|
-
return this.get().pipe(map((
|
|
9214
|
-
return this.filterOutcoming(
|
|
9209
|
+
return this.get().pipe(map((propertyShares) => {
|
|
9210
|
+
return this.filterOutcoming(propertyShares);
|
|
9215
9211
|
}));
|
|
9216
9212
|
}
|
|
9217
9213
|
/**
|
|
9218
|
-
* Filter outcoming property
|
|
9219
|
-
* @param propertyOwners which should be filtered
|
|
9214
|
+
* Filter outcoming property shares
|
|
9220
9215
|
*/
|
|
9221
|
-
filterOutcoming(
|
|
9222
|
-
const
|
|
9223
|
-
|
|
9216
|
+
filterOutcoming(propertyShares) {
|
|
9217
|
+
const propertySharesOutcoming = [];
|
|
9218
|
+
propertyShares.forEach((propertyShare) => {
|
|
9224
9219
|
var _a;
|
|
9225
|
-
if (!((_a =
|
|
9226
|
-
|
|
9220
|
+
if (!((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
|
|
9221
|
+
propertySharesOutcoming.push(propertyShare);
|
|
9227
9222
|
}
|
|
9228
9223
|
});
|
|
9229
|
-
return
|
|
9224
|
+
return propertySharesOutcoming;
|
|
9230
9225
|
}
|
|
9231
|
-
/**
|
|
9232
|
-
* Get list of co-owners filtered by property id
|
|
9233
|
-
* @param propertyId
|
|
9234
|
-
*/
|
|
9235
9226
|
getByPropertyId(propertyId) {
|
|
9236
9227
|
return this.get()
|
|
9237
|
-
.pipe(map((
|
|
9238
|
-
return
|
|
9228
|
+
.pipe(map((propertyShares) => {
|
|
9229
|
+
return propertyShares.filter((propertyShare) => propertyShare.property.id === propertyId);
|
|
9239
9230
|
}));
|
|
9240
9231
|
}
|
|
9241
9232
|
/**
|
|
@@ -9244,16 +9235,16 @@ class PropertyOwnerService extends BaseRestService {
|
|
|
9244
9235
|
listenUserUpdated() {
|
|
9245
9236
|
this.eventDispatcherService.on(AppEventTypeEnum.USER_UPDATED)
|
|
9246
9237
|
.subscribe(() => {
|
|
9247
|
-
this.fetch().subscribe((
|
|
9248
|
-
this.cache =
|
|
9238
|
+
this.fetch().subscribe((propertyShares) => {
|
|
9239
|
+
this.cache = propertyShares;
|
|
9249
9240
|
this.updateCache();
|
|
9250
9241
|
});
|
|
9251
9242
|
});
|
|
9252
9243
|
}
|
|
9253
9244
|
}
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type:
|
|
9245
|
+
PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9246
|
+
PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
|
|
9247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, decorators: [{
|
|
9257
9248
|
type: Injectable,
|
|
9258
9249
|
args: [{
|
|
9259
9250
|
providedIn: 'root'
|
|
@@ -10764,5 +10755,5 @@ class ResetPasswordForm extends AbstractForm {
|
|
|
10764
10755
|
* Generated bundle index. Do not edit.
|
|
10765
10756
|
*/
|
|
10766
10757
|
|
|
10767
|
-
export { AbstractForm, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalProjectService, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DataTable, DataTableColumn, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpRateEnum, DepreciationReceipt, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookCollection, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, NotificationService, Occupation, OccupationService,
|
|
10758
|
+
export { AbstractForm, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalProjectService, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DataTable, DataTableColumn, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpRateEnum, DepreciationReceipt, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookCollection, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, NotificationService, Occupation, OccupationService, PasswordForm, PdfService, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceTypeEnum, ServiceProduct, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleForecast, SoleForecastService, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryItem, TaxReturnCategoryItemCollection, TaxReturnCategoryItemDetails, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionCalculationService, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, Vehicle, VehicleClaim, VehicleClaimMethodEnum, VehicleLogbook, VehicleLogbookPurposeEnum, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, WorkTankService, XlsxService, cloneDeep, compare, compareMatOptions, createDate, displayMatOptions, enumToList, getDocIcon, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
|
|
10768
10759
|
//# sourceMappingURL=taxtank-core.js.map
|