taxtank-core 0.33.2 → 0.33.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. package/common/src/db/enums/user/user-roles.enum.d.ts +1 -0
  2. package/common/src/services/mixpanel.service.d.ts +1 -0
  3. package/esm2022/common/src/common.module.mjs +7 -5
  4. package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +2 -1
  5. package/esm2022/common/src/interceptors/interceptors.module.mjs +5 -5
  6. package/esm2022/common/src/interceptors/jwt-interceptor.mjs +6 -6
  7. package/esm2022/common/src/services/auth/auth.service.mjs +6 -6
  8. package/esm2022/common/src/services/auth/jwt.service.mjs +4 -4
  9. package/esm2022/common/src/services/mixpanel.service.mjs +13 -7
  10. package/esm2022/public-api.mjs +2 -3
  11. package/esm2022/src/lib/collections/bank-transaction.collection.mjs +2 -2
  12. package/esm2022/src/lib/collections/chat/chat.collection.mjs +1 -19
  13. package/esm2022/src/lib/collections/client-movement.collection.mjs +5 -4
  14. package/esm2022/src/lib/collections/client.collection.mjs +1 -1
  15. package/esm2022/src/lib/collections/collection-dictionary.mjs +4 -1
  16. package/esm2022/src/lib/collections/collection.mjs +14 -3
  17. package/esm2022/src/lib/collections/firm/employee-invite.collection.mjs +10 -0
  18. package/esm2022/src/lib/collections/firm/employee.collection.mjs +18 -0
  19. package/esm2022/src/lib/collections/firm/index.mjs +3 -0
  20. package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +2 -2
  21. package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +2 -2
  22. package/esm2022/src/lib/collections/index.mjs +3 -2
  23. package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +11 -1
  24. package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +2 -2
  25. package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +2 -2
  26. package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +1 -1
  27. package/esm2022/src/lib/collections/tax-review.collection.mjs +1 -7
  28. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +4 -1
  29. package/esm2022/src/lib/collections/user/user.collection.mjs +4 -0
  30. package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +13 -1
  31. package/esm2022/src/lib/core.module.mjs +7 -6
  32. package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +2 -1
  33. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +2 -2
  34. package/esm2022/src/lib/db/Enums/firm/employee-invite-role.enum.mjs +6 -0
  35. package/esm2022/src/lib/db/Enums/firm/firm-type.enum.mjs +6 -0
  36. package/esm2022/src/lib/db/Enums/firm/index.mjs +3 -0
  37. package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +6 -5
  38. package/esm2022/src/lib/db/Enums/index.mjs +3 -1
  39. package/esm2022/src/lib/db/Enums/user/gender.enum.mjs +14 -0
  40. package/esm2022/src/lib/db/Enums/user/index.mjs +2 -0
  41. package/esm2022/src/lib/db/Json/chart-accounts/chart-accounts-value.json +59 -4
  42. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  43. package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +1 -1
  44. package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +1 -1
  45. package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
  46. package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +1 -1
  47. package/esm2022/src/lib/db/Models/firm/chat.mjs +1 -1
  48. package/esm2022/src/lib/db/Models/firm/client-invite.mjs +1 -1
  49. package/esm2022/src/lib/db/Models/firm/client-movement.mjs +1 -1
  50. package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +1 -1
  51. package/esm2022/src/lib/db/Models/firm/firm.mjs +1 -1
  52. package/esm2022/src/lib/db/Models/firm/message-document.mjs +1 -1
  53. package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +1 -1
  54. package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +1 -1
  55. package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +1 -1
  56. package/esm2022/src/lib/db/Models/property/property-forecast.mjs +1 -1
  57. package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +1 -1
  58. package/esm2022/src/lib/db/Models/sole/sole-business.mjs +3 -3
  59. package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +1 -1
  60. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +3 -4
  61. package/esm2022/src/lib/db/Models/user/employee-details.mjs +1 -1
  62. package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
  63. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +1 -1
  64. package/esm2022/src/lib/forms/abstract.form.mjs +9 -4
  65. package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
  66. package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +2 -2
  67. package/esm2022/src/lib/forms/chat/chat-filter.form.mjs +36 -0
  68. package/esm2022/src/lib/forms/chat/index.mjs +2 -0
  69. package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +1 -2
  70. package/esm2022/src/lib/forms/client/capital-loss.form.mjs +13 -0
  71. package/esm2022/src/lib/forms/client/index.mjs +2 -1
  72. package/esm2022/src/lib/forms/collection.form.mjs +29 -0
  73. package/esm2022/src/lib/forms/firm/client-invite-put.form.mjs +13 -0
  74. package/esm2022/src/lib/forms/firm/client-invite.form.mjs +18 -0
  75. package/esm2022/src/lib/forms/firm/client-movement.form.mjs +22 -0
  76. package/esm2022/src/lib/forms/firm/employee-details.form.mjs +21 -0
  77. package/esm2022/src/lib/forms/firm/employee-invite.form.mjs +24 -0
  78. package/esm2022/src/lib/forms/firm/firm-branch.form.mjs +13 -0
  79. package/esm2022/src/lib/forms/firm/firm-invite.form.mjs +18 -0
  80. package/esm2022/src/lib/forms/firm/index.mjs +8 -1
  81. package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +30 -4
  82. package/esm2022/src/lib/forms/index.mjs +4 -1
  83. package/esm2022/src/lib/forms/loan/loan.form.mjs +3 -7
  84. package/esm2022/src/lib/forms/register/register-client.form.mjs +9 -6
  85. package/esm2022/src/lib/forms/register/register-firm.form.mjs +4 -4
  86. package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +1 -1
  87. package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +1 -1
  88. package/esm2022/src/lib/forms/sole/bas-report.form.mjs +3 -2
  89. package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +4 -3
  90. package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +3 -2
  91. package/esm2022/src/lib/forms/tax-review/index.mjs +3 -0
  92. package/esm2022/src/lib/forms/tax-review/tax-review-filter-status.enum.mjs +6 -0
  93. package/esm2022/src/lib/forms/tax-review/tax-review-filter.form.mjs +49 -0
  94. package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +19 -9
  95. package/esm2022/src/lib/forms/transaction/index.mjs +2 -1
  96. package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +1 -1
  97. package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +35 -0
  98. package/esm2022/src/lib/forms/transaction/transaction.form.mjs +1 -1
  99. package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +2 -4
  100. package/esm2022/src/lib/forms/user/client-details.form.mjs +2 -2
  101. package/esm2022/src/lib/forms/user/user-invite.form.mjs +3 -2
  102. package/esm2022/src/lib/forms/user/user.form.mjs +11 -8
  103. package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +1 -1
  104. package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +1 -3
  105. package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +3 -4
  106. package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +5 -5
  107. package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +5 -5
  108. package/esm2022/src/lib/interceptors/corelogic-interceptor.mjs +6 -6
  109. package/esm2022/src/lib/interceptors/financial-year-interceptor.mjs +6 -6
  110. package/esm2022/src/lib/interceptors/interceptors.module.mjs +5 -5
  111. package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +5 -5
  112. package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +7 -6
  113. package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +6 -6
  114. package/esm2022/src/lib/models/bank/bank-connection.mjs +22 -1
  115. package/esm2022/src/lib/models/chat/chat.mjs +6 -2
  116. package/esm2022/src/lib/models/chat/message-document.mjs +4 -4
  117. package/esm2022/src/lib/models/client/annual-client-details.mjs +1 -1
  118. package/esm2022/src/lib/models/client/capital-loss.interface.mjs +2 -0
  119. package/esm2022/src/lib/models/client/capital-loss.mjs +15 -0
  120. package/esm2022/src/lib/models/client/client-details.mjs +27 -1
  121. package/esm2022/src/lib/models/client/client-invite.mjs +8 -5
  122. package/esm2022/src/lib/models/client/client-movement.mjs +8 -5
  123. package/esm2022/src/lib/models/client/index.mjs +3 -1
  124. package/esm2022/src/lib/models/depreciation/depreciation.mjs +4 -2
  125. package/esm2022/src/lib/models/employee/employee-details.mjs +8 -2
  126. package/esm2022/src/lib/models/employee/employee-invite.mjs +18 -2
  127. package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +22 -13
  128. package/esm2022/src/lib/models/event/app-event-type.enum.mjs +20 -21
  129. package/esm2022/src/lib/models/file/file.mjs +4 -1
  130. package/esm2022/src/lib/models/financial-year/financial-year.mjs +3 -3
  131. package/esm2022/src/lib/models/firm/firm-branch.interface.mjs +2 -0
  132. package/esm2022/src/lib/models/firm/firm-branch.mjs +22 -0
  133. package/esm2022/src/lib/models/firm/firm.mjs +2 -2
  134. package/esm2022/src/lib/models/firm/index.mjs +3 -0
  135. package/esm2022/src/lib/models/holding/holding.mjs +4 -4
  136. package/esm2022/src/lib/models/income-source/salary-forecast.mjs +1 -1
  137. package/esm2022/src/lib/models/income-source/sole-forecast.mjs +1 -1
  138. package/esm2022/src/lib/models/index.mjs +2 -1
  139. package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +11 -7
  140. package/esm2022/src/lib/models/property/property-forecast.mjs +1 -7
  141. package/esm2022/src/lib/models/property/property.mjs +6 -2
  142. package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +5 -1
  143. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +4 -4
  144. package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +2 -1
  145. package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +4 -9
  146. package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +1 -1
  147. package/esm2022/src/lib/models/sole/bas-report.mjs +4 -1
  148. package/esm2022/src/lib/models/sole/sole-business-loss.mjs +1 -1
  149. package/esm2022/src/lib/models/sole/sole-invoice.mjs +7 -6
  150. package/esm2022/src/lib/models/tax-review/tax-review.mjs +12 -2
  151. package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +3 -2
  152. package/esm2022/src/lib/models/transaction/transaction.mjs +1 -1
  153. package/esm2022/src/lib/models/user/user.mjs +8 -5
  154. package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +3 -3
  155. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +1 -1
  156. package/esm2022/src/lib/pipes/app-currency.pipe.mjs +4 -4
  157. package/esm2022/src/lib/pipes/safe-url.pipe.mjs +5 -5
  158. package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +9 -9
  159. package/esm2022/src/lib/services/asset/assets.service.mjs +6 -6
  160. package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +4 -4
  161. package/esm2022/src/lib/services/data.service.mjs +4 -4
  162. package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +4 -4
  163. package/esm2022/src/lib/services/event/sse.service.mjs +6 -6
  164. package/esm2022/src/lib/services/export/export-formatter.service.mjs +5 -5
  165. package/esm2022/src/lib/services/firm/current-firm-branch.service.mjs +26 -0
  166. package/esm2022/src/lib/services/firm/index.mjs +2 -0
  167. package/esm2022/src/lib/services/header-title/header-title.service.mjs +5 -5
  168. package/esm2022/src/lib/services/http/address/address.service.mjs +6 -6
  169. package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +6 -6
  170. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +5 -2
  171. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +11 -7
  172. package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +6 -6
  173. package/esm2022/src/lib/services/http/bank/bank.service.mjs +4 -4
  174. package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +4 -4
  175. package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +22 -6
  176. package/esm2022/src/lib/services/http/budget/budget.service.mjs +4 -4
  177. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +4 -4
  178. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +4 -4
  179. package/esm2022/src/lib/services/http/chat/chat.service.mjs +10 -10
  180. package/esm2022/src/lib/services/http/chat/message-document.service.mjs +6 -6
  181. package/esm2022/src/lib/services/http/chat/message.service.mjs +10 -6
  182. package/esm2022/src/lib/services/http/client/annual-client-details.service.mjs +23 -0
  183. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.mjs +7 -0
  184. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss.service.mjs +23 -0
  185. package/esm2022/src/lib/services/http/client/capital-loss/index.mjs +3 -0
  186. package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +4 -4
  187. package/esm2022/src/lib/services/http/client/index.mjs +3 -2
  188. package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +6 -6
  189. package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +4 -4
  190. package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +6 -6
  191. package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +4 -4
  192. package/esm2022/src/lib/services/http/document/document.service.mjs +4 -4
  193. package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +6 -6
  194. package/esm2022/src/lib/services/http/file/file.service.mjs +4 -4
  195. package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +2 -2
  196. package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +9 -12
  197. package/esm2022/src/lib/services/http/firm/client-movement/client-movement-messages.enum.mjs +8 -0
  198. package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +8 -7
  199. package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +2 -1
  200. package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +2 -1
  201. package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +14 -8
  202. package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +9 -9
  203. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.mjs +9 -0
  204. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch.service.mjs +23 -0
  205. package/esm2022/src/lib/services/http/firm/firm-branch/index.mjs +3 -0
  206. package/esm2022/src/lib/services/http/firm/firm.service.mjs +7 -7
  207. package/esm2022/src/lib/services/http/firm/index.mjs +2 -1
  208. package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +6 -6
  209. package/esm2022/src/lib/services/http/google/google.service.mjs +6 -6
  210. package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +4 -4
  211. package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +4 -4
  212. package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +4 -4
  213. package/esm2022/src/lib/services/http/holding/holding.service.mjs +7 -7
  214. package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +6 -6
  215. package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +8 -8
  216. package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +6 -6
  217. package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +9 -8
  218. package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +6 -6
  219. package/esm2022/src/lib/services/http/loan/loan.service.mjs +6 -6
  220. package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +6 -6
  221. package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +4 -4
  222. package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +4 -4
  223. package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +4 -4
  224. package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +4 -4
  225. package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +4 -4
  226. package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +6 -6
  227. package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +6 -6
  228. package/esm2022/src/lib/services/http/property/property.service.mjs +7 -6
  229. package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +6 -6
  230. package/esm2022/src/lib/services/http/rest/rest.service.mjs +12 -7
  231. package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +6 -6
  232. package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +4 -4
  233. package/esm2022/src/lib/services/http/sole/bas-report/bas-report-messages.enum.mjs +8 -0
  234. package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +4 -4
  235. package/esm2022/src/lib/services/http/sole/bas-report/index.mjs +3 -0
  236. package/esm2022/src/lib/services/http/sole/index.mjs +2 -2
  237. package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +10 -14
  238. package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +4 -4
  239. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +4 -4
  240. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +8 -9
  241. package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +4 -4
  242. package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +6 -6
  243. package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +6 -6
  244. package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +6 -6
  245. package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +4 -4
  246. package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +4 -4
  247. package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +6 -6
  248. package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +4 -4
  249. package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +4 -4
  250. package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +6 -6
  251. package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +6 -6
  252. package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +6 -6
  253. package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +6 -6
  254. package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +4 -4
  255. package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +6 -6
  256. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +6 -6
  257. package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +6 -6
  258. package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +4 -4
  259. package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +4 -4
  260. package/esm2022/src/lib/services/http/user/user.service.mjs +6 -6
  261. package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +4 -4
  262. package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +6 -6
  263. package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +19 -8
  264. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +6 -5
  265. package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +4 -4
  266. package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +6 -6
  267. package/esm2022/src/lib/services/index.mjs +2 -1
  268. package/esm2022/src/lib/services/intercom/intercom.service.mjs +6 -6
  269. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +5 -5
  270. package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +5 -5
  271. package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +5 -5
  272. package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +5 -5
  273. package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +5 -5
  274. package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +4 -4
  275. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +5 -5
  276. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +4 -4
  277. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +4 -4
  278. package/esm2022/src/lib/services/preloader/preloader.service.mjs +5 -5
  279. package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +6 -6
  280. package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +6 -6
  281. package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +4 -4
  282. package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +17 -12
  283. package/esm2022/src/lib/services/toast/toast.service.mjs +4 -4
  284. package/esm2022/src/lib/services/user/user-switcher.service.mjs +4 -4
  285. package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +4 -4
  286. package/esm2022/src/lib/validators/date-range.validator.mjs +1 -1
  287. package/esm2022/src/lib/validators/fields-sum.validator.mjs +1 -1
  288. package/esm2022/src/lib/validators/greater-than.validator.mjs +1 -1
  289. package/esm2022/src/lib/validators/index.mjs +3 -1
  290. package/esm2022/src/lib/validators/match-sum.validator.mjs +16 -0
  291. package/esm2022/src/lib/validators/string/alpha-space.validator.mjs +10 -0
  292. package/esm2022/src/lib/validators/unique-email.validator.mjs +5 -5
  293. package/fesm2022/taxtank-core-common.mjs +36 -27
  294. package/fesm2022/taxtank-core-common.mjs.map +1 -1
  295. package/fesm2022/taxtank-core.mjs +1545 -870
  296. package/fesm2022/taxtank-core.mjs.map +1 -1
  297. package/package.json +1 -1
  298. package/public-api.d.ts +1 -2
  299. package/src/lib/collections/bank-transaction.collection.d.ts +3 -2
  300. package/src/lib/collections/chat/chat.collection.d.ts +1 -5
  301. package/src/lib/collections/client-movement.collection.d.ts +2 -2
  302. package/src/lib/collections/client.collection.d.ts +1 -1
  303. package/src/lib/collections/collection-dictionary.d.ts +1 -0
  304. package/src/lib/collections/collection.d.ts +5 -1
  305. package/src/lib/collections/firm/employee-invite.collection.d.ts +5 -0
  306. package/src/lib/collections/firm/employee.collection.d.ts +6 -0
  307. package/src/lib/collections/firm/index.d.ts +2 -0
  308. package/src/lib/collections/income-source/income-source.collection.d.ts +1 -1
  309. package/src/lib/collections/index.d.ts +2 -1
  310. package/src/lib/collections/property/property-valuation.collection.d.ts +4 -0
  311. package/src/lib/collections/report/property/property-report-item-depreciation.collection.d.ts +2 -2
  312. package/src/lib/collections/report/property/property-report-item-transaction.collection.d.ts +3 -3
  313. package/src/lib/collections/report/property/property-report-item.collection.d.ts +1 -1
  314. package/src/lib/collections/tax-review.collection.d.ts +0 -4
  315. package/src/lib/collections/transaction/transaction.collection.d.ts +1 -0
  316. package/src/lib/collections/user/user.collection.d.ts +4 -0
  317. package/src/lib/collections/vehicle/vehicle-logbook.collection.d.ts +6 -0
  318. package/src/lib/core.module.d.ts +2 -1
  319. package/src/lib/db/Enums/bank/bank-connection-status.enum.d.ts +1 -0
  320. package/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.d.ts +1 -1
  321. package/src/lib/db/Enums/firm/employee-invite-role.enum.d.ts +4 -0
  322. package/src/lib/db/Enums/firm/index.d.ts +2 -0
  323. package/src/lib/db/Enums/holding/holding-type-exchange-list.enum.d.ts +5 -4
  324. package/src/lib/db/Enums/index.d.ts +2 -0
  325. package/src/lib/db/Enums/user/gender.enum.d.ts +12 -0
  326. package/src/lib/db/Enums/user/index.d.ts +1 -0
  327. package/src/lib/db/Models/bank/bank-connection.d.ts +1 -0
  328. package/src/lib/db/Models/client/annual-client-details.d.ts +0 -1
  329. package/src/lib/db/Models/client/client-details.d.ts +1 -0
  330. package/src/lib/db/Models/firm/accountant/tax-review.d.ts +2 -0
  331. package/src/lib/db/Models/firm/chat.d.ts +2 -0
  332. package/src/lib/db/Models/firm/client-invite.d.ts +5 -2
  333. package/src/lib/db/Models/firm/client-movement.d.ts +2 -2
  334. package/src/lib/db/Models/firm/employee-invite.d.ts +4 -2
  335. package/src/lib/db/Models/firm/firm.d.ts +1 -1
  336. package/src/lib/db/Models/firm/message-document.d.ts +2 -6
  337. package/src/lib/db/Models/incomeSource/income-source-forecast.d.ts +2 -1
  338. package/src/lib/db/Models/incomeSource/income-source.d.ts +1 -1
  339. package/src/lib/db/Models/incomeSource/salary-forecast.d.ts +1 -0
  340. package/src/lib/db/Models/property/property-forecast.d.ts +1 -0
  341. package/src/lib/db/Models/sole/sole-business-loss.d.ts +1 -0
  342. package/src/lib/db/Models/sole/sole-business.d.ts +2 -2
  343. package/src/lib/db/Models/sole/sole-forecast.d.ts +1 -0
  344. package/src/lib/db/Models/user/employee-details.d.ts +2 -0
  345. package/src/lib/db/Models/user/user.d.ts +2 -0
  346. package/src/lib/db/Models/vehicle/vehicle-claim-details.d.ts +1 -1
  347. package/src/lib/forms/abstract.form.d.ts +14 -7
  348. package/src/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts +1 -1
  349. package/src/lib/forms/chat/chat-filter.form.d.ts +18 -0
  350. package/src/lib/forms/chat/index.d.ts +1 -0
  351. package/src/lib/forms/client/capital-loss.form.d.ts +6 -0
  352. package/src/lib/forms/client/index.d.ts +1 -0
  353. package/src/lib/forms/collection.form.d.ts +14 -0
  354. package/src/lib/forms/firm/client-invite-put.form.d.ts +11 -0
  355. package/src/lib/forms/firm/client-invite.form.d.ts +15 -0
  356. package/src/lib/forms/firm/client-movement.form.d.ts +14 -0
  357. package/src/lib/forms/firm/employee-details.form.d.ts +14 -0
  358. package/src/lib/forms/firm/employee-invite.form.d.ts +17 -0
  359. package/src/lib/forms/firm/firm-branch.form.d.ts +5 -0
  360. package/src/lib/forms/firm/firm-invite.form.d.ts +15 -0
  361. package/src/lib/forms/firm/index.d.ts +7 -0
  362. package/src/lib/forms/holding/holding-reinvest.form.d.ts +7 -0
  363. package/src/lib/forms/index.d.ts +3 -0
  364. package/src/lib/forms/loan/loan.form.d.ts +2 -2
  365. package/src/lib/forms/register/register-client.form.d.ts +1 -1
  366. package/src/lib/forms/register/register-firm.form.d.ts +2 -2
  367. package/src/lib/forms/report/my-tax/my-tax-deductions.form.d.ts +1 -1
  368. package/src/lib/forms/report/my-tax/my-tax-rent.form.d.ts +1 -1
  369. package/src/lib/forms/tax-review/index.d.ts +2 -0
  370. package/src/lib/forms/tax-review/tax-review-filter-status.enum.d.ts +4 -0
  371. package/src/lib/forms/tax-review/tax-review-filter.form.d.ts +21 -0
  372. package/src/lib/forms/transaction/holding/holding-income.form.d.ts +8 -1
  373. package/src/lib/forms/transaction/index.d.ts +1 -0
  374. package/src/lib/forms/transaction/transaction-base-filter.form.d.ts +19 -0
  375. package/src/lib/forms/transaction/work/work-transaction.form.d.ts +1 -1
  376. package/src/lib/forms/user/user.form.d.ts +15 -3
  377. package/src/lib/forms/vehicle/vehicle-claim.form.d.ts +0 -2
  378. package/src/lib/models/bank/bank-connection.d.ts +8 -0
  379. package/src/lib/models/chat/chat.d.ts +3 -1
  380. package/src/lib/models/chat/message-document.d.ts +4 -4
  381. package/src/lib/models/client/annual-client-details.d.ts +0 -1
  382. package/src/lib/models/client/capital-loss.d.ts +9 -0
  383. package/src/lib/models/client/capital-loss.interface.d.ts +6 -0
  384. package/src/lib/models/client/client-details.d.ts +8 -0
  385. package/src/lib/models/client/client-invite.d.ts +3 -2
  386. package/src/lib/models/client/client-movement.d.ts +3 -2
  387. package/src/lib/models/client/index.d.ts +2 -0
  388. package/src/lib/models/employee/employee-details.d.ts +3 -1
  389. package/src/lib/models/employee/employee-invite.d.ts +7 -1
  390. package/src/lib/models/event/app-event-type.enum.d.ts +19 -20
  391. package/src/lib/models/file/file.d.ts +1 -0
  392. package/src/lib/models/firm/firm-branch.d.ts +12 -0
  393. package/src/lib/models/firm/firm-branch.interface.d.ts +7 -0
  394. package/src/lib/models/firm/index.d.ts +2 -0
  395. package/src/lib/models/holding/holding.d.ts +0 -1
  396. package/src/lib/models/index.d.ts +1 -0
  397. package/src/lib/models/property/property-equity-chart-data.d.ts +7 -7
  398. package/src/lib/models/property/property-forecast.d.ts +0 -4
  399. package/src/lib/models/registration-invite/registration-invite.d.ts +2 -0
  400. package/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +1 -1
  401. package/src/lib/models/report/property/property-report-item-transaction.d.ts +3 -3
  402. package/src/lib/models/tax-review/tax-review.d.ts +5 -1
  403. package/src/lib/models/user/user.d.ts +2 -3
  404. package/src/lib/models/vehicle/vehicle-claim-details.d.ts +1 -1
  405. package/src/lib/services/firm/current-firm-branch.service.d.ts +11 -0
  406. package/src/lib/services/firm/index.d.ts +1 -0
  407. package/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +5 -2
  408. package/src/lib/services/http/bank/basiq/basiq.service.d.ts +8 -0
  409. package/src/lib/services/http/chat/message.service.d.ts +2 -0
  410. package/src/lib/services/http/client/{capital-gain/annual-client-details.service.d.ts → annual-client-details.service.d.ts} +4 -4
  411. package/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.d.ts +5 -0
  412. package/src/lib/services/http/client/capital-loss/capital-loss.service.d.ts +12 -0
  413. package/src/lib/services/http/client/capital-loss/index.d.ts +2 -0
  414. package/src/lib/services/http/client/index.d.ts +2 -1
  415. package/src/lib/services/http/firm/client-invite/client-invite-messages.enum.d.ts +1 -1
  416. package/src/lib/services/http/firm/client-invite/client-invite.service.d.ts +0 -1
  417. package/src/lib/services/http/firm/client-movement/client-movement-messages.enum.d.ts +6 -0
  418. package/src/lib/services/http/firm/client-movement/client-movement.service.d.ts +2 -1
  419. package/src/lib/services/http/firm/client-movement/index.d.ts +1 -0
  420. package/src/lib/services/http/firm/employee/employee-messages.enum.d.ts +2 -1
  421. package/src/lib/services/http/firm/employee/employee.service.d.ts +4 -3
  422. package/src/lib/services/http/firm/employee-invite/employee-invite.service.d.ts +3 -3
  423. package/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.d.ts +7 -0
  424. package/src/lib/services/http/firm/firm-branch/firm-branch.service.d.ts +13 -0
  425. package/src/lib/services/http/firm/firm-branch/index.d.ts +2 -0
  426. package/src/lib/services/http/firm/firm.service.d.ts +2 -2
  427. package/src/lib/services/http/firm/index.d.ts +1 -0
  428. package/src/lib/services/http/holding/holding-sale.service.d.ts +1 -2
  429. package/src/lib/services/http/property/property-valuation/property-valuation.service.d.ts +1 -2
  430. package/src/lib/services/http/rest/rest.service.d.ts +5 -0
  431. package/src/lib/services/http/sole/bas-report/bas-report-messages.enum.d.ts +6 -0
  432. package/src/lib/services/http/sole/bas-report/index.d.ts +2 -0
  433. package/src/lib/services/http/sole/index.d.ts +1 -1
  434. package/src/lib/services/http/sole/sole-business/sole-business.service.d.ts +7 -5
  435. package/src/lib/services/http/vehicle/vehicle-claim.service.d.ts +5 -1
  436. package/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.d.ts +2 -1
  437. package/src/lib/services/index.d.ts +1 -0
  438. package/src/lib/services/report/property/property-transaction-report.service.d.ts +4 -7
  439. package/src/lib/validators/index.d.ts +2 -0
  440. package/src/lib/validators/match-sum.validator.d.ts +6 -0
  441. package/src/lib/validators/string/alpha-space.validator.d.ts +5 -0
  442. package/esm2022/src/lib/collections/employee.collection.mjs +0 -11
  443. package/esm2022/src/lib/db/Enums/firm-type.enum.mjs +0 -6
  444. package/esm2022/src/lib/functions/tax-review-filter-predicate.mjs +0 -10
  445. package/esm2022/src/lib/services/http/client/capital-gain/annual-client-details.service.mjs +0 -23
  446. package/esm2022/src/lib/validators/transactions-meta-fields.validator.mjs +0 -33
  447. package/src/lib/collections/employee.collection.d.ts +0 -6
  448. package/src/lib/functions/tax-review-filter-predicate.d.ts +0 -7
  449. package/src/lib/validators/transactions-meta-fields.validator.d.ts +0 -5
  450. /package/src/lib/db/Enums/{firm-type.enum.d.ts → firm/firm-type.enum.d.ts} +0 -0
