taxtank-core 0.33.10 → 0.33.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (959) hide show
  1. package/README.md +5 -5
  2. package/esm2022/common/public-api.mjs +1 -1
  3. package/esm2022/common/src/common.module.mjs +1 -1
  4. package/esm2022/common/src/db/enums/index.mjs +1 -1
  5. package/esm2022/common/src/db/enums/user/index.mjs +1 -1
  6. package/esm2022/common/src/db/enums/user/user-roles.enum.mjs +1 -1
  7. package/esm2022/common/src/db/index.mjs +1 -1
  8. package/esm2022/common/src/interceptors/jwt-interceptor.mjs +1 -1
  9. package/esm2022/common/src/services/auth/auth-messages.enum.mjs +1 -1
  10. package/esm2022/common/src/services/auth/auth-tokens.interface.mjs +1 -1
  11. package/esm2022/common/src/services/auth/auth.service.mjs +1 -1
  12. package/esm2022/common/src/services/auth/index.mjs +1 -1
  13. package/esm2022/common/src/services/auth/jwt-decoded.interface.mjs +1 -1
  14. package/esm2022/common/src/services/auth/jwt.service.mjs +1 -1
  15. package/esm2022/common/src/services/index.mjs +1 -1
  16. package/esm2022/common/src/services/mixpanel.service.mjs +1 -1
  17. package/esm2022/public-api.mjs +1 -1
  18. package/esm2022/src/lib/collections/account-setup-item.collection.mjs +1 -1
  19. package/esm2022/src/lib/collections/allocation-group.collection.mjs +1 -1
  20. package/esm2022/src/lib/collections/allocation-rule.collection.mjs +1 -1
  21. package/esm2022/src/lib/collections/asset-sale.collection.mjs +1 -1
  22. package/esm2022/src/lib/collections/bank-account.collection.mjs +1 -1
  23. package/esm2022/src/lib/collections/bank-transaction.collection.mjs +1 -1
  24. package/esm2022/src/lib/collections/chart-accounts.collection.mjs +1 -1
  25. package/esm2022/src/lib/collections/chat/chat.collection.mjs +1 -1
  26. package/esm2022/src/lib/collections/chat/index.mjs +1 -1
  27. package/esm2022/src/lib/collections/chat/message-document.collection.mjs +1 -1
  28. package/esm2022/src/lib/collections/chat/message.collection.mjs +1 -1
  29. package/esm2022/src/lib/collections/client-invite.collection.mjs +1 -1
  30. package/esm2022/src/lib/collections/client-movement.collection.mjs +1 -1
  31. package/esm2022/src/lib/collections/client-portfolio-report.collection.mjs +1 -1
  32. package/esm2022/src/lib/collections/client.collection.mjs +1 -1
  33. package/esm2022/src/lib/collections/collection-dictionary.mjs +1 -1
  34. package/esm2022/src/lib/collections/depreciation-forecast.collection.mjs +1 -1
  35. package/esm2022/src/lib/collections/depreciation.collection.mjs +1 -1
  36. package/esm2022/src/lib/collections/exportable.collection.mjs +1 -1
  37. package/esm2022/src/lib/collections/firm/employee-invite.collection.mjs +1 -1
  38. package/esm2022/src/lib/collections/firm/employee.collection.mjs +1 -1
  39. package/esm2022/src/lib/collections/firm/index.mjs +1 -1
  40. package/esm2022/src/lib/collections/holding/holding-sale.collection.mjs +1 -1
  41. package/esm2022/src/lib/collections/holding/holding-type.collection.mjs +1 -1
  42. package/esm2022/src/lib/collections/holding/holding.collection.mjs +1 -1
  43. package/esm2022/src/lib/collections/holding/index.mjs +1 -1
  44. package/esm2022/src/lib/collections/income-source/income-source-forecast.collection.mjs +1 -1
  45. package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +1 -1
  46. package/esm2022/src/lib/collections/income-source/index.mjs +1 -1
  47. package/esm2022/src/lib/collections/index.mjs +1 -1
  48. package/esm2022/src/lib/collections/loan/index.mjs +1 -1
  49. package/esm2022/src/lib/collections/loan/loan-payment.collection.mjs +1 -1
  50. package/esm2022/src/lib/collections/loan/loan.collection.mjs +1 -1
  51. package/esm2022/src/lib/collections/property/index.mjs +1 -1
  52. package/esm2022/src/lib/collections/property/property-category-movement.collection.mjs +1 -1
  53. package/esm2022/src/lib/collections/property/property-sale/index.mjs +1 -1
  54. package/esm2022/src/lib/collections/property/property-sale/property-sale-tax-exemption-meta-field.collection.mjs +1 -1
  55. package/esm2022/src/lib/collections/property/property-sale/property-sale.collection.mjs +1 -1
  56. package/esm2022/src/lib/collections/property/property-share.collection.mjs +1 -1
  57. package/esm2022/src/lib/collections/property/property-valuation.collection.mjs +1 -1
  58. package/esm2022/src/lib/collections/property/property.collection.mjs +1 -1
  59. package/esm2022/src/lib/collections/property/tax-exemption.collection.mjs +1 -1
  60. package/esm2022/src/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.mjs +1 -1
  61. package/esm2022/src/lib/collections/report/depreciation/depreciation-report-item.collection.mjs +1 -1
  62. package/esm2022/src/lib/collections/report/index.mjs +1 -1
  63. package/esm2022/src/lib/collections/report/property/property-report-item-depreciation.collection.mjs +1 -1
  64. package/esm2022/src/lib/collections/report/property/property-report-item-transaction.collection.mjs +1 -1
  65. package/esm2022/src/lib/collections/report/property/property-report-item.collection.mjs +1 -1
  66. package/esm2022/src/lib/collections/report/vehicle-expense/vehicle-expense.collection.mjs +1 -1
  67. package/esm2022/src/lib/collections/sole/index.mjs +1 -1
  68. package/esm2022/src/lib/collections/sole/sole-business-losses.collection.mjs +1 -1
  69. package/esm2022/src/lib/collections/sole/sole-invoice-item.collection.mjs +1 -1
  70. package/esm2022/src/lib/collections/sole/sole-invoice.collection.mjs +1 -1
  71. package/esm2022/src/lib/collections/subscription/index.mjs +1 -1
  72. package/esm2022/src/lib/collections/subscription/service-price.collection.mjs +1 -1
  73. package/esm2022/src/lib/collections/subscription/service-product.collection.mjs +1 -1
  74. package/esm2022/src/lib/collections/subscription/service-subscription.collection.mjs +1 -1
  75. package/esm2022/src/lib/collections/subscription/subscription-item.collection.mjs +1 -1
  76. package/esm2022/src/lib/collections/tax-review.collection.mjs +1 -1
  77. package/esm2022/src/lib/collections/tax-summary/index.mjs +1 -1
  78. package/esm2022/src/lib/collections/tax-summary/report-item.collection.mjs +1 -1
  79. package/esm2022/src/lib/collections/tax-summary/tax-return-categories.const.mjs +1 -1
  80. package/esm2022/src/lib/collections/transaction/index.mjs +1 -1
  81. package/esm2022/src/lib/collections/transaction/transaction-allocation.collection.mjs +1 -1
  82. package/esm2022/src/lib/collections/transaction/transaction-base.collection.mjs +1 -1
  83. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +1 -1
  84. package/esm2022/src/lib/collections/user/user.collection.mjs +1 -1
  85. package/esm2022/src/lib/collections/user-event-setting.collection.mjs +1 -1
  86. package/esm2022/src/lib/collections/user-event-type-collection.mjs +1 -1
  87. package/esm2022/src/lib/collections/vehicle/best-vehicle-logbook.collection.mjs +1 -1
  88. package/esm2022/src/lib/collections/vehicle/index.mjs +1 -1
  89. package/esm2022/src/lib/collections/vehicle/vehicle-claim.collection.mjs +1 -1
  90. package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +1 -1
  91. package/esm2022/src/lib/core.module.mjs +1 -1
  92. package/esm2022/src/lib/db/Enums/address-type.enum.mjs +1 -1
  93. package/esm2022/src/lib/db/Enums/allocation-rule-condition-comparison-operator.enum.mjs +1 -1
  94. package/esm2022/src/lib/db/Enums/allocation-rule-condition-field.enum.mjs +1 -1
  95. package/esm2022/src/lib/db/Enums/allocation-rule-condition-operator.enum.mjs +1 -1
  96. package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +1 -1
  97. package/esm2022/src/lib/db/Enums/annual-frequency.enum.mjs +1 -1
  98. package/esm2022/src/lib/db/Enums/bank/bank-account-status.enum.mjs +1 -1
  99. package/esm2022/src/lib/db/Enums/bank/bank-account-type.enum.mjs +1 -1
  100. package/esm2022/src/lib/db/Enums/bank/bank-connection-status.enum.mjs +1 -1
  101. package/esm2022/src/lib/db/Enums/bank/bank-popular.enum.mjs +1 -1
  102. package/esm2022/src/lib/db/Enums/bank/bank-provider.enum.mjs +1 -1
  103. package/esm2022/src/lib/db/Enums/bank/bank-transaction-type.enum.mjs +1 -1
  104. package/esm2022/src/lib/db/Enums/bank/index.mjs +1 -1
  105. package/esm2022/src/lib/db/Enums/bank/loan/index.mjs +1 -1
  106. package/esm2022/src/lib/db/Enums/bank/loan/loan-bank-type.enum.mjs +1 -1
  107. package/esm2022/src/lib/db/Enums/bank/loan/loan-frequency.enum.mjs +1 -1
  108. package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type-label.enum.mjs +1 -1
  109. package/esm2022/src/lib/db/Enums/bank/loan/loan-interest-type.enum.mjs +1 -1
  110. package/esm2022/src/lib/db/Enums/bank/loan/loan-payout-type.enum.mjs +1 -1
  111. package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-frequency.enum.mjs +1 -1
  112. package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type-label.enum.mjs +1 -1
  113. package/esm2022/src/lib/db/Enums/bank/loan/loan-repayment-type.enum.mjs +1 -1
  114. package/esm2022/src/lib/db/Enums/bank/loan/loan-type.enum.mjs +1 -1
  115. package/esm2022/src/lib/db/Enums/bank/loan/loan-vehicle-type.enum.mjs +1 -1
  116. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +1 -1
  117. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-category.enum.mjs +1 -1
  118. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.mjs +1 -1
  119. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.mjs +1 -1
  120. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.mjs +1 -1
  121. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.mjs +1 -1
  122. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.mjs +1 -1
  123. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-holding-untaxed-income-list.enum.mjs +1 -1
  124. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +1 -1
  125. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.mjs +1 -1
  126. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +1 -1
  127. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-list.enum.mjs +1 -1
  128. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-meta-field-type.enum.mjs +1 -1
  129. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-property-adjustments-list.enum.mjs +1 -1
  130. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.mjs +1 -1
  131. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-type.enum.mjs +1 -1
  132. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +1 -1
  133. package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +1 -1
  134. package/esm2022/src/lib/db/Enums/chat-status.enum.mjs +1 -1
  135. package/esm2022/src/lib/db/Enums/client/client-details-medicare-exemption.enum.mjs +1 -1
  136. package/esm2022/src/lib/db/Enums/client/client-details-work-depreciation-calculation.enum.mjs +1 -1
  137. package/esm2022/src/lib/db/Enums/client/client-details-working-holiday-maker.enum.mjs +1 -1
  138. package/esm2022/src/lib/db/Enums/client/client-invite-status.enum.mjs +1 -1
  139. package/esm2022/src/lib/db/Enums/client/client-invite-type.enum.mjs +1 -1
  140. package/esm2022/src/lib/db/Enums/client/index.mjs +1 -1
  141. package/esm2022/src/lib/db/Enums/client/timezone.enum.mjs +1 -1
  142. package/esm2022/src/lib/db/Enums/depreciation-calculation-percent.enum.mjs +1 -1
  143. package/esm2022/src/lib/db/Enums/depreciation-calculation.enum.mjs +1 -1
  144. package/esm2022/src/lib/db/Enums/depreciation-type.enum.mjs +1 -1
  145. package/esm2022/src/lib/db/Enums/depreciation-write-off-amount.enum.mjs +1 -1
  146. package/esm2022/src/lib/db/Enums/document-type.enum.mjs +1 -1
  147. package/esm2022/src/lib/db/Enums/file-type.enum.mjs +1 -1
  148. package/esm2022/src/lib/db/Enums/firm/employee-invite-role.enum.mjs +1 -1
  149. package/esm2022/src/lib/db/Enums/firm/firm-type.enum.mjs +1 -1
  150. package/esm2022/src/lib/db/Enums/firm/index.mjs +1 -1
  151. package/esm2022/src/lib/db/Enums/holding/holding-type-category.enum.mjs +1 -1
  152. package/esm2022/src/lib/db/Enums/holding/holding-type-exchange-list.enum.mjs +1 -1
  153. package/esm2022/src/lib/db/Enums/holding/index.mjs +1 -1
  154. package/esm2022/src/lib/db/Enums/income-source/income-source-forecast-trust-type.enum.mjs +1 -1
  155. package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-holding.enum.mjs +1 -1
  156. package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-other.enum.mjs +1 -1
  157. package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-sole.enum.mjs +1 -1
  158. package/esm2022/src/lib/db/Enums/income-source/income-source-type-list-work.enum.mjs +1 -1
  159. package/esm2022/src/lib/db/Enums/income-source/income-source-type.enum.mjs +1 -1
  160. package/esm2022/src/lib/db/Enums/income-source/index.mjs +1 -1
  161. package/esm2022/src/lib/db/Enums/index.mjs +1 -1
  162. package/esm2022/src/lib/db/Enums/invite-status.enum.mjs +1 -1
  163. package/esm2022/src/lib/db/Enums/phone-type.enum.mjs +1 -1
  164. package/esm2022/src/lib/db/Enums/property/property-category-list.enum.mjs +1 -1
  165. package/esm2022/src/lib/db/Enums/property/property-depreciation-calculation.enum.mjs +1 -1
  166. package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption-meta-field.enum.mjs +1 -1
  167. package/esm2022/src/lib/db/Enums/property/property-sale/tax-exemption.enum.mjs +1 -1
  168. package/esm2022/src/lib/db/Enums/property/property-share-access.enum.mjs +1 -1
  169. package/esm2022/src/lib/db/Enums/property/property-share-status.enum.mjs +1 -1
  170. package/esm2022/src/lib/db/Enums/registration-invite-status.enum.mjs +1 -1
  171. package/esm2022/src/lib/db/Enums/salary-forecast-frequency.enum.mjs +1 -1
  172. package/esm2022/src/lib/db/Enums/service-notification-status.enum.mjs +1 -1
  173. package/esm2022/src/lib/db/Enums/service-notification-type.enum.mjs +1 -1
  174. package/esm2022/src/lib/db/Enums/setup-item-type.enum.mjs +1 -1
  175. package/esm2022/src/lib/db/Enums/sole-depreciation-method.enum.mjs +1 -1
  176. package/esm2022/src/lib/db/Enums/sole-invoice-statuses.enum.mjs +1 -1
  177. package/esm2022/src/lib/db/Enums/sole-invoice-tax-type.enum.mjs +1 -1
  178. package/esm2022/src/lib/db/Enums/sole-invoice-template-tax-type.enum.mjs +1 -1
  179. package/esm2022/src/lib/db/Enums/spare-document-spare-type.enum.mjs +1 -1
  180. package/esm2022/src/lib/db/Enums/subscription/index.mjs +1 -1
  181. package/esm2022/src/lib/db/Enums/subscription/service-payment-method-card-brand.enum.mjs +1 -1
  182. package/esm2022/src/lib/db/Enums/subscription/service-payment-method-type.enum.mjs +1 -1
  183. package/esm2022/src/lib/db/Enums/subscription/service-payment-status.enum.mjs +1 -1
  184. package/esm2022/src/lib/db/Enums/subscription/service-price-list.enum.mjs +1 -1
  185. package/esm2022/src/lib/db/Enums/subscription/service-price-recurring-interval.enum.mjs +1 -1
  186. package/esm2022/src/lib/db/Enums/subscription/service-price-type.enum.mjs +1 -1
  187. package/esm2022/src/lib/db/Enums/subscription/service-product-id.enum.mjs +1 -1
  188. package/esm2022/src/lib/db/Enums/subscription/service-product-status.enum.mjs +1 -1
  189. package/esm2022/src/lib/db/Enums/subscription/service-subscription-status.enum.mjs +1 -1
  190. package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +1 -1
  191. package/esm2022/src/lib/db/Enums/tax-calculation-medicare-exemption.enum.mjs +1 -1
  192. package/esm2022/src/lib/db/Enums/tax-calculation-type.enum.mjs +1 -1
  193. package/esm2022/src/lib/db/Enums/tax-return/index.mjs +1 -1
  194. package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-list.enum.mjs +1 -1
  195. package/esm2022/src/lib/db/Enums/tax-return/tax-return-category-section.enum.mjs +1 -1
  196. package/esm2022/src/lib/db/Enums/tax-return/tax-return-item.enum.mjs +1 -1
  197. package/esm2022/src/lib/db/Enums/tax-review-status.enum.mjs +1 -1
  198. package/esm2022/src/lib/db/Enums/tax-summary-list.enum.mjs +1 -1
  199. package/esm2022/src/lib/db/Enums/tax-summary-section.enum.mjs +1 -1
  200. package/esm2022/src/lib/db/Enums/tax-summary-tax-summary.enum.mjs +1 -1
  201. package/esm2022/src/lib/db/Enums/ticket-feedback.enum.mjs +1 -1
  202. package/esm2022/src/lib/db/Enums/ticket-status.enum.mjs +1 -1
  203. package/esm2022/src/lib/db/Enums/ticket-types.enum.mjs +1 -1
  204. package/esm2022/src/lib/db/Enums/transaction-operation.enum.mjs +1 -1
  205. package/esm2022/src/lib/db/Enums/transaction-source.enum.mjs +1 -1
  206. package/esm2022/src/lib/db/Enums/transaction-type.enum.mjs +1 -1
  207. package/esm2022/src/lib/db/Enums/user/gender.enum.mjs +1 -1
  208. package/esm2022/src/lib/db/Enums/user/index.mjs +1 -1
  209. package/esm2022/src/lib/db/Enums/user-event-status.enum.mjs +1 -1
  210. package/esm2022/src/lib/db/Enums/user-event-type-client-type.enum.mjs +1 -1
  211. package/esm2022/src/lib/db/Enums/user-event-type-employee-type.enum.mjs +1 -1
  212. package/esm2022/src/lib/db/Enums/user-event-type-frequency.enum.mjs +1 -1
  213. package/esm2022/src/lib/db/Enums/user-event-type-type.enum.mjs +1 -1
  214. package/esm2022/src/lib/db/Enums/user-event-type-user-type.enum.mjs +1 -1
  215. package/esm2022/src/lib/db/Enums/user-medicare-exemption.enum.mjs +1 -1
  216. package/esm2022/src/lib/db/Enums/user-status.enum.mjs +1 -1
  217. package/esm2022/src/lib/db/Enums/user-title.enum.mjs +1 -1
  218. package/esm2022/src/lib/db/Enums/user-work-depreciation-calculation.enum.mjs +1 -1
  219. package/esm2022/src/lib/db/Enums/user-working-holiday-maker.enum.mjs +1 -1
  220. package/esm2022/src/lib/db/Enums/vehicle-claim-details-method.enum.mjs +1 -1
  221. package/esm2022/src/lib/db/Enums/vehicle-logbook-purpose.enum.mjs +1 -1
  222. package/esm2022/src/lib/db/Models/abstract-model.mjs +1 -1
  223. package/esm2022/src/lib/db/Models/address.mjs +1 -1
  224. package/esm2022/src/lib/db/Models/bank/bank-account-balance.mjs +1 -1
  225. package/esm2022/src/lib/db/Models/bank/bank-account-property.mjs +1 -1
  226. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  227. package/esm2022/src/lib/db/Models/bank/bank-connection.mjs +1 -1
  228. package/esm2022/src/lib/db/Models/bank/bank-transaction-import.mjs +1 -1
  229. package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +1 -1
  230. package/esm2022/src/lib/db/Models/bank/bank.mjs +1 -1
  231. package/esm2022/src/lib/db/Models/bank/basiq-job-step.enum.mjs +1 -1
  232. package/esm2022/src/lib/db/Models/bank/basiq-job.mjs +1 -1
  233. package/esm2022/src/lib/db/Models/budget/budget-rule.mjs +1 -1
  234. package/esm2022/src/lib/db/Models/budget/budget.mjs +1 -1
  235. package/esm2022/src/lib/db/Models/budget/index.mjs +1 -1
  236. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-depreciation.mjs +1 -1
  237. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-heading.mjs +1 -1
  238. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-meta-field.mjs +1 -1
  239. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts-value.mjs +1 -1
  240. package/esm2022/src/lib/db/Models/chart-accounts/chart-accounts.mjs +1 -1
  241. package/esm2022/src/lib/db/Models/client/annual-client-details.mjs +1 -1
  242. package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
  243. package/esm2022/src/lib/db/Models/client/index.mjs +1 -1
  244. package/esm2022/src/lib/db/Models/client/occupation.mjs +1 -1
  245. package/esm2022/src/lib/db/Models/country.mjs +1 -1
  246. package/esm2022/src/lib/db/Models/depreciation/depreciation-capital-project.mjs +1 -1
  247. package/esm2022/src/lib/db/Models/depreciation/depreciation-forecast.mjs +1 -1
  248. package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +1 -1
  249. package/esm2022/src/lib/db/Models/document/document-folder.mjs +1 -1
  250. package/esm2022/src/lib/db/Models/document/folder-document.mjs +1 -1
  251. package/esm2022/src/lib/db/Models/document/property-document.mjs +1 -1
  252. package/esm2022/src/lib/db/Models/file.mjs +1 -1
  253. package/esm2022/src/lib/db/Models/firm/accountant/tax-review.mjs +1 -1
  254. package/esm2022/src/lib/db/Models/firm/accountant/ticket.mjs +1 -1
  255. package/esm2022/src/lib/db/Models/firm/chat.mjs +1 -1
  256. package/esm2022/src/lib/db/Models/firm/client-invite.mjs +1 -1
  257. package/esm2022/src/lib/db/Models/firm/client-movement.mjs +1 -1
  258. package/esm2022/src/lib/db/Models/firm/employee-invite.mjs +1 -1
  259. package/esm2022/src/lib/db/Models/firm/firm-invite.mjs +1 -1
  260. package/esm2022/src/lib/db/Models/firm/firm.mjs +1 -1
  261. package/esm2022/src/lib/db/Models/firm/message-document.mjs +1 -1
  262. package/esm2022/src/lib/db/Models/firm/message.mjs +1 -1
  263. package/esm2022/src/lib/db/Models/holding/holding-import.mjs +1 -1
  264. package/esm2022/src/lib/db/Models/holding/holding-sale.mjs +1 -1
  265. package/esm2022/src/lib/db/Models/holding/holding-type-exchange.mjs +1 -1
  266. package/esm2022/src/lib/db/Models/holding/holding-type.mjs +1 -1
  267. package/esm2022/src/lib/db/Models/holding/holding.mjs +1 -1
  268. package/esm2022/src/lib/db/Models/holding/index.mjs +1 -1
  269. package/esm2022/src/lib/db/Models/incomeSource/income-source-forecast.mjs +1 -1
  270. package/esm2022/src/lib/db/Models/incomeSource/income-source-type.mjs +1 -1
  271. package/esm2022/src/lib/db/Models/incomeSource/income-source.mjs +1 -1
  272. package/esm2022/src/lib/db/Models/incomeSource/salary-forecast.mjs +1 -1
  273. package/esm2022/src/lib/db/Models/index.mjs +1 -1
  274. package/esm2022/src/lib/db/Models/loan/borrowing-expense-loan.mjs +1 -1
  275. package/esm2022/src/lib/db/Models/loan/borrowing-expense.mjs +1 -1
  276. package/esm2022/src/lib/db/Models/loan/loan-payout.mjs +1 -1
  277. package/esm2022/src/lib/db/Models/loan/loan.mjs +1 -1
  278. package/esm2022/src/lib/db/Models/observable-model.mjs +1 -1
  279. package/esm2022/src/lib/db/Models/phone.mjs +1 -1
  280. package/esm2022/src/lib/db/Models/property/borrowing-report.mjs +1 -1
  281. package/esm2022/src/lib/db/Models/property/property-category-movement.mjs +1 -1
  282. package/esm2022/src/lib/db/Models/property/property-category.mjs +1 -1
  283. package/esm2022/src/lib/db/Models/property/property-forecast.mjs +1 -1
  284. package/esm2022/src/lib/db/Models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +1 -1
  285. package/esm2022/src/lib/db/Models/property/property-sale/property-sale.mjs +1 -1
  286. package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption-meta-field.mjs +1 -1
  287. package/esm2022/src/lib/db/Models/property/property-sale/tax-exemption.mjs +1 -1
  288. package/esm2022/src/lib/db/Models/property/property-share.mjs +1 -1
  289. package/esm2022/src/lib/db/Models/property/property-subscription.mjs +1 -1
  290. package/esm2022/src/lib/db/Models/property/property-valuation.mjs +1 -1
  291. package/esm2022/src/lib/db/Models/property/property.mjs +1 -1
  292. package/esm2022/src/lib/db/Models/service-notification.mjs +1 -1
  293. package/esm2022/src/lib/db/Models/setup-item.mjs +1 -1
  294. package/esm2022/src/lib/db/Models/sole/bas-report.mjs +1 -1
  295. package/esm2022/src/lib/db/Models/sole/sole-business-activity.mjs +1 -1
  296. package/esm2022/src/lib/db/Models/sole/sole-business-allocation.mjs +1 -1
  297. package/esm2022/src/lib/db/Models/sole/sole-business-loss-offset-rule.mjs +1 -1
  298. package/esm2022/src/lib/db/Models/sole/sole-business-loss.mjs +1 -1
  299. package/esm2022/src/lib/db/Models/sole/sole-business.mjs +1 -1
  300. package/esm2022/src/lib/db/Models/sole/sole-contact.mjs +1 -1
  301. package/esm2022/src/lib/db/Models/sole/sole-depreciation-method.mjs +1 -1
  302. package/esm2022/src/lib/db/Models/sole/sole-details.mjs +1 -1
  303. package/esm2022/src/lib/db/Models/sole/sole-forecast.mjs +1 -1
  304. package/esm2022/src/lib/db/Models/sole/sole-invoice-item.mjs +1 -1
  305. package/esm2022/src/lib/db/Models/sole/sole-invoice-template.mjs +1 -1
  306. package/esm2022/src/lib/db/Models/sole/sole-invoice.mjs +1 -1
  307. package/esm2022/src/lib/db/Models/spare/spare-document-category.mjs +1 -1
  308. package/esm2022/src/lib/db/Models/spare/spare-document.mjs +1 -1
  309. package/esm2022/src/lib/db/Models/subscription/service-payment-method.mjs +1 -1
  310. package/esm2022/src/lib/db/Models/subscription/service-payment.mjs +1 -1
  311. package/esm2022/src/lib/db/Models/subscription/service-price.mjs +1 -1
  312. package/esm2022/src/lib/db/Models/subscription/service-product.mjs +1 -1
  313. package/esm2022/src/lib/db/Models/subscription/service-subscription-item.mjs +1 -1
  314. package/esm2022/src/lib/db/Models/subscription/service-subscription.mjs +1 -1
  315. package/esm2022/src/lib/db/Models/tax-calculation.mjs +1 -1
  316. package/esm2022/src/lib/db/Models/tax-return/index.mjs +1 -1
  317. package/esm2022/src/lib/db/Models/tax-return/tax-return-category.mjs +1 -1
  318. package/esm2022/src/lib/db/Models/tax-return/tax-return-item.mjs +1 -1
  319. package/esm2022/src/lib/db/Models/tax-return/tax-return.mjs +1 -1
  320. package/esm2022/src/lib/db/Models/transaction/allocation-rule-condition.mjs +1 -1
  321. package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction-meta-field.mjs +1 -1
  322. package/esm2022/src/lib/db/Models/transaction/allocation-rule-transaction.mjs +1 -1
  323. package/esm2022/src/lib/db/Models/transaction/allocation-rule.mjs +1 -1
  324. package/esm2022/src/lib/db/Models/transaction/transaction-allocation.mjs +1 -1
  325. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +1 -1
  326. package/esm2022/src/lib/db/Models/transaction/transaction-meta-field.mjs +1 -1
  327. package/esm2022/src/lib/db/Models/transaction/transaction.mjs +1 -1
  328. package/esm2022/src/lib/db/Models/user/employee-details.mjs +1 -1
  329. package/esm2022/src/lib/db/Models/user/registration-invite.mjs +1 -1
  330. package/esm2022/src/lib/db/Models/user/user-event-setting.mjs +1 -1
  331. package/esm2022/src/lib/db/Models/user/user-event-type-category.mjs +1 -1
  332. package/esm2022/src/lib/db/Models/user/user-event-type.mjs +1 -1
  333. package/esm2022/src/lib/db/Models/user/user-event.mjs +1 -1
  334. package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
  335. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim-details.mjs +1 -1
  336. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +1 -1
  337. package/esm2022/src/lib/db/Models/vehicle/vehicle-logbook.mjs +1 -1
  338. package/esm2022/src/lib/db/Models/vehicle/vehicle.mjs +1 -1
  339. package/esm2022/src/lib/db-static/chart-accounts/chart-accounts-values.mjs +1 -1
  340. package/esm2022/src/lib/forms/abstract.form.mjs +1 -1
  341. package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
  342. package/esm2022/src/lib/forms/address/index.mjs +1 -1
  343. package/esm2022/src/lib/forms/bank/bank-account/bank-account-add-manual.form.mjs +1 -1
  344. package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +1 -1
  345. package/esm2022/src/lib/forms/bank/bank-account/bank-account-import.form.mjs +1 -1
  346. package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +1 -1
  347. package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +1 -1
  348. package/esm2022/src/lib/forms/budget/budget.form.mjs +1 -1
  349. package/esm2022/src/lib/forms/budget/index.mjs +1 -1
  350. package/esm2022/src/lib/forms/chart-accounts/chart-accounts.form.mjs +1 -1
  351. package/esm2022/src/lib/forms/chart-accounts/index.mjs +1 -1
  352. package/esm2022/src/lib/forms/chat/chat-filter.form.mjs +1 -1
  353. package/esm2022/src/lib/forms/chat/index.mjs +1 -1
  354. package/esm2022/src/lib/forms/client/annual-client-details.form.mjs +1 -1
  355. package/esm2022/src/lib/forms/client/capital-loss.form.mjs +1 -1
  356. package/esm2022/src/lib/forms/client/index.mjs +1 -1
  357. package/esm2022/src/lib/forms/collection.form.mjs +1 -1
  358. package/esm2022/src/lib/forms/depreciation/depreciation.form.mjs +1 -1
  359. package/esm2022/src/lib/forms/depreciation/index.mjs +1 -1
  360. package/esm2022/src/lib/forms/document-folder/document-folder.form.mjs +1 -1
  361. package/esm2022/src/lib/forms/document-folder/document.form.mjs +1 -1
  362. package/esm2022/src/lib/forms/document-folder/index.mjs +1 -1
  363. package/esm2022/src/lib/forms/firm/client-invite-put.form.mjs +1 -1
  364. package/esm2022/src/lib/forms/firm/client-invite.form.mjs +1 -1
  365. package/esm2022/src/lib/forms/firm/client-movement.form.mjs +1 -1
  366. package/esm2022/src/lib/forms/firm/employee-details.form.mjs +1 -1
  367. package/esm2022/src/lib/forms/firm/employee-invite.form.mjs +1 -1
  368. package/esm2022/src/lib/forms/firm/firm-branch.form.mjs +1 -1
  369. package/esm2022/src/lib/forms/firm/firm-invite.form.mjs +1 -1
  370. package/esm2022/src/lib/forms/firm/firm.form.mjs +1 -1
  371. package/esm2022/src/lib/forms/firm/index.mjs +1 -1
  372. package/esm2022/src/lib/forms/form-validations.enum.mjs +1 -1
  373. package/esm2022/src/lib/forms/holding/holding-import.form.mjs +1 -1
  374. package/esm2022/src/lib/forms/holding/holding-reinvest.form.mjs +1 -1
  375. package/esm2022/src/lib/forms/holding/holding-sale.form.mjs +1 -1
  376. package/esm2022/src/lib/forms/holding/holding-type.form.mjs +1 -1
  377. package/esm2022/src/lib/forms/holding/holding.form.mjs +1 -1
  378. package/esm2022/src/lib/forms/holding/index.mjs +1 -1
  379. package/esm2022/src/lib/forms/index.mjs +1 -1
  380. package/esm2022/src/lib/forms/loan/index.mjs +1 -1
  381. package/esm2022/src/lib/forms/loan/loan.form.mjs +1 -1
  382. package/esm2022/src/lib/forms/login/login.form.mjs +1 -1
  383. package/esm2022/src/lib/forms/phone/index.mjs +1 -1
  384. package/esm2022/src/lib/forms/phone/phone.form.mjs +1 -1
  385. package/esm2022/src/lib/forms/property/borrowing-report.form.mjs +1 -1
  386. package/esm2022/src/lib/forms/property/index.mjs +1 -1
  387. package/esm2022/src/lib/forms/property/property-add.form.mjs +1 -1
  388. package/esm2022/src/lib/forms/property/property-category-movement-form.mjs +1 -1
  389. package/esm2022/src/lib/forms/property/property-document.form.mjs +1 -1
  390. package/esm2022/src/lib/forms/property/property-edit.form.mjs +1 -1
  391. package/esm2022/src/lib/forms/property/property-forecast.form.mjs +1 -1
  392. package/esm2022/src/lib/forms/property/property-sale/index.mjs +1 -1
  393. package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +1 -1
  394. package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +1 -1
  395. package/esm2022/src/lib/forms/property/property-sale/property-sale-exemptions.form.mjs +1 -1
  396. package/esm2022/src/lib/forms/property/property-share.form.mjs +1 -1
  397. package/esm2022/src/lib/forms/property/property-valuation.form.mjs +1 -1
  398. package/esm2022/src/lib/forms/register/register-client.form.mjs +1 -1
  399. package/esm2022/src/lib/forms/register/register-firm.form.mjs +1 -1
  400. package/esm2022/src/lib/forms/report/my-tax/index.mjs +1 -1
  401. package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.mjs +1 -1
  402. package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.mjs +1 -1
  403. package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.mjs +1 -1
  404. package/esm2022/src/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.mjs +1 -1
  405. package/esm2022/src/lib/forms/report/my-tax/my-tax-cgt.form.mjs +1 -1
  406. package/esm2022/src/lib/forms/report/my-tax/my-tax-deductions.form.mjs +1 -1
  407. package/esm2022/src/lib/forms/report/my-tax/my-tax-dividends.form.mjs +1 -1
  408. package/esm2022/src/lib/forms/report/my-tax/my-tax-income-statements.form.mjs +1 -1
  409. package/esm2022/src/lib/forms/report/my-tax/my-tax-income-tests.form.mjs +1 -1
  410. package/esm2022/src/lib/forms/report/my-tax/my-tax-interest.form.mjs +1 -1
  411. package/esm2022/src/lib/forms/report/my-tax/my-tax-losses.form.mjs +1 -1
  412. package/esm2022/src/lib/forms/report/my-tax/my-tax-medicare.form.mjs +1 -1
  413. package/esm2022/src/lib/forms/report/my-tax/my-tax-offsets.form.mjs +1 -1
  414. package/esm2022/src/lib/forms/report/my-tax/my-tax-other-income.form.mjs +1 -1
  415. package/esm2022/src/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.mjs +1 -1
  416. package/esm2022/src/lib/forms/report/my-tax/my-tax-rent.form.mjs +1 -1
  417. package/esm2022/src/lib/forms/sole/bas-report.form.mjs +1 -1
  418. package/esm2022/src/lib/forms/sole/index.mjs +1 -1
  419. package/esm2022/src/lib/forms/sole/invoice-payment.form.mjs +1 -1
  420. package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +1 -1
  421. package/esm2022/src/lib/forms/sole/sole-business-loss.form.mjs +1 -1
  422. package/esm2022/src/lib/forms/sole/sole-business.form.mjs +1 -1
  423. package/esm2022/src/lib/forms/sole/sole-contact.form.mjs +1 -1
  424. package/esm2022/src/lib/forms/sole/sole-depreciation-method.form.mjs +1 -1
  425. package/esm2022/src/lib/forms/sole/sole-details.form.mjs +1 -1
  426. package/esm2022/src/lib/forms/sole/sole-invoice-item.form.mjs +1 -1
  427. package/esm2022/src/lib/forms/sole/sole-invoice-template.form.mjs +1 -1
  428. package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +1 -1
  429. package/esm2022/src/lib/forms/tax-review/index.mjs +1 -1
  430. package/esm2022/src/lib/forms/tax-review/tax-review-filter-status.enum.mjs +1 -1
  431. package/esm2022/src/lib/forms/tax-review/tax-review-filter.form.mjs +1 -1
  432. package/esm2022/src/lib/forms/transaction/allocation-rule-condition.form.mjs +1 -1
  433. package/esm2022/src/lib/forms/transaction/allocation-rule-transaction-meta-field.form.mjs +1 -1
  434. package/esm2022/src/lib/forms/transaction/allocation-rule-transaction.form.mjs +5 -5
  435. package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +1 -1
  436. package/esm2022/src/lib/forms/transaction/holding/holding-income.form.mjs +1 -1
  437. package/esm2022/src/lib/forms/transaction/index.mjs +1 -1
  438. package/esm2022/src/lib/forms/transaction/messages.enum.mjs +1 -1
  439. package/esm2022/src/lib/forms/transaction/sole/sole-income.form.mjs +1 -1
  440. package/esm2022/src/lib/forms/transaction/sole/sole-transaction.form.mjs +1 -1
  441. package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +1 -1
  442. package/esm2022/src/lib/forms/transaction/transaction-base.form.mjs +1 -1
  443. package/esm2022/src/lib/forms/transaction/transaction.form.mjs +1 -1
  444. package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +1 -1
  445. package/esm2022/src/lib/forms/transaction/work/work-income.form.mjs +12 -10
  446. package/esm2022/src/lib/forms/transaction/work/work-transaction.form.mjs +1 -1
  447. package/esm2022/src/lib/forms/user/client-details.form.mjs +1 -1
  448. package/esm2022/src/lib/forms/user/index.mjs +1 -1
  449. package/esm2022/src/lib/forms/user/password.form.mjs +1 -1
  450. package/esm2022/src/lib/forms/user/reset-password.form.mjs +1 -1
  451. package/esm2022/src/lib/forms/user/user-invite.form.mjs +1 -1
  452. package/esm2022/src/lib/forms/user/user.form.mjs +1 -1
  453. package/esm2022/src/lib/forms/vehicle/index.mjs +1 -1
  454. package/esm2022/src/lib/forms/vehicle/vehicle-claim-details.form.mjs +1 -1
  455. package/esm2022/src/lib/forms/vehicle/vehicle-claim.form.mjs +1 -1
  456. package/esm2022/src/lib/forms/vehicle/vehicle-logbook.form.mjs +1 -1
  457. package/esm2022/src/lib/forms/vehicle/vehicle.form.mjs +1 -1
  458. package/esm2022/src/lib/functions/array/to-array.mjs +1 -1
  459. package/esm2022/src/lib/functions/clone-deep.mjs +1 -1
  460. package/esm2022/src/lib/functions/create-date.mjs +1 -1
  461. package/esm2022/src/lib/functions/get-doc-icon.mjs +1 -1
  462. package/esm2022/src/lib/functions/mat-sort-options.mjs +1 -1
  463. package/esm2022/src/lib/interceptors/basiq-client-id.interceptor.mjs +1 -1
  464. package/esm2022/src/lib/interceptors/basiq-token.interceptor.mjs +1 -1
  465. package/esm2022/src/lib/interceptors/preloader.interceptor.mjs +1 -1
  466. package/esm2022/src/lib/interceptors/rewardful.interceptor.mjs +1 -1
  467. package/esm2022/src/lib/interceptors/user-switcher-interceptor.mjs +1 -1
  468. package/esm2022/src/lib/interfaces/asset-entity-type.enum.mjs +1 -1
  469. package/esm2022/src/lib/interfaces/asset.interface.mjs +1 -1
  470. package/esm2022/src/lib/interfaces/document.interface.mjs +1 -1
  471. package/esm2022/src/lib/interfaces/documentable.interface.mjs +1 -1
  472. package/esm2022/src/lib/interfaces/expense.interface.mjs +1 -1
  473. package/esm2022/src/lib/interfaces/income-source-forecast.interface.mjs +1 -1
  474. package/esm2022/src/lib/interfaces/index.mjs +1 -1
  475. package/esm2022/src/lib/interfaces/tank.interface.mjs +1 -1
  476. package/esm2022/src/lib/interfaces/updatable.interface.mjs +1 -1
  477. package/esm2022/src/lib/messages/index.mjs +1 -1
  478. package/esm2022/src/lib/messages/messages.enum.mjs +1 -1
  479. package/esm2022/src/lib/models/account-setup/account-setup-item.mjs +1 -1
  480. package/esm2022/src/lib/models/account-setup/account-setup-items.enum.mjs +1 -1
  481. package/esm2022/src/lib/models/address/index.mjs +1 -1
  482. package/esm2022/src/lib/models/address/states.enum.mjs +1 -1
  483. package/esm2022/src/lib/models/asset-sale.mjs +1 -1
  484. package/esm2022/src/lib/models/bank/allocation-group.mjs +1 -1
  485. package/esm2022/src/lib/models/bank/bank-account-chart-data.mjs +1 -1
  486. package/esm2022/src/lib/models/bank/bank-account-property.mjs +1 -1
  487. package/esm2022/src/lib/models/bank/bank-account-types.const.mjs +1 -1
  488. package/esm2022/src/lib/models/bank/bank-account.mjs +1 -1
  489. package/esm2022/src/lib/models/bank/bank-connection.mjs +1 -1
  490. package/esm2022/src/lib/models/bank/bank-external-stats.mjs +1 -1
  491. package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +1 -1
  492. package/esm2022/src/lib/models/bank/bank-transaction-summary-fields.enum.mjs +1 -1
  493. package/esm2022/src/lib/models/bank/bank-transaction.mjs +1 -1
  494. package/esm2022/src/lib/models/bank/bank.mjs +1 -1
  495. package/esm2022/src/lib/models/bank/basiq/basiq-config.mjs +1 -1
  496. package/esm2022/src/lib/models/bank/basiq/basiq-connection-data.interface.mjs +1 -1
  497. package/esm2022/src/lib/models/bank/basiq/basiq-connections-response.interface.mjs +1 -1
  498. package/esm2022/src/lib/models/bank/basiq/basiq-job-response.mjs +1 -1
  499. package/esm2022/src/lib/models/bank/basiq/basiq-job-step.mjs +1 -1
  500. package/esm2022/src/lib/models/bank/basiq/basiq-job.mjs +1 -1
  501. package/esm2022/src/lib/models/bank/basiq/basiq-token-response.interface.mjs +1 -1
  502. package/esm2022/src/lib/models/bank/basiq/basiq-token.mjs +1 -1
  503. package/esm2022/src/lib/models/bank/basiq/index.mjs +1 -1
  504. package/esm2022/src/lib/models/bank/index.mjs +1 -1
  505. package/esm2022/src/lib/models/bank/type-loan.const.mjs +1 -1
  506. package/esm2022/src/lib/models/borrowing-expense/borrowing-expense-loan.mjs +1 -1
  507. package/esm2022/src/lib/models/borrowing-expense/borrowing-expense.mjs +1 -1
  508. package/esm2022/src/lib/models/borrowing-expense/index.mjs +1 -1
  509. package/esm2022/src/lib/models/budget/budget-rule.mjs +1 -1
  510. package/esm2022/src/lib/models/budget/budget.mjs +1 -1
  511. package/esm2022/src/lib/models/budget/index.mjs +1 -1
  512. package/esm2022/src/lib/models/chart-accounts/chart-accounts-category.e-collection.mjs +1 -1
  513. package/esm2022/src/lib/models/chart-accounts/chart-accounts-depreciation.mjs +1 -1
  514. package/esm2022/src/lib/models/chart-accounts/chart-accounts-value.mjs +1 -1
  515. package/esm2022/src/lib/models/chart-accounts/index.mjs +1 -1
  516. package/esm2022/src/lib/models/chat/chat-view-type.enum.mjs +1 -1
  517. package/esm2022/src/lib/models/chat/index.mjs +1 -1
  518. package/esm2022/src/lib/models/client/annual-client-details.mjs +1 -1
  519. package/esm2022/src/lib/models/client/capital-loss.interface.mjs +1 -1
  520. package/esm2022/src/lib/models/client/capital-loss.mjs +1 -1
  521. package/esm2022/src/lib/models/client/client-details.mjs +1 -1
  522. package/esm2022/src/lib/models/client/client-portfolio-chart-data.mjs +1 -1
  523. package/esm2022/src/lib/models/client/client-portfolio-report.mjs +1 -1
  524. package/esm2022/src/lib/models/client/index.mjs +1 -1
  525. package/esm2022/src/lib/models/depreciation/depreciation-capital-project.mjs +1 -1
  526. package/esm2022/src/lib/models/depreciation/depreciation-forecast.mjs +1 -1
  527. package/esm2022/src/lib/models/depreciation/depreciation-group-item.mjs +1 -1
  528. package/esm2022/src/lib/models/depreciation/depreciation-group.enum.mjs +1 -1
  529. package/esm2022/src/lib/models/depreciation/depreciation-group.mjs +1 -1
  530. package/esm2022/src/lib/models/depreciation/depreciation-groups.const.mjs +1 -1
  531. package/esm2022/src/lib/models/depreciation/depreciation-lvp-rate.enum.mjs +1 -1
  532. package/esm2022/src/lib/models/depreciation/depreciation.mjs +1 -1
  533. package/esm2022/src/lib/models/depreciation/index.mjs +1 -1
  534. package/esm2022/src/lib/models/dictionary/dictionary.mjs +1 -1
  535. package/esm2022/src/lib/models/dictionary/index.mjs +1 -1
  536. package/esm2022/src/lib/models/document/document-api-url-prefix.enum.mjs +1 -1
  537. package/esm2022/src/lib/models/document/document-file-types.const.mjs +1 -1
  538. package/esm2022/src/lib/models/document/document-folder.mjs +1 -1
  539. package/esm2022/src/lib/models/document/document.mjs +1 -1
  540. package/esm2022/src/lib/models/document/index.mjs +1 -1
  541. package/esm2022/src/lib/models/employee/employee-details.mjs +1 -1
  542. package/esm2022/src/lib/models/event/app-event-type.enum.mjs +1 -1
  543. package/esm2022/src/lib/models/event/app-event.mjs +1 -1
  544. package/esm2022/src/lib/models/event/index.mjs +1 -1
  545. package/esm2022/src/lib/models/export/export-cell-type.enum.mjs +1 -1
  546. package/esm2022/src/lib/models/export/export-cell.mjs +1 -1
  547. package/esm2022/src/lib/models/export/export-data-table.mjs +1 -1
  548. package/esm2022/src/lib/models/export/export-format.enum.mjs +1 -1
  549. package/esm2022/src/lib/models/file/file.mjs +1 -1
  550. package/esm2022/src/lib/models/file/icons-file.enum.mjs +1 -1
  551. package/esm2022/src/lib/models/file/index.mjs +1 -1
  552. package/esm2022/src/lib/models/financial-year/index.mjs +1 -1
  553. package/esm2022/src/lib/models/financial-year/months.const.mjs +1 -1
  554. package/esm2022/src/lib/models/firm/firm-branch.interface.mjs +1 -1
  555. package/esm2022/src/lib/models/firm/firm-branch.mjs +1 -1
  556. package/esm2022/src/lib/models/firm/index.mjs +1 -1
  557. package/esm2022/src/lib/models/holding/holding-import.mjs +1 -1
  558. package/esm2022/src/lib/models/holding/holding-reinvest.mjs +1 -1
  559. package/esm2022/src/lib/models/holding/holding-sale.mjs +1 -1
  560. package/esm2022/src/lib/models/holding/holding-type-exchange.mjs +1 -1
  561. package/esm2022/src/lib/models/holding/holding-type.mjs +1 -1
  562. package/esm2022/src/lib/models/holding/holding.mjs +1 -1
  563. package/esm2022/src/lib/models/holding/index.mjs +1 -1
  564. package/esm2022/src/lib/models/income-position/income-position.mjs +1 -1
  565. package/esm2022/src/lib/models/income-source/income-source-chart-data.mjs +1 -1
  566. package/esm2022/src/lib/models/income-source/income-source-forecast.mjs +1 -1
  567. package/esm2022/src/lib/models/income-source/income-source-type.mjs +1 -1
  568. package/esm2022/src/lib/models/income-source/index.mjs +1 -1
  569. package/esm2022/src/lib/models/income-source/salary-forecast.mjs +1 -1
  570. package/esm2022/src/lib/models/income-source/sole-forecast.mjs +1 -1
  571. package/esm2022/src/lib/models/index.mjs +1 -1
  572. package/esm2022/src/lib/models/loan/index.mjs +1 -1
  573. package/esm2022/src/lib/models/loan/loan-max-number-of-payments.enum.mjs +1 -1
  574. package/esm2022/src/lib/models/loan/loan-payment.mjs +1 -1
  575. package/esm2022/src/lib/models/loan/loan-payout.mjs +1 -1
  576. package/esm2022/src/lib/models/loan/loan.mjs +1 -1
  577. package/esm2022/src/lib/models/notification/index.mjs +1 -1
  578. package/esm2022/src/lib/models/notification/notification.mjs +1 -1
  579. package/esm2022/src/lib/models/pdf/pdf-orientation.enum.mjs +1 -1
  580. package/esm2022/src/lib/models/pdf/pdf-settings.mjs +1 -1
  581. package/esm2022/src/lib/models/property/borrowing-report.mjs +1 -1
  582. package/esm2022/src/lib/models/property/calculation-form-item.mjs +1 -1
  583. package/esm2022/src/lib/models/property/calculation-form-type.enum.mjs +1 -1
  584. package/esm2022/src/lib/models/property/capital-costs-itmes.const.mjs +1 -1
  585. package/esm2022/src/lib/models/property/index.mjs +1 -1
  586. package/esm2022/src/lib/models/property/property-category-movement.mjs +1 -1
  587. package/esm2022/src/lib/models/property/property-category.mjs +1 -1
  588. package/esm2022/src/lib/models/property/property-document.mjs +1 -1
  589. package/esm2022/src/lib/models/property/property-equity-chart-data.mjs +1 -1
  590. package/esm2022/src/lib/models/property/property-equity-chart-item.mjs +1 -1
  591. package/esm2022/src/lib/models/property/property-equity-chart-type.enum.mjs +1 -1
  592. package/esm2022/src/lib/models/property/property-forecast.mjs +1 -1
  593. package/esm2022/src/lib/models/property/property-sale/index.mjs +1 -1
  594. package/esm2022/src/lib/models/property/property-sale/property-sale-cost-base.mjs +1 -1
  595. package/esm2022/src/lib/models/property/property-sale/property-sale-tax-exemption-meta-field.mjs +1 -1
  596. package/esm2022/src/lib/models/property/property-sale/property-sale.mjs +1 -1
  597. package/esm2022/src/lib/models/property/property-sale/tax-exemption-meta-field.mjs +1 -1
  598. package/esm2022/src/lib/models/property/property-sale/tax-exemption.mjs +1 -1
  599. package/esm2022/src/lib/models/property/property-share.mjs +1 -1
  600. package/esm2022/src/lib/models/property/property-subscription.mjs +1 -1
  601. package/esm2022/src/lib/models/property/property-valuation.mjs +1 -1
  602. package/esm2022/src/lib/models/property/property.mjs +1 -1
  603. package/esm2022/src/lib/models/registration-invite/registration-invite.mjs +1 -1
  604. package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.mjs +1 -1
  605. package/esm2022/src/lib/models/report/depreciation/depreciation-lvp-report-item.mjs +1 -1
  606. package/esm2022/src/lib/models/report/depreciation/depreciation-report-item.mjs +1 -1
  607. package/esm2022/src/lib/models/report/depreciation/index.mjs +1 -1
  608. package/esm2022/src/lib/models/report/index.mjs +1 -1
  609. package/esm2022/src/lib/models/report/my-tax/ato-links.mjs +1 -1
  610. package/esm2022/src/lib/models/report/my-tax/index.mjs +1 -1
  611. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +1 -1
  612. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.mjs +1 -1
  613. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.mjs +1 -1
  614. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.mjs +1 -1
  615. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +1 -1
  616. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +1 -1
  617. package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.mjs +1 -1
  618. package/esm2022/src/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.mjs +1 -1
  619. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.mjs +1 -1
  620. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.mjs +1 -1
  621. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.mjs +1 -1
  622. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +1 -1
  623. package/esm2022/src/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.mjs +1 -1
  624. package/esm2022/src/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.mjs +1 -1
  625. package/esm2022/src/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.mjs +1 -1
  626. package/esm2022/src/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.mjs +1 -1
  627. package/esm2022/src/lib/models/report/my-tax/my-tax-interest/my-tax-interest.mjs +1 -1
  628. package/esm2022/src/lib/models/report/my-tax/my-tax-losses/my-tax-losses.mjs +1 -1
  629. package/esm2022/src/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.mjs +1 -1
  630. package/esm2022/src/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.mjs +1 -1
  631. package/esm2022/src/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.mjs +1 -1
  632. package/esm2022/src/lib/models/report/my-tax/my-tax-rent/my-tax-rent.mjs +1 -1
  633. package/esm2022/src/lib/models/report/property/index.mjs +1 -1
  634. package/esm2022/src/lib/models/report/property/property-report-item-depreciation.mjs +1 -1
  635. package/esm2022/src/lib/models/report/property/property-report-item-transaction.mjs +1 -1
  636. package/esm2022/src/lib/models/report/property/property-report-item.mjs +1 -1
  637. package/esm2022/src/lib/models/report/report.interface.mjs +1 -1
  638. package/esm2022/src/lib/models/report/reports.const.mjs +1 -1
  639. package/esm2022/src/lib/models/report/sole/index.mjs +1 -1
  640. package/esm2022/src/lib/models/report/sole/sole-business/sole-business-loss-report.mjs +1 -1
  641. package/esm2022/src/lib/models/report/vehicle-expense/vehicle-expense.mjs +1 -1
  642. package/esm2022/src/lib/models/service-subscription/index.mjs +1 -1
  643. package/esm2022/src/lib/models/service-subscription/module-url-list.const.mjs +1 -1
  644. package/esm2022/src/lib/models/service-subscription/payment-method-brand.enum.mjs +1 -1
  645. package/esm2022/src/lib/models/service-subscription/service-payment-method.mjs +1 -1
  646. package/esm2022/src/lib/models/service-subscription/service-payment.mjs +1 -1
  647. package/esm2022/src/lib/models/service-subscription/service-price.mjs +1 -1
  648. package/esm2022/src/lib/models/service-subscription/service-product-icons.enum.mjs +1 -1
  649. package/esm2022/src/lib/models/service-subscription/service-product-roles.const.mjs +1 -1
  650. package/esm2022/src/lib/models/service-subscription/service-product.mjs +1 -1
  651. package/esm2022/src/lib/models/service-subscription/service-promo-code-duration.enum.mjs +1 -1
  652. package/esm2022/src/lib/models/service-subscription/service-promo-code.mjs +1 -1
  653. package/esm2022/src/lib/models/service-subscription/service-subscription-item.mjs +1 -1
  654. package/esm2022/src/lib/models/service-subscription/service-subscription.mjs +1 -1
  655. package/esm2022/src/lib/models/sole/bas-report.mjs +1 -1
  656. package/esm2022/src/lib/models/sole/index.mjs +1 -1
  657. package/esm2022/src/lib/models/sole/sole-business-activity.mjs +1 -1
  658. package/esm2022/src/lib/models/sole/sole-business-allocation.mjs +1 -1
  659. package/esm2022/src/lib/models/sole/sole-business-loss-offset-rule.mjs +1 -1
  660. package/esm2022/src/lib/models/sole/sole-business-loss.mjs +1 -1
  661. package/esm2022/src/lib/models/sole/sole-business.mjs +1 -1
  662. package/esm2022/src/lib/models/sole/sole-contact.mjs +1 -1
  663. package/esm2022/src/lib/models/sole/sole-depreciation-method.mjs +1 -1
  664. package/esm2022/src/lib/models/sole/sole-details.mjs +1 -1
  665. package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +1 -1
  666. package/esm2022/src/lib/models/sole/sole-invoice-template.mjs +1 -1
  667. package/esm2022/src/lib/models/sole/sole-invoice.mjs +1 -1
  668. package/esm2022/src/lib/models/tax-return/index.mjs +1 -1
  669. package/esm2022/src/lib/models/tax-return/tax-return-category.mjs +1 -1
  670. package/esm2022/src/lib/models/tax-return/tax-return-item.mjs +1 -1
  671. package/esm2022/src/lib/models/tax-return/tax-return.mjs +1 -1
  672. package/esm2022/src/lib/models/tax-review/tax-review.mjs +1 -1
  673. package/esm2022/src/lib/models/tax-summary/report-item-details.mjs +1 -1
  674. package/esm2022/src/lib/models/tax-summary/report-item.mjs +1 -1
  675. package/esm2022/src/lib/models/tax-summary/tax-summary-section.mjs +1 -1
  676. package/esm2022/src/lib/models/tax-summary/tax-summary-type.enum.mjs +1 -1
  677. package/esm2022/src/lib/models/tax-summary/tax-summary.mjs +1 -1
  678. package/esm2022/src/lib/models/toast/toast-type.enum.mjs +1 -1
  679. package/esm2022/src/lib/models/toast/toast.mjs +1 -1
  680. package/esm2022/src/lib/models/transaction/allocation-rule-condition.mjs +1 -1
  681. package/esm2022/src/lib/models/transaction/allocation-rule-transaction-meta-field.mjs +1 -1
  682. package/esm2022/src/lib/models/transaction/allocation-rule-transaction.mjs +1 -1
  683. package/esm2022/src/lib/models/transaction/allocation-rule.mjs +1 -1
  684. package/esm2022/src/lib/models/transaction/income-amount-type.enum.mjs +1 -1
  685. package/esm2022/src/lib/models/transaction/index.mjs +1 -1
  686. package/esm2022/src/lib/models/transaction/transaction-allocation.mjs +1 -1
  687. package/esm2022/src/lib/models/transaction/transaction-category.enum.mjs +1 -1
  688. package/esm2022/src/lib/models/transaction/transaction-meta-field.mjs +1 -1
  689. package/esm2022/src/lib/models/transaction/transaction.mjs +1 -1
  690. package/esm2022/src/lib/models/user/index.mjs +1 -1
  691. package/esm2022/src/lib/models/user/my-account-history-initiated-by.enum.mjs +1 -1
  692. package/esm2022/src/lib/models/user/my-account-history-status.enum.mjs +1 -1
  693. package/esm2022/src/lib/models/user/my-account-history-type.enum.mjs +1 -1
  694. package/esm2022/src/lib/models/user/my-account-history.mjs +1 -1
  695. package/esm2022/src/lib/models/user/occupation.mjs +1 -1
  696. package/esm2022/src/lib/models/user/user-roles.const.mjs +1 -1
  697. package/esm2022/src/lib/models/user/user-to-register.mjs +1 -1
  698. package/esm2022/src/lib/models/user/user.mjs +1 -1
  699. package/esm2022/src/lib/models/user-event/user-event-setting-field.enum.mjs +1 -1
  700. package/esm2022/src/lib/models/user-event/user-event-setting.mjs +1 -1
  701. package/esm2022/src/lib/models/user-event/user-event-type-category.mjs +1 -1
  702. package/esm2022/src/lib/models/user-event/user-event-type.mjs +1 -1
  703. package/esm2022/src/lib/models/vehicle/index.mjs +1 -1
  704. package/esm2022/src/lib/models/vehicle/vehicle-claim-details.mjs +1 -1
  705. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +1 -1
  706. package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +1 -1
  707. package/esm2022/src/lib/models/vehicle/vehicle.mjs +1 -1
  708. package/esm2022/src/lib/pipes/app-currency.pipe.mjs +1 -1
  709. package/esm2022/src/lib/pipes/index.mjs +1 -1
  710. package/esm2022/src/lib/pipes/safe-url.pipe.mjs +1 -1
  711. package/esm2022/src/lib/services/account-setup/account-setup.service.mjs +1 -1
  712. package/esm2022/src/lib/services/account-setup/index.mjs +1 -1
  713. package/esm2022/src/lib/services/asset/assets.service.mjs +1 -1
  714. package/esm2022/src/lib/services/asset/index.mjs +1 -1
  715. package/esm2022/src/lib/services/bank/bank-account-calculation.service.mjs +1 -1
  716. package/esm2022/src/lib/services/bank/index.mjs +1 -1
  717. package/esm2022/src/lib/services/data.service.mjs +1 -1
  718. package/esm2022/src/lib/services/event/event-dispatcher.service.mjs +1 -1
  719. package/esm2022/src/lib/services/event/index.mjs +1 -1
  720. package/esm2022/src/lib/services/event/sse.service.mjs +1 -1
  721. package/esm2022/src/lib/services/export/export-formatter.service.mjs +1 -1
  722. package/esm2022/src/lib/services/export/index.mjs +1 -1
  723. package/esm2022/src/lib/services/firm/current-firm-branch.service.mjs +1 -1
  724. package/esm2022/src/lib/services/firm/index.mjs +1 -1
  725. package/esm2022/src/lib/services/header-title/header-title.service.mjs +1 -1
  726. package/esm2022/src/lib/services/header-title/index.mjs +1 -1
  727. package/esm2022/src/lib/services/http/address/address.service.mjs +1 -1
  728. package/esm2022/src/lib/services/http/address/index.mjs +1 -1
  729. package/esm2022/src/lib/services/http/bank/bank-account/bank-account.service.mjs +1 -1
  730. package/esm2022/src/lib/services/http/bank/bank-account/index.mjs +1 -1
  731. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +1 -1
  732. package/esm2022/src/lib/services/http/bank/bank-connection/bank-connection.service.mjs +1 -1
  733. package/esm2022/src/lib/services/http/bank/bank-connection/index.mjs +1 -1
  734. package/esm2022/src/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +1 -1
  735. package/esm2022/src/lib/services/http/bank/bank-transaction/index.mjs +1 -1
  736. package/esm2022/src/lib/services/http/bank/bank.service.mjs +1 -1
  737. package/esm2022/src/lib/services/http/bank/basiq/basiq-messages.enum.mjs +1 -1
  738. package/esm2022/src/lib/services/http/bank/basiq/basiq-token.service.mjs +1 -1
  739. package/esm2022/src/lib/services/http/bank/basiq/basiq.service.mjs +1 -1
  740. package/esm2022/src/lib/services/http/bank/basiq/index.mjs +1 -1
  741. package/esm2022/src/lib/services/http/bank/index.mjs +1 -1
  742. package/esm2022/src/lib/services/http/budget/budget-messages.enum.mjs +1 -1
  743. package/esm2022/src/lib/services/http/budget/budget.service.mjs +1 -1
  744. package/esm2022/src/lib/services/http/budget/index.mjs +1 -1
  745. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +1 -1
  746. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-depreciations/index.mjs +1 -1
  747. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts-messages.enum.mjs +1 -1
  748. package/esm2022/src/lib/services/http/chart-accounts/chart-accounts.service.mjs +1 -1
  749. package/esm2022/src/lib/services/http/chart-accounts/index.mjs +1 -1
  750. package/esm2022/src/lib/services/http/chat/chat.service.mjs +1 -1
  751. package/esm2022/src/lib/services/http/chat/index.mjs +1 -1
  752. package/esm2022/src/lib/services/http/chat/message-document.service.mjs +1 -1
  753. package/esm2022/src/lib/services/http/chat/message.service.mjs +1 -1
  754. package/esm2022/src/lib/services/http/client/annual-client-details.service.mjs +1 -1
  755. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss-messages.enum.mjs +1 -1
  756. package/esm2022/src/lib/services/http/client/capital-loss/capital-loss.service.mjs +1 -1
  757. package/esm2022/src/lib/services/http/client/capital-loss/index.mjs +1 -1
  758. package/esm2022/src/lib/services/http/client/client-coupon.service.mjs +1 -1
  759. package/esm2022/src/lib/services/http/client/index.mjs +1 -1
  760. package/esm2022/src/lib/services/http/client/occupation/occupation.service.mjs +1 -1
  761. package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +1 -1
  762. package/esm2022/src/lib/services/http/depreciation/depreciation-capital-project/index.mjs +1 -1
  763. package/esm2022/src/lib/services/http/depreciation/depreciation.service.mjs +1 -1
  764. package/esm2022/src/lib/services/http/depreciation/index.mjs +1 -1
  765. package/esm2022/src/lib/services/http/document/document-folder/document-folder-messages.enum.mjs +1 -1
  766. package/esm2022/src/lib/services/http/document/document-folder/document-folder.service.mjs +1 -1
  767. package/esm2022/src/lib/services/http/document/document-folder/index.mjs +1 -1
  768. package/esm2022/src/lib/services/http/document/document-messages.enum.mjs +1 -1
  769. package/esm2022/src/lib/services/http/document/document.service.mjs +1 -1
  770. package/esm2022/src/lib/services/http/document/index.mjs +1 -1
  771. package/esm2022/src/lib/services/http/facebook/facebook-auth-options.interface.mjs +1 -1
  772. package/esm2022/src/lib/services/http/facebook/facebook-auth-response.interface.mjs +1 -1
  773. package/esm2022/src/lib/services/http/facebook/facebook-status-response.interface.mjs +1 -1
  774. package/esm2022/src/lib/services/http/facebook/facebook.service.mjs +1 -1
  775. package/esm2022/src/lib/services/http/facebook/index.mjs +1 -1
  776. package/esm2022/src/lib/services/http/file/file.service.mjs +1 -1
  777. package/esm2022/src/lib/services/http/file/index.mjs +1 -1
  778. package/esm2022/src/lib/services/http/firm/client-invite/client-invite-messages.enum.mjs +1 -1
  779. package/esm2022/src/lib/services/http/firm/client-invite/client-invite.service.mjs +1 -1
  780. package/esm2022/src/lib/services/http/firm/client-invite/index.mjs +1 -1
  781. package/esm2022/src/lib/services/http/firm/client-movement/client-movement-messages.enum.mjs +1 -1
  782. package/esm2022/src/lib/services/http/firm/client-movement/client-movement.service.mjs +1 -1
  783. package/esm2022/src/lib/services/http/firm/client-movement/index.mjs +1 -1
  784. package/esm2022/src/lib/services/http/firm/employee/employee-messages.enum.mjs +1 -1
  785. package/esm2022/src/lib/services/http/firm/employee/employee.service.mjs +1 -1
  786. package/esm2022/src/lib/services/http/firm/employee/index.mjs +1 -1
  787. package/esm2022/src/lib/services/http/firm/employee-invite/employee-invite.service.mjs +1 -1
  788. package/esm2022/src/lib/services/http/firm/employee-invite/index.mjs +1 -1
  789. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch-messages.enum.mjs +1 -1
  790. package/esm2022/src/lib/services/http/firm/firm-branch/firm-branch.service.mjs +1 -1
  791. package/esm2022/src/lib/services/http/firm/firm-branch/index.mjs +1 -1
  792. package/esm2022/src/lib/services/http/firm/firm-messages.enum.mjs +1 -1
  793. package/esm2022/src/lib/services/http/firm/firm.service.mjs +1 -1
  794. package/esm2022/src/lib/services/http/firm/index.mjs +1 -1
  795. package/esm2022/src/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +1 -1
  796. package/esm2022/src/lib/services/http/firm/portfolio-report/index.mjs +1 -1
  797. package/esm2022/src/lib/services/http/google/google.service.mjs +1 -1
  798. package/esm2022/src/lib/services/http/google/index.mjs +1 -1
  799. package/esm2022/src/lib/services/http/holding/holding-import/holding-import-messages.enum.mjs +1 -1
  800. package/esm2022/src/lib/services/http/holding/holding-import/holding-import.service.mjs +1 -1
  801. package/esm2022/src/lib/services/http/holding/holding-messages.enum.mjs +1 -1
  802. package/esm2022/src/lib/services/http/holding/holding-sale-messages.enum.mjs +1 -1
  803. package/esm2022/src/lib/services/http/holding/holding-sale.service.mjs +1 -1
  804. package/esm2022/src/lib/services/http/holding/holding-type-messages.enum.mjs +1 -1
  805. package/esm2022/src/lib/services/http/holding/holding-type.service.mjs +1 -1
  806. package/esm2022/src/lib/services/http/holding/holding.service.mjs +1 -1
  807. package/esm2022/src/lib/services/http/holding/index.mjs +1 -1
  808. package/esm2022/src/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +1 -1
  809. package/esm2022/src/lib/services/http/income-source/income-source-forecast/index.mjs +1 -1
  810. package/esm2022/src/lib/services/http/income-source/income-source-messages.enum.mjs +1 -1
  811. package/esm2022/src/lib/services/http/income-source/income-source.service.mjs +1 -1
  812. package/esm2022/src/lib/services/http/income-source/index.mjs +1 -1
  813. package/esm2022/src/lib/services/http/income-source/salary-forecast/index.mjs +1 -1
  814. package/esm2022/src/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +1 -1
  815. package/esm2022/src/lib/services/http/income-source/sole-forecast/index.mjs +1 -1
  816. package/esm2022/src/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +1 -1
  817. package/esm2022/src/lib/services/http/index.mjs +1 -1
  818. package/esm2022/src/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +1 -1
  819. package/esm2022/src/lib/services/http/loan/borrowing-expense/index.mjs +1 -1
  820. package/esm2022/src/lib/services/http/loan/index.mjs +1 -1
  821. package/esm2022/src/lib/services/http/loan/loan.service.mjs +1 -1
  822. package/esm2022/src/lib/services/http/pdf/pdf.service.mjs +1 -1
  823. package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report-messages.enum.mjs +1 -1
  824. package/esm2022/src/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +1 -1
  825. package/esm2022/src/lib/services/http/property/borrowing-report/index.mjs +1 -1
  826. package/esm2022/src/lib/services/http/property/index.mjs +1 -1
  827. package/esm2022/src/lib/services/http/property/property-category/index.mjs +1 -1
  828. package/esm2022/src/lib/services/http/property/property-category/property-category.service.mjs +1 -1
  829. package/esm2022/src/lib/services/http/property/property-category-movement/index.mjs +1 -1
  830. package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +1 -1
  831. package/esm2022/src/lib/services/http/property/property-document/index.mjs +1 -1
  832. package/esm2022/src/lib/services/http/property/property-document/property-document-messages.enum.mjs +1 -1
  833. package/esm2022/src/lib/services/http/property/property-document/property-document.service.mjs +1 -1
  834. package/esm2022/src/lib/services/http/property/property-messages.enum.mjs +1 -1
  835. package/esm2022/src/lib/services/http/property/property-sale/index.mjs +1 -1
  836. package/esm2022/src/lib/services/http/property/property-sale/property-sale.service.mjs +1 -1
  837. package/esm2022/src/lib/services/http/property/property-share/index.mjs +1 -1
  838. package/esm2022/src/lib/services/http/property/property-share/property-share.service.mjs +1 -1
  839. package/esm2022/src/lib/services/http/property/property-valuation/index.mjs +1 -1
  840. package/esm2022/src/lib/services/http/property/property-valuation/property-valuation-messages.enum.mjs +1 -1
  841. package/esm2022/src/lib/services/http/property/property-valuation/property-valuation.service.mjs +1 -1
  842. package/esm2022/src/lib/services/http/property/property.service.mjs +1 -1
  843. package/esm2022/src/lib/services/http/rest/http-method.type.mjs +1 -1
  844. package/esm2022/src/lib/services/http/rest/index.mjs +1 -1
  845. package/esm2022/src/lib/services/http/rest/rest-method.type.mjs +1 -1
  846. package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +1 -1
  847. package/esm2022/src/lib/services/http/rest/rest.service.mjs +1 -1
  848. package/esm2022/src/lib/services/http/service-notification/index.mjs +1 -1
  849. package/esm2022/src/lib/services/http/service-notification/service-notification.service.mjs +1 -1
  850. package/esm2022/src/lib/services/http/setup-item/setup-item.service.mjs +1 -1
  851. package/esm2022/src/lib/services/http/sole/bas-report/bas-report-messages.enum.mjs +1 -1
  852. package/esm2022/src/lib/services/http/sole/bas-report/bas-report.service.mjs +1 -1
  853. package/esm2022/src/lib/services/http/sole/bas-report/index.mjs +1 -1
  854. package/esm2022/src/lib/services/http/sole/index.mjs +1 -1
  855. package/esm2022/src/lib/services/http/sole/sole-business/index.mjs +1 -1
  856. package/esm2022/src/lib/services/http/sole/sole-business/sole-business-messages.enum.mjs +1 -1
  857. package/esm2022/src/lib/services/http/sole/sole-business/sole-business.service.mjs +1 -1
  858. package/esm2022/src/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +1 -1
  859. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +1 -1
  860. package/esm2022/src/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +1 -1
  861. package/esm2022/src/lib/services/http/sole/sole-contact/sole-contact.service.mjs +1 -1
  862. package/esm2022/src/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +1 -1
  863. package/esm2022/src/lib/services/http/sole/sole-details/sole-details.service.mjs +1 -1
  864. package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +1 -1
  865. package/esm2022/src/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +1 -1
  866. package/esm2022/src/lib/services/http/subscription/index.mjs +1 -1
  867. package/esm2022/src/lib/services/http/subscription/service-payment/service-payment.service.mjs +1 -1
  868. package/esm2022/src/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +1 -1
  869. package/esm2022/src/lib/services/http/subscription/service-price/service-price.service.mjs +1 -1
  870. package/esm2022/src/lib/services/http/subscription/service-product/service-product.service.mjs +1 -1
  871. package/esm2022/src/lib/services/http/subscription/service-subscription/subscription-messages.enum.mjs +1 -1
  872. package/esm2022/src/lib/services/http/subscription/service-subscription/subscription.service.mjs +1 -1
  873. package/esm2022/src/lib/services/http/tax-review/index.mjs +1 -1
  874. package/esm2022/src/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +1 -1
  875. package/esm2022/src/lib/services/http/tax-review/tax-review-messages.enum.mjs +1 -1
  876. package/esm2022/src/lib/services/http/tax-review/tax-review.service.mjs +1 -1
  877. package/esm2022/src/lib/services/http/tax-summary/index.mjs +1 -1
  878. package/esm2022/src/lib/services/http/tax-summary/tax-summary.service.mjs +1 -1
  879. package/esm2022/src/lib/services/http/transaction/index.mjs +1 -1
  880. package/esm2022/src/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +1 -1
  881. package/esm2022/src/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +1 -1
  882. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +1 -1
  883. package/esm2022/src/lib/services/http/user/financial-year/financial-year.service.mjs +1 -1
  884. package/esm2022/src/lib/services/http/user/index.mjs +1 -1
  885. package/esm2022/src/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +1 -1
  886. package/esm2022/src/lib/services/http/user/user-event-type/user-event-type.service.mjs +1 -1
  887. package/esm2022/src/lib/services/http/user/user-messages.enum.mjs +1 -1
  888. package/esm2022/src/lib/services/http/user/user.service.mjs +1 -1
  889. package/esm2022/src/lib/services/http/user/users-invite/users-invite.service.mjs +1 -1
  890. package/esm2022/src/lib/services/http/vehicle/index.mjs +1 -1
  891. package/esm2022/src/lib/services/http/vehicle/vehicle-claim-details.service.mjs +1 -1
  892. package/esm2022/src/lib/services/http/vehicle/vehicle-claim.service.mjs +1 -1
  893. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/index.mjs +1 -1
  894. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook-messages.enum.mjs +1 -1
  895. package/esm2022/src/lib/services/http/vehicle/vehicle-logbook/vehicle-logbook.service.mjs +1 -1
  896. package/esm2022/src/lib/services/http/vehicle/vehicle-messages.enum.mjs +1 -1
  897. package/esm2022/src/lib/services/http/vehicle/vehicle.service.mjs +1 -1
  898. package/esm2022/src/lib/services/http/youtube/index.mjs +1 -1
  899. package/esm2022/src/lib/services/http/youtube/youtube-video.interface.mjs +1 -1
  900. package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +1 -1
  901. package/esm2022/src/lib/services/index.mjs +1 -1
  902. package/esm2022/src/lib/services/intercom/index.mjs +1 -1
  903. package/esm2022/src/lib/services/intercom/intercom.service.mjs +1 -1
  904. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +1 -1
  905. package/esm2022/src/lib/services/json/holding/holding-type-exchange.service.mjs +1 -1
  906. package/esm2022/src/lib/services/json/income-source/income-source-type.service.mjs +1 -1
  907. package/esm2022/src/lib/services/json/index.mjs +1 -1
  908. package/esm2022/src/lib/services/json/tax-exemption/tax-exemption.service.mjs +1 -1
  909. package/esm2022/src/lib/services/json/tax-return/tax-return-item.service.mjs +1 -1
  910. package/esm2022/src/lib/services/pdf/index.mjs +1 -1
  911. package/esm2022/src/lib/services/pdf/js-pdf.mjs +1 -1
  912. package/esm2022/src/lib/services/pdf/pdf-from-dom-element/file-settings.mjs +1 -1
  913. package/esm2022/src/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +1 -1
  914. package/esm2022/src/lib/services/pdf/pdf-from-table/file-settings.mjs +1 -1
  915. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +1 -1
  916. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +1 -1
  917. package/esm2022/src/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +1 -1
  918. package/esm2022/src/lib/services/preloader/index.mjs +1 -1
  919. package/esm2022/src/lib/services/preloader/preloader.service.mjs +1 -1
  920. package/esm2022/src/lib/services/property/corelogic/corelogic.service.mjs +1 -1
  921. package/esm2022/src/lib/services/property/corelogic/index.mjs +1 -1
  922. package/esm2022/src/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +1 -1
  923. package/esm2022/src/lib/services/property/equity-position-chart/index.mjs +1 -1
  924. package/esm2022/src/lib/services/property/index.mjs +1 -1
  925. package/esm2022/src/lib/services/property/property-calculation/index.mjs +1 -1
  926. package/esm2022/src/lib/services/property/property-calculation/property-calculation.service.mjs +1 -1
  927. package/esm2022/src/lib/services/report/index.mjs +1 -1
  928. package/esm2022/src/lib/services/report/property/property-transaction-report.service.mjs +1 -1
  929. package/esm2022/src/lib/services/toast/index.mjs +1 -1
  930. package/esm2022/src/lib/services/toast/toast.service.mjs +1 -1
  931. package/esm2022/src/lib/services/user/index.mjs +1 -1
  932. package/esm2022/src/lib/services/user/user-switcher.service.mjs +1 -1
  933. package/esm2022/src/lib/services/xlsx/index.mjs +1 -1
  934. package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +1 -1
  935. package/esm2022/src/lib/validators/address-corelogic.validator.mjs +1 -1
  936. package/esm2022/src/lib/validators/at-least-one-enabled.validator.mjs +1 -1
  937. package/esm2022/src/lib/validators/at-least-one.validator.mjs +1 -1
  938. package/esm2022/src/lib/validators/autocomplete.validator.mjs +1 -1
  939. package/esm2022/src/lib/validators/conditional.validator.mjs +1 -1
  940. package/esm2022/src/lib/validators/current-fin-year.validator.mjs +1 -1
  941. package/esm2022/src/lib/validators/date-range.validator.mjs +1 -1
  942. package/esm2022/src/lib/validators/fields-sum.validator.mjs +1 -1
  943. package/esm2022/src/lib/validators/file.validator.mjs +1 -1
  944. package/esm2022/src/lib/validators/greater-than.validator.mjs +1 -1
  945. package/esm2022/src/lib/validators/group.validator.mjs +1 -1
  946. package/esm2022/src/lib/validators/index.mjs +1 -1
  947. package/esm2022/src/lib/validators/match-sum.validator.mjs +1 -1
  948. package/esm2022/src/lib/validators/min-date/messages.enum.mjs +1 -1
  949. package/esm2022/src/lib/validators/min-date/min-date.validator.mjs +1 -1
  950. package/esm2022/src/lib/validators/password-match.validator.mjs +1 -1
  951. package/esm2022/src/lib/validators/password.validator.mjs +1 -1
  952. package/esm2022/src/lib/validators/phone-number.validator.mjs +1 -1
  953. package/esm2022/src/lib/validators/required-length.validator.mjs +1 -1
  954. package/esm2022/src/lib/validators/string/alpha-space.validator.mjs +1 -1
  955. package/esm2022/src/lib/validators/unique-email.validator.mjs +1 -1
  956. package/fesm2022/taxtank-core-common.mjs.map +1 -1
  957. package/fesm2022/taxtank-core.mjs +13 -10
  958. package/fesm2022/taxtank-core.mjs.map +1 -1
  959. package/package.json +1 -2
