taxtank-core 0.33.51 → 0.33.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/esm2022/src/lib/collections/depreciation.collection.mjs +2 -2
  2. package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +2 -2
  3. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
  4. package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +2 -2
  5. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +4 -1
  6. package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +6 -6
  7. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  8. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +6 -6
  9. package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +3 -3
  10. package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +2 -2
  11. package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +2 -2
  12. package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +11 -11
  13. package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +3 -3
  14. package/esm2022/src/lib/forms/transaction/work/work-income.form.mjs +6 -4
  15. package/esm2022/src/lib/models/bank/allocation-group.mjs +2 -2
  16. package/esm2022/src/lib/models/bank/bank-account.mjs +1 -12
  17. package/esm2022/src/lib/models/bank/bank-transaction.mjs +3 -2
  18. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +2 -2
  19. package/esm2022/src/lib/models/transaction/allocation-rule.mjs +4 -4
  20. package/esm2022/src/lib/models/transaction/transaction.mjs +3 -4
  21. package/esm2022/src/lib/models/user/user.mjs +5 -5
  22. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +2 -2
  23. package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +3 -3
  24. package/fesm2022/taxtank-core.mjs +53 -59
  25. package/fesm2022/taxtank-core.mjs.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.d.ts +3 -0
  28. package/src/lib/db/Enums/tank-type.enum.d.ts +5 -5
  29. package/src/lib/db/Models/bank/bank-account.d.ts +2 -0
  30. package/src/lib/models/bank/bank-account.d.ts +0 -2
@@ -98,7 +98,7 @@ export class DepreciationCollection extends TransactionBaseCollection {
98
98
  // sole tank may have multiple vehicle claims, so we need to filter by business.id
99
99
  ? this.getVehicleDepreciations().filterBy('business.id', vehicleClaim.business.id)
100
100
  // work tank may have only one vehicle claim, so we need to filter by tank type
101
- : this.getVehicleDepreciations().filterBy('tankType', TankTypeEnum.WORK);
101
+ : this.getVehicleDepreciations().filterBy('tankType', TankTypeEnum.WORK_TANK);
102
102
  }
103
103
  getExportBody(params) {
104
104
  return [];
@@ -107,4 +107,4 @@ export class DepreciationCollection extends TransactionBaseCollection {
107
107
  return [];
108
108
  }
109
109
  }
