taxtank-core 0.33.5 → 0.33.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. package/esm2022/common/src/common.module.mjs +4 -4
  2. package/esm2022/common/src/interceptors/interceptors.module.mjs +4 -4
  3. package/esm2022/common/src/interceptors/jwt-interceptor.mjs +5 -5
  4. package/esm2022/common/src/services/auth/auth.service.mjs +5 -5
  5. package/esm2022/common/src/services/auth/jwt.service.mjs +3 -3
  6. package/esm2022/common/src/services/mixpanel.service.mjs +5 -5
  7. package/esm2022/src/lib/collections/collection-dictionary.mjs +12 -10
  8. package/esm2022/src/lib/collections/collection.mjs +5 -5
  9. package/esm2022/src/lib/collections/property/property.collection.mjs +2 -2
  10. package/esm2022/src/lib/core.module.mjs +4 -4
  11. package/esm2022/src/lib/forms/abstract.form.mjs +1 -1
  12. package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
  13. package/esm2022/src/lib/forms/firm/client-movement.form.mjs +4 -4
  14. package/esm2022/src/lib/forms/firm/employee-details.form.mjs +4 -4
  15. package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +4 -4
  16. package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +4 -4
  17. package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +5 -5
  18. package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +5 -5
  19. package/esm2022/src/lib/interceptors/interceptors.module.mjs +4 -4
  20. package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +4 -4
  21. package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +5 -5
  22. package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +5 -5
  23. package/esm2022/src/lib/models/depreciation/depreciation.mjs +1 -1
  24. package/esm2022/src/lib/models/financial-year/financial-year.mjs +1 -1
  25. package/esm2022/src/lib/models/report/index.mjs +3 -1
  26. package/esm2022/src/lib/models/report/report.interface.mjs +2 -0
  27. package/esm2022/src/lib/models/report/reports.const.mjs +73 -0
  28. package/esm2022/src/lib/models/service-subscription/service-subscription.mjs +2 -2
  29. package/esm2022/src/lib/models/sole/sole-invoice.mjs +1 -1
  30. package/esm2022/src/lib/models/transaction/transaction.mjs +1 -1
  31. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +1 -1
  32. package/esm2022/src/lib/pipes/app-currency.pipe.mjs +3 -3
  33. package/esm2022/src/lib/pipes/safe-url.pipe.mjs +4 -4
  34. package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +4 -4
  35. package/esm2022/src/lib/services/asset/assets.service.mjs +5 -5
  36. package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +3 -3
  37. package/esm2022/src/lib/services/data.service.mjs +3 -3
  38. package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +3 -3
  39. package/esm2022/src/lib/services/event/sse.service.mjs +5 -5
  40. package/esm2022/src/lib/services/export/export-formatter.service.mjs +4 -4
  41. package/esm2022/src/lib/services/firm/current-firm-branch.service.mjs +3 -3
  42. package/esm2022/src/lib/services/header-title/header-title.service.mjs +4 -4
  43. package/esm2022/src/lib/services/http/address/address.service.mjs +5 -5
  44. package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +5 -5
  45. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +5 -5
  46. package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +5 -5
  47. package/esm2022/src/lib/services/http/bank/bank.service.mjs +3 -3
  48. package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +3 -3
  49. package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +6 -6
  50. package/esm2022/src/lib/services/http/budget/budget.service.mjs +3 -3
  51. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
  52. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
  53. package/esm2022/src/lib/services/http/chat/chat.service.mjs +5 -5
  54. package/esm2022/src/lib/services/http/chat/message-document.service.mjs +5 -5
  55. package/esm2022/src/lib/services/http/chat/message.service.mjs +5 -5
  56. package/esm2022/src/lib/services/http/client/annual-client-details.service.mjs +3 -3
  57. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss.service.mjs +4 -4
  58. package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +3 -3
  59. package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +5 -5
  60. package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +3 -3
  61. package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +5 -5
  62. package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
  63. package/esm2022/src/lib/services/http/document/document.service.mjs +3 -3
  64. package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +6 -6
  65. package/esm2022/src/lib/services/http/file/file.service.mjs +3 -3
  66. package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +5 -5
  67. package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +5 -5
  68. package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +3 -3
  69. package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
  70. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch.service.mjs +4 -4
  71. package/esm2022/src/lib/services/http/firm/firm.service.mjs +5 -5
  72. package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +5 -5
  73. package/esm2022/src/lib/services/http/google/google.service.mjs +5 -5
  74. package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +4 -4
  75. package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +3 -3
  76. package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +3 -3
  77. package/esm2022/src/lib/services/http/holding/holding.service.mjs +5 -5
  78. package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +5 -5
  79. package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +5 -5
  80. package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +5 -5
  81. package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +5 -5
  82. package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +5 -5
  83. package/esm2022/src/lib/services/http/loan/loan.service.mjs +5 -5
  84. package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +5 -5
  85. package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +3 -3
  86. package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +3 -3
  87. package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +3 -3
  88. package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +3 -3
  89. package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
  90. package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +5 -5
  91. package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +3 -3
  92. package/esm2022/src/lib/services/http/property/property.service.mjs +5 -5
  93. package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +5 -5
  94. package/esm2022/src/lib/services/http/rest/rest.service.mjs +5 -5
  95. package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +5 -5
  96. package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +3 -3
  97. package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
  98. package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
  99. package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
  100. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
  101. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +5 -5
  102. package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
  103. package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +5 -5
  104. package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +5 -5
  105. package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +5 -5
  106. package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
  107. package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
  108. package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +5 -5
  109. package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
  110. package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
  111. package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +5 -5
  112. package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +5 -5
  113. package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +5 -5
  114. package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +5 -5
  115. package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
  116. package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +5 -5
  117. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +5 -5
  118. package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +5 -5
  119. package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
  120. package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
  121. package/esm2022/src/lib/services/http/user/user.service.mjs +5 -5
  122. package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
  123. package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +5 -5
  124. package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +5 -5
  125. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +3 -3
  126. package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +4 -4
  127. package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +6 -6
  128. package/esm2022/src/lib/services/intercom/intercom.service.mjs +5 -5
  129. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +4 -4
  130. package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +4 -4
  131. package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +4 -4
  132. package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +4 -4
  133. package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +4 -4
  134. package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
  135. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +4 -4
  136. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
  137. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
  138. package/esm2022/src/lib/services/preloader/preloader.service.mjs +4 -4
  139. package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +5 -5
  140. package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +5 -5
  141. package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
  142. package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +4 -4
  143. package/esm2022/src/lib/services/toast/toast.service.mjs +3 -3
  144. package/esm2022/src/lib/services/user/user-switcher.service.mjs +3 -3
  145. package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +3 -3
  146. package/esm2022/src/lib/validators/unique-email.validator.mjs +4 -4
  147. package/fesm2022/taxtank-core-common.mjs +26 -26
  148. package/fesm2022/taxtank-core.mjs +595 -522
  149. package/fesm2022/taxtank-core.mjs.map +1 -1
  150. package/package.json +1 -1
  151. package/src/lib/collections/collection-dictionary.d.ts +1 -1
  152. package/src/lib/collections/collection.d.ts +3 -4
  153. package/src/lib/models/report/index.d.ts +2 -0
  154. package/src/lib/models/report/report.interface.d.ts +7 -0
  155. package/src/lib/models/report/reports.const.d.ts +3 -0
