taxtank-core 0.33.71 → 0.33.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.71",
3
+ "version": "0.33.73",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -6,6 +6,7 @@ import { AbstractModel } from './abstract-model';
6
6
  */
7
7
  export declare abstract class ObservableModel extends AbstractModel {
8
8
  /**
9
+ * @TODO abstract method?
9
10
  * required, because class's name is minified in prod
10
11
  */
11
12
  static className: string;
@@ -1,9 +1,10 @@
1
1
  import { User } from '../user';
2
2
  import { HoldingType } from './holding-type';
3
3
  import { AppFile } from '../file';
4
- import { AbstractModel } from '../../db/Models';
4
+ import { ObservableModel } from '../../db/Models';
5
5
  import { HoldingTradeTypeEnum, HoldingTypeCategoryEnum } from '../../db/Enums';
6
- export declare class HoldingTrade extends AbstractModel {
6
+ export declare class HoldingTrade extends ObservableModel {
7
+ static className: string;
7
8
  isTaxFree: boolean;
8
9
  quantity: number;
9
10
  ownershipPercent?: number;
@@ -48,13 +48,10 @@ export declare class PropertyEquityChartData {
48
48
  * Get property loan balance by financial year
49
49
  * @param property Property instance for filter
50
50
  * @param year Financial year number
51
- * @param bankAccounts List of bank accounts
52
- * @param loans List of loans
53
51
  * @private
54
52
  */
55
53
  private getLoanBalanceByYear;
56
54
  getMarketValueForPropertyByYear(property: Property, year: number): number;
57
- getLoanBalanceForPropertyByYear(property: Property, year: number): number;
58
55
  /**
59
56
  * Check if loan balance is 0 and set it as null (to not to draw point on the chart)
60
57
  */
@@ -16,8 +16,8 @@ export declare class HoldingTypeService extends RestService<HoldingTypeBase, Hol
16
16
  roles: UserRolesEnum[];
17
17
  constructor(environment: any);
18
18
  search(query: string, category?: HoldingTypeCategoryEnum): Observable<HoldingTypeCollection>;
19
- getCurrent(): Observable<HoldingTypeCollection>;
20
19
  listenEvents(): void;
20
+ private listenNotifications;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<HoldingTypeService, never>;
22
22
  static ɵprov: i0.ɵɵInjectableDeclaration<HoldingTypeService>;
23
23
  }
@@ -5,6 +5,6 @@ export declare enum UserMessagesEnum {
5
5
  DELETE = "Closing your account will mean you won't be able to access this account again. It will also revoke consent for all banks and delete all transaction data. This can not be undone.",
6
6
  SHARESIGHT_CONNECTED = "Login success, importing financial data",
7
7
  SHARESIGHT_DISCONNECTED = "Sharesight disconnected",
8
- SHARESIGHT_DISCONNECT_CONFIRM = "Are you sure?",
8
+ SHARESIGHT_DISCONNECT_CONFIRM = "Disconnecting ShareSight means we can no longer sync data. Any trades already imported will become editable in TaxTank.",
9
9
  SHARESIGHT_ERROR = "Sharesight connection error"
10
10
  }