@@ -5,4 +5,4 @@
5
5
  export function autocompleteValidator() {
6
6
  return (control) => (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
7
7
  }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi92YWxpZGF0b3JzL2F1dG9jb21wbGV0ZS52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7OztHQUdHO0FBQ0gsTUFBTSxVQUFVLHFCQUFxQjtJQUNuQyxPQUFPLENBQUMsT0FBMkIsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxLQUFLLElBQUksQ0FBQyxPQUFPLE9BQU8sQ0FBQyxLQUFLLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFDLFdBQVcsRUFBRSxJQUFJLEVBQUMsQ0FBQztBQUMvSCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVW50eXBlZEZvcm1Db250cm9sLCBWYWxpZGF0b3JGbiB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcblxuLyoqXG4gKiBWYWxpZGF0aW9uIGZ1bmN0aW9uIGZvciBhdXRvY29tcGxldGUgZmllbGRzLiBDaGVja3MgdGhhdCB0aGUgdXNlciBzaG91bGQgc2VsZWN0IGEgdmFsdWUgZnJvbSBhIGxpc3QgcmF0aGVyIHRoYW4gdHlwZSBpbiBpbnB1dCBmaWVsZFxuICogQFRPRE8gQWxleDogY3JlYXRlIGNsYXNzIEFwcFZhbGlkYXRvcnMgd2l0aCBzdGF0aWMgbWV0aG9kcyBhbmQgbW92ZSB0aGVyZSBhb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hdXRvY29tcGxldGUgZmllbGRzLiBDaGVja3MgdGhhdCB0aGUgdXNlciBzaG91bGQgc2VsZWN0IGEgdmFsdWUgZnJvbSBhIGxpc3QgcmF0aGVyIHRoYW4gdHlwZSBpbiBpbnB1dCBmaWVsZFxyXG4gKiBAVE9ETyBBbGV4OiBjcmVhdGUgY2xhc3MgQXBwVmFsaWRhdG9ycyB3aXRoIHN0YXRpYyBtZXRob2RzIGFuZCBtb3ZlIHRoZXJlIGFsbCBjdXN0b20gdmFsaWRhdG9ycyAobGluZSBBbmd1bGFyIFZhbGlkYXRvcnMpXHJcbiAqL1xyXG5leHBvcnQgZnVuY3Rpb24gYXV0b2NvbXBsZXRlVmFsaWRhdG9yKCk6IFZhbGlkYXRvckZuIHtcclxuICByZXR1cm4gKGNvbnRyb2w6IFVudHlwZWRGb3JtQ29udHJvbCkgPT4gKCFjb250cm9sLnZhbHVlIHx8ICh0eXBlb2YgY29udHJvbC52YWx1ZSA9PT0gJ29iamVjdCcpKSA/IG51bGwgOiB7bm90RnJvbUxpc3Q6IHRydWV9O1xyXG59XHJcbiJdfQ==
@@ -23,4 +23,4 @@ function revalidateOnChanges(control) {
23
23
  }
24
24
  return;
25
25
  }
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZGl0aW9uYWwudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvY29uZGl0aW9uYWwudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXRELE1BQU0sVUFBVSxvQkFBb0IsQ0FDbEMsU0FBZ0QsRUFDaEQsU0FBc0Q7SUFDdEQsT0FBTyxVQUFVLE9BQXd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aGFuZ2VzKGNvbnRyb2wpO1xyXG5cclxuICAgIGlmIChjb250cm9sICYmIGNvbnRyb2wucGFyZW50KSB7XHJcbiAgICAgIGlmIChjb25kaXRpb24oY29udHJvbC5wYXJlbnQpKSB7XHJcbiAgICAgICAgcmV0dXJuIHZhbGlkYXRvcihjb250cm9sKTtcclxuICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiBudWxsO1xyXG4gIH07XHJcbn1cclxuXHJcbi8qKlxyXG4gKiBDb25kaXRpb25hbCB2YWxpZGF0b3IgZGVwZW5kcyBvbiBvdGhlciBmaWVsZHMgYW5kIHNob3VsZCBiZSB1cGRhdGVkIG9uIGVhY2ggZm9ybSB2YWx1ZSBjaGFuZ2VcclxuICovXHJcbmZ1bmN0aW9uIHJldmFsaWRhdGVPbkNoYW5nZXMoY29udHJvbDogQWJzdHJhY3RDb250cm9sKTogdm9pZCB7XHJcbiAgaWYgKGNvbnRyb2wgJiYgY29udHJvbC5wYXJlbnQgJiYgIWNvbnRyb2xbJ19yZXZhbGlkYXRlT25DaGFuZ2VzJ10pIHtcclxuICAgIGNvbnRyb2xbJ19yZXZhbGlkYXRlT25DaGFuZ2VzJ10gPSB0cnVlO1xyXG4gICAgY29udHJvbC5wYXJlbnQudmFsdWVDaGFuZ2VzLnBpcGUoXHJcbiAgICAgIGRpc3RpbmN0VW50aWxDaGFuZ2VkKChhOiBvYmplY3QsIGI6IG9iamVjdCkgPT4gSlNPTi5zdHJpbmdpZnkoYSkgPT09IEpTT04uc3RyaW5naWZ5KGIpKVxyXG4gICAgKVxyXG4gICAgICAuc3Vic2NyaWJlKCgpID0+IHtcclxuICAgICAgICBjb250cm9sLnVwZGF0ZVZhbHVlQW5kVmFsaWRpdHkoe2VtaXRFdmVudDogZmFsc2V9KTtcclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxuICByZXR1cm47XHJcbn1cclxuIl19
@@ -11,4 +11,4 @@ export function currentFinYearValidator() {
11
11
  return { notCurrentFin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VxyXG4iXX0=
@@ -19,4 +19,4 @@ export function dateRangeValidator(dateStart, dateEnd) {
19
19
  return null;
20
20
  };
21
21
  }
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1yYW5nZS52YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvdmFsaWRhdG9ycy9kYXRlLXJhbmdlLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7R0FFRztBQUNILE1BQU0sVUFBVSxrQkFBa0IsQ0FBQyxTQUFlLEVBQUUsT0FBYTtJQUMvRCxvREFBb0Q7SUFDcEQsa0NBQWtDO0lBQ2xDLGdDQUFnQztJQUVoQyxPQUFPLENBQUMsT0FBMkIsRUFBb0IsRUFBRTtRQUN2RCxtQkFBbUI7UUFDbkIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUU7WUFDbEIsT0FBTyxJQUFJLENBQUM7U0FDYjtRQUVELElBQUksT0FBTyxDQUFDLEtBQUssR0FBRyxTQUFTLEVBQUU7WUFDN0IsT0FBTyxFQUFFLGNBQWMsRUFBRSxTQUFTLEVBQUUsQ0FBQztTQUN0QztRQUVELElBQUksT0FBTyxDQUFDLEtBQUssR0FBRyxPQUFPLEVBQUU7WUFDM0IsT0FBTyxFQUFFLFlBQVksRUFBRSxPQUFPLEVBQUUsQ0FBQztTQUNsQztRQUVELE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVudHlwZWRGb3JtQ29udHJvbCwgVmFsaWRhdGlvbkVycm9ycywgVmFsaWRhdG9yRm4gfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbi8qKlxuICogVmFsaWRhdGU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GFydC5zZXRIb3VycygwLCAwLCAwLCAwKTtcclxuICAvLyBkYXRlRW5kLnNldEhvdXJzKDAsIDAsIDAsIDApO1xyXG5cclxuICByZXR1cm4gKGNvbnRyb2w6IFVudHlwZWRGb3JtQ29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgPT4ge1xyXG4gICAgLy8gU2tpcCBlbXB0eSB2YWx1ZVxyXG4gICAgaWYgKCFjb250cm9sLnZhbHVlKSB7XHJcbiAgICAgIHJldHVybiBudWxsO1xyXG4gICAgfVxyXG5cclxuICAgIGlmIChjb250cm9sLnZhbHVlIDwgZGF0ZVN0YXJ0KSB7XHJcbiAgICAgIHJldHVybiB7IGRhdGVSYW5nZVN0YXJ0OiBkYXRlU3RhcnQgfTtcclxuICAgIH1cclxuXHJcbiAgICBpZiAoY29udHJvbC52YWx1ZSA+IGRhdGVFbmQpIHtcclxuICAgICAgcmV0dXJuIHsgZGF0ZVJhbmdlRW5kOiBkYXRlRW5kIH07XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIG51bGw7XHJcbiAgfTtcclxufVxyXG4iXX0=
@@ -21,4 +21,4 @@ export function fieldsSumValidator(field, summary = 100, fieldAlias) {
21
21
  };
22
22
  };