@@ -133,7 +133,7 @@ export class ServiceSubscription extends ServiceSubscriptionBase {
133
133
  */
134
134
  applyPromoCode(promoCode) {
135
135
  this.promoCode = null;
136
- if (this.isAnnual() && !promoCode.isAnnualApplicable()) {
136
+ if (this.isAnnual() && !promoCode?.isAnnualApplicable()) {
137
137
  return false;
138
138
  }
139
139
  this.promoCode = promoCode;
@@ -158,4 +158,4 @@ __decorate([
158
158
  __decorate([
159
159
  Expose()
160
160
  ], ServiceSubscription.prototype, "promoCodeId", null);
161
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3NlcnZpY2Utc3Vic2NyaXB0aW9uL3NlcnZpY2Utc3Vic2NyaXB0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsbUJBQW1CLElBQUksdUJBQXVCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUNuSCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUN0RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDcEQsT0FBTyxFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSw4REFBOEQsQ0FBQztBQUM3RyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQU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nRpZXMgdG8gYnV5LFxuICAgKiBiYXNlZCBvbiB0aGUgcHJvcGVydHkgc2VydmljZSBwcm9kdWN0IGFuZCB0aGUgbnVtYmVyIG9mIHByb3BlcnRpZXMgdGhlIHVzZXIgaGFzXG4gICAqL1xuICBnZXRSZWNvbW1lbmRlZFByb3BlcnRpZXNRdHkocHJvcGVydHlJdGVtOiBTZXJ2aWNlU3Vic2NyaXB0aW9uSXRlbSwgcHJvcGVydGllc1F0eTogbnVtYmVyKTogbnVtYmVyIHtcbiAgICBjb25zdCBtaW46IG51bWJlciA9IHByb3BlcnR5SXRlbS5wcmljZS5wcm9kdWN0Lm1pblF0eTtcblxuICAgIHJldHVybiBNYXRoLm1heChtaW4sIHByb3BlcnRpZXNRdHkpO1xuICB9XG5cbiAgcHJvbW9Db2RlRW5kRGF0ZSgpOiBudW1iZXIge1xuICAgIHJldHVybiArbW9tZW50KHRoaXMuc3RhcnREYXRlKS5hZGQodGhpcy5wcm9tb0NvZGU/LmR1cmF0aW9uTW9udGhzLCAnbW9udGhzJyk7XG4gIH1cblxuICAvKipcbiAgICogYXBwbHkgcHJvbW9jb2RlIGlmIGFwcGxpY2FibGVcbiAgICovXG4gIGFwcGx5UHJvbW9Db2RlKHByb21vQ29kZTogU2VydmljZVByb21vQ29kZSk6IGJvb2xlYW4ge1xuICAgIHRoaXMucHJvbW9Db2RlID0gbnVsbDtcbiAgICBpZiAodGhpcy5pc0FubnVhbCgpICYmICFwcm9tb0NvZGUuaXNBbm51YWxBcHBsaWNhYmxlKCkpIHtcbiAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG5cbiAgICB0aGlzLnByb21vQ29kZSA9IHByb21vQ29kZTtcbiAgICByZXR1cm4gdHJ1ZTtcbiAgfVxufVxuIl19
161
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi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nREYXRlKS5hZGQodGhpcy5wcm9tb0NvZGU/LmR1cmF0aW9uTW9udGhzLCAnbW9udGhzJyk7XG4gIH1cblxuICAvKipcbiAgICogYXBwbHkgcHJvbW9jb2RlIGlmIGFwcGxpY2FibGVcbiAgICovXG4gIGFwcGx5UHJvbW9Db2RlKHByb21vQ29kZTogU2VydmljZVByb21vQ29kZSk6IGJvb2xlYW4ge1xuICAgIHRoaXMucHJvbW9Db2RlID0gbnVsbDtcbiAgICBpZiAodGhpcy5pc0FubnVhbCgpICYmICFwcm9tb0NvZGU/LmlzQW5udWFsQXBwbGljYWJsZSgpKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgdGhpcy5wcm9tb0NvZGUgPSBwcm9tb0NvZGU7XG4gICAgcmV0dXJuIHRydWU7XG4gIH1cbn1cbiJdfQ==
@@ -140,4 +140,4 @@ __decorate([
140
140
  __decorate([
141
141
  Type(() => BankAccount)
142
142
  ], SoleInvoice.prototype, "bankAccount", void 0);
143
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9zb2xlL3NvbGUtaW52b2ljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFdBQVcsSUFBSSxlQUFlLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUNuRixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQy9CLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdEQsT0FBTyxFQUFFLFdBQVcsRUFBRSx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9IGFtb3VudCA/IGFtb3VudCAvIHRoaXMuZ3Jvc3NQcmljZSA6IDE7XG5cbiAgICByZXR1cm4gdGhpcy5pdGVtcy5tYXAoKGl0ZW06IFNvbGVJbnZvaWNlSXRlbSkgPT4ge1xuICAgICAgY29uc3QgdHJhbnNhY3Rpb24gPSBwbGFpblRvQ2xhc3MoVHJhbnNhY3Rpb24sIGl0ZW0udG9UcmFuc2FjdGlvbigpKTtcbiAgICAgIHRyYW5zYWN0aW9uLmRhdGUgPSBkYXRlO1xuICAgICAgdHJhbnNhY3Rpb24uYW1vdW50ID0gaXRlbS5nZXRUb3RhbFByaWNlKHRoaXMudGF4VHlwZSkgKiBhbGxvY2F0aW9uQ29lZmZpY2llbnQ7XG5cbiAgICAgIHJldHVybiB0cmFuc2FjdGlvbjtcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -246,4 +246,4 @@ __decorate([
246
246
  __decorate([
247
247
  Transform(({ value }) => +value)
248
248
  ], Transaction.prototype, "tax", void 0);
249
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3RyYW5zYWN0aW9uL3RyYW5zYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsV0FBVyxJQUFJLGVBQWUsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHNDQUFzQyxDQUFDO0FBQzNFLE9BQU8sRUFDc0IscUJBQXFCLEVBQ2hELHFCQUFxQixFQUNyQiw4QkFBOEIsRUFBRSxrQ0FBa0MsR0FDbkUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN4QixPQUFPLEVBQUUsd0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BhZHZhbmNlIChuZWdhdGl2ZSBvciBwb3NpdGl2ZSBhbW91bnQpXG4gICAqL1xuICBpZ25vcmVTaWduKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhKHRoaXMuY2hhcnRBY2NvdW50cz8uaWQgaW4gQ2hhcnRBY2NvdW50c0tlZXBTaWduKTtcbiAgfVxuXG4gIHNldFBhcmVudCh0cmFuc2FjdGlvbjogVHJhbnNhY3Rpb24pOiB2b2lkIHtcbiAgICB0aGlzLmRlc2NyaXB0aW9uID0gdGhpcy5jaGFydEFjY291bnRzLm5hbWU7XG4gICAgdGhpcy5kYXRlID0gdHJhbnNhY3Rpb24uZGF0ZTtcbiAgICB0aGlzLmNsYWltUGVyY2VudCA9IHRyYW5zYWN0aW9uLmNsYWltUGVyY2VudDtcbiAgICB0aGlzLnByb3BlcnR5ID0gdHJhbnNhY3Rpb24ucHJvcGVydHk7XG4gICAgdGhpcy5sb2FuID0gdHJhbnNhY3Rpb24ubG9hbjtcbiAgICB0aGlzLmluY29tZVNvdXJjZSA9IHRyYW5zYWN0aW9uLmluY29tZVNvdXJjZTtcbiAgICB0aGlzLmJ1c2luZXNzID0gdHJhbnNhY3Rpb24uYnVzaW5lc3M7XG4gIH1cbn1cbiJdfQ==
@@ -57,4 +57,4 @@ __decorate([
57
57
  __decorate([
58
58
  Type(() => SoleBusiness)
59
59
  ], VehicleClaim.prototype, "business", void 0);
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1jbGFpbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvdmVoaWNsZS92ZWhpY2xlLWNsYWltLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsWUFBWSxJQUFJLGdCQUFnQixFQUFFLE1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ZlIHBlcmNlbnQgdmFsdWVcbiAgICByZXR1cm4gTWF0aC5hYnModHJhbnNhY3Rpb25zQW1vdW50KSAqIHRoaXMud29ya1VzYWdlIC8gMTAwO1xuICB9XG5cbiAgZ2V0QXZlcmFnZVdlZWtseUtNUygpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLmtpbG9tZXRlcnMgLyBGaW5hbmNpYWxZZWFyLndlZWtzSW5ZZWFyO1xuICB9XG59XG4iXX0=
@@ -10,10 +10,10 @@ export class AppCurrencyPipe extends CurrencyPipe {
10
10
  digitsInfo = digitsInfo ?? '1.0-' + (value.toString().match(/[1-9]/)?.index || 2);
11
11
  return super.transform(value, currencyCode, display, digitsInfo, locale);
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
14
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
14
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppCurrencyPipe, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppCurrencyPipe, decorators: [{
17
17
  type: Pipe,
18
18
  args: [{
19
19
  name: 'appCurrency',
@@ -8,14 +8,14 @@ export class SafeUrlPipe {
8
8
  transform(url) {
9
9
  return this.sanitizer.bypassSecurityTrustResourceUrl(url);
10
10
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
12
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
12
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SafeUrlPipe, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafeUrlPipe, decorators: [{
15
15
  type: Pipe,
16
16
  args: [{
17
17
  name: 'safeUrl',
18
18
  standalone: true,
19
19
  }]
20
- }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
20
+ }], ctorParameters: () => [{ type: i1.DomSanitizer }] });
21
21
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FmZS11cmwucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9waXBlcy9zYWZlLXVybC5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOzs7QUFPcEQsTUFBTSxPQUFPLFdBQVc7SUFDdEIsWUFBb0IsU0FBdUI7UUFBdkIsY0FBUyxHQUFULFNBQVMsQ0FBYztJQUFHLENBQUM7SUFFL0MsU0FBUyxDQUFDLEdBQVc7UUFDbkIsT0FBTyxJQUFJLENBQUMsU0FBUyxDQUFDLDhCQUE4QixDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQzVELENBQUM7K0dBTFUsV0FBVzs2R0FBWCxXQUFXOzs0RkFBWCxXQUFXO2tCQUp2QixJQUFJO21CQUFDO29CQUNKLElBQUksRUFBRSxTQUFTO29CQUNmLFVBQVUsRUFBRSxJQUFJO2lCQUNqQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IERvbVNhbml0aXplciwgU2FmZVJlc291cmNlVXJsIH0gZnJvbSAnQGFuZ3VsYXIvcGxhdGZvcm0tYnJvd3Nlcic7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ3NhZmVVcmwnLFxuICBzdGFuZGFsb25lOiB0cnVlLFxufSlcbmV4cG9ydCBjbGFzcyBTYWZlVXJsUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHNhbml0aXplcjogRG9tU2FuaXRpemVyKSB7fVxuXG4gIHRyYW5zZm9ybSh1cmw6IHN0cmluZyk6IFNhZmVSZXNvdXJjZVVybCB7XG4gICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RSZXNvdXJjZVVybCh1cmwpO1xuICB9XG59XG4iXX0=
@@ -156,13 +156,13 @@ export class AccountSetupService {
156
156
  }
157
157
  return this.setItemStatus(this.items.findBy('isBankFeeds', true), this.bankAccountsService.getArray());
158
158
  }
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccountSetupService, deps: [{ token: i1.SetupItemService }, { token: i2.PropertyService }, { token: i2.IncomeSourceService }, { token: i2.BankAccountService }, { token: i2.TransactionAllocationService }, { token: i2.VehicleClaimService }, { token: i2.TransactionService }, { token: i2.SoleBusinessService }, { token: i2.HoldingService }, { token: i2.UserService }, { token: i2.ClientMovementService }, { token: i2.ClientInviteService }, { token: i2.EmployeeService }, { token: i2.EmployeeInviteService }, { token: i2.FirmService }], target: i0.ɵɵFactoryTarget.Injectable }); }
160
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccountSetupService, providedIn: 'root' }); }
159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountSetupService, deps: [{ token: i1.SetupItemService }, { token: i2.PropertyService }, { token: i2.IncomeSourceService }, { token: i2.BankAccountService }, { token: i2.TransactionAllocationService }, { token: i2.VehicleClaimService }, { token: i2.TransactionService }, { token: i2.SoleBusinessService }, { token: i2.HoldingService }, { token: i2.UserService }, { token: i2.ClientMovementService }, { token: i2.ClientInviteService }, { token: i2.EmployeeService }, { token: i2.EmployeeInviteService }, { token: i2.FirmService }], target: i0.ɵɵFactoryTarget.Injectable }); }
160
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountSetupService, providedIn: 'root' }); }
161
161
  }
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccountSetupService, decorators: [{
162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccountSetupService, decorators: [{
163
163
  type: Injectable,
164
164
  args: [{
165
165
  providedIn: 'root'
166
166
  }]
167
- }], ctorParameters: function () { return [{ type: i1.SetupItemService }, { type: i2.PropertyService }, { type: i2.IncomeSourceService }, { type: i2.BankAccountService }, { type: i2.TransactionAllocationService }, { type: i2.VehicleClaimService }, { type: i2.TransactionService }, { type: i2.SoleBusinessService }, { type: i2.HoldingService }, { type: i2.UserService }, { type: i2.ClientMovementService }, { type: i2.ClientInviteService }, { type: i2.EmployeeService }, { type: i2.EmployeeInviteService }, { type: i2.FirmService }]; } });
167
+ }], ctorParameters: () => [{ type: i1.SetupItemService }, { type: i2.PropertyService }, { type: i2.IncomeSourceService }, { type: i2.BankAccountService }, { type: i2.TransactionAllocationService }, { type: i2.VehicleClaimService }, { type: i2.TransactionService }, { type: i2.SoleBusinessService }, { type: i2.HoldingService }, { type: i2.UserService }, { type: i2.ClientMovementService }, { type: i2.ClientInviteService }, { type: i2.EmployeeService }, { type: i2.EmployeeInviteService }, { type: i2.FirmService }] });
168
168
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1zZXR1cC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2FjY291bnQtc2V0dXAvYWNjb3VudC1zZXR1cC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFtQjNDLE9BQU8sRUFDTCwwQkFBMEIsRUFHMUIsc0JBQXNCLEVBQ3RCLHFCQUFxQixFQUN0QixNQUFNLG1CQUFtQixDQUFDO0FBQzNCLE9BQU8sRUFBYyxhQUFhLEVBQUUsRUFBRSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3JELE9BQU8sRUFBRSxHQUFHLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDL0MsT0FBTyxZQUFZLE1BQU0scUJBQXFCLENBQUM7QUFDL0MsT0FBTyxFQU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0SXRlbVN0YXR1cyhcbiAgICAgIHRoaXMuaXRlbXMuZmluZEJ5KCdpc0JhbmtGZWVkcycsIHRydWUpLFxuICAgICAgdGhpcy5iYW5rQWNjb3VudHNTZXJ2aWNlLmdldEFycmF5KClcbiAgICApO1xuICB9XG59XG4iXX0=
@@ -36,16 +36,16 @@ export class AssetsService {
36
36
  delete(entityId, asset) {
37
37
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
38
38
  }
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: i2.UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
40
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetsService, providedIn: 'root' }); }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: i2.UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
40
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetsService, providedIn: 'root' }); }
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetsService, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AssetsService, decorators: [{
43
43
  type: Injectable,
44
44
  args: [{
45
45
  providedIn: 'root'
46
46
  }]
47
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.UserSwitcherService }, { type: undefined, decorators: [{
47
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.UserSwitcherService }, { type: undefined, decorators: [{
48
48
  type: Inject,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udHlwZX0vJHthc3NldC5pZH0vZG93bmxvYWQ/YmVhcmVyPSR7bG9jYWxTdG9yYWdlLmdldEl0ZW0oJ3Rva2VuJyl9JHt0aGlzLmltcGVyc29uYXRlZENsaWVudCA/IGAmX3N3aXRjaF91c2VyPSR7dGhpcy5pbXBlcnNvbmF0ZWRDbGllbnR9YCA6ICcnfWA7XG4gIH1cblxuICAvLyBAVG9kbyByZWZhY3RvciB0byBldmVudCBkaXNwYXRjaGVyXG4gIC8qKlxuICAgKiBEZWxldGUgYXNzZXRcbiAgICogQHBhcmFtIGVudGl0eUlkOiBpZCBvZiBhc3NldCBtYWluIGVudGl0eSAocHJvcGVydHksIGZvbGRlciwgdHJhbnNhY3Rpb24sIGUudC5jLilcbiAgICogQHBhcmFtIGFzc2V0IHdoaWNoIHNob3VsZCBiZSBkZWxldGVkXG4gICAqL1xuICBkZWxldGUoZW50aXR5SWQ6IG51bWJlciwgYXNzZXQ6IElBc3NldCk6IGFueSB7XG4gICAgcmV0dXJuIHRoaXMuaHR0cC5kZWxldGUoYCR7dGhpcy5lbnZpcm9ubWVudC5hcGlWMn0vJHthc3NldC5lbnRpdHlUeXBlfS8ke2VudGl0eUlkfS8ke2Fzc2V0LnR5cGV9LyR7YXNzZXQuaWR9YCk7XG4gIH1cbn1cbiJdfQ==
@@ -20,10 +20,10 @@ export class BankAccountCalculationService {
20
20
  getNetPosition(bankAccounts, bankTransactions, allocations) {
21
21
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BankAccountCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BankAccountCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BankAccountCalculationService, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BankAccountCalculationService, decorators: [{
27
27
  type: Injectable,
28
28
  args: [{
29
29
  providedIn: 'root'
@@ -32,10 +32,10 @@ export class DataService {
32
32
  setCache(data) {
33
33
  this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
34
34
  }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
36
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataService, providedIn: 'root' }); }
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
36
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DataService, providedIn: 'root' }); }
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataService, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DataService, decorators: [{
39
39
  type: Injectable,
40
40
  args: [{
41
41
  providedIn: 'root'
@@ -29,10 +29,10 @@ export class EventDispatcherService {
29
29
  dispatch2(event) {
30
30
  this.eventSubject2.next(event);
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
33
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EventDispatcherService, providedIn: 'root' }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
33
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EventDispatcherService, providedIn: 'root' }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EventDispatcherService, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EventDispatcherService, decorators: [{
36
36
  type: Injectable,
37
37
  args: [{
38
38
  providedIn: 'root'
@@ -33,16 +33,16 @@ export class SseService {
33
33
  })
34
34
  .pipe(map((messageEvent) => JSON.parse(messageEvent.data)));
35
35
  }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: i1.JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
37
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SseService, providedIn: 'root' }); }
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: i1.JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
37
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SseService, providedIn: 'root' }); }
38
38
  }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SseService, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SseService, decorators: [{
40
40
  type: Injectable,
41
41
  args: [{
42
42
  providedIn: 'root'
43
43
  }]
44
- }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.JwtService }, { type: undefined, decorators: [{
44
+ }], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.JwtService }, { type: undefined, decorators: [{
45
45
  type: Inject,
46
46
  args: ['environment']
47
- }] }]; } });
47
+ }] }] });
48
48
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3NlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvZXZlbnQvc3NlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNsQyxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDckMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sOENBQThDLENBQUM7OztBQUduRjs7O0dBR0c7QUFJSCxNQUFNLE9BQU8sVUFBVTtJQUNyQixZQUNVLElBQVksRUFDWixVQUFzQixFQUNDLFdBQWdCO1FBRnZDLFNBQUksR0FBSixJQUFJLENBQVE7UUFDWixlQUFVLEdBQVYsVUFBVSxDQUF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AgICBjb25zdCB1cmw6IFVSTCA9IG5ldyBVUkwodGhpcy5lbnZpcm9ubWVudC5tZXJjdXJlVXJsKTtcbiAgICB1cmwuc2VhcmNoUGFyYW1zLmFwcGVuZCgndG9waWMnLCBgJHt0aGlzLmVudmlyb25tZW50LmFwaVYyfS91c2Vycy8ke3RoaXMuand0U2VydmljZS5kZWNvZGVUb2tlbigpLnVzZXJuYW1lfS8ke3RvcGljfWApO1xuICAgIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTp0eXBlZGVmXG4gICAgcmV0dXJuIG5ldyBPYnNlcnZhYmxlKChvYnNlcnZlcikgPT4ge1xuICAgICAgY29uc3QgZXM6IEV2ZW50U291cmNlUG9seWZpbGwgPSBuZXcgRXZlbnRTb3VyY2VQb2x5ZmlsbCh1cmwsIHtcbiAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgIEF1dGhvcml6YXRpb246ICdCZWFyZXIgJyArIHRoaXMuand0U2VydmljZS5nZXRUb2tlbigpLFxuICAgICAgICB9XG4gICAgICB9KTtcblxuICAgICAgZXMub25tZXNzYWdlID0gKGV2ZW50OiBNZXNzYWdlRXZlbnQpOiB2b2lkID0+IHtcbiAgICAgICAgdGhpcy56b25lLnJ1bigoKTogdm9pZCA9PiBvYnNlcnZlci5uZXh0KGV2ZW50KSk7XG4gICAgICB9O1xuICAgIH0pXG4gICAgICAucGlwZShcbiAgICAgICAgbWFwKChtZXNzYWdlRXZlbnQ6IE1lc3NhZ2VFdmVudCk6IG9iamVjdCA9PiBKU09OLnBhcnNlKG1lc3NhZ2VFdmVudC5kYXRhKSlcbiAgICAgICk7XG4gIH1cbn1cbiJdfQ==
@@ -22,13 +22,13 @@ export class ExportFormatterService {
22
22
  }
