taxtank-core 0.29.37 → 0.30.1

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.
Files changed (901) hide show
  1. package/{esm2015/lib/collections/account-setup-item.collection.js → esm2020/lib/collections/account-setup-item.collection.mjs} +0 -0
  2. package/{esm2015/lib/collections/allocation-group.collection.js → esm2020/lib/collections/allocation-group.collection.mjs} +0 -0
  3. package/{esm2015/lib/collections/bank-account.collection.js → esm2020/lib/collections/bank-account.collection.mjs} +0 -0
  4. package/esm2020/lib/collections/bank-transaction.collection.mjs +119 -0
  5. package/{esm2015/lib/collections/chart-accounts.collection.js → esm2020/lib/collections/chart-accounts.collection.mjs} +0 -0
  6. package/{esm2015/lib/collections/chat/chat.collection.js → esm2020/lib/collections/chat/chat.collection.mjs} +0 -0
  7. package/{esm2015/lib/collections/chat/index.js → esm2020/lib/collections/chat/index.mjs} +0 -0
  8. package/{esm2015/lib/collections/chat/message-document.collection.js → esm2020/lib/collections/chat/message-document.collection.mjs} +0 -0
  9. package/{esm2015/lib/collections/chat/message.collection.js → esm2020/lib/collections/chat/message.collection.mjs} +0 -0
  10. package/{esm2015/lib/collections/client-invite.collection.js → esm2020/lib/collections/client-invite.collection.mjs} +0 -0
  11. package/esm2020/lib/collections/client-movement.collection.mjs +30 -0
  12. package/{esm2015/lib/collections/client-portfolio-report.collection.js → esm2020/lib/collections/client-portfolio-report.collection.mjs} +0 -0
  13. package/{esm2015/lib/collections/client.collection.js → esm2020/lib/collections/client.collection.mjs} +0 -0
  14. package/{esm2015/lib/collections/collection-dictionary.js → esm2020/lib/collections/collection-dictionary.mjs} +0 -0
  15. package/esm2020/lib/collections/collection.mjs +147 -0
  16. package/{esm2015/lib/collections/depreciation-forecast.collection.js → esm2020/lib/collections/depreciation-forecast.collection.mjs} +0 -0
  17. package/esm2020/lib/collections/depreciation.collection.mjs +126 -0
  18. package/esm2020/lib/collections/employee.collection.mjs +11 -0
  19. package/{esm2015/lib/collections/exportable.collection.js → esm2020/lib/collections/exportable.collection.mjs} +0 -0
  20. package/{esm2015/lib/collections/income-source.collection.js → esm2020/lib/collections/income-source.collection.mjs} +0 -0
  21. package/{esm2015/lib/collections/index.js → esm2020/lib/collections/index.mjs} +0 -0
  22. package/{esm2015/lib/collections/loan/index.js → esm2020/lib/collections/loan/index.mjs} +0 -0
  23. package/{esm2015/lib/collections/loan/loan-payment.collection.js → esm2020/lib/collections/loan/loan-payment.collection.mjs} +0 -0
  24. package/esm2020/lib/collections/loan/loan.collection.mjs +34 -0
  25. package/{esm2015/lib/collections/property/index.js → esm2020/lib/collections/property/index.mjs} +0 -0
  26. package/{esm2015/lib/collections/property/property-category-movement.collection.js → esm2020/lib/collections/property/property-category-movement.collection.mjs} +0 -0
  27. package/{esm2015/lib/collections/property/property-sale/index.js → esm2020/lib/collections/property/property-sale/index.mjs} +0 -0
  28. package/esm2020/lib/collections/property/property-sale/property-sale-tax-exemption-metadata.collection.mjs +17 -0
  29. package/{esm2015/lib/collections/property/property-sale/property-sale.collection.js → esm2020/lib/collections/property/property-sale/property-sale.collection.mjs} +0 -0
  30. package/esm2020/lib/collections/property/property-share.collection.mjs +22 -0
  31. package/{esm2015/lib/collections/property/property.collection.js → esm2020/lib/collections/property/property.collection.mjs} +0 -0
  32. package/{esm2015/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.js → esm2020/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs} +0 -0
  33. package/{esm2015/lib/collections/report/depreciation/depreciation-report-item.collection.js → esm2020/lib/collections/report/depreciation/depreciation-report-item.collection.mjs} +0 -0
  34. package/{esm2015/lib/collections/report/index.js → esm2020/lib/collections/report/index.mjs} +0 -0
  35. package/{esm2015/lib/collections/report/property/property-report-item-depreciation.collection.js → esm2020/lib/collections/report/property/property-report-item-depreciation.collection.mjs} +0 -0
  36. package/{esm2015/lib/collections/report/property/property-report-item-transaction.collection.js → esm2020/lib/collections/report/property/property-report-item-transaction.collection.mjs} +0 -0
  37. package/{esm2015/lib/collections/report/property/property-report-item.collection.js → esm2020/lib/collections/report/property/property-report-item.collection.mjs} +0 -0
  38. package/{esm2015/lib/collections/report/vehicle-expense/vehicle-expense.collection.js → esm2020/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs} +0 -0
  39. package/{esm2015/lib/collections/sole/index.js → esm2020/lib/collections/sole/index.mjs} +0 -0
  40. package/esm2020/lib/collections/sole/sole-business-losses.collection.mjs +42 -0
  41. package/{esm2015/lib/collections/sole/sole-invoice-item.collection.js → esm2020/lib/collections/sole/sole-invoice-item.collection.mjs} +0 -0
  42. package/{esm2015/lib/collections/sole/sole-invoice.collection.js → esm2020/lib/collections/sole/sole-invoice.collection.mjs} +0 -0
  43. package/{esm2015/lib/collections/subscription/index.js → esm2020/lib/collections/subscription/index.mjs} +0 -0
  44. package/{esm2015/lib/collections/subscription/service-price.collection.js → esm2020/lib/collections/subscription/service-price.collection.mjs} +0 -0
  45. package/{esm2015/lib/collections/subscription/service-product.collection.js → esm2020/lib/collections/subscription/service-product.collection.mjs} +0 -0
  46. package/{esm2015/lib/collections/subscription/service-subscription.collection.js → esm2020/lib/collections/subscription/service-subscription.collection.mjs} +0 -0
  47. package/{esm2015/lib/collections/subscription/subscription-item.collection.js → esm2020/lib/collections/subscription/subscription-item.collection.mjs} +0 -0
  48. package/{esm2015/lib/collections/tax-review.collection.js → esm2020/lib/collections/tax-review.collection.mjs} +0 -0
  49. package/{esm2015/lib/collections/tax-summary/index.js → esm2020/lib/collections/tax-summary/index.mjs} +0 -0
  50. package/{esm2015/lib/collections/tax-summary/report-item.collection.js → esm2020/lib/collections/tax-summary/report-item.collection.mjs} +0 -0
  51. package/{esm2015/lib/collections/tax-summary/tax-return-categories.const.js → esm2020/lib/collections/tax-summary/tax-return-categories.const.mjs} +0 -0
  52. package/{esm2015/lib/collections/transaction/index.js → esm2020/lib/collections/transaction/index.mjs} +0 -0
  53. package/{esm2015/lib/collections/transaction/transaction-allocation.collection.js → esm2020/lib/collections/transaction/transaction-allocation.collection.mjs} +0 -0
  54. package/esm2020/lib/collections/transaction/transaction.collection.mjs +241 -0
  55. package/{esm2015/lib/collections/user-event-setting.collection.js → esm2020/lib/collections/user-event-setting.collection.mjs} +0 -0
  56. package/{esm2015/lib/collections/user-event-type-collection.js → esm2020/lib/collections/user-event-type-collection.mjs} +0 -0
  57. package/{esm2015/lib/collections/vehicle/index.js → esm2020/lib/collections/vehicle/index.mjs} +0 -0
  58. package/{esm2015/lib/collections/vehicle/vehicle-claim.collection.js → esm2020/lib/collections/vehicle/vehicle-claim.collection.mjs} +0 -0
  59. package/{esm2015/lib/collections/vehicle/vehicle-logbook.collection.js → esm2020/lib/collections/vehicle/vehicle-logbook.collection.mjs} +0 -0
  60. package/{esm2015/lib/db/Enums/address-type.enum.js → esm2020/lib/db/Enums/address-type.enum.mjs} +0 -0
  61. package/{esm2015/lib/db/Enums/annual-frequency.enum.js → esm2020/lib/db/Enums/annual-frequency.enum.mjs} +0 -0
  62. package/{esm2015/lib/db/Enums/bank-account-status.enum.js → esm2020/lib/db/Enums/bank-account-status.enum.mjs} +0 -0
  63. package/{esm2015/lib/db/Enums/bank-account-type.enum.js → esm2020/lib/db/Enums/bank-account-type.enum.mjs} +0 -0
  64. package/{esm2015/lib/db/Enums/bank-connection-status.enum.js → esm2020/lib/db/Enums/bank-connection-status.enum.mjs} +0 -0
  65. package/{esm2015/lib/db/Enums/bank-popular.enum.js → esm2020/lib/db/Enums/bank-popular.enum.mjs} +0 -0
  66. package/{esm2015/lib/db/Enums/bank-transaction-type.enum.js → esm2020/lib/db/Enums/bank-transaction-type.enum.mjs} +0 -0
  67. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-category.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs} +0 -0
  68. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs} +0 -0
  69. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs} +0 -0
  70. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs} +0 -0
  71. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs} +0 -0
  72. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs} +0 -0
  73. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs} +0 -0
  74. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-list.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs} +0 -0
  75. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-metadata-list.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-metadata-list.enum.mjs} +0 -0
  76. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-metadata-type.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-metadata-type.enum.mjs} +0 -0
  77. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs} +0 -0
  78. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.mjs} +0 -0
  79. package/{esm2015/lib/db/Enums/chart-accounts/chart-accounts-type.enum.js → esm2020/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs} +0 -0
  80. package/{esm2015/lib/db/Enums/chart-accounts/index.js → esm2020/lib/db/Enums/chart-accounts/index.mjs} +0 -0
  81. package/{esm2015/lib/db/Enums/chat-status.enum.js → esm2020/lib/db/Enums/chat-status.enum.mjs} +0 -0
  82. package/{esm2015/lib/db/Enums/client-details-medicare-exemption.enum.js → esm2020/lib/db/Enums/client-details-medicare-exemption.enum.mjs} +0 -0
  83. package/{esm2015/lib/db/Enums/client-details-work-depreciation-calculation.enum.js → esm2020/lib/db/Enums/client-details-work-depreciation-calculation.enum.mjs} +0 -0
  84. package/{esm2015/lib/db/Enums/client-details-working-holiday-maker.enum.js → esm2020/lib/db/Enums/client-details-working-holiday-maker.enum.mjs} +0 -0
  85. package/{esm2015/lib/db/Enums/client-invite-status.enum.js → esm2020/lib/db/Enums/client-invite-status.enum.mjs} +0 -0
  86. package/{esm2015/lib/db/Enums/client-invite-type.enum.js → esm2020/lib/db/Enums/client-invite-type.enum.mjs} +0 -0
  87. package/{esm2015/lib/db/Enums/depreciation-calculation-percent.enum.js → esm2020/lib/db/Enums/depreciation-calculation-percent.enum.mjs} +0 -0
  88. package/{esm2015/lib/db/Enums/depreciation-calculation.enum.js → esm2020/lib/db/Enums/depreciation-calculation.enum.mjs} +0 -0
  89. package/{esm2015/lib/db/Enums/depreciation-type.enum.js → esm2020/lib/db/Enums/depreciation-type.enum.mjs} +0 -0
  90. package/{esm2015/lib/db/Enums/depreciation-write-off-amount.enum.js → esm2020/lib/db/Enums/depreciation-write-off-amount.enum.mjs} +0 -0
  91. package/{esm2015/lib/db/Enums/document-type.enum.js → esm2020/lib/db/Enums/document-type.enum.mjs} +0 -0
  92. package/{esm2015/lib/db/Enums/file-type.enum.js → esm2020/lib/db/Enums/file-type.enum.mjs} +0 -0
  93. package/{esm2015/lib/db/Enums/firm-type.enum.js → esm2020/lib/db/Enums/firm-type.enum.mjs} +0 -0
  94. package/{esm2015/lib/db/Enums/income-source-forecast-trust-type.enum.js → esm2020/lib/db/Enums/income-source-forecast-trust-type.enum.mjs} +0 -0
  95. package/{esm2015/lib/db/Enums/income-source-type-list-other.enum.js → esm2020/lib/db/Enums/income-source-type-list-other.enum.mjs} +0 -0
  96. package/{esm2015/lib/db/Enums/income-source-type-list-sole.enum.js → esm2020/lib/db/Enums/income-source-type-list-sole.enum.mjs} +0 -0
  97. package/{esm2015/lib/db/Enums/income-source-type-list-work.enum.js → esm2020/lib/db/Enums/income-source-type-list-work.enum.mjs} +0 -0
  98. package/{esm2015/lib/db/Enums/income-source-type.enum.js → esm2020/lib/db/Enums/income-source-type.enum.mjs} +0 -0
  99. package/{esm2015/lib/db/Enums/index.js → esm2020/lib/db/Enums/index.mjs} +0 -0
  100. package/{esm2015/lib/db/Enums/invite-status.enum.js → esm2020/lib/db/Enums/invite-status.enum.mjs} +0 -0
  101. package/{esm2015/lib/db/Enums/loan-bank-type.enum.js → esm2020/lib/db/Enums/loan-bank-type.enum.mjs} +0 -0
  102. package/{esm2015/lib/db/Enums/loan-frequency.enum.js → esm2020/lib/db/Enums/loan-frequency.enum.mjs} +0 -0
  103. package/{esm2015/lib/db/Enums/loan-interest-type.enum.js → esm2020/lib/db/Enums/loan-interest-type.enum.mjs} +0 -0
  104. package/{esm2015/lib/db/Enums/loan-payout-type.enum.js → esm2020/lib/db/Enums/loan-payout-type.enum.mjs} +0 -0
  105. package/{esm2015/lib/db/Enums/loan-repayment-frequency.enum.js → esm2020/lib/db/Enums/loan-repayment-frequency.enum.mjs} +0 -0
  106. package/{esm2015/lib/db/Enums/loan-repayment-type.enum.js → esm2020/lib/db/Enums/loan-repayment-type.enum.mjs} +0 -0
  107. package/{esm2015/lib/db/Enums/loan-type.enum.js → esm2020/lib/db/Enums/loan-type.enum.mjs} +0 -0
  108. package/{esm2015/lib/db/Enums/loan-vehicle-type.enum.js → esm2020/lib/db/Enums/loan-vehicle-type.enum.mjs} +0 -0
  109. package/{esm2015/lib/db/Enums/phone-type.enum.js → esm2020/lib/db/Enums/phone-type.enum.mjs} +0 -0
  110. package/{esm2015/lib/db/Enums/property/property-category-list.enum.js → esm2020/lib/db/Enums/property/property-category-list.enum.mjs} +0 -0
  111. package/{esm2015/lib/db/Enums/property/property-depreciation-calculation.enum.js → esm2020/lib/db/Enums/property/property-depreciation-calculation.enum.mjs} +0 -0
  112. package/{esm2015/lib/db/Enums/property/property-sale/tax-exemption-metadata.enum.js → esm2020/lib/db/Enums/property/property-sale/tax-exemption-metadata.enum.mjs} +0 -0
  113. package/{esm2015/lib/db/Enums/property/property-sale/tax-exemption.enum.js → esm2020/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs} +0 -0
  114. package/{esm2015/lib/db/Enums/property/property-share-access.enum.js → esm2020/lib/db/Enums/property/property-share-access.enum.mjs} +0 -0
  115. package/{esm2015/lib/db/Enums/property/property-share-status.enum.js → esm2020/lib/db/Enums/property/property-share-status.enum.mjs} +0 -0
  116. package/{esm2015/lib/db/Enums/registration-invite-status.enum.js → esm2020/lib/db/Enums/registration-invite-status.enum.mjs} +0 -0
  117. package/{esm2015/lib/db/Enums/salary-forecast-frequency.enum.js → esm2020/lib/db/Enums/salary-forecast-frequency.enum.mjs} +0 -0
  118. package/{esm2015/lib/db/Enums/service-notification-status.enum.js → esm2020/lib/db/Enums/service-notification-status.enum.mjs} +0 -0
  119. package/{esm2015/lib/db/Enums/service-notification-type.enum.js → esm2020/lib/db/Enums/service-notification-type.enum.mjs} +0 -0
  120. package/{esm2015/lib/db/Enums/sole-depreciation-method.enum.js → esm2020/lib/db/Enums/sole-depreciation-method.enum.mjs} +0 -0
  121. package/{esm2015/lib/db/Enums/sole-invoice-statuses.enum.js → esm2020/lib/db/Enums/sole-invoice-statuses.enum.mjs} +0 -0
  122. package/{esm2015/lib/db/Enums/sole-invoice-tax-type.enum.js → esm2020/lib/db/Enums/sole-invoice-tax-type.enum.mjs} +0 -0
  123. package/{esm2015/lib/db/Enums/sole-invoice-template-tax-type.enum.js → esm2020/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs} +0 -0
  124. package/{esm2015/lib/db/Enums/spare-document-spare-type.enum.js → esm2020/lib/db/Enums/spare-document-spare-type.enum.mjs} +0 -0
  125. package/{esm2015/lib/db/Enums/subscription/service-payment-status.enum.js → esm2020/lib/db/Enums/subscription/service-payment-status.enum.mjs} +0 -0
  126. package/{esm2015/lib/db/Enums/subscription/service-price-recurring-interval.enum.js → esm2020/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs} +0 -0
  127. package/{esm2015/lib/db/Enums/subscription/service-price-type.enum.js → esm2020/lib/db/Enums/subscription/service-price-type.enum.mjs} +0 -0
  128. package/{esm2015/lib/db/Enums/subscription/service-product-id.enum.js → esm2020/lib/db/Enums/subscription/service-product-id.enum.mjs} +0 -0
  129. package/{esm2015/lib/db/Enums/subscription/service-product-status.enum.js → esm2020/lib/db/Enums/subscription/service-product-status.enum.mjs} +0 -0
  130. package/{esm2015/lib/db/Enums/subscription/service-subscription-status.enum.js → esm2020/lib/db/Enums/subscription/service-subscription-status.enum.mjs} +0 -0
  131. package/{esm2015/lib/db/Enums/tank-type.enum.js → esm2020/lib/db/Enums/tank-type.enum.mjs} +0 -0
  132. package/{esm2015/lib/db/Enums/tax-calculation-medicare-exemption.enum.js → esm2020/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs} +0 -0
  133. package/{esm2015/lib/db/Enums/tax-calculation-type.enum.js → esm2020/lib/db/Enums/tax-calculation-type.enum.mjs} +0 -0
  134. package/{esm2015/lib/db/Enums/tax-return-category-list.enum.js → esm2020/lib/db/Enums/tax-return-category-list.enum.mjs} +0 -0
  135. package/{esm2015/lib/db/Enums/tax-return-category-section.enum.js → esm2020/lib/db/Enums/tax-return-category-section.enum.mjs} +0 -0
  136. package/{esm2015/lib/db/Enums/tax-review-status.enum.js → esm2020/lib/db/Enums/tax-review-status.enum.mjs} +0 -0
  137. package/{esm2015/lib/db/Enums/tax-summary-list.enum.js → esm2020/lib/db/Enums/tax-summary-list.enum.mjs} +0 -0
  138. package/{esm2015/lib/db/Enums/tax-summary-section.enum.js → esm2020/lib/db/Enums/tax-summary-section.enum.mjs} +0 -0
  139. package/{esm2015/lib/db/Enums/tax-summary-tax-summary.enum.js → esm2020/lib/db/Enums/tax-summary-tax-summary.enum.mjs} +0 -0
  140. package/{esm2015/lib/db/Enums/ticket-feedback.enum.js → esm2020/lib/db/Enums/ticket-feedback.enum.mjs} +0 -0
  141. package/{esm2015/lib/db/Enums/ticket-status.enum.js → esm2020/lib/db/Enums/ticket-status.enum.mjs} +0 -0
  142. package/{esm2015/lib/db/Enums/ticket-types.enum.js → esm2020/lib/db/Enums/ticket-types.enum.mjs} +0 -0
  143. package/{esm2015/lib/db/Enums/transaction-operation.enum.js → esm2020/lib/db/Enums/transaction-operation.enum.mjs} +0 -0
  144. package/{esm2015/lib/db/Enums/transaction-source.enum.js → esm2020/lib/db/Enums/transaction-source.enum.mjs} +0 -0
  145. package/{esm2015/lib/db/Enums/transaction-type.enum.js → esm2020/lib/db/Enums/transaction-type.enum.mjs} +0 -0
  146. package/{esm2015/lib/db/Enums/user-event-status.enum.js → esm2020/lib/db/Enums/user-event-status.enum.mjs} +0 -0
  147. package/{esm2015/lib/db/Enums/user-event-type-client-type.enum.js → esm2020/lib/db/Enums/user-event-type-client-type.enum.mjs} +0 -0
  148. package/{esm2015/lib/db/Enums/user-event-type-employee-type.enum.js → esm2020/lib/db/Enums/user-event-type-employee-type.enum.mjs} +0 -0
  149. package/{esm2015/lib/db/Enums/user-event-type-frequency.enum.js → esm2020/lib/db/Enums/user-event-type-frequency.enum.mjs} +0 -0
  150. package/{esm2015/lib/db/Enums/user-event-type-type.enum.js → esm2020/lib/db/Enums/user-event-type-type.enum.mjs} +0 -0
  151. package/{esm2015/lib/db/Enums/user-event-type-user-type.enum.js → esm2020/lib/db/Enums/user-event-type-user-type.enum.mjs} +0 -0
  152. package/{esm2015/lib/db/Enums/user-medicare-exemption.enum.js → esm2020/lib/db/Enums/user-medicare-exemption.enum.mjs} +0 -0
  153. package/{esm2015/lib/db/Enums/user-roles.enum.js → esm2020/lib/db/Enums/user-roles.enum.mjs} +0 -0
  154. package/{esm2015/lib/db/Enums/user-status.enum.js → esm2020/lib/db/Enums/user-status.enum.mjs} +0 -0
  155. package/{esm2015/lib/db/Enums/user-title.enum.js → esm2020/lib/db/Enums/user-title.enum.mjs} +0 -0
  156. package/{esm2015/lib/db/Enums/user-work-depreciation-calculation.enum.js → esm2020/lib/db/Enums/user-work-depreciation-calculation.enum.mjs} +0 -0
  157. package/{esm2015/lib/db/Enums/user-working-holiday-maker.enum.js → esm2020/lib/db/Enums/user-working-holiday-maker.enum.mjs} +0 -0
  158. package/{esm2015/lib/db/Enums/vehicle-claim-details-method.enum.js → esm2020/lib/db/Enums/vehicle-claim-details-method.enum.mjs} +0 -0
  159. package/{esm2015/lib/db/Enums/vehicle-logbook-purpose.enum.js → esm2020/lib/db/Enums/vehicle-logbook-purpose.enum.mjs} +0 -0
  160. package/{esm2015/lib/db/Models/abstract-model.js → esm2020/lib/db/Models/abstract-model.mjs} +0 -0
  161. package/{esm2015/lib/db/Models/address.js → esm2020/lib/db/Models/address.mjs} +0 -0
  162. package/{esm2015/lib/db/Models/bank/bank-account-balance.js → esm2020/lib/db/Models/bank/bank-account-balance.mjs} +0 -0
  163. package/{esm2015/lib/db/Models/bank/bank-account-property.js → esm2020/lib/db/Models/bank/bank-account-property.mjs} +0 -0
  164. package/{esm2015/lib/db/Models/bank/bank-account.js → esm2020/lib/db/Models/bank/bank-account.mjs} +0 -0
  165. package/{esm2015/lib/db/Models/bank/bank-connection.js → esm2020/lib/db/Models/bank/bank-connection.mjs} +0 -0
  166. package/{esm2015/lib/db/Models/bank/bank-transaction-import.js → esm2020/lib/db/Models/bank/bank-transaction-import.mjs} +0 -0
  167. package/{esm2015/lib/db/Models/bank/bank-transaction-rule.js → esm2020/lib/db/Models/bank/bank-transaction-rule.mjs} +0 -0
  168. package/{esm2015/lib/db/Models/bank/bank-transaction.js → esm2020/lib/db/Models/bank/bank-transaction.mjs} +0 -0
  169. package/{esm2015/lib/db/Models/bank/bank.js → esm2020/lib/db/Models/bank/bank.mjs} +0 -0
  170. package/{esm2015/lib/db/Models/bank/basiq-job.js → esm2020/lib/db/Models/bank/basiq-job.mjs} +0 -0
  171. package/{esm2015/lib/db/Models/bank/financial-data-system.js → esm2020/lib/db/Models/bank/financial-data-system.mjs} +0 -0
  172. package/{esm2015/lib/db/Models/chart-accounts/chart-accounts-depreciation.js → esm2020/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs} +0 -0
  173. package/{esm2015/lib/db/Models/chart-accounts/chart-accounts-heading.js → esm2020/lib/db/Models/chart-accounts/chart-accounts-heading.mjs} +0 -0
  174. package/{esm2015/lib/db/Models/chart-accounts/chart-accounts-metadata.js → esm2020/lib/db/Models/chart-accounts/chart-accounts-metadata.mjs} +0 -0
  175. package/{esm2015/lib/db/Models/chart-accounts/chart-accounts-value.js → esm2020/lib/db/Models/chart-accounts/chart-accounts-value.mjs} +0 -0
  176. package/{esm2015/lib/db/Models/chart-accounts/chart-accounts.js → esm2020/lib/db/Models/chart-accounts/chart-accounts.mjs} +0 -0
  177. package/{esm2015/lib/db/Models/country.js → esm2020/lib/db/Models/country.mjs} +0 -0
  178. package/{esm2015/lib/db/Models/depreciation/depreciation-capital-project.js → esm2020/lib/db/Models/depreciation/depreciation-capital-project.mjs} +0 -0
  179. package/{esm2015/lib/db/Models/depreciation/depreciation-forecast.js → esm2020/lib/db/Models/depreciation/depreciation-forecast.mjs} +0 -0
  180. package/{esm2015/lib/db/Models/depreciation/depreciation-receipt.js → esm2020/lib/db/Models/depreciation/depreciation-receipt.mjs} +0 -0
  181. package/{esm2015/lib/db/Models/depreciation/depreciation.js → esm2020/lib/db/Models/depreciation/depreciation.mjs} +0 -0
  182. package/{esm2015/lib/db/Models/document/document-base.js → esm2020/lib/db/Models/document/document-base.mjs} +0 -0
  183. package/{esm2015/lib/db/Models/document/document-folder.js → esm2020/lib/db/Models/document/document-folder.mjs} +0 -0
  184. package/{esm2015/lib/db/Models/document/document.js → esm2020/lib/db/Models/document/document.mjs} +0 -0
  185. package/{esm2015/lib/db/Models/document/property-document.js → esm2020/lib/db/Models/document/property-document.mjs} +0 -0
  186. package/{esm2015/lib/db/Models/file.js → esm2020/lib/db/Models/file.mjs} +0 -0
  187. package/{esm2015/lib/db/Models/firm/accountant/tax-review.js → esm2020/lib/db/Models/firm/accountant/tax-review.mjs} +0 -0
  188. package/{esm2015/lib/db/Models/firm/accountant/ticket.js → esm2020/lib/db/Models/firm/accountant/ticket.mjs} +0 -0
  189. package/{esm2015/lib/db/Models/firm/chat.js → esm2020/lib/db/Models/firm/chat.mjs} +0 -0
  190. package/{esm2015/lib/db/Models/firm/client-invite.js → esm2020/lib/db/Models/firm/client-invite.mjs} +0 -0
  191. package/{esm2015/lib/db/Models/firm/client-movement.js → esm2020/lib/db/Models/firm/client-movement.mjs} +0 -0
  192. package/{esm2015/lib/db/Models/firm/employee-invite.js → esm2020/lib/db/Models/firm/employee-invite.mjs} +0 -0
  193. package/{esm2015/lib/db/Models/firm/firm-invite.js → esm2020/lib/db/Models/firm/firm-invite.mjs} +0 -0
  194. package/{esm2015/lib/db/Models/firm/firm.js → esm2020/lib/db/Models/firm/firm.mjs} +0 -0
  195. package/{esm2015/lib/db/Models/firm/message-document.js → esm2020/lib/db/Models/firm/message-document.mjs} +0 -0
  196. package/{esm2015/lib/db/Models/firm/message.js → esm2020/lib/db/Models/firm/message.mjs} +0 -0
  197. package/{esm2015/lib/db/Models/incomeSource/income-source-forecast.js → esm2020/lib/db/Models/incomeSource/income-source-forecast.mjs} +0 -0
  198. package/{esm2015/lib/db/Models/incomeSource/income-source-type.js → esm2020/lib/db/Models/incomeSource/income-source-type.mjs} +0 -0
  199. package/{esm2015/lib/db/Models/incomeSource/income-source.js → esm2020/lib/db/Models/incomeSource/income-source.mjs} +0 -0
  200. package/{esm2015/lib/db/Models/incomeSource/salary-forecast.js → esm2020/lib/db/Models/incomeSource/salary-forecast.mjs} +0 -0
  201. package/{esm2015/lib/db/Models/index.js → esm2020/lib/db/Models/index.mjs} +0 -0
  202. package/{esm2015/lib/db/Models/loan/borrowing-expense-loan.js → esm2020/lib/db/Models/loan/borrowing-expense-loan.mjs} +0 -0
  203. package/{esm2015/lib/db/Models/loan/borrowing-expense.js → esm2020/lib/db/Models/loan/borrowing-expense.mjs} +0 -0
  204. package/{esm2015/lib/db/Models/loan/loan-payout.js → esm2020/lib/db/Models/loan/loan-payout.mjs} +0 -0
  205. package/{esm2015/lib/db/Models/loan/loan.js → esm2020/lib/db/Models/loan/loan.mjs} +0 -0
  206. package/{esm2015/lib/db/Models/observable-model.js → esm2020/lib/db/Models/observable-model.mjs} +0 -0
  207. package/{esm2015/lib/db/Models/phone.js → esm2020/lib/db/Models/phone.mjs} +0 -0
  208. package/{esm2015/lib/db/Models/property/property-category-movement.js → esm2020/lib/db/Models/property/property-category-movement.mjs} +0 -0
  209. package/{esm2015/lib/db/Models/property/property-category.js → esm2020/lib/db/Models/property/property-category.mjs} +0 -0
  210. package/{esm2015/lib/db/Models/property/property-forecast.js → esm2020/lib/db/Models/property/property-forecast.mjs} +0 -0
  211. package/{esm2015/lib/db/Models/property/property-sale/property-sale-tax-exemption-metadata.js → esm2020/lib/db/Models/property/property-sale/property-sale-tax-exemption-metadata.mjs} +0 -0
  212. package/{esm2015/lib/db/Models/property/property-sale/property-sale.js → esm2020/lib/db/Models/property/property-sale/property-sale.mjs} +0 -0
  213. package/{esm2015/lib/db/Models/property/property-sale/tax-exemption-metadata.js → esm2020/lib/db/Models/property/property-sale/tax-exemption-metadata.mjs} +0 -0
  214. package/{esm2015/lib/db/Models/property/property-sale/tax-exemption.js → esm2020/lib/db/Models/property/property-sale/tax-exemption.mjs} +0 -0
  215. package/{esm2015/lib/db/Models/property/property-share.js → esm2020/lib/db/Models/property/property-share.mjs} +0 -0
  216. package/{esm2015/lib/db/Models/property/property-subscription.js → esm2020/lib/db/Models/property/property-subscription.mjs} +0 -0
  217. package/{esm2015/lib/db/Models/property/property-valuation.js → esm2020/lib/db/Models/property/property-valuation.mjs} +0 -0
  218. package/{esm2015/lib/db/Models/property/property.js → esm2020/lib/db/Models/property/property.mjs} +0 -0
  219. package/{esm2015/lib/db/Models/service-notification.js → esm2020/lib/db/Models/service-notification.mjs} +0 -0
  220. package/{esm2015/lib/db/Models/sole/bas-report.js → esm2020/lib/db/Models/sole/bas-report.mjs} +0 -0
  221. package/{esm2015/lib/db/Models/sole/sole-business-activity.js → esm2020/lib/db/Models/sole/sole-business-activity.mjs} +0 -0
  222. package/{esm2015/lib/db/Models/sole/sole-business-allocation.js → esm2020/lib/db/Models/sole/sole-business-allocation.mjs} +0 -0
  223. package/{esm2015/lib/db/Models/sole/sole-business-loss-offset-rule.js → esm2020/lib/db/Models/sole/sole-business-loss-offset-rule.mjs} +0 -0
  224. package/{esm2015/lib/db/Models/sole/sole-business-loss.js → esm2020/lib/db/Models/sole/sole-business-loss.mjs} +0 -0
  225. package/{esm2015/lib/db/Models/sole/sole-business.js → esm2020/lib/db/Models/sole/sole-business.mjs} +0 -0
  226. package/{esm2015/lib/db/Models/sole/sole-contact.js → esm2020/lib/db/Models/sole/sole-contact.mjs} +0 -0
  227. package/{esm2015/lib/db/Models/sole/sole-depreciation-method.js → esm2020/lib/db/Models/sole/sole-depreciation-method.mjs} +0 -0
  228. package/{esm2015/lib/db/Models/sole/sole-details.js → esm2020/lib/db/Models/sole/sole-details.mjs} +0 -0
  229. package/{esm2015/lib/db/Models/sole/sole-forecast.js → esm2020/lib/db/Models/sole/sole-forecast.mjs} +0 -0
  230. package/{esm2015/lib/db/Models/sole/sole-invoice-item.js → esm2020/lib/db/Models/sole/sole-invoice-item.mjs} +0 -0
  231. package/{esm2015/lib/db/Models/sole/sole-invoice-template.js → esm2020/lib/db/Models/sole/sole-invoice-template.mjs} +0 -0
  232. package/{esm2015/lib/db/Models/sole/sole-invoice.js → esm2020/lib/db/Models/sole/sole-invoice.mjs} +0 -0
  233. package/{esm2015/lib/db/Models/spare/spare-document-category.js → esm2020/lib/db/Models/spare/spare-document-category.mjs} +0 -0
  234. package/{esm2015/lib/db/Models/spare/spare-document.js → esm2020/lib/db/Models/spare/spare-document.mjs} +0 -0
  235. package/{esm2015/lib/db/Models/subscription/service-payment.js → esm2020/lib/db/Models/subscription/service-payment.mjs} +0 -0
  236. package/{esm2015/lib/db/Models/subscription/service-price.js → esm2020/lib/db/Models/subscription/service-price.mjs} +0 -0
  237. package/{esm2015/lib/db/Models/subscription/service-product.js → esm2020/lib/db/Models/subscription/service-product.mjs} +0 -0
  238. package/{esm2015/lib/db/Models/subscription/service-subscription-item.js → esm2020/lib/db/Models/subscription/service-subscription-item.mjs} +0 -0
  239. package/{esm2015/lib/db/Models/subscription/service-subscription.js → esm2020/lib/db/Models/subscription/service-subscription.mjs} +0 -0
  240. package/{esm2015/lib/db/Models/tax-calculation.js → esm2020/lib/db/Models/tax-calculation.mjs} +0 -0
  241. package/{esm2015/lib/db/Models/tax-return/tax-return-category.js → esm2020/lib/db/Models/tax-return/tax-return-category.mjs} +0 -0
  242. package/{esm2015/lib/db/Models/tax-return/tax-return-item.js → esm2020/lib/db/Models/tax-return/tax-return-item.mjs} +0 -0
  243. package/{esm2015/lib/db/Models/tax-return/tax-return.js → esm2020/lib/db/Models/tax-return/tax-return.mjs} +0 -0
  244. package/{esm2015/lib/db/Models/transaction/transaction-allocation.js → esm2020/lib/db/Models/transaction/transaction-allocation.mjs} +0 -0
  245. package/esm2020/lib/db/Models/transaction/transaction-base.mjs +87 -0
  246. package/{esm2015/lib/db/Models/transaction/transaction-metadata.js → esm2020/lib/db/Models/transaction/transaction-metadata.mjs} +0 -0
  247. package/{esm2015/lib/db/Models/transaction/transaction-receipt.js → esm2020/lib/db/Models/transaction/transaction-receipt.mjs} +0 -0
  248. package/{esm2015/lib/db/Models/transaction/transaction.js → esm2020/lib/db/Models/transaction/transaction.mjs} +0 -0
  249. package/{esm2015/lib/db/Models/user/client-details.js → esm2020/lib/db/Models/user/client-details.mjs} +0 -0
  250. package/{esm2015/lib/db/Models/user/client-income-types.js → esm2020/lib/db/Models/user/client-income-types.mjs} +0 -0
  251. package/{esm2015/lib/db/Models/user/employee-details.js → esm2020/lib/db/Models/user/employee-details.mjs} +0 -0
  252. package/{esm2015/lib/db/Models/user/occupation.js → esm2020/lib/db/Models/user/occupation.mjs} +0 -0
  253. package/{esm2015/lib/db/Models/user/registration-invite.js → esm2020/lib/db/Models/user/registration-invite.mjs} +0 -0
  254. package/{esm2015/lib/db/Models/user/user-event-setting.js → esm2020/lib/db/Models/user/user-event-setting.mjs} +0 -0
  255. package/{esm2015/lib/db/Models/user/user-event-type-category.js → esm2020/lib/db/Models/user/user-event-type-category.mjs} +0 -0
  256. package/{esm2015/lib/db/Models/user/user-event-type.js → esm2020/lib/db/Models/user/user-event-type.mjs} +0 -0
  257. package/{esm2015/lib/db/Models/user/user-event.js → esm2020/lib/db/Models/user/user-event.mjs} +0 -0
  258. package/{esm2015/lib/db/Models/user/user.js → esm2020/lib/db/Models/user/user.mjs} +0 -0
  259. package/{esm2015/lib/db/Models/vehicle/vehicle-claim-details.js → esm2020/lib/db/Models/vehicle/vehicle-claim-details.mjs} +0 -0
  260. package/{esm2015/lib/db/Models/vehicle/vehicle-claim.js → esm2020/lib/db/Models/vehicle/vehicle-claim.mjs} +0 -0
  261. package/{esm2015/lib/db/Models/vehicle/vehicle-logbook.js → esm2020/lib/db/Models/vehicle/vehicle-logbook.mjs} +0 -0
  262. package/{esm2015/lib/db/Models/vehicle/vehicle.js → esm2020/lib/db/Models/vehicle/vehicle.mjs} +0 -0
  263. package/esm2020/lib/forms/abstract.form.mjs +69 -0
  264. package/esm2020/lib/forms/address/address.form.mjs +188 -0
  265. package/{esm2015/lib/forms/address/index.js → esm2020/lib/forms/address/index.mjs} +0 -0
  266. package/esm2020/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +46 -0
  267. package/esm2020/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +45 -0
  268. package/{esm2015/lib/forms/bank/bank-account/bank-account-import.form.js → esm2020/lib/forms/bank/bank-account/bank-account-import.form.mjs} +0 -0
  269. package/esm2020/lib/forms/bank/bank-account/bank-account-properties.form.mjs +66 -0
  270. package/esm2020/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +50 -0
  271. package/esm2020/lib/forms/bank/bank-login.form.mjs +19 -0
  272. package/esm2020/lib/forms/client/client-income-types.form.mjs +17 -0
  273. package/esm2020/lib/forms/depreciation/depreciation.form.mjs +38 -0
  274. package/{esm2015/lib/forms/depreciation/index.js → esm2020/lib/forms/depreciation/index.mjs} +0 -0
  275. package/{esm2015/lib/forms/form-validations.enum.js → esm2020/lib/forms/form-validations.enum.mjs} +0 -0
  276. package/{esm2015/lib/forms/index.js → esm2020/lib/forms/index.mjs} +0 -0
  277. package/{esm2015/lib/forms/loan/index.js → esm2020/lib/forms/loan/index.mjs} +0 -0
  278. package/esm2020/lib/forms/loan/loan.form.mjs +90 -0
  279. package/esm2020/lib/forms/login/login.form.mjs +11 -0
  280. package/{esm2015/lib/forms/phone/index.js → esm2020/lib/forms/phone/index.mjs} +0 -0
  281. package/esm2020/lib/forms/phone/phone.form.mjs +18 -0
  282. package/{esm2015/lib/forms/property/index.js → esm2020/lib/forms/property/index.mjs} +0 -0
  283. package/{esm2015/lib/forms/property/property-sale/index.js → esm2020/lib/forms/property/property-sale/index.mjs} +0 -0
  284. package/esm2020/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +39 -0
  285. package/esm2020/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +80 -0
  286. package/esm2020/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +74 -0
  287. package/esm2020/lib/forms/register/register-client.form.mjs +19 -0
  288. package/esm2020/lib/forms/register/register-firm.form.mjs +22 -0
  289. package/{esm2015/lib/forms/report/my-tax/index.js → esm2020/lib/forms/report/my-tax/index.mjs} +0 -0
  290. package/esm2020/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +31 -0
  291. package/esm2020/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +81 -0
  292. package/{esm2015/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.js → esm2020/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs} +0 -0
  293. package/esm2020/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +79 -0
  294. package/esm2020/lib/forms/report/my-tax/my-tax-cgt.form.mjs +25 -0
  295. package/esm2020/lib/forms/report/my-tax/my-tax-deductions.form.mjs +85 -0
  296. package/esm2020/lib/forms/report/my-tax/my-tax-dividends.form.mjs +23 -0
  297. package/esm2020/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +92 -0
  298. package/{esm2015/lib/forms/report/my-tax/my-tax-income-tests.form.js → esm2020/lib/forms/report/my-tax/my-tax-income-tests.form.mjs} +0 -0
  299. package/esm2020/lib/forms/report/my-tax/my-tax-interest.form.mjs +12 -0
  300. package/esm2020/lib/forms/report/my-tax/my-tax-losses.form.mjs +11 -0
  301. package/esm2020/lib/forms/report/my-tax/my-tax-medicare.form.mjs +33 -0
  302. package/{esm2015/lib/forms/report/my-tax/my-tax-offsets.form.js → esm2020/lib/forms/report/my-tax/my-tax-offsets.form.mjs} +0 -0
  303. package/esm2020/lib/forms/report/my-tax/my-tax-other-income.form.mjs +43 -0
  304. package/esm2020/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +37 -0
  305. package/esm2020/lib/forms/report/my-tax/my-tax-rent.form.mjs +13 -0
  306. package/esm2020/lib/forms/sole/bas-report.form.mjs +58 -0
  307. package/{esm2015/lib/forms/sole/index.js → esm2020/lib/forms/sole/index.mjs} +0 -0
  308. package/esm2020/lib/forms/sole/sole-business-allocations.form.mjs +66 -0
  309. package/esm2020/lib/forms/sole/sole-business-loss.form.mjs +24 -0
  310. package/esm2020/lib/forms/sole/sole-business.form.mjs +69 -0
  311. package/esm2020/lib/forms/sole/sole-contact.form.mjs +18 -0
  312. package/esm2020/lib/forms/sole/sole-depreciation-method.form.mjs +10 -0
  313. package/esm2020/lib/forms/sole/sole-details.form.mjs +12 -0
  314. package/esm2020/lib/forms/sole/sole-invoice-item.form.mjs +15 -0
  315. package/esm2020/lib/forms/sole/sole-invoice-template.form.mjs +15 -0
  316. package/esm2020/lib/forms/sole/sole-invoice.form.mjs +158 -0
  317. package/{esm2015/lib/forms/transaction/index.js → esm2020/lib/forms/transaction/index.mjs} +0 -0
  318. package/{esm2015/lib/forms/transaction/messages.enum.js → esm2020/lib/forms/transaction/messages.enum.mjs} +0 -0
  319. package/esm2020/lib/forms/transaction/transaction-base.form.mjs +98 -0
  320. package/esm2020/lib/forms/transaction/transaction.form.mjs +64 -0
  321. package/{esm2015/lib/forms/transaction/work/work-expense.form.js → esm2020/lib/forms/transaction/work/work-expense.form.mjs} +0 -0
  322. package/esm2020/lib/forms/transaction/work/work-income.form.mjs +86 -0
  323. package/{esm2015/lib/forms/transaction/work/work-transaction.form.js → esm2020/lib/forms/transaction/work/work-transaction.form.mjs} +0 -0
  324. package/{esm2015/lib/forms/user/index.js → esm2020/lib/forms/user/index.mjs} +0 -0
  325. package/esm2020/lib/forms/user/password.form.mjs +14 -0
  326. package/esm2020/lib/forms/user/reset-password.form.mjs +11 -0
  327. package/esm2020/lib/forms/user/user-invite.form.mjs +16 -0
  328. package/{esm2015/lib/forms/vehicle/index.js → esm2020/lib/forms/vehicle/index.mjs} +0 -0
  329. package/esm2020/lib/forms/vehicle/vehicle-claim-details.form.mjs +17 -0
  330. package/esm2020/lib/forms/vehicle/vehicle-claim.form.mjs +30 -0
  331. package/esm2020/lib/forms/vehicle/vehicle-logbook.form.mjs +63 -0
  332. package/esm2020/lib/forms/vehicle/vehicle.form.mjs +17 -0
  333. package/{esm2015/lib/functions/array/index.js → esm2020/lib/functions/array/index.mjs} +0 -0
  334. package/{esm2015/lib/functions/array/replace.js → esm2020/lib/functions/array/replace.mjs} +0 -0
  335. package/{esm2015/lib/functions/array/sort-deep.js → esm2020/lib/functions/array/sort-deep.mjs} +0 -0
  336. package/{esm2015/lib/functions/array/sort.js → esm2020/lib/functions/array/sort.mjs} +0 -0
  337. package/{esm2015/lib/functions/array/to-array.js → esm2020/lib/functions/array/to-array.mjs} +0 -0
  338. package/{esm2015/lib/functions/clone-deep.js → esm2020/lib/functions/clone-deep.mjs} +0 -0
  339. package/{esm2015/lib/functions/create-date.js → esm2020/lib/functions/create-date.mjs} +0 -0
  340. package/{esm2015/lib/functions/enum-to-list.js → esm2020/lib/functions/enum-to-list.mjs} +0 -0
  341. package/{esm2015/lib/functions/get-doc-icon.js → esm2020/lib/functions/get-doc-icon.mjs} +0 -0
  342. package/{esm2015/lib/functions/mat-options-functions.js → esm2020/lib/functions/mat-options-functions.mjs} +0 -0
  343. package/{esm2015/lib/functions/mat-sort-options.js → esm2020/lib/functions/mat-sort-options.mjs} +0 -0
  344. package/{esm2015/lib/functions/round-to.js → esm2020/lib/functions/round-to.mjs} +0 -0
  345. package/{esm2015/lib/functions/tax-review-filter-predicate.js → esm2020/lib/functions/tax-review-filter-predicate.mjs} +0 -0
  346. package/{esm2015/lib/interceptors/basiq-client-id.interceptor.js → esm2020/lib/interceptors/basiq-client-id.interceptor.mjs} +4 -4
  347. package/{esm2015/lib/interceptors/basiq-token.interceptor.js → esm2020/lib/interceptors/basiq-token.interceptor.mjs} +4 -4
  348. package/{esm2015/lib/interceptors/corelogic-interceptor.js → esm2020/lib/interceptors/corelogic-interceptor.mjs} +4 -4
  349. package/{esm2015/lib/interceptors/financial-year-interceptor.js → esm2020/lib/interceptors/financial-year-interceptor.mjs} +4 -4
  350. package/{esm2015/lib/interceptors/interceptors.module.js → esm2020/lib/interceptors/interceptors.module.mjs} +5 -5
  351. package/esm2020/lib/interceptors/jwt-interceptor.mjs +141 -0
  352. package/{esm2015/lib/interceptors/preloader.interceptor.js → esm2020/lib/interceptors/preloader.interceptor.mjs} +4 -4
  353. package/{esm2015/lib/interceptors/user-switcher-interceptor.js → esm2020/lib/interceptors/user-switcher-interceptor.mjs} +4 -4
  354. package/{esm2015/lib/interfaces/asset-entity-type.enum.js → esm2020/lib/interfaces/asset-entity-type.enum.mjs} +0 -0
  355. package/{esm2015/lib/interfaces/asset-type.enum.js → esm2020/lib/interfaces/asset-type.enum.mjs} +0 -0
  356. package/{esm2015/lib/interfaces/asset.interface.js → esm2020/lib/interfaces/asset.interface.mjs} +0 -0
  357. package/{esm2015/lib/interfaces/auth-tokens.interface.js → esm2020/lib/interfaces/auth-tokens.interface.mjs} +0 -0
  358. package/{esm2015/lib/interfaces/chart-data.interface.js → esm2020/lib/interfaces/chart-data.interface.mjs} +0 -0
  359. package/{esm2015/lib/interfaces/chart-serie.interface.js → esm2020/lib/interfaces/chart-serie.interface.mjs} +0 -0
  360. package/{esm2015/lib/interfaces/document.interface.js → esm2020/lib/interfaces/document.interface.mjs} +0 -0
  361. package/{esm2015/lib/interfaces/documentable.interface.js → esm2020/lib/interfaces/documentable.interface.mjs} +0 -0
  362. package/{esm2015/lib/interfaces/event-listener.interface.js → esm2020/lib/interfaces/event-listener.interface.mjs} +0 -0
  363. package/{esm2015/lib/interfaces/expense.interface.js → esm2020/lib/interfaces/expense.interface.mjs} +0 -0
  364. package/{esm2015/lib/interfaces/income-source-forecast.interface.js → esm2020/lib/interfaces/income-source-forecast.interface.mjs} +0 -0
  365. package/{esm2015/lib/interfaces/index.js → esm2020/lib/interfaces/index.mjs} +0 -0
  366. package/{esm2015/lib/interfaces/option.interface.js → esm2020/lib/interfaces/option.interface.mjs} +0 -0
  367. package/{esm2015/lib/interfaces/photoable.js → esm2020/lib/interfaces/photoable.mjs} +0 -0
  368. package/{esm2015/lib/interfaces/receipt.interface.js → esm2020/lib/interfaces/receipt.interface.mjs} +0 -0
  369. package/{esm2015/lib/interfaces/table-exportable.interface.js → esm2020/lib/interfaces/table-exportable.interface.mjs} +0 -0
  370. package/{esm2015/lib/interfaces/tank.interface.js → esm2020/lib/interfaces/tank.interface.mjs} +0 -0
  371. package/{esm2015/lib/interfaces/updatable.interface.js → esm2020/lib/interfaces/updatable.interface.mjs} +0 -0
  372. package/{esm2015/lib/models/account-setup/account-setup-item.js → esm2020/lib/models/account-setup/account-setup-item.mjs} +0 -0
  373. package/{esm2015/lib/models/account-setup/account-setup-items.const.js → esm2020/lib/models/account-setup/account-setup-items.const.mjs} +0 -0
  374. package/{esm2015/lib/models/account-setup/account-setup-items.enum.js → esm2020/lib/models/account-setup/account-setup-items.enum.mjs} +0 -0
  375. package/{esm2015/lib/models/address/address.js → esm2020/lib/models/address/address.mjs} +0 -0
  376. package/{esm2015/lib/models/address/country.js → esm2020/lib/models/address/country.mjs} +0 -0
  377. package/{esm2015/lib/models/address/index.js → esm2020/lib/models/address/index.mjs} +0 -0
  378. package/{esm2015/lib/models/address/states.enum.js → esm2020/lib/models/address/states.enum.mjs} +0 -0
  379. package/{esm2015/lib/models/badge/badge-color.enum.js → esm2020/lib/models/badge/badge-color.enum.mjs} +0 -0
  380. package/{esm2015/lib/models/badge/badge.js → esm2020/lib/models/badge/badge.mjs} +0 -0
  381. package/{esm2015/lib/models/bank/allocation-group.js → esm2020/lib/models/bank/allocation-group.mjs} +0 -0
  382. package/{esm2015/lib/models/bank/bank-account-chart-data.js → esm2020/lib/models/bank/bank-account-chart-data.mjs} +0 -0
  383. package/{esm2015/lib/models/bank/bank-account-property.js → esm2020/lib/models/bank/bank-account-property.mjs} +0 -0
  384. package/{esm2015/lib/models/bank/bank-account-types.const.js → esm2020/lib/models/bank/bank-account-types.const.mjs} +0 -0
  385. package/esm2020/lib/models/bank/bank-account.mjs +170 -0
  386. package/{esm2015/lib/models/bank/bank-connection.js → esm2020/lib/models/bank/bank-connection.mjs} +0 -0
  387. package/{esm2015/lib/models/bank/bank-external-stats.js → esm2020/lib/models/bank/bank-external-stats.mjs} +0 -0
  388. package/{esm2015/lib/models/bank/bank-login-data.js → esm2020/lib/models/bank/bank-login-data.mjs} +0 -0
  389. package/{esm2015/lib/models/bank/bank-transaction-chart-data.js → esm2020/lib/models/bank/bank-transaction-chart-data.mjs} +0 -0
  390. package/{esm2015/lib/models/bank/bank-transaction-summary-fields.enum.js → esm2020/lib/models/bank/bank-transaction-summary-fields.enum.mjs} +0 -0
  391. package/{esm2015/lib/models/bank/bank-transaction.js → esm2020/lib/models/bank/bank-transaction.mjs} +0 -0
  392. package/{esm2015/lib/models/bank/bank.js → esm2020/lib/models/bank/bank.mjs} +0 -0
  393. package/{esm2015/lib/models/bank/basiq/basiq-config.js → esm2020/lib/models/bank/basiq/basiq-config.mjs} +0 -0
  394. package/{esm2015/lib/models/bank/basiq/basiq-connection-data.interface.js → esm2020/lib/models/bank/basiq/basiq-connection-data.interface.mjs} +0 -0
  395. package/{esm2015/lib/models/bank/basiq/basiq-connections-response.interface.js → esm2020/lib/models/bank/basiq/basiq-connections-response.interface.mjs} +0 -0
  396. package/{esm2015/lib/models/bank/basiq/basiq-job-response.js → esm2020/lib/models/bank/basiq/basiq-job-response.mjs} +0 -0
  397. package/{esm2015/lib/models/bank/basiq/basiq-job-step.js → esm2020/lib/models/bank/basiq/basiq-job-step.mjs} +0 -0
  398. package/{esm2015/lib/models/bank/basiq/basiq-job.js → esm2020/lib/models/bank/basiq/basiq-job.mjs} +0 -0
  399. package/{esm2015/lib/models/bank/basiq/basiq-token-response.interface.js → esm2020/lib/models/bank/basiq/basiq-token-response.interface.mjs} +0 -0
  400. package/{esm2015/lib/models/bank/basiq/basiq-token.js → esm2020/lib/models/bank/basiq/basiq-token.mjs} +0 -0
  401. package/{esm2015/lib/models/bank/basiq/index.js → esm2020/lib/models/bank/basiq/index.mjs} +0 -0
  402. package/{esm2015/lib/models/bank/index.js → esm2020/lib/models/bank/index.mjs} +0 -0
  403. package/{esm2015/lib/models/bank/type-loan.const.js → esm2020/lib/models/bank/type-loan.const.mjs} +0 -0
  404. package/{esm2015/lib/models/borrowing-expense/borrowing-expense-loan.js → esm2020/lib/models/borrowing-expense/borrowing-expense-loan.mjs} +0 -0
  405. package/{esm2015/lib/models/borrowing-expense/borrowing-expense.js → esm2020/lib/models/borrowing-expense/borrowing-expense.mjs} +0 -0
  406. package/{esm2015/lib/models/borrowing-expense/index.js → esm2020/lib/models/borrowing-expense/index.mjs} +0 -0
  407. package/{esm2015/lib/models/chart/chart-data.js → esm2020/lib/models/chart/chart-data.mjs} +0 -0
  408. package/{esm2015/lib/models/chart/chart-serie.js → esm2020/lib/models/chart/chart-serie.mjs} +0 -0
  409. package/{esm2015/lib/models/chart-accounts/chart-accounts-categories.const.js → esm2020/lib/models/chart-accounts/chart-accounts-categories.const.mjs} +0 -0
  410. package/{esm2015/lib/models/chart-accounts/chart-accounts-category.e-collection.js → esm2020/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs} +0 -0
  411. package/{esm2015/lib/models/chart-accounts/chart-accounts-depreciation.js → esm2020/lib/models/chart-accounts/chart-accounts-depreciation.mjs} +0 -0
  412. package/{esm2015/lib/models/chart-accounts/chart-accounts-heading.js → esm2020/lib/models/chart-accounts/chart-accounts-heading.mjs} +0 -0
  413. package/{esm2015/lib/models/chart-accounts/chart-accounts-metadata.js → esm2020/lib/models/chart-accounts/chart-accounts-metadata.mjs} +0 -0
  414. package/{esm2015/lib/models/chart-accounts/chart-accounts-tax-labels.enum.js → esm2020/lib/models/chart-accounts/chart-accounts-tax-labels.enum.mjs} +0 -0
  415. package/{esm2015/lib/models/chart-accounts/chart-accounts-value.js → esm2020/lib/models/chart-accounts/chart-accounts-value.mjs} +0 -0
  416. package/esm2020/lib/models/chart-accounts/chart-accounts.mjs +213 -0
  417. package/{esm2015/lib/models/chart-accounts/index.js → esm2020/lib/models/chart-accounts/index.mjs} +0 -0
  418. package/{esm2015/lib/models/chat/chat-view-type.enum.js → esm2020/lib/models/chat/chat-view-type.enum.mjs} +0 -0
  419. package/{esm2015/lib/models/chat/chat.js → esm2020/lib/models/chat/chat.mjs} +0 -0
  420. package/{esm2015/lib/models/chat/index.js → esm2020/lib/models/chat/index.mjs} +0 -0
  421. package/{esm2015/lib/models/chat/message-document.js → esm2020/lib/models/chat/message-document.mjs} +0 -0
  422. package/{esm2015/lib/models/chat/message.js → esm2020/lib/models/chat/message.mjs} +0 -0
  423. package/{esm2015/lib/models/client/client-details.js → esm2020/lib/models/client/client-details.mjs} +0 -0
  424. package/{esm2015/lib/models/client/client-income-types.js → esm2020/lib/models/client/client-income-types.mjs} +0 -0
  425. package/esm2020/lib/models/client/client-invite.mjs +65 -0
  426. package/{esm2015/lib/models/client/client-movement.js → esm2020/lib/models/client/client-movement.mjs} +0 -0
  427. package/{esm2015/lib/models/client/client-portfolio-chart-data.js → esm2020/lib/models/client/client-portfolio-chart-data.mjs} +0 -0
  428. package/{esm2015/lib/models/client/client-portfolio-report.js → esm2020/lib/models/client/client-portfolio-report.mjs} +0 -0
  429. package/{esm2015/lib/models/color/alphabet-colors.enum.js → esm2020/lib/models/color/alphabet-colors.enum.mjs} +0 -0
  430. package/{esm2015/lib/models/depreciation/depreciation-capital-project.js → esm2020/lib/models/depreciation/depreciation-capital-project.mjs} +0 -0
  431. package/{esm2015/lib/models/depreciation/depreciation-forecast.js → esm2020/lib/models/depreciation/depreciation-forecast.mjs} +0 -0
  432. package/{esm2015/lib/models/depreciation/depreciation-group-item.js → esm2020/lib/models/depreciation/depreciation-group-item.mjs} +0 -0
  433. package/{esm2015/lib/models/depreciation/depreciation-group.enum.js → esm2020/lib/models/depreciation/depreciation-group.enum.mjs} +0 -0
  434. package/{esm2015/lib/models/depreciation/depreciation-group.js → esm2020/lib/models/depreciation/depreciation-group.mjs} +0 -0
  435. package/{esm2015/lib/models/depreciation/depreciation-groups.const.js → esm2020/lib/models/depreciation/depreciation-groups.const.mjs} +0 -0
  436. package/{esm2015/lib/models/depreciation/depreciation-lvp-rate.enum.js → esm2020/lib/models/depreciation/depreciation-lvp-rate.enum.mjs} +0 -0
  437. package/{esm2015/lib/models/depreciation/depreciation-receipt.js → esm2020/lib/models/depreciation/depreciation-receipt.mjs} +0 -0
  438. package/esm2020/lib/models/depreciation/depreciation.mjs +191 -0
  439. package/{esm2015/lib/models/depreciation/index.js → esm2020/lib/models/depreciation/index.mjs} +0 -0
  440. package/{esm2015/lib/models/dictionary/dictionary.js → esm2020/lib/models/dictionary/dictionary.mjs} +0 -0
  441. package/{esm2015/lib/models/dictionary/index.js → esm2020/lib/models/dictionary/index.mjs} +0 -0
  442. package/{esm2015/lib/models/document/document-api-url-prefix.enum.js → esm2020/lib/models/document/document-api-url-prefix.enum.mjs} +0 -0
  443. package/{esm2015/lib/models/document/document-file-types.const.js → esm2020/lib/models/document/document-file-types.const.mjs} +0 -0
  444. package/{esm2015/lib/models/document/document-folder.js → esm2020/lib/models/document/document-folder.mjs} +0 -0
  445. package/{esm2015/lib/models/document/document.js → esm2020/lib/models/document/document.mjs} +0 -0
  446. package/{esm2015/lib/models/document/index.js → esm2020/lib/models/document/index.mjs} +0 -0
  447. package/{esm2015/lib/models/employee/employee-details.js → esm2020/lib/models/employee/employee-details.mjs} +0 -0
  448. package/{esm2015/lib/models/employee/employee-invite.js → esm2020/lib/models/employee/employee-invite.mjs} +0 -0
  449. package/{esm2015/lib/models/endpoint/endpoint.js → esm2020/lib/models/endpoint/endpoint.mjs} +0 -0
  450. package/{esm2015/lib/models/endpoint/endpoints.const.js → esm2020/lib/models/endpoint/endpoints.const.mjs} +0 -0
  451. package/{esm2015/lib/models/event/app-event-type.enum.js → esm2020/lib/models/event/app-event-type.enum.mjs} +0 -0
  452. package/{esm2015/lib/models/event/app-event.js → esm2020/lib/models/event/app-event.mjs} +0 -0
  453. package/{esm2015/lib/models/event/index.js → esm2020/lib/models/event/index.mjs} +0 -0
  454. package/{esm2015/lib/models/export/export-cell-type.enum.js → esm2020/lib/models/export/export-cell-type.enum.mjs} +0 -0
  455. package/{esm2015/lib/models/export/export-cell.js → esm2020/lib/models/export/export-cell.mjs} +0 -0
  456. package/{esm2015/lib/models/export/export-data-table.js → esm2020/lib/models/export/export-data-table.mjs} +0 -0
  457. package/{esm2015/lib/models/export/export-format.enum.js → esm2020/lib/models/export/export-format.enum.mjs} +0 -0
  458. package/{esm2015/lib/models/export/export-row-data-type.enum.js → esm2020/lib/models/export/export-row-data-type.enum.mjs} +0 -0
  459. package/{esm2015/lib/models/export/export-row.js → esm2020/lib/models/export/export-row.mjs} +0 -0
  460. package/{esm2015/lib/models/file/file.js → esm2020/lib/models/file/file.mjs} +0 -0
  461. package/{esm2015/lib/models/file/icons-file.enum.js → esm2020/lib/models/file/icons-file.enum.mjs} +0 -0
  462. package/{esm2015/lib/models/file/index.js → esm2020/lib/models/file/index.mjs} +0 -0
  463. package/{esm2015/lib/models/financial-year/financial-year.js → esm2020/lib/models/financial-year/financial-year.mjs} +0 -0
  464. package/{esm2015/lib/models/financial-year/index.js → esm2020/lib/models/financial-year/index.mjs} +0 -0
  465. package/{esm2015/lib/models/financial-year/month-name-short.enum.js → esm2020/lib/models/financial-year/month-name-short.enum.mjs} +0 -0
  466. package/{esm2015/lib/models/financial-year/month-number.enum.js → esm2020/lib/models/financial-year/month-number.enum.mjs} +0 -0
  467. package/{esm2015/lib/models/financial-year/months.const.js → esm2020/lib/models/financial-year/months.const.mjs} +0 -0
  468. package/{esm2015/lib/models/firm/firm.js → esm2020/lib/models/firm/firm.mjs} +0 -0
  469. package/{esm2015/lib/models/income-position/income-position.js → esm2020/lib/models/income-position/income-position.mjs} +0 -0
  470. package/{esm2015/lib/models/income-source/income-source-chart-data.js → esm2020/lib/models/income-source/income-source-chart-data.mjs} +0 -0
  471. package/{esm2015/lib/models/income-source/income-source-forecast.js → esm2020/lib/models/income-source/income-source-forecast.mjs} +0 -0
  472. package/{esm2015/lib/models/income-source/income-source-type.js → esm2020/lib/models/income-source/income-source-type.mjs} +0 -0
  473. package/{esm2015/lib/models/income-source/income-source.js → esm2020/lib/models/income-source/income-source.mjs} +0 -0
  474. package/{esm2015/lib/models/income-source/salary-forecast.js → esm2020/lib/models/income-source/salary-forecast.mjs} +0 -0
  475. package/{esm2015/lib/models/income-source/sole-forecast.js → esm2020/lib/models/income-source/sole-forecast.mjs} +0 -0
  476. package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +0 -0
  477. package/{esm2015/lib/models/loan/index.js → esm2020/lib/models/loan/index.mjs} +0 -0
  478. package/{esm2015/lib/models/loan/loan-max-number-of-payments.enum.js → esm2020/lib/models/loan/loan-max-number-of-payments.enum.mjs} +0 -0
  479. package/{esm2015/lib/models/loan/loan-payment.js → esm2020/lib/models/loan/loan-payment.mjs} +0 -0
  480. package/{esm2015/lib/models/loan/loan-payout.js → esm2020/lib/models/loan/loan-payout.mjs} +0 -0
  481. package/{esm2015/lib/models/loan/loan.js → esm2020/lib/models/loan/loan.mjs} +0 -0
  482. package/{esm2015/lib/models/notification/index.js → esm2020/lib/models/notification/index.mjs} +0 -0
  483. package/{esm2015/lib/models/notification/notification.js → esm2020/lib/models/notification/notification.mjs} +0 -0
  484. package/{esm2015/lib/models/pdf/pdf-orientation.enum.js → esm2020/lib/models/pdf/pdf-orientation.enum.mjs} +0 -0
  485. package/{esm2015/lib/models/pdf/pdf-settings.js → esm2020/lib/models/pdf/pdf-settings.mjs} +0 -0
  486. package/{esm2015/lib/models/phone/phone.js → esm2020/lib/models/phone/phone.mjs} +0 -0
  487. package/{esm2015/lib/models/property/calculation-form-item.js → esm2020/lib/models/property/calculation-form-item.mjs} +0 -0
  488. package/{esm2015/lib/models/property/calculation-form-type.enum.js → esm2020/lib/models/property/calculation-form-type.enum.mjs} +0 -0
  489. package/{esm2015/lib/models/property/capital-costs-itmes.const.js → esm2020/lib/models/property/capital-costs-itmes.const.mjs} +0 -0
  490. package/{esm2015/lib/models/property/corelogic-suggestion.js → esm2020/lib/models/property/corelogic-suggestion.mjs} +0 -0
  491. package/{esm2015/lib/models/property/index.js → esm2020/lib/models/property/index.mjs} +0 -0
  492. package/{esm2015/lib/models/property/property-category-movement.js → esm2020/lib/models/property/property-category-movement.mjs} +0 -0
  493. package/{esm2015/lib/models/property/property-category.js → esm2020/lib/models/property/property-category.mjs} +0 -0
  494. package/{esm2015/lib/models/property/property-document.js → esm2020/lib/models/property/property-document.mjs} +0 -0
  495. package/esm2020/lib/models/property/property-equity-chart-data.mjs +164 -0
  496. package/{esm2015/lib/models/property/property-equity-chart-item.js → esm2020/lib/models/property/property-equity-chart-item.mjs} +0 -0
  497. package/{esm2015/lib/models/property/property-equity-chart-type.enum.js → esm2020/lib/models/property/property-equity-chart-type.enum.mjs} +0 -0
  498. package/{esm2015/lib/models/property/property-forecast.js → esm2020/lib/models/property/property-forecast.mjs} +0 -0
  499. package/{esm2015/lib/models/property/property-sale/index.js → esm2020/lib/models/property/property-sale/index.mjs} +0 -0
  500. package/esm2020/lib/models/property/property-sale/property-sale-cost-base.mjs +19 -0
  501. package/{esm2015/lib/models/property/property-sale/property-sale-tax-exemption-metadata.js → esm2020/lib/models/property/property-sale/property-sale-tax-exemption-metadata.mjs} +0 -0
  502. package/esm2020/lib/models/property/property-sale/property-sale.mjs +42 -0
  503. package/{esm2015/lib/models/property/property-sale/tax-exemption-metadata.js → esm2020/lib/models/property/property-sale/tax-exemption-metadata.mjs} +0 -0
  504. package/{esm2015/lib/models/property/property-sale/tax-exemption.js → esm2020/lib/models/property/property-sale/tax-exemption.mjs} +0 -0
  505. package/esm2020/lib/models/property/property-share.mjs +47 -0
  506. package/{esm2015/lib/models/property/property-subscription.js → esm2020/lib/models/property/property-subscription.mjs} +0 -0
  507. package/{esm2015/lib/models/property/property-valuation.js → esm2020/lib/models/property/property-valuation.mjs} +0 -0
  508. package/esm2020/lib/models/property/property.mjs +242 -0
  509. package/{esm2015/lib/models/property/share-filter-options.enum.js → esm2020/lib/models/property/share-filter-options.enum.mjs} +0 -0
  510. package/{esm2015/lib/models/registration-invite/registration-invite.js → esm2020/lib/models/registration-invite/registration-invite.mjs} +0 -0
  511. package/{esm2015/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.js → esm2020/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs} +0 -0
  512. package/{esm2015/lib/models/report/depreciation/depreciation-lvp-report-item.js → esm2020/lib/models/report/depreciation/depreciation-lvp-report-item.mjs} +0 -0
  513. package/{esm2015/lib/models/report/depreciation/depreciation-report-item.js → esm2020/lib/models/report/depreciation/depreciation-report-item.mjs} +0 -0
  514. package/{esm2015/lib/models/report/depreciation/index.js → esm2020/lib/models/report/depreciation/index.mjs} +0 -0
  515. package/{esm2015/lib/models/report/index.js → esm2020/lib/models/report/index.mjs} +0 -0
  516. package/{esm2015/lib/models/report/my-tax/ato-links.js → esm2020/lib/models/report/my-tax/ato-links.mjs} +0 -0
  517. package/{esm2015/lib/models/report/my-tax/index.js → esm2020/lib/models/report/my-tax/index.mjs} +0 -0
  518. package/{esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.js → esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs} +0 -0
  519. package/{esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.js → esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs} +0 -0
  520. package/{esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.js → esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs} +0 -0
  521. package/esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +15 -0
  522. package/{esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.js → esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs} +0 -0
  523. package/{esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.js → esm2020/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs} +0 -0
  524. package/{esm2015/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.js → esm2020/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs} +0 -0
  525. package/{esm2015/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.js → esm2020/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs} +0 -0
  526. package/{esm2015/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.js → esm2020/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs} +0 -0
  527. package/{esm2015/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.js → esm2020/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs} +0 -0
  528. package/{esm2015/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.js → esm2020/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs} +0 -0
  529. package/{esm2015/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.js → esm2020/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs} +0 -0
  530. package/{esm2015/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.js → esm2020/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs} +0 -0
  531. package/{esm2015/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.js → esm2020/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs} +0 -0
  532. package/{esm2015/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.js → esm2020/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs} +0 -0
  533. package/{esm2015/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.js → esm2020/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs} +0 -0
  534. package/{esm2015/lib/models/report/my-tax/my-tax-interest/my-tax-interest.js → esm2020/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs} +0 -0
  535. package/{esm2015/lib/models/report/my-tax/my-tax-losses/my-tax-losses.js → esm2020/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs} +0 -0
  536. package/{esm2015/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.js → esm2020/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs} +0 -0
  537. package/{esm2015/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.js → esm2020/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs} +0 -0
  538. package/{esm2015/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.js → esm2020/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs} +0 -0
  539. package/esm2020/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +47 -0
  540. package/{esm2015/lib/models/report/property/index.js → esm2020/lib/models/report/property/index.mjs} +0 -0
  541. package/{esm2015/lib/models/report/property/property-report-item-depreciation.js → esm2020/lib/models/report/property/property-report-item-depreciation.mjs} +0 -0
  542. package/{esm2015/lib/models/report/property/property-report-item-transaction.js → esm2020/lib/models/report/property/property-report-item-transaction.mjs} +0 -0
  543. package/{esm2015/lib/models/report/property/property-report-item.js → esm2020/lib/models/report/property/property-report-item.mjs} +0 -0
  544. package/{esm2015/lib/models/report/sole/index.js → esm2020/lib/models/report/sole/index.mjs} +0 -0
  545. package/{esm2015/lib/models/report/sole/sole-business/sole-business-loss-report.js → esm2020/lib/models/report/sole/sole-business/sole-business-loss-report.mjs} +0 -0
  546. package/{esm2015/lib/models/report/vehicle-expense/vehicle-expense.js → esm2020/lib/models/report/vehicle-expense/vehicle-expense.mjs} +0 -0
  547. package/{esm2015/lib/models/service-subscription/index.js → esm2020/lib/models/service-subscription/index.mjs} +0 -0
  548. package/{esm2015/lib/models/service-subscription/module-url-list.const.js → esm2020/lib/models/service-subscription/module-url-list.const.mjs} +0 -0
  549. package/{esm2015/lib/models/service-subscription/service-payment.js → esm2020/lib/models/service-subscription/service-payment.mjs} +0 -0
  550. package/{esm2015/lib/models/service-subscription/service-price.js → esm2020/lib/models/service-subscription/service-price.mjs} +0 -0
  551. package/{esm2015/lib/models/service-subscription/service-product.js → esm2020/lib/models/service-subscription/service-product.mjs} +0 -0
  552. package/{esm2015/lib/models/service-subscription/service-subscription-item.js → esm2020/lib/models/service-subscription/service-subscription-item.mjs} +0 -0
  553. package/{esm2015/lib/models/service-subscription/service-subscription.js → esm2020/lib/models/service-subscription/service-subscription.mjs} +0 -0
  554. package/{esm2015/lib/models/sole/bas-report.js → esm2020/lib/models/sole/bas-report.mjs} +0 -0
  555. package/{esm2015/lib/models/sole/index.js → esm2020/lib/models/sole/index.mjs} +0 -0
  556. package/{esm2015/lib/models/sole/sole-business-activity.js → esm2020/lib/models/sole/sole-business-activity.mjs} +0 -0
  557. package/{esm2015/lib/models/sole/sole-business-allocation.js → esm2020/lib/models/sole/sole-business-allocation.mjs} +0 -0
  558. package/{esm2015/lib/models/sole/sole-business-loss-offset-rule.js → esm2020/lib/models/sole/sole-business-loss-offset-rule.mjs} +0 -0
  559. package/{esm2015/lib/models/sole/sole-business-loss.js → esm2020/lib/models/sole/sole-business-loss.mjs} +0 -0
  560. package/{esm2015/lib/models/sole/sole-business.js → esm2020/lib/models/sole/sole-business.mjs} +0 -0
  561. package/{esm2015/lib/models/sole/sole-contact.js → esm2020/lib/models/sole/sole-contact.mjs} +0 -0
  562. package/{esm2015/lib/models/sole/sole-depreciation-method.js → esm2020/lib/models/sole/sole-depreciation-method.mjs} +0 -0
  563. package/{esm2015/lib/models/sole/sole-details.js → esm2020/lib/models/sole/sole-details.mjs} +0 -0
  564. package/{esm2015/lib/models/sole/sole-invoice-item.js → esm2020/lib/models/sole/sole-invoice-item.mjs} +0 -0
  565. package/{esm2015/lib/models/sole/sole-invoice-template.js → esm2020/lib/models/sole/sole-invoice-template.mjs} +0 -0
  566. package/{esm2015/lib/models/sole/sole-invoice.js → esm2020/lib/models/sole/sole-invoice.mjs} +0 -0
  567. package/{esm2015/lib/models/tax-review/tax-review.js → esm2020/lib/models/tax-review/tax-review.mjs} +0 -0
  568. package/{esm2015/lib/models/tax-summary/report-item-details.js → esm2020/lib/models/tax-summary/report-item-details.mjs} +0 -0
  569. package/esm2020/lib/models/tax-summary/report-item.mjs +29 -0
  570. package/{esm2015/lib/models/tax-summary/tax-summary-section.js → esm2020/lib/models/tax-summary/tax-summary-section.mjs} +0 -0
  571. package/{esm2015/lib/models/tax-summary/tax-summary-type.enum.js → esm2020/lib/models/tax-summary/tax-summary-type.enum.mjs} +0 -0
  572. package/{esm2015/lib/models/tax-summary/tax-summary.js → esm2020/lib/models/tax-summary/tax-summary.mjs} +5 -7
  573. package/{esm2015/lib/models/toast/toast-type.enum.js → esm2020/lib/models/toast/toast-type.enum.mjs} +0 -0
  574. package/{esm2015/lib/models/toast/toast.js → esm2020/lib/models/toast/toast.mjs} +0 -0
  575. package/{esm2015/lib/models/transaction/income-amount-type.enum.js → esm2020/lib/models/transaction/income-amount-type.enum.mjs} +0 -0
  576. package/{esm2015/lib/models/transaction/index.js → esm2020/lib/models/transaction/index.mjs} +0 -0
  577. package/{esm2015/lib/models/transaction/transaction-allocation.js → esm2020/lib/models/transaction/transaction-allocation.mjs} +0 -0
  578. package/{esm2015/lib/models/transaction/transaction-category.enum.js → esm2020/lib/models/transaction/transaction-category.enum.mjs} +0 -0
  579. package/{esm2015/lib/models/transaction/transaction-metadata.js → esm2020/lib/models/transaction/transaction-metadata.mjs} +0 -0
  580. package/{esm2015/lib/models/transaction/transaction-receipt.js → esm2020/lib/models/transaction/transaction-receipt.mjs} +0 -0
  581. package/esm2020/lib/models/transaction/transaction.mjs +238 -0
  582. package/{esm2015/lib/models/user/index.js → esm2020/lib/models/user/index.mjs} +0 -0
  583. package/{esm2015/lib/models/user/my-account-history-initiated-by.enum.js → esm2020/lib/models/user/my-account-history-initiated-by.enum.mjs} +0 -0
  584. package/{esm2015/lib/models/user/my-account-history-status.enum.js → esm2020/lib/models/user/my-account-history-status.enum.mjs} +0 -0
  585. package/{esm2015/lib/models/user/my-account-history-type.enum.js → esm2020/lib/models/user/my-account-history-type.enum.mjs} +0 -0
  586. package/{esm2015/lib/models/user/my-account-history.js → esm2020/lib/models/user/my-account-history.mjs} +0 -0
  587. package/{esm2015/lib/models/user/occupation.js → esm2020/lib/models/user/occupation.mjs} +0 -0
  588. package/{esm2015/lib/models/user/user-roles.const.js → esm2020/lib/models/user/user-roles.const.mjs} +0 -0
  589. package/{esm2015/lib/models/user/user-to-register.js → esm2020/lib/models/user/user-to-register.mjs} +0 -0
  590. package/{esm2015/lib/models/user/user-work-position.const.js → esm2020/lib/models/user/user-work-position.const.mjs} +0 -0
  591. package/{esm2015/lib/models/user/user.js → esm2020/lib/models/user/user.mjs} +3 -3
  592. package/{esm2015/lib/models/user-event/user-event-setting-field.enum.js → esm2020/lib/models/user-event/user-event-setting-field.enum.mjs} +0 -0
  593. package/{esm2015/lib/models/user-event/user-event-setting.js → esm2020/lib/models/user-event/user-event-setting.mjs} +0 -0
  594. package/{esm2015/lib/models/user-event/user-event-type-category.js → esm2020/lib/models/user-event/user-event-type-category.mjs} +0 -0
  595. package/{esm2015/lib/models/user-event/user-event-type.js → esm2020/lib/models/user-event/user-event-type.mjs} +0 -0
  596. package/{esm2015/lib/models/vehicle/index.js → esm2020/lib/models/vehicle/index.mjs} +0 -0
  597. package/{esm2015/lib/models/vehicle/logbook-period.js → esm2020/lib/models/vehicle/logbook-period.mjs} +0 -0
  598. package/{esm2015/lib/models/vehicle/vehicle-claim-details.js → esm2020/lib/models/vehicle/vehicle-claim-details.mjs} +0 -0
  599. package/{esm2015/lib/models/vehicle/vehicle-claim.js → esm2020/lib/models/vehicle/vehicle-claim.mjs} +0 -0
  600. package/esm2020/lib/models/vehicle/vehicle-logbook.mjs +53 -0
  601. package/{esm2015/lib/models/vehicle/vehicle.js → esm2020/lib/models/vehicle/vehicle.mjs} +0 -0
  602. package/{esm2015/lib/services/account-setup/account-setup.service.js → esm2020/lib/services/account-setup/account-setup.service.mjs} +4 -4
  603. package/{esm2015/lib/services/account-setup/index.js → esm2020/lib/services/account-setup/index.mjs} +0 -0
  604. package/{esm2015/lib/services/affiliate/index.js → esm2020/lib/services/affiliate/index.mjs} +0 -0
  605. package/{esm2015/lib/services/affiliate/rewardful/index.js → esm2020/lib/services/affiliate/rewardful/index.mjs} +0 -0
  606. package/{esm2015/lib/services/affiliate/rewardful/rewardful.service.js → esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs} +4 -4
  607. package/{esm2015/lib/services/asset/assets.service.js → esm2020/lib/services/asset/assets.service.mjs} +4 -4
  608. package/{esm2015/lib/services/asset/index.js → esm2020/lib/services/asset/index.mjs} +0 -0
  609. package/{esm2015/lib/services/auth/auth.service.js → esm2020/lib/services/auth/auth.service.mjs} +4 -4
  610. package/{esm2015/lib/services/auth/index.js → esm2020/lib/services/auth/index.mjs} +0 -0
  611. package/{esm2015/lib/services/auth/jwt.service.js → esm2020/lib/services/auth/jwt.service.mjs} +4 -4
  612. package/{esm2015/lib/services/bank/bank-account-calculation.service.js → esm2020/lib/services/bank/bank-account-calculation.service.mjs} +4 -4
  613. package/{esm2015/lib/services/bank/bank-transaction-calculation.service.js → esm2020/lib/services/bank/bank-transaction-calculation.service.mjs} +4 -4
  614. package/{esm2015/lib/services/bank/index.js → esm2020/lib/services/bank/index.mjs} +0 -0
  615. package/{esm2015/lib/services/event/event-dispatcher.service.js → esm2020/lib/services/event/event-dispatcher.service.mjs} +4 -4
  616. package/{esm2015/lib/services/event/index.js → esm2020/lib/services/event/index.mjs} +0 -0
  617. package/{esm2015/lib/services/event/sse.service.js → esm2020/lib/services/event/sse.service.mjs} +4 -4
  618. package/{esm2015/lib/services/export/export-formatter.service.js → esm2020/lib/services/export/export-formatter.service.mjs} +4 -4
  619. package/{esm2015/lib/services/export/index.js → esm2020/lib/services/export/index.mjs} +0 -0
  620. package/{esm2015/lib/services/header-title/header-title.service.js → esm2020/lib/services/header-title/header-title.service.mjs} +4 -4
  621. package/{esm2015/lib/services/header-title/index.js → esm2020/lib/services/header-title/index.mjs} +0 -0
  622. package/{esm2015/lib/services/http/address/address.service.js → esm2020/lib/services/http/address/address.service.mjs} +4 -4
  623. package/{esm2015/lib/services/http/address/index.js → esm2020/lib/services/http/address/index.mjs} +0 -0
  624. package/{esm2015/lib/services/http/bank/bank-account/bank-account.service.js → esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs} +4 -4
  625. package/{esm2015/lib/services/http/bank/bank-account/index.js → esm2020/lib/services/http/bank/bank-account/index.mjs} +0 -0
  626. package/{esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js → esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs} +4 -4
  627. package/{esm2015/lib/services/http/bank/bank-connection/index.js → esm2020/lib/services/http/bank/bank-connection/index.mjs} +0 -0
  628. package/{esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js → esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs} +4 -4
  629. package/{esm2015/lib/services/http/bank/bank-transaction/index.js → esm2020/lib/services/http/bank/bank-transaction/index.mjs} +0 -0
  630. package/{esm2015/lib/services/http/bank/bank.service.js → esm2020/lib/services/http/bank/bank.service.mjs} +4 -4
  631. package/{esm2015/lib/services/http/bank/basiq/basiq-token.service.js → esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs} +4 -4
  632. package/{esm2015/lib/services/http/bank/basiq/basiq.service.js → esm2020/lib/services/http/bank/basiq/basiq.service.mjs} +4 -4
  633. package/{esm2015/lib/services/http/bank/basiq/index.js → esm2020/lib/services/http/bank/basiq/index.mjs} +0 -0
  634. package/{esm2015/lib/services/http/bank/index.js → esm2020/lib/services/http/bank/index.mjs} +0 -0
  635. package/{esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js → esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs} +4 -4
  636. package/{esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/index.js → esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs} +0 -0
  637. package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +49 -0
  638. package/{esm2015/lib/services/http/chart-accounts/index.js → esm2020/lib/services/http/chart-accounts/index.mjs} +0 -0
  639. package/{esm2015/lib/services/http/chat/chat.service.js → esm2020/lib/services/http/chat/chat.service.mjs} +6 -6
  640. package/{esm2015/lib/services/http/chat/index.js → esm2020/lib/services/http/chat/index.mjs} +0 -0
  641. package/esm2020/lib/services/http/chat/message-document.service.mjs +78 -0
  642. package/{esm2015/lib/services/http/chat/message.service.js → esm2020/lib/services/http/chat/message.service.mjs} +4 -4
  643. package/{esm2015/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js → esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs} +4 -4
  644. package/{esm2015/lib/services/http/depreciation/depreciation-capital-project/index.js → esm2020/lib/services/http/depreciation/depreciation-capital-project/index.mjs} +0 -0
  645. package/{esm2015/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.js → esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs} +4 -4
  646. package/{esm2015/lib/services/http/depreciation/depreciation-receipt/index.js → esm2020/lib/services/http/depreciation/depreciation-receipt/index.mjs} +0 -0
  647. package/{esm2015/lib/services/http/depreciation/depreciation.service.js → esm2020/lib/services/http/depreciation/depreciation.service.mjs} +4 -4
  648. package/{esm2015/lib/services/http/depreciation/index.js → esm2020/lib/services/http/depreciation/index.mjs} +0 -0
  649. package/{esm2015/lib/services/http/document/document-folder/document-folder.service.js → esm2020/lib/services/http/document/document-folder/document-folder.service.mjs} +4 -4
  650. package/{esm2015/lib/services/http/document/document.service.js → esm2020/lib/services/http/document/document.service.mjs} +4 -4
  651. package/{esm2015/lib/services/http/document/index.js → esm2020/lib/services/http/document/index.mjs} +0 -0
  652. package/{esm2015/lib/services/http/facebook/facebook-auth-options.interface.js → esm2020/lib/services/http/facebook/facebook-auth-options.interface.mjs} +0 -0
  653. package/{esm2015/lib/services/http/facebook/facebook-auth-response.interface.js → esm2020/lib/services/http/facebook/facebook-auth-response.interface.mjs} +0 -0
  654. package/{esm2015/lib/services/http/facebook/facebook-status-response.interface.js → esm2020/lib/services/http/facebook/facebook-status-response.interface.mjs} +0 -0
  655. package/esm2020/lib/services/http/facebook/facebook.service.mjs +87 -0
  656. package/{esm2015/lib/services/http/facebook/index.js → esm2020/lib/services/http/facebook/index.mjs} +0 -0
  657. package/{esm2015/lib/services/http/file/file.service.js → esm2020/lib/services/http/file/file.service.mjs} +4 -4
  658. package/{esm2015/lib/services/http/file/index.js → esm2020/lib/services/http/file/index.mjs} +0 -0
  659. package/{esm2015/lib/services/http/firm/client-income/client-income-types.service.js → esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs} +4 -4
  660. package/{esm2015/lib/services/http/firm/client-income/index.js → esm2020/lib/services/http/firm/client-income/index.mjs} +0 -0
  661. package/{esm2015/lib/services/http/firm/client-invite/client-invite.service.js → esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs} +4 -4
  662. package/{esm2015/lib/services/http/firm/client-invite/index.js → esm2020/lib/services/http/firm/client-invite/index.mjs} +0 -0
  663. package/{esm2015/lib/services/http/firm/client-movement/client-movement.service.js → esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs} +4 -4
  664. package/{esm2015/lib/services/http/firm/client-movement/index.js → esm2020/lib/services/http/firm/client-movement/index.mjs} +0 -0
  665. package/{esm2015/lib/services/http/firm/employee/employee.service.js → esm2020/lib/services/http/firm/employee/employee.service.mjs} +4 -4
  666. package/{esm2015/lib/services/http/firm/employee/index.js → esm2020/lib/services/http/firm/employee/index.mjs} +0 -0
  667. package/{esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js → esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs} +4 -4
  668. package/{esm2015/lib/services/http/firm/employee-invite/index.js → esm2020/lib/services/http/firm/employee-invite/index.mjs} +0 -0
  669. package/{esm2015/lib/services/http/firm/firm.service.js → esm2020/lib/services/http/firm/firm.service.mjs} +4 -4
  670. package/{esm2015/lib/services/http/firm/index.js → esm2020/lib/services/http/firm/index.mjs} +0 -0
  671. package/{esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js → esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs} +4 -4
  672. package/{esm2015/lib/services/http/firm/portfolio-report/index.js → esm2020/lib/services/http/firm/portfolio-report/index.mjs} +0 -0
  673. package/{esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js → esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs} +4 -4
  674. package/{esm2015/lib/services/http/income-source/income-source-forecast/index.js → esm2020/lib/services/http/income-source/income-source-forecast/index.mjs} +0 -0
  675. package/{esm2015/lib/services/http/income-source/income-source.service.js → esm2020/lib/services/http/income-source/income-source.service.mjs} +4 -4
  676. package/{esm2015/lib/services/http/income-source/index.js → esm2020/lib/services/http/income-source/index.mjs} +0 -0
  677. package/{esm2015/lib/services/http/income-source/salary-forecast/index.js → esm2020/lib/services/http/income-source/salary-forecast/index.mjs} +0 -0
  678. package/{esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js → esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs} +4 -4
  679. package/{esm2015/lib/services/http/income-source/sole-forecast/index.js → esm2020/lib/services/http/income-source/sole-forecast/index.mjs} +0 -0
  680. package/{esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js → esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs} +4 -4
  681. package/{esm2015/lib/services/http/index.js → esm2020/lib/services/http/index.mjs} +0 -0
  682. package/{esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js → esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs} +4 -4
  683. package/{esm2015/lib/services/http/loan/borrowing-expense/index.js → esm2020/lib/services/http/loan/borrowing-expense/index.mjs} +0 -0
  684. package/{esm2015/lib/services/http/loan/index.js → esm2020/lib/services/http/loan/index.mjs} +0 -0
  685. package/{esm2015/lib/services/http/loan/loan.service.js → esm2020/lib/services/http/loan/loan.service.mjs} +4 -4
  686. package/{esm2015/lib/services/http/property/index.js → esm2020/lib/services/http/property/index.mjs} +0 -0
  687. package/{esm2015/lib/services/http/property/property-category/index.js → esm2020/lib/services/http/property/property-category/index.mjs} +0 -0
  688. package/{esm2015/lib/services/http/property/property-category/property-category.service.js → esm2020/lib/services/http/property/property-category/property-category.service.mjs} +4 -4
  689. package/{esm2015/lib/services/http/property/property-category-movement/index.js → esm2020/lib/services/http/property/property-category-movement/index.mjs} +0 -0
  690. package/{esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js → esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs} +4 -4
  691. package/{esm2015/lib/services/http/property/property-document/index.js → esm2020/lib/services/http/property/property-document/index.mjs} +0 -0
  692. package/{esm2015/lib/services/http/property/property-document/property-document.service.js → esm2020/lib/services/http/property/property-document/property-document.service.mjs} +4 -4
  693. package/{esm2015/lib/services/http/property/property-sale/index.js → esm2020/lib/services/http/property/property-sale/index.mjs} +0 -0
  694. package/{esm2015/lib/services/http/property/property-sale/property-sale.service.js → esm2020/lib/services/http/property/property-sale/property-sale.service.mjs} +4 -4
  695. package/{esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js → esm2020/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.mjs} +4 -4
  696. package/{esm2015/lib/services/http/property/property-share/index.js → esm2020/lib/services/http/property/property-share/index.mjs} +0 -0
  697. package/{esm2015/lib/services/http/property/property-share/property-share.service.js → esm2020/lib/services/http/property/property-share/property-share.service.mjs} +4 -4
  698. package/{esm2015/lib/services/http/property/property.service.js → esm2020/lib/services/http/property/property.service.mjs} +4 -4
  699. package/{esm2015/lib/services/http/receipt/index.js → esm2020/lib/services/http/receipt/index.mjs} +0 -0
  700. package/{esm2015/lib/services/http/receipt/receipt.service.js → esm2020/lib/services/http/receipt/receipt.service.mjs} +4 -4
  701. package/{esm2015/lib/services/http/rest/http-method.type.js → esm2020/lib/services/http/rest/http-method.type.mjs} +0 -0
  702. package/{esm2015/lib/services/http/rest/index.js → esm2020/lib/services/http/rest/index.mjs} +0 -0
  703. package/{esm2015/lib/services/http/rest/rest-method.type.js → esm2020/lib/services/http/rest/rest-method.type.mjs} +0 -0
  704. package/{esm2015/lib/services/http/rest/rest-old.service.js → esm2020/lib/services/http/rest/rest-old.service.mjs} +4 -4
  705. package/{esm2015/lib/services/http/rest/rest.service.js → esm2020/lib/services/http/rest/rest.service.mjs} +4 -4
  706. package/{esm2015/lib/services/http/service-notification/index.js → esm2020/lib/services/http/service-notification/index.mjs} +0 -0
  707. package/{esm2015/lib/services/http/service-notification/service-notification.service.js → esm2020/lib/services/http/service-notification/service-notification.service.mjs} +4 -4
  708. package/{esm2015/lib/services/http/sole/bas-report/bas-report.service.js → esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs} +4 -4
  709. package/{esm2015/lib/services/http/sole/index.js → esm2020/lib/services/http/sole/index.mjs} +0 -0
  710. package/{esm2015/lib/services/http/sole/sole-business/messages.enum.js → esm2020/lib/services/http/sole/sole-business/messages.enum.mjs} +0 -0
  711. package/{esm2015/lib/services/http/sole/sole-business/sole-business.service.js → esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs} +4 -4
  712. package/{esm2015/lib/services/http/sole/sole-business-activity/sole-business-activity.service.js → esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs} +4 -4
  713. package/{esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.js → esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs} +4 -4
  714. package/{esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss.service.js → esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs} +4 -4
  715. package/{esm2015/lib/services/http/sole/sole-contact/sole-contact.service.js → esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs} +4 -4
  716. package/{esm2015/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.js → esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs} +4 -4
  717. package/{esm2015/lib/services/http/sole/sole-details/sole-details.service.js → esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs} +4 -4
  718. package/{esm2015/lib/services/http/sole/sole-invoice/sole-invoice.service.js → esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs} +5 -6
  719. package/{esm2015/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.js → esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs} +4 -4
  720. package/{esm2015/lib/services/http/subscription/index.js → esm2020/lib/services/http/subscription/index.mjs} +0 -0
  721. package/{esm2015/lib/services/http/subscription/service-payment/service-payment.service.js → esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs} +4 -4
  722. package/{esm2015/lib/services/http/subscription/service-price/service-price.service.js → esm2020/lib/services/http/subscription/service-price/service-price.service.mjs} +4 -4
  723. package/{esm2015/lib/services/http/subscription/service-product/service-product.service.js → esm2020/lib/services/http/subscription/service-product/service-product.service.mjs} +4 -4
  724. package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +128 -0
  725. package/{esm2015/lib/services/http/tax-review/index.js → esm2020/lib/services/http/tax-review/index.mjs} +0 -0
  726. package/{esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js → esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs} +4 -4
  727. package/{esm2015/lib/services/http/tax-review/tax-review.service.js → esm2020/lib/services/http/tax-review/tax-review.service.mjs} +4 -4
  728. package/{esm2015/lib/services/http/tax-summary/index.js → esm2020/lib/services/http/tax-summary/index.mjs} +0 -0
  729. package/{esm2015/lib/services/http/tax-summary/tax-summary.service.js → esm2020/lib/services/http/tax-summary/tax-summary.service.mjs} +4 -4
  730. package/{esm2015/lib/services/http/transaction/index.js → esm2020/lib/services/http/transaction/index.mjs} +0 -0
  731. package/{esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js → esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs} +4 -4
  732. package/{esm2015/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.js → esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs} +4 -4
  733. package/esm2020/lib/services/http/transaction/transaction.service.mjs +337 -0
  734. package/{esm2015/lib/services/http/tutorial-video/index.js → esm2020/lib/services/http/tutorial-video/index.mjs} +0 -0
  735. package/{esm2015/lib/services/http/tutorial-video/tutorial-video-response.interface.js → esm2020/lib/services/http/tutorial-video/tutorial-video-response.interface.mjs} +0 -0
  736. package/{esm2015/lib/services/http/tutorial-video/tutorial-video.service.js → esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs} +4 -4
  737. package/{esm2015/lib/services/http/tutorial-video/video-source.interface.js → esm2020/lib/services/http/tutorial-video/video-source.interface.mjs} +0 -0
  738. package/{esm2015/lib/services/http/user/index.js → esm2020/lib/services/http/user/index.mjs} +0 -0
  739. package/{esm2015/lib/services/http/user/occupation/occupation.service.js → esm2020/lib/services/http/user/occupation/occupation.service.mjs} +4 -4
  740. package/{esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js → esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs} +4 -4
  741. package/{esm2015/lib/services/http/user/user-event-type/user-event-type.service.js → esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs} +4 -4
  742. package/{esm2015/lib/services/http/user/user.service.js → esm2020/lib/services/http/user/user.service.mjs} +5 -6
  743. package/{esm2015/lib/services/http/user/users-invite/users-invite.service.js → esm2020/lib/services/http/user/users-invite/users-invite.service.mjs} +4 -4
  744. package/{esm2015/lib/services/http/vehicle/index.js → esm2020/lib/services/http/vehicle/index.mjs} +0 -0
  745. package/{esm2015/lib/services/http/vehicle/vehicle-claim-details.service.js → esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs} +4 -4
  746. package/{esm2015/lib/services/http/vehicle/vehicle-claim.service.js → esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs} +5 -5
  747. package/{esm2015/lib/services/http/vehicle/vehicle-logbook.service.js → esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs} +4 -4
  748. package/{esm2015/lib/services/http/vehicle/vehicle.service.js → esm2020/lib/services/http/vehicle/vehicle.service.mjs} +4 -4
  749. package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
  750. package/{esm2015/lib/services/intercom/index.js → esm2020/lib/services/intercom/index.mjs} +0 -0
  751. package/{esm2015/lib/services/intercom/intercom.service.js → esm2020/lib/services/intercom/intercom.service.mjs} +4 -4
  752. package/{esm2015/lib/services/pdf/index.js → esm2020/lib/services/pdf/index.mjs} +0 -0
  753. package/{esm2015/lib/services/pdf/pdf-from-dom-element/file-settings.js → esm2020/lib/services/pdf/pdf-from-dom-element/file-settings.mjs} +0 -0
  754. package/{esm2015/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.js → esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs} +4 -4
  755. package/{esm2015/lib/services/pdf/pdf-from-table/file-settings.js → esm2020/lib/services/pdf/pdf-from-table/file-settings.mjs} +0 -0
  756. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +45 -0
  757. package/{esm2015/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.js → esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs} +8 -5
  758. package/{esm2015/lib/services/pdf/pdf-from-table/pdf-from-table.service.js → esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs} +4 -4
  759. package/{esm2015/lib/services/preloader/index.js → esm2020/lib/services/preloader/index.mjs} +0 -0
  760. package/{esm2015/lib/services/preloader/preloader.service.js → esm2020/lib/services/preloader/preloader.service.mjs} +4 -4
  761. package/{esm2015/lib/services/property/corelogic/corelogic.service.js → esm2020/lib/services/property/corelogic/corelogic.service.mjs} +4 -4
  762. package/{esm2015/lib/services/property/corelogic/index.js → esm2020/lib/services/property/corelogic/index.mjs} +0 -0
  763. package/{esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js → esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs} +4 -4
  764. package/{esm2015/lib/services/property/equity-position-chart/index.js → esm2020/lib/services/property/equity-position-chart/index.mjs} +0 -0
  765. package/{esm2015/lib/services/property/index.js → esm2020/lib/services/property/index.mjs} +0 -0
  766. package/{esm2015/lib/services/property/property-calculation/index.js → esm2020/lib/services/property/property-calculation/index.mjs} +0 -0
  767. package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +177 -0
  768. package/{esm2015/lib/services/report/index.js → esm2020/lib/services/report/index.mjs} +0 -0
  769. package/{esm2015/lib/services/report/property/property-transaction-report.service.js → esm2020/lib/services/report/property/property-transaction-report.service.mjs} +4 -4
  770. package/{esm2015/lib/services/toast/index.js → esm2020/lib/services/toast/index.mjs} +0 -0
  771. package/{esm2015/lib/services/toast/toast.service.js → esm2020/lib/services/toast/toast.service.mjs} +4 -4
  772. package/{esm2015/lib/services/transaction/index.js → esm2020/lib/services/transaction/index.mjs} +0 -0
  773. package/{esm2015/lib/services/transaction/transaction-calculation.service.js → esm2020/lib/services/transaction/transaction-calculation.service.mjs} +4 -4
  774. package/{esm2015/lib/services/user/index.js → esm2020/lib/services/user/index.mjs} +0 -0
  775. package/{esm2015/lib/services/user/user-switcher.service.js → esm2020/lib/services/user/user-switcher.service.mjs} +4 -4
  776. package/{esm2015/lib/services/vehicle/index.js → esm2020/lib/services/vehicle/index.mjs} +0 -0
  777. package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +72 -0
  778. package/{esm2015/lib/services/xlsx/index.js → esm2020/lib/services/xlsx/index.mjs} +0 -0
  779. package/{esm2015/lib/services/xlsx/xlsx.service.js → esm2020/lib/services/xlsx/xlsx.service.mjs} +4 -4
  780. package/{esm2015/lib/tt-core.module.js → esm2020/lib/tt-core.module.mjs} +6 -8
  781. package/esm2020/lib/validators/address-corelogic.validator.mjs +18 -0
  782. package/esm2020/lib/validators/at-least-one-enabled.validator.mjs +11 -0
  783. package/esm2020/lib/validators/at-least-one.validator.mjs +11 -0
  784. package/{esm2015/lib/validators/autocomplete.validator.js → esm2020/lib/validators/autocomplete.validator.mjs} +1 -1
  785. package/{esm2015/lib/validators/conditional.validator.js → esm2020/lib/validators/conditional.validator.mjs} +0 -0
  786. package/{esm2015/lib/validators/current-fin-year.validator.js → esm2020/lib/validators/current-fin-year.validator.mjs} +0 -0
  787. package/{esm2015/lib/validators/date-range.validator.js → esm2020/lib/validators/date-range.validator.mjs} +1 -1
  788. package/{esm2015/lib/validators/fields-sum.validator.js → esm2020/lib/validators/fields-sum.validator.mjs} +0 -0
  789. package/{esm2015/lib/validators/file.validator.js → esm2020/lib/validators/file.validator.mjs} +1 -1
  790. package/{esm2015/lib/validators/index.js → esm2020/lib/validators/index.mjs} +0 -0
  791. package/{esm2015/lib/validators/min-date/messages.enum.js → esm2020/lib/validators/min-date/messages.enum.mjs} +0 -0
  792. package/{esm2015/lib/validators/min-date/min-date.validator.js → esm2020/lib/validators/min-date/min-date.validator.mjs} +0 -0
  793. package/{esm2015/lib/validators/password-match.validator.js → esm2020/lib/validators/password-match.validator.mjs} +1 -1
  794. package/{esm2015/lib/validators/password.validator.js → esm2020/lib/validators/password.validator.mjs} +1 -1
  795. package/{esm2015/lib/validators/phone-number.validator.js → esm2020/lib/validators/phone-number.validator.mjs} +1 -1
  796. package/{esm2015/lib/validators/required-length.validator.js → esm2020/lib/validators/required-length.validator.mjs} +1 -1
  797. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  798. package/{esm2015/taxtank-core.js → esm2020/taxtank-core.mjs} +0 -0
  799. package/fesm2015/taxtank-core.mjs +18320 -0
  800. package/fesm2015/taxtank-core.mjs.map +1 -0
  801. package/{fesm2015/taxtank-core.js → fesm2020/taxtank-core.mjs} +1202 -1237
  802. package/fesm2020/taxtank-core.mjs.map +1 -0
  803. package/{taxtank-core.d.ts → index.d.ts} +0 -0
  804. package/lib/forms/abstract.form.d.ts +2 -2
  805. package/lib/forms/address/address.form.d.ts +13 -10
  806. package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts +2 -2
  807. package/lib/forms/sole/sole-business-allocations.form.d.ts +2 -2
  808. package/lib/forms/sole/sole-business.form.d.ts +3 -3
  809. package/lib/forms/sole/sole-invoice.form.d.ts +3 -3
  810. package/lib/models/vehicle/vehicle-logbook.d.ts +7 -0
  811. package/package.json +32 -14
  812. package/bundles/taxtank-core.umd.js +0 -21961
  813. package/bundles/taxtank-core.umd.js.map +0 -1
  814. package/esm2015/lib/collections/bank-transaction.collection.js +0 -119
  815. package/esm2015/lib/collections/client-movement.collection.js +0 -31
  816. package/esm2015/lib/collections/collection.js +0 -148
  817. package/esm2015/lib/collections/depreciation.collection.js +0 -126
  818. package/esm2015/lib/collections/employee.collection.js +0 -12
  819. package/esm2015/lib/collections/loan/loan.collection.js +0 -34
  820. package/esm2015/lib/collections/property/property-sale/property-sale-tax-exemption-metadata.collection.js +0 -20
  821. package/esm2015/lib/collections/property/property-share.collection.js +0 -23
  822. package/esm2015/lib/collections/sole/sole-business-losses.collection.js +0 -43
  823. package/esm2015/lib/collections/transaction/transaction.collection.js +0 -242
  824. package/esm2015/lib/db/Models/transaction/transaction-base.js +0 -89
  825. package/esm2015/lib/forms/abstract.form.js +0 -69
  826. package/esm2015/lib/forms/address/address.form.js +0 -170
  827. package/esm2015/lib/forms/bank/bank-account/bank-account-add-manual.form.js +0 -46
  828. package/esm2015/lib/forms/bank/bank-account/bank-account-allocation.form.js +0 -46
  829. package/esm2015/lib/forms/bank/bank-account/bank-account-properties.form.js +0 -66
  830. package/esm2015/lib/forms/bank/bank-account/bank-accounts-import.form.js +0 -50
  831. package/esm2015/lib/forms/bank/bank-login.form.js +0 -19
  832. package/esm2015/lib/forms/client/client-income-types.form.js +0 -17
  833. package/esm2015/lib/forms/depreciation/depreciation.form.js +0 -38
  834. package/esm2015/lib/forms/loan/loan.form.js +0 -90
  835. package/esm2015/lib/forms/login/login.form.js +0 -11
  836. package/esm2015/lib/forms/phone/phone.form.js +0 -17
  837. package/esm2015/lib/forms/property/property-sale/property-sale-cost-base.form.js +0 -39
  838. package/esm2015/lib/forms/property/property-sale/property-sale-cost-sale.form.js +0 -80
  839. package/esm2015/lib/forms/property/property-sale/property-sale-exemptions.form.js +0 -75
  840. package/esm2015/lib/forms/register/register-client.form.js +0 -20
  841. package/esm2015/lib/forms/register/register-firm.form.js +0 -22
  842. package/esm2015/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.js +0 -32
  843. package/esm2015/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.js +0 -81
  844. package/esm2015/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.js +0 -80
  845. package/esm2015/lib/forms/report/my-tax/my-tax-cgt.form.js +0 -25
  846. package/esm2015/lib/forms/report/my-tax/my-tax-deductions.form.js +0 -86
  847. package/esm2015/lib/forms/report/my-tax/my-tax-dividends.form.js +0 -23
  848. package/esm2015/lib/forms/report/my-tax/my-tax-income-statements.form.js +0 -92
  849. package/esm2015/lib/forms/report/my-tax/my-tax-interest.form.js +0 -12
  850. package/esm2015/lib/forms/report/my-tax/my-tax-losses.form.js +0 -11
  851. package/esm2015/lib/forms/report/my-tax/my-tax-medicare.form.js +0 -33
  852. package/esm2015/lib/forms/report/my-tax/my-tax-other-income.form.js +0 -43
  853. package/esm2015/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.js +0 -37
  854. package/esm2015/lib/forms/report/my-tax/my-tax-rent.form.js +0 -13
  855. package/esm2015/lib/forms/sole/bas-report.form.js +0 -58
  856. package/esm2015/lib/forms/sole/sole-business-allocations.form.js +0 -66
  857. package/esm2015/lib/forms/sole/sole-business-loss.form.js +0 -25
  858. package/esm2015/lib/forms/sole/sole-business.form.js +0 -69
  859. package/esm2015/lib/forms/sole/sole-contact.form.js +0 -20
  860. package/esm2015/lib/forms/sole/sole-depreciation-method.form.js +0 -10
  861. package/esm2015/lib/forms/sole/sole-details.form.js +0 -12
  862. package/esm2015/lib/forms/sole/sole-invoice-item.form.js +0 -16
  863. package/esm2015/lib/forms/sole/sole-invoice-template.form.js +0 -15
  864. package/esm2015/lib/forms/sole/sole-invoice.form.js +0 -158
  865. package/esm2015/lib/forms/transaction/transaction-base.form.js +0 -100
  866. package/esm2015/lib/forms/transaction/transaction.form.js +0 -67
  867. package/esm2015/lib/forms/transaction/work/work-income.form.js +0 -87
  868. package/esm2015/lib/forms/user/password.form.js +0 -14
  869. package/esm2015/lib/forms/user/reset-password.form.js +0 -11
  870. package/esm2015/lib/forms/user/user-invite.form.js +0 -16
  871. package/esm2015/lib/forms/vehicle/vehicle-claim-details.form.js +0 -17
  872. package/esm2015/lib/forms/vehicle/vehicle-claim.form.js +0 -30
  873. package/esm2015/lib/forms/vehicle/vehicle-logbook.form.js +0 -63
  874. package/esm2015/lib/forms/vehicle/vehicle.form.js +0 -17
  875. package/esm2015/lib/interceptors/jwt-interceptor.js +0 -142
  876. package/esm2015/lib/models/bank/bank-account.js +0 -171
  877. package/esm2015/lib/models/chart-accounts/chart-accounts.js +0 -215
  878. package/esm2015/lib/models/client/client-invite.js +0 -67
  879. package/esm2015/lib/models/depreciation/depreciation.js +0 -198
  880. package/esm2015/lib/models/property/property-equity-chart-data.js +0 -166
  881. package/esm2015/lib/models/property/property-sale/property-sale-cost-base.js +0 -20
  882. package/esm2015/lib/models/property/property-sale/property-sale.js +0 -43
  883. package/esm2015/lib/models/property/property-share.js +0 -48
  884. package/esm2015/lib/models/property/property.js +0 -249
  885. package/esm2015/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.js +0 -16
  886. package/esm2015/lib/models/report/my-tax/my-tax-rent/my-tax-rent.js +0 -48
  887. package/esm2015/lib/models/tax-summary/report-item.js +0 -30
  888. package/esm2015/lib/models/transaction/transaction.js +0 -241
  889. package/esm2015/lib/models/vehicle/vehicle-logbook.js +0 -46
  890. package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +0 -49
  891. package/esm2015/lib/services/http/chat/message-document.service.js +0 -79
  892. package/esm2015/lib/services/http/facebook/facebook.service.js +0 -90
  893. package/esm2015/lib/services/http/subscription/service-subscription/subscription.service.js +0 -131
  894. package/esm2015/lib/services/http/transaction/transaction.service.js +0 -339
  895. package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.js +0 -40
  896. package/esm2015/lib/services/property/property-calculation/property-calculation.service.js +0 -178
  897. package/esm2015/lib/services/vehicle/logbook-best-period.service.js +0 -72
  898. package/esm2015/lib/validators/address-corelogic.validator.js +0 -17
  899. package/esm2015/lib/validators/at-least-one-enabled.validator.js +0 -11
  900. package/esm2015/lib/validators/at-least-one.validator.js +0 -11
  901. package/fesm2015/taxtank-core.js.map +0 -1
@@ -4,11 +4,11 @@ import * as i1$2 from '@angular/common';
4
4
  import { CommonModule, DatePipe } from '@angular/common';
5
5
  import * as i1 from '@angular/common/http';
6
6
  import { HttpParams, HttpErrorResponse, HTTP_INTERCEPTORS } from '@angular/common/http';
7
- import { map, mergeMap, filter, catchError, take, switchMap, finalize, first as first$1, skip, distinctUntilChanged, debounceTime } from 'rxjs/operators';
7
+ import { map, mergeMap, filter, catchError, take, switchMap, finalize, first as first$1, skip, debounceTime, distinctUntilChanged } from 'rxjs/operators';
8
8
  import { ReplaySubject, Subject, BehaviorSubject, throwError, Observable, of, combineLatest, forkJoin, from, merge as merge$1 } from 'rxjs';
9
9
  import { plainToClass, Type, Exclude, Transform, Expose, classToPlain } from 'class-transformer';
10
10
  import { JwtHelperService } from '@auth0/angular-jwt';
11
- import { __decorate, __awaiter } from 'tslib';
11
+ import { __decorate } from 'tslib';
12
12
  import get from 'lodash/get';
13
13
  import last from 'lodash/last';
14
14
  import flatten from 'lodash/flatten';
@@ -16,13 +16,13 @@ import hasIn from 'lodash/hasIn';
16
16
  import first from 'lodash/first';
17
17
  import uniqBy from 'lodash/uniqBy';
18
18
  import differenceBy from 'lodash/differenceBy';
19
- import * as moment$1 from 'moment';
20
- import { DateRange, extendMoment } from 'moment-range';
19
+ import * as moment from 'moment';
20
+ import { DateRange } from 'moment-range';
21
21
  import compact from 'lodash/compact';
22
22
  import concat from 'lodash/concat';
23
23
  import intersection from 'lodash/intersection';
24
24
  import cloneDeep$1 from 'lodash/cloneDeep';
25
- import { Validators, FormGroup, FormControl, FormArray } from '@angular/forms';
25
+ import { Validators, UntypedFormGroup, UntypedFormControl, UntypedFormArray, FormArray, FormGroup, FormControl } from '@angular/forms';
26
26
  import clone from 'lodash/clone';
27
27
  import { EventSourcePolyfill } from 'event-source-polyfill/src/eventsource.min.js';
28
28
  import { throwError as throwError$1 } from 'rxjs/internal/observable/throwError';
@@ -73,9 +73,9 @@ class CorelogicService {
73
73
  }));
74
74
  }
75
75
  }
76
- CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
77
- CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicService, providedIn: 'root' });
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicService, decorators: [{
76
+ CorelogicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
77
+ CorelogicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, providedIn: 'root' });
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicService, decorators: [{
79
79
  type: Injectable,
80
80
  args: [{
81
81
  providedIn: 'root'
@@ -115,9 +115,9 @@ class CorelogicInterceptor {
115
115
  });
116
116
  }
117
117
  }
118
- CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
119
- CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicInterceptor });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CorelogicInterceptor, decorators: [{
118
+ CorelogicInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, deps: [{ token: CorelogicService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
119
+ CorelogicInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor });
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CorelogicInterceptor, decorators: [{
121
121
  type: Injectable
122
122
  }], ctorParameters: function () { return [{ type: CorelogicService }, { type: undefined, decorators: [{
123
123
  type: Inject,
@@ -154,9 +154,9 @@ class FinancialYearInterceptor {
154
154
  return next.handle(clonedReq);
155
155
  }
156
156
  }
157
- FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
158
- FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FinancialYearInterceptor });
159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
157
+ FinancialYearInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
158
+ FinancialYearInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor });
159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FinancialYearInterceptor, decorators: [{
160
160
  type: Injectable
161
161
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
162
162
  type: Inject,
@@ -170,11 +170,11 @@ class AbstractModel {
170
170
  }
171
171
  }
172
172
 
173
- class Address$1 extends AbstractModel {
174
- }
173
+ let Address$1 = class Address extends AbstractModel {
174
+ };
175
175
 
176
- class Country$1 extends AbstractModel {
177
- }
176
+ let Country$1 = class Country extends AbstractModel {
177
+ };
178
178
 
179
179
  class Country extends Country$1 {
180
180
  /**
@@ -267,8 +267,8 @@ class BasiqConfig {
267
267
  }
268
268
  }
269
269
 
270
- class BasiqJob$1 extends AbstractModel {
271
- }
270
+ let BasiqJob$1 = class BasiqJob extends AbstractModel {
271
+ };
272
272
 
273
273
  class BasiqJob extends BasiqJob$1 {
274
274
  }
@@ -297,8 +297,8 @@ __decorate([
297
297
  class BankAccountBalance extends AbstractModel {
298
298
  }
299
299
 
300
- class BankAccountProperty$1 extends AbstractModel {
301
- }
300
+ let BankAccountProperty$1 = class BankAccountProperty extends AbstractModel {
301
+ };
302
302
 
303
303
  /**
304
304
  * Model, which children should be listened via event dispatcher service ising automatic events
@@ -312,11 +312,11 @@ class ObservableModel extends AbstractModel {
312
312
  }
313
313
  }
314
314
 
315
- class BankAccount$1 extends ObservableModel {
316
- }
315
+ let BankAccount$1 = class BankAccount extends ObservableModel {
316
+ };
317
317
 
318
- class BankConnection$1 extends ObservableModel {
319
- }
318
+ let BankConnection$1 = class BankConnection extends ObservableModel {
319
+ };
320
320
 
321
321
  class BankTransactionImport extends AbstractModel {
322
322
  }
@@ -324,38 +324,38 @@ class BankTransactionImport extends AbstractModel {
324
324
  class BankTransactionRule extends AbstractModel {
325
325
  }
326
326
 
327
- class BankTransaction$1 extends ObservableModel {
328
- }
327
+ let BankTransaction$1 = class BankTransaction extends ObservableModel {
328
+ };
329
329
 
330
- class Bank$1 extends AbstractModel {
331
- }
330
+ let Bank$1 = class Bank extends AbstractModel {
331
+ };
332
332
 
333
333
  class FinancialDataSystem extends AbstractModel {
334
334
  }
335
335
 
336
- class ChartAccountsDepreciation$1 extends AbstractModel {
337
- }
336
+ let ChartAccountsDepreciation$1 = class ChartAccountsDepreciation extends AbstractModel {
337
+ };
338
338
 
339
- class ChartAccountsHeading$1 extends AbstractModel {
340
- }
339
+ let ChartAccountsHeading$1 = class ChartAccountsHeading extends AbstractModel {
340
+ };
341
341
 
342
- class ChartAccountsMetadata$1 extends AbstractModel {
343
- }
342
+ let ChartAccountsMetadata$1 = class ChartAccountsMetadata extends AbstractModel {
343
+ };
344
344
 
345
- class ChartAccountsValue$1 extends AbstractModel {
346
- }
345
+ let ChartAccountsValue$1 = class ChartAccountsValue extends AbstractModel {
346
+ };
347
347
 
348
- class ChartAccounts$1 extends AbstractModel {
349
- }
348
+ let ChartAccounts$1 = class ChartAccounts extends AbstractModel {
349
+ };
350
350
 
351
- class DepreciationCapitalProject$1 extends AbstractModel {
352
- }
351
+ let DepreciationCapitalProject$1 = class DepreciationCapitalProject extends AbstractModel {
352
+ };
353
353
 
354
- class DepreciationForecast$1 extends AbstractModel {
355
- }
354
+ let DepreciationForecast$1 = class DepreciationForecast extends AbstractModel {
355
+ };
356
356
 
357
- class DepreciationReceipt$1 extends AbstractModel {
358
- }
357
+ let DepreciationReceipt$1 = class DepreciationReceipt extends AbstractModel {
358
+ };
359
359
 
360
360
  var TankTypeEnum;
361
361
  (function (TankTypeEnum) {
@@ -395,10 +395,9 @@ class TransactionBase extends ObservableModel {
395
395
  * Check if current tank is Work
396
396
  */
397
397
  isWorkTank() {
398
- var _a;
399
398
  // chart accounts may be empty for new instances
400
399
  if (this.chartAccounts) {
401
- return CHART_ACCOUNTS_CATEGORIES.work.includes((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.category);
400
+ return CHART_ACCOUNTS_CATEGORIES.work.includes(this.chartAccounts?.category);
402
401
  }
403
402
  return !this.isPropertyTank() && !this.isSoleTank();
404
403
  }
@@ -406,10 +405,9 @@ class TransactionBase extends ObservableModel {
406
405
  * Check if current tank is Sole
407
406
  */
408
407
  isSoleTank() {
409
- var _a;
410
408
  // chart accounts may be empty for new instances
411
409
  if (this.chartAccounts) {
412
- return CHART_ACCOUNTS_CATEGORIES.sole.includes((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.category);
410
+ return CHART_ACCOUNTS_CATEGORIES.sole.includes(this.chartAccounts?.category);
413
411
  }
414
412
  return !!this.business;
415
413
  }
@@ -449,152 +447,152 @@ __decorate([
449
447
  Exclude()
450
448
  ], TransactionBase.prototype, "gstClaimAmount", null);
451
449
 
452
- class Depreciation$1 extends TransactionBase {
453
- }
450
+ let Depreciation$1 = class Depreciation extends TransactionBase {
451
+ };
454
452
 
455
453
  class DocumentBase extends AbstractModel {
456
454
  }
457
455
 
458
- class DocumentFolder$1 extends AbstractModel {
459
- }
456
+ let DocumentFolder$1 = class DocumentFolder extends AbstractModel {
457
+ };
460
458
 
461
- class Document$1 extends AbstractModel {
462
- }
459
+ let Document$1 = class Document extends AbstractModel {
460
+ };
463
461
 
464
- class PropertyDocument$1 extends AbstractModel {
462
+ let PropertyDocument$1 = class PropertyDocument extends AbstractModel {
465
463
  getApiUrlPrefix() {
466
464
  return '';
467
465
  }
468
466
  getEntity() {
469
467
  return undefined;
470
468
  }
471
- }
469
+ };
472
470
 
473
- class TaxReview$1 extends AbstractModel {
474
- }
471
+ let TaxReview$1 = class TaxReview extends AbstractModel {
472
+ };
475
473
 
476
474
  class Ticket extends AbstractModel {
477
475
  }
478
476
 
479
- class Chat$1 extends AbstractModel {
480
- }
477
+ let Chat$1 = class Chat extends AbstractModel {
478
+ };
481
479
 
482
- class ClientInvite$1 extends AbstractModel {
483
- }
480
+ let ClientInvite$1 = class ClientInvite extends AbstractModel {
481
+ };
484
482
 
485
- class ClientMovement$1 extends AbstractModel {
486
- }
483
+ let ClientMovement$1 = class ClientMovement extends AbstractModel {
484
+ };
487
485
 
488
- class EmployeeInvite$1 extends AbstractModel {
489
- }
486
+ let EmployeeInvite$1 = class EmployeeInvite extends AbstractModel {
487
+ };
490
488
 
491
489
  class FirmInvite extends AbstractModel {
492
490
  }
493
491
 
494
- class Firm$1 extends AbstractModel {
495
- }
492
+ let Firm$1 = class Firm extends AbstractModel {
493
+ };
496
494
 
497
- class MessageDocument$1 extends AbstractModel {
498
- }
495
+ let MessageDocument$1 = class MessageDocument extends AbstractModel {
496
+ };
499
497
 
500
- class Message$1 extends ObservableModel {
501
- }
498
+ let Message$1 = class Message extends ObservableModel {
499
+ };
502
500
 
503
- class IncomeSourceForecast$1 extends AbstractModel {
504
- }
501
+ let IncomeSourceForecast$1 = class IncomeSourceForecast extends AbstractModel {
502
+ };
505
503
 
506
- class IncomeSourceType$1 extends AbstractModel {
507
- }
504
+ let IncomeSourceType$1 = class IncomeSourceType extends AbstractModel {
505
+ };
508
506
 
509
- class IncomeSource$1 extends AbstractModel {
510
- }
507
+ let IncomeSource$1 = class IncomeSource extends AbstractModel {
508
+ };
511
509
 
512
- class SalaryForecast$1 extends AbstractModel {
513
- }
510
+ let SalaryForecast$1 = class SalaryForecast extends AbstractModel {
511
+ };
514
512
 
515
- class BorrowingExpenseLoan$1 extends AbstractModel {
516
- }
513
+ let BorrowingExpenseLoan$1 = class BorrowingExpenseLoan extends AbstractModel {
514
+ };
517
515
 
518
- class BorrowingExpense$1 extends AbstractModel {
519
- }
516
+ let BorrowingExpense$1 = class BorrowingExpense extends AbstractModel {
517
+ };
520
518
 
521
- class LoanPayout$1 extends ObservableModel {
522
- }
519
+ let LoanPayout$1 = class LoanPayout extends ObservableModel {
520
+ };
523
521
 
524
- class Loan$1 extends ObservableModel {
525
- }
522
+ let Loan$1 = class Loan extends ObservableModel {
523
+ };
526
524
 
527
- class PropertySaleTaxExemptionMetadata$1 extends AbstractModel {
528
- }
525
+ let PropertySaleTaxExemptionMetadata$1 = class PropertySaleTaxExemptionMetadata extends AbstractModel {
526
+ };
529
527
 
530
- class PropertySale$1 extends ObservableModel {
531
- }
528
+ let PropertySale$1 = class PropertySale extends ObservableModel {
529
+ };
532
530
 
533
- class TaxExemptionMetadata$1 extends AbstractModel {
534
- }
531
+ let TaxExemptionMetadata$1 = class TaxExemptionMetadata extends AbstractModel {
532
+ };
535
533
 
536
- class TaxExemption$1 extends AbstractModel {
537
- }
534
+ let TaxExemption$1 = class TaxExemption extends AbstractModel {
535
+ };
538
536
 
539
- class PropertyCategoryMovement$1 extends ObservableModel {
540
- }
537
+ let PropertyCategoryMovement$1 = class PropertyCategoryMovement extends ObservableModel {
538
+ };
541
539
 
542
- class PropertyCategory$1 extends ObservableModel {
543
- }
540
+ let PropertyCategory$1 = class PropertyCategory extends ObservableModel {
541
+ };
544
542
 
545
- class PropertyForecast$1 extends AbstractModel {
546
- }
543
+ let PropertyForecast$1 = class PropertyForecast extends AbstractModel {
544
+ };
547
545
 
548
- class PropertyShare$1 extends ObservableModel {
549
- }
546
+ let PropertyShare$1 = class PropertyShare extends ObservableModel {
547
+ };
550
548
 
551
- class PropertySubscription$1 extends AbstractModel {
552
- }
549
+ let PropertySubscription$1 = class PropertySubscription extends AbstractModel {
550
+ };
553
551
 
554
- class PropertyValuation$1 extends AbstractModel {
555
- }
552
+ let PropertyValuation$1 = class PropertyValuation extends AbstractModel {
553
+ };
556
554
 
557
- class Property$1 extends ObservableModel {
558
- }
555
+ let Property$1 = class Property extends ObservableModel {
556
+ };
559
557
 
560
- class BasReport$1 extends AbstractModel {
561
- }
558
+ let BasReport$1 = class BasReport extends AbstractModel {
559
+ };
562
560
 
563
- class SoleBusinessActivity$1 extends AbstractModel {
564
- }
561
+ let SoleBusinessActivity$1 = class SoleBusinessActivity extends AbstractModel {
562
+ };
565
563
 
566
- class SoleBusinessAllocation$1 extends AbstractModel {
567
- }
564
+ let SoleBusinessAllocation$1 = class SoleBusinessAllocation extends AbstractModel {
565
+ };
568
566
 
569
- class SoleBusinessLossOffsetRule$1 extends AbstractModel {
570
- }
567
+ let SoleBusinessLossOffsetRule$1 = class SoleBusinessLossOffsetRule extends AbstractModel {
568
+ };
571
569
 
572
- class SoleBusinessLoss$1 extends AbstractModel {
573
- }
570
+ let SoleBusinessLoss$1 = class SoleBusinessLoss extends AbstractModel {
571
+ };
574
572
 
575
- class SoleBusiness$1 extends AbstractModel {
576
- }
573
+ let SoleBusiness$1 = class SoleBusiness extends AbstractModel {
574
+ };
577
575
 
578
- class SoleContact$1 extends AbstractModel {
579
- }
576
+ let SoleContact$1 = class SoleContact extends AbstractModel {
577
+ };
580
578
 
581
- class SoleDepreciationMethod$1 extends AbstractModel {
582
- }
579
+ let SoleDepreciationMethod$1 = class SoleDepreciationMethod extends AbstractModel {
580
+ };
583
581
 
584
- class SoleDetails$1 extends AbstractModel {
585
- }
582
+ let SoleDetails$1 = class SoleDetails extends AbstractModel {
583
+ };
586
584
 
587
- class SoleForecast$1 extends AbstractModel {
588
- }
585
+ let SoleForecast$1 = class SoleForecast extends AbstractModel {
586
+ };
589
587
 
590
- class SoleInvoiceItem$1 extends AbstractModel {
591
- }
588
+ let SoleInvoiceItem$1 = class SoleInvoiceItem extends AbstractModel {
589
+ };
592
590
 
593
- class SoleInvoiceTemplate$1 extends AbstractModel {
594
- }
591
+ let SoleInvoiceTemplate$1 = class SoleInvoiceTemplate extends AbstractModel {
592
+ };
595
593
 
596
- class SoleInvoice$1 extends AbstractModel {
597
- }
594
+ let SoleInvoice$1 = class SoleInvoice extends AbstractModel {
595
+ };
598
596
 
599
597
  class SpareDocumentCategory extends AbstractModel {
600
598
  }
@@ -602,20 +600,20 @@ class SpareDocumentCategory extends AbstractModel {
602
600
  class SpareDocument extends AbstractModel {
603
601
  }
604
602
 
605
- class ServicePayment$1 extends AbstractModel {
606
- }
603
+ let ServicePayment$1 = class ServicePayment extends AbstractModel {
604
+ };
607
605
 
608
- class ServicePrice$1 extends AbstractModel {
609
- }
606
+ let ServicePrice$1 = class ServicePrice extends AbstractModel {
607
+ };
610
608
 
611
- class ServiceProduct$1 extends AbstractModel {
612
- }
609
+ let ServiceProduct$1 = class ServiceProduct extends AbstractModel {
610
+ };
613
611
 
614
- class ServiceSubscriptionItem$1 extends AbstractModel {
615
- }
612
+ let ServiceSubscriptionItem$1 = class ServiceSubscriptionItem extends AbstractModel {
613
+ };
616
614
 
617
- class ServiceSubscription$1 extends ObservableModel {
618
- }
615
+ let ServiceSubscription$1 = class ServiceSubscription extends ObservableModel {
616
+ };
619
617
 
620
618
  class TaxReturnCategory extends AbstractModel {
621
619
  }
@@ -623,65 +621,65 @@ class TaxReturnCategory extends AbstractModel {
623
621
  class TaxReturn extends AbstractModel {
624
622
  }
625
623
 
626
- class TransactionAllocation$1 extends AbstractModel {
627
- }
624
+ let TransactionAllocation$1 = class TransactionAllocation extends AbstractModel {
625
+ };
628
626
 
629
- class TransactionMetadata$1 extends AbstractModel {
630
- }
627
+ let TransactionMetadata$1 = class TransactionMetadata extends AbstractModel {
628
+ };
631
629
 
632
- class TransactionReceipt$1 extends AbstractModel {
633
- }
630
+ let TransactionReceipt$1 = class TransactionReceipt extends AbstractModel {
631
+ };
634
632
 
635
- class Transaction$1 extends TransactionBase {
636
- }
633
+ let Transaction$1 = class Transaction extends TransactionBase {
634
+ };
637
635
 
638
- class ClientDetails$1 extends AbstractModel {
639
- }
636
+ let ClientDetails$1 = class ClientDetails extends AbstractModel {
637
+ };
640
638
 
641
- class ClientIncomeTypes$1 extends ObservableModel {
642
- }
639
+ let ClientIncomeTypes$1 = class ClientIncomeTypes extends ObservableModel {
640
+ };
643
641
 
644
- class EmployeeDetails$1 extends AbstractModel {
645
- }
642
+ let EmployeeDetails$1 = class EmployeeDetails extends AbstractModel {
643
+ };
646
644
 
647
- class Occupation$1 extends AbstractModel {
648
- }
645
+ let Occupation$1 = class Occupation extends AbstractModel {
646
+ };
649
647
 
650
- class RegistrationInvite$1 extends AbstractModel {
651
- }
648
+ let RegistrationInvite$1 = class RegistrationInvite extends AbstractModel {
649
+ };
652
650
 
653
- class UserEventSetting$1 extends AbstractModel {
654
- }
651
+ let UserEventSetting$1 = class UserEventSetting extends AbstractModel {
652
+ };
655
653
 
656
- class UserEventTypeCategory$1 extends AbstractModel {
657
- }
654
+ let UserEventTypeCategory$1 = class UserEventTypeCategory extends AbstractModel {
655
+ };
658
656
 
659
- class UserEventType$1 extends AbstractModel {
660
- }
657
+ let UserEventType$1 = class UserEventType extends AbstractModel {
658
+ };
661
659
 
662
660
  class UserEvent extends AbstractModel {
663
661
  }
664
662
 
665
- class User$1 extends AbstractModel {
666
- }
663
+ let User$1 = class User extends AbstractModel {
664
+ };
667
665
 
668
- class VehicleClaimDetails$1 extends AbstractModel {
669
- }
666
+ let VehicleClaimDetails$1 = class VehicleClaimDetails extends AbstractModel {
667
+ };
670
668
 
671
- class VehicleClaim$1 extends AbstractModel {
672
- }
669
+ let VehicleClaim$1 = class VehicleClaim extends AbstractModel {
670
+ };
673
671
 
674
- class VehicleLogbook$1 extends AbstractModel {
675
- }
672
+ let VehicleLogbook$1 = class VehicleLogbook extends AbstractModel {
673
+ };
676
674
 
677
- class Vehicle$1 extends AbstractModel {
678
- }
675
+ let Vehicle$1 = class Vehicle extends AbstractModel {
676
+ };
679
677
 
680
- class File$1 extends AbstractModel {
681
- }
678
+ let File$1 = class File extends AbstractModel {
679
+ };
682
680
 
683
- class Phone$1 extends AbstractModel {
684
- }
681
+ let Phone$1 = class Phone extends AbstractModel {
682
+ };
685
683
 
686
684
  class ServiceNotification extends AbstractModel {
687
685
  }
@@ -1156,8 +1154,7 @@ class Collection {
1156
1154
  return this.items.find((model) => value === get(model, path));
1157
1155
  }
1158
1156
  findIndexBy(path, value) {
1159
- var _a;
1160
- return (_a = this.items.findIndex((item) => get(item, path) === value)) !== null && _a !== void 0 ? _a : null;
1157
+ return this.items.findIndex((item) => get(item, path) === value) ?? null;
1161
1158
  }
1162
1159
  push(...items) {
1163
1160
  this.items.push(...items);
@@ -1565,14 +1562,14 @@ class LoanCollection extends Collection {
1565
1562
  * @param ids list of bank accounts ids for filter
1566
1563
  */
1567
1564
  getByBankAccountsIds(ids) {
1568
- return new LoanCollection(this.items.filter((loan) => { var _a; return ids.includes((_a = loan.bankAccount) === null || _a === void 0 ? void 0 : _a.id); }));
1565
+ return new LoanCollection(this.items.filter((loan) => ids.includes(loan.bankAccount?.id)));
1569
1566
  }
1570
1567
  /**
1571
1568
  * Get single loan by bank account id
1572
1569
  * @param id id of bank account
1573
1570
  */
1574
1571
  getByBankAccountId(id) {
1575
- return this.items.find((loan) => { var _a; return ((_a = loan.bankAccount) === null || _a === void 0 ? void 0 : _a.id) === id; });
1572
+ return this.items.find((loan) => loan.bankAccount?.id === id);
1576
1573
  }
1577
1574
  /**
1578
1575
  * Get list of current fin year payments grouped by loan id
@@ -1616,16 +1613,13 @@ var TaxExemptionMetadataEnum;
1616
1613
 
1617
1614
  class PropertySaleTaxExemptionMetadataCollection extends Collection {
1618
1615
  getPPRDays() {
1619
- var _a, _b;
1620
- return (_b = (_a = this.getByMetadataId(TaxExemptionMetadataEnum.PPR_DAYS)) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : 0;
1616
+ return this.getByMetadataId(TaxExemptionMetadataEnum.PPR_DAYS)?.value ?? 0;
1621
1617
  }
1622
1618
  getMarketValue() {
1623
- var _a, _b;
1624
- return (_b = (_a = this.getByMetadataId(TaxExemptionMetadataEnum.MARKET_VALUE)) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : 0;
1619
+ return this.getByMetadataId(TaxExemptionMetadataEnum.MARKET_VALUE)?.value ?? 0;
1625
1620
  }
1626
1621
  getClaimPercent() {
1627
- var _a, _b;
1628
- return (_b = (_a = this.getByMetadataId(TaxExemptionMetadataEnum.CLAIM_PERCENT)) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : 100;
1622
+ return this.getByMetadataId(TaxExemptionMetadataEnum.CLAIM_PERCENT)?.value ?? 100;
1629
1623
  }
1630
1624
  getByMetadataId(id) {
1631
1625
  return this.items.find((metadata) => metadata.metadata.id === id);
@@ -1768,8 +1762,7 @@ class PropertyShareCollection extends Collection {
1768
1762
  */
1769
1763
  getIncoming() {
1770
1764
  return this.filter((propertyShare) => {
1771
- var _a;
1772
- return ((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId');
1765
+ return propertyShare.user?.isLoggedIn() && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId');
1773
1766
  });
1774
1767
  }
1775
1768
  /**
@@ -1778,7 +1771,7 @@ class PropertyShareCollection extends Collection {
1778
1771
  * @TODO Alex: rename
1779
1772
  */
1780
1773
  getOutcoming() {
1781
- return this.filter((propertyShare) => { var _a; return !((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()); });
1774
+ return this.filter((propertyShare) => !propertyShare.user?.isLoggedIn());
1782
1775
  }
1783
1776
  }
1784
1777
 
@@ -2104,7 +2097,7 @@ class DepreciationForecast extends DepreciationForecast$1 {
2104
2097
  return this.claimAmount / this.daysApplied;
2105
2098
  }
2106
2099
  get daysApplied() {
2107
- return moment$1(this.toDate).diff(moment$1(this.fromDate), 'days');
2100
+ return moment(this.toDate).diff(moment(this.fromDate), 'days');
2108
2101
  }
2109
2102
  getDaysByMonth(month) {
2110
2103
  // @TODO find a better place
@@ -2433,8 +2426,7 @@ class ChartAccounts extends ChartAccounts$1 {
2433
2426
  return this.category === ChartAccountsCategoryEnum.WORK_INCOME;
2434
2427
  }
2435
2428
  isVehicleExpense() {
2436
- var _a;
2437
- return !!ChartAccountsHeadingVehicleListEnum[(_a = this.heading) === null || _a === void 0 ? void 0 : _a.id];
2429
+ return !!ChartAccountsHeadingVehicleListEnum[this.heading?.id];
2438
2430
  }
2439
2431
  /**
2440
2432
  * Check if chart accounts is other income
@@ -2513,7 +2505,6 @@ class ChartAccounts extends ChartAccounts$1 {
2513
2505
  * tax type depends on chart account heading or category.
2514
2506
  */
2515
2507
  getTaxLabel() {
2516
- var _a, _b;
2517
2508
  // get simple array of ids from enum with taxable chart accounts headings
2518
2509
  const taxableCAHeadingsIds = enumToList(ChartAccountsHeadingTaxableEnum)
2519
2510
  .map((item) => item.value);
@@ -2523,9 +2514,9 @@ class ChartAccounts extends ChartAccounts$1 {
2523
2514
  // check if one of ids arrays includes current chart accounts heading id and set tax label
2524
2515
  // otherwise label is empty for this class
2525
2516
  switch (true) {
2526
- case taxableCAHeadingsIds.includes((_a = this.heading) === null || _a === void 0 ? void 0 : _a.id):
2517
+ case taxableCAHeadingsIds.includes(this.heading?.id):
2527
2518
  return ChartAccountsTaxLabelsEnum.TAX_PAID;
2528
- case deductibleCAHeadingsIds.includes((_b = this.heading) === null || _b === void 0 ? void 0 : _b.id):
2519
+ case deductibleCAHeadingsIds.includes(this.heading?.id):
2529
2520
  return ChartAccountsTaxLabelsEnum.TAX_DEDUCTED;
2530
2521
  case CHART_ACCOUNTS_CATEGORIES.workIncome.includes(this.category):
2531
2522
  return ChartAccountsTaxLabelsEnum.TAX_WITHHELD;
@@ -3220,8 +3211,6 @@ __decorate([
3220
3211
  Type(() => Date)
3221
3212
  ], LogbookPeriod.prototype, "to", void 0);
3222
3213
 
3223
- // problem with DateRange and typescript. See more https://github.com/rotaready/moment-range/issues/263
3224
- const moment = extendMoment(moment$1);
3225
3214
  class VehicleLogbook extends VehicleLogbook$1 {
3226
3215
  get kilometers() {
3227
3216
  return this.odometerEnd - this.odometerStart;
@@ -3239,7 +3228,12 @@ class VehicleLogbook extends VehicleLogbook$1 {
3239
3228
  * Get logbook period date range from logbook date and weeksInPeriod duration
3240
3229
  */
3241
3230
  getPeriod() {
3242
- return moment.rangeFromInterval('milliseconds', VehicleLogbook.bestPeriodDuration, this.date);
3231
+ /**
3232
+ * Hack: The library is using not by documentation, but works
3233
+ * moment-range is broken since we updated Typescript to v4 (https://github.com/rotaready/moment-range/issues/238)
3234
+ * extendMoment(Moment) cause error and broke the app
3235
+ */
3236
+ return new DateRange([this.date, new Date(this.date.getTime() + VehicleLogbook.bestPeriodDuration)]);
3243
3237
  }
3244
3238
  }
3245
3239
  /**
@@ -3458,8 +3452,7 @@ class Transaction extends Transaction$1 {
3458
3452
  this.amount = 0;
3459
3453
  }
3460
3454
  get invoiceId() {
3461
- var _a;
3462
- return (_a = this.soleInvoiceItem) === null || _a === void 0 ? void 0 : _a.invoice.id;
3455
+ return this.soleInvoiceItem?.invoice.id;
3463
3456
  }
3464
3457
  isDebit() {
3465
3458
  return this.type === TransactionTypeEnum.DEBIT;
@@ -3554,10 +3547,9 @@ class Transaction extends Transaction$1 {
3554
3547
  * @Todo modify 'metadata' property from array to Collection
3555
3548
  */
3556
3549
  getMetadataFieldValue(field) {
3557
- var _a;
3558
- return +((_a = this.metadata.find((transactionMetadata) => {
3550
+ return +this.metadata.find((transactionMetadata) => {
3559
3551
  return transactionMetadata.chartAccountsMetadata.id === field;
3560
- })) === null || _a === void 0 ? void 0 : _a.value) || 0;
3552
+ })?.value || 0;
3561
3553
  }
3562
3554
  isCash() {
3563
3555
  return this.source === TransactionSourceEnum.CASH;
@@ -3606,7 +3598,7 @@ class Transaction extends Transaction$1 {
3606
3598
  }
3607
3599
  // salary included transactions affect parent transaction amount and as a result grossAmount, skip to avoid double sum
3608
3600
  grossAmount += new Collection(this.transactions)
3609
- .filter((t) => { var _a; return !((_a = t.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalaryIncluded()); })
3601
+ .filter((t) => !t.chartAccounts?.isSalaryIncluded())
3610
3602
  .sumBy('amount', true);
3611
3603
  if (this.isWorkTank()) {
3612
3604
  grossAmount += this.frankingCredit - this.taxFreeComponent - this.eligibleForReduction;
@@ -3620,7 +3612,7 @@ class Transaction extends Transaction$1 {
3620
3612
  */
3621
3613
  get netAmount() {
3622
3614
  return new Collection(this.transactions)
3623
- .filter((t) => { var _a; return (_a = t.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalaryIncluded(); })
3615
+ .filter((t) => t.chartAccounts?.isSalaryIncluded())
3624
3616
  .sumBy('amount') + this.amountWithGst;
3625
3617
  }
3626
3618
  /**
@@ -3628,8 +3620,7 @@ class Transaction extends Transaction$1 {
3628
3620
  * user's choice and transform amount, but there are exceptions like advance (negative or positive amount)
3629
3621
  */
3630
3622
  ignoreSign() {
3631
- var _a;
3632
- return !(((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.id) in ChartAccountsKeepSign);
3623
+ return !(this.chartAccounts?.id in ChartAccountsKeepSign);
3633
3624
  }
3634
3625
  }
3635
3626
  __decorate([
@@ -3725,18 +3716,16 @@ class Depreciation extends Depreciation$1 {
3725
3716
  return this.writeOffYear === new FinancialYear().year;
3726
3717
  }
3727
3718
  get writeOffYear() {
3728
- var _a;
3729
3719
  if (!this.writeOffManualDate && !this.writeOffDate) {
3730
3720
  return null;
3731
3721
  }
3732
- return (_a = new FinancialYear(this.writeOffManualDate || this.writeOffDate)) === null || _a === void 0 ? void 0 : _a.year;
3722
+ return new FinancialYear(this.writeOffManualDate || this.writeOffDate)?.year;
3733
3723
  }
3734
3724
  /**
3735
3725
  * Check if depreciation chart accounts heading related to vehicles category
3736
3726
  */
3737
3727
  isVehicleDepreciation() {
3738
- var _a;
3739
- return ((_a = this.chartAccounts.heading) === null || _a === void 0 ? void 0 : _a.id) === ChartAccountsHeadingVehicleListEnum.DEPRECIATION_VEHICLES;
3728
+ return this.chartAccounts.heading?.id === ChartAccountsHeadingVehicleListEnum.DEPRECIATION_VEHICLES;
3740
3729
  }
3741
3730
  /**
3742
3731
  * Get depreciation purchase date
@@ -3764,12 +3753,10 @@ class Depreciation extends Depreciation$1 {
3764
3753
  });
3765
3754
  }
3766
3755
  getClaimAmountByYear(year) {
3767
- var _a;
3768
- return ((_a = this.getForecastByYear(year)) === null || _a === void 0 ? void 0 : _a.claimAmount) || 0;
3756
+ return this.getForecastByYear(year)?.claimAmount || 0;
3769
3757
  }
3770
3758
  getCloseBalanceByYear(year) {
3771
- var _a;
3772
- return ((_a = this.getForecastByYear(year)) === null || _a === void 0 ? void 0 : _a.closeBalance) || 0;
3759
+ return this.getForecastByYear(year)?.closeBalance || 0;
3773
3760
  }
3774
3761
  isBuildingAtCost() {
3775
3762
  return this.chartAccounts.id === ChartAccountsListEnum.BUILDING_AT_COST;
@@ -3778,18 +3765,16 @@ class Depreciation extends Depreciation$1 {
3778
3765
  * Create a new transaction from current depreciation
3779
3766
  */
3780
3767
  toTransaction(params = {}) {
3781
- var _a, _b;
3782
3768
  return plainToClass(Transaction, Object.assign(params, this, {
3783
- amount: -((_a = this.currentYearForecast) === null || _a === void 0 ? void 0 : _a.amount) || 0,
3784
- claimAmount: -((_b = this.currentYearForecast) === null || _b === void 0 ? void 0 : _b.claimAmount) || 0,
3769
+ amount: -this.currentYearForecast?.amount || 0,
3770
+ claimAmount: -this.currentYearForecast?.claimAmount || 0,
3785
3771
  }));
3786
3772
  }
3787
3773
  /**
3788
3774
  * @TODO Michael: remove and check everywhere in reports
3789
3775
  */
3790
3776
  get claimAmount() {
3791
- var _a;
3792
- return ((_a = this.currentYearForecast) === null || _a === void 0 ? void 0 : _a.claimAmount) || 0;
3777
+ return this.currentYearForecast?.claimAmount || 0;
3793
3778
  }
3794
3779
  get amountWithGst() {
3795
3780
  // gst applies only to new assets
@@ -3799,8 +3784,7 @@ class Depreciation extends Depreciation$1 {
3799
3784
  return this.amount;
3800
3785
  }
3801
3786
  get gstClaimAmount() {
3802
- var _a;
3803
- return this.gstAmount * ((_a = this.currentYearForecast) === null || _a === void 0 ? void 0 : _a.claimRate);
3787
+ return this.gstAmount * this.currentYearForecast?.claimRate;
3804
3788
  }
3805
3789
  /**
3806
3790
  * assets purchased in the current financial year
@@ -3978,8 +3962,7 @@ class TransactionCollection extends ExportableCollection {
3978
3962
  */
3979
3963
  getByPropertiesIds(ids) {
3980
3964
  return new TransactionCollection(this.items.filter((transaction) => {
3981
- var _a;
3982
- return ids.includes((_a = transaction.property) === null || _a === void 0 ? void 0 : _a.id);
3965
+ return ids.includes(transaction.property?.id);
3983
3966
  }));
3984
3967
  }
3985
3968
  /**
@@ -3987,7 +3970,7 @@ class TransactionCollection extends ExportableCollection {
3987
3970
  * @param id id of income source for filter
3988
3971
  */
3989
3972
  getByIncomeSourceId(id) {
3990
- return new TransactionCollection(this.items.filter((transaction) => { var _a; return ((_a = transaction.incomeSource) === null || _a === void 0 ? void 0 : _a.id) === id; }));
3973
+ return new TransactionCollection(this.items.filter((transaction) => transaction.incomeSource?.id === id));
3991
3974
  }
3992
3975
  /**
3993
3976
  * Get new collection filtered by chart accounts category
@@ -4204,7 +4187,7 @@ class DepreciationCollection extends Collection {
4204
4187
  return this.sumBy('currentYearForecast.closeBalance');
4205
4188
  }
4206
4189
  getByPropertiesIds(ids) {
4207
- return new DepreciationCollection(this.items.filter((depreciation) => { var _a; return ids.includes((_a = depreciation.property) === null || _a === void 0 ? void 0 : _a.id); }));
4190
+ return new DepreciationCollection(this.items.filter((depreciation) => ids.includes(depreciation.property?.id)));
4208
4191
  }
4209
4192
  getWithCapitalProject() {
4210
4193
  return new DepreciationCollection(this.items.filter((depreciation) => !!depreciation.depreciationCapitalProject));
@@ -4507,9 +4490,9 @@ class SoleBusinessLossesCollection extends Collection {
4507
4490
  const claimAmountsByBusinessId = this.getClaimAmountsByBusinessId(transactions, allocations);
4508
4491
  return Object.keys(claimAmountsByBusinessId.items).reduce((sum, businessId) => {
4509
4492
  const loss = this.findBy('business.id', +businessId);
4510
- const lossOpenBalance = (loss === null || loss === void 0 ? void 0 : loss.openBalance) || 0;
4493
+ const lossOpenBalance = loss?.openBalance || 0;
4511
4494
  // business loss can be applied to business profit or other income types profit in case in offset rule met
4512
- return sum + ((loss === null || loss === void 0 ? void 0 : loss.offsetRule) ? lossOpenBalance : Math.min(lossOpenBalance, claimAmountsByBusinessId.get(businessId)));
4495
+ return sum + (loss?.offsetRule ? lossOpenBalance : Math.min(lossOpenBalance, claimAmountsByBusinessId.get(businessId)));
4513
4496
  }, 0);
4514
4497
  }
4515
4498
  /**
@@ -4521,9 +4504,8 @@ class SoleBusinessLossesCollection extends Collection {
4521
4504
  const claimAmountsByBusinessId = new Dictionary([]);
4522
4505
  const transactionsByBusinessId = new CollectionDictionary(transactions, 'business.id');
4523
4506
  transactionsByBusinessId.keys.forEach((businessId) => {
4524
- var _a;
4525
4507
  // business loss may not exist if, when creating a business, user didn't add losses for previous years
4526
- const lossOffsetRule = (_a = this.findBy('business.id', +businessId)) === null || _a === void 0 ? void 0 : _a.offsetRule;
4508
+ const lossOffsetRule = this.findBy('business.id', +businessId)?.offsetRule;
4527
4509
  const businessClaimAmount = transactionsByBusinessId
4528
4510
  .get(businessId)
4529
4511
  .getBusinessClaimAmount(allocations, +businessId);
@@ -5318,7 +5300,7 @@ class BankTransactionCollection extends Collection {
5318
5300
  */
5319
5301
  preselectAllocateOperationForSalary(salaryIncomeSources) {
5320
5302
  // incomeSource.salaryForecasts[0] because each income source has only one forecast for current fin year
5321
- const salaryAmounts = salaryIncomeSources.map((incomeSource) => { var _a; return ((_a = incomeSource.salaryForecasts[0]) === null || _a === void 0 ? void 0 : _a.netPay) || 0; });
5303
+ const salaryAmounts = salaryIncomeSources.map((incomeSource) => incomeSource.salaryForecasts[0]?.netPay || 0);
5322
5304
  this.items.forEach((bankTransaction) => {
5323
5305
  if (salaryAmounts.includes(bankTransaction.amount)) {
5324
5306
  bankTransaction.operation = TransactionOperationEnum.ALLOCATE;
@@ -5367,8 +5349,7 @@ var FirmTypeEnum;
5367
5349
 
5368
5350
  class EmployeeCollection extends Collection {
5369
5351
  get accountant() {
5370
- var _a;
5371
- return (_a = this.items.filter((user) => user.employeeDetails.firm.type === FirmTypeEnum.ACCOUNTANT)[0]) !== null && _a !== void 0 ? _a : null;
5352
+ return this.items.filter((user) => user.employeeDetails.firm.type === FirmTypeEnum.ACCOUNTANT)[0] ?? null;
5372
5353
  }
5373
5354
  get advisors() {
5374
5355
  return this.items.filter((user) => user.employeeDetails.firm.type === FirmTypeEnum.ADVISOR);
@@ -5389,8 +5370,7 @@ class ClientMovementCollection extends Collection {
5389
5370
  return new EmployeeCollection(this.items.map((clientMovement) => clientMovement.client));
5390
5371
  }
5391
5372
  get accountant() {
5392
- var _a;
5393
- return (_a = this.items.filter((clientMovement) => clientMovement.firm.type === FirmTypeEnum.ACCOUNTANT)[0]) !== null && _a !== void 0 ? _a : null;
5373
+ return this.items.filter((clientMovement) => clientMovement.firm.type === FirmTypeEnum.ACCOUNTANT)[0] ?? null;
5394
5374
  }
5395
5375
  get advisors() {
5396
5376
  return new ClientMovementCollection(this.items.filter((clientMovement) => clientMovement.firm.type === FirmTypeEnum.ADVISOR));
@@ -5765,11 +5745,11 @@ class User extends User$1 {
5765
5745
  * @param roleType by which role should be returned
5766
5746
  */
5767
5747
  getSubscriptionRole(roleType) {
5768
- var _a;
5769
5748
  /**
5770
5749
  * Add @TODO for Alex to check if we should use getLastSubscription here
5771
5750
  */
5772
- return (_a = this.activeSubscription) === null || _a === void 0 ? void 0 : _a.items.find((subscriptionItem) => subscriptionItem.price.product.role.includes(roleType));
5751
+ return this.activeSubscription?.items
5752
+ .find((subscriptionItem) => subscriptionItem.price.product.role.includes(roleType));
5773
5753
  }
5774
5754
  /**
5775
5755
  * Get user's photo link
@@ -5960,15 +5940,13 @@ class Property extends Property$1 {
5960
5940
  return this.address.name;
5961
5941
  }
5962
5942
  get isActive() {
5963
- var _a;
5964
- return !!((_a = this.subscriptions) === null || _a === void 0 ? void 0 : _a.length);
5943
+ return !!this.subscriptions?.length;
5965
5944
  }
5966
5945
  isOwn() {
5967
5946
  return this.user.id === +localStorage.getItem('userId');
5968
5947
  }
5969
5948
  isSold() {
5970
- var _a;
5971
- return !!((_a = this.myShare) === null || _a === void 0 ? void 0 : _a.sale);
5949
+ return !!this.myShare?.sale;
5972
5950
  }
5973
5951
  /**
5974
5952
  * Get initials of property. Required by Photoable interface
@@ -5989,23 +5967,19 @@ class Property extends Property$1 {
5989
5967
  return this.valuations.filter((valuation) => valuation.isCurrentYear());
5990
5968
  }
5991
5969
  get marketValue() {
5992
- var _a;
5993
- return ((_a = this.actualValuation) === null || _a === void 0 ? void 0 : _a.marketValue) || 0;
5970
+ return this.actualValuation?.marketValue || 0;
5994
5971
  }
5995
5972
  get currentYearForecast() {
5996
5973
  return this.forecasts.find((forecast) => forecast.isCurrentYear());
5997
5974
  }
5998
5975
  get forecastedRentalReturn() {
5999
- var _a;
6000
- return ((_a = this.currentYearForecast) === null || _a === void 0 ? void 0 : _a.rentalReturn) || 0;
5976
+ return this.currentYearForecast?.rentalReturn || 0;
6001
5977
  }
6002
5978
  get forecastedTaxPosition() {
6003
- var _a;
6004
- return ((_a = this.currentYearForecast) === null || _a === void 0 ? void 0 : _a.taxPosition) || 0;
5979
+ return this.currentYearForecast?.taxPosition || 0;
6005
5980
  }
6006
5981
  get forecastedCashPosition() {
6007
- var _a;
6008
- return ((_a = this.currentYearForecast) === null || _a === void 0 ? void 0 : _a.cashPosition) || 0;
5982
+ return this.currentYearForecast?.cashPosition || 0;
6009
5983
  }
6010
5984
  get firstForecastYear() {
6011
5985
  return this.forecasts.reduce((min, forecast) => {
@@ -6099,9 +6073,8 @@ class Property extends Property$1 {
6099
6073
  * tax exemption can reduce cgt from 100% to less (up to zero)
6100
6074
  */
6101
6075
  getCGTExemptionRatio(sale) {
6102
- var _a;
6103
6076
  const metadata = new PropertySaleTaxExemptionMetadataCollection(sale.taxExemptionMetadata);
6104
- switch ((_a = sale.taxExemption) === null || _a === void 0 ? void 0 : _a.id) {
6077
+ switch (sale.taxExemption?.id) {
6105
6078
  // 50% exemption for investments owned for at least one year
6106
6079
  case TaxExemptionEnum.ONE_YEAR_RULE:
6107
6080
  return 0.5;
@@ -6139,7 +6112,7 @@ class Property extends Property$1 {
6139
6112
  * ownership duration from purchase till sale
6140
6113
  */
6141
6114
  getOwnershipDuration(sale, unitOfTime = 'days') {
6142
- return moment$1(sale.contractDate).diff(moment$1(this.contractDate), unitOfTime);
6115
+ return moment(sale.contractDate).diff(moment(this.contractDate), unitOfTime);
6143
6116
  }
6144
6117
  /**
6145
6118
  * Tax Position = Income - Expense - Interest - Depreciation
@@ -6256,8 +6229,7 @@ class BankAccount extends BankAccount$1 {
6256
6229
  * Get current opening balance amount
6257
6230
  */
6258
6231
  getOpeningBalance() {
6259
- var _a;
6260
- return ((_a = this.getCurrentYearBalance()) === null || _a === void 0 ? void 0 : _a.openingBalance) || 0;
6232
+ return this.getCurrentYearBalance()?.openingBalance || 0;
6261
6233
  }
6262
6234
  /**
6263
6235
  * Get bank account balance for current financial year
@@ -6970,8 +6942,7 @@ class PropertySale extends PropertySale$1 {
6970
6942
  * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form ("Capital gains or losses" section)
6971
6943
  */
6972
6944
  isCGTApplicable() {
6973
- var _a;
6974
- return ((_a = this.taxExemption) === null || _a === void 0 ? void 0 : _a.id) !== TaxExemptionEnum.PPR;
6945
+ return this.taxExemption?.id !== TaxExemptionEnum.PPR;
6975
6946
  }
6976
6947
  get lossApplied() {
6977
6948
  return this.grossCGT <= 0 ? 0 : Math.min(this.grossCGT, this.capitalLoss);
@@ -7004,13 +6975,12 @@ __decorate([
7004
6975
  */
7005
6976
  class PropertySaleCostBase {
7006
6977
  static createFrom(property, propertySale, depreciations, holdingCosts) {
7007
- var _a, _b, _c;
7008
6978
  return plainToClass(PropertySaleCostBase, {
7009
6979
  property: plainToClass(Property, property),
7010
6980
  sale: plainToClass(PropertySale, Object.assign({}, propertySale, {
7011
- holdingCosts: (_a = propertySale.holdingCosts) !== null && _a !== void 0 ? _a : Math.abs(holdingCosts.sumBy('amount')),
7012
- structuralImprovementsWDV: (_b = propertySale.structuralImprovementsWDV) !== null && _b !== void 0 ? _b : depreciations.getWithCapitalProject().getCloseBalanceByYear(),
7013
- buildingAtCostClaimed: (_c = propertySale.buildingAtCostClaimed) !== null && _c !== void 0 ? _c : depreciations.getWithoutCapitalProject().getClaimedAmountByYear(),
6981
+ holdingCosts: propertySale.holdingCosts ?? Math.abs(holdingCosts.sumBy('amount')),
6982
+ structuralImprovementsWDV: propertySale.structuralImprovementsWDV ?? depreciations.getWithCapitalProject().getCloseBalanceByYear(),
6983
+ buildingAtCostClaimed: propertySale.buildingAtCostClaimed ?? depreciations.getWithoutCapitalProject().getClaimedAmountByYear(),
7014
6984
  })),
7015
6985
  });
7016
6986
  }
@@ -7254,8 +7224,7 @@ class PropertyEquityChartData {
7254
7224
  */
7255
7225
  getLoanBalanceByYear(property, year, bankAccounts, loans) {
7256
7226
  return bankAccounts.items.reduce((totalSum, bankAccount) => {
7257
- var _a, _b;
7258
- return totalSum + (bankAccount.getPropertyPercentage(property.id) * (((_b = (_a = loans.getByBankAccountId(bankAccount.id)) === null || _a === void 0 ? void 0 : _a.getLastPaymentByYear(year)) === null || _b === void 0 ? void 0 : _b.totalOwed) || 0));
7227
+ return totalSum + (bankAccount.getPropertyPercentage(property.id) * (loans.getByBankAccountId(bankAccount.id)?.getLastPaymentByYear(year)?.totalOwed || 0));
7259
7228
  }, 0);
7260
7229
  }
7261
7230
  getMarketValueForPropertyByYear(property, year) {
@@ -7265,11 +7234,10 @@ class PropertyEquityChartData {
7265
7234
  return (property.getForecastByYear(year) || first(property.forecasts)).marketValue;
7266
7235
  }
7267
7236
  getLoanBalanceForPropertyByYear(property, year) {
7268
- var _a;
7269
7237
  if (new FinancialYear(property.contractDate).year > year) {
7270
7238
  return 0;
7271
7239
  }
7272
- return ((_a = property.getForecastByYear(year)) === null || _a === void 0 ? void 0 : _a.loanBalance) || this.bankAccounts.getPropertyBalanceAmount(property.id);
7240
+ return property.getForecastByYear(year)?.loanBalance || this.bankAccounts.getPropertyBalanceAmount(property.id);
7273
7241
  }
7274
7242
  /**
7275
7243
  * Check if loan balance is 0 and set it as null (to not to draw point on the chart)
@@ -7320,8 +7288,7 @@ class PropertyShare extends PropertyShare$1 {
7320
7288
  return this.status === PropertyShareStatusEnum.REJECTED;
7321
7289
  }
7322
7290
  get statusName() {
7323
- var _a;
7324
- return (_a = PropertyShareStatusEnum[this.status]) === null || _a === void 0 ? void 0 : _a.toLowerCase();
7291
+ return PropertyShareStatusEnum[this.status]?.toLowerCase();
7325
7292
  }
7326
7293
  /**
7327
7294
  * Return full user name if user is already registered.
@@ -7389,9 +7356,9 @@ class JwtService extends JwtHelperService {
7389
7356
  return this.getUser().id === userId;
7390
7357
  }
7391
7358
  }
7392
- JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
7393
- JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtService, providedIn: 'root' });
7394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtService, decorators: [{
7359
+ JwtService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
7360
+ JwtService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, providedIn: 'root' });
7361
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtService, decorators: [{
7395
7362
  type: Injectable,
7396
7363
  args: [{
7397
7364
  providedIn: 'root'
@@ -7426,9 +7393,9 @@ class EventDispatcherService {
7426
7393
  this.eventSubject2.next(event);
7427
7394
  }
7428
7395
  }
7429
- EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7430
- EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
7431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EventDispatcherService, decorators: [{
7396
+ EventDispatcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7397
+ EventDispatcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, providedIn: 'root' });
7398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EventDispatcherService, decorators: [{
7432
7399
  type: Injectable,
7433
7400
  args: [{
7434
7401
  providedIn: 'root'
@@ -7477,9 +7444,9 @@ class AuthService {
7477
7444
  location.replace(url);
7478
7445
  }
7479
7446
  }
7480
- AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7481
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AuthService, providedIn: 'root' });
7482
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AuthService, decorators: [{
7447
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7448
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, providedIn: 'root' });
7449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AuthService, decorators: [{
7483
7450
  type: Injectable,
7484
7451
  args: [{
7485
7452
  providedIn: 'root'
@@ -7564,9 +7531,8 @@ class JwtInterceptor {
7564
7531
  // });
7565
7532
  }
7566
7533
  handle401Error(req, next, err) {
7567
- var _a;
7568
7534
  // skip 401 errors not from JWT (basiq login case or other)
7569
- if (!((_a = err.error.message) === null || _a === void 0 ? void 0 : _a.includes('JWT Token'))) {
7535
+ if (!err.error.message?.includes('JWT Token')) {
7570
7536
  return throwError(err);
7571
7537
  }
7572
7538
  if (req.url.includes('token/refresh') || req.url.includes('login')) {
@@ -7615,9 +7581,9 @@ class JwtInterceptor {
7615
7581
  });
7616
7582
  }
7617
7583
  }
7618
- JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7619
- JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtInterceptor });
7620
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: JwtInterceptor, decorators: [{
7584
+ JwtInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, deps: [{ token: JwtService }, { token: AuthService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7585
+ JwtInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor });
7586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: JwtInterceptor, decorators: [{
7621
7587
  type: Injectable
7622
7588
  }], ctorParameters: function () { return [{ type: JwtService }, { type: AuthService }, { type: undefined, decorators: [{
7623
7589
  type: Inject,
@@ -7650,9 +7616,9 @@ class UserSwitcherService {
7650
7616
  window.location.replace('/firm/dashboard');
7651
7617
  }
7652
7618
  }
7653
- UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7654
- UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
7655
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherService, decorators: [{
7619
+ UserSwitcherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7620
+ UserSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, providedIn: 'root' });
7621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherService, decorators: [{
7656
7622
  type: Injectable,
7657
7623
  args: [{
7658
7624
  providedIn: 'root'
@@ -7698,9 +7664,9 @@ class UserSwitcherInterceptor {
7698
7664
  return next.handle(this.switch(request, this.userSwitcherService.get()));
7699
7665
  }
7700
7666
  }
7701
- UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7702
- UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherInterceptor });
7703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
7667
+ UserSwitcherInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, deps: [{ token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7668
+ UserSwitcherInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor });
7669
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserSwitcherInterceptor, decorators: [{
7704
7670
  type: Injectable
7705
7671
  }], ctorParameters: function () { return [{ type: UserSwitcherService }, { type: undefined, decorators: [{
7706
7672
  type: Inject,
@@ -7943,9 +7909,9 @@ class PreloaderService {
7943
7909
  this.activePreloaders.next(activePreloaders);
7944
7910
  }
7945
7911
  }
7946
- PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7947
- PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderService, providedIn: 'root' });
7948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderService, decorators: [{
7912
+ PreloaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7913
+ PreloaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, providedIn: 'root' });
7914
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderService, decorators: [{
7949
7915
  type: Injectable,
7950
7916
  args: [{
7951
7917
  providedIn: 'root'
@@ -7973,9 +7939,9 @@ class PreloaderInterceptor {
7973
7939
  return Object.values(ENDPOINTS).find((endpoint) => endpoint.test(requestPath));
7974
7940
  }
7975
7941
  }
7976
- PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
7977
- PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderInterceptor });
7978
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreloaderInterceptor, decorators: [{
7942
+ PreloaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, deps: [{ token: PreloaderService }], target: i0.ɵɵFactoryTarget.Injectable });
7943
+ PreloaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor });
7944
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PreloaderInterceptor, decorators: [{
7979
7945
  type: Injectable
7980
7946
  }], ctorParameters: function () { return [{ type: PreloaderService }]; } });
7981
7947
 
@@ -8011,9 +7977,9 @@ class SseService {
8011
7977
  }));
8012
7978
  }
8013
7979
  }
8014
- SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
8015
- SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SseService, providedIn: 'root' });
8016
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SseService, decorators: [{
7980
+ SseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, deps: [{ token: i0.NgZone }, { token: JwtService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7981
+ SseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, providedIn: 'root' });
7982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SseService, decorators: [{
8017
7983
  type: Injectable,
8018
7984
  args: [{
8019
7985
  providedIn: 'root'
@@ -8030,7 +7996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8030
7996
  * BaseModel - base entity model that extends by Model
8031
7997
  * CollectionModel - entity collection class
8032
7998
  */
8033
- class RestService$1 {
7999
+ let RestService$1 = class RestService {
8034
8000
  constructor(http, eventDispatcherService, environment) {
8035
8001
  this.http = http;
8036
8002
  this.eventDispatcherService = eventDispatcherService;
@@ -8240,10 +8206,10 @@ class RestService$1 {
8240
8206
  * Method that call all listeners. Empty by default. Should be redefined by child services if required
8241
8207
  */
8242
8208
  listenEvents() { }
8243
- }
8244
- RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
8245
- RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService$1, providedIn: 'root' });
8246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService$1, decorators: [{
8209
+ };
8210
+ RestService$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
8211
+ RestService$1.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, providedIn: 'root' });
8212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService$1, decorators: [{
8247
8213
  type: Injectable,
8248
8214
  args: [{
8249
8215
  providedIn: 'root'
@@ -8361,9 +8327,9 @@ class ToastService {
8361
8327
  }));
8362
8328
  }
8363
8329
  }
8364
- ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8365
- ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, providedIn: 'root' });
8366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, decorators: [{
8330
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8331
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, providedIn: 'root' });
8332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ToastService, decorators: [{
8367
8333
  type: Injectable,
8368
8334
  args: [{
8369
8335
  providedIn: 'root'
@@ -8453,9 +8419,9 @@ BankConnectionService.userEventTypes = [
8453
8419
  UserEventTypeTypeEnum.BASIQ_NEW_ACCOUNTS,
8454
8420
  UserEventTypeTypeEnum.BASIQ_AUTHORIZATION_FAIL
8455
8421
  ];
8456
- BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
8457
- BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
8458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankConnectionService, decorators: [{
8422
+ BankConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
8423
+ BankConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, providedIn: 'root' });
8424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankConnectionService, decorators: [{
8459
8425
  type: Injectable,
8460
8426
  args: [{
8461
8427
  providedIn: 'root'
@@ -8565,9 +8531,9 @@ BasiqService.basiqApiUrl = 'https://au-api.basiq.io';
8565
8531
  * Basiq does not provide a hook, so we have to check job status manually every x seconds
8566
8532
  */
8567
8533
  BasiqService.bankCredintialsCheckInterval = 3000;
8568
- BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
8569
- BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqService, providedIn: 'root' });
8570
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqService, decorators: [{
8534
+ BasiqService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: BankConnectionService }], target: i0.ɵɵFactoryTarget.Injectable });
8535
+ BasiqService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, providedIn: 'root' });
8536
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqService, decorators: [{
8571
8537
  type: Injectable,
8572
8538
  args: [{
8573
8539
  providedIn: 'root'
@@ -8602,9 +8568,9 @@ class BasiqTokenService extends RestService$1 {
8602
8568
  return this.cacheSubject.asObservable();
8603
8569
  }
8604
8570
  }
8605
- BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
8606
- BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
8607
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenService, decorators: [{
8571
+ BasiqTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
8572
+ BasiqTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, providedIn: 'root' });
8573
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenService, decorators: [{
8608
8574
  type: Injectable,
8609
8575
  args: [{
8610
8576
  providedIn: 'root'
@@ -8635,9 +8601,9 @@ class BasiqTokenInterceptor {
8635
8601
  });
8636
8602
  }
8637
8603
  }
8638
- BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
8639
- BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenInterceptor });
8640
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
8604
+ BasiqTokenInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, deps: [{ token: BasiqTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
8605
+ BasiqTokenInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor });
8606
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqTokenInterceptor, decorators: [{
8641
8607
  type: Injectable
8642
8608
  }], ctorParameters: function () { return [{ type: BasiqTokenService }]; } });
8643
8609
 
@@ -8779,10 +8745,9 @@ class UserService {
8779
8745
  * Create basiq (if not exist yet) to provide access to basiq api
8780
8746
  */
8781
8747
  createBasiq() {
8782
- var _a;
8783
8748
  // no need to create basiqId if already exist
8784
8749
  // @TODO Alex (TT-2431): move this check to component or separated method
8785
- if ((_a = this.cache) === null || _a === void 0 ? void 0 : _a.basiqId) {
8750
+ if (this.cache?.basiqId) {
8786
8751
  return of(this.cache.basiqId);
8787
8752
  }
8788
8753
  return this.http.post(`${this.environment.apiV2}/basiq/user`, {})
@@ -8823,9 +8788,9 @@ class UserService {
8823
8788
  });
8824
8789
  }
8825
8790
  }
8826
- UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
8827
- UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserService, providedIn: 'root' });
8828
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserService, decorators: [{
8791
+ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
8792
+ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, providedIn: 'root' });
8793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserService, decorators: [{
8829
8794
  type: Injectable,
8830
8795
  args: [{
8831
8796
  providedIn: 'root'
@@ -8855,17 +8820,17 @@ class BasiqClientIdInterceptor {
8855
8820
  });
8856
8821
  }
8857
8822
  }
8858
- BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
8859
- BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqClientIdInterceptor });
8860
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
8823
+ BasiqClientIdInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable });
8824
+ BasiqClientIdInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor });
8825
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasiqClientIdInterceptor, decorators: [{
8861
8826
  type: Injectable
8862
8827
  }], ctorParameters: function () { return [{ type: UserService }]; } });
8863
8828
 
8864
8829
  class InterceptorsModule {
8865
8830
  }
8866
- InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8867
- InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: InterceptorsModule });
8868
- InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: InterceptorsModule, providers: [
8831
+ InterceptorsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8832
+ InterceptorsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule });
8833
+ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, providers: [
8869
8834
  {
8870
8835
  provide: HTTP_INTERCEPTORS,
8871
8836
  useClass: CorelogicInterceptor,
@@ -8903,7 +8868,7 @@ InterceptorsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
8903
8868
  multi: true
8904
8869
  }
8905
8870
  ] });
8906
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: InterceptorsModule, decorators: [{
8871
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InterceptorsModule, decorators: [{
8907
8872
  type: NgModule,
8908
8873
  args: [{
8909
8874
  providers: [
@@ -8961,14 +8926,12 @@ class TtCoreModule {
8961
8926
  };
8962
8927
  }
8963
8928
  }
8964
- TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8965
- TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
8929
+ TtCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8930
+ TtCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
8966
8931
  InterceptorsModule] });
8967
- TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TtCoreModule, imports: [[
8968
- CommonModule,
8969
- InterceptorsModule
8970
- ]] });
8971
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TtCoreModule, decorators: [{
8932
+ TtCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, imports: [CommonModule,
8933
+ InterceptorsModule] });
8934
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TtCoreModule, decorators: [{
8972
8935
  type: NgModule,
8973
8936
  args: [{
8974
8937
  declarations: [],
@@ -9440,12 +9403,10 @@ class ClientInvite extends ClientInvite$1 {
9440
9403
  return this.type === ClientInviteTypeEnum.FROM_CLIENT;
9441
9404
  }
9442
9405
  get firstName() {
9443
- var _a;
9444
- return this.client ? this.client.firstName : (_a = this.registrationInvite) === null || _a === void 0 ? void 0 : _a.firstName;
9406
+ return this.client ? this.client.firstName : this.registrationInvite?.firstName;
9445
9407
  }
9446
9408
  get email() {
9447
- var _a;
9448
- return this.client ? this.client.email : (_a = this.registrationInvite) === null || _a === void 0 ? void 0 : _a.email;
9409
+ return this.client ? this.client.email : this.registrationInvite?.email;
9449
9410
  }
9450
9411
  }
9451
9412
  __decorate([
@@ -9700,10 +9661,9 @@ var LossTypeEnum;
9700
9661
  */
9701
9662
  class MyTaxBusinessDetails {
9702
9663
  constructor(vehicleClaimDetails, businesses, soleDetails, user) {
9703
- var _a;
9704
9664
  this.businessActivities = uniqBy(businesses.mapBy('activity'), 'id');
9705
- this.businessABN = soleDetails === null || soleDetails === void 0 ? void 0 : soleDetails.abn;
9706
- this.businessAddress = (_a = user.address) === null || _a === void 0 ? void 0 : _a.name;
9665
+ this.businessABN = soleDetails?.abn;
9666
+ this.businessAddress = user.address?.name;
9707
9667
  this.businesses = businesses;
9708
9668
  this.vehicleClaimDetails = vehicleClaimDetails;
9709
9669
  }
@@ -10350,13 +10310,12 @@ class MyTaxRent {
10350
10310
  * property contract date, e.t.c.). Details in the TT-2009 task
10351
10311
  */
10352
10312
  calculateOtherRentalDeductionsAmount() {
10353
- var _a, _b, _c;
10354
- const plantAndEquipmentAmount = Math.abs(((_a = this.taxSummaryPropertySection.items
10355
- .findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.PLANT_AND_EQUIPMENT)) === null || _a === void 0 ? void 0 : _a.amount) || 0);
10356
- const borrowingExpensesAmount = Math.abs(((_b = this.taxSummaryPropertySection.items
10357
- .findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.BORROWING_EXPENSES)) === null || _b === void 0 ? void 0 : _b.amount) || 0);
10358
- const otherRentalDeductionsAmount = Math.abs(((_c = this.taxSummaryPropertySection.items
10359
- .findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.OTHER_RENTAL_DEDUCTIONS)) === null || _c === void 0 ? void 0 : _c.amount) || 0);
10313
+ const plantAndEquipmentAmount = Math.abs(this.taxSummaryPropertySection.items
10314
+ .findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.PLANT_AND_EQUIPMENT)?.amount || 0);
10315
+ const borrowingExpensesAmount = Math.abs(this.taxSummaryPropertySection.items
10316
+ .findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.BORROWING_EXPENSES)?.amount || 0);
10317
+ const otherRentalDeductionsAmount = Math.abs(this.taxSummaryPropertySection.items
10318
+ .findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.OTHER_RENTAL_DEDUCTIONS)?.amount || 0);
10360
10319
  return +Math.floor(plantAndEquipmentAmount + borrowingExpensesAmount + otherRentalDeductionsAmount).toFixed(2);
10361
10320
  }
10362
10321
  }
@@ -10504,8 +10463,7 @@ class ReportItem extends AbstractModel {
10504
10463
  * @param name Name of income source for filter
10505
10464
  */
10506
10465
  getAmountByIncomeSourceName(name) {
10507
- var _a;
10508
- return ((_a = this.details.find((detail) => detail.name === name)) === null || _a === void 0 ? void 0 : _a.amount) || 0;
10466
+ return this.details.find((detail) => detail.name === name)?.amount || 0;
10509
10467
  }
10510
10468
  }
10511
10469
  __decorate([
@@ -10639,16 +10597,14 @@ class TaxSummary {
10639
10597
  return profit - lossCurrent;
10640
10598
  }
10641
10599
  getDeferredBusinessLoss(business) {
10642
- var _a;
10643
- return (_a = this.sole.items
10600
+ return this.sole.items
10644
10601
  .findByCategory(TaxReturnCategoryListEnum.DEFERRED_BUSINESS_LOSSES).items
10645
- .findBy('title', `Item 15c - ${business.name}`)) === null || _a === void 0 ? void 0 : _a.amount;
10602
+ .findBy('title', `Item 15c - ${business.name}`)?.amount;
10646
10603
  }
10647
10604
  getBusinessCloseBalance(business) {
10648
- var _a;
10649
- return (_a = this.sole.items
10605
+ return this.sole.items
10650
10606
  .findByCategory(TaxReturnCategoryListEnum.BUSINESS_INCOME_OR_LOSS).items
10651
- .findBy('title', `Item 15c - ${business.name}`)) === null || _a === void 0 ? void 0 : _a.amount;
10607
+ .findBy('title', `Item 15c - ${business.name}`)?.amount;
10652
10608
  }
10653
10609
  }
10654
10610
  __decorate([
@@ -10737,9 +10693,9 @@ class AddressService {
10737
10693
  return this.countriesSubject.asObservable();
10738
10694
  }
10739
10695
  }
10740
- AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10741
- AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AddressService, providedIn: 'root' });
10742
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AddressService, decorators: [{
10696
+ AddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10697
+ AddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, providedIn: 'root' });
10698
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AddressService, decorators: [{
10743
10699
  type: Injectable,
10744
10700
  args: [{
10745
10701
  providedIn: 'root'
@@ -10792,9 +10748,9 @@ class BankAccountService extends RestService$1 {
10792
10748
  });
10793
10749
  }
10794
10750
  }
10795
- BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10796
- BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountService, providedIn: 'root' });
10797
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountService, decorators: [{
10751
+ BankAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10752
+ BankAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, providedIn: 'root' });
10753
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountService, decorators: [{
10798
10754
  type: Injectable,
10799
10755
  args: [{
10800
10756
  providedIn: 'root'
@@ -10859,9 +10815,9 @@ class BankTransactionService extends RestService$1 {
10859
10815
  });
10860
10816
  }
10861
10817
  }
10862
- BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10863
- BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
10864
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionService, decorators: [{
10818
+ BankTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10819
+ BankTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, providedIn: 'root' });
10820
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionService, decorators: [{
10865
10821
  type: Injectable,
10866
10822
  args: [{
10867
10823
  providedIn: 'root'
@@ -10889,9 +10845,9 @@ class BankService extends RestService$1 {
10889
10845
  }));
10890
10846
  }
10891
10847
  }
10892
- BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10893
- BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankService, providedIn: 'root' });
10894
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankService, decorators: [{
10848
+ BankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10849
+ BankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, providedIn: 'root' });
10850
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankService, decorators: [{
10895
10851
  type: Injectable,
10896
10852
  args: [{
10897
10853
  providedIn: 'root'
@@ -10911,9 +10867,9 @@ class ChartAccountsDepreciationService extends RestService$1 {
10911
10867
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
10912
10868
  }
10913
10869
  }
10914
- ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10915
- ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
10916
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
10870
+ ChartAccountsDepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10871
+ ChartAccountsDepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, providedIn: 'root' });
10872
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsDepreciationService, decorators: [{
10917
10873
  type: Injectable,
10918
10874
  args: [{
10919
10875
  providedIn: 'root'
@@ -10941,7 +10897,7 @@ class ChartAccountsService extends RestService$1 {
10941
10897
  .filter((ca) => categories.includes(ca.category));
10942
10898
  const headings = [];
10943
10899
  filteredChartAccounts.forEach((ca) => {
10944
- let heading = headings.find((h) => { var _a; return h.id === ((_a = ca.heading) === null || _a === void 0 ? void 0 : _a.id); });
10900
+ let heading = headings.find((h) => h.id === ca.heading?.id);
10945
10901
  if (!heading) {
10946
10902
  heading = plainToClass(ChartAccountsHeading, ca.heading);
10947
10903
  heading.chartAccounts = [];
@@ -10953,9 +10909,9 @@ class ChartAccountsService extends RestService$1 {
10953
10909
  }));
10954
10910
  }
10955
10911
  }
10956
- ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10957
- ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
10958
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChartAccountsService, decorators: [{
10912
+ ChartAccountsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
10913
+ ChartAccountsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, providedIn: 'root' });
10914
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartAccountsService, decorators: [{
10959
10915
  type: Injectable,
10960
10916
  args: [{
10961
10917
  providedIn: 'root'
@@ -11018,15 +10974,15 @@ class ChatService extends RestService$1 {
11018
10974
  this.listenCSE(Message, ['post'], (messages) => {
11019
10975
  const message = messages[0];
11020
10976
  const cache = this.cache.toArray();
11021
- const updatedChat = cache.find((chat) => { var _a; return (chat === null || chat === void 0 ? void 0 : chat.id) === ((_a = message.chat) === null || _a === void 0 ? void 0 : _a.id); });
11022
- updatedChat.updatedAt = message === null || message === void 0 ? void 0 : message.createdAt;
10977
+ const updatedChat = cache.find((chat) => chat?.id === message.chat?.id);
10978
+ updatedChat.updatedAt = message?.createdAt;
11023
10979
  this.handleResponse([updatedChat], 'put');
11024
10980
  });
11025
10981
  }
11026
10982
  }
11027
- ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11028
- ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChatService, providedIn: 'root' });
11029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ChatService, decorators: [{
10983
+ ChatService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
10984
+ ChatService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, providedIn: 'root' });
10985
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChatService, decorators: [{
11030
10986
  type: Injectable,
11031
10987
  args: [{
11032
10988
  providedIn: 'root'
@@ -11083,9 +11039,9 @@ class MessageService extends RestService$1 {
11083
11039
  });
11084
11040
  }
11085
11041
  }
11086
- MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11087
- MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageService, providedIn: 'root' });
11088
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageService, decorators: [{
11042
+ MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
11043
+ MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, providedIn: 'root' });
11044
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageService, decorators: [{
11089
11045
  type: Injectable,
11090
11046
  args: [{
11091
11047
  providedIn: 'root'
@@ -11118,9 +11074,8 @@ class MessageDocumentService extends RestService$1 {
11118
11074
  */
11119
11075
  listenMessages() {
11120
11076
  this.listenCSE(Message, ['post'], (messages) => {
11121
- var _a;
11122
11077
  const message = messages[0];
11123
- if ((_a = message.documents) === null || _a === void 0 ? void 0 : _a.length) {
11078
+ if (message.documents?.length) {
11124
11079
  const array = this.cache.toArray();
11125
11080
  const documentsIds = this.cache.getIds();
11126
11081
  message.documents.forEach((document) => {
@@ -11157,9 +11112,9 @@ class MessageDocumentService extends RestService$1 {
11157
11112
  }));
11158
11113
  }
11159
11114
  }
11160
- MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11161
- MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
11162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MessageDocumentService, decorators: [{
11115
+ MessageDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11116
+ MessageDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, providedIn: 'root' });
11117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: MessageDocumentService, decorators: [{
11163
11118
  type: Injectable,
11164
11119
  args: [{
11165
11120
  providedIn: 'root'
@@ -11284,9 +11239,9 @@ class DepreciationService extends RestService$1 {
11284
11239
  });
11285
11240
  }
11286
11241
  }
11287
- DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11288
- DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationService, providedIn: 'root' });
11289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationService, decorators: [{
11242
+ DepreciationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11243
+ DepreciationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, providedIn: 'root' });
11244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationService, decorators: [{
11290
11245
  type: Injectable,
11291
11246
  args: [{
11292
11247
  providedIn: 'root'
@@ -11338,9 +11293,9 @@ class DepreciationCapitalProjectService {
11338
11293
  }));
11339
11294
  }
11340
11295
  }
11341
- DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11342
- DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
11343
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
11296
+ DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11297
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
11298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
11344
11299
  type: Injectable,
11345
11300
  args: [{
11346
11301
  providedIn: 'root'
@@ -11406,9 +11361,9 @@ class ReceiptService {
11406
11361
  return plainToClass(this.modelClass, data);
11407
11362
  }
11408
11363
  }
11409
- ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
11410
- ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ReceiptService, providedIn: 'root' });
11411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ReceiptService, decorators: [{
11364
+ ReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
11365
+ ReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, providedIn: 'root' });
11366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ReceiptService, decorators: [{
11412
11367
  type: Injectable,
11413
11368
  args: [{
11414
11369
  providedIn: 'root'
@@ -11437,9 +11392,9 @@ class DepreciationReceiptService extends ReceiptService {
11437
11392
  this.listenEvents();
11438
11393
  }
11439
11394
  }
11440
- DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
11441
- DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
11442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationReceiptService, decorators: [{
11395
+ DepreciationReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
11396
+ DepreciationReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, providedIn: 'root' });
11397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DepreciationReceiptService, decorators: [{
11443
11398
  type: Injectable,
11444
11399
  args: [{
11445
11400
  providedIn: 'root'
@@ -11653,9 +11608,9 @@ class RestService {
11653
11608
  */
11654
11609
  listenEvents() { }
11655
11610
  }
11656
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
11657
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, providedIn: 'root' });
11658
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, decorators: [{
11611
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
11612
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, providedIn: 'root' });
11613
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RestService, decorators: [{
11659
11614
  type: Injectable,
11660
11615
  args: [{
11661
11616
  providedIn: 'root'
@@ -11672,9 +11627,9 @@ class DocumentService extends RestService {
11672
11627
  this.modelClass = Document;
11673
11628
  }
11674
11629
  }
11675
- DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11676
- DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentService, providedIn: 'root' });
11677
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentService, decorators: [{
11630
+ DocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11631
+ DocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, providedIn: 'root' });
11632
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentService, decorators: [{
11678
11633
  type: Injectable,
11679
11634
  args: [{
11680
11635
  providedIn: 'root'
@@ -11740,9 +11695,9 @@ class DocumentFolderService extends RestService {
11740
11695
  }));
11741
11696
  }
11742
11697
  }
11743
- DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11744
- DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
11745
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DocumentFolderService, decorators: [{
11698
+ DocumentFolderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11699
+ DocumentFolderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, providedIn: 'root' });
11700
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: DocumentFolderService, decorators: [{
11746
11701
  type: Injectable,
11747
11702
  args: [{
11748
11703
  providedIn: 'root'
@@ -11763,17 +11718,15 @@ class FacebookService {
11763
11718
  this.isLoggedInSubject = new BehaviorSubject(!this.jwtService.isTokenExpired());
11764
11719
  this.isFacebookEnabled = !!environment['facebookAppId'];
11765
11720
  }
11766
- login(redirectUrl = '/client') {
11767
- return __awaiter(this, void 0, void 0, function* () {
11768
- const accessToken = yield this.getAccessToken();
11769
- this.http.post(`${this.environment.apiV2}/users/authentication/facebook`, { accessToken })
11770
- .subscribe((response) => {
11771
- this.setAuth(response);
11772
- this.router.navigate([redirectUrl]);
11773
- }, (error) => {
11774
- this.toastService.error(error.error.violations[0].message);
11775
- this.logout();
11776
- });
11721
+ async login(redirectUrl = '/client') {
11722
+ const accessToken = await this.getAccessToken();
11723
+ this.http.post(`${this.environment.apiV2}/users/authentication/facebook`, { accessToken })
11724
+ .subscribe((response) => {
11725
+ this.setAuth(response);
11726
+ this.router.navigate([redirectUrl]);
11727
+ }, (error) => {
11728
+ this.toastService.error(error.error.violations[0].message);
11729
+ this.logout();
11777
11730
  });
11778
11731
  }
11779
11732
  /**
@@ -11819,9 +11772,9 @@ FacebookService.authOptions = {
11819
11772
  auth_type: 'rerequest',
11820
11773
  return_scopes: true
11821
11774
  };
11822
- FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i1$1.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11823
- FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FacebookService, providedIn: 'root' });
11824
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FacebookService, decorators: [{
11775
+ FacebookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, deps: [{ token: i1.HttpClient }, { token: ToastService }, { token: JwtService }, { token: i1$1.Router }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
11776
+ FacebookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, providedIn: 'root' });
11777
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FacebookService, decorators: [{
11825
11778
  type: Injectable,
11826
11779
  args: [{
11827
11780
  providedIn: 'root'
@@ -11847,9 +11800,9 @@ class FileService extends RestService$1 {
11847
11800
  .pipe(map((fileBase) => plainToClass(AppFile, fileBase)));
11848
11801
  }
11849
11802
  }
11850
- FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11851
- FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FileService, providedIn: 'root' });
11852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FileService, decorators: [{
11803
+ FileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11804
+ FileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, providedIn: 'root' });
11805
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FileService, decorators: [{
11853
11806
  type: Injectable,
11854
11807
  args: [{
11855
11808
  providedIn: 'root'
@@ -11866,9 +11819,9 @@ class ClientIncomeTypesService extends RestService$1 {
11866
11819
  this.disabledMethods = ['postBatch', 'putBatch', 'delete', 'deleteBatch'];
11867
11820
  }
11868
11821
  }
11869
- ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11870
- ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
11871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
11822
+ ClientIncomeTypesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11823
+ ClientIncomeTypesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, providedIn: 'root' });
11824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientIncomeTypesService, decorators: [{
11872
11825
  type: Injectable,
11873
11826
  args: [{
11874
11827
  providedIn: 'root'
@@ -11983,9 +11936,9 @@ class ClientInviteService extends RestService {
11983
11936
  });
11984
11937
  }
11985
11938
  }
11986
- ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11987
- ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
11988
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientInviteService, decorators: [{
11939
+ ClientInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11940
+ ClientInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, providedIn: 'root' });
11941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientInviteService, decorators: [{
11989
11942
  type: Injectable,
11990
11943
  args: [{
11991
11944
  providedIn: 'root'
@@ -12064,9 +12017,9 @@ class ClientMovementService extends RestService {
12064
12017
  });
12065
12018
  }
12066
12019
  }
12067
- ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12068
- ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
12069
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientMovementService, decorators: [{
12020
+ ClientMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12021
+ ClientMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, providedIn: 'root' });
12022
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientMovementService, decorators: [{
12070
12023
  type: Injectable,
12071
12024
  args: [{
12072
12025
  providedIn: 'root'
@@ -12095,9 +12048,9 @@ class EmployeeService extends RestService {
12095
12048
  }));
12096
12049
  }
12097
12050
  }
12098
- EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12099
- EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeService, providedIn: 'root' });
12100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeService, decorators: [{
12051
+ EmployeeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12052
+ EmployeeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, providedIn: 'root' });
12053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeService, decorators: [{
12101
12054
  type: Injectable,
12102
12055
  args: [{
12103
12056
  providedIn: 'root'
@@ -12140,9 +12093,9 @@ class EmployeeInviteService extends RestService {
12140
12093
  }));
12141
12094
  }
12142
12095
  }
12143
- EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12144
- EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
12145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EmployeeInviteService, decorators: [{
12096
+ EmployeeInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12097
+ EmployeeInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, providedIn: 'root' });
12098
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EmployeeInviteService, decorators: [{
12146
12099
  type: Injectable,
12147
12100
  args: [{
12148
12101
  providedIn: 'root'
@@ -12167,9 +12120,9 @@ class ClientPortfolioReportService {
12167
12120
  }));
12168
12121
  }
12169
12122
  }
12170
- ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12171
- ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
12172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
12123
+ ClientPortfolioReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12124
+ ClientPortfolioReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, providedIn: 'root' });
12125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ClientPortfolioReportService, decorators: [{
12173
12126
  type: Injectable,
12174
12127
  args: [{
12175
12128
  providedIn: 'root'
@@ -12239,9 +12192,9 @@ class FirmService {
12239
12192
  }));
12240
12193
  }
12241
12194
  }
12242
- FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12243
- FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FirmService, providedIn: 'root' });
12244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FirmService, decorators: [{
12195
+ FirmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12196
+ FirmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, providedIn: 'root' });
12197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: FirmService, decorators: [{
12245
12198
  type: Injectable,
12246
12199
  args: [{
12247
12200
  providedIn: 'root'
@@ -12314,9 +12267,9 @@ class IncomeSourceForecastService extends RestService {
12314
12267
  }).flat();
12315
12268
  }
12316
12269
  }
12317
- IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12318
- IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
12319
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
12270
+ IncomeSourceForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12271
+ IncomeSourceForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, providedIn: 'root' });
12272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceForecastService, decorators: [{
12320
12273
  type: Injectable,
12321
12274
  args: [{
12322
12275
  providedIn: 'root'
@@ -12386,9 +12339,9 @@ class SalaryForecastService extends RestService {
12386
12339
  }).flat();
12387
12340
  }
12388
12341
  }
12389
- SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12390
- SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
12391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SalaryForecastService, decorators: [{
12342
+ SalaryForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12343
+ SalaryForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, providedIn: 'root' });
12344
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SalaryForecastService, decorators: [{
12392
12345
  type: Injectable,
12393
12346
  args: [{
12394
12347
  providedIn: 'root'
@@ -12464,9 +12417,9 @@ class SoleForecastService extends RestService {
12464
12417
  });
12465
12418
  }
12466
12419
  }
12467
- SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12468
- SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
12469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleForecastService, decorators: [{
12420
+ SoleForecastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12421
+ SoleForecastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, providedIn: 'root' });
12422
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleForecastService, decorators: [{
12470
12423
  type: Injectable,
12471
12424
  args: [{
12472
12425
  providedIn: 'root'
@@ -12565,9 +12518,9 @@ class IncomeSourceService extends RestService {
12565
12518
  });
12566
12519
  }
12567
12520
  }
12568
- IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12569
- IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
12570
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IncomeSourceService, decorators: [{
12521
+ IncomeSourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12522
+ IncomeSourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, providedIn: 'root' });
12523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IncomeSourceService, decorators: [{
12571
12524
  type: Injectable,
12572
12525
  args: [{
12573
12526
  providedIn: 'root'
@@ -12630,9 +12583,9 @@ class BorrowingExpenseService {
12630
12583
  }));
12631
12584
  }
12632
12585
  }
12633
- BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12634
- BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
12635
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BorrowingExpenseService, decorators: [{
12586
+ BorrowingExpenseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
12587
+ BorrowingExpenseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, providedIn: 'root' });
12588
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BorrowingExpenseService, decorators: [{
12636
12589
  type: Injectable,
12637
12590
  args: [{
12638
12591
  providedIn: 'root'
@@ -12714,9 +12667,9 @@ class LoanService extends RestService$1 {
12714
12667
  }));
12715
12668
  }
12716
12669
  }
12717
- LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12718
- LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LoanService, providedIn: 'root' });
12719
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LoanService, decorators: [{
12670
+ LoanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12671
+ LoanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, providedIn: 'root' });
12672
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LoanService, decorators: [{
12720
12673
  type: Injectable,
12721
12674
  args: [{
12722
12675
  providedIn: 'root'
@@ -12735,9 +12688,9 @@ class PropertyCategoryService extends RestService$1 {
12735
12688
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
12736
12689
  }
12737
12690
  }
12738
- PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12739
- PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
12740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryService, decorators: [{
12691
+ PropertyCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12692
+ PropertyCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, providedIn: 'root' });
12693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryService, decorators: [{
12741
12694
  type: Injectable,
12742
12695
  args: [{
12743
12696
  providedIn: 'root'
@@ -12753,9 +12706,9 @@ class PropertyCategoryMovementService extends RestService$1 {
12753
12706
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
12754
12707
  }
12755
12708
  }
12756
- PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12757
- PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
12758
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
12709
+ PropertyCategoryMovementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12710
+ PropertyCategoryMovementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' });
12711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCategoryMovementService, decorators: [{
12759
12712
  type: Injectable,
12760
12713
  args: [{
12761
12714
  providedIn: 'root'
@@ -12797,9 +12750,9 @@ class PropertyDocumentService extends RestService$1 {
12797
12750
  });
12798
12751
  }
12799
12752
  }
12800
- PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12801
- PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
12802
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyDocumentService, decorators: [{
12753
+ PropertyDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12754
+ PropertyDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, providedIn: 'root' });
12755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyDocumentService, decorators: [{
12803
12756
  type: Injectable,
12804
12757
  args: [{
12805
12758
  providedIn: 'root'
@@ -12816,9 +12769,9 @@ class TaxExemptionService extends RestService$1 {
12816
12769
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
12817
12770
  }
12818
12771
  }
12819
- TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxExemptionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12820
- TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
12821
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxExemptionService, decorators: [{
12772
+ TaxExemptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12773
+ TaxExemptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, providedIn: 'root' });
12774
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxExemptionService, decorators: [{
12822
12775
  type: Injectable,
12823
12776
  args: [{
12824
12777
  providedIn: 'root'
@@ -12834,9 +12787,9 @@ class PropertySaleService extends RestService$1 {
12834
12787
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
12835
12788
  }
12836
12789
  }
12837
- PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12838
- PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
12839
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertySaleService, decorators: [{
12790
+ PropertySaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12791
+ PropertySaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, providedIn: 'root' });
12792
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertySaleService, decorators: [{
12840
12793
  type: Injectable,
12841
12794
  args: [{
12842
12795
  providedIn: 'root'
@@ -12883,9 +12836,9 @@ class PropertyShareService extends RestService$1 {
12883
12836
  this.listenCSE(PropertySale, ['post', 'delete'], this.resetCache);
12884
12837
  }
12885
12838
  }
12886
- PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12887
- PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
12888
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyShareService, decorators: [{
12839
+ PropertyShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12840
+ PropertyShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, providedIn: 'root' });
12841
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyShareService, decorators: [{
12889
12842
  type: Injectable,
12890
12843
  args: [{
12891
12844
  providedIn: 'root'
@@ -12982,9 +12935,9 @@ class PropertyService extends RestService$1 {
12982
12935
  }));
12983
12936
  }
12984
12937
  }
12985
- PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12986
- PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyService, providedIn: 'root' });
12987
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyService, decorators: [{
12938
+ PropertyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
12939
+ PropertyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, providedIn: 'root' });
12940
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyService, decorators: [{
12988
12941
  type: Injectable,
12989
12942
  args: [{
12990
12943
  providedIn: 'root'
@@ -13028,9 +12981,9 @@ class ServiceNotificationService extends RestService {
13028
12981
  });
13029
12982
  }
13030
12983
  }
13031
- ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
13032
- ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
13033
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, decorators: [{
12984
+ ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
12985
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
12986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceNotificationService, decorators: [{
13034
12987
  type: Injectable,
13035
12988
  args: [{
13036
12989
  providedIn: 'root'
@@ -13079,9 +13032,9 @@ class SoleBusinessService extends RestService {
13079
13032
  }));
13080
13033
  }
13081
13034
  }
13082
- SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13083
- SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
13084
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessService, decorators: [{
13035
+ SoleBusinessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13036
+ SoleBusinessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, providedIn: 'root' });
13037
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessService, decorators: [{
13085
13038
  type: Injectable,
13086
13039
  args: [{
13087
13040
  providedIn: 'root'
@@ -13096,9 +13049,9 @@ class SoleBusinessActivityService extends RestService {
13096
13049
  this.isHydra = true;
13097
13050
  }
13098
13051
  }
13099
- SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13100
- SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
13101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
13052
+ SoleBusinessActivityService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13053
+ SoleBusinessActivityService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, providedIn: 'root' });
13054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessActivityService, decorators: [{
13102
13055
  type: Injectable,
13103
13056
  args: [{
13104
13057
  providedIn: 'root'
@@ -13124,9 +13077,9 @@ class SoleBusinessLossService extends RestService {
13124
13077
  });
13125
13078
  }
13126
13079
  }
13127
- SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13128
- SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
13129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossService, decorators: [{
13080
+ SoleBusinessLossService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13081
+ SoleBusinessLossService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, providedIn: 'root' });
13082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossService, decorators: [{
13130
13083
  type: Injectable,
13131
13084
  args: [{
13132
13085
  providedIn: 'root'
@@ -13144,9 +13097,9 @@ class SoleBusinessLossOffsetRuleService extends RestService {
13144
13097
  this.isHydra = true;
13145
13098
  }
13146
13099
  }
13147
- SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13148
- SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
13149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
13100
+ SoleBusinessLossOffsetRuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13101
+ SoleBusinessLossOffsetRuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, providedIn: 'root' });
13102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleBusinessLossOffsetRuleService, decorators: [{
13150
13103
  type: Injectable,
13151
13104
  args: [{
13152
13105
  providedIn: 'root'
@@ -13161,9 +13114,9 @@ class SoleContactService extends RestService {
13161
13114
  this.isHydra = true;
13162
13115
  }
13163
13116
  }
13164
- SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13165
- SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleContactService, providedIn: 'root' });
13166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleContactService, decorators: [{
13117
+ SoleContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13118
+ SoleContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, providedIn: 'root' });
13119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleContactService, decorators: [{
13167
13120
  type: Injectable,
13168
13121
  args: [{
13169
13122
  providedIn: 'root'
@@ -13219,9 +13172,9 @@ class SoleDepreciationMethodService {
13219
13172
  });
13220
13173
  }
13221
13174
  }
13222
- SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13223
- SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
13224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
13175
+ SoleDepreciationMethodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13176
+ SoleDepreciationMethodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, providedIn: 'root' });
13177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDepreciationMethodService, decorators: [{
13225
13178
  type: Injectable,
13226
13179
  args: [{
13227
13180
  providedIn: 'root'
@@ -13274,9 +13227,9 @@ class SoleDetailsService {
13274
13227
  }));
13275
13228
  }
13276
13229
  }
13277
- SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
13278
- SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
13279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleDetailsService, decorators: [{
13230
+ SoleDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, deps: [{ token: i1.HttpClient }, { token: 'environment' }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
13231
+ SoleDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, providedIn: 'root' });
13232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleDetailsService, decorators: [{
13280
13233
  type: Injectable,
13281
13234
  args: [{
13282
13235
  providedIn: 'root'
@@ -13334,11 +13287,10 @@ class SoleInvoiceService extends RestService {
13334
13287
  * Basically needed to create a new invoice to show its number when the invoice has not yet been sent to the backend
13335
13288
  */
13336
13289
  getNewInvoiceNumber() {
13337
- var _a, _b;
13338
13290
  if (!this.cache) {
13339
13291
  return 0;
13340
13292
  }
13341
- const number = (_b = (_a = last(this.cache)) === null || _a === void 0 ? void 0 : _a.number) !== null && _b !== void 0 ? _b : 0;
13293
+ const number = last(this.cache)?.number ?? 0;
13342
13294
  return number + 1;
13343
13295
  }
13344
13296
  listenAllocations() {
@@ -13350,9 +13302,9 @@ class SoleInvoiceService extends RestService {
13350
13302
  });
13351
13303
  }
13352
13304
  }
13353
- SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13354
- SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
13355
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceService, decorators: [{
13305
+ SoleInvoiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13306
+ SoleInvoiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, providedIn: 'root' });
13307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceService, decorators: [{
13356
13308
  type: Injectable,
13357
13309
  args: [{
13358
13310
  providedIn: 'root'
@@ -13367,9 +13319,9 @@ class SoleInvoiceTemplateService extends RestService {
13367
13319
  this.isHydra = true;
13368
13320
  }
13369
13321
  }
13370
- SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13371
- SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
13372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
13322
+ SoleInvoiceTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13323
+ SoleInvoiceTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, providedIn: 'root' });
13324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SoleInvoiceTemplateService, decorators: [{
13373
13325
  type: Injectable,
13374
13326
  args: [{
13375
13327
  providedIn: 'root'
@@ -13384,9 +13336,9 @@ class BasReportService extends RestService {
13384
13336
  this.isHydra = true;
13385
13337
  }
13386
13338
  }
13387
- BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13388
- BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasReportService, providedIn: 'root' });
13389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BasReportService, decorators: [{
13339
+ BasReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13340
+ BasReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, providedIn: 'root' });
13341
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasReportService, decorators: [{
13390
13342
  type: Injectable,
13391
13343
  args: [{
13392
13344
  providedIn: 'root'
@@ -13406,9 +13358,9 @@ class ServicePriceService extends RestService$1 {
13406
13358
  this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
13407
13359
  }
13408
13360
  }
13409
- ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13410
- ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
13411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, decorators: [{
13361
+ ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13362
+ ServicePriceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, providedIn: 'root' });
13363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePriceService, decorators: [{
13412
13364
  type: Injectable,
13413
13365
  args: [{
13414
13366
  providedIn: 'root'
@@ -13434,9 +13386,9 @@ class ServicePaymentService extends RestService$1 {
13434
13386
  return this.http.get(`${this.environment.apiV2}/service-payments/${payment.id}/invoice-url`);
13435
13387
  }
13436
13388
  }
13437
- ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13438
- ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
13439
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePaymentService, decorators: [{
13389
+ ServicePaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13390
+ ServicePaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, providedIn: 'root' });
13391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServicePaymentService, decorators: [{
13440
13392
  type: Injectable,
13441
13393
  args: [{
13442
13394
  providedIn: 'root'
@@ -13485,18 +13437,16 @@ class SubscriptionService extends RestService$1 {
13485
13437
  * @TODO remove
13486
13438
  * redirect to stripe payment page
13487
13439
  */
13488
- checkoutRedirect(subscription) {
13489
- return __awaiter(this, void 0, void 0, function* () {
13490
- const stripe = yield loadStripe(this.environment.stripePk);
13491
- this.http.post(`${this.environment.apiV2}/stripe/checkout-session`, {
13492
- items: subscription.items,
13493
- successUrl: window.location.href,
13494
- cancelUrl: window.location.href
13495
- })
13496
- .subscribe((session) => {
13497
- // @Todo remove user TRIAL status
13498
- stripe.redirectToCheckout({ sessionId: session });
13499
- });
13440
+ async checkoutRedirect(subscription) {
13441
+ const stripe = await loadStripe(this.environment.stripePk);
13442
+ this.http.post(`${this.environment.apiV2}/stripe/checkout-session`, {
13443
+ items: subscription.items,
13444
+ successUrl: window.location.href,
13445
+ cancelUrl: window.location.href
13446
+ })
13447
+ .subscribe((session) => {
13448
+ // @Todo remove user TRIAL status
13449
+ stripe.redirectToCheckout({ sessionId: session });
13500
13450
  });
13501
13451
  }
13502
13452
  /**
@@ -13549,9 +13499,9 @@ class SubscriptionService extends RestService$1 {
13549
13499
  });
13550
13500
  }
13551
13501
  }
13552
- SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13553
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
13554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: SubscriptionService, decorators: [{
13502
+ SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: SseService }, { token: ToastService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13503
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, providedIn: 'root' });
13504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SubscriptionService, decorators: [{
13555
13505
  type: Injectable,
13556
13506
  args: [{
13557
13507
  providedIn: 'root'
@@ -13571,9 +13521,9 @@ class ServiceProductService extends RestService$1 {
13571
13521
  this.isApiPlatform = true;
13572
13522
  }
13573
13523
  }
13574
- ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13575
- ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
13576
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceProductService, decorators: [{
13524
+ ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13525
+ ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
13526
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ServiceProductService, decorators: [{
13577
13527
  type: Injectable,
13578
13528
  args: [{
13579
13529
  providedIn: 'root'
@@ -13605,9 +13555,9 @@ class TaxReviewHistoryService extends RestService {
13605
13555
  });
13606
13556
  }
13607
13557
  }
13608
- TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13609
- TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
13610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
13558
+ TaxReviewHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13559
+ TaxReviewHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, providedIn: 'root' });
13560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewHistoryService, decorators: [{
13611
13561
  type: Injectable,
13612
13562
  args: [{
13613
13563
  providedIn: 'root'
@@ -13696,9 +13646,9 @@ class TaxReviewService extends RestService {
13696
13646
  });
13697
13647
  }
13698
13648
  }
13699
- TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13700
- TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
13701
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxReviewService, decorators: [{
13649
+ TaxReviewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13650
+ TaxReviewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, providedIn: 'root' });
13651
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxReviewService, decorators: [{
13702
13652
  type: Injectable,
13703
13653
  args: [{
13704
13654
  providedIn: 'root'
@@ -13755,9 +13705,9 @@ class TaxSummaryService {
13755
13705
  });
13756
13706
  }
13757
13707
  }
13758
- TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13759
- TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
13760
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TaxSummaryService, decorators: [{
13708
+ TaxSummaryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
13709
+ TaxSummaryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, providedIn: 'root' });
13710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TaxSummaryService, decorators: [{
13761
13711
  type: Injectable,
13762
13712
  args: [{
13763
13713
  providedIn: 'root'
@@ -13851,9 +13801,9 @@ class TransactionAllocationService extends RestService {
13851
13801
  });
13852
13802
  }
13853
13803
  }
13854
- TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13855
- TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
13856
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionAllocationService, decorators: [{
13804
+ TransactionAllocationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13805
+ TransactionAllocationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, providedIn: 'root' });
13806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionAllocationService, decorators: [{
13857
13807
  type: Injectable,
13858
13808
  args: [{
13859
13809
  providedIn: 'root'
@@ -13879,9 +13829,9 @@ class TransactionReceiptService extends ReceiptService {
13879
13829
  this.listenEvents();
13880
13830
  }
13881
13831
  }
13882
- TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13883
- TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
13884
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionReceiptService, decorators: [{
13832
+ TransactionReceiptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Injectable });
13833
+ TransactionReceiptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, providedIn: 'root' });
13834
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionReceiptService, decorators: [{
13885
13835
  type: Injectable,
13886
13836
  args: [{
13887
13837
  providedIn: 'root'
@@ -13964,8 +13914,7 @@ class TransactionService extends RestService {
13964
13914
  return this.get()
13965
13915
  .pipe(map((transactions) => {
13966
13916
  return transactions.filter((transaction) => {
13967
- var _a;
13968
- return ((_a = transaction.property) === null || _a === void 0 ? void 0 : _a.id) === propertyId;
13917
+ return transaction.property?.id === propertyId;
13969
13918
  });
13970
13919
  }));
13971
13920
  }
@@ -14100,7 +14049,6 @@ class TransactionService extends RestService {
14100
14049
  return this.http.delete(`${this.environment.apiV2}/${this.url}/${model.id}`)
14101
14050
  .pipe(map(() => {
14102
14051
  this.cache = this.cache.filter((transaction) => {
14103
- var _a;
14104
14052
  // when delete transfer we delete actually 2 transactions
14105
14053
  if (model.isTransfer) {
14106
14054
  const ids = [model.id];
@@ -14115,7 +14063,7 @@ class TransactionService extends RestService {
14115
14063
  }
14116
14064
  return !ids.includes(transaction.id);
14117
14065
  }
14118
- return transaction.id !== model.id && ((_a = transaction.parentTransaction) === null || _a === void 0 ? void 0 : _a.id) !== model.id;
14066
+ return transaction.id !== model.id && transaction.parentTransaction?.id !== model.id;
14119
14067
  });
14120
14068
  this.eventDispatcherService.dispatch(new AppEvent(AppEventTypeEnum.TRANSACTION_DELETED, model));
14121
14069
  this.updateCache();
@@ -14201,9 +14149,9 @@ class TransactionService extends RestService {
14201
14149
  });
14202
14150
  }
14203
14151
  }
14204
- TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
14205
- TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionService, providedIn: 'root' });
14206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionService, decorators: [{
14152
+ TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: ToastService }, { token: TransactionReceiptService }], target: i0.ɵɵFactoryTarget.Injectable });
14153
+ TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, providedIn: 'root' });
14154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionService, decorators: [{
14207
14155
  type: Injectable,
14208
14156
  args: [{
14209
14157
  providedIn: 'root'
@@ -14232,9 +14180,9 @@ class TutorialVideoService {
14232
14180
  }
14233
14181
  TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
14234
14182
  TutorialVideoService.parents = '1uLMLzi8WUy2go9xhfzJEwgFwOM43dukM';
14235
- TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14236
- TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
14237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TutorialVideoService, decorators: [{
14183
+ TutorialVideoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14184
+ TutorialVideoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, providedIn: 'root' });
14185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TutorialVideoService, decorators: [{
14238
14186
  type: Injectable,
14239
14187
  args: [{
14240
14188
  providedIn: 'root'
@@ -14254,9 +14202,9 @@ class VehicleService extends RestService {
14254
14202
  this.modelClass = Vehicle;
14255
14203
  }
14256
14204
  }
14257
- VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14258
- VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, providedIn: 'root' });
14259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, decorators: [{
14205
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14206
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, providedIn: 'root' });
14207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleService, decorators: [{
14260
14208
  type: Injectable,
14261
14209
  args: [{
14262
14210
  providedIn: 'root'
@@ -14322,15 +14270,15 @@ class VehicleClaimService extends RestService {
14322
14270
  // @TODO Vik (TT-2210): need batch endpoint for this update
14323
14271
  // @TODO Alex (TT-2210): fix frontend when endpoint ready
14324
14272
  const batch$ = this.cache.map((claim) => {
14325
- const claimToUpdate = plainToClass(VehicleClaim, Object.assign({}, claim, { workUsage: bestPeriod === null || bestPeriod === void 0 ? void 0 : bestPeriod.getWorkUsageByClaim(claim) }));
14273
+ const claimToUpdate = plainToClass(VehicleClaim, Object.assign({}, claim, { workUsage: bestPeriod?.getWorkUsageByClaim(claim) }));
14326
14274
  return this.update(claimToUpdate);
14327
14275
  });
14328
14276
  combineLatest(batch$).subscribe();
14329
14277
  }
14330
14278
  }
14331
- VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14332
- VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
14333
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimService, decorators: [{
14279
+ VehicleClaimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14280
+ VehicleClaimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, providedIn: 'root' });
14281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimService, decorators: [{
14334
14282
  type: Injectable,
14335
14283
  args: [{
14336
14284
  providedIn: 'root'
@@ -14407,9 +14355,9 @@ class VehicleClaimDetailsService {
14407
14355
  this.update(vehicleClaimDetails).subscribe();
14408
14356
  }
14409
14357
  }
14410
- VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
14411
- VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
14412
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
14358
+ VehicleClaimDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, deps: [{ token: 'environment' }, { token: i1.HttpClient }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
14359
+ VehicleClaimDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, providedIn: 'root' });
14360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleClaimDetailsService, decorators: [{
14413
14361
  type: Injectable,
14414
14362
  args: [{
14415
14363
  providedIn: 'root'
@@ -14429,9 +14377,9 @@ class VehicleLogbookService extends RestService {
14429
14377
  this.modelClass = VehicleLogbook;
14430
14378
  }
14431
14379
  }
14432
- VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14433
- VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
14434
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleLogbookService, decorators: [{
14380
+ VehicleLogbookService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14381
+ VehicleLogbookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, providedIn: 'root' });
14382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: VehicleLogbookService, decorators: [{
14435
14383
  type: Injectable,
14436
14384
  args: [{
14437
14385
  providedIn: 'root'
@@ -14464,9 +14412,9 @@ class OccupationService {
14464
14412
  return this.occupationsSubject.asObservable();
14465
14413
  }
14466
14414
  }
14467
- OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14468
- OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: OccupationService, providedIn: 'root' });
14469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: OccupationService, decorators: [{
14415
+ OccupationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14416
+ OccupationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, providedIn: 'root' });
14417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OccupationService, decorators: [{
14470
14418
  type: Injectable,
14471
14419
  args: [{
14472
14420
  providedIn: 'root'
@@ -14510,9 +14458,9 @@ class UserEventSettingService extends RestService {
14510
14458
  }));
14511
14459
  }
14512
14460
  }
14513
- UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14514
- UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
14515
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventSettingService, decorators: [{
14461
+ UserEventSettingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14462
+ UserEventSettingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, providedIn: 'root' });
14463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventSettingService, decorators: [{
14516
14464
  type: Injectable,
14517
14465
  args: [{
14518
14466
  providedIn: 'root'
@@ -14527,9 +14475,9 @@ class UserEventTypeService extends RestService {
14527
14475
  this.isHydra = true;
14528
14476
  }
14529
14477
  }
14530
- UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14531
- UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
14532
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserEventTypeService, decorators: [{
14478
+ UserEventTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14479
+ UserEventTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, providedIn: 'root' });
14480
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UserEventTypeService, decorators: [{
14533
14481
  type: Injectable,
14534
14482
  args: [{
14535
14483
  providedIn: 'root'
@@ -14546,9 +14494,9 @@ class UsersInviteService extends RestService {
14546
14494
  this.url = 'users/invite';
14547
14495
  }
14548
14496
  }
14549
- UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14550
- UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
14551
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UsersInviteService, decorators: [{
14497
+ UsersInviteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14498
+ UsersInviteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, providedIn: 'root' });
14499
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: UsersInviteService, decorators: [{
14552
14500
  type: Injectable,
14553
14501
  args: [{
14554
14502
  providedIn: 'root'
@@ -14739,9 +14687,9 @@ class AccountSetupService {
14739
14687
  }));
14740
14688
  }
14741
14689
  }
14742
- AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }], target: i0.ɵɵFactoryTarget.Injectable });
14743
- AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
14744
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AccountSetupService, decorators: [{
14690
+ AccountSetupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, deps: [{ token: ClientIncomeTypesService }, { token: PropertyService }, { token: IncomeSourceService }, { token: BankAccountService }, { token: TransactionAllocationService }, { token: VehicleClaimService }, { token: TransactionService }, { token: SoleBusinessService }], target: i0.ɵɵFactoryTarget.Injectable });
14691
+ AccountSetupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, providedIn: 'root' });
14692
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AccountSetupService, decorators: [{
14745
14693
  type: Injectable,
14746
14694
  args: [{
14747
14695
  providedIn: 'root'
@@ -14767,9 +14715,9 @@ class RewardfulService {
14767
14715
  });
14768
14716
  }
14769
14717
  }
14770
- RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14771
- RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RewardfulService, providedIn: 'root' });
14772
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RewardfulService, decorators: [{
14718
+ RewardfulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14719
+ RewardfulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, providedIn: 'root' });
14720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RewardfulService, decorators: [{
14773
14721
  type: Injectable,
14774
14722
  args: [{
14775
14723
  providedIn: 'root'
@@ -14814,9 +14762,9 @@ class AssetsService {
14814
14762
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
14815
14763
  }
14816
14764
  }
14817
- AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14818
- AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AssetsService, providedIn: 'root' });
14819
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: AssetsService, decorators: [{
14765
+ AssetsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14766
+ AssetsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, providedIn: 'root' });
14767
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: AssetsService, decorators: [{
14820
14768
  type: Injectable,
14821
14769
  args: [{
14822
14770
  providedIn: 'root'
@@ -14879,9 +14827,9 @@ class BankTransactionCalculationService {
14879
14827
  return allocations.getByBankTransactionsIds(bankTransactions.debitTransactions.getIds()).amount;
14880
14828
  }
14881
14829
  }
14882
- BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14883
- BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
14884
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
14830
+ BankTransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14831
+ BankTransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, providedIn: 'root' });
14832
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankTransactionCalculationService, decorators: [{
14885
14833
  type: Injectable,
14886
14834
  args: [{
14887
14835
  providedIn: 'root'
@@ -14910,9 +14858,9 @@ class BankAccountCalculationService {
14910
14858
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
14911
14859
  }
14912
14860
  }
14913
- BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
14914
- BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
14915
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BankAccountCalculationService, decorators: [{
14861
+ BankAccountCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, deps: [{ token: BankTransactionCalculationService }], target: i0.ɵɵFactoryTarget.Injectable });
14862
+ BankAccountCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' });
14863
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BankAccountCalculationService, decorators: [{
14916
14864
  type: Injectable,
14917
14865
  args: [{
14918
14866
  providedIn: 'root'
@@ -14937,9 +14885,9 @@ class ExportFormatterService {
14937
14885
  }));
14938
14886
  }
14939
14887
  }
14940
- ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$2.CurrencyPipe }, { token: i1$2.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
14941
- ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
14942
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ExportFormatterService, decorators: [{
14888
+ ExportFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, deps: [{ token: i1$2.CurrencyPipe }, { token: i1$2.DatePipe }], target: i0.ɵɵFactoryTarget.Injectable });
14889
+ ExportFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, providedIn: 'root' });
14890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ExportFormatterService, decorators: [{
14943
14891
  type: Injectable,
14944
14892
  args: [{
14945
14893
  providedIn: 'root'
@@ -14960,9 +14908,9 @@ class HeaderTitleService {
14960
14908
  }), filter((route) => route.outlet === 'primary'), mergeMap((route) => route.data));
14961
14909
  }
14962
14910
  }
14963
- HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: HeaderTitleService, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
14964
- HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
14965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: HeaderTitleService, decorators: [{
14911
+ HeaderTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
14912
+ HeaderTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, providedIn: 'root' });
14913
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderTitleService, decorators: [{
14966
14914
  type: Injectable,
14967
14915
  args: [{
14968
14916
  providedIn: 'root'
@@ -14996,9 +14944,9 @@ class IntercomService {
14996
14944
  window.Intercom('boot', connectionCredentials);
14997
14945
  }
14998
14946
  }
14999
- IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15000
- IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IntercomService, providedIn: 'root' });
15001
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: IntercomService, decorators: [{
14947
+ IntercomService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
14948
+ IntercomService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, providedIn: 'root' });
14949
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: IntercomService, decorators: [{
15002
14950
  type: Injectable,
15003
14951
  args: [{
15004
14952
  providedIn: 'root'
@@ -15060,9 +15008,9 @@ class PdfFromDomElementService {
15060
15008
  .then((blob) => new File([blob], filename, { type: 'application/pdf' })));
15061
15009
  }
15062
15010
  }
15063
- PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15064
- PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
15065
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDomElementService, decorators: [{
15011
+ PdfFromDomElementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15012
+ PdfFromDomElementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, providedIn: 'root' });
15013
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDomElementService, decorators: [{
15066
15014
  type: Injectable,
15067
15015
  args: [{
15068
15016
  providedIn: 'root'
@@ -15141,9 +15089,9 @@ class PdfFromTableService {
15141
15089
  doc.addImage(logo, 'PNG', doc.internal.pageSize.width - FILE_SETTINGS.logo.positionX, FILE_SETTINGS.logo.positionY, FILE_SETTINGS.logo.width, FILE_SETTINGS.logo.height);
15142
15090
  }
15143
15091
  }
15144
- PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15145
- PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
15146
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromTableService, decorators: [{
15092
+ PdfFromTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15093
+ PdfFromTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, providedIn: 'root' });
15094
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromTableService, decorators: [{
15147
15095
  type: Injectable,
15148
15096
  args: [{
15149
15097
  providedIn: 'root'
@@ -15170,14 +15118,19 @@ class PdfFromDataTableService extends PdfFromTableService {
15170
15118
  this.setDocumentTitle(pdf, title);
15171
15119
  this.setDocumentLogo(pdf);
15172
15120
  dataTables.forEach((dataTable) => {
15173
- autoTable(pdf, Object.assign({ head: [dataTable.header], body: this.formatter.format(dataTable.body), foot: this.formatter.format(dataTable.footer) }, this.setTableOptions(pdf, dataTable.caption)));
15121
+ autoTable(pdf, {
15122
+ head: [dataTable.header],
15123
+ body: this.formatter.format(dataTable.body),
15124
+ foot: this.formatter.format(dataTable.footer),
15125
+ ...this.setTableOptions(pdf, dataTable.caption)
15126
+ });
15174
15127
  });
15175
15128
  return pdf;
15176
15129
  }
15177
15130
  }
15178
- PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
15179
- PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
15180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromDataTableService, decorators: [{
15131
+ PdfFromDataTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, deps: [{ token: ExportFormatterService }], target: i0.ɵɵFactoryTarget.Injectable });
15132
+ PdfFromDataTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, providedIn: 'root' });
15133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromDataTableService, decorators: [{
15181
15134
  type: Injectable,
15182
15135
  args: [{
15183
15136
  providedIn: 'root'
@@ -15205,14 +15158,17 @@ class PdfFromHtmlTableService extends PdfFromTableService {
15205
15158
  table.createCaption();
15206
15159
  table.caption.innerText = '';
15207
15160
  }
15208
- autoTable(pdf, Object.assign({ html: table }, this.setTableOptions(pdf, table.caption.innerText)));
15161
+ autoTable(pdf, {
15162
+ html: table,
15163
+ ...this.setTableOptions(pdf, table.caption.innerText)
15164
+ });
15209
15165
  });
15210
15166
  return pdf;
15211
15167
  }
15212
15168
  }
15213
- PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15214
- PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
15215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
15169
+ PdfFromHtmlTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15170
+ PdfFromHtmlTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, providedIn: 'root' });
15171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PdfFromHtmlTableService, decorators: [{
15216
15172
  type: Injectable,
15217
15173
  args: [{
15218
15174
  providedIn: 'root'
@@ -15245,9 +15201,9 @@ class EquityPositionChartService {
15245
15201
  }));
15246
15202
  }
15247
15203
  }
15248
- EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15249
- EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
15250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: EquityPositionChartService, decorators: [{
15204
+ EquityPositionChartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
15205
+ EquityPositionChartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, providedIn: 'root' });
15206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: EquityPositionChartService, decorators: [{
15251
15207
  type: Injectable,
15252
15208
  args: [{
15253
15209
  providedIn: 'root'
@@ -15298,8 +15254,7 @@ class PropertyCalculationService {
15298
15254
  return properties.items.reduce((totalAmount, property) => {
15299
15255
  return totalAmount + bankAccounts.items
15300
15256
  .reduce((propertyAmount, bankAccount) => {
15301
- var _a;
15302
- return propertyAmount + bankAccount.getPropertyPercentage(property.id) * (((_a = loans.getByBankAccountId(bankAccount.id)) === null || _a === void 0 ? void 0 : _a.amount) || 0);
15257
+ return propertyAmount + bankAccount.getPropertyPercentage(property.id) * (loans.getByBankAccountId(bankAccount.id)?.amount || 0);
15303
15258
  }, 0);
15304
15259
  }, 0);
15305
15260
  }
@@ -15419,9 +15374,9 @@ class PropertyCalculationService {
15419
15374
  }
15420
15375
  }
15421
15376
  }
15422
- PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15423
- PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
15424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyCalculationService, decorators: [{
15377
+ PropertyCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15378
+ PropertyCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, providedIn: 'root' });
15379
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyCalculationService, decorators: [{
15425
15380
  type: Injectable,
15426
15381
  args: [{
15427
15382
  providedIn: 'root'
@@ -15478,9 +15433,9 @@ class PropertyTransactionReportService {
15478
15433
  }));
15479
15434
  }
15480
15435
  }
15481
- PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
15482
- PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
15483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
15436
+ PropertyTransactionReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, deps: [{ token: PropertyService }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }], target: i0.ɵɵFactoryTarget.Injectable });
15437
+ PropertyTransactionReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, providedIn: 'root' });
15438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PropertyTransactionReportService, decorators: [{
15484
15439
  type: Injectable,
15485
15440
  args: [{
15486
15441
  providedIn: 'root'
@@ -15550,9 +15505,9 @@ class TransactionCalculationService {
15550
15505
  return bankTransactions.sumBy('amount') - allocations.getByBankTransactionsIds(bankTransactions.getIds()).sumBy('amount');
15551
15506
  }
15552
15507
  }
15553
- TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15554
- TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
15555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionCalculationService, decorators: [{
15508
+ TransactionCalculationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15509
+ TransactionCalculationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, providedIn: 'root' });
15510
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TransactionCalculationService, decorators: [{
15556
15511
  type: Injectable,
15557
15512
  args: [{
15558
15513
  providedIn: 'root'
@@ -15585,7 +15540,7 @@ class LogbookBestPeriodService {
15585
15540
  .subscribe(([details, logbooks]) => {
15586
15541
  let period;
15587
15542
  // calculate current initial best period
15588
- if ((details === null || details === void 0 ? void 0 : details.isManual) || !(details === null || details === void 0 ? void 0 : details.isLogbookMethod()) || !logbooks.isBestPeriodExist()) {
15543
+ if (details?.isManual || !details?.isLogbookMethod() || !logbooks.isBestPeriodExist()) {
15589
15544
  period = null;
15590
15545
  }
15591
15546
  else {
@@ -15612,9 +15567,9 @@ class LogbookBestPeriodService {
15612
15567
  });
15613
15568
  }
15614
15569
  }
15615
- LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
15616
- LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
15617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
15570
+ LogbookBestPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, deps: [{ token: VehicleClaimDetailsService }, { token: VehicleClaimService }, { token: VehicleLogbookService }, { token: EventDispatcherService }], target: i0.ɵɵFactoryTarget.Injectable });
15571
+ LogbookBestPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, providedIn: 'root' });
15572
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LogbookBestPeriodService, decorators: [{
15618
15573
  type: Injectable,
15619
15574
  args: [{
15620
15575
  providedIn: 'root'
@@ -15655,9 +15610,9 @@ class XlsxService {
15655
15610
  return xlsx.write(workbook, { bookType: 'xlsx', type: 'array' });
15656
15611
  }
15657
15612
  }
15658
- XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15659
- XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: XlsxService, providedIn: 'root' });
15660
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: XlsxService, decorators: [{
15613
+ XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
15614
+ XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, providedIn: 'root' });
15615
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: XlsxService, decorators: [{
15661
15616
  type: Injectable,
15662
15617
  args: [{
15663
15618
  providedIn: 'root'
@@ -15746,7 +15701,7 @@ function taxReviewFilterPredicate(data, filter) {
15746
15701
  * @TODO rename to AbstractFormGroup
15747
15702
  * @TODO Alex TT-2190: refactor: check and improve logic
15748
15703
  */
15749
- class AbstractForm extends FormGroup {
15704
+ class AbstractForm extends UntypedFormGroup {
15750
15705
  constructor(controls, model, validatorOrOpts, asyncValidator) {
15751
15706
  super(controls, validatorOrOpts, asyncValidator);
15752
15707
  /**
@@ -15807,240 +15762,70 @@ class AbstractForm extends FormGroup {
15807
15762
  }
15808
15763
 
15809
15764
  /**
15810
- * Check if at least one form field is true, otherwise form is invalid.
15811
- * Use with groups of boolean form controls (checkbox, toggle, etc.)
15812
- */
15813
- function atLeastOneCheckedValidator() {
15814
- return (formGroup) => {
15815
- return Object.values(formGroup.controls)
15816
- .find((control) => control.value) ? null : { nothingChecked: true };
15817
- };
15818
- }
15819
-
15820
- /**
15821
- * Validation function for autocomplete fields. Checks that the user should select a value from a list rather than type in input field
15822
- * @TODO Alex: create class AppValidators with static methods and move there all custom validators (line Angular Validators)
15765
+ * Validator for address, check if corelogic suggestion selected correctly
15823
15766
  */
15824
- function autocompleteValidator() {
15825
- return (control) => {
15826
- return (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
15827
- };
15828
- }
15829
-
15830
- function conditionalValidator(condition, validator) {
15831
- return function (control) {
15832
- revalidateOnChanges(control);
15833
- if (control && control.parent) {
15834
- if (condition(control.parent)) {
15835
- return validator(control);
15836
- }
15767
+ function addressCorelogicValidator() {
15768
+ return (form) => {
15769
+ // we are interested in corelogic ids only for Australian addresses
15770
+ if (!form.isAustraliaSelected()) {
15771
+ return null;
15772
+ }
15773
+ // we need at least corelogic locality id to get growth percent
15774
+ const locIdControl = form.get('corelogicLocId');
15775
+ if (locIdControl.enabled && locIdControl.hasError('required')) {
15776
+ return { address: 'City, state or postal code not specified' };
15837
15777
  }
15838
15778
  return null;
15839
15779
  };
15840
15780
  }
15841
- /**
15842
- * Conditional validator depends on other fields and should be updated on each form value change
15843
- */
15844
- function revalidateOnChanges(control) {
15845
- if (control && control.parent && !control['_revalidateOnChanges']) {
15846
- control['_revalidateOnChanges'] = true;
15847
- control.parent.valueChanges.pipe(distinctUntilChanged((a, b) => JSON.stringify(a) === JSON.stringify(b)))
15848
- .subscribe(() => {
15849
- control.updateValueAndValidity({ emitEvent: false });
15850
- });
15851
- }
15852
- return;
15853
- }
15854
15781
 
15855
15782
  /**
15856
- * Regular expressions that are used to check password strength and valid values
15783
+ * Address form. Works with corelogic or manual address
15857
15784
  */
15858
- const PASSWORD_REGEXPS = {
15859
- medium: /(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})/,
15860
- strong: /(((?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*]))|((?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*]))|((?=.*[A-Z])(?=.*[0-9]))(?=.*[!@#$%^&*]))(?=.{8,})/,
15861
- format: /^[0-9a-zA-Z!@$!%*?&#]*$/
15862
- };
15863
- function passwordValidator() {
15864
- return (control) => {
15865
- if (!PASSWORD_REGEXPS.format.test(control.value)) {
15866
- return { passwordInvalid: true };
15785
+ class AddressForm extends AbstractForm {
15786
+ constructor(
15787
+ // no default value because Address form is always a child form. That's mean address value always passed and then default value never work.
15788
+ // even if null passed, default value will not work
15789
+ address) {
15790
+ super({
15791
+ // prefill search input with address string for edit case
15792
+ searchQuery: new UntypedFormControl(address?.address ? address.nameLong : null, Validators.required),
15793
+ type: new UntypedFormControl(address?.type || AddressTypeEnum.STREET, Validators.required),
15794
+ // corelogic fields (required for Australia and disabled for other countries)
15795
+ corelogicLocId: new UntypedFormControl({ value: address?.corelogicLocId, disabled: true }, Validators.required),
15796
+ corelogicRefId: new UntypedFormControl({ value: address?.corelogicRefId, disabled: true }),
15797
+ // manual fields (using when address not found in corelogic)
15798
+ unitNumber: new UntypedFormControl({ value: address?.unitNumber, disabled: true }),
15799
+ address: new UntypedFormControl({ value: address?.address, disabled: true }, Validators.required),
15800
+ streetNumber: new UntypedFormControl({ value: address?.streetNumber, disabled: true }, [Validators.required, Validators.pattern(AddressForm.streetNumberPattern)]),
15801
+ street: new UntypedFormControl({ value: address?.street, disabled: true }, Validators.required),
15802
+ city: new UntypedFormControl({ value: address?.city, disabled: true }, Validators.required),
15803
+ state: new UntypedFormControl({ value: address?.state, disabled: true }, Validators.required),
15804
+ postcode: new UntypedFormControl({ value: address?.postcode, disabled: true }, Validators.required),
15805
+ country: new UntypedFormControl({ value: address?.country || Country.australia, disabled: true }, Validators.required)
15806
+ }, address, addressCorelogicValidator());
15807
+ /**
15808
+ * Emit event to search address in corelogic when user filled enough data for corelogic
15809
+ */
15810
+ this.onSearch = new EventEmitter();
15811
+ if (this.isAustraliaSelected()) {
15812
+ this.enableCorelogicFields();
15867
15813
  }
15868
- if (!PASSWORD_REGEXPS.medium.test(control.value)) {
15869
- return { passwordWeak: true };
15814
+ this.listenEvents();
15815
+ }
15816
+ /**
15817
+ * Get search query for corelogic location search based on manual fields values
15818
+ */
15819
+ get manualSearchQuery() {
15820
+ // nothing to search when manual fields are invalid or when selected country is not Australia because we don't need to use corelogic for other countries
15821
+ if (!this.isManualSearchAvailable() || !this.isAustraliaSelected()) {
15822
+ return '';
15870
15823
  }
15871
- return null;
15872
- };
15873
- }
15874
-
15875
- function passwordMatchValidator(newPassControlName, confirmPassControlName) {
15876
- return (group) => {
15877
- const passwordControl = group.get(newPassControlName);
15878
- const confirmControl = group.get(confirmPassControlName);
15879
- if (confirmControl.errors && !confirmControl.hasError('passwordMismatch')) {
15880
- // return if another validator has already found an error on the confirmControl
15881
- return this;
15882
- }
15883
- if (passwordControl.value !== confirmControl.value) {
15884
- confirmControl.setErrors({ passwordMismatch: true });
15885
- }
15886
- else {
15887
- confirmControl.setErrors(null);
15888
- }
15889
- };
15890
- }
15891
-
15892
- var MessagesEnum$1;
15893
- (function (MessagesEnum) {
15894
- MessagesEnum["INVALID_DATE"] = "The date should not be before $1";
15895
- })(MessagesEnum$1 || (MessagesEnum$1 = {}));
15896
-
15897
- /**
15898
- * Validation function, that checks If date form value is more than provided date
15899
- */
15900
- function minDateValidator(date, message = MessagesEnum$1.INVALID_DATE.replace('$1', new DatePipe('en-US').transform(date))) {
15901
- return (control) => {
15902
- if (!control.value) {
15903
- return null;
15904
- }
15905
- // form control value can be as a Moment object - we wrap it in "new Date()" to work with it like with JS Date
15906
- if (new Date(control.value) >= new Date(date)) {
15907
- return null;
15908
- }
15909
- return { minDate: message };
15910
- };
15911
- }
15912
-
15913
- /**
15914
- * Validator that check if sum amount of provided fields is greater than provided sum
15915
- * @param field to check in each formArray element
15916
- * @param summary to compare with fields sum
15917
- * @param fieldAlias to show it in error message
15918
- */
15919
- function fieldsSumValidator(field, summary = 100, fieldAlias) {
15920
- return (formArray) => {
15921
- // calculate sum of desired fields in formArray control
15922
- const fieldsSum = formArray['controls']
15923
- .reduce((acc, group) => acc += group.get(field).value, 0);
15924
- if (fieldsSum <= summary) {
15925
- return null;
15926
- }
15927
- else {
15928
- return {
15929
- fieldsSum: {
15930
- name: field,
15931
- alias: fieldAlias,
15932
- summary
15933
- }
15934
- };
15935
- }
15936
- };
15937
- }
15938
-
15939
- /**
15940
- * Validation function, that checks If provided date is within a current financial year
15941
- */
15942
- function currentFinYearValidator() {
15943
- const currentFinYear = new FinancialYear();
15944
- return (control) => {
15945
- if (!control.value || control.value >= currentFinYear.startDate && control.value <= currentFinYear.endDate) {
15946
- return null;
15947
- }
15948
- return { notCurrentFinYear: true };
15949
- };
15950
- }
15951
-
15952
- const MAX_SIZE = 4194304;
15953
- class FileValidator {
15954
- // File max size check
15955
- static fileMaxSize(maxSize = MAX_SIZE) {
15956
- const validatorFn = (file) => {
15957
- return file.size > maxSize ? { fileMaxSize: { maxSize } } : null;
15958
- };
15959
- return FileValidator.fileValidation(validatorFn);
15960
- }
15961
- // File extension check
15962
- static fileExtensions(allowedExtensions = DOCUMENT_FILE_TYPES.all) {
15963
- const validatorFn = (file) => {
15964
- return allowedExtensions.includes(file.type) ? null : { fileExtension: { allowedExtensions: allowedExtensions.join() } };
15965
- };
15966
- return FileValidator.fileValidation(validatorFn);
15967
- }
15968
- static fileValidation(validatorFn) {
15969
- return (formControl) => {
15970
- if (!formControl.value) {
15971
- return null;
15972
- }
15973
- return validatorFn(formControl.value);
15974
- };
15975
- }
15976
- }
15977
-
15978
- /**
15979
- * Validator for address, check if corelogic suggestion selected correctly
15980
- */
15981
- function addressCorelogicValidator() {
15982
- return (form) => {
15983
- if (form.isCorelogicRequired) {
15984
- if (form.get('corelogicLocId').hasError('required')) {
15985
- return { address: 'Street, city, state or postal code not specified' };
15986
- }
15987
- if (form.get('corelogicRefId').hasError('required')) {
15988
- return { address: 'Unit/House number not specified' };
15989
- }
15990
- }
15991
- return null;
15992
- };
15993
- }
15994
-
15995
- /**
15996
- * Address form. Works with corelogic or manual address
15997
- */
15998
- class AddressForm extends AbstractForm {
15999
- /**
16000
- * @param address instance which should be created/edited
16001
- * @param isCorelogicRequired for example, for property we need corelogic location even for manual address,
16002
- * so we have to search corelogic location based on manual fields values
16003
- */
16004
- constructor(address = plainToClass(Address, {}), isCorelogicRequired = false) {
16005
- super({
16006
- // prefill search input with address string for edit case
16007
- searchQuery: new FormControl(address.address ? address.nameLong : null, Validators.required),
16008
- type: new FormControl(address.type | AddressTypeEnum.STREET, Validators.required),
16009
- // Corelogic fields
16010
- corelogicLocId: new FormControl(address.corelogicLocId),
16011
- corelogicRefId: new FormControl(address.corelogicRefId),
16012
- // manual fields
16013
- unitNumber: new FormControl({ value: address.unitNumber, disabled: true }),
16014
- address: new FormControl({ value: address.address, disabled: true }, Validators.required),
16015
- streetNumber: new FormControl({ value: address.streetNumber, disabled: true }, [Validators.required, Validators.pattern(AddressForm.streetNumberPattern)]),
16016
- street: new FormControl({ value: address.street, disabled: true }, Validators.required),
16017
- city: new FormControl({ value: address.city, disabled: true }, Validators.required),
16018
- state: new FormControl({ value: address.state, disabled: true }, Validators.required),
16019
- postcode: new FormControl({ value: address.postcode, disabled: true }, Validators.required),
16020
- country: new FormControl({ value: address.country || Country.australia, disabled: true }, conditionalValidator(() => !isCorelogicRequired, Validators.required))
16021
- }, address, addressCorelogicValidator());
16022
- this.isCorelogicRequired = isCorelogicRequired;
16023
- /**
16024
- * Emit event to search address in corelogic when user filled enough data for corelogic
16025
- */
16026
- this.onSearch = new EventEmitter();
16027
- this.listenEvents();
16028
- }
16029
- /**
16030
- * Get search query for corelogic location search based on manual fields values
16031
- */
16032
- get manualSearchQuery() {
16033
- if (!this.isManualSearchAvailable()) {
16034
- return '';
16035
- }
16036
- return this.currentValue.nameLong;
15824
+ // for manual mode we search corelogic for city (location) and ignore street
15825
+ return `${this.get('city').value} ${this.get('state').value} ${this.get('postcode').value}`;
16037
15826
  }
16038
15827
  listenEvents() {
16039
15828
  this.listenSearchQueryChanges();
16040
- // no need to search corelogic locality when corelogic is not required
16041
- if (this.isCorelogicRequired) {
16042
- this.listenManualFieldsChanges();
16043
- }
16044
15829
  }
16045
15830
  /**
16046
15831
  * Handle corelogic suggestion select
@@ -16056,25 +15841,29 @@ class AddressForm extends AbstractForm {
16056
15841
  corelogicRefId: suggestion.propertyId
16057
15842
  });
16058
15843
  }
15844
+ /**
15845
+ * Check if Australia is selected in country field
15846
+ */
15847
+ isAustraliaSelected() {
15848
+ return this.get('country').value?.id === Country.australia.id;
15849
+ }
16059
15850
  /**
16060
15851
  * Enable manual mode
16061
15852
  */
16062
15853
  switchToManual() {
16063
15854
  this.isManual = true;
16064
15855
  this.get('searchQuery').disable();
15856
+ this.get('unitNumber').enable();
16065
15857
  this.get('address').enable();
16066
15858
  this.get('streetNumber').enable();
16067
15859
  this.get('street').enable();
16068
- this.get('unitNumber').enable();
16069
15860
  this.get('city').enable();
16070
15861
  this.get('state').enable();
16071
15862
  this.get('postcode').enable();
16072
- if (!this.isCorelogicRequired) {
16073
- this.get('country').enable();
16074
- this.get('corelogicLocId').disable();
16075
- this.get('corelogicRefId').disable();
16076
- }
15863
+ this.get('country').enable();
15864
+ this.listenManualFieldsChanges();
16077
15865
  this.listenStreetFieldsChanges();
15866
+ this.listenCountryChanges();
16078
15867
  }
16079
15868
  /**
16080
15869
  * Emit event to search address in corelogic when search field changes
@@ -16106,7 +15895,7 @@ class AddressForm extends AbstractForm {
16106
15895
  * Check if all fields required for manual corelogic search are filled before request sending
16107
15896
  */
16108
15897
  isManualSearchAvailable() {
16109
- return this.get('address').valid && this.get('city').valid && this.get('state').valid && this.get('postcode').valid;
15898
+ return this.get('city').valid && this.get('state').valid && this.get('postcode').valid;
16110
15899
  }
16111
15900
  /**
16112
15901
  * When corelogic is required we have to search address even for manual address
@@ -16118,7 +15907,7 @@ class AddressForm extends AbstractForm {
16118
15907
  // delay to avoid search request for each value change
16119
15908
  debounceTime(AddressForm.searchDelay),
16120
15909
  // do nothing when not all required fields filled
16121
- filter(() => this.isManualSearchAvailable()), map(() => this.manualSearchQuery),
15910
+ filter(() => this.isManualSearchAvailable() && this.isAustraliaSelected()), map(() => this.manualSearchQuery),
16122
15911
  // skip when value not changed
16123
15912
  distinctUntilChanged())
16124
15913
  .subscribe(() => {
@@ -16136,6 +15925,26 @@ class AddressForm extends AbstractForm {
16136
15925
  this.get('address').setValue(`${this.get('streetNumber').value} ${this.get('street').value}`);
16137
15926
  });
16138
15927
  }
15928
+ enableCorelogicFields() {
15929
+ this.get('corelogicLocId').enable();
15930
+ this.get('corelogicRefId').enable();
15931
+ }
15932
+ disableCorelogicFields() {
15933
+ this.get('corelogicLocId').disable();
15934
+ this.get('corelogicRefId').disable();
15935
+ }
15936
+ /**
15937
+ * Corelogic loc id is required for Australian addresses
15938
+ */
15939
+ listenCountryChanges() {
15940
+ this.get('country').valueChanges.subscribe(() => {
15941
+ if (this.isAustraliaSelected()) {
15942
+ this.enableCorelogicFields();
15943
+ return;
15944
+ }
15945
+ this.disableCorelogicFields();
15946
+ });
15947
+ }
16139
15948
  }
16140
15949
  /**
16141
15950
  * Min search query required length
@@ -16157,19 +15966,19 @@ AddressForm.streetNumberPattern = /^[^\s]+$/;
16157
15966
  class LoanForm extends AbstractForm {
16158
15967
  constructor(loan = plainToClass(Loan, {})) {
16159
15968
  super({
16160
- type: new FormControl(loan.type, Validators.required),
16161
- amount: new FormControl(loan.amount, Validators.required),
16162
- interestRate: new FormControl(loan.interestRate, [Validators.required, Validators.min(0), Validators.max(100)]),
16163
- commencementDate: new FormControl(loan.commencementDate, Validators.required),
16164
- repaymentAmount: new FormControl(loan.repaymentAmount, Validators.required),
16165
- repaymentFrequency: new FormControl(loan.repaymentFrequency, Validators.required),
16166
- term: new FormControl(loan.term, Validators.required),
15969
+ type: new UntypedFormControl(loan.type, Validators.required),
15970
+ amount: new UntypedFormControl(loan.amount, Validators.required),
15971
+ interestRate: new UntypedFormControl(loan.interestRate, [Validators.required, Validators.min(0), Validators.max(100)]),
15972
+ commencementDate: new UntypedFormControl(loan.commencementDate, Validators.required),
15973
+ repaymentAmount: new UntypedFormControl(loan.repaymentAmount, Validators.required),
15974
+ repaymentFrequency: new UntypedFormControl(loan.repaymentFrequency, Validators.required),
15975
+ term: new UntypedFormControl(loan.term, Validators.required),
16167
15976
  // interestType is predefined for vehicle loans
16168
- interestType: new FormControl({ value: loan.interestType, disabled: !loan.bankAccount }, Validators.required),
15977
+ interestType: new UntypedFormControl({ value: loan.interestType, disabled: !loan.bankAccount }, Validators.required),
16169
15978
  // availableRedraw is predefined for vehicle loans
16170
- availableRedraw: new FormControl({ value: loan.availableRedraw, disabled: !loan.bankAccount }, Validators.required),
15979
+ availableRedraw: new UntypedFormControl({ value: loan.availableRedraw, disabled: !loan.bankAccount }, Validators.required),
16171
15980
  // repaymentType is predefined for vehicle loans
16172
- repaymentType: new FormControl({ value: loan.repaymentType, disabled: !loan.bankAccount }, Validators.required),
15981
+ repaymentType: new UntypedFormControl({ value: loan.repaymentType, disabled: !loan.bankAccount }, Validators.required),
16173
15982
  }, loan);
16174
15983
  this.loan = loan;
16175
15984
  // Set data which always the same for vehicle loans
@@ -16231,17 +16040,186 @@ class LoanForm extends AbstractForm {
16231
16040
  }
16232
16041
  LoanForm.mortgageLoanTypes = [LoanTypeEnum.MORTGAGE, LoanTypeEnum.HOME_EQUITY_LINE_OF_CREDIT, LoanTypeEnum.HOME_LOAN];
16233
16042
 
16043
+ /**
16044
+ * Check if at least one form field is true, otherwise form is invalid.
16045
+ * Use with groups of boolean form controls (checkbox, toggle, etc.)
16046
+ */
16047
+ function atLeastOneCheckedValidator() {
16048
+ return (formGroup) => {
16049
+ return Object.values(formGroup.controls)
16050
+ .find((control) => control.value) ? null : { nothingChecked: true };
16051
+ };
16052
+ }
16053
+
16054
+ /**
16055
+ * Validation function for autocomplete fields. Checks that the user should select a value from a list rather than type in input field
16056
+ * @TODO Alex: create class AppValidators with static methods and move there all custom validators (line Angular Validators)
16057
+ */
16058
+ function autocompleteValidator() {
16059
+ return (control) => {
16060
+ return (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
16061
+ };
16062
+ }
16063
+
16064
+ function conditionalValidator(condition, validator) {
16065
+ return function (control) {
16066
+ revalidateOnChanges(control);
16067
+ if (control && control.parent) {
16068
+ if (condition(control.parent)) {
16069
+ return validator(control);
16070
+ }
16071
+ }
16072
+ return null;
16073
+ };
16074
+ }
16075
+ /**
16076
+ * Conditional validator depends on other fields and should be updated on each form value change
16077
+ */
16078
+ function revalidateOnChanges(control) {
16079
+ if (control && control.parent && !control['_revalidateOnChanges']) {
16080
+ control['_revalidateOnChanges'] = true;
16081
+ control.parent.valueChanges.pipe(distinctUntilChanged((a, b) => JSON.stringify(a) === JSON.stringify(b)))
16082
+ .subscribe(() => {
16083
+ control.updateValueAndValidity({ emitEvent: false });
16084
+ });
16085
+ }
16086
+ return;
16087
+ }
16088
+
16089
+ /**
16090
+ * Regular expressions that are used to check password strength and valid values
16091
+ */
16092
+ const PASSWORD_REGEXPS = {
16093
+ medium: /(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})/,
16094
+ strong: /(((?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*]))|((?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*]))|((?=.*[A-Z])(?=.*[0-9]))(?=.*[!@#$%^&*]))(?=.{8,})/,
16095
+ format: /^[0-9a-zA-Z!@$!%*?&#]*$/
16096
+ };
16097
+ function passwordValidator() {
16098
+ return (control) => {
16099
+ if (!PASSWORD_REGEXPS.format.test(control.value)) {
16100
+ return { passwordInvalid: true };
16101
+ }
16102
+ if (!PASSWORD_REGEXPS.medium.test(control.value)) {
16103
+ return { passwordWeak: true };
16104
+ }
16105
+ return null;
16106
+ };
16107
+ }
16108
+
16109
+ function passwordMatchValidator(newPassControlName, confirmPassControlName) {
16110
+ return (group) => {
16111
+ const passwordControl = group.get(newPassControlName);
16112
+ const confirmControl = group.get(confirmPassControlName);
16113
+ if (confirmControl.errors && !confirmControl.hasError('passwordMismatch')) {
16114
+ // return if another validator has already found an error on the confirmControl
16115
+ return this;
16116
+ }
16117
+ if (passwordControl.value !== confirmControl.value) {
16118
+ confirmControl.setErrors({ passwordMismatch: true });
16119
+ }
16120
+ else {
16121
+ confirmControl.setErrors(null);
16122
+ }
16123
+ };
16124
+ }
16125
+
16126
+ var MessagesEnum$1;
16127
+ (function (MessagesEnum) {
16128
+ MessagesEnum["INVALID_DATE"] = "The date should not be before $1";
16129
+ })(MessagesEnum$1 || (MessagesEnum$1 = {}));
16130
+
16131
+ /**
16132
+ * Validation function, that checks If date form value is more than provided date
16133
+ */
16134
+ function minDateValidator(date, message = MessagesEnum$1.INVALID_DATE.replace('$1', new DatePipe('en-US').transform(date))) {
16135
+ return (control) => {
16136
+ if (!control.value) {
16137
+ return null;
16138
+ }
16139
+ // form control value can be as a Moment object - we wrap it in "new Date()" to work with it like with JS Date
16140
+ if (new Date(control.value) >= new Date(date)) {
16141
+ return null;
16142
+ }
16143
+ return { minDate: message };
16144
+ };
16145
+ }
16146
+
16147
+ /**
16148
+ * Validator that check if sum amount of provided fields is greater than provided sum
16149
+ * @param field to check in each formArray element
16150
+ * @param summary to compare with fields sum
16151
+ * @param fieldAlias to show it in error message
16152
+ */
16153
+ function fieldsSumValidator(field, summary = 100, fieldAlias) {
16154
+ return (formArray) => {
16155
+ // calculate sum of desired fields in formArray control
16156
+ const fieldsSum = formArray['controls']
16157
+ .reduce((acc, group) => acc += group.get(field).value, 0);
16158
+ if (fieldsSum <= summary) {
16159
+ return null;
16160
+ }
16161
+ else {
16162
+ return {
16163
+ fieldsSum: {
16164
+ name: field,
16165
+ alias: fieldAlias,
16166
+ summary
16167
+ }
16168
+ };
16169
+ }
16170
+ };
16171
+ }
16172
+
16173
+ /**
16174
+ * Validation function, that checks If provided date is within a current financial year
16175
+ */
16176
+ function currentFinYearValidator() {
16177
+ const currentFinYear = new FinancialYear();
16178
+ return (control) => {
16179
+ if (!control.value || control.value >= currentFinYear.startDate && control.value <= currentFinYear.endDate) {
16180
+ return null;
16181
+ }
16182
+ return { notCurrentFinYear: true };
16183
+ };
16184
+ }
16185
+
16186
+ const MAX_SIZE = 4194304;
16187
+ class FileValidator {
16188
+ // File max size check
16189
+ static fileMaxSize(maxSize = MAX_SIZE) {
16190
+ const validatorFn = (file) => {
16191
+ return file.size > maxSize ? { fileMaxSize: { maxSize } } : null;
16192
+ };
16193
+ return FileValidator.fileValidation(validatorFn);
16194
+ }
16195
+ // File extension check
16196
+ static fileExtensions(allowedExtensions = DOCUMENT_FILE_TYPES.all) {
16197
+ const validatorFn = (file) => {
16198
+ return allowedExtensions.includes(file.type) ? null : { fileExtension: { allowedExtensions: allowedExtensions.join() } };
16199
+ };
16200
+ return FileValidator.fileValidation(validatorFn);
16201
+ }
16202
+ static fileValidation(validatorFn) {
16203
+ return (formControl) => {
16204
+ if (!formControl.value) {
16205
+ return null;
16206
+ }
16207
+ return validatorFn(formControl.value);
16208
+ };
16209
+ }
16210
+ }
16211
+
16234
16212
  /**
16235
16213
  * Form array with bank account properties
16236
16214
  * @TODO create AbstractFormArray
16237
16215
  */
16238
- class BankAccountPropertiesForm extends FormArray {
16216
+ class BankAccountPropertiesForm extends UntypedFormArray {
16239
16217
  constructor(bankAccountProperties) {
16240
- super(((bankAccountProperties === null || bankAccountProperties === void 0 ? void 0 : bankAccountProperties.length) ? bankAccountProperties : [plainToClass(BankAccountProperty, {})])
16218
+ super((bankAccountProperties?.length ? bankAccountProperties : [plainToClass(BankAccountProperty, {})])
16241
16219
  .map((bankAccountProperty) => {
16242
- return new FormGroup({
16243
- property: new FormControl(bankAccountProperty === null || bankAccountProperty === void 0 ? void 0 : bankAccountProperty.property, Validators.required),
16244
- percent: new FormControl(bankAccountProperty.percent, Validators.required)
16220
+ return new UntypedFormGroup({
16221
+ property: new UntypedFormControl(bankAccountProperty?.property, Validators.required),
16222
+ percent: new UntypedFormControl(bankAccountProperty.percent, Validators.required)
16245
16223
  });
16246
16224
  }), [
16247
16225
  conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.PROPERTY, Validators.required),
@@ -16249,10 +16227,10 @@ class BankAccountPropertiesForm extends FormArray {
16249
16227
  ]);
16250
16228
  }
16251
16229
  add() {
16252
- this.push(new FormGroup({
16253
- property: new FormControl(null, Validators.required),
16230
+ this.push(new UntypedFormGroup({
16231
+ property: new UntypedFormControl(null, Validators.required),
16254
16232
  // @TODO disable for loans
16255
- percent: new FormControl({ value: this.getRemainingPercent(), disabled: !this.at(0).contains('percent') }, Validators.required),
16233
+ percent: new UntypedFormControl({ value: this.getRemainingPercent(), disabled: !this.at(0).contains('percent') }, Validators.required),
16256
16234
  // @TODO enable for loans
16257
16235
  // amount: new FormControl(
16258
16236
  // {value: this.bankAccount.currentBalance * bankAccountProperty.percent / 100},
@@ -16294,31 +16272,31 @@ class BankAccountPropertiesForm extends FormArray {
16294
16272
  class SoleBusinessForm extends AbstractForm {
16295
16273
  constructor(business = plainToClass(SoleBusiness, {})) {
16296
16274
  super({
16297
- name: new FormControl(business.name, Validators.required),
16298
- activity: new FormControl(business.activity, Validators.required),
16299
- description: new FormControl(business.description),
16300
- website: new FormControl(business.website)
16275
+ name: new UntypedFormControl(business.name, Validators.required),
16276
+ activity: new UntypedFormControl(business.activity, Validators.required),
16277
+ description: new UntypedFormControl(business.description),
16278
+ website: new UntypedFormControl(business.website)
16301
16279
  }, business);
16302
16280
  this.business = business;
16303
16281
  // User have to create income source with new business.
16304
16282
  // Income source is not able for edit business
16305
16283
  if (!business.id) {
16306
16284
  // @TODO Alex (TT-2304): move to separated form class
16307
- this.addControl('incomeSource', new FormGroup({
16308
- type: new FormControl(IncomeSourceTypeEnum.SOLE, Validators.required),
16309
- name: new FormControl(null, Validators.required),
16310
- soleForecasts: new FormArray([
16311
- new FormGroup({
16312
- financialYear: new FormControl(new FinancialYear().year, Validators.required),
16313
- amount: new FormControl(null, Validators.required),
16314
- taxInstalments: new FormControl(null, Validators.required)
16285
+ this.addControl('incomeSource', new UntypedFormGroup({
16286
+ type: new UntypedFormControl(IncomeSourceTypeEnum.SOLE, Validators.required),
16287
+ name: new UntypedFormControl(null, Validators.required),
16288
+ soleForecasts: new UntypedFormArray([
16289
+ new UntypedFormGroup({
16290
+ financialYear: new UntypedFormControl(new FinancialYear().year, Validators.required),
16291
+ amount: new UntypedFormControl(null, Validators.required),
16292
+ taxInstalments: new UntypedFormControl(null, Validators.required)
16315
16293
  })
16316
16294
  ])
16317
16295
  }));
16318
- this.addControl('losses', new FormArray([
16319
- new FormGroup({
16320
- financialYear: new FormControl(new FinancialYear().year),
16321
- openBalance: new FormControl(null, [Validators.required, Validators.min(0)])
16296
+ this.addControl('losses', new UntypedFormArray([
16297
+ new UntypedFormGroup({
16298
+ financialYear: new UntypedFormControl(new FinancialYear().year),
16299
+ openBalance: new UntypedFormControl(null, [Validators.required, Validators.min(0)])
16322
16300
  })
16323
16301
  ]));
16324
16302
  }
@@ -16359,13 +16337,13 @@ class SoleBusinessForm extends AbstractForm {
16359
16337
  * @TODO create AbstractFormArray
16360
16338
  * @TODO Alex/Vik (TT-2184): copypasted from bank-account-properties.form, improve logic and create common parent class maybe
16361
16339
  */
16362
- class SoleBusinessAllocationsForm extends FormArray {
16340
+ class SoleBusinessAllocationsForm extends UntypedFormArray {
16363
16341
  constructor(businessAllocations) {
16364
- super(((businessAllocations === null || businessAllocations === void 0 ? void 0 : businessAllocations.length) ? businessAllocations : [plainToClass(SoleBusinessAllocation, {})])
16342
+ super((businessAllocations?.length ? businessAllocations : [plainToClass(SoleBusinessAllocation, {})])
16365
16343
  .map((businessAllocation) => {
16366
- return new FormGroup({
16367
- business: new FormControl(businessAllocation === null || businessAllocation === void 0 ? void 0 : businessAllocation.business, Validators.required),
16368
- percent: new FormControl(businessAllocation.percent, Validators.required)
16344
+ return new UntypedFormGroup({
16345
+ business: new UntypedFormControl(businessAllocation?.business, Validators.required),
16346
+ percent: new UntypedFormControl(businessAllocation.percent, Validators.required)
16369
16347
  });
16370
16348
  }), [
16371
16349
  conditionalValidator((control) => control.get('tankType').value === TankTypeEnum.SOLE, Validators.required),
@@ -16373,10 +16351,10 @@ class SoleBusinessAllocationsForm extends FormArray {
16373
16351
  ]);
16374
16352
  }
16375
16353
  add() {
16376
- this.push(new FormGroup({
16377
- business: new FormControl(null, Validators.required),
16354
+ this.push(new UntypedFormGroup({
16355
+ business: new UntypedFormControl(null, Validators.required),
16378
16356
  // @TODO disable for loans
16379
- percent: new FormControl({ value: this.getRemainingPercent(), disabled: !this.at(0).contains('percent') }, Validators.required),
16357
+ percent: new UntypedFormControl({ value: this.getRemainingPercent(), disabled: !this.at(0).contains('percent') }, Validators.required),
16380
16358
  // @TODO enable for loans
16381
16359
  // amount: new FormControl(
16382
16360
  // {value: this.bankAccount.currentBalance * businessAllocation.percent / 100},
@@ -16417,12 +16395,11 @@ class SoleBusinessAllocationsForm extends FormArray {
16417
16395
 
16418
16396
  class SoleBusinessLossForm extends AbstractForm {
16419
16397
  constructor(loss, profit) {
16420
- var _a;
16421
16398
  super({
16422
- openBalance: new FormControl(loss.openBalance, [Validators.required, Validators.min(0)]),
16423
- offsetRule: new FormControl((_a = loss.offsetRule) === null || _a === void 0 ? void 0 : _a.id),
16399
+ openBalance: new UntypedFormControl(loss.openBalance, [Validators.required, Validators.min(0)]),
16400
+ offsetRule: new UntypedFormControl(loss.offsetRule?.id),
16424
16401
  // sum of depreciations/transactions claim amount - openBalance
16425
- balance: new FormControl({ value: (profit - loss.openBalance).toFixed(2), disabled: true }),
16402
+ balance: new UntypedFormControl({ value: (profit - loss.openBalance).toFixed(2), disabled: true }),
16426
16403
  }, loss);
16427
16404
  this.loss = loss;
16428
16405
  this.get('openBalance').valueChanges.subscribe((openBalance) => {
@@ -16441,13 +16418,13 @@ class SoleBusinessLossForm extends AbstractForm {
16441
16418
  class SoleContactForm extends AbstractForm {
16442
16419
  constructor(contact = plainToClass(SoleContact, {})) {
16443
16420
  super({
16444
- name: new FormControl(contact.name, Validators.required),
16445
- abn: new FormControl(contact.abn, [Validators.minLength(11), Validators.maxLength(11)]),
16446
- firstName: new FormControl(contact.firstName, Validators.required),
16447
- lastName: new FormControl(contact.lastName, Validators.required),
16448
- email: new FormControl(contact.email, [Validators.required, Validators.email]),
16449
- phone: new FormControl(contact.phone),
16450
- address: new AddressForm(contact.address || plainToClass(Address, {}))
16421
+ name: new UntypedFormControl(contact.name, Validators.required),
16422
+ abn: new UntypedFormControl(contact.abn, [Validators.minLength(11), Validators.maxLength(11)]),
16423
+ firstName: new UntypedFormControl(contact.firstName, Validators.required),
16424
+ lastName: new UntypedFormControl(contact.lastName, Validators.required),
16425
+ email: new UntypedFormControl(contact.email, [Validators.required, Validators.email]),
16426
+ phone: new UntypedFormControl(contact.phone),
16427
+ address: new UntypedFormControl(contact.address)
16451
16428
  }, contact);
16452
16429
  }
16453
16430
  }
@@ -16455,7 +16432,7 @@ class SoleContactForm extends AbstractForm {
16455
16432
  class SoleDepreciationMethodForm extends AbstractForm {
16456
16433
  constructor(soleDepreciationMethod) {
16457
16434
  super({
16458
- method: new FormControl(soleDepreciationMethod.method)
16435
+ method: new UntypedFormControl(soleDepreciationMethod.method)
16459
16436
  }, soleDepreciationMethod);
16460
16437
  }
16461
16438
  }
@@ -16475,21 +16452,20 @@ function requiredLengthValidator(length) {
16475
16452
  class SoleDetailsForm extends AbstractForm {
16476
16453
  constructor(soleDetails) {
16477
16454
  super({
16478
- abn: new FormControl(soleDetails.abn, [Validators.required, requiredLengthValidator(11)]),
16479
- isGST: new FormControl(soleDetails.isGST || false)
16455
+ abn: new UntypedFormControl(soleDetails.abn, [Validators.required, requiredLengthValidator(11)]),
16456
+ isGST: new UntypedFormControl(soleDetails.isGST || false)
16480
16457
  }, soleDetails);
16481
16458
  }
16482
16459
  }
16483
16460
 
16484
16461
  class SoleInvoiceItemForm extends AbstractForm {
16485
16462
  constructor(item) {
16486
- var _a;
16487
16463
  super({
16488
- description: new FormControl(item.description, [Validators.required, Validators.maxLength(SoleInvoiceItemForm.maxDescriptionLength)]),
16489
- quantity: new FormControl(item.quantity, Validators.required),
16490
- price: new FormControl(item.price, Validators.required),
16491
- isGST: new FormControl({ value: item.isGST || false, disabled: !((_a = item.chartAccounts) === null || _a === void 0 ? void 0 : _a.isGST) }),
16492
- chartAccounts: new FormControl(item.chartAccounts, Validators.required),
16464
+ description: new UntypedFormControl(item.description, [Validators.required, Validators.maxLength(SoleInvoiceItemForm.maxDescriptionLength)]),
16465
+ quantity: new UntypedFormControl(item.quantity, Validators.required),
16466
+ price: new UntypedFormControl(item.price, Validators.required),
16467
+ isGST: new UntypedFormControl({ value: item.isGST || false, disabled: !item.chartAccounts?.isGST }),
16468
+ chartAccounts: new UntypedFormControl(item.chartAccounts, Validators.required),
16493
16469
  }, item);
16494
16470
  }
16495
16471
  }
@@ -16504,22 +16480,22 @@ class SoleInvoiceForm extends AbstractForm {
16504
16480
  // default template to be preselected
16505
16481
  defaultTemplate) {
16506
16482
  super({
16507
- commonData: new FormGroup({
16508
- dateFrom: new FormControl(invoice.dateFrom || new Date(), Validators.required),
16509
- dateTo: new FormControl(invoice.dateTo, Validators.required),
16510
- payer: new FormControl(invoice.payer, Validators.required),
16511
- taxType: new FormControl(invoice.taxType, Validators.required),
16512
- bankAccount: new FormControl(invoice.bankAccount, Validators.required),
16513
- reference: new FormControl(invoice.reference)
16483
+ commonData: new UntypedFormGroup({
16484
+ dateFrom: new UntypedFormControl(invoice.dateFrom || new Date(), Validators.required),
16485
+ dateTo: new UntypedFormControl(invoice.dateTo, Validators.required),
16486
+ payer: new UntypedFormControl(invoice.payer, Validators.required),
16487
+ taxType: new UntypedFormControl(invoice.taxType, Validators.required),
16488
+ bankAccount: new UntypedFormControl(invoice.bankAccount, Validators.required),
16489
+ reference: new UntypedFormControl(invoice.reference)
16514
16490
  }),
16515
- items: new FormArray((invoice.items || [plainToClass(SoleInvoiceItem, {})]).map((item) => new SoleInvoiceItemForm(item))),
16491
+ items: new UntypedFormArray((invoice.items || [plainToClass(SoleInvoiceItem, {})]).map((item) => new SoleInvoiceItemForm(item))),
16516
16492
  }, invoice);
16517
16493
  this.invoice = invoice;
16518
16494
  this.soleDetailsGST = soleDetailsGST;
16519
16495
  this.defaultTemplate = defaultTemplate;
16520
16496
  // we need invoice template only for new invoices
16521
16497
  if (!invoice.id) {
16522
- (this.commonData).addControl('template', new FormControl(this.defaultTemplate));
16498
+ (this.commonData).addControl('template', new UntypedFormControl(this.defaultTemplate));
16523
16499
  // user can have no template, but he can add it from this form
16524
16500
  if (this.defaultTemplate) {
16525
16501
  this.updateTemplateRelatedFields(this.defaultTemplate);
@@ -16591,7 +16567,7 @@ class SoleInvoiceForm extends AbstractForm {
16591
16567
  this.items.controls.forEach((itemForm) => {
16592
16568
  const chartAccounts = itemForm.get('chartAccounts').value;
16593
16569
  // Item GST is available when invoice.taxType !== NONE ('No Tax')
16594
- if (type !== SoleInvoiceTaxTypeEnum.NO_TAX && (chartAccounts === null || chartAccounts === void 0 ? void 0 : chartAccounts.isGST)) {
16570
+ if (type !== SoleInvoiceTaxTypeEnum.NO_TAX && chartAccounts?.isGST) {
16595
16571
  this.enableItemGST(itemForm);
16596
16572
  return;
16597
16573
  }
@@ -16643,19 +16619,19 @@ class SoleInvoiceForm extends AbstractForm {
16643
16619
  */
16644
16620
  get currentValue() {
16645
16621
  const formRawValue = this.getRawValue();
16646
- return plainToClass(SoleInvoice, Object.assign({}, this.model, Object.assign(Object.assign({}, formRawValue.commonData), { items: formRawValue.items })));
16622
+ return plainToClass(SoleInvoice, Object.assign({}, this.model, { ...formRawValue.commonData, items: formRawValue.items }));
16647
16623
  }
16648
16624
  }
16649
16625
 
16650
16626
  class SoleInvoiceTemplateForm extends AbstractForm {
16651
16627
  constructor(invoiceTemplate) {
16652
16628
  super({
16653
- name: new FormControl(invoiceTemplate.name, Validators.required),
16629
+ name: new UntypedFormControl(invoiceTemplate.name, Validators.required),
16654
16630
  // taxType is always 'No Tax' when soleDetails.isGST === false
16655
- taxType: new FormControl(invoiceTemplate.taxType, Validators.required),
16631
+ taxType: new UntypedFormControl(invoiceTemplate.taxType, Validators.required),
16656
16632
  // 32767 - max value because we have small int data type in database for this field, but we don't have actual max validation for term
16657
- term: new FormControl(invoiceTemplate.term, [Validators.required, Validators.min(0), Validators.max(32767)]),
16658
- bankAccount: new FormControl(invoiceTemplate.bankAccount, [Validators.required]),
16633
+ term: new UntypedFormControl(invoiceTemplate.term, [Validators.required, Validators.min(0), Validators.max(32767)]),
16634
+ bankAccount: new UntypedFormControl(invoiceTemplate.bankAccount, [Validators.required]),
16659
16635
  }, invoiceTemplate);
16660
16636
  }
16661
16637
  }
@@ -16667,18 +16643,18 @@ class SoleInvoiceTemplateForm extends AbstractForm {
16667
16643
  class BasReportForm extends AbstractForm {
16668
16644
  constructor(report, transactions, allocations, depreciations) {
16669
16645
  super({
16670
- dateFrom: new FormControl(report.dateFrom, Validators.required),
16671
- dateTo: new FormControl(report.dateTo, Validators.required),
16672
- income: new FormControl({ value: report.income, disabled: true }),
16673
- incomeGST: new FormControl({ value: report.incomeGST, disabled: true }, Validators.required),
16674
- expenseGST: new FormControl({ value: report.expenseGST, disabled: true }, Validators.required),
16675
- salary: new FormControl(report.salary, Validators.required),
16676
- taxWithheldSalary: new FormControl(report.taxWithheldSalary, Validators.required),
16677
- taxWithheldNoABN: new FormControl(report.taxWithheldNoABN, Validators.required),
16678
- taxWithheldTotal: new FormControl({ value: report.taxWithheldTotal || 0, disabled: true }),
16679
- paygTaxInstalment: new FormControl(report.paygTaxInstalment, Validators.required),
16680
- fuelTaxCredit: new FormControl(report.fuelTaxCredit, Validators.required),
16681
- gst: new FormControl({ value: report.gst, disabled: true }),
16646
+ dateFrom: new UntypedFormControl(report.dateFrom, Validators.required),
16647
+ dateTo: new UntypedFormControl(report.dateTo, Validators.required),
16648
+ income: new UntypedFormControl({ value: report.income, disabled: true }),
16649
+ incomeGST: new UntypedFormControl({ value: report.incomeGST, disabled: true }, Validators.required),
16650
+ expenseGST: new UntypedFormControl({ value: report.expenseGST, disabled: true }, Validators.required),
16651
+ salary: new UntypedFormControl(report.salary, Validators.required),
16652
+ taxWithheldSalary: new UntypedFormControl(report.taxWithheldSalary, Validators.required),
16653
+ taxWithheldNoABN: new UntypedFormControl(report.taxWithheldNoABN, Validators.required),
16654
+ taxWithheldTotal: new UntypedFormControl({ value: report.taxWithheldTotal || 0, disabled: true }),
16655
+ paygTaxInstalment: new UntypedFormControl(report.paygTaxInstalment, Validators.required),
16656
+ fuelTaxCredit: new UntypedFormControl(report.fuelTaxCredit, Validators.required),
16657
+ gst: new UntypedFormControl({ value: report.gst, disabled: true }),
16682
16658
  }, report);
16683
16659
  this.report = report;
16684
16660
  // prefill income/expense data based on transactions/depreciations filtered by specified date
@@ -16717,13 +16693,13 @@ class BasReportForm extends AbstractForm {
16717
16693
  class BankAccountAllocationForm extends AbstractForm {
16718
16694
  constructor(bankAccount, controls) {
16719
16695
  super(merge(controls, {
16720
- tankType: new FormControl(bankAccount ? bankAccount.tankType : null, Validators.required)
16696
+ tankType: new UntypedFormControl(bankAccount ? bankAccount.tankType : null, Validators.required)
16721
16697
  }), plainToClass(BankAccount, bankAccount || {}));
16722
16698
  this.bankAccount = bankAccount;
16723
- if (bankAccount === null || bankAccount === void 0 ? void 0 : bankAccount.isPropertyTank()) {
16699
+ if (bankAccount?.isPropertyTank()) {
16724
16700
  this.addControl('bankAccountProperties', new BankAccountPropertiesForm(bankAccount.bankAccountProperties));
16725
16701
  }
16726
- if (bankAccount === null || bankAccount === void 0 ? void 0 : bankAccount.isSoleTank()) {
16702
+ if (bankAccount?.isSoleTank()) {
16727
16703
  this.addControl('businessAllocations', new SoleBusinessAllocationsForm(bankAccount.businessAllocations));
16728
16704
  }
16729
16705
  this.listenEvents();
@@ -16733,15 +16709,14 @@ class BankAccountAllocationForm extends AbstractForm {
16733
16709
  }
16734
16710
  listenTankTypeChanges() {
16735
16711
  this.get('tankType').valueChanges.subscribe((tankType) => {
16736
- var _a, _b;
16737
16712
  this.removeControl('bankAccountProperties');
16738
16713
  this.removeControl('businessAllocations');
16739
16714
  switch (tankType) {
16740
16715
  case TankTypeEnum.PROPERTY:
16741
- this.addControl('bankAccountProperties', new BankAccountPropertiesForm((_a = this.bankAccount) === null || _a === void 0 ? void 0 : _a.bankAccountProperties));
16716
+ this.addControl('bankAccountProperties', new BankAccountPropertiesForm(this.bankAccount?.bankAccountProperties));
16742
16717
  break;
16743
16718
  case TankTypeEnum.SOLE:
16744
- this.addControl('businessAllocations', new SoleBusinessAllocationsForm((_b = this.bankAccount) === null || _b === void 0 ? void 0 : _b.businessAllocations));
16719
+ this.addControl('businessAllocations', new SoleBusinessAllocationsForm(this.bankAccount?.businessAllocations));
16745
16720
  break;
16746
16721
  }
16747
16722
  });
@@ -16778,10 +16753,10 @@ class BankAccountImportForm extends BankAccountAllocationForm {
16778
16753
  class BankAccountAddManualForm extends BankAccountAllocationForm {
16779
16754
  constructor(connection) {
16780
16755
  super(null, {
16781
- type: new FormControl(null, Validators.required),
16782
- accountName: new FormControl(null, Validators.required),
16783
- currentBalance: new FormControl(null, Validators.required),
16784
- accountNumber: new FormControl(null, [Validators.required, Validators.pattern(BankAccountAddManualForm.accountNumberPattern)])
16756
+ type: new UntypedFormControl(null, Validators.required),
16757
+ accountName: new UntypedFormControl(null, Validators.required),
16758
+ currentBalance: new UntypedFormControl(null, Validators.required),
16759
+ accountNumber: new UntypedFormControl(null, [Validators.required, Validators.pattern(BankAccountAddManualForm.accountNumberPattern)])
16785
16760
  });
16786
16761
  this.connection = connection;
16787
16762
  }
@@ -16851,9 +16826,9 @@ function atLeastOneEnabledValidator(arrayName) {
16851
16826
  class BankAccountsImportForm extends AbstractForm {
16852
16827
  constructor(bankAccounts) {
16853
16828
  super({
16854
- migrateFrom: new FormControl(BankAccountsImportForm.minDate, [Validators.required, dateRangeValidator(BankAccountsImportForm.minDate, BankAccountsImportForm.maxDate)]),
16855
- migrateTo: new FormControl(BankAccountsImportForm.maxDate, [Validators.required, dateRangeValidator(BankAccountsImportForm.minDate, BankAccountsImportForm.maxDate)]),
16856
- bankAccounts: new FormArray(bankAccounts.map((bankAccount) => new BankAccountImportForm(bankAccount)))
16829
+ migrateFrom: new UntypedFormControl(BankAccountsImportForm.minDate, [Validators.required, dateRangeValidator(BankAccountsImportForm.minDate, BankAccountsImportForm.maxDate)]),
16830
+ migrateTo: new UntypedFormControl(BankAccountsImportForm.maxDate, [Validators.required, dateRangeValidator(BankAccountsImportForm.minDate, BankAccountsImportForm.maxDate)]),
16831
+ bankAccounts: new UntypedFormArray(bankAccounts.map((bankAccount) => new BankAccountImportForm(bankAccount)))
16857
16832
  }, [], {
16858
16833
  validators: [atLeastOneEnabledValidator('bankAccounts')]
16859
16834
  });
@@ -16899,7 +16874,7 @@ class BankLoginForm extends AbstractForm {
16899
16874
  this.connection = connection;
16900
16875
  // Each Basiq banks has its own set of login fields, so we need to add these controls dynamically depended on the bank
16901
16876
  Object.keys(connection.bank.loginFields).forEach((key) => {
16902
- this.addControl(key, new FormControl(null, Validators.required));
16877
+ this.addControl(key, new UntypedFormControl(null, Validators.required));
16903
16878
  });
16904
16879
  }
16905
16880
  }
@@ -16907,10 +16882,10 @@ class BankLoginForm extends AbstractForm {
16907
16882
  class ClientIncomeTypesForm extends AbstractForm {
16908
16883
  constructor(clientIncomeTypes = plainToClass(ClientIncomeTypes, {})) {
16909
16884
  super({
16910
- work: new FormControl(clientIncomeTypes.work || false),
16911
- property: new FormControl(clientIncomeTypes.property || false),
16912
- sole: new FormControl(clientIncomeTypes.sole || false),
16913
- holdings: new FormControl({ value: clientIncomeTypes.holdings || false, disabled: true })
16885
+ work: new UntypedFormControl(clientIncomeTypes.work || false),
16886
+ property: new UntypedFormControl(clientIncomeTypes.property || false),
16887
+ sole: new UntypedFormControl(clientIncomeTypes.sole || false),
16888
+ holdings: new UntypedFormControl({ value: clientIncomeTypes.holdings || false, disabled: true })
16914
16889
  }, clientIncomeTypes, atLeastOneCheckedValidator());
16915
16890
  this.clientIncomeTypes = clientIncomeTypes;
16916
16891
  }
@@ -16919,8 +16894,8 @@ class ClientIncomeTypesForm extends AbstractForm {
16919
16894
  class LoginForm extends AbstractForm {
16920
16895
  constructor() {
16921
16896
  super({
16922
- email: new FormControl(null, [Validators.required, Validators.email]),
16923
- password: new FormControl(null, Validators.required)
16897
+ email: new UntypedFormControl(null, [Validators.required, Validators.email]),
16898
+ password: new UntypedFormControl(null, Validators.required)
16924
16899
  });
16925
16900
  }
16926
16901
  }
@@ -16938,12 +16913,13 @@ function phoneNumberValidator() {
16938
16913
 
16939
16914
  class PhoneForm extends AbstractForm {
16940
16915
  constructor(
16941
- // no default value because this form is always built-in, so phone passed from parent form
16916
+ // no default value because Address form is always a child form. That's mean address value always passed and then default value never work.
16917
+ // even if null passed, default value will not work
16942
16918
  phone) {
16943
16919
  super({
16944
- type: new FormControl((phone === null || phone === void 0 ? void 0 : phone.type) || PhoneTypeEnum.MOBILE, Validators.required),
16945
- country: new FormControl((phone === null || phone === void 0 ? void 0 : phone.country) || Country.australia, Validators.required),
16946
- number: new FormControl((phone === null || phone === void 0 ? void 0 : phone.number) || null, [Validators.required, phoneNumberValidator()])
16920
+ type: new UntypedFormControl(phone?.type || PhoneTypeEnum.MOBILE, Validators.required),
16921
+ country: new UntypedFormControl(phone?.country || Country.australia, Validators.required),
16922
+ number: new UntypedFormControl(phone?.number || null, [Validators.required, phoneNumberValidator()])
16947
16923
  }, phone);
16948
16924
  }
16949
16925
  }
@@ -16952,8 +16928,8 @@ class PhoneForm extends AbstractForm {
16952
16928
  class PasswordForm extends AbstractForm {
16953
16929
  constructor() {
16954
16930
  super({
16955
- password: new FormControl(null, [Validators.required, passwordValidator()]),
16956
- confirm: new FormControl(null, Validators.required),
16931
+ password: new UntypedFormControl(null, [Validators.required, passwordValidator()]),
16932
+ confirm: new UntypedFormControl(null, Validators.required),
16957
16933
  }, { password: null, confirm: null }, passwordMatchValidator('password', 'confirm'));
16958
16934
  }
16959
16935
  }
@@ -16962,27 +16938,26 @@ class PasswordForm extends AbstractForm {
16962
16938
  class RegisterClientForm extends AbstractForm {
16963
16939
  constructor(referenceCode) {
16964
16940
  super({
16965
- firstName: new FormControl('', [Validators.required]),
16966
- lastName: new FormControl('', [Validators.required]),
16967
- email: new FormControl('', [Validators.required, Validators.email]),
16941
+ firstName: new UntypedFormControl('', [Validators.required]),
16942
+ lastName: new UntypedFormControl('', [Validators.required]),
16943
+ email: new UntypedFormControl('', [Validators.required, Validators.email]),
16968
16944
  password: new PasswordForm(),
16969
- referenceCode: new FormControl(referenceCode)
16945
+ referenceCode: new UntypedFormControl(referenceCode)
16970
16946
  });
16971
16947
  }
16972
16948
  submit(data = {}) {
16973
- var _a;
16974
- return super.submit({ password: (_a = this.get('password').submit()) === null || _a === void 0 ? void 0 : _a.password });
16949
+ return super.submit({ password: this.get('password').submit()?.password });
16975
16950
  }
16976
16951
  }
16977
16952
 
16978
16953
  class RegisterFirmForm extends AbstractForm {
16979
16954
  constructor(firmType, referenceCode) {
16980
16955
  super({
16981
- name: new FormControl('', Validators.required),
16982
- abn: new FormControl('', Validators.required),
16983
- tan: new FormControl({ value: '', disabled: firmType !== FirmTypeEnum.ACCOUNTANT }, Validators.required),
16956
+ name: new UntypedFormControl('', Validators.required),
16957
+ abn: new UntypedFormControl('', Validators.required),
16958
+ tan: new UntypedFormControl({ value: '', disabled: firmType !== FirmTypeEnum.ACCOUNTANT }, Validators.required),
16984
16959
  owner: new RegisterClientForm(referenceCode),
16985
- type: new FormControl(firmType)
16960
+ type: new UntypedFormControl(firmType)
16986
16961
  }, plainToClass(Firm, {}));
16987
16962
  this.firmType = firmType;
16988
16963
  }
@@ -16995,7 +16970,7 @@ class RegisterFirmForm extends AbstractForm {
16995
16970
  class ResetPasswordForm extends AbstractForm {
16996
16971
  constructor() {
16997
16972
  super({
16998
- email: new FormControl(null, [Validators.required, Validators.email]),
16973
+ email: new UntypedFormControl(null, [Validators.required, Validators.email]),
16999
16974
  });
17000
16975
  }
17001
16976
  }
@@ -17006,8 +16981,8 @@ class ResetPasswordForm extends AbstractForm {
17006
16981
  class UserInviteForm extends AbstractForm {
17007
16982
  constructor() {
17008
16983
  super({
17009
- firstName: new FormControl(null, Validators.required),
17010
- email: new FormControl(null, [Validators.required, Validators.email]),
16984
+ firstName: new UntypedFormControl(null, Validators.required),
16985
+ email: new UntypedFormControl(null, [Validators.required, Validators.email]),
17011
16986
  }, plainToClass(RegistrationInvite, {}));
17012
16987
  }
17013
16988
  }
@@ -17019,17 +16994,17 @@ class UserInviteForm extends AbstractForm {
17019
16994
  class PropertySaleCostBaseForm extends AbstractForm {
17020
16995
  constructor(propertySaleCostBase) {
17021
16996
  super({
17022
- property: new FormGroup({
17023
- purchasePrice: new FormControl(propertySaleCostBase.property.purchasePrice, Validators.required),
17024
- contractDate: new FormControl(propertySaleCostBase.property.contractDate, Validators.required),
17025
- stampDuty: new FormControl(propertySaleCostBase.property.stampDuty, Validators.required),
17026
- legalFees: new FormControl(propertySaleCostBase.property.legalFees, Validators.required),
17027
- otherCapitalCosts: new FormControl(propertySaleCostBase.property.otherCapitalCosts, Validators.required),
16997
+ property: new UntypedFormGroup({
16998
+ purchasePrice: new UntypedFormControl(propertySaleCostBase.property.purchasePrice, Validators.required),
16999
+ contractDate: new UntypedFormControl(propertySaleCostBase.property.contractDate, Validators.required),
17000
+ stampDuty: new UntypedFormControl(propertySaleCostBase.property.stampDuty, Validators.required),
17001
+ legalFees: new UntypedFormControl(propertySaleCostBase.property.legalFees, Validators.required),
17002
+ otherCapitalCosts: new UntypedFormControl(propertySaleCostBase.property.otherCapitalCosts, Validators.required),
17028
17003
  }),
17029
- sale: new FormGroup({
17030
- holdingCosts: new FormControl(propertySaleCostBase.sale.holdingCosts),
17031
- structuralImprovementsWDV: new FormControl(propertySaleCostBase.sale.structuralImprovementsWDV),
17032
- buildingAtCostClaimed: new FormControl(propertySaleCostBase.sale.buildingAtCostClaimed)
17004
+ sale: new UntypedFormGroup({
17005
+ holdingCosts: new UntypedFormControl(propertySaleCostBase.sale.holdingCosts),
17006
+ structuralImprovementsWDV: new UntypedFormControl(propertySaleCostBase.sale.structuralImprovementsWDV),
17007
+ buildingAtCostClaimed: new UntypedFormControl(propertySaleCostBase.sale.buildingAtCostClaimed)
17033
17008
  })
17034
17009
  }, propertySaleCostBase);
17035
17010
  this.propertySaleCostBase = propertySaleCostBase;
@@ -17052,15 +17027,15 @@ class PropertySaleCostBaseForm extends AbstractForm {
17052
17027
  class PropertySaleCostSaleForm extends AbstractForm {
17053
17028
  constructor(propertySale, property) {
17054
17029
  super({
17055
- price: new FormControl(propertySale.price, Validators.required),
17056
- contractDate: new FormControl(propertySale.contractDate, Validators.required),
17057
- settlementDate: new FormControl(propertySale.settlementDate, Validators.required),
17058
- commission: new FormControl(propertySale.commission || 0, Validators.required),
17059
- legalFees: new FormControl(propertySale.legalFees || 0, Validators.required),
17060
- otherCost: new FormControl(propertySale.otherCost || 0, Validators.required),
17061
- capitalLoss: new FormControl(propertySale.capitalLoss || 0, Validators.required),
17062
- grossCGT: new FormControl({ value: propertySale.grossCGT, disabled: true }, Validators.required),
17063
- grossCGTAfterLoss: new FormControl({ value: propertySale.grossCGTAfterLoss, disabled: true }, Validators.required),
17030
+ price: new UntypedFormControl(propertySale.price, Validators.required),
17031
+ contractDate: new UntypedFormControl(propertySale.contractDate, Validators.required),
17032
+ settlementDate: new UntypedFormControl(propertySale.settlementDate, Validators.required),
17033
+ commission: new UntypedFormControl(propertySale.commission || 0, Validators.required),
17034
+ legalFees: new UntypedFormControl(propertySale.legalFees || 0, Validators.required),
17035
+ otherCost: new UntypedFormControl(propertySale.otherCost || 0, Validators.required),
17036
+ capitalLoss: new UntypedFormControl(propertySale.capitalLoss || 0, Validators.required),
17037
+ grossCGT: new UntypedFormControl({ value: propertySale.grossCGT, disabled: true }, Validators.required),
17038
+ grossCGTAfterLoss: new UntypedFormControl({ value: propertySale.grossCGTAfterLoss, disabled: true }, Validators.required),
17064
17039
  }, propertySale);
17065
17040
  this.propertySale = propertySale;
17066
17041
  this.property = property;
@@ -17127,11 +17102,10 @@ class PropertySaleCostSaleForm extends AbstractForm {
17127
17102
  */
17128
17103
  class PropertySaleExemptionsForm extends AbstractForm {
17129
17104
  constructor(propertySale, property, taxExemptions) {
17130
- var _a, _b;
17131
17105
  super({
17132
- taxExemption: new FormControl(taxExemptions.findBy('id', (_b = (_a = propertySale.taxExemption) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : property.getCGTExemption(propertySale))),
17133
- taxExemptionMetadata: new FormArray([]),
17134
- netCGT: new FormControl(propertySale.netCGT)
17106
+ taxExemption: new UntypedFormControl(taxExemptions.findBy('id', propertySale.taxExemption?.id ?? property.getCGTExemption(propertySale))),
17107
+ taxExemptionMetadata: new UntypedFormArray([]),
17108
+ netCGT: new UntypedFormControl(propertySale.netCGT)
17135
17109
  }, propertySale);
17136
17110
  this.propertySale = propertySale;
17137
17111
  this.property = property;
@@ -17184,9 +17158,9 @@ class PropertySaleExemptionsForm extends AbstractForm {
17184
17158
  // ppr days can't be more than ownership days
17185
17159
  metadata.id === TaxExemptionMetadataEnum.PPR_DAYS && Validators.max(this.property.getOwnershipDuration(this.propertySale))
17186
17160
  ].filter(Boolean);
17187
- formArray.push(new FormGroup({
17188
- metadata: new FormControl(metadata),
17189
- value: new FormControl(metadataValue, validators)
17161
+ formArray.push(new UntypedFormGroup({
17162
+ metadata: new UntypedFormControl(metadata),
17163
+ value: new UntypedFormControl(metadataValue, validators)
17190
17164
  }));
17191
17165
  });
17192
17166
  }
@@ -17194,19 +17168,18 @@ class PropertySaleExemptionsForm extends AbstractForm {
17194
17168
 
17195
17169
  class MyTaxBusinessDetailsForm extends AbstractForm {
17196
17170
  constructor(businessDetails) {
17197
- var _a;
17198
17171
  super({
17199
- vehicleClaimMethod: new FormControl({
17200
- value: (_a = businessDetails.vehicleClaimDetails) === null || _a === void 0 ? void 0 : _a.method,
17172
+ vehicleClaimMethod: new UntypedFormControl({
17173
+ value: businessDetails.vehicleClaimDetails?.method,
17201
17174
  disabled: true
17202
17175
  }),
17203
- businessType: new FormControl({ value: BusinessTypeEnum.SOLE_TRADER, disabled: true }),
17176
+ businessType: new UntypedFormControl({ value: BusinessTypeEnum.SOLE_TRADER, disabled: true }),
17204
17177
  // business details
17205
- mainBusinessActivity: new FormControl(businessDetails.businessActivities[0]),
17206
- mainBusinessName: new FormControl({ value: businessDetails.businesses.first.name, disabled: true }),
17207
- mainBusinessABN: new FormControl({ value: businessDetails.businessABN, disabled: true }),
17208
- mainBusinessAddress: new FormControl({ value: businessDetails.businessAddress, disabled: true }),
17209
- numberOfBusinessActivities: new FormControl(businessDetails.businessActivities.length)
17178
+ mainBusinessActivity: new UntypedFormControl(businessDetails.businessActivities[0]),
17179
+ mainBusinessName: new UntypedFormControl({ value: businessDetails.businesses.first.name, disabled: true }),
17180
+ mainBusinessABN: new UntypedFormControl({ value: businessDetails.businessABN, disabled: true }),
17181
+ mainBusinessAddress: new UntypedFormControl({ value: businessDetails.businessAddress, disabled: true }),
17182
+ numberOfBusinessActivities: new UntypedFormControl(businessDetails.businessActivities.length)
17210
17183
  });
17211
17184
  this.businessDetails = businessDetails;
17212
17185
  this.listenEvents();
@@ -17227,72 +17200,72 @@ class MyTaxBusinessIncomeForm extends AbstractForm {
17227
17200
  // Set in "false" if user has PSI income
17228
17201
  // https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4644110466/Tax+Return+MyTax+-+Online+Form
17229
17202
  // ("Business income or losses" section, "P1. Did you satisfy the results test?" field)
17230
- isTestResultsSatisfied: new FormControl(!businessIncome.psiIncomeAmount),
17231
- psiVoluntaryAgreementAmount: new FormControl({
17203
+ isTestResultsSatisfied: new UntypedFormControl(!businessIncome.psiIncomeAmount),
17204
+ psiVoluntaryAgreementAmount: new UntypedFormControl({
17232
17205
  value: businessIncome.psiVoluntaryAgreementAmount,
17233
17206
  disabled: true
17234
17207
  }),
17235
- psiABNNotQuotedAmount: new FormControl({
17208
+ psiABNNotQuotedAmount: new UntypedFormControl({
17236
17209
  value: businessIncome.psiABNNotQuotedAmount,
17237
17210
  disabled: true
17238
17211
  }),
17239
- psiLabourHireOrOtherAmount: new FormControl({
17212
+ psiLabourHireOrOtherAmount: new UntypedFormControl({
17240
17213
  value: businessIncome.psiLabourHireOrOtherAmount,
17241
17214
  disabled: true
17242
17215
  }),
17243
- psiOtherAmount: new FormControl({
17216
+ psiOtherAmount: new UntypedFormControl({
17244
17217
  value: businessIncome.psiOtherAmount,
17245
17218
  disabled: true
17246
17219
  }),
17247
- psiDeductionAssociatesAmount: new FormControl({
17220
+ psiDeductionAssociatesAmount: new UntypedFormControl({
17248
17221
  value: businessIncome.psiDeductionAssociatesAmount,
17249
17222
  disabled: true
17250
17223
  }),
17251
- psiDeductionOtherAmount: new FormControl({
17224
+ psiDeductionOtherAmount: new UntypedFormControl({
17252
17225
  value: businessIncome.psiDeductionOtherAmount,
17253
17226
  disabled: true
17254
17227
  }),
17255
- psiVoluntaryAgreementTax: new FormControl({
17228
+ psiVoluntaryAgreementTax: new UntypedFormControl({
17256
17229
  value: businessIncome.psiVoluntaryAgreementTax,
17257
17230
  disabled: true
17258
17231
  }),
17259
- psiABNNotQuotedTax: new FormControl({
17232
+ psiABNNotQuotedTax: new UntypedFormControl({
17260
17233
  value: businessIncome.psiABNNotQuotedTax,
17261
17234
  disabled: true
17262
17235
  }),
17263
- psiLabourHireOrOtherTax: new FormControl({
17236
+ psiLabourHireOrOtherTax: new UntypedFormControl({
17264
17237
  value: businessIncome.psiLabourHireOrOtherTax,
17265
17238
  disabled: true
17266
17239
  }),
17267
- grossPaymentsNoAbsGivenAmount: new FormControl({
17240
+ grossPaymentsNoAbsGivenAmount: new UntypedFormControl({
17268
17241
  value: businessIncome.grossPaymentsNoAbsGivenAmount,
17269
17242
  disabled: true
17270
17243
  }),
17271
- grossPaymentsVoluntaryAgreementAmount: new FormControl({
17244
+ grossPaymentsVoluntaryAgreementAmount: new UntypedFormControl({
17272
17245
  value: businessIncome.grossPaymentsVoluntaryAgreementAmount,
17273
17246
  disabled: true
17274
17247
  }),
17275
- grossPaymentsLabourHireAmount: new FormControl({
17248
+ grossPaymentsLabourHireAmount: new UntypedFormControl({
17276
17249
  value: businessIncome.grossPaymentsLabourHireAmount,
17277
17250
  disabled: true
17278
17251
  }),
17279
- assessibleGovernmentPaymentsAmount: new FormControl({
17252
+ assessibleGovernmentPaymentsAmount: new UntypedFormControl({
17280
17253
  value: businessIncome.assessibleGovernmentPaymentsAmount,
17281
17254
  disabled: true
17282
17255
  }),
17283
- otherBusinessIncomeAmount: new FormControl({
17256
+ otherBusinessIncomeAmount: new UntypedFormControl({
17284
17257
  value: businessIncome.otherBusinessIncomeAmount,
17285
17258
  disabled: true
17286
17259
  }),
17287
- grossPaymentsNoAbsGivenTax: new FormControl({
17260
+ grossPaymentsNoAbsGivenTax: new UntypedFormControl({
17288
17261
  value: businessIncome.grossPaymentsNoAbsGivenTax,
17289
17262
  disabled: true
17290
17263
  }),
17291
- grossPaymentsVoluntaryAgreementTax: new FormControl({
17264
+ grossPaymentsVoluntaryAgreementTax: new UntypedFormControl({
17292
17265
  value: businessIncome.grossPaymentsVoluntaryAgreementTax,
17293
17266
  disabled: true
17294
17267
  }),
17295
- grossPaymentsLabourHireTax: new FormControl({
17268
+ grossPaymentsLabourHireTax: new UntypedFormControl({
17296
17269
  value: businessIncome.grossPaymentsLabourHireTax,
17297
17270
  disabled: true
17298
17271
  }),
@@ -17302,78 +17275,77 @@ class MyTaxBusinessIncomeForm extends AbstractForm {
17302
17275
 
17303
17276
  class MyTaxBusinessLossesForm extends AbstractForm {
17304
17277
  constructor(businessLosses) {
17305
- var _a, _b;
17306
17278
  super({
17307
- purchasesAndOtherCostsAmount: new FormControl({
17279
+ purchasesAndOtherCostsAmount: new UntypedFormControl({
17308
17280
  value: businessLosses.purchasesAndOtherCostsAmount,
17309
17281
  disabled: true
17310
17282
  }),
17311
- contractorsAndCommissionAmount: new FormControl({
17283
+ contractorsAndCommissionAmount: new UntypedFormControl({
17312
17284
  value: businessLosses.contractorsAndCommissionAmount,
17313
17285
  disabled: true
17314
17286
  }),
17315
- superannuationAmount: new FormControl({
17287
+ superannuationAmount: new UntypedFormControl({
17316
17288
  value: businessLosses.superannuationAmount,
17317
17289
  disabled: true
17318
17290
  }),
17319
- badDebtAmount: new FormControl({
17291
+ badDebtAmount: new UntypedFormControl({
17320
17292
  value: businessLosses.badDebtAmount,
17321
17293
  disabled: true
17322
17294
  }),
17323
- leaseExpensesCommercialAmount: new FormControl({
17295
+ leaseExpensesCommercialAmount: new UntypedFormControl({
17324
17296
  value: businessLosses.leaseExpensesCommercialAmount,
17325
17297
  disabled: true
17326
17298
  }),
17327
- rentExpensesCommercialPremisesAmount: new FormControl({
17299
+ rentExpensesCommercialPremisesAmount: new UntypedFormControl({
17328
17300
  value: businessLosses.rentExpensesCommercialPremisesAmount,
17329
17301
  disabled: true
17330
17302
  }),
17331
- interestExpensesAustraliaAmount: new FormControl({
17303
+ interestExpensesAustraliaAmount: new UntypedFormControl({
17332
17304
  value: businessLosses.interestExpensesAustraliaAmount,
17333
17305
  disabled: true
17334
17306
  }),
17335
- interestExpensesOverseasAmount: new FormControl({
17307
+ interestExpensesOverseasAmount: new UntypedFormControl({
17336
17308
  value: businessLosses.interestExpensesOverseasAmount,
17337
17309
  disabled: true
17338
17310
  }),
17339
- kmsTravelledExpensesAmount: new FormControl({
17311
+ kmsTravelledExpensesAmount: new UntypedFormControl({
17340
17312
  value: businessLosses.kmsTravelledExpensesAmount,
17341
17313
  disabled: true
17342
17314
  }),
17343
- logbookExpensesAmount: new FormControl({
17315
+ logbookExpensesAmount: new UntypedFormControl({
17344
17316
  value: businessLosses.logbookExpensesAmount,
17345
17317
  disabled: true
17346
17318
  }),
17347
- otherExpensesAmount: new FormControl({
17319
+ otherExpensesAmount: new UntypedFormControl({
17348
17320
  value: businessLosses.otherExpensesAmount,
17349
17321
  disabled: true
17350
17322
  }),
17351
- totalNonPrimaryProductionExpensesAmount: new FormControl({
17323
+ totalNonPrimaryProductionExpensesAmount: new UntypedFormControl({
17352
17324
  value: businessLosses.totalNonPrimaryProductionExpensesAmount,
17353
17325
  disabled: true
17354
17326
  }),
17355
17327
  // depreciations
17356
- depreciationExpensesAmount: new FormControl({
17328
+ depreciationExpensesAmount: new UntypedFormControl({
17357
17329
  value: businessLosses.depreciationExpensesAmount,
17358
17330
  disabled: true
17359
17331
  }),
17360
- deductionsForCertainAssetsAmount: new FormControl({
17332
+ deductionsForCertainAssetsAmount: new UntypedFormControl({
17361
17333
  value: businessLosses.deductionsForCertainAssetsAmount,
17362
17334
  disabled: true
17363
17335
  }),
17364
- deductionsForGeneralSmallBusinessPoolAmount: new FormControl({
17336
+ deductionsForGeneralSmallBusinessPoolAmount: new UntypedFormControl({
17365
17337
  value: businessLosses.deductionsForGeneralSmallBusinessPoolAmount,
17366
17338
  disabled: true
17367
17339
  }),
17368
- currentYearNetNonPrimaryIncomeOrLossesAmount: new FormControl({
17340
+ currentYearNetNonPrimaryIncomeOrLossesAmount: new UntypedFormControl({
17369
17341
  value: businessLosses.currentYearNetNonPrimaryIncomeOrLossesAmount,
17370
17342
  disabled: true
17371
17343
  }),
17372
- priorYearsNonPrimaryLossesAmount: new FormControl({
17344
+ priorYearsNonPrimaryLossesAmount: new UntypedFormControl({
17373
17345
  value: businessLosses.priorYearsNonPrimaryLossesAmount,
17374
17346
  disabled: true
17375
17347
  }),
17376
- lossType: new FormControl((_b = (_a = businessLosses.currentLoss) === null || _a === void 0 ? void 0 : _a.offsetRule) === null || _b === void 0 ? void 0 : _b.id, Validators.required),
17348
+ lossType: new UntypedFormControl(businessLosses.currentLoss?.offsetRule?.id, Validators.required),
17377
17349
  });
17378
17350
  }
17379
17351
  }
@@ -17391,18 +17363,18 @@ class MyTaxBusinessIncomeOrLossesForm extends AbstractForm {
17391
17363
  class MyTaxCgtForm extends AbstractForm {
17392
17364
  constructor(gainsOrLosses) {
17393
17365
  super({
17394
- hasCapitalGain: new FormControl(gainsOrLosses.hasCapitalGain),
17395
- hasExemption: new FormControl(gainsOrLosses.hasExemption),
17396
- exemptionType: new FormControl(null, conditionalValidator(() => this.get('hasExemption').value, Validators.required)),
17397
- netCapitalGain: new FormControl({
17366
+ hasCapitalGain: new UntypedFormControl(gainsOrLosses.hasCapitalGain),
17367
+ hasExemption: new UntypedFormControl(gainsOrLosses.hasExemption),
17368
+ exemptionType: new UntypedFormControl(null, conditionalValidator(() => this.get('hasExemption').value, Validators.required)),
17369
+ netCapitalGain: new UntypedFormControl({
17398
17370
  value: gainsOrLosses.netCapitalGain,
17399
17371
  disabled: true
17400
17372
  }),
17401
- grossCapitalGain: new FormControl({
17373
+ grossCapitalGain: new UntypedFormControl({
17402
17374
  value: gainsOrLosses.grossCapitalGain,
17403
17375
  disabled: true
17404
17376
  }),
17405
- netCapitalLoss: new FormControl({
17377
+ netCapitalLoss: new UntypedFormControl({
17406
17378
  value: gainsOrLosses.netCapitalLoss,
17407
17379
  disabled: true
17408
17380
  })
@@ -17412,80 +17384,79 @@ class MyTaxCgtForm extends AbstractForm {
17412
17384
 
17413
17385
  class MyTaxDeductionsForm extends AbstractForm {
17414
17386
  constructor(deductions) {
17415
- var _a;
17416
17387
  super({
17417
- vehicleClaimMethod: new FormControl({
17418
- value: (_a = deductions.vehicleClaimDetails) === null || _a === void 0 ? void 0 : _a.method,
17388
+ vehicleClaimMethod: new UntypedFormControl({
17389
+ value: deductions.vehicleClaimDetails?.method,
17419
17390
  disabled: true
17420
17391
  }),
17421
- vehicleExpensesTotalAmount: new FormControl({
17392
+ vehicleExpensesTotalAmount: new UntypedFormControl({
17422
17393
  value: deductions.vehicleExpensesTotalAmount,
17423
17394
  disabled: true
17424
17395
  }),
17425
- workRelatedTravelExpensesTotalAmount: new FormControl({
17396
+ workRelatedTravelExpensesTotalAmount: new UntypedFormControl({
17426
17397
  value: deductions.workRelatedTravelExpensesTotalAmount,
17427
17398
  disabled: true
17428
17399
  }),
17429
- workRelatedClothingType: new FormControl(deductions.workRelatedClothingType, conditionalValidator(() => !!deductions.workRelatedClothingTotalAmount, Validators.required)),
17430
- workRelatedClothingTotalAmount: new FormControl({
17400
+ workRelatedClothingType: new UntypedFormControl(deductions.workRelatedClothingType, conditionalValidator(() => !!deductions.workRelatedClothingTotalAmount, Validators.required)),
17401
+ workRelatedClothingTotalAmount: new UntypedFormControl({
17431
17402
  value: deductions.workRelatedClothingTotalAmount,
17432
17403
  disabled: true
17433
17404
  }),
17434
- workRelatedSelfEducationType: new FormControl(deductions.workRelatedSelfEducationType, conditionalValidator(() => !!deductions.workRelatedSelfEducationTotalAmount, Validators.required)),
17435
- workRelatedSelfEducationTotalAmount: new FormControl({
17405
+ workRelatedSelfEducationType: new UntypedFormControl(deductions.workRelatedSelfEducationType, conditionalValidator(() => !!deductions.workRelatedSelfEducationTotalAmount, Validators.required)),
17406
+ workRelatedSelfEducationTotalAmount: new UntypedFormControl({
17436
17407
  value: deductions.workRelatedSelfEducationTotalAmount,
17437
17408
  disabled: true
17438
17409
  }),
17439
- otherWorkRelatedSelfEducationTotalAmount: new FormControl({
17410
+ otherWorkRelatedSelfEducationTotalAmount: new UntypedFormControl({
17440
17411
  value: deductions.otherWorkRelatedExpensesTotalAmount,
17441
17412
  disabled: true
17442
17413
  }),
17443
- lowValuePoolDeductionTotalAmount: new FormControl({
17414
+ lowValuePoolDeductionTotalAmount: new UntypedFormControl({
17444
17415
  value: deductions.lowValuePoolDeductionTotalAmount,
17445
17416
  disabled: true
17446
17417
  }),
17447
- interestExpensesTotalAmount: new FormControl({
17418
+ interestExpensesTotalAmount: new UntypedFormControl({
17448
17419
  value: deductions.interestExpensesTotalAmount,
17449
17420
  disabled: true
17450
17421
  }),
17451
- dividendExpensesTotalAmount: new FormControl({
17422
+ dividendExpensesTotalAmount: new UntypedFormControl({
17452
17423
  value: deductions.dividendExpensesTotalAmount,
17453
17424
  disabled: true
17454
17425
  }),
17455
- donationsTotalAmount: new FormControl({
17426
+ donationsTotalAmount: new UntypedFormControl({
17456
17427
  value: deductions.donationsTotalAmount,
17457
17428
  disabled: true
17458
17429
  }),
17459
- interestsChargedByATOTotalAmount: new FormControl({
17430
+ interestsChargedByATOTotalAmount: new UntypedFormControl({
17460
17431
  value: deductions.interestsChargedByATOTotalAmount,
17461
17432
  disabled: true
17462
17433
  }),
17463
- litigationCostsTotalAmount: new FormControl({
17434
+ litigationCostsTotalAmount: new UntypedFormControl({
17464
17435
  value: deductions.litigationCostsTotalAmount,
17465
17436
  disabled: true
17466
17437
  }),
17467
- otherManagingCostsTotalAmount: new FormControl({
17438
+ otherManagingCostsTotalAmount: new UntypedFormControl({
17468
17439
  value: deductions.otherManagingCostsTotalAmount,
17469
17440
  disabled: true
17470
17441
  }),
17471
- fundName: new FormControl(''),
17472
- hasFund: new FormControl(true),
17473
- fundABN: new FormControl(''),
17474
- fundTFN: new FormControl(''),
17475
- fundAccountNumber: new FormControl(''),
17476
- personalSuperContributionsTotalAmount: new FormControl({
17442
+ fundName: new UntypedFormControl(''),
17443
+ hasFund: new UntypedFormControl(true),
17444
+ fundABN: new UntypedFormControl(''),
17445
+ fundTFN: new UntypedFormControl(''),
17446
+ fundAccountNumber: new UntypedFormControl(''),
17447
+ personalSuperContributionsTotalAmount: new UntypedFormControl({
17477
17448
  value: deductions.personalSuperContributionsTotalAmount,
17478
17449
  disabled: true
17479
17450
  }),
17480
- forestryManagedInvestmentSchemesDeductionsTotalAmount: new FormControl({
17451
+ forestryManagedInvestmentSchemesDeductionsTotalAmount: new UntypedFormControl({
17481
17452
  value: deductions.forestryManagedInvestmentSchemesDeductionsTotalAmount,
17482
17453
  disabled: true
17483
17454
  }),
17484
- otherDeductionsTotalAmount: new FormControl({
17455
+ otherDeductionsTotalAmount: new UntypedFormControl({
17485
17456
  value: deductions.otherDeductionsTotalAmount,
17486
17457
  disabled: true
17487
17458
  }),
17488
- depreciationAndCapitalAllowancesTotalAmount: new FormControl({
17459
+ depreciationAndCapitalAllowancesTotalAmount: new UntypedFormControl({
17489
17460
  value: deductions.depreciationAndCapitalAllowancesTotalAmount,
17490
17461
  disabled: true
17491
17462
  })
@@ -17496,20 +17467,20 @@ class MyTaxDeductionsForm extends AbstractForm {
17496
17467
  class MyTaxDividendsForm extends AbstractForm {
17497
17468
  constructor(dividends) {
17498
17469
  super({
17499
- dividendsUnfrankedAmount: new FormControl({
17470
+ dividendsUnfrankedAmount: new UntypedFormControl({
17500
17471
  value: dividends.dividendsUnfrankedAmount,
17501
17472
  disabled: true
17502
17473
  }),
17503
- dividendsFrankedAmount: new FormControl({
17474
+ dividendsFrankedAmount: new UntypedFormControl({
17504
17475
  value: dividends.dividendsFrankedAmount,
17505
17476
  disabled: true
17506
17477
  }),
17507
- dividendsFrankingCreditsAmount: new FormControl({
17478
+ dividendsFrankingCreditsAmount: new UntypedFormControl({
17508
17479
  value: dividends.dividendsFrankingCreditsAmount,
17509
17480
  disabled: true
17510
17481
  }),
17511
- dividendsTotalTax: new FormControl({ value: dividends.dividendsTotalTax, disabled: true }),
17512
- isForeignResident: new FormControl(false),
17482
+ dividendsTotalTax: new UntypedFormControl({ value: dividends.dividendsTotalTax, disabled: true }),
17483
+ isForeignResident: new UntypedFormControl(false),
17513
17484
  });
17514
17485
  }
17515
17486
  }
@@ -17517,84 +17488,84 @@ class MyTaxDividendsForm extends AbstractForm {
17517
17488
  class MyTaxIncomeStatementsForm extends AbstractForm {
17518
17489
  constructor(incomeStatements, user) {
17519
17490
  super({
17520
- occupation: new FormControl(user.clientDetails.occupation, [Validators.required, autocompleteValidator()]),
17521
- allowanceTotalAmount: new FormControl({
17491
+ occupation: new UntypedFormControl(user.clientDetails.occupation, [Validators.required, autocompleteValidator()]),
17492
+ allowanceTotalAmount: new UntypedFormControl({
17522
17493
  value: incomeStatements.allowanceTotalAmount,
17523
17494
  disabled: true
17524
17495
  }),
17525
- allowanceTotalTax: new FormControl({
17496
+ allowanceTotalTax: new UntypedFormControl({
17526
17497
  value: incomeStatements.allowanceTotalTax,
17527
17498
  disabled: true
17528
17499
  }),
17529
- lumpATransactionsTotalAmount: new FormControl({
17500
+ lumpATransactionsTotalAmount: new UntypedFormControl({
17530
17501
  value: incomeStatements.lumpATransactionsTotalAmount,
17531
17502
  disabled: true
17532
17503
  }),
17533
- lumpATransactionsTotalTax: new FormControl({
17504
+ lumpATransactionsTotalTax: new UntypedFormControl({
17534
17505
  value: incomeStatements.lumpATransactionsTotalTax,
17535
17506
  disabled: true
17536
17507
  }),
17537
- hasGenuineLumpATransactions: new FormControl({
17508
+ hasGenuineLumpATransactions: new UntypedFormControl({
17538
17509
  value: incomeStatements.hasGenuineLumpATransactions,
17539
17510
  disabled: true
17540
17511
  }),
17541
- hasOtherLumpATransactions: new FormControl({
17512
+ hasOtherLumpATransactions: new UntypedFormControl({
17542
17513
  value: incomeStatements.hasOtherLumpATransactions,
17543
17514
  disabled: true
17544
17515
  }),
17545
- lumpBTransactionsTotalAmount: new FormControl({
17516
+ lumpBTransactionsTotalAmount: new UntypedFormControl({
17546
17517
  value: incomeStatements.lumpBTransactionsTotalAmount,
17547
17518
  disabled: true
17548
17519
  }),
17549
- lumpBTransactionsTotalTax: new FormControl({
17520
+ lumpBTransactionsTotalTax: new UntypedFormControl({
17550
17521
  value: incomeStatements.lumpBTransactionsTotalTax,
17551
17522
  disabled: true
17552
17523
  }),
17553
- australianAllowancesAndPaymentsTotalAmount: new FormControl({
17524
+ australianAllowancesAndPaymentsTotalAmount: new UntypedFormControl({
17554
17525
  value: incomeStatements.australianAllowancesAndPaymentsTotalAmount,
17555
17526
  disabled: true
17556
17527
  }),
17557
- australianAllowancesAndPaymentsTotalTax: new FormControl({
17528
+ australianAllowancesAndPaymentsTotalTax: new UntypedFormControl({
17558
17529
  value: incomeStatements.australianAllowancesAndPaymentsTotalTax,
17559
17530
  disabled: true
17560
17531
  }),
17561
- australianPensionsAndAllowancesTotalAmount: new FormControl({
17532
+ australianPensionsAndAllowancesTotalAmount: new UntypedFormControl({
17562
17533
  value: incomeStatements.australianPensionsAndAllowancesTotalAmount,
17563
17534
  disabled: true
17564
17535
  }),
17565
- australianPensionsAndAllowancesTotalTax: new FormControl({
17536
+ australianPensionsAndAllowancesTotalTax: new UntypedFormControl({
17566
17537
  value: incomeStatements.australianPensionsAndAllowancesTotalTax,
17567
17538
  disabled: true
17568
17539
  }),
17569
- australianAnnuitiesSuperannuationIncomesTotalTax: new FormControl({
17540
+ australianAnnuitiesSuperannuationIncomesTotalTax: new UntypedFormControl({
17570
17541
  value: incomeStatements.australianAnnuitiesSuperannuationIncomesTotalTax,
17571
17542
  disabled: true
17572
17543
  }),
17573
- australianAnnuityPaymentsTaxed: new FormControl({
17544
+ australianAnnuityPaymentsTaxed: new UntypedFormControl({
17574
17545
  value: incomeStatements.australianAnnuityPaymentsTaxed,
17575
17546
  disabled: true
17576
17547
  }),
17577
- australianAnnuityPaymentsUntaxed: new FormControl({
17548
+ australianAnnuityPaymentsUntaxed: new UntypedFormControl({
17578
17549
  value: incomeStatements.australianAnnuityPaymentsUntaxed,
17579
17550
  disabled: true
17580
17551
  }),
17581
- assessableCappedDefinedBenefitTotalAmount: new FormControl({
17552
+ assessableCappedDefinedBenefitTotalAmount: new UntypedFormControl({
17582
17553
  value: incomeStatements.assessableCappedDefinedBenefitTotalAmount,
17583
17554
  disabled: true
17584
17555
  }),
17585
- superannuationIncomeStreamsTotalTaxed: new FormControl({
17556
+ superannuationIncomeStreamsTotalTaxed: new UntypedFormControl({
17586
17557
  value: incomeStatements.superannuationIncomeStreamsTotalTaxed,
17587
17558
  disabled: true
17588
17559
  }),
17589
- superannuationIncomeStreamsTotalUntaxed: new FormControl({
17560
+ superannuationIncomeStreamsTotalUntaxed: new UntypedFormControl({
17590
17561
  value: incomeStatements.superannuationIncomeStreamsTotalUntaxed,
17591
17562
  disabled: true
17592
17563
  }),
17593
- attributablePsiTransactionsTotalAmount: new FormControl({
17564
+ attributablePsiTransactionsTotalAmount: new UntypedFormControl({
17594
17565
  value: incomeStatements.attributablePsiTransactionsTotalAmount,
17595
17566
  disabled: true
17596
17567
  }),
17597
- attributablePsiTransactionsTotalTax: new FormControl({
17568
+ attributablePsiTransactionsTotalTax: new UntypedFormControl({
17598
17569
  value: incomeStatements.attributablePsiTransactionsTotalTax,
17599
17570
  disabled: true
17600
17571
  }),
@@ -17615,9 +17586,9 @@ class MyTaxIncomeTestsForm extends AbstractForm {
17615
17586
  class MyTaxInterestForm extends AbstractForm {
17616
17587
  constructor(interest) {
17617
17588
  super({
17618
- interestEarnedTotalAmount: new FormControl(interest.interestEarnedTotalAmount),
17619
- interestEarnedTotalTax: new FormControl(interest.interestEarnedTotalTax),
17620
- interestPaidTotalAmount: new FormControl(interest.interestPaidTotalAmount)
17589
+ interestEarnedTotalAmount: new UntypedFormControl(interest.interestEarnedTotalAmount),
17590
+ interestEarnedTotalTax: new UntypedFormControl(interest.interestEarnedTotalTax),
17591
+ interestPaidTotalAmount: new UntypedFormControl(interest.interestPaidTotalAmount)
17621
17592
  });
17622
17593
  }
17623
17594
  }
@@ -17625,8 +17596,8 @@ class MyTaxInterestForm extends AbstractForm {
17625
17596
  class MyTaxLossesForm extends AbstractForm {
17626
17597
  constructor(losses) {
17627
17598
  super({
17628
- businessLossDeferred: new FormControl(losses.businessLossDeferred),
17629
- businessLossApplied: new FormControl(losses.businessLossApplied)
17599
+ businessLossDeferred: new UntypedFormControl(losses.businessLossDeferred),
17600
+ businessLossApplied: new UntypedFormControl(losses.businessLossApplied)
17630
17601
  });
17631
17602
  }
17632
17603
  }
@@ -17634,11 +17605,11 @@ class MyTaxLossesForm extends AbstractForm {
17634
17605
  class MyTaxMedicareForm extends AbstractForm {
17635
17606
  constructor(user) {
17636
17607
  super({
17637
- hasDependants: new FormControl(!!user.clientDetails.dependants),
17638
- dependants: new FormControl(user.clientDetails.dependants, Validators.required),
17639
- privateHealthCare: new FormControl(user.clientDetails.privateHealthCare),
17640
- hasMedicareExemption: new FormControl(!!user.clientDetails.medicareExemption),
17641
- medicareExemption: new FormControl(user.clientDetails.medicareExemption, Validators.required),
17608
+ hasDependants: new UntypedFormControl(!!user.clientDetails.dependants),
17609
+ dependants: new UntypedFormControl(user.clientDetails.dependants, Validators.required),
17610
+ privateHealthCare: new UntypedFormControl(user.clientDetails.privateHealthCare),
17611
+ hasMedicareExemption: new UntypedFormControl(!!user.clientDetails.medicareExemption),
17612
+ medicareExemption: new UntypedFormControl(user.clientDetails.medicareExemption, Validators.required),
17642
17613
  });
17643
17614
  this.listenEvents();
17644
17615
  }
@@ -17674,37 +17645,37 @@ class MyTaxOffsetsForm extends AbstractForm {
17674
17645
  class MyTaxOtherIncomeForm extends AbstractForm {
17675
17646
  constructor(otherIncome) {
17676
17647
  super({
17677
- eligibleForReductionAmount: new FormControl(otherIncome.eligibleForReductionAmount),
17678
- notEligibleForReductionAmount: new FormControl(otherIncome.notEligibleForReductionAmount),
17679
- discountFromDeferredSchemeAmount: new FormControl(otherIncome.discountFromDeferredSchemeAmount),
17680
- totalAssessableDiscountAmount: new FormControl(otherIncome.totalAssessableDiscountAmount),
17681
- shareSchemesTotalTax: new FormControl(otherIncome.shareSchemesTotalTax),
17682
- bonusesTotalAmount: new FormControl({
17648
+ eligibleForReductionAmount: new UntypedFormControl(otherIncome.eligibleForReductionAmount),
17649
+ notEligibleForReductionAmount: new UntypedFormControl(otherIncome.notEligibleForReductionAmount),
17650
+ discountFromDeferredSchemeAmount: new UntypedFormControl(otherIncome.discountFromDeferredSchemeAmount),
17651
+ totalAssessableDiscountAmount: new UntypedFormControl(otherIncome.totalAssessableDiscountAmount),
17652
+ shareSchemesTotalTax: new UntypedFormControl(otherIncome.shareSchemesTotalTax),
17653
+ bonusesTotalAmount: new UntypedFormControl({
17683
17654
  value: otherIncome.bonusesTotalAmount,
17684
17655
  disabled: true
17685
17656
  }),
17686
- forestryManagedInvestmentSchemesIncomeTotalAmount: new FormControl({
17657
+ forestryManagedInvestmentSchemesIncomeTotalAmount: new UntypedFormControl({
17687
17658
  value: otherIncome.forestryManagedInvestmentSchemesIncomeTotalAmount,
17688
17659
  disabled: true
17689
17660
  }),
17690
- lumpSumPaymentsInArrearsTotalTax: new FormControl({
17661
+ lumpSumPaymentsInArrearsTotalTax: new UntypedFormControl({
17691
17662
  value: otherIncome.lumpSumPaymentsInArrearsTotalTax,
17692
17663
  disabled: true
17693
17664
  }),
17694
- specialProfessionIncomeTotalAmount: new FormControl({
17665
+ specialProfessionIncomeTotalAmount: new UntypedFormControl({
17695
17666
  value: otherIncome.specialProfessionIncomeTotalAmount,
17696
17667
  disabled: true
17697
17668
  }),
17698
- category1TotalIncome: new FormControl({
17669
+ category1TotalIncome: new UntypedFormControl({
17699
17670
  value: otherIncome.category1TotalIncome,
17700
17671
  disabled: true
17701
17672
  }),
17702
- hasLumpSumPaymentsInArrearsTransactions: new FormControl(!!otherIncome.lumpSumPaymentsInArrearsTransactions.length),
17703
- atoInterestPaidTotalAmount: new FormControl({
17673
+ hasLumpSumPaymentsInArrearsTransactions: new UntypedFormControl(!!otherIncome.lumpSumPaymentsInArrearsTransactions.length),
17674
+ atoInterestPaidTotalAmount: new UntypedFormControl({
17704
17675
  value: otherIncome.atoInterestPaidTotalAmount,
17705
17676
  disabled: true
17706
17677
  }),
17707
- gainOnSaleOfVehiclePreviouslyDepreciatedTotalAmount: new FormControl({
17678
+ gainOnSaleOfVehiclePreviouslyDepreciatedTotalAmount: new UntypedFormControl({
17708
17679
  value: otherIncome.gainOnSaleOfVehiclePreviouslyDepreciatedTotalAmount,
17709
17680
  disabled: true
17710
17681
  })
@@ -17715,31 +17686,31 @@ class MyTaxOtherIncomeForm extends AbstractForm {
17715
17686
  class MyTaxPartnershipsAndTrustsForm extends AbstractForm {
17716
17687
  constructor(partnershipsAndTrusts) {
17717
17688
  super({
17718
- partnershipsIncomeTotalAmount: new FormControl({
17689
+ partnershipsIncomeTotalAmount: new UntypedFormControl({
17719
17690
  value: partnershipsAndTrusts.partnershipsIncomeTotalAmount,
17720
17691
  disabled: true
17721
17692
  }),
17722
- partnershipsExpenseTotalAmount: new FormControl({
17693
+ partnershipsExpenseTotalAmount: new UntypedFormControl({
17723
17694
  value: partnershipsAndTrusts.partnershipsExpenseTotalAmount,
17724
17695
  disabled: true
17725
17696
  }),
17726
- trustsIncomeTotalAmount: new FormControl({
17697
+ trustsIncomeTotalAmount: new UntypedFormControl({
17727
17698
  value: partnershipsAndTrusts.trustsIncomeTotalAmount,
17728
17699
  disabled: true
17729
17700
  }),
17730
- trustsExpenseTotalAmount: new FormControl({
17701
+ trustsExpenseTotalAmount: new UntypedFormControl({
17731
17702
  value: partnershipsAndTrusts.trustsExpenseTotalAmount,
17732
17703
  disabled: true
17733
17704
  }),
17734
- trustsIncomeTotalTax: new FormControl({
17705
+ trustsIncomeTotalTax: new UntypedFormControl({
17735
17706
  value: partnershipsAndTrusts.trustsIncomeTotalTax,
17736
17707
  disabled: true
17737
17708
  }),
17738
- frankingCreditsTotal: new FormControl({
17709
+ frankingCreditsTotal: new UntypedFormControl({
17739
17710
  value: partnershipsAndTrusts.frankingCreditsTotal,
17740
17711
  disabled: true
17741
17712
  }),
17742
- taxOffsetNRASTotalAmount: new FormControl({
17713
+ taxOffsetNRASTotalAmount: new UntypedFormControl({
17743
17714
  value: partnershipsAndTrusts.taxOffsetNRASTotalAmount,
17744
17715
  disabled: true
17745
17716
  })
@@ -17750,10 +17721,10 @@ class MyTaxPartnershipsAndTrustsForm extends AbstractForm {
17750
17721
  class MyTaxRentForm extends AbstractForm {
17751
17722
  constructor(rent) {
17752
17723
  super({
17753
- grossRentAmount: new FormControl(rent.grossRentAmount),
17754
- interestDeductions: new FormControl(rent.interestDeductionsAmount),
17755
- capitalWorksDeductions: new FormControl(rent.capitalWorksDeductionsAmount),
17756
- otherRentalDeductionsAmount: new FormControl(rent.otherRentalDeductionsAmount)
17724
+ grossRentAmount: new UntypedFormControl(rent.grossRentAmount),
17725
+ interestDeductions: new UntypedFormControl(rent.interestDeductionsAmount),
17726
+ capitalWorksDeductions: new UntypedFormControl(rent.capitalWorksDeductionsAmount),
17727
+ otherRentalDeductionsAmount: new UntypedFormControl(rent.otherRentalDeductionsAmount)
17757
17728
  });
17758
17729
  }
17759
17730
  }
@@ -17764,7 +17735,7 @@ class MyTaxRentForm extends AbstractForm {
17764
17735
  class VehicleForm extends AbstractForm {
17765
17736
  constructor(vehicle = plainToClass(Vehicle, {})) {
17766
17737
  super({
17767
- name: new FormControl(vehicle.name, [Validators.required, Validators.maxLength(VehicleForm.maxNameLength)])
17738
+ name: new UntypedFormControl(vehicle.name, [Validators.required, Validators.maxLength(VehicleForm.maxNameLength)])
17768
17739
  }, vehicle);
17769
17740
  this.vehicle = vehicle;
17770
17741
  }
@@ -17781,11 +17752,11 @@ class VehicleClaimForm extends AbstractForm {
17781
17752
  */
17782
17753
  constructor(vehicleClaim, details) {
17783
17754
  super({
17784
- kilometers: new FormControl({
17755
+ kilometers: new UntypedFormControl({
17785
17756
  value: vehicleClaim.kilometers,
17786
17757
  disabled: !details.isManual || details.isLogbookMethod()
17787
17758
  }),
17788
- workUsage: new FormControl({
17759
+ workUsage: new UntypedFormControl({
17789
17760
  value: vehicleClaim.workUsage,
17790
17761
  disabled: !details.isManual || details.isKmsMethod()
17791
17762
  })
@@ -17804,8 +17775,8 @@ class VehicleClaimForm extends AbstractForm {
17804
17775
  class VehicleClaimDetailsForm extends AbstractForm {
17805
17776
  constructor(vehicleClaimDetails, isBestPeriodExist) {
17806
17777
  super({
17807
- method: new FormControl(vehicleClaimDetails.method, Validators.required),
17808
- isManual: new FormControl({
17778
+ method: new UntypedFormControl(vehicleClaimDetails.method, Validators.required),
17779
+ isManual: new UntypedFormControl({
17809
17780
  value: vehicleClaimDetails.isManual,
17810
17781
  disabled: !isBestPeriodExist
17811
17782
  }),
@@ -17827,12 +17798,12 @@ class VehicleLogbookForm extends AbstractForm {
17827
17798
  */
17828
17799
  constructor(logbook, logbooks) {
17829
17800
  super({
17830
- description: new FormControl(logbook.description, [Validators.required, Validators.maxLength(VehicleLogbookForm.maxDescriptionLength)]),
17831
- isPersonal: new FormControl(logbook.isPersonal),
17832
- date: new FormControl(logbook.date, Validators.required),
17833
- odometerStart: new FormControl(logbook.odometerStart, Validators.required),
17834
- odometerEnd: new FormControl(logbook.odometerEnd, Validators.required),
17835
- business: new FormControl(logbook.business)
17801
+ description: new UntypedFormControl(logbook.description, [Validators.required, Validators.maxLength(VehicleLogbookForm.maxDescriptionLength)]),
17802
+ isPersonal: new UntypedFormControl(logbook.isPersonal),
17803
+ date: new UntypedFormControl(logbook.date, Validators.required),
17804
+ odometerStart: new UntypedFormControl(logbook.odometerStart, Validators.required),
17805
+ odometerEnd: new UntypedFormControl(logbook.odometerEnd, Validators.required),
17806
+ business: new UntypedFormControl(logbook.business)
17836
17807
  }, logbook);
17837
17808
  this.logbook = logbook;
17838
17809
  this.logbooks = logbooks;
@@ -17890,21 +17861,20 @@ var FormValidationsEnum;
17890
17861
  */
17891
17862
  class TransactionBaseForm extends AbstractForm {
17892
17863
  constructor(transaction, registeredForGst, controls = {}) {
17893
- var _a;
17894
17864
  super(Object.assign({
17895
- chartAccounts: new FormControl(transaction.chartAccounts, [Validators.required, autocompleteValidator()]),
17896
- claimPercent: new FormControl({ value: transaction.claimPercent, disabled: true }, [Validators.required, Validators.min(0), Validators.max(100)]),
17897
- amount: new FormControl(transaction.amount, Validators.required),
17898
- amountWithGST: new FormControl(transaction.amountWithGst, Validators.required),
17899
- isGST: new FormControl({ value: transaction.isGST, disabled: !((_a = transaction.chartAccounts) === null || _a === void 0 ? void 0 : _a.isGST) || !registeredForGst }),
17900
- gstAmount: new FormControl({ value: transaction.gstAmount, disabled: true }, Validators.required),
17901
- date: new FormControl(transaction.date, [Validators.required]),
17902
- description: new FormControl(transaction.description, Validators.maxLength(FormValidationsEnum.TEXT_MAX_LENGTH)),
17865
+ chartAccounts: new UntypedFormControl(transaction.chartAccounts, [Validators.required, autocompleteValidator()]),
17866
+ claimPercent: new UntypedFormControl({ value: transaction.claimPercent, disabled: true }, [Validators.required, Validators.min(0), Validators.max(100)]),
17867
+ amount: new UntypedFormControl(transaction.amount, Validators.required),
17868
+ amountWithGST: new UntypedFormControl(transaction.amountWithGst, Validators.required),
17869
+ isGST: new UntypedFormControl({ value: transaction.isGST, disabled: !transaction.chartAccounts?.isGST || !registeredForGst }),
17870
+ gstAmount: new UntypedFormControl({ value: transaction.gstAmount, disabled: true }, Validators.required),
17871
+ date: new UntypedFormControl(transaction.date, [Validators.required]),
17872
+ description: new UntypedFormControl(transaction.description, Validators.maxLength(FormValidationsEnum.TEXT_MAX_LENGTH)),
17903
17873
  // @TODO Alex: refactor (TT-1996)
17904
- file: new FormControl(transaction['receipt'], [
17874
+ file: new UntypedFormControl(transaction['receipt'], [
17905
17875
  FileValidator.fileExtensions(DOCUMENT_FILE_TYPES.all), FileValidator.fileMaxSize(+FormValidationsEnum.FILE_MAX_SIZE)
17906
17876
  ]),
17907
- property: new FormControl({ value: transaction.property, disabled: transaction.chartAccounts }),
17877
+ property: new UntypedFormControl({ value: transaction.property, disabled: transaction.chartAccounts }),
17908
17878
  }, controls), transaction);
17909
17879
  this.registeredForGst = registeredForGst;
17910
17880
  this.watchChartAccounts();
@@ -17965,14 +17935,13 @@ class TransactionBaseForm extends AbstractForm {
17965
17935
  * can be adjusted only for property/sole expenses
17966
17936
  */
17967
17937
  updateClaimPercent(chartAccounts) {
17968
- var _a;
17969
17938
  if (chartAccounts.isClaimPercentEditable()) {
17970
17939
  this.get('claimPercent').enable();
17971
17940
  }
17972
17941
  // property claim (ownership% x shared%) for property expenses, taxable percent for others
17973
17942
  let claimPercent = chartAccounts.taxablePercent;
17974
17943
  if (chartAccounts.isPropertyExpense() && chartAccounts.id !== ChartAccountsListEnum.PLATFORM_FEES) {
17975
- claimPercent *= (_a = this.value.property) === null || _a === void 0 ? void 0 : _a.claimCoefficient;
17944
+ claimPercent *= this.value.property?.claimCoefficient;
17976
17945
  }
17977
17946
  this.get('claimPercent').setValue(claimPercent);
17978
17947
  }
@@ -17986,8 +17955,8 @@ var MessagesEnum;
17986
17955
  class TransactionForm extends TransactionBaseForm {
17987
17956
  constructor(transaction, registeredForGst, allocations, controls = {}) {
17988
17957
  super(transaction, registeredForGst, Object.assign(controls, {
17989
- transactions: new FormArray([]),
17990
- source: new FormControl(transaction.source || TransactionSourceEnum.BANK_TRANSACTION, Validators.required)
17958
+ transactions: new UntypedFormArray([]),
17959
+ source: new UntypedFormControl(transaction.source || TransactionSourceEnum.BANK_TRANSACTION, Validators.required)
17991
17960
  }));
17992
17961
  this.get('date').addValidators([currentFinYearValidator()]);
17993
17962
  // convert child transactions to controls
@@ -18009,10 +17978,10 @@ class TransactionForm extends TransactionBaseForm {
18009
17978
  }
18010
17979
  }
18011
17980
  addTransactionControl(transaction = plainToClass(Transaction, {})) {
18012
- const formGroup = new FormGroup({
18013
- id: new FormControl(transaction.id),
18014
- chartAccounts: new FormControl(transaction.chartAccounts, [Validators.required, autocompleteValidator()]),
18015
- amount: new FormControl(transaction.amount, [Validators.required]),
17981
+ const formGroup = new UntypedFormGroup({
17982
+ id: new UntypedFormControl(transaction.id),
17983
+ chartAccounts: new UntypedFormControl(transaction.chartAccounts, [Validators.required, autocompleteValidator()]),
17984
+ amount: new UntypedFormControl(transaction.amount, [Validators.required]),
18016
17985
  });
18017
17986
  this.get('transactions').push(formGroup);
18018
17987
  }
@@ -18024,18 +17993,15 @@ class TransactionForm extends TransactionBaseForm {
18024
17993
  * Adjustments inherit most of the fields from parent transaction
18025
17994
  */
18026
17995
  buildTransactions(transaction) {
18027
- return this.get('transactions').value.map((childTransaction) => {
18028
- var _a, _b, _c;
18029
- return Object.assign({
18030
- description: (_a = childTransaction.chartAccounts) === null || _a === void 0 ? void 0 : _a.name,
18031
- date: transaction.date,
18032
- claimPercent: (transaction.claimPercent * ((_b = childTransaction.chartAccounts) === null || _b === void 0 ? void 0 : _b.taxablePercent)) / 100,
18033
- source: TransactionSourceEnum.BANK_TRANSACTION,
18034
- type: ((_c = childTransaction.chartAccounts) === null || _c === void 0 ? void 0 : _c.isExpense()) ? TransactionTypeEnum.DEBIT : TransactionTypeEnum.CREDIT,
18035
- incomeSource: transaction.incomeSource,
18036
- property: transaction.property
18037
- }, this.model.transactions.find((transaction) => transaction.id === childTransaction['id']) || {}, childTransaction);
18038
- });
17996
+ return this.get('transactions').value.map((childTransaction) => Object.assign({
17997
+ description: childTransaction.chartAccounts?.name,
17998
+ date: transaction.date,
17999
+ claimPercent: (transaction.claimPercent * childTransaction.chartAccounts?.taxablePercent) / 100,
18000
+ source: TransactionSourceEnum.BANK_TRANSACTION,
18001
+ type: childTransaction.chartAccounts?.isExpense() ? TransactionTypeEnum.DEBIT : TransactionTypeEnum.CREDIT,
18002
+ incomeSource: transaction.incomeSource,
18003
+ property: transaction.property
18004
+ }, this.model.transactions.find((transaction) => transaction.id === childTransaction['id']) || {}, childTransaction));
18039
18005
  }
18040
18006
  submit(data = {}) {
18041
18007
  return super.submit(Object.assign(data, { transactions: this.buildTransactions(this.currentValue) }), true);
@@ -18082,22 +18048,21 @@ class WorkTransactionForm extends TransactionForm {
18082
18048
 
18083
18049
  class WorkIncomeForm extends WorkTransactionForm {
18084
18050
  constructor(transaction, registeredForGst, allocations) {
18085
- var _a;
18086
18051
  // for work income we need to show netAmount instead of amount (because some adjustments are included in amount)
18087
18052
  transaction.amount = transaction.netAmount;
18088
18053
  super(transaction, registeredForGst, allocations, {
18089
- tax: new FormControl({
18054
+ tax: new UntypedFormControl({
18090
18055
  value: transaction.tax,
18091
18056
  disabled: !transaction.chartAccounts || transaction.chartAccounts.isNRAS(),
18092
18057
  }, Validators.required),
18093
- incomeSource: new FormControl(transaction.incomeSource, [Validators.required, autocompleteValidator()]),
18058
+ incomeSource: new UntypedFormControl(transaction.incomeSource, [Validators.required, autocompleteValidator()]),
18094
18059
  });
18095
18060
  // forbid to edit some fields for allocated transaction
18096
18061
  if (allocations.length) {
18097
18062
  this.get('chartAccounts').disable();
18098
18063
  }
18099
18064
  // adjustments allowed only for salary
18100
- if (!((_a = transaction.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalary())) {
18065
+ if (!transaction.chartAccounts?.isSalary()) {
18101
18066
  this.get('transactions').disable();
18102
18067
  }
18103
18068
  // amount changes are not available for transactions with allocations or during allocate process
@@ -18153,7 +18118,7 @@ class WorkIncomeForm extends WorkTransactionForm {
18153
18118
  */
18154
18119
  getAmount() {
18155
18120
  return this.get('amount').value - new Collection(this.currentValue.transactions)
18156
- .filter((t) => { var _a; return (_a = t.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalaryIncluded(); })
18121
+ .filter((t) => t.chartAccounts?.isSalaryIncluded())
18157
18122
  .sumBy('amount');
18158
18123
  }
18159
18124
  submit(data = {}) {
@@ -18183,9 +18148,9 @@ class DepreciationForm extends TransactionBaseForm {
18183
18148
  constructor(depreciation, registeredForGst) {
18184
18149
  super(depreciation, registeredForGst);
18185
18150
  this.get('claimPercent').setValue(depreciation.currentYearForecast.claimPercent);
18186
- this.addControl('isCloseBalanceCorrect', new FormControl(true));
18187
- this.addControl('closeBalance', new FormControl({ value: depreciation.closeBalance || 0, disabled: true }, Validators.required));
18188
- this.addControl('financialYear', new FormControl(depreciation.financialYear || new FinancialYear().year));
18151
+ this.addControl('isCloseBalanceCorrect', new UntypedFormControl(true));
18152
+ this.addControl('closeBalance', new UntypedFormControl({ value: depreciation.closeBalance || 0, disabled: true }, Validators.required));
18153
+ this.addControl('financialYear', new UntypedFormControl(depreciation.financialYear || new FinancialYear().year));
18189
18154
  // forbid to change chartAccounts/claimPercent for existing depreciations
18190
18155
  if (depreciation.id) {
18191
18156
  this.get('chartAccounts').disable({ emitEvent: false });
@@ -18221,4 +18186,4 @@ class DepreciationForm extends TransactionBaseForm {
18221
18186
  */
18222
18187
 
18223
18188
  export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AlphabetColorsEnum, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertySaleTaxExemptionMetadataCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
18224
- //# sourceMappingURL=taxtank-core.js.map
18189
+ //# sourceMappingURL=taxtank-core.mjs.map