23
23
  }
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGRzLXN1bS52YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvdmFsaWRhdG9ycy9maWVsZHMtc3VtLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7Ozs7R0FLRztBQUNILE1BQU0sVUFBVSxrQkFBa0IsQ0FBQyxLQUFhLEVBQUUsT0FBTyxHQUFHLEdBQUcsRUFBRSxVQUFtQjtJQUNsRixPQUFPLENBQUMsU0FBMEIsRUFBb0IsRUF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XJyYXk6IEFic3RyYWN0Q29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgPT4ge1xyXG4gICAgLy8gY2FsY3VsYXRlIHN1bSBvZiBkZXNpcmVkIGZpZWxkcyBpbiBmb3JtQXJyYXkgY29udHJvbFxyXG4gICAgY29uc3QgZmllbGRzU3VtOiBudW1iZXIgPSBmb3JtQXJyYXlbJ2NvbnRyb2xzJ11cclxuICAgICAgLnJlZHVjZSgoYWNjOiBudW1iZXIsIGdyb3VwOiBBYnN0cmFjdENvbnRyb2wpID0+IGFjYyArPSBncm91cC5nZXQoZmllbGQpLnZhbHVlLCAwKTtcclxuXHJcbiAgICBpZiAoZmllbGRzU3VtIDw9IHN1bW1hcnkpIHtcclxuICAgICAgcmV0dXJuIG51bGw7XHJcbiAgICB9XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBmaWVsZHNTdW06IHtcclxuICAgICAgICBuYW1lOiBmaWVsZCxcclxuICAgICAgICBhbGlhczogZmllbGRBbGlhcyxcclxuICAgICAgICBzdW1tYXJ5XHJcbiAgICAgIH1cclxuICAgIH07XHJcblxyXG4gIH07XHJcbn1cclxuIl19
@@ -33,4 +33,4 @@ export class FileValidator {
33
33
  };