23
23
  }));
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1.CurrencyPipe }, { token: i1.PercentPipe }, { token: i1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExportFormatterService, providedIn: 'root' }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1.CurrencyPipe }, { token: i1.PercentPipe }, { token: i1.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExportFormatterService, providedIn: 'root' }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExportFormatterService, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExportFormatterService, decorators: [{
29
29
  type: Injectable,
30
30
  args: [{
31
31
  providedIn: 'root'
32
32
  }]
33
- }], ctorParameters: function () { return [{ type: i1.CurrencyPipe }, { type: i1.PercentPipe }, { type: i1.DatePipe }]; } });
33
+ }], ctorParameters: () => [{ type: i1.CurrencyPipe }, { type: i1.PercentPipe }, { type: i1.DatePipe }] });
34
34
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0LWZvcm1hdHRlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2V4cG9ydC9leHBvcnQtZm9ybWF0dGVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUzQyxPQUFPLEVBQUUsa0JBQWtCL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VlZWScpLnRvU3RyaW5nKCk7XG4gICAgICAgIGNhc2UgRXhwb3J0Q2VsbFR5cGVFbnVtLkNVUlJFTkNZOlxuICAgICAgICAgIHJldHVybiB0aGlzLmN1cnJlbmN5UGlwZS50cmFuc2Zvcm0oY29sdW1uLnZhbHVlKS50b1N0cmluZygpO1xuICAgICAgICBjYXNlIEV4cG9ydENlbGxUeXBlRW51bS5QRVJDRU5UOlxuICAgICAgICAgIHJldHVybiB0aGlzLnBlcmNlbnRQaXBlLnRyYW5zZm9ybShjb2x1bW4udmFsdWUpLnRvU3RyaW5nKCk7XG4gICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgcmV0dXJuIGNvbHVtbi52YWx1ZS50b1N0cmluZygpO1xuICAgICAgfX0pXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -14,10 +14,10 @@ export class CurrentFirmBranchService {
14
14
  set(firmBranches) {
15
15
  this.firmBranchIds$.next(firmBranches.map(branch => branch.id));
16
16
  }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CurrentFirmBranchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
18
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CurrentFirmBranchService, providedIn: 'root' }); }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CurrentFirmBranchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
18
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CurrentFirmBranchService, providedIn: 'root' }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CurrentFirmBranchService, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CurrentFirmBranchService, decorators: [{
21
21
  type: Injectable,
22
22
  args: [{
23
23
  providedIn: 'root'
@@ -16,13 +16,13 @@ export class HeaderTitleService {
16
16
  return route;
17
17
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderTitleService, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
20
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderTitleService, providedIn: 'root' }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeaderTitleService, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
20
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeaderTitleService, providedIn: 'root' }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderTitleService, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeaderTitleService, decorators: [{
23
23
  type: Injectable,
24
24
  args: [{
25
25
  providedIn: 'root'
26
26
  }]
27
- }], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }]; } });
27
+ }], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }] });
28
28
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLXRpdGxlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC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