110
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjaWF0aW9uLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvZGVwcmVjaWF0aW9uLmNvbGxlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBRTFELE9BQU8sTUFBTSxNQUFNLGVBQWUsQ0FBQztBQUNuQyxPQUFPLE9BQU8sTUFBTSxnQkFBZ0IsQ0FBQztBQUVyQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHdEQsT0FBTyxLQUFLLE1BQU0sY0FBYyxDQUFDO0FBQ2pDLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQU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IH1cblxuICAvKipcbiAgICogR2V0IGRlcHJlY2lhdGlvbnMgYnkgdmVoaWNsZSBjbGFpbS4gT25seSB2ZWhpY2xlIGRlcHJlY2lhdGlvbnMgbWF5IGJlIHJlbGF0ZWQgdG8gdmVoaWNsZSBjbGFpbVxuICAgKi9cbiAgZ2V0QnlWZWhpY2xlQ2xhaW0odmVoaWNsZUNsYWltOiBWZWhpY2xlQ2xhaW0pOiB0aGlzIHtcbiAgICByZXR1cm4gdmVoaWNsZUNsYWltLmlzU29sZVRhbmsoKVxuICAgICAgLy8gc29sZSB0YW5rIG1heSBoYXZlIG11bHRpcGxlIHZlaGljbGUgY2xhaW1zLCBzbyB3ZSBuZWVkIHRvIGZpbHRlciBieSBidXNpbmVzcy5pZFxuICAgICAgPyB0aGlzLmdldFZlaGljbGVEZXByZWNpYXRpb25zKCkuZmlsdGVyQnkoJ2J1c2luZXNzLmlkJywgdmVoaWNsZUNsYWltLmJ1c2luZXNzLmlkKVxuICAgICAgLy8gd29yayB0YW5rIG1heSBoYXZlIG9ubHkgb25lIHZlaGljbGUgY2xhaW0sIHNvIHdlIG5lZWQgdG8gZmlsdGVyIGJ5IHRhbmsgdHlwZVxuICAgICAgOiB0aGlzLmdldFZlaGljbGVEZXByZWNpYXRpb25zKCkuZmlsdGVyQnkoJ3RhbmtUeXBlJywgVGFua1R5cGVFbnVtLldPUktfVEFOSyk7XG4gIH1cblxuICBnZXRFeHBvcnRCb2R5KHBhcmFtczogb2JqZWN0KTogRXhwb3J0Q2VsbFtdW10ge1xuICAgIHJldHVybiBbXTtcbiAgfVxuXG4gIGdldEV4cG9ydEhlYWRlcigpOiBzdHJpbmdbXSB7XG4gICAgcmV0dXJuIFtdO1xuICB9XG59XG4iXX0=
@@ -7,7 +7,7 @@ export class IncomeSourceCollection extends Collection {
7
7
  filterByTank(tank) {
8
8
  return this.items.filter((incomeSource) => {
9
9
  switch (tank) {
10
- case TankTypeEnum.OTHER:
10
+ case TankTypeEnum.OTHER_TANK:
11
11
  return incomeSource.isOtherIncome();
12
12
  default:
13
13
  return incomeSource.isWorkIncome();
@@ -40,4 +40,4 @@ export class IncomeSourceCollection extends Collection {
40
40
  return this.items.map((incomeSource) => incomeSource.incomeSourceForecasts).flat();
41
41
  }
42
42
  }
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5jb21lLXNvdXJjZS5jb2xsZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2NvbGxlY3Rpb25zL2luY29tZS1zb3VyY2UvaW5jb21lLXNvdXJjZS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBSTdEOztHQUVHO0FBQ0gsTUFBTSxPQUFPLHNCQUF1QixTQUFRLFVBQXdCO0lBQ2xFLFlBQVksQ0FBQyxJQUFrQjtRQUM3QixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsWUFBMEIsRUFBRSxFQUFFO1lBQ3RELFFBQVEsSUFBSSxFQUFFO2dCQUNaLEtBQUssWUFBWSxDQUFDLEtBQUs7b0JBQ3JCLE9BQU8sWUFBWSxDQUFDLGFBQWEsRUFBRSxDQUFDO2dCQUN0QztvQkFDRSxPQUFPLFlBQVksQ0FBQyxZQUFZLEVBQUUsQ0FBQzthQUN0QztRQUNILENBQUMsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztJQUVEOzs7T0FHRztJQUNILGFBQWEsQ0FBQyxLQUE2QjtRQUN6QyxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsWUFBMEIsRU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pdGVtcy5tYXAoKGluY29tZVNvdXJjZTogSW5jb21lU291cmNlKSA9PiBpbmNvbWVTb3VyY2UuaW5jb21lU291cmNlRm9yZWNhc3RzKS5mbGF0KCk7XG4gIH1cbn1cbiJdfQ==
@@ -114,7 +114,7 @@ export class TransactionCollection extends TransactionBaseCollection {
114
114
  * Get new collection of property transactions
115
115
  */
116
116
  getPropertyTransactions() {
117
- return this.filterBy('tankType', TankTypeEnum.PROPERTY);
117
+ return this.filterBy('tankType', TankTypeEnum.PROPERTY_TANK);
118
118
  }
119
119
  getDebitTransactions() {
120
120
  return new TransactionCollection(this.items.filter((transaction) => transaction.isDebit()));
@@ -183,7 +183,7 @@ export class TransactionCollection extends TransactionBaseCollection {
183
183
  // sole tank may have multiple vehicle claims, so we need to filter by business.id
184
184
  ? this.getVehicleTransactions().filterBy('business.id', vehicleClaim.business.id)
185
185
  // work tank may have only one vehicle claim, so we need to filter by tank type
186
- : this.getVehicleTransactions().filterBy('tankType', TankTypeEnum.WORK);
186
+ : this.getVehicleTransactions().filterBy('tankType', TankTypeEnum.WORK_TANK);
187
187
  }
188
188
  /**
189
189
  * Get list of vehicle transactions except KMS transactions
@@ -231,4 +231,4 @@ export class TransactionCollection extends TransactionBaseCollection {
231
231
  return this.filter(transaction => transaction.claimPercent > 0);
232
232
  }
233
233
  }
234
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy90cmFuc2FjdGlvbi90cmFuc2FjdGlvbi5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx5QkFBeUIsRUFDekIsVUFBVSxFQUlYLE1BQU0sY0FB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29uc3QgdHJhbnNhY3Rpb25zID0gYnVzaW5lc3NJZCA/IHRoaXMuZmlsdGVyQnkoJ2J1c2luZXNzLmlkJywgYnVzaW5lc3NJZCkgOiB0aGlzO1xuICAgIGNvbnN0IGV4cGVuc2VzID0gdHJhbnNhY3Rpb25zLmdldEV4cGVuc2VUcmFuc2FjdGlvbnMoKTtcbiAgICBjb25zdCBpbmNvbWVzID0gdHJhbnNhY3Rpb25zLmdldEluY29tZVRyYW5zYWN0aW9ucygpO1xuXG4gICAgcmV0dXJuIGluY29tZXMuc3VtQnkoJ2NsYWltQW1vdW50JykgKyBleHBlbnNlcy5zdW1CeSgnY2xhaW1BbW91bnQnKTtcbiAgfVxuXG4gIGdldFRheGFibGUoKTogdGhpcyB7XG4gICAgcmV0dXJuIHRoaXMuZmlsdGVyKHRyYW5zYWN0aW9uID0+IHRyYW5zYWN0aW9uLmNsYWltUGVyY2VudCA+IDApO1xuICB9XG59XG4iXX0=
@@ -22,7 +22,7 @@ export class VehicleLogbookCollection extends Collection {
22
22
  // sole tank may have multiple vehicle claims, so we need to filter by business.id
23
23
  ? this.filterBy('business.id', vehicleClaim.business.id)
24
24
  // work tank may have only one vehicle claim, so we need to filter by tank type
25
- : this.filterBy('tankType', TankTypeEnum.WORK);
25
+ : this.filterBy('tankType', TankTypeEnum.WORK_TANK);
26
26
  }
27
27
  /**
28
28
  * get collection of logbooks with the biggest work usage for {@link BestVehicleLogbookCollection.periodDuration}
@@ -40,4 +40,4 @@ export class VehicleLogbookCollection extends Collection {
40
40
  return this.items[1];
41
41
  }
42
42
  }
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1sb2dib29rLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvdmVoaWNsZS92ZWhp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cbiAgfVxuXG4gIGdldCBsYXN0KCk6IFZlaGljbGVMb2dib29rIHtcbiAgICByZXR1cm4gc3VwZXIuZmlyc3Q7XG4gIH1cblxuICBnZXQgcHJlTGFzdCgpOiBWZWhpY2xlTG9nYm9vayB7XG4gICAgcmV0dXJuIHRoaXMuaXRlbXNbMV07XG4gIH1cbn1cbiJdfQ==
@@ -1,3 +1,6 @@
1
+ /**
2
+ * list of child transactions included in parent amount
3
+ */
1
4
  export var ChartAccountsAdjustmentIncludedListEnum;
2
5
  (function (ChartAccountsAdjustmentIncludedListEnum) {
3
6
  ChartAccountsAdjustmentIncludedListEnum[ChartAccountsAdjustmentIncludedListEnum["ALLOWANCE"] = 4] = "ALLOWANCE";
@@ -13,4 +16,4 @@ export var ChartAccountsAdjustmentIncludedListEnum;
13
16
  ChartAccountsAdjustmentIncludedListEnum[ChartAccountsAdjustmentIncludedListEnum["FUNDS_OVER_ADJUSTMENT"] = 906] = "FUNDS_OVER_ADJUSTMENT";
14
17
  ChartAccountsAdjustmentIncludedListEnum[ChartAccountsAdjustmentIncludedListEnum["LANDLORD_REIMBURSEMENT"] = 908] = "LANDLORD_REIMBURSEMENT";
15
18
  })(ChartAccountsAdjustmentIncludedListEnum || (ChartAccountsAdjustmentIncludedListEnum = {}));
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMtYWRqdXN0bWVudC1pbmNsdWRlZC1saXN0LmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvY2hhcnQtYWNjb3VudHMvY2hhcnQtYWNjb3VudHMtYWRqdXN0bWVudC1pbmNsdWRlZC1saXN0LmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksdUNBYVg7QUFi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wNixcbiAgTEFORExPUkRfUkVJTUJVUlNFTUVOVCA9IDkwOFxufVxuIl19
@@ -1,10 +1,10 @@
1
1
  export var TankTypeEnum;
2
2
  (function (TankTypeEnum) {
3
- TankTypeEnum[TankTypeEnum["PROPERTY"] = 1] = "PROPERTY";
4
- TankTypeEnum[TankTypeEnum["WORK"] = 2] = "WORK";
5
- TankTypeEnum[TankTypeEnum["OTHER"] = 3] = "OTHER";
6
- TankTypeEnum[TankTypeEnum["SOLE"] = 4] = "SOLE";
7
- TankTypeEnum[TankTypeEnum["HOLDING"] = 5] = "HOLDING";
3
+ TankTypeEnum[TankTypeEnum["PROPERTY_TANK"] = 1] = "PROPERTY_TANK";
4
+ TankTypeEnum[TankTypeEnum["WORK_TANK"] = 2] = "WORK_TANK";
5
+ TankTypeEnum[TankTypeEnum["OTHER_TANK"] = 3] = "OTHER_TANK";
6
+ TankTypeEnum[TankTypeEnum["SOLE_TANK"] = 4] = "SOLE_TANK";
7
+ TankTypeEnum[TankTypeEnum["HOLDING_TANK"] = 5] = "HOLDING_TANK";
8
8
  TankTypeEnum[TankTypeEnum["PERSONAL"] = 6] = "PERSONAL";
9
9
  })(TankTypeEnum || (TankTypeEnum = {}));
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFuay10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvdGFuay10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFPWDtBQVBELFdBQVksWUFBWTtJQUN0Qix1REFBWSxDQUFBO0lBQ1osK0NBQVEsQ0FBQTtJQUNSLGlEQUFTLENBQUE7SUFDVCwrQ0FBUSxDQUFBO0lBQ1IscURBQVcsQ0FBQTtJQUNYLHVEQUFZLENBQUE7QUFDZCxDQUFDLEVBUFcsWUFBWSxLQUFaLFlBQVksUUFPdkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBUYW5rVHlwZUVudW0ge1xuICBQUk9QRVJUWSA9IDEsXG4gIFdPUksgPSAyLFxuICBPVEhFUiA9IDMsXG4gIFNPTEUgPSA0LFxuICBIT0xESU5HID0gNSxcbiAgUEVSU09OQUwgPSA2LFxufVxuIl19
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFuay10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvdGFuay10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFPWDtBQVBELFdBQVksWUFBWTtJQUN0QixpRUFBaUIsQ0FBQTtJQUNqQix5REFBYSxDQUFBO0lBQ2IsMkRBQWMsQ0FBQTtJQUNkLHlEQUFhLENBQUE7SUFDYiwrREFBZ0IsQ0FBQTtJQUNoQix1REFBWSxDQUFBO0FBQ2QsQ0FBQyxFQVBXLFlBQVksS0FBWixZQUFZLFFBT3ZCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gVGFua1R5cGVFbnVtIHtcbiAgUFJPUEVSVFlfVEFOSyA9IDEsXG4gIFdPUktfVEFOSyA9IDIsXG4gIE9USEVSX1RBTksgPSAzLFxuICBTT0xFX1RBTksgPSA0LFxuICBIT0xESU5HX1RBTksgPSA1LFxuICBQRVJTT05BTCA9IDYsXG59XG4iXX0=
@@ -7,4 +7,4 @@ export class BankAccount extends ObservableModel {
7
7
  __decorate([
8
8
  Type(() => Number)
9
9
  ], BankAccount.prototype, "currentBalance", void 0);
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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BCYW5rQ29ubmVjdGlvbjtcbiAgYmFua0FjY291bnRQcm9wZXJ0aWVzPzogQmFua0FjY291bnRQcm9wZXJ0eVtdO1xuICBidXNpbmVzc0FsbG9jYXRpb25zPzogU29sZUJ1c2luZXNzQWxsb2NhdGlvbltdO1xuICBiYW5rVHJhbnNhY3Rpb25zPzogQmFua1RyYW5zYWN0aW9uW107XG4gIGJhbGFuY2VzPzogQmFua0FjY291bnRCYWxhbmNlW107XG4gIGxvYW4/OiBMb2FuO1xufVxuIl19
@@ -13,15 +13,15 @@ export class TransactionBase extends ObservableModel {
13
13
  get tankType() {
14
14
  switch (true) {
15
15
  case this.isPropertyTank():
16
- return TankTypeEnum.PROPERTY;
16
+ return TankTypeEnum.PROPERTY_TANK;
17
17
  case this.isWorkTank():
18
- return TankTypeEnum.WORK;
18
+ return TankTypeEnum.WORK_TANK;
19
19
  case this.isSoleTank():
20
- return TankTypeEnum.SOLE;
20
+ return TankTypeEnum.SOLE_TANK;
21
21
  case this.isHoldingTank():
22
- return TankTypeEnum.HOLDING;
22
+ return TankTypeEnum.HOLDING_TANK;
23
23
  case this.isOtherTank():
24
- return TankTypeEnum.OTHER;
24
+ return TankTypeEnum.OTHER_TANK;
25
25
  default:
26
26
  return TankTypeEnum.PERSONAL;
27
27
  }
@@ -85,4 +85,4 @@ __decorate([
85
85
  __decorate([
86
86
  Exclude()
87
87
  ], TransactionBase.prototype, "gstClaimAmount", null);
88
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9Nb2RlbHMvdHJhbnNhY3Rpb24vdHJhbnNhY3Rpb24tYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBRUEsT0FBTyxFQ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bstractForm {
28
28
  this.removeControl('bankAccountProperties');
29
29
  this.removeControl('businessAllocations');
30
30
  switch (tankType) {
31
- case TankTypeEnum.PROPERTY:
31
+ case TankTypeEnum.PROPERTY_TANK:
32
32
  this.addControl('bankAccountProperties', new BankAccountPropertiesForm(this.bankAccount?.bankAccountProperties));
33
33
  break;
34
- case TankTypeEnum.SOLE:
34
+ case TankTypeEnum.SOLE_TANK:
35
35
  this.addControl('businessAllocations', new SoleBusinessAllocationsForm(this.bankAccount?.businessAllocations));
36
36
  break;
37
37
  }
@@ -42,4 +42,4 @@ export class BankAccountAllocationForm extends AbstractForm {
42
42
  return super.submit(Object.assign(data, { bankAccountProperties: [], businessAllocations: [] }, this.value));
43
43
  }
44
44
  }
45
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1hY2NvdW50LWFsbG9jYXRpb24uZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9iYW5rL2JhbmstYWNjb3VudC9iYW5rLWFjY291bnQtYWxsb2NhdGlvbi5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDOUMsT0FBTyxFQUFtQixrQkFBa0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNqRixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDakQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ2hFLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLGdDQU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-15,7 +15,7 @@ export class BankAccountPropertiesForm extends UntypedFormArray {
15
15
  property: new UntypedFormControl(bankAccountProperty?.property, Validators.required),
16
16
  percent: new UntypedFormControl(bankAccountProperty.percent, Validators.required)
17
17
  })), [
18
- conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.PROPERTY, Validators.required),
18
+ conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.PROPERTY_TANK, Validators.required),
19
19
  fieldsSumValidator('percent', 100)
20
20
  ]);
21
21
  }
@@ -61,4 +61,4 @@ export class BankAccountPropertiesForm extends UntypedFormArray {
61
61
  return currentTotalPercent < 100 ? 100 - currentTotalPercent : 0;
62
62
  }
63
63
  }
64
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1hY2NvdW50LXByb3BlcnRpZXMuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9iYW5rL2JhbmstYWNjb3VudC9iYW5rLWFjY291bnQtcHJvcGVydGllcy5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBbUIsZ0JBQWdCLEVBQUUsa0JBQWtCLEVBQUUsZ0JBQWdCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDckgsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sNENBQTRDLENBQUM7QUFDakYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUNoRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFB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EwMCA/IDEwMCAtIGN1cnJlbnRUb3RhbFBlcmNlbnQgOiAwO1xuICB9XG59XG4iXX0=
@@ -15,7 +15,7 @@ export class SoleBusinessAllocationsForm extends UntypedFormArray {
15
15
  business: new UntypedFormControl(businessAllocation?.business, Validators.required),
16
16
  percent: new UntypedFormControl(businessAllocation.percent, Validators.required)
17
17
  })), [
18
- conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.SOLE, Validators.required),
18
+ conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.SOLE_TANK, Validators.required),
19
19
  fieldsSumValidator('percent', 100)
20
20
  ]);
21
21
  }
@@ -61,4 +61,4 @@ export class SoleBusinessAllocationsForm extends UntypedFormArray {
61
61
  return currentTotalPercent < 100 ? 100 - currentTotalPercent : 0;
62
62
  }
63
63
  }
64
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy1hbGxvY2F0aW9ucy5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL3NvbGUvc29sZS1idXNpbmVzcy1hbGxvY2F0aW9ucy5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBbUIsZ0JBQWdCLEVBQUUsa0JBQWtCLEVBQUUsZ0JBQWdCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDckgsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUN0RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDN0QsT0FBTyxFQUFFLG9CQUFvQixFQUFFLGtCQUFrQixFQUFFLE1BQU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