34
34
  }
35
35
  }
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS52YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvdmFsaWRhdG9ycy9maWxlLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUNuRixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRTdDLE1BQU0sUUFBUSxHQUFHLE9BQU8sQ0FBQztBQ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25gdCBuZWVkIHRvIHZhbGlkYXRlIHNhdmVkIGZpbGVzLCBiZWNhdXNlIHdoZW4gc2F2aW5nIHRoZSBmb3JtLCB0aGUgZmlsZSB3YXMgdmFsaWRcclxuICAgICAgaWYgKGZpbGUgaW5zdGFuY2VvZiBBYnN0cmFjdE1vZGVsKSB7XHJcbiAgICAgICAgcmV0dXJuIG51bGw7XHJcbiAgICAgIH1cclxuXHJcbiAgICAgIHJldHVybiBhbGxvd2VkRXh0ZW5zaW9ucy5pbmNsdWRlcyhmaWxlLnR5cGUpID8gbnVsbCA6IHsgZmlsZUV4dGVuc2lvbjoge2FsbG93ZWRFeHRlbnNpb25zOiBhbGxvd2VkRXh0ZW5zaW9ucy5qb2luKCl9IH07XHJcbiAgICB9O1xyXG5cclxuICAgIHJldHVybiBGaWxlVmFsaWRhdG9yLmZpbGVWYWxpZGF0aW9uKHZhbGlkYXRvckZuKTtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgc3RhdGljIGZpbGVWYWxpZGF0aW9uKHZhbGlkYXRvckZuOiAoRmlsZTogRmlsZSkgPT4gbnVsbCB8IG9iamVjdCk6IFZhbGlkYXRvckZuIHtcclxuICAgIHJldHVybiAoZm9ybUNvbnRyb2w6IFVudHlwZWRGb3JtQ29udHJvbCkgPT4ge1xyXG4gICAgICBpZiAoIWZvcm1Db250cm9sLnZhbHVlKSB7XHJcbiAgICAgICAgcmV0dXJuIG51bGw7XHJcbiAgICAgIH1cclxuXHJcbiAgICAgIHJldHVybiB2YWxpZGF0b3JGbihmb3JtQ29udHJvbC52YWx1ZSk7XHJcbiAgICB9O1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -9,4 +9,4 @@ export function greaterThanValidator(value) {
9
9
  return control.value > value ? null : { greaterThan: `The value should be greater than ${value}` };
10
10
  };