@@ -246,4 +246,4 @@ __decorate([
246
246
  __decorate([
247
247
  Transform(({ value }) => +value)
248
248
  ], Transaction.prototype, "tax", void 0);
249
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3RyYW5zYWN0aW9uL3RyYW5zYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsV0FBVyxJQUFJLGVBQWUsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHNDQUFzQyxDQUFDO0FBQzNFLE9BQU8sRUFDc0IscUJBQXFCLEVBQ2hELHFCQUFxQixFQUNyQiw4QkFBOEIsRUFBRSxrQ0FBa0MsR0FDbkUsTUFBTSxnQkFBZ0Is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dCB0aGVyZSBhcmUgZXhjZXB0aW9ucyBsaWtlIGFkdmFuY2UgKG5lZ2F0aXZlIG9yIHBvc2l0aXZlIGFtb3VudClcbiAgICovXG4gIGlnbm9yZVNpZ24oKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuICEodGhpcy5jaGFydEFjY291bnRzPy5pZCBpbiBDaGFydEFjY291bnRzS2VlcFNpZ24pO1xuICB9XG5cbiAgc2V0UGFyZW50KHRyYW5zYWN0aW9uOiBUcmFuc2FjdGlvbik6IHZvaWQge1xuICAgIHRoaXMuZGVzY3JpcHRpb24gPSB0aGlzLmNoYXJ0QWNjb3VudHMubmFtZTtcbiAgICB0aGlzLmRhdGUgPSB0cmFuc2FjdGlvbi5kYXRlO1xuICAgIHRoaXMuY2xhaW1QZXJjZW50ID0gdHJhbnNhY3Rpb24uY2xhaW1QZXJjZW50O1xuICAgIHRoaXMucHJvcGVydHkgPSB0cmFuc2FjdGlvbi5wcm9wZXJ0eTtcbiAgICB0aGlzLmxvYW4gPSB0cmFuc2FjdGlvbi5sb2FuO1xuICAgIHRoaXMuaW5jb21lU291cmNlID0gdHJhbnNhY3Rpb24uaW5jb21lU291cmNlO1xuICAgIHRoaXMuYnVzaW5lc3MgPSB0cmFuc2FjdGlvbi5idXNpbmVzcztcbiAgfVxufVxuIl19
@@ -94,11 +94,11 @@ export class User extends BaseUser {
94
94
  isFirmOwner() {
95
95
  return this.roles.includes(UserRolesEnum.FIRM_OWNER);
96
96
  }
97
- /**
98
- * Check if current user is firm manager
99
- */
97
+ isTopManager() {
98
+ return this.roles.includes(UserRolesEnum.FIRM_TOP_MANAGER) || this.roles.includes(UserRolesEnum.FIRM_OWNER);
99
+ }
100
100
  isManager() {
101
- return this.roles.includes(UserRolesEnum.FIRM_MANAGER) || this.roles.includes(UserRolesEnum.FIRM_OWNER);
101
+ return this.roles.includes(UserRolesEnum.FIRM_MANAGER) || this.roles.includes(UserRolesEnum.FIRM_TOP_MANAGER) || this.roles.includes(UserRolesEnum.FIRM_OWNER);
102
102
  }
103
103
  /**
104
104
  * check if user has property tank access
@@ -137,6 +137,9 @@ export class User extends BaseUser {
137
137
  get financialYears() {
138
138
  return range(Math.min(FinancialYear.toFinYear(this.createdAt) - 1, 2022), FinancialYear.toFinYear(new Date()) + 1);
139
139
  }
140
+ get firmBranchNames() {
141
+ return this.employeeDetails.firmBranchNames;
142
+ }
140
143
  }
141
144
  __decorate([
142
145
  Type(() => ServiceSubscription)
@@ -168,4 +171,4 @@ __decorate([
168
171
  __decorate([
169
172
  Type(() => AccountSetupItem)
170
173
  ], User.prototype, "blacklistSetupItems", void 0);
171
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvdXNlci91c2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsSUFBSSxJQUFJLFFBQVEsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzdELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNqRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDcEQsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFlBQVksQ0FBQztBQUNyQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDekMsT0FBTyxFQUFFLEtBQ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Byb2R1Y3Qucm9sZS5pbmNsdWRlcyhyb2xlVHlwZSkpO1xuICB9XG5cbiAgaXNDdXJyZW50RmluYW5jaWFsWWVhcigpOiBib29sZWFuIHtcbiAgICByZXR1cm4gbmV3IEZpbmFuY2lhbFllYXIobmV3IERhdGUoKSkueWVhciA9PT0gdGhpcy5maW5hbmNpYWxZZWFyO1xuICB9XG5cbiAgLyoqXG4gICAqIGZpbmFuY2lhbCB5ZWFycyBhdmFpbGFibGUgaW4gdGhlIGFwcCBmb3IgdXNlclxuICAgKiBzdGFydHMgZnJvbSAyMDIyIGZvciBuZXcgdXNlcnMgYW5kIHJlZ2lzdGVyZWRZZWFyIC0gMSBmb3Igb2xkIHVzZXJzXG4gICAqL1xuICBnZXQgZmluYW5jaWFsWWVhcnMoKTogbnVtYmVyIHtcbiAgICByZXR1cm4gcmFuZ2UoXG4gICAgICBNYXRoLm1pbihGaW5hbmNpYWxZZWFyLnRvRmluWWVhcih0aGlzLmNyZWF0ZWRBdCkgLSAxLCAyMDIyKSxcbiAgICAgIEZpbmFuY2lhbFllYXIudG9GaW5ZZWFyKG5ldyBEYXRlKCkpICsgMVxuICAgICk7XG4gIH1cblxuICBnZXQgZmlybUJyYW5jaE5hbWVzKCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRoaXMuZW1wbG95ZWVEZXRhaWxzLmZpcm1CcmFuY2hOYW1lcztcbiAgfVxufVxuXG4iXX0=
@@ -1,9 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { VehicleClaimDetails as VehicleClaimDetailsBase } from '../../db/Models/vehicle/vehicle-claim-details';
3
3
  import { Type } from 'class-transformer';
4
- import { User } from '../user/user';
4
+ import { User } from '../user';
5
5
  import { VehicleClaimDetailsMethodEnum } from '../../db/Enums/vehicle-claim-details-method.enum';
6
- import { FinancialYear } from '../financial-year/financial-year';
6
+ import { FinancialYear } from '../financial-year';
7
7
  export class VehicleClaimDetails extends VehicleClaimDetailsBase {
8
8
  constructor() {
9
9
  super(...arguments);
@@ -24,4 +24,4 @@ export class VehicleClaimDetails extends VehicleClaimDetailsBase {
24
24
  __decorate([
25
25
  Type(() => User)
26
26
  ], VehicleClaimDetails.prototype, "user", void 0);
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1jbGFpbS1kZXRhaWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy92ZWhpY2xlL3ZlaGljbGUtY2xhaW0tZGV0YWlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLG1CQUFtQixJQUFJLHVCQUF1QixFQUFFLE1BQU0sK0NBQStDLENBQUM7QUFDL0csT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3pDLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDcEMsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sa0RBQWtELENBQUM7QUFDakcsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBRWpFLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSx1QkFBdUI7SUFBaEU7O1FBQ0U7O1dBRUc7UUFDSCxhQUFRLEdBQUcsSUFBSSxDQUFDO1FBQ2hCLFdBQU0sR0FBa0MsNkJBQTZCLENBQUMsR0FBRyxDQUFDO1FBQzFFLGtCQUFhLEdBQVcsSUFBSSxhQUFhLEVBQUUsQ0FBQyxJQUFJLENBQUM7SUFZbkQsQ0FBQztJQVBDLGVBQWU7UUFDYixPQUFPLElBQUksQ0FBQyxNQUFNLEtBQUssNkJBQTZCLENBQUMsT0FBTyxDQUFDO0lBQy9ELENBQUM7SUFFRCxXQUFXO1FBQ1QsT0FBTyxJQUFJLENBQU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WV0aG9kRW51bS5LTVM7XG4gIGZpbmFuY2lhbFllYXI6IG51bWJlciA9IG5ldyBGaW5hbmNpYWxZZWFyKCkueWVhcjtcblxuICBAVHlwZSgoKSA9PiBVc2VyKVxuICB1c2VyOiBVc2VyO1xuXG4gIGlzTG9nYm9va01ldGhvZCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5tZXRob2QgPT09IFZlaGljbGVDbGFpbURldGFpbHNNZXRob2RFbnVtLkxPR0JPT0s7XG4gIH1cblxuICBpc0ttc01ldGhvZCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5tZXRob2QgPT09IFZlaGljbGVDbGFpbURldGFpbHNNZXRob2RFbnVtLktNUztcbiAgfVxufVxuIl19
@@ -57,4 +57,4 @@ __decorate([
57
57
  __decorate([
58
58
  Type(() => SoleBusiness)
59
59
  ], VehicleClaim.prototype, "business", void 0);
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1jbGFpbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvdmVoaWNsZS92ZWhpY2xlLWNsYWltLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsWUFBWSxJQUFJLGdCQUFnQixFQUFFLE1BQU0sdUNBQXVDLENBQUM7QUFDekYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzdELE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUV6QyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3ZDLE9BQU8s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AppCurrencyPipe extends CurrencyPipe {
10
10
  digitsInfo = digitsInfo ?? '1.0-' + (value.toString().match(/[1-9]/)?.index || 2);
11
11
  return super.transform(value, currencyCode, display, digitsInfo, locale);
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
14
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppCurrencyPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
14
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AppCurrencyPipe, isStandalone: true, name: "appCurrency" }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AppCurrencyPipe, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppCurrencyPipe, decorators: [{
17
17
  type: Pipe,
18
18
  args: [{
19
19
  name: 'appCurrency',
20
20
  standalone: true,
21
21
  }]
22
22
  }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWN1cnJlbmN5LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvcGlwZXMvYXBwLWN1cnJlbmN5LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUF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HJpbmcsIGxvY2FsZT86IHN0cmluZyk6IGFueSB7XG4gICAgLy8gMiBub24temVybyBkZWNpbWFscyBieSBkZWZhdWx0ICg0My40MzM0NCA9PiA0My40MywgMC4wMDAwMTE0MjAxNTUzMTUxID0+ICQwLjAwMDAxMSlcbiAgICBkaWdpdHNJbmZvID0gZGlnaXRzSW5mbyA/PyAnMS4wLScgKyAodmFsdWUudG9TdHJpbmcoKS5tYXRjaCgvWzEtOV0vKT8uaW5kZXggfHwgMik7XG5cbiAgICByZXR1cm4gc3VwZXIudHJhbnNmb3JtKHZhbHVlLCBjdXJyZW5jeUNvZGUsIGRpc3BsYXksIGRpZ2l0c0luZm8sIGxvY2FsZSk7XG4gIH1cbn1cbiJdfQ==
@@ -8,14 +8,14 @@ export class SafeUrlPipe {
8
8
  transform(url) {
9
9
  return this.sanitizer.bypassSecurityTrustResourceUrl(url);
10
10
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
12
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
12
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SafeUrlPipe, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SafeUrlPipe, decorators: [{
15
15
  type: Pipe,
16
16
  args: [{
17
17
  name: 'safeUrl',
18
18
  standalone: true,
19
19
  }]
20
- }], ctorParameters: () => [{ type: i1.DomSanitizer }] });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FmZS11cmwucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9waXBlcy9zYWZlLXVybC5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOzs7QUFPcEQsTUFBTSxPQUFPLFdBQVc7SUFDdEIsWUFBb0IsU0FBdUI7UUFBdkIsY0FBUyxHQUFULFNBQVMsQ0FBYztJQUFHLENBQUM7SUFFL0MsU0FBUyxDQUFDLEdBQVc7UUFDbkIsT0FBTyxJQUFJLENBQUMsU0FBUyxDQUFDLDhCQUE4QixDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQzVELENBQUM7OEdBTFUsV0FBVzs0R0FBWCxXQUFXOzsyRkFBWCxXQUFXO2tCQUp2QixJQUFJO21CQUFDO29CQUNKLElBQUksRUFBRSxTQUFTO29CQUNmLFVBQVUsRUFBRSxJQUFJO2lCQUNqQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IERvbVNhbml0aXplciwgU2FmZVJlc291cmNlVXJsIH0gZnJvbSAnQGFuZ3VsYXIvcGxhdGZvcm0tYnJvd3Nlcic7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ3NhZmVVcmwnLFxuICBzdGFuZGFsb25lOiB0cnVlLFxufSlcbmV4cG9ydCBjbGFzcyBTYWZlVXJsUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHNhbml0aXplcjogRG9tU2FuaXRpemVyKSB7fVxuXG4gIHRyYW5zZm9ybSh1cmw6IHN0cmluZyk6IFNhZmVSZXNvdXJjZVVybCB7XG4gICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RSZXNvdXJjZVVybCh1cmwpO1xuICB9XG59XG4iXX0=
20
+ }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FmZS11cmwucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9waXBlcy9zYWZlLXVybC5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOzs7QUFPcEQsTUFBTSxPQUFPLFdBQVc7SUFDdEIsWUFBb0IsU0FBdUI7UUFBdkIsY0FBUyxHQUFULFNBQVMsQ0FBYztJQUFHLENBQUM7SUFFL0MsU0FBUyxDQUFDLEdBQVc7UUFDbkIsT0FBTyxJQUFJLENBQUMsU0FBUyxDQUFDLDhCQUE4QixDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQzVELENBQUM7K0dBTFUsV0FBVzs2R0FBWCxXQUFXOzs0RkFBWCxXQUFXO2tCQUp2QixJQUFJO21CQUFDO29CQUNKLElBQUksRUFBRSxTQUFTO29CQUNmLFVBQVUsRUFBRSxJQUFJO2lCQUNqQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IERvbVNhbml0aXplciwgU2FmZVJlc291cmNlVXJsIH0gZnJvbSAnQGFuZ3VsYXIvcGxhdGZvcm0tYnJvd3Nlcic7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ3NhZmVVcmwnLFxuICBzdGFuZGFsb25lOiB0cnVlLFxufSlcbmV4cG9ydCBjbGFzcyBTYWZlVXJsUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHNhbml0aXplcjogRG9tU2FuaXRpemVyKSB7fVxuXG4gIHRyYW5zZm9ybSh1cmw6IHN0cmluZyk6IFNhZmVSZXNvdXJjZVVybCB7XG4gICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RSZXNvdXJjZVVybCh1cmwpO1xuICB9XG59XG4iXX0=
@@ -59,13 +59,13 @@ export class AccountSetupService {
59
59
  }
60
60
  // Sole business item is completed when user added at least one business
61
61
  if (this.user.hasRoles(UserRolesEnum.SOLE_TANK)) {
62
- batch.push(this.setItemStatus(this.items.findBy('isSoleBusiness', true), this.soleBusinessService.get()));
62
+ batch.push(this.setItemStatus(this.items.findBy('isSoleBusiness', true), this.soleBusinessService.getArray()));
63
63
  }
64
64
  // holdings item is completed when user added at least one holding
65
65
  if (this.user.hasRoles(UserRolesEnum.HOLDING_TANK)) {
66
66
  batch.push(this.setItemStatus(this.items.findBy('isHoldings', true), this.holdingService.getArray()));
67
67
  }
68
- if (this.user.hasRoles([UserRolesEnum.WORK_TANK, UserRolesEnum.PROPERTY_TANK, UserRolesEnum.SOLE_TANK, UserRolesEnum.HOLDING_TANK])) {
68
+ if (this.user.hasRoles([UserRolesEnum.WORK_TANK, UserRolesEnum.PROPERTY_TANK, UserRolesEnum.SOLE_TANK])) {
69
69
  // Bank feeds item is completed when user added at least one bank account (basiq or manual)
70
70
  batch.push(this.getBankFeedsItem());
71
71
  // Logbook item is completed when user has at least one vehicle claim with any method (kms or logbook)
@@ -100,9 +100,9 @@ export class AccountSetupService {
100
100
  }))));
101
101
  batch.push(
102
102
  // Invite clients item is completed when firm has clients or firm has invited clients.
103
- this.setItemStatus(this.items.findBy('isInviteClients', true), combineLatest([this.clientMovementService.getActive(), this.clientInviteService.getFirmInvites()])
103
+ this.setItemStatus(this.items.findBy('isInviteClients', true), combineLatest([this.clientMovementService.getActive(), this.clientInviteService.get()])
104
104
  .pipe(map(([movements, invites]) => [...movements.toArray(), ...invites.toArray()]))));
105
- return combineLatest(batch).pipe(map((items) => new AccountSetupItemCollection(items)));
105
+ return combineLatest(batch).pipe(map((items) => new AccountSetupItemCollection(items).sortBy('id', 'asc')));
106
106
  }
107
107
  /**
108
108
  * Check and update isCompleted flag for passed item
@@ -156,13 +156,13 @@ export class AccountSetupService {
156
156
  }
157
157
  return this.setItemStatus(this.items.findBy('isBankFeeds', true), this.bankAccountsService.getArray());
158
158
  }
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AccountSetupService, deps: [{ token: i1.SetupItemService }, { token: i2.PropertyService }, { token: i2.IncomeSourceService }, { token: i2.BankAccountService }, { token: i2.TransactionAllocationService }, { token: i2.VehicleClaimService }, { token: i2.TransactionService }, { token: i2.SoleBusinessService }, { token: i2.HoldingService }, { token: i2.UserService }, { token: i2.ClientMovementService }, { token: i2.ClientInviteService }, { token: i2.EmployeeService }, { token: i2.EmployeeInviteService }, { token: i2.FirmService }], target: i0.ɵɵFactoryTarget.Injectable }); }
160
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AccountSetupService, providedIn: 'root' }); }
159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccountSetupService, deps: [{ token: i1.SetupItemService }, { token: i2.PropertyService }, { token: i2.IncomeSourceService }, { token: i2.BankAccountService }, { token: i2.TransactionAllocationService }, { token: i2.VehicleClaimService }, { token: i2.TransactionService }, { token: i2.SoleBusinessService }, { token: i2.HoldingService }, { token: i2.UserService }, { token: i2.ClientMovementService }, { token: i2.ClientInviteService }, { token: i2.EmployeeService }, { token: i2.EmployeeInviteService }, { token: i2.FirmService }], target: i0.ɵɵFactoryTarget.Injectable }); }
160
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccountSetupService, providedIn: 'root' }); }
161
161
  }
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AccountSetupService, decorators: [{
162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccountSetupService, decorators: [{
163
163
  type: Injectable,
164
164
  args: [{
165
165
  providedIn: 'root'
166
166
  }]
167
- }], ctorParameters: () => [{ type: i1.SetupItemService }, { type: i2.PropertyService }, { type: i2.IncomeSourceService }, { type: i2.BankAccountService }, { type: i2.TransactionAllocationService }, { type: i2.VehicleClaimService }, { type: i2.TransactionService }, { type: i2.SoleBusinessService }, { type: i2.HoldingService }, { type: i2.UserService }, { type: i2.ClientMovementService }, { type: i2.ClientInviteService }, { type: i2.EmployeeService }, { type: i2.EmployeeInviteService }, { type: i2.FirmService }] });
168
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1zZXR1cC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2FjY291bnQtc2V0dXAvYWNjb3VudC1zZXR1cC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFtQ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2JzZXJ2YWJsZTxBY2NvdW50U2V0dXBJdGVtPiB7XG4gICAgY29uc3QgYmFua0ZlZWRzUm9sZXMgPSBbVXNlclJvbGVzRW51bS5QUk9QRVJUWV9UQU5LLCBVc2VyUm9sZXNFbnVtLldPUktfVEFOSywgVXNlclJvbGVzRW51bS5TT0xFX1RBTktdO1xuXG4gICAgaWYgKCFpbnRlcnNlY3Rpb24oYmFua0ZlZWRzUm9sZXMsIHRoaXMudXNlci5yb2xlcykubGVuZ3RoKSB7XG4gICAgICByZXR1cm4gb2YobnVsbCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHRoaXMuc2V0SXRlbVN0YXR1cyhcbiAgICAgIHRoaXMuaXRlbXMuZmluZEJ5KCdpc0JhbmtGZWVkcycsIHRydWUpLFxuICAgICAgdGhpcy5iYW5rQWNjb3VudHNTZXJ2aWNlLmdldEFycmF5KClcbiAgICApO1xuICB9XG59XG4iXX0=
167
+ }], ctorParameters: function () { return [{ type: i1.SetupItemService }, { type: i2.PropertyService }, { type: i2.IncomeSourceService }, { type: i2.BankAccountService }, { type: i2.TransactionAllocationService }, { type: i2.VehicleClaimService }, { type: i2.TransactionService }, { type: i2.SoleBusinessService }, { type: i2.HoldingService }, { type: i2.UserService }, { type: i2.ClientMovementService }, { type: i2.ClientInviteService }, { type: i2.EmployeeService }, { type: i2.EmployeeInviteService }, { type: i2.FirmService }]; } });
168
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1zZXR1cC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2FjY291bnQtc2V0dXAvYWNjb3VudC1zZXR1cC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQU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sZTxBY2NvdW50U2V0dXBJdGVtPiB7XG4gICAgY29uc3QgYmFua0ZlZWRzUm9sZXMgPSBbVXNlclJvbGVzRW51bS5QUk9QRVJUWV9UQU5LLCBVc2VyUm9sZXNFbnVtLldPUktfVEFOSywgVXNlclJvbGVzRW51bS5TT0xFX1RBTktdO1xuXG4gICAgaWYgKCFpbnRlcnNlY3Rpb24oYmFua0ZlZWRzUm9sZXMsIHRoaXMudXNlci5yb2xlcykubGVuZ3RoKSB7XG4gICAgICByZXR1cm4gb2YobnVsbCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHRoaXMuc2V0SXRlbVN0YXR1cyhcbiAgICAgIHRoaXMuaXRlbXMuZmluZEJ5KCdpc0JhbmtGZWVkcycsIHRydWUpLFxuICAgICAgdGhpcy5iYW5rQWNjb3VudHNTZXJ2aWNlLmdldEFycmF5KClcbiAgICApO1xuICB9XG59XG4iXX0=
@@ -36,16 +36,16 @@ export class AssetsService {
36
36
  delete(entityId, asset) {
37
37
  return this.http.delete(`${this.environment.apiV2}/${asset.entityType}/${entityId}/${asset.type}/${asset.id}`);
38
38
  }
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: i2.UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
40
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AssetsService, providedIn: 'root' }); }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetsService, deps: [{ token: i1.HttpClient }, { token: i2.UserSwitcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
40
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetsService, providedIn: 'root' }); }
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AssetsService, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetsService, decorators: [{
43
43
  type: Injectable,
44
44
  args: [{
45
45
  providedIn: 'root'
46
46
  }]
47
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.UserSwitcherService }, { type: undefined, decorators: [{
47
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.UserSwitcherService }, { type: undefined, decorators: [{
48
48
  type: Inject,
49
49
  args: ['environment']
50
- }] }] });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXRzLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvYXNzZXQvYXNzZXRzLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7QUFNbkQ7O0dBRUc7QUFJSCxNQUFNLE9BQU8sYUFBYTtJQUl4QixZQUNVLElBQWdCLEVBQ2hCLG1CQUF3QyxFQUNqQixXQUFnQjtRQUZ2QyxTQUFJLEdBQUosSUFBSSxDQUFZO1FBQ2hCLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBcUI7UUFDakIsZ0JBQVcsR0FBWCxXQUFXLENBQUs7UUFFL0MsSUFBSSxDQUFDLGtCQUFrQixHQUFHLElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxHQUFHLEVBQUUsQ0FBQztJQUMzRCxDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsT0FBTyxDQUFDLEtBQWE7UUFDbkIsT0FBTyxJQUFJL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0oJ3Rva2VuJyl9JHt0aGlzLmltcGVyc29uYXRlZENsaWVudCA/IGAmX3N3aXRjaF91c2VyPSR7dGhpcy5pbXBlcnNvbmF0ZWRDbGllbnR9YCA6ICcnfWA7XG4gIH1cblxuICAvLyBAVG9kbyByZWZhY3RvciB0byBldmVudCBkaXNwYXRjaGVyXG4gIC8qKlxuICAgKiBEZWxldGUgYXNzZXRcbiAgICogQHBhcmFtIGVudGl0eUlkOiBpZCBvZiBhc3NldCBtYWluIGVudGl0eSAocHJvcGVydHksIGZvbGRlciwgdHJhbnNhY3Rpb24sIGUudC5jLilcbiAgICogQHBhcmFtIGFzc2V0IHdoaWNoIHNob3VsZCBiZSBkZWxldGVkXG4gICAqL1xuICBkZWxldGUoZW50aXR5SWQ6IG51bWJlciwgYXNzZXQ6IElBc3NldCk6IGFueSB7XG4gICAgcmV0dXJuIHRoaXMuaHR0cC5kZWxldGUoYCR7dGhpcy5lbnZpcm9ubWVudC5hcGlWMn0vJHthc3NldC5lbnRpdHlUeXBlfS8ke2VudGl0eUlkfS8ke2Fzc2V0LnR5cGV9LyR7YXNzZXQuaWR9YCk7XG4gIH1cbn1cbiJdfQ==
@@ -20,13 +20,13 @@ export class BankAccountCalculationService {
20
20
  getNetPosition(bankAccounts, bankTransactions, allocations) {
21
21
  return bankAccounts.currentBalance - this.getTaxTankBalance(bankAccounts.getLoanAccounts(), bankTransactions, allocations);
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BankAccountCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BankAccountCalculationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BankAccountCalculationService, providedIn: 'root' }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BankAccountCalculationService, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BankAccountCalculationService, decorators: [{
27
27
  type: Injectable,
28
28
  args: [{
29
29
  providedIn: 'root'
30
30
  }]
31
31
  }] });
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1hY2NvdW50LWNhbGN1bGF0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvYmFuay9iYW5rLWFjY291bnQtY2FsY3VsYXRpb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxxQkFBcUIsRUFBOEQsTUFBTSxtQkFBbUIsQ0FBQztBQUN0SCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sY0FBYyxDQUFDOztBQUszQyxNQUFNLE9BQU8sNkJBQTZCO0lBQ3hDOztPQUVHO0lBQ0gsaUJBQWlCLENBQ2YsWUFBaUQsRUFDakQsZ0JBQTJDLEVBQzNDLFdBQTRDO1FBRTVDLDZEQUE2RDtRQUM3RCxNQUFNLHFCQUFxQixHQUEwQixZQUFZLFlBQVksV0FBVyxDQUFDLENBQUM7WUFDeEYsSUFBSSxxQkFBcUIsQ0FBQyxDQUFDLFlBQVksQ0FBQyxDQUFDLENBQUMsQ0FBQztZQUMzQyxZQUFZL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aW9uczogVHJhbnNhY3Rpb25BbGxvY2F0aW9uQ29sbGVjdGlvblxuICApOiBudW1iZXIge1xuICAgIHJldHVybiBiYW5rQWNjb3VudHMuY3VycmVudEJhbGFuY2UgLSB0aGlzLmdldFRheFRhbmtCYWxhbmNlKGJhbmtBY2NvdW50cy5nZXRMb2FuQWNjb3VudHMoKSwgYmFua1RyYW5zYWN0aW9ucywgYWxsb2NhdGlvbnMpO1xuICB9XG59XG4iXX0=
@@ -32,13 +32,13 @@ export class DataService {
32
32
  setCache(data) {
33
33
  this.cache = this.createCollectionInstance(this.collectionClass, data.map((item) => this.createModelInstance(item)));
34
34
  }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
36
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DataService, providedIn: 'root' }); }
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
36
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataService, providedIn: 'root' }); }
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DataService, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataService, decorators: [{
39
39
  type: Injectable,
40
40
  args: [{
41
41
  providedIn: 'root'
42
42
  }]
43
43
  }] });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjd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