11
11
  }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JlYXRlci10aGFuLnZhbGlkYXRvci5qcyIsInNvdX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gaWYgZmllbGQgdmFsdWUgaXMgZ3JlYXRlciB0aGFuIHBhc3NlZCB2YWx1ZVxyXG4gKi9cclxuZXhwb3J0IGZ1bmN0aW9uIGdyZWF0ZXJUaGFuVmFsaWRhdG9yKHZhbHVlOiBudW1iZXIpOiBWYWxpZGF0b3JGbiB7XHJcbiAgcmV0dXJuIChjb250cm9sOiBGb3JtQ29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgPT4ge1xyXG4gICAgaWYgKCFjb250cm9sLnZhbHVlICYmIChjb250cm9sLnZhbHVlICE9PSAwKSkge1xyXG4gICAgICByZXR1cm4gbnVsbDtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gY29udHJvbC52YWx1ZSA+IHZhbHVlID8gbnVsbCA6IHsgZ3JlYXRlclRoYW46IGBUaGUgdmFsdWUgc2hvdWxkIGJlIGdyZWF0ZXIgdGhhbiAke3ZhbHVlfWAgfTtcclxuICB9XHJcbn1cclxuIl19
@@ -8,4 +8,4 @@ export function groupValidator(validatorFn) {
8
8
  return errors.length === keys.length ? errors[0] : null;
9
9
  };
10
10
  }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvZ3JvdXAudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBOztHQUVHO0FBQ0gsTUFBTSxVQUFVLGNBQWMsQ0FBQyxXQUF3QjtJQUNyRCxPQUFPLENBQUMsT0FBa0IsRUFBMkIsRUFBRTtRQUNyRCxNQUFNLElBQUksR0FBRyxNQUFNLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUMzQyxNQUFNLE1BQU0sR0FBRyxJQ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leHBvcnQgZnVuY3Rpb24gZ3JvdXBWYWxpZGF0b3IodmFsaWRhdG9yRm46IFZhbGlkYXRvckZuKTogVmFsaWRhdG9yRm4ge1xyXG4gIHJldHVybiAoY29udHJvbDogRm9ybUdyb3VwKTogVmFsaWRhdGlvbkVycm9ycyB8IG51bGwgPT4ge1xyXG4gICAgY29uc3Qga2V5cyA9IE9iamVjdC5rZXlzKGNvbnRyb2wuY29udHJvbHMpO1xyXG4gICAgY29uc3QgZXJyb3JzID0ga2V5cy5tYXAoa2V5ID0+IHZhbGlkYXRvckZuKGNvbnRyb2wuZ2V0KGtleSkpKS5maWx0ZXIoQm9vbGVhbik7XHJcblxyXG4gICAgcmV0dXJuIGVycm9ycy5sZW5ndGggPT09IGtleXMubGVuZ3RoID8gZXJyb3JzWzBdIDogbnVsbDtcclxuICB9XHJcbn1cclxuIl19
@@ -11,4 +11,4 @@ export * from './greater-than.validator';
11
11
  export * from './unique-email.validator';
12
12
  export * from './string/alpha-space.validator';
13
13
  export * from './match-sum.validator';
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvdmFsaWRhdG9ycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLDB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C52YWxpZGF0b3InO1xyXG5leHBvcnQgKiBmcm9tICcuL3N0cmluZy9hbHBoYS1zcGFjZS52YWxpZGF0b3InO1xyXG5leHBvcnQgKiBmcm9tICcuL21hdGNoLXN1bS52YWxpZGF0b3InO1xyXG4iXX0=
@@ -13,4 +13,4 @@ export function matchSumValidator(controlsFn) {
13
13
  return sum === targetValue ? null : { matchSum: true };
14
14
  };
15
15
  }
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0Y2gtc3VtLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi92YWxpZGF0b3JzL21hdGNoLXN1bS52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7OztHQUdHO0FBQ0gsTUFBTSxVQUFVLGlCQUFpQixDQUFDLFVBQW1DO0lBQ25FLE9BQU8sQ0FBQyxhQUE4QixFQUEyQixFQUFFO1FBQ2pFLE1BQU0sUUFBUSxHQUFzQixVQUFVLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQzVFLElBQUksUUFBUSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsRUFBRSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEtBQUssSUFBSSxDQUFDLEVBQUU7WUFDcEQsT0FBTyxJQUFJLENBQUM7U0FDYjtRQUNELE1BQU0sR0FBRyxHQUFHLFFBQVEsQ0FBQyxNQUFNLENBQUMsQ0FBQyxHQUFHLEVBQUUsT0FBTyxFQUFFLEVBQUUsQ0FBQyxHQUFHLEdBQUcsT0FBTyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsQ0FBQztRQUN0RSxNQUFNLFdBQVcsR0FBRyxhQUFhLENBQUMsS0FBSyxDQUFDO1FBRXhDL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WYWx1ZSA/IG51bGwgOiB7IG1hdGNoU3VtOiB0cnVlIH07XHJcbiAgfTtcclxufVxyXG4iXX0=
@@ -2,4 +2,4 @@ export var MessagesEnum;
2
2
  (function (MessagesEnum) {
3
3
  MessagesEnum["INVALID_DATE"] = "The date should not be before $1";
4
4
  })(MessagesEnum || (MessagesEnum = {}));
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi92YWxpZGF0b3JzL21pbi1kYXRlL21lc3NhZ2VzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFFWDtBQUZELFdBQVksWUFBWTtJQUN0QixpRUFBaUQsQ0FBQTtBQUNuRCxDQUFDLEVBRlcsWUFBWSxLQUFaLFlBQVksUUFFdkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBNZXNzYWdlc0VudW0ge1xuICBJTlZBTElEX0RBVEUgPSBgVGhlIGRhdGUgc2hvdWxkIG5vdCBiZSBiZWZvcmUgJDFgXG59XG4iXX0=
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi92YWxpZGF0b3JzL21pbi1kYXRlL21lc3NhZ2VzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksWUFFWDtBQUZELFdBQVksWUFBWTtJQUN0QixpRUFBaUQsQ0FBQTtBQUNuRCxDQUFDLEVBRlcsWUFBWSxLQUFaLFlBQVksUUFFdkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBNZXNzYWdlc0VudW0ge1xyXG4gIElOVkFMSURfREFURSA9IGBUaGUgZGF0ZSBzaG91bGQgbm90IGJlIGJlZm9yZSAkMWBcclxufVxyXG4iXX0=
@@ -15,4 +15,4 @@ export function minDateValidator(date, message = MessagesEnum.INVALID_DATE.repla
15
15
  return { minDate: message };
16
16
  };
17
17
  }
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWluLWRhdGUudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvbWluLWRhdGUvbWluLWRhdGUudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFM0M7O0dBRUc7QUFDSCxNQUFNLFVBQVUsZ0JBQWdCLENBQzlCLElBQVUsRUFDVixVQUFrQixZQUFZLENBQUMsWUFBWSxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsSUFBSSxRQUFRLENBQUMsT0FBTyxDQUFDLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBRWhHLE9BQU8sQ0FBQyxPQUF3QixFQUFvQixFQUFFO1FBQ3BELElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFO1lBQ2xCLE9BQU8sSUFBSSxDQUFDO1NBQ2I7UUFFRCw4R0FBOEc7UUFDOUcsSUFBSSxJQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLElBQUksSUFBS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hbHVlKSA+PSBuZXcgRGF0ZShkYXRlKSkge1xyXG4gICAgICByZXR1cm4gbnVsbDtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4ge21pbkRhdGU6IG1lc3NhZ2V9O1xyXG4gIH07XHJcbn1cclxuIl19
@@ -14,4 +14,4 @@ export function passwordMatchValidator(newPassControlName, confirmPassControlNam
14
14
  }
15
15
  };
16
16
  }
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQtbWF0Y2gudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvcGFzc3dvcmQtbWF0Y2gudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSxzQkFBc0IsQ0FBQyxrQkFBMEIsRUFBRSxzQkFBOEI7SUFDL0YsT0FBTyxDQUFDLEtBQXVCLEVBQUUsRUFBRTtRQUNqQyxNQUFNLGVBQWUsR0FBb0IsS0FBSyxDQUFDLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDO1FBQ3ZFLE1BQU0sY0FBYyxHQUFvQixLQUFLLENBQUMsR0FBRyxDQUFDLHNCQUFzQixDQUFDLENBQUM7UUFFMUUsSUFBSSxjQUFjLENBQUMsTUFBTSxJQUFJLENBQUMsY0FBYyxDQUFDLFFBQVEsQ0FBQyxrQkFBa0IsQ0FBQyxFQUFFO1lBQ3pFLCtFQUErRTtZQUMvRSxPQUFPLElBQUksQ0FBQztTQUNiO1FBRUQsSUFBSSxlQUFlLENBQUMsS0FBSyxLQUFLLGNBQWMsQ0FBQyxLQUFLLEVBQUU7WUFDbEQsY0FBYyxDQUFDLFNBQVMsQ0FBQyxFQUFFLGdCQUFnQixFQUFFLElBQUksRUFBRSxDQUFDLENB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gICB9XHJcblxyXG4gIH07XHJcbn1cclxuIl19
@@ -17,4 +17,4 @@ export function passwordValidator() {
17
17
  return null;
18
18
  };
19
19
  }
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvcGFzc3dvcmQudmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQThCO0lBQ3pELE1BQU0sRUFBRSx1RkFBdUY7SUFDL0YsTUFBTSxFQUFFLHVJQUF1STtJQUMvSSxNQUFNLEVBQUUseUJBQXlCO0NBQ2xDLENBQUM7QUFFRixNQUFNLFVBQVUsaUJBQWlCO0lBQy9CLE9BQU8sQ0FBQyxPQUEyQixFQUFFLEVBQUU7UUFDckMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFO1lBQ2hELE9BQU8sRUFBRSxlQUFlLEVBQUUsSUFBSSxFQUFFLENBQUE7U0FDakM7UUFFRCxJQUFJLENBQUMsZ0JBQWdCLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLEVBQUU7WUFDaEQsT0FBTyxFQUFFLFlBQVksRUFBRSxJQUFJLEVBQUUsQ0FBQTtTQUM5QjtRQUVELE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVudHlwZWRGb3JtQ29udHJvbCwgVmFsaWRhdG9yRm4gfSBmcm9tICdAYW5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oneNumberValidator() {
7
7
  return (control) => phonePattern.test(control.value) ? null : { phoneInvalid: true };
8
8
  }
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUtbnVtYmVyLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi92YWxpZGF0b3JzL3Bob25lLW51bWJlci52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxZQUFZLEdBQUcsNkNBQTZDLENBQUM7QUFFbkU7OztHQUdHO0FBQ0gsTUFBTSxVQUFVLG9CQUFvQjtJQUNsQyxPQUFPLENBQUMsT0FBMkIsRUFBRSxFQUFFLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBQyxZQUFZLEVBQUUsSUFBSSxFQUFDLENBQUM7QUFDekcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVudHlwZWRGb3JtQ29udHJvbCwgVmFsaWRhdG9yRm4gfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbmNvbnN0IHBob25lUGF0dGVybiA9IC9eKCgoXFxzKik/KFstICgpXT9cXGRbLSAoKV0/KXswLDMwfShcXHMqKT8pfCkkLztcblxuLyoqXG4gKiBWYWxpZGF0b3IgZm9yIHBob25lIG51bWJlclxuICogQWxsb3dlZCBzcGVjaWFsIHN5bWJvbHNcIi1cIiwgXCIoXCIsIFwiKVwiXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBwaG9uZU51bWJlclZhbGlkYXRvcigpOiBWYWxpZGF0b3JGbiB7XG4gIHJldHVybiAoY29udHJvbDogVW50eXBlZEZvcm1Db250cm9sKSA9PiB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9yRm4ge1xyXG4gIHJldHVybiAoY29udHJvbDogVW50eXBlZEZvcm1Db250cm9sKSA9PiBwaG9uZVBhdHRlcm4udGVzdChjb250cm9sLnZhbHVlKSA/IG51bGwgOiB7cGhvbmVJbnZhbGlkOiB0cnVlfTtcclxufVxyXG4iXX0=
@@ -9,4 +9,4 @@ export function requiredLengthValidator(length) {
9
9
  return null;
10
10
  };
11
11
  }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWlyZWQtbGVuZ3RoLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi92YWxpZGF0b3JzL3JlcXVpcmVkLWxlbmd0aC52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7O0dBRUc7QUFDSCxNQUFNLFVBQVUsdUJBQXVCLENBQUMsTUFBYztJQUNwRCxPQUFPLENBQUMsT0FBMkIsRUFBRSxFQUFFO1FBQ3JDLElBQUksT0FBTyxDQUFDLEtBQUssSUFBSSxPQUFPLENBQUMsS0FBSyxDQUFDLE1BQU0sS0FBSyxNQUFNLEVBQUU7WUFDcEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLEVBQUUsQ0FBQTtTQUNsQztRQUVELE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQyxDQUFDO0FBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVudHlwZWRGb3JtQ29udHJvbCwgVmFsaWRhdG9yRm4gfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbi8qKlxuICogVmFsaWRhdG9yIGNoZWNrIGlmIGVudGVyZWQgc3Ryb25nIGxlbmd0aCBpcyBlcXVhbCB0byBwYXNzZWQgbGVuZ3RoIHBhcmFtZXRlclxuICovXG5leHBvcnQg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RhdG9yIGNoZWNrIGlmIGVudGVyZWQgc3Ryb25nIGxlbmd0aCBpcyBlcXVhbCB0byBwYXNzZWQgbGVuZ3RoIHBhcmFtZXRlclxyXG4gKi9cclxuZXhwb3J0IGZ1bmN0aW9uIHJlcXVpcmVkTGVuZ3RoVmFsaWRhdG9yKGxlbmd0aDogbnVtYmVyKTogVmFsaWRhdG9yRm4ge1xyXG4gIHJldHVybiAoY29udHJvbDogVW50eXBlZEZvcm1Db250cm9sKSA9PiB7XHJcbiAgICBpZiAoY29udHJvbC52YWx1ZSAmJiBjb250cm9sLnZhbHVlLmxlbmd0aCAhPT0gbGVuZ3RoKSB7XHJcbiAgICAgIHJldHVybiB7IHJlcXVpcmVkTGVuZ3RoOiBsZW5ndGggfVxyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiBudWxsO1xyXG4gIH07XHJcbn1cclxuIl19
@@ -7,4 +7,4 @@ export function alphaSpaceValidator() {
7
7
  return valid ? null : { 'alphaSpace': true };
8
8
  };
9
9
  }
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxwaGEtc3BhY2UudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3ZhbGlkYXRvcnMvc3RyaW5nL2FscGhhLXNwYWNlLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7R0FFRztBQUNILE1BQU0sVUFBVSxtQkFBbUI7SUFDakMsT0FBTyxDQUFDLE9BQXdCLEVBQTJCLEVBQUU7UUFDM0QsTUFBTSxLQUFLLEdBQUcsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUN2QyxPQUFPLEtBQUssQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQU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SUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUN2QyxPQUFPLEtBQUssQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLFlBQVksRUFBRSxJQUFJLEVBQUUsQ0FBQztJQUMvQyxDQUFDLENBQUM7QUFDSixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQWJzdHJhY3RDb250cm9sLCBWYWxpZGF0aW9uRXJyb3JzLCBWYWxpZGF0b3JGbiB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcclxuXHJcbi8qKlxyXG4gKiBzaG91bGQgaW5jbHVkZSBhbHBoYStzcGFjZSBvbmx5LCBidXQgY3VycmVudGx5IGFsbG93IGFsbCBjaGFycyBleGNlcHQgQCBmb3IgdGVzdHNcclxuICovXHJcbmV4cG9ydCBmdW5jdGlvbiBhbHBoYVNwYWNlVmFsaWRhdG9yKCk6IFZhbGlkYXRvckZuIHtcclxuICByZXR1cm4gKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgfCBudWxsID0+IHtcclxuICAgIGNvbnN0IHZhbGlkID0gIS9ALy50ZXN0KGNvbnRyb2wudmFsdWUpO1xyXG4gICAgcmV0dXJuIHZhbGlkID8gbnVsbCA6IHsgJ2FscGhhU3BhY2UnOiB0cnVlIH07XHJcbiAgfTtcclxufVxyXG4iXX0=
@@ -16,4 +16,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
16
16
  type: Injectable,
17
17
  args: [{ providedIn: 'root' }]
18
18
  }], ctorParameters: () => [{ type: i1.UserService }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5pcXVlLWVtYWlsLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy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GU8VmFsaWRhdGlvbkVycm9ycyB8IG51bGw+IHtcclxuICAgIHJldHVybiB0aGlzLnVzZXJTZXJ2aWNlLnNlYXJjaChjb250cm9sLnZhbHVlKS5waXBlKFxyXG4gICAgICBtYXAodXNlciA9PiB1c2VyID8geyBlbWFpbElzVXNlZDogdHJ1ZSB9IDogbnVsbClcclxuICAgICk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -1 +1 @@
1
- {"version":3,"file":"taxtank-core-common.mjs","sources":["../../../projects/tt-core/common/src/services/mixpanel.service.ts","../../../projects/tt-core/common/src/db/enums/user/user-roles.enum.ts","../../../projects/tt-core/common/src/services/auth/jwt.service.ts","../../../projects/tt-core/common/src/services/auth/auth.service.ts","../../../projects/tt-core/common/src/services/auth/auth-messages.enum.ts","../../../projects/tt-core/common/src/interceptors/jwt-interceptor.ts","../../../projects/tt-core/common/src/interceptors/interceptors.module.ts","../../../projects/tt-core/common/src/common.module.ts","../../../projects/tt-core/common/taxtank-core-common.ts"],"sourcesContent":["import { Inject, Injectable } from '@angular/core';\nimport mixpanel from 'mixpanel-browser';\n\n/**\n * Service to work with mixpanel https://docs.mixpanel.com/docs/tracking/reference/javascript\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class MixpanelService {\n constructor(@Inject('environment') private environment: any) {}\n\n init(): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel.init(this.environment.mixpanelToken);\n }\n\n identify(id: string): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel.identify(id);\n mixpanel.people.set({ 'last seen': new Date(Date.now()).toLocaleString() })\n }\n\n reset(): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel.reset();\n }\n\n track(event: string, properties: { [key: string]: any } = {}): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel.track(event, properties);\n }\n\n trackLink(id: string, event: string): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel['track_links'](`#${id}`, event);\n }\n\n trackPageView(): void {\n if (!this.environment.enableMixpanel) {\n return;\n }\n\n mixpanel['track_pageview']();\n }\n}\n","export enum UserRolesEnum {\n FIRM_OWNER = 'ROLE_FIRM_OWNER',\n FIRM_MANAGER = 'ROLE_FIRM_MANAGER',\n FIRM_TOP_MANAGER = 'ROLE_FIRM_TOP_MANAGER',\n CLIENT = 'ROLE_CLIENT',\n EMPLOYEE = 'ROLE_EMPLOYEE',\n ACCOUNTANT = 'ROLE_ACCOUNTANT',\n ADVISOR = 'ROLE_ADVISOR',\n USER = 'ROLE_USER',\n SUBSCRIPTION = 'ROLE_USER_SUBSCRIPTION',\n WORK_TANK = 'ROLE_USER_WORK',\n PROPERTY_TANK = 'ROLE_USER_PROPERTY',\n SOLE_TANK = 'ROLE_USER_SOLE',\n HOLDING_TANK = 'ROLE_USER_HOLDING',\n SWITCH_USER = 'IS_IMPERSONATOR',\n}\n","import { Injectable, inject } from '@angular/core';\nimport { JwtHelperService } from '@auth0/angular-jwt';\nimport { MixpanelService } from '../mixpanel.service';\nimport { JwtDecodedInterface } from './jwt-decoded.interface';\nimport { BehaviorSubject } from 'rxjs';\nimport { AuthTokenInterface } from './auth-tokens.interface';\nimport { UserRolesEnum } from '../../db';\n\nconst NAME_TOKEN = 'token';\nconst NAME_REFRESH_TOKEN = 'refreshToken';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class JwtService extends JwtHelperService {\n private mpService: MixpanelService = inject(MixpanelService);\n isLoggedInSubject = new BehaviorSubject(!this.isTokenExpired());\n\n getToken(): string {\n return localStorage[NAME_TOKEN];\n }\n\n getRefreshToken(): string {\n return localStorage[NAME_REFRESH_TOKEN];\n }\n\n saveTokens(tokens: AuthTokenInterface): void {\n localStorage[NAME_TOKEN] = tokens.token;\n localStorage[NAME_REFRESH_TOKEN] = tokens.refreshToken;\n\n this.mpService.identify(this.decode(tokens.token).id.toString());\n this.isLoggedInSubject.next(true);\n }\n\n destroyTokens(): void {\n localStorage.removeItem(NAME_TOKEN);\n localStorage.removeItem(NAME_REFRESH_TOKEN);\n\n this.mpService.track('logout');\n this.mpService.reset();\n this.isLoggedInSubject.next(false);\n\n }\n\n decode(token?: string): JwtDecodedInterface {\n return super.decodeToken(token) as JwtDecodedInterface;\n }\n\n isClient(): boolean {\n return this.decode().roles.includes(UserRolesEnum.CLIENT);\n }\n\n isMe(userId: number): boolean {\n return this.decode().id === userId;\n }\n}\n","import { Inject, Injectable } from '@angular/core';\nimport { HttpClient, HttpErrorResponse } from '@angular/common/http';\nimport { JwtService } from './jwt.service';\nimport { map } from 'rxjs/operators';\nimport { AuthTokenInterface } from './auth-tokens.interface';\nimport { MixpanelService } from '../mixpanel.service';\nimport { UserRolesEnum } from '../../db';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AuthService {\n constructor(\n private http: HttpClient,\n private jwtService: JwtService,\n private mpService: MixpanelService,\n @Inject('environment') private environment: any\n ) {\n\n }\n\n setAuth(response: AuthTokenInterface) {\n this.jwtService.saveTokens(response);\n }\n\n login(username: string, password: string, role: UserRolesEnum = null) {\n return this.http.post(`${this.environment.apiV2}/login`, { username, password }).pipe(\n map((response: any) => {\n if (!role || this.jwtService.decodeToken(response.token).roles.includes(role)) {\n this.setAuth(response);\n } else {\n throw new HttpErrorResponse({\n error: { code: 401, message: 'Your TaxTank subscription is expired. Please reactivate your account to link the widget.' },\n status: 401,\n statusText: 'Unauthorized',\n })\n }\n\n return response;\n })\n );\n }\n\n refresh(refreshToken: string) {\n return this.http.post(`${this.environment.apiV2}/token/refresh`, { refreshToken }).pipe(\n map((response: any) => {\n this.setAuth(response);\n\n return response;\n })\n );\n }\n\n logoutFront(url = '/login'): void {\n this.jwtService.destroyTokens();\n localStorage.clear();\n location.replace(url);\n }\n}\n","export enum AuthMessagesEnum {\n ERROR_401 = 'Email or password is incorrect'\n}\n","import { BehaviorSubject, Observable, throwError as observableThrowError } from 'rxjs';\nimport { catchError, filter, finalize, switchMap, take } from 'rxjs/operators';\nimport { Inject, Injectable } from '@angular/core';\nimport { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\nimport { AuthService, JwtService } from '../services';\n\nconst MESSAGE_DEFAULT_500_ERROR = 'Unexpected error! Please try again later. You can send us via chat your questions.';\n\n/**\n * JWT Interceptor add jwt token to each request related with TaxTank API\n */\n@Injectable()\nexport class JwtInterceptor implements HttpInterceptor {\n isRefreshingToken = false;\n tokenSubject: BehaviorSubject<string> = new BehaviorSubject<string>(null);\n\n constructor(\n public jwtService: JwtService,\n private authService: AuthService,\n @Inject('environment') private environment: any\n ) {}\n\n addToken(req: HttpRequest<any>): HttpRequest<any> {\n return req.clone({\n setHeaders: { Authorization: 'Bearer ' + this.jwtService.getToken() },\n withCredentials: true\n });\n }\n\n intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\n // skip third party requests\n if (!request.url.includes(this.environment.apiV2)) {\n return next.handle(request);\n }\n\n // add token to every api request\n return next.handle(this.addToken(request)).pipe(\n // handle errors\n catchError((err: HttpErrorResponse) => {\n if (err instanceof HttpErrorResponse) {\n switch ((err as HttpErrorResponse).status) {\n // unexpected errors\n case 405:\n case 500:\n this.handle500Error();\n break;\n // expected errors\n case 401:\n return this.handle401Error(request, next, err);\n case 400:\n case 403:\n // @TODO in most cases 404 is not an error, handle in components\n // case 404:\n this.showErrorMessages(err);\n break;\n }\n }\n\n return observableThrowError(err);\n })\n );\n }\n\n /**\n * @TODO log\n * @TODO waiting for backend to handle errors in a better way\n */\n handle400Error(err: HttpErrorResponse): void {\n // this.snackBar.open(err.error['hydra:description'], '', {\n // panelClass: 'error'\n // });\n }\n\n /**\n * @TODO log\n * @TODO waiting for backend to handle errors in a better way\n */\n handle403Error(err: HttpErrorResponse): void {\n // this.snackBar.open(err.error['hydra:description'], '', {\n // panelClass: 'error'\n // });\n }\n\n /**\n * @TODO log\n */\n handle500Error(): void {\n // this.snackBar.open(MESSAGE_DEFAULT_500_ERROR, '', {\n // panelClass: 'error'\n // });\n }\n\n handle401Error(req: HttpRequest<any>, next: HttpHandler, err: HttpErrorResponse) {\n // skip 401 errors not from JWT (basiq login case or other)\n if (!err.error.message?.includes('JWT Token')) {\n return observableThrowError(err);\n }\n\n if (req.url.includes('token/refresh') || req.url.includes('login')) {\n if (req.url.includes('token/refresh')) {\n this.authService.logoutFront();\n }\n\n return observableThrowError(err);\n }\n\n // refreshing token, wait until it's done and retry the request\n if (this.isRefreshingToken) {\n return this.tokenSubject.pipe(\n filter(token => token != null),\n take(1),\n switchMap(token => next.handle(this.addToken(req)))\n );\n // refresh token\n }\n // subsequent requests should wait until refresh token is ready\n this.isRefreshingToken = true;\n this.tokenSubject.next(null);\n\n return this.authService.refresh(this.jwtService.getRefreshToken()).pipe(\n switchMap((tokens: { token: string, refreshToken: string }) => {\n this.tokenSubject.next(tokens.token);\n return next.handle(this.addToken(req));\n }),\n catchError(() => {\n this.authService.logoutFront();\n return observableThrowError(err);\n }),\n finalize(() => {\n this.isRefreshingToken = false;\n })\n );\n\n }\n\n /**\n * Handle error messages\n * @param errorResponse from which messages should be taken\n *\n * @TODO move to separated interceptor\n */\n private showErrorMessages(errorResponse: HttpErrorResponse): void {\n if (!errorResponse.error.violations) {\n // this.snackBar.open('Something went wrong', '', {\n // panelClass: 'error'\n // });\n\n return;\n }\n errorResponse.error.violations.forEach((violation: object): void => {\n // this.snackBar.open(violation['message'], '', {\n // panelClass: 'error'\n // });\n });\n }\n}\n","import { NgModule } from '@angular/core';\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { JwtInterceptor } from './jwt-interceptor';\r\n\r\n@NgModule({\r\n providers: [\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: JwtInterceptor,\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class InterceptorsModule {\r\n}\r\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CommonModule as AngularCommonModule } from '@angular/common';\nimport { InterceptorsModule } from './interceptors/interceptors.module';\n\n/**\n * https://angular.io/guide/creating-libraries\n */\n@NgModule({\n declarations: [],\n imports: [\n AngularCommonModule,\n InterceptorsModule\n ]\n})\nexport class CommonModule {\n public static forRoot(environment: object): ModuleWithProviders<CommonModule> {\n // @TODO remove when bank model refactored (the only use case)\n localStorage.setItem('api_uri', environment['api_uri']);\n\n return {\n ngModule: CommonModule,\n providers: [\n {\n provide: 'environment',\n useValue: environment\n }\n ]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["observableThrowError","AngularCommonModule"],"mappings":";;;;;;;;;;AAGA;;AAEG;MAIU,eAAe,CAAA;AAC1B,IAAA,WAAA,CAA2C,WAAgB,EAAA;QAAhB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAK;KAAI;IAE/D,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;YACpC,OAAO;AACR,SAAA;QAED,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;KAC/C;AAED,IAAA,QAAQ,CAAC,EAAU,EAAA;AACjB,QAAA,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;YACpC,OAAO;AACR,SAAA;AAED,QAAA,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACtB,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,CAAA;KAC5E;IAED,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;YACpC,OAAO;AACR,SAAA;QAED,QAAQ,CAAC,KAAK,EAAE,CAAC;KAClB;AAED,IAAA,KAAK,CAAC,KAAa,EAAE,UAAA,GAAqC,EAAE,EAAA;AAC1D,QAAA,IAAI,CAAC,IAAI,CAAC,WAA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G;MAQU,YAAY,CAAA;IAChB,OAAO,OAAO,CAAC,WAAmB,EAAA;;QAEvC,YAAY,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC;QAExD,OAAO;AACL,YAAA,QAAQ,EAAE,YAAY;AACtB,YAAA,SAAS,EAAE;AACT,gBAAA;AACE,oBAAA,OAAO,EAAE,aAAa;AACtB,oBAAA,QAAQ,EAAE,WAAW;AACtB,iBAAA;AACF,aAAA;SACF,CAAC;KACH;+GAdU,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJrBC,cAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJrBA,cAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGT,YAAY,EAAA,UAAA,EAAA,CAAA;kBAPxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACPA,cAAmB;wBACnB,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
1
+ {"version":3,"file":"taxtank-core-common.mjs","sources":["../../../projects/tt-core/common/src/services/mixpanel.service.ts","../../../projects/tt-core/common/src/db/enums/user/user-roles.enum.ts","../../../projects/tt-core/common/src/services/auth/jwt.service.ts","../../../projects/tt-core/common/src/services/auth/auth.service.ts","../../../projects/tt-core/common/src/services/auth/auth-messages.enum.ts","../../../projects/tt-core/common/src/interceptors/jwt-interceptor.ts","../../../projects/tt-core/common/src/interceptors/interceptors.module.ts","../../../projects/tt-core/common/src/common.module.ts","../../../projects/tt-core/common/taxtank-core-common.ts"],"sourcesContent":["import { Inject, Injectable } from '@angular/core';\r\nimport mixpanel from 'mixpanel-browser';\r\n\r\n/**\r\n * Service to work with mixpanel https://docs.mixpanel.com/docs/tracking/reference/javascript\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MixpanelService {\r\n constructor(@Inject('environment') private environment: any) {}\r\n\r\n init(): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel.init(this.environment.mixpanelToken);\r\n }\r\n\r\n identify(id: string): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel.identify(id);\r\n mixpanel.people.set({ 'last seen': new Date(Date.now()).toLocaleString() })\r\n }\r\n\r\n reset(): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel.reset();\r\n }\r\n\r\n track(event: string, properties: { [key: string]: any } = {}): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel.track(event, properties);\r\n }\r\n\r\n trackLink(id: string, event: string): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel['track_links'](`#${id}`, event);\r\n }\r\n\r\n trackPageView(): void {\r\n if (!this.environment.enableMixpanel) {\r\n return;\r\n }\r\n\r\n mixpanel['track_pageview']();\r\n }\r\n}\r\n","export enum UserRolesEnum {\r\n FIRM_OWNER = 'ROLE_FIRM_OWNER',\r\n FIRM_MANAGER = 'ROLE_FIRM_MANAGER',\r\n FIRM_TOP_MANAGER = 'ROLE_FIRM_TOP_MANAGER',\r\n CLIENT = 'ROLE_CLIENT',\r\n EMPLOYEE = 'ROLE_EMPLOYEE',\r\n ACCOUNTANT = 'ROLE_ACCOUNTANT',\r\n ADVISOR = 'ROLE_ADVISOR',\r\n USER = 'ROLE_USER',\r\n SUBSCRIPTION = 'ROLE_USER_SUBSCRIPTION',\r\n WORK_TANK = 'ROLE_USER_WORK',\r\n PROPERTY_TANK = 'ROLE_USER_PROPERTY',\r\n SOLE_TANK = 'ROLE_USER_SOLE',\r\n HOLDING_TANK = 'ROLE_USER_HOLDING',\r\n SWITCH_USER = 'IS_IMPERSONATOR',\r\n}\r\n","import { Injectable, inject } from '@angular/core';\r\nimport { JwtHelperService } from '@auth0/angular-jwt';\r\nimport { MixpanelService } from '../mixpanel.service';\r\nimport { JwtDecodedInterface } from './jwt-decoded.interface';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { AuthTokenInterface } from './auth-tokens.interface';\r\nimport { UserRolesEnum } from '../../db';\r\n\r\nconst NAME_TOKEN = 'token';\r\nconst NAME_REFRESH_TOKEN = 'refreshToken';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class JwtService extends JwtHelperService {\r\n private mpService: MixpanelService = inject(MixpanelService);\r\n isLoggedInSubject = new BehaviorSubject(!this.isTokenExpired());\r\n\r\n getToken(): string {\r\n return localStorage[NAME_TOKEN];\r\n }\r\n\r\n getRefreshToken(): string {\r\n return localStorage[NAME_REFRESH_TOKEN];\r\n }\r\n\r\n saveTokens(tokens: AuthTokenInterface): void {\r\n localStorage[NAME_TOKEN] = tokens.token;\r\n localStorage[NAME_REFRESH_TOKEN] = tokens.refreshToken;\r\n\r\n this.mpService.identify(this.decode(tokens.token).id.toString());\r\n this.isLoggedInSubject.next(true);\r\n }\r\n\r\n destroyTokens(): void {\r\n localStorage.removeItem(NAME_TOKEN);\r\n localStorage.removeItem(NAME_REFRESH_TOKEN);\r\n\r\n this.mpService.track('logout');\r\n this.mpService.reset();\r\n this.isLoggedInSubject.next(false);\r\n\r\n }\r\n\r\n decode(token?: string): JwtDecodedInterface {\r\n return super.decodeToken(token) as JwtDecodedInterface;\r\n }\r\n\r\n isClient(): boolean {\r\n return this.decode().roles.includes(UserRolesEnum.CLIENT);\r\n }\r\n\r\n isMe(userId: number): boolean {\r\n return this.decode().id === userId;\r\n }\r\n}\r\n","import { Inject, Injectable } from '@angular/core';\r\nimport { HttpClient, HttpErrorResponse } from '@angular/common/http';\r\nimport { JwtService } from './jwt.service';\r\nimport { map } from 'rxjs/operators';\r\nimport { AuthTokenInterface } from './auth-tokens.interface';\r\nimport { MixpanelService } from '../mixpanel.service';\r\nimport { UserRolesEnum } from '../../db';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthService {\r\n constructor(\r\n private http: HttpClient,\r\n private jwtService: JwtService,\r\n private mpService: MixpanelService,\r\n @Inject('environment') private environment: any\r\n ) {\r\n\r\n }\r\n\r\n setAuth(response: AuthTokenInterface) {\r\n this.jwtService.saveTokens(response);\r\n }\r\n\r\n login(username: string, password: string, role: UserRolesEnum = null) {\r\n return this.http.post(`${this.environment.apiV2}/login`, { username, password }).pipe(\r\n map((response: any) => {\r\n if (!role || this.jwtService.decodeToken(response.token).roles.includes(role)) {\r\n this.setAuth(response);\r\n } else {\r\n throw new HttpErrorResponse({\r\n error: { code: 401, message: 'Your TaxTank subscription is expired. Please reactivate your account to link the widget.' },\r\n status: 401,\r\n statusText: 'Unauthorized',\r\n })\r\n }\r\n\r\n return response;\r\n })\r\n );\r\n }\r\n\r\n refresh(refreshToken: string) {\r\n return this.http.post(`${this.environment.apiV2}/token/refresh`, { refreshToken }).pipe(\r\n map((response: any) => {\r\n this.setAuth(response);\r\n\r\n return response;\r\n })\r\n );\r\n }\r\n\r\n logoutFront(url = '/login'): void {\r\n this.jwtService.destroyTokens();\r\n localStorage.clear();\r\n location.replace(url);\r\n }\r\n}\r\n","export enum AuthMessagesEnum {\r\n ERROR_401 = 'Email or password is incorrect'\r\n}\r\n","import { BehaviorSubject, Observable, throwError as observableThrowError } from 'rxjs';\r\nimport { catchError, filter, finalize, switchMap, take } from 'rxjs/operators';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\r\nimport { AuthService, JwtService } from '../services';\r\n\r\nconst MESSAGE_DEFAULT_500_ERROR = 'Unexpected error! Please try again later. You can send us via chat your questions.';\r\n\r\n/**\r\n * JWT Interceptor add jwt token to each request related with TaxTank API\r\n */\r\n@Injectable()\r\nexport class JwtInterceptor implements HttpInterceptor {\r\n isRefreshingToken = false;\r\n tokenSubject: BehaviorSubject<string> = new BehaviorSubject<string>(null);\r\n\r\n constructor(\r\n public jwtService: JwtService,\r\n private authService: AuthService,\r\n @Inject('environment') private environment: any\r\n ) {}\r\n\r\n addToken(req: HttpRequest<any>): HttpRequest<any> {\r\n return req.clone({\r\n setHeaders: { Authorization: 'Bearer ' + this.jwtService.getToken() },\r\n withCredentials: true\r\n });\r\n }\r\n\r\n intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\r\n // skip third party requests\r\n if (!request.url.includes(this.environment.apiV2)) {\r\n return next.handle(request);\r\n }\r\n\r\n // add token to every api request\r\n return next.handle(this.addToken(request)).pipe(\r\n // handle errors\r\n catchError((err: HttpErrorResponse) => {\r\n if (err instanceof HttpErrorResponse) {\r\n switch ((err as HttpErrorResponse).status) {\r\n // unexpected errors\r\n case 405:\r\n case 500:\r\n this.handle500Error();\r\n break;\r\n // expected errors\r\n case 401:\r\n return this.handle401Error(request, next, err);\r\n case 400:\r\n case 403:\r\n // @TODO in most cases 404 is not an error, handle in components\r\n // case 404:\r\n this.showErrorMessages(err);\r\n break;\r\n }\r\n }\r\n\r\n return observableThrowError(err);\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * @TODO log\r\n * @TODO waiting for backend to handle errors in a better way\r\n */\r\n handle400Error(err: HttpErrorResponse): void {\r\n // this.snackBar.open(err.error['hydra:description'], '', {\r\n // panelClass: 'error'\r\n // });\r\n }\r\n\r\n /**\r\n * @TODO log\r\n * @TODO waiting for backend to handle errors in a better way\r\n */\r\n handle403Error(err: HttpErrorResponse): void {\r\n // this.snackBar.open(err.error['hydra:description'], '', {\r\n // panelClass: 'error'\r\n // });\r\n }\r\n\r\n /**\r\n * @TODO log\r\n */\r\n handle500Error(): void {\r\n // this.snackBar.open(MESSAGE_DEFAULT_500_ERROR, '', {\r\n // panelClass: 'error'\r\n // });\r\n }\r\n\r\n handle401Error(req: HttpRequest<any>, next: HttpHandler, err: HttpErrorResponse) {\r\n // skip 401 errors not from JWT (basiq login case or other)\r\n if (!err.error.message?.includes('JWT Token')) {\r\n return observableThrowError(err);\r\n }\r\n\r\n if (req.url.includes('token/refresh') || req.url.includes('login')) {\r\n if (req.url.includes('token/refresh')) {\r\n this.authService.logoutFront();\r\n }\r\n\r\n return observableThrowError(err);\r\n }\r\n\r\n // refreshing token, wait until it's done and retry the request\r\n if (this.isRefreshingToken) {\r\n return this.tokenSubject.pipe(\r\n filter(token => token != null),\r\n take(1),\r\n switchMap(token => next.handle(this.addToken(req)))\r\n );\r\n // refresh token\r\n }\r\n // subsequent requests should wait until refresh token is ready\r\n this.isRefreshingToken = true;\r\n this.tokenSubject.next(null);\r\n\r\n return this.authService.refresh(this.jwtService.getRefreshToken()).pipe(\r\n switchMap((tokens: { token: string, refreshToken: string }) => {\r\n this.tokenSubject.next(tokens.token);\r\n return next.handle(this.addToken(req));\r\n }),\r\n catchError(() => {\r\n this.authService.logoutFront();\r\n return observableThrowError(err);\r\n }),\r\n finalize(() => {\r\n this.isRefreshingToken = false;\r\n })\r\n );\r\n\r\n }\r\n\r\n /**\r\n * Handle error messages\r\n * @param errorResponse from which messages should be taken\r\n *\r\n * @TODO move to separated interceptor\r\n */\r\n private showErrorMessages(errorResponse: HttpErrorResponse): void {\r\n if (!errorResponse.error.violations) {\r\n // this.snackBar.open('Something went wrong', '', {\r\n // panelClass: 'error'\r\n // });\r\n\r\n return;\r\n }\r\n errorResponse.error.violations.forEach((violation: object): void => {\r\n // this.snackBar.open(violation['message'], '', {\r\n // panelClass: 'error'\r\n // });\r\n });\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { JwtInterceptor } from './jwt-interceptor';\r\n\r\n@NgModule({\r\n providers: [\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: JwtInterceptor,\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class InterceptorsModule {\r\n}\r\n","import { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { CommonModule as AngularCommonModule } from '@angular/common';\r\nimport { InterceptorsModule } from './interceptors/interceptors.module';\r\n\r\n/**\r\n * https://angular.io/guide/creating-libraries\r\n */\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n AngularCommonModule,\r\n InterceptorsModule\r\n ]\r\n})\r\nexport class CommonModule {\r\n public static forRoot(environment: object): ModuleWithProviders<CommonModule> {\r\n // @TODO remove when bank model refactored (the only use case)\r\n localStorage.setItem('api_uri', environment['api_uri']);\r\n\r\n return {\r\n ngModule: CommonModule,\r\n providers: [\r\n {\r\n provide: 'environment',\r\n useValue: environment\r\n }\r\n ]\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["observableThrowError","AngularCommonModule"],"mappings":";;;;;;;;;;AAGA;;AAEG;MAIU,eAAe,CAAA;AAC1B,IAAA,WAAA,CAA2C,WAAgB,EAAA;QAAhB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAK;KAAI;IAE/D,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;YACpC,OAAO;AACR,SAAA;QAED,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;KAC/C;AAED,IAAA,QAAQ,CAAC,EAAU,EAAA;AACjB,QAAA,IAAI,C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A,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJrBA,cAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGT,YAAY,EAAA,UAAA,EAAA,CAAA;kBAPxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACPA,cAAmB;wBACnB,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
@@ -23261,8 +23261,9 @@ class AllocationRuleTransactionForm extends AbstractForm {
23261
23261
  this.get('tax').setValue(0);
23262
23262
  return;
23263
23263
  }
23264
- // prefill salary tax with its income source forecast
23265
- if (incomeSource instanceof IncomeSource && incomeSource.isWorkIncome() && !this.get('tax').value) {
23264
+ // prefill salary tax with its income source forecast in case if we have at least 1 salaryForecasts
23265
+ if (incomeSource instanceof IncomeSource && incomeSource.isWorkIncome() && !this.get('tax').value
23266
+ && incomeSource.salaryForecasts.length) {
23266
23267
  this.get('tax').setValue(incomeSource.salaryForecasts[0].taxWithheld);
23267
23268
  }
23268
23269
  });
@@ -23699,9 +23700,10 @@ class WorkIncomeForm extends WorkTransactionForm {
23699
23700
  if (allocations.length || transaction.operation === TransactionOperationEnum.ALLOCATE) {
23700
23701
  this.get('amount').disable();
23701
23702
  }
23702
- // prefill tax value for preselected salary income source
23703
- if (!this.get('tax').value && transaction.incomeSource && transaction.incomeSource.isWorkIncome()) {
23704
- this.updateTaxValue(transaction.incomeSource);
23703
+ // prefill tax value for preselected salary income source in case if we have at least 1 salaryForecast
23704
+ if (!this.get('tax').value && transaction.incomeSource && transaction.incomeSource.isWorkIncome()
23705
+ && transaction.incomeSource.salaryForecasts.length) {
23706
+ this.updateTaxValue(transaction.incomeSource.salaryForecasts[0]);
23705
23707
  }
23706
23708
  this.listenEvents();
23707
23709
  }
@@ -23711,14 +23713,15 @@ class WorkIncomeForm extends WorkTransactionForm {
23711
23713
  }
23712
23714
  watchIncomeSource() {
23713
23715
  this.get('incomeSource').valueChanges.subscribe((incomeSource) => {
23714
- // prefill salary tax with its income source forecast
23715
- if (incomeSource instanceof IncomeSource && incomeSource.isWorkIncome() && !this.get('tax').value) {
23716
- this.updateTaxValue(incomeSource);
23716
+ // prefill salary tax with its income source forecast in case if we have at least 1 salaryForecast
23717
+ if (incomeSource instanceof IncomeSource && incomeSource.isWorkIncome() && !this.get('tax').value
23718
+ && incomeSource.salaryForecasts.length) {
23719
+ this.updateTaxValue(incomeSource.salaryForecasts[0]);
23717
23720
  }
23718
23721
  });
23719
23722
  }
23720
- updateTaxValue(incomeSource) {
23721
- this.get('tax').setValue(incomeSource.salaryForecasts[0].taxWithheld);
23723
+ updateTaxValue(salaryForecast) {
23724
+ this.get('tax').setValue(salaryForecast.taxWithheld);
23722
23725
  }
23723
23726
  watchChartAccounts() {
23724
23727
  super.watchChartAccounts();