taxtank-core 0.31.26 → 0.31.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/esm2020/lib/collections/user-event-type-collection.mjs +5 -1
  2. package/esm2020/lib/db/Models/client/annual-client-details.mjs +1 -1
  3. package/esm2020/lib/db/Models/client/client-details.mjs +1 -1
  4. package/esm2020/lib/forms/report/my-tax/my-tax-medicare.form.mjs +10 -5
  5. package/esm2020/lib/interfaces/index.mjs +2 -2
  6. package/esm2020/lib/interfaces/mp-trackable.interface.mjs +2 -0
  7. package/esm2020/lib/models/budget/budget.mjs +4 -1
  8. package/esm2020/lib/models/client/annual-client-details.mjs +13 -1
  9. package/esm2020/lib/models/client/client-income-types.mjs +4 -1
  10. package/esm2020/lib/models/dictionary/dictionary.mjs +8 -1
  11. package/esm2020/lib/models/user/user.mjs +7 -2
  12. package/esm2020/lib/models/user-event/user-event-setting.mjs +4 -1
  13. package/esm2020/lib/models/user-event/user-event-type.mjs +6 -2
  14. package/esm2020/lib/services/auth/auth.service.mjs +15 -5
  15. package/esm2020/lib/services/http/facebook/facebook.service.mjs +8 -4
  16. package/esm2020/lib/services/http/google/google.service.mjs +8 -4
  17. package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +4 -1
  18. package/esm2020/lib/services/http/rest/rest-old.service.mjs +4 -2
  19. package/esm2020/lib/services/http/rest/rest.service.mjs +11 -2
  20. package/esm2020/lib/services/http/user/financial-year/financial-year.service.mjs +7 -4
  21. package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +7 -34
  22. package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +7 -4
  23. package/esm2020/lib/services/http/user/user.service.mjs +40 -7
  24. package/esm2020/lib/services/index.mjs +2 -1
  25. package/esm2020/lib/services/mixpanel/mixpanel.service.mjs +47 -0
  26. package/fesm2015/taxtank-core.mjs +289 -162
  27. package/fesm2015/taxtank-core.mjs.map +1 -1
  28. package/fesm2020/taxtank-core.mjs +287 -162
  29. package/fesm2020/taxtank-core.mjs.map +1 -1
  30. package/lib/collections/user-event-type-collection.d.ts +2 -0
  31. package/lib/db/Models/client/annual-client-details.d.ts +2 -0
  32. package/lib/db/Models/client/client-details.d.ts +0 -5
  33. package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts +6 -3
  34. package/lib/interfaces/index.d.ts +1 -1
  35. package/lib/interfaces/mp-trackable.interface.d.ts +5 -0
  36. package/lib/models/budget/budget.d.ts +3 -1
  37. package/lib/models/client/annual-client-details.d.ts +12 -1
  38. package/lib/models/client/client-income-types.d.ts +8 -1
  39. package/lib/models/dictionary/dictionary.d.ts +2 -0
  40. package/lib/models/user/user.d.ts +7 -3
  41. package/lib/models/user-event/user-event-setting.d.ts +8 -1
  42. package/lib/models/user-event/user-event-type.d.ts +1 -0
  43. package/lib/services/auth/auth.service.d.ts +3 -1
  44. package/lib/services/http/facebook/facebook.service.d.ts +3 -1
  45. package/lib/services/http/google/google.service.d.ts +3 -1
  46. package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts +2 -0
  47. package/lib/services/http/rest/rest-old.service.d.ts +2 -0
  48. package/lib/services/http/rest/rest.service.d.ts +2 -0
  49. package/lib/services/http/user/financial-year/financial-year.service.d.ts +3 -1
  50. package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts +7 -9
  51. package/lib/services/http/user/user-event-type/user-event-type.service.d.ts +7 -4
  52. package/lib/services/index.d.ts +1 -0
  53. package/lib/services/mixpanel/mixpanel.service.d.ts +16 -0
  54. package/package.json +3 -1
  55. package/esm2020/lib/interfaces/table-exportable.interface.mjs +0 -2
  56. package/esm2020/lib/models/export/export-row-data-type.enum.mjs +0 -10
  57. package/esm2020/lib/models/export/export-row.mjs +0 -6
  58. package/lib/interfaces/table-exportable.interface.d.ts +0 -7
  59. package/lib/models/export/export-row-data-type.enum.d.ts +0 -8
  60. package/lib/models/export/export-row.d.ts +0 -8
@@ -1,7 +1,9 @@
1
1
  import { Collection } from './collection';
2
2
  import { UserEventType } from '../models/user-event/user-event-type';
3
+ import { UserEventSettingCollection } from './user-event-setting.collection';
3
4
  /**
4
5
  * Collection of user event settings
5
6
  */
6
7
  export declare class UserEventTypeCollection extends Collection<UserEventType> {
8
+ toSettings(): UserEventSettingCollection;
7
9
  }
@@ -9,4 +9,6 @@ export declare class AnnualClientDetails {
9
9
  id?: number;
10
10
  financialYear?: number;
11
11
  clientDetails?: ClientDetails;
12
+ reportableFringeBenefits?: number;
13
+ exemptForeignEmploymentIncome?: number;
12
14
  }
@@ -11,11 +11,6 @@ export declare class ClientDetails extends AbstractModel {
11
11
  isAustralianResident?: boolean;
12
12
  taxFileNumber?: string;
13
13
  workDepreciationCalculation?: ClientDetailsWorkDepreciationCalculationEnum;
14
- privateHealthCare?: boolean;
15
- spouse?: boolean;
16
- spouseAnnualIncome?: number;
17
- studentLoanAmount?: number;
18
- dependants?: number;
19
14
  medicareExemption?: ClientDetailsMedicareExemptionEnum;
20
15
  pensionersTax?: boolean;
21
16
  workingHolidayMaker?: ClientDetailsWorkingHolidayMakerEnum;
@@ -1,8 +1,11 @@
1
1
  import { AbstractForm } from '../../abstract.form';
2
- import { User } from '../../../models/user/user';
3
- import { IEventListener } from '../../../interfaces/event-listener.interface';
2
+ import { AnnualClientDetails, User } from '../../../models';
3
+ import { IEventListener } from '../../../interfaces';
4
+ /**
5
+ * @TODO separate into 2 forms
6
+ */
4
7
  export declare class MyTaxMedicareForm extends AbstractForm<object> implements IEventListener {
5
- constructor(user: User);
8
+ constructor(user: User, annualClientDetails?: AnnualClientDetails);
6
9
  listenEvents(): void;
7
10
  private listenHasDependantsChanged;
8
11
  private listenHasMedicareExemptionChanged;
@@ -10,6 +10,6 @@ export * from './event-listener.interface';
10
10
  export * from './expense.interface';
11
11
  export * from './income-source-forecast.interface';
12
12
  export * from './option.interface';
13
- export * from './table-exportable.interface';
14
13
  export * from './tank.interface';
15
14
  export * from './updatable.interface';
15
+ export * from './mp-trackable.interface';
@@ -0,0 +1,5 @@
1
+ export interface MpTrackableInterface {
2
+ get mpData(): {
3
+ [key: string]: any;
4
+ };
5
+ }
@@ -2,8 +2,10 @@ import { Budget as BudgetBase } from '../../db/Models/budget/budget';
2
2
  import { BudgetRule } from './budget-rule';
3
3
  import { User } from '../user';
4
4
  import { Collection } from '../../collections';
5
- export declare class Budget extends BudgetBase {
5
+ import { MpTrackableInterface } from '../../interfaces';
6
+ export declare class Budget extends BudgetBase implements MpTrackableInterface {
6
7
  rules: BudgetRule[];
7
8
  user: User;
8
9
  get rulesCollection(): Collection<BudgetRule>;
10
+ get mpData(): {};
9
11
  }
@@ -1,6 +1,7 @@
1
1
  import { AbstractModel } from '../../db/Models';
2
2
  import { ClientDetails } from './client-details';
3
- export declare class AnnualClientDetails extends AbstractModel {
3
+ import { MpTrackableInterface } from '../../interfaces';
4
+ export declare class AnnualClientDetails extends AbstractModel implements MpTrackableInterface {
4
5
  capitalLoss: number;
5
6
  privateHealthCare: boolean;
6
7
  spouse: boolean;
@@ -12,4 +13,14 @@ export declare class AnnualClientDetails extends AbstractModel {
12
13
  exemptForeignEmploymentIncome?: number;
13
14
  clientDetails: ClientDetails;
14
15
  get spouseMonthlyIncome(): number;
16
+ get mpData(): {
17
+ capitalLoss: number;
18
+ privateHealthCare: boolean;
19
+ spouse: boolean;
20
+ dependants: number;
21
+ studentLoanAmount: number;
22
+ financialYear: number;
23
+ reportableFringeBenefits: number;
24
+ exemptForeignEmploymentIncome: number;
25
+ };
15
26
  }
@@ -1,7 +1,14 @@
1
1
  import { ClientIncomeTypes as ClientIncomeTypesBase } from '../../db/Models/client/client-income-types';
2
- export declare class ClientIncomeTypes extends ClientIncomeTypesBase {
2
+ import { MpTrackableInterface } from '../../interfaces';
3
+ export declare class ClientIncomeTypes extends ClientIncomeTypesBase implements MpTrackableInterface {
3
4
  /**
4
5
  * Get count of selected income types
5
6
  */
6
7
  get length(): number;
8
+ get mpData(): {
9
+ work: boolean;
10
+ property: boolean;
11
+ sole: boolean;
12
+ holding: boolean;
13
+ };
7
14
  }
@@ -8,6 +8,8 @@ export declare class Dictionary<Model> {
8
8
  constructor(items: Model[], path?: string);
9
9
  add(key: string | number, value: Model): void;
10
10
  get(key: string | number): Model;
11
+ merge(dictionary: Dictionary<Model>): this;
12
+ toArray(): Model[];
11
13
  private groupItems;
12
14
  get keys(): string[];
13
15
  }
@@ -4,11 +4,12 @@ import { Address } from '../address';
4
4
  import { ClientDetails } from '../client';
5
5
  import { EmployeeDetails } from '../employee/employee-details';
6
6
  import { Phone } from '../phone/phone';
7
- import { ServiceSubscription } from '../service-subscription/service-subscription';
8
- import { ServiceSubscriptionItem } from '../service-subscription/service-subscription-item';
7
+ import { ServiceSubscription } from '../service-subscription';
8
+ import { ServiceSubscriptionItem } from '../service-subscription';
9
9
  import { SoleDetails } from '../sole';
10
10
  import { AppFile } from '../file';
11
- export declare class User extends BaseUser {
11
+ import { MpTrackableInterface } from '../../interfaces';
12
+ export declare class User extends BaseUser implements MpTrackableInterface {
12
13
  subscriptions: ServiceSubscription[];
13
14
  clientDetails: ClientDetails;
14
15
  employeeDetails: EmployeeDetails;
@@ -66,4 +67,7 @@ export declare class User extends BaseUser {
66
67
  * starts from 2022 for new users and registeredYear - 1 for old users
67
68
  */
68
69
  get financialYears(): number;
70
+ get mpData(): {
71
+ clientDetails: {};
72
+ };
69
73
  }
@@ -1,6 +1,13 @@
1
1
  import { UserEventSetting as UserEventSettingBase } from '../../db/Models/user/user-event-setting';
2
2
  import { UserEventType } from './user-event-type';
3
- export declare class UserEventSetting extends UserEventSettingBase {
3
+ import { MpTrackableInterface } from '../../interfaces';
4
+ export declare class UserEventSetting extends UserEventSettingBase implements MpTrackableInterface {
4
5
  type: UserEventType;
5
6
  isUpdating?: boolean;
7
+ get mpData(): {
8
+ type: string;
9
+ byEmail: boolean;
10
+ byNotification: boolean;
11
+ frequency: string;
12
+ };
6
13
  }
@@ -4,4 +4,5 @@ import { UserEventSetting } from './user-event-setting';
4
4
  export declare class UserEventType extends UserEventTypeBase {
5
5
  category: UserEventTypeCategory;
6
6
  toSetting(): UserEventSetting;
7
+ get frequencyLabel(): string;
7
8
  }
@@ -2,13 +2,15 @@ import { BehaviorSubject } from 'rxjs';
2
2
  import { HttpClient } from '@angular/common/http';
3
3
  import { JwtService } from './jwt.service';
4
4
  import { AuthTokens } from '../../interfaces';
5
+ import { MixpanelService } from '../mixpanel/mixpanel.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class AuthService {
7
8
  private http;
8
9
  private jwtService;
10
+ private mpService;
9
11
  private environment;
10
12
  isLoggedInSubject: BehaviorSubject<boolean>;
11
- constructor(http: HttpClient, jwtService: JwtService, environment: any);
13
+ constructor(http: HttpClient, jwtService: JwtService, mpService: MixpanelService, environment: any);
12
14
  setAuth(response: AuthTokens): void;
13
15
  login(username: string, password: string): import("rxjs").Observable<any>;
14
16
  refresh(refreshToken: string): import("rxjs").Observable<any>;
@@ -4,12 +4,14 @@ import { ToastService } from '../../toast/toast.service';
4
4
  import { JwtService } from '../../auth/jwt.service';
5
5
  import { FacebookAuthOptions } from './facebook-auth-options.interface';
6
6
  import { Router } from '@angular/router';
7
+ import { MixpanelService } from '../../mixpanel/mixpanel.service';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class FacebookService {
9
10
  private http;
10
11
  private toastService;
11
12
  private jwtService;
12
13
  private router;
14
+ private mpService;
13
15
  private environment;
14
16
  isLoggedInSubject: BehaviorSubject<boolean>;
15
17
  isFacebookEnabled: boolean;
@@ -17,7 +19,7 @@ export declare class FacebookService {
17
19
  /**
18
20
  * @TODO when google login will be done, it needs to be moved to an abstract class
19
21
  */
20
- constructor(http: HttpClient, toastService: ToastService, jwtService: JwtService, router: Router, environment: any);
22
+ constructor(http: HttpClient, toastService: ToastService, jwtService: JwtService, router: Router, mpService: MixpanelService, environment: any);
21
23
  login(redirectUrl?: string): Promise<any>;
22
24
  /**
23
25
  * save user's auth tokens
@@ -3,6 +3,7 @@ import { ToastService } from '../../toast';
3
3
  import { JwtService } from '../../auth';
4
4
  import { Router } from '@angular/router';
5
5
  import { BehaviorSubject } from 'rxjs';
6
+ import { MixpanelService } from '../../mixpanel/mixpanel.service';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * Google instance
@@ -14,11 +15,12 @@ export declare class GoogleService {
14
15
  private toastService;
15
16
  private jwtService;
16
17
  private router;
18
+ private mpService;
17
19
  private environment;
18
20
  isLoggedInSubject: BehaviorSubject<boolean>;
19
21
  isGoogleEnabled: boolean;
20
22
  googleScope: string;
21
- constructor(http: HttpClient, toastService: ToastService, jwtService: JwtService, router: Router, environment: any);
23
+ constructor(http: HttpClient, toastService: ToastService, jwtService: JwtService, router: Router, mpService: MixpanelService, environment: any);
22
24
  /**
23
25
  * prompt for user consent and obtain an access token to work with user data
24
26
  * requestAccessToken() method to trigger the token UX flow and obtain an access token.
@@ -2,12 +2,14 @@ import { PropertyCategoryMovement } from '../../../../models';
2
2
  import { PropertyCategoryMovement as PropertyCategoryMovementBase } from '../../../../db/Models';
3
3
  import { RestMethod, RestService } from '../../rest';
4
4
  import { PropertyCategoryMovementCollection } from '../../../../collections';
5
+ import { Observable } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class PropertyCategoryMovementService extends RestService<PropertyCategoryMovementBase, PropertyCategoryMovement, PropertyCategoryMovementCollection> {
7
8
  modelClass: typeof PropertyCategoryMovement;
8
9
  collectionClass: typeof PropertyCategoryMovementCollection;
9
10
  endpointUri: string;
10
11
  disabledMethods: RestMethod[];
12
+ post(movement: PropertyCategoryMovement): Observable<PropertyCategoryMovement>;
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyCategoryMovementService, never>;
12
14
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertyCategoryMovementService>;
13
15
  }
@@ -4,6 +4,7 @@ import { EventDispatcherService } from '../../event';
4
4
  import { ToastService } from '../../toast';
5
5
  import { IEventListener } from '../../../interfaces';
6
6
  import { UserRolesEnum } from '../../../db/Enums/user-roles.enum';
7
+ import { MixpanelService } from '../../mixpanel/mixpanel.service';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  * Abstract base service that implements common services functionality
@@ -28,6 +29,7 @@ export declare abstract class RestService<BaseModel, Model extends BaseModel> im
28
29
  messageUpdatedBatch: string;
29
30
  messageDeleted: string;
30
31
  messageDeletedBatch: string;
32
+ protected mpService: MixpanelService;
31
33
  roles: UserRolesEnum[];
32
34
  constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any, toastService: ToastService);
33
35
  /**
@@ -8,6 +8,7 @@ import { RestMethod } from './rest-method.type';
8
8
  import { HttpMethod } from './http-method.type';
9
9
  import { DataService } from '../../data.service';
10
10
  import { UserRolesEnum } from '../../../db/Enums/user-roles.enum';
11
+ import { MixpanelService } from '../../mixpanel/mixpanel.service';
11
12
  import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Abstract base service that implements common services functionality
@@ -38,6 +39,7 @@ export declare abstract class RestService<BaseModel, Model extends AbstractModel
38
39
  * @TODO Alex: disable batch by default
39
40
  */
40
41
  disabledMethods: RestMethod[];
42
+ protected mpService: MixpanelService;
41
43
  roles: UserRolesEnum[];
42
44
  constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
43
45
  protected get apiUrl(): string;
@@ -1,10 +1,12 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { HttpClient } from '@angular/common/http';
3
+ import { MixpanelService } from '../../../mixpanel/mixpanel.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class FinancialYearService {
5
6
  protected http: HttpClient;
6
7
  protected environment: any;
7
- constructor(http: HttpClient, environment: any);
8
+ private mpService;
9
+ constructor(http: HttpClient, environment: any, mpService: MixpanelService);
8
10
  switch(year: number): Observable<void>;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<FinancialYearService, never>;
10
12
  static ɵprov: i0.ɵɵInjectableDeclaration<FinancialYearService>;
@@ -1,16 +1,14 @@
1
1
  import { UserEventSetting } from '../../../../models/user-event/user-event-setting';
2
2
  import { UserEventSetting as UserEventSettingBase } from '../../../../db/Models/user/user-event-setting';
3
- import { RestService } from '../../rest/rest-old.service';
4
- import { Observable } from 'rxjs';
3
+ import { RestMethod, RestService } from '../../rest';
4
+ import { UserEventSettingCollection } from '../../../../collections';
5
5
  import * as i0 from "@angular/core";
6
- export declare class UserEventSettingService extends RestService<UserEventSettingBase, UserEventSetting> {
6
+ export declare class UserEventSettingService extends RestService<UserEventSettingBase, UserEventSetting, UserEventSettingCollection> {
7
7
  modelClass: typeof UserEventSetting;
8
- url: string;
9
- isHydra: boolean;
10
- /**
11
- * Send batch to add/updated settings
12
- */
13
- saveBatch(settings: UserEventSetting[]): Observable<void>;
8
+ collectionClass: typeof UserEventSettingCollection;
9
+ endpointUri: string;
10
+ isApiPlatform: boolean;
11
+ disabledMethods: RestMethod[];
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<UserEventSettingService, never>;
15
13
  static ɵprov: i0.ɵɵInjectableDeclaration<UserEventSettingService>;
16
14
  }
@@ -1,11 +1,14 @@
1
1
  import { UserEventType as UserEventTypeBase } from '../../../../db/Models/user/user-event-type';
2
2
  import { UserEventType } from '../../../../models/user-event/user-event-type';
3
- import { RestService } from '../../rest/rest-old.service';
3
+ import { RestMethod, RestService } from '../../rest';
4
+ import { UserEventTypeCollection } from '../../../../collections';
4
5
  import * as i0 from "@angular/core";
5
- export declare class UserEventTypeService extends RestService<UserEventTypeBase, UserEventType> {
6
+ export declare class UserEventTypeService extends RestService<UserEventTypeBase, UserEventType, UserEventTypeCollection> {
6
7
  modelClass: typeof UserEventType;
7
- url: string;
8
- isHydra: boolean;
8
+ collectionClass: typeof UserEventTypeCollection;
9
+ endpointUri: string;
10
+ isApiPlatform: boolean;
11
+ disabledMethods: RestMethod[];
9
12
  static ɵfac: i0.ɵɵFactoryDeclaration<UserEventTypeService, never>;
10
13
  static ɵprov: i0.ɵɵInjectableDeclaration<UserEventTypeService>;
11
14
  }
@@ -9,6 +9,7 @@ export * from './event';
9
9
  export * from './export';
10
10
  export * from './header-title';
11
11
  export * from './intercom';
12
+ export * from './mixpanel/mixpanel.service';
12
13
  export * from './pdf';
13
14
  export * from './preloader';
14
15
  export * from './property';
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Service to work with mixpanel https://docs.mixpanel.com/docs/tracking/reference/javascript
4
+ */
5
+ export declare class MixpanelService {
6
+ private environment;
7
+ constructor(environment: any);
8
+ init(): void;
9
+ identify(id: string): void;
10
+ reset(): void;
11
+ track(event: string, properties?: {
12
+ [key: string]: any;
13
+ }): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<MixpanelService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<MixpanelService>;
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.31.26",
3
+ "version": "0.31.28",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",
@@ -16,11 +16,13 @@
16
16
  "@types/gapi": "^0.0.41",
17
17
  "@types/gapi.client": "^1.0.5",
18
18
  "@types/gapi.auth2": "^0.0.56",
19
+ "@types/mixpanel-browser": "^2.47.3",
19
20
  "class-transformer": "^0.5.1",
20
21
  "event-source-polyfill": "^1.0.22",
21
22
  "moment": "^2.29.4",
22
23
  "moment-range": "^4.0.2",
23
24
  "lodash": "^4.17.21",
25
+ "mixpanel-browser": "^2.47.0",
24
26
  "jspdf": "^2.5.1",
25
27
  "html2pdf.js": "^0.10.1",
26
28
  "jspdf-autotable": "^3.5.28",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtZXhwb3J0YWJsZS5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvaW50ZXJmYWNlcy90YWJsZS1leHBvcnRhYmxlLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRXhwb3J0Um93IH0gZnJvbSAnLi4vbW9kZWxzL2V4cG9ydC9leHBvcnQtcm93JztcblxuLyoqXG4gKiBJbnRlcmZhY2UgZm9yIGNsYXNzZXMgd2hpY2ggc2hvdWxkIGltcGxlbWVudCBkYXRhLXRhYmxlIGZ1bmN0aW9uYWxpdHkgKGxpa2UgY3JlYXRlIHRhYmxlIHJvd3MsIGNvbHVtbnMsIGUudC5jLilcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBEYXRhVGFibGVFeHBvcnRhYmxlIHtcbiAgdG9EYXRhVGFibGVSb3dzKCk6IEV4cG9ydFJvd1tdXG59XG4iXX0=
@@ -1,10 +0,0 @@
1
- /**
2
- * Enum which shows what type (in terms of business logic) of the data-table row item
3
- */
4
- export var ExportRowDataTypeEnum;
5
- (function (ExportRowDataTypeEnum) {
6
- ExportRowDataTypeEnum[ExportRowDataTypeEnum["STRING"] = 0] = "STRING";
7
- ExportRowDataTypeEnum[ExportRowDataTypeEnum["CURRENCY"] = 1] = "CURRENCY";
8
- ExportRowDataTypeEnum[ExportRowDataTypeEnum["DATE"] = 2] = "DATE";
9
- })(ExportRowDataTypeEnum || (ExportRowDataTypeEnum = {}));
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0LXJvdy1kYXRhLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvZXhwb3J0L2V4cG9ydC1yb3ctZGF0YS10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxNQUFNLENBQU4sSUFBWSxxQkFJWDtBQUpELFdBQVkscUJBQXFCO0lBQy9CLHFFQUFNLENBQUE7SUFDTix5RUFBUSxDQUFBO0lBQ1IsaUVBQUksQ0FBQTtBQUNOLENBQUMsRUFKVyxxQkFBcUIsS0FBckIscUJBQXFCLFFBSWhDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFbnVtIHdoaWNoIHNob3dzIHdoYXQgdHlwZSAoaW4gdGVybXMgb2YgYnVzaW5lc3MgbG9naWMpIG9mIHRoZSBkYXRhLXRhYmxlIHJvdyBpdGVtXG4gKi9cbmV4cG9ydCBlbnVtIEV4cG9ydFJvd0RhdGFUeXBlRW51bSB7XG4gIFNUUklORyxcbiAgQ1VSUkVOQ1ksXG4gIERBVEVcbn1cbiJdfQ==
@@ -1,6 +0,0 @@
1
- /**
2
- * Class with structure of the data-table rows
3
- */
4
- export class ExportRow {
5
- }
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0LXJvdy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvZXhwb3J0L2V4cG9ydC1yb3cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7O0dBRUc7QUFDSCxNQUFNLE9BQU8sU0FBUztDQUdyQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEV4cG9ydFJvd0RhdGFUeXBlRW51bSB9IGZyb20gJy4vZXhwb3J0LXJvdy1kYXRhLXR5cGUuZW51bSc7XG5cbi8qKlxuICogQ2xhc3Mgd2l0aCBzdHJ1Y3R1cmUgb2YgdGhlIGRhdGEtdGFibGUgcm93c1xuICovXG5leHBvcnQgY2xhc3MgRXhwb3J0Um93IHtcbiAgZGF0YTogYW55O1xuICB0eXBlOiBFeHBvcnRSb3dEYXRhVHlwZUVudW1cbn1cbiJdfQ==
@@ -1,7 +0,0 @@
1
- import { ExportRow } from '../models/export/export-row';
2
- /**
3
- * Interface for classes which should implement data-table functionality (like create table rows, columns, e.t.c.)
4
- */
5
- export interface DataTableExportable {
6
- toDataTableRows(): ExportRow[];
7
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * Enum which shows what type (in terms of business logic) of the data-table row item
3
- */
4
- export declare enum ExportRowDataTypeEnum {
5
- STRING = 0,
6
- CURRENCY = 1,
7
- DATE = 2
8
- }
@@ -1,8 +0,0 @@
1
- import { ExportRowDataTypeEnum } from './export-row-data-type.enum';
2
- /**
3
- * Class with structure of the data-table rows
4
- */
5
- export declare class ExportRow {
6
- data: any;
7
- type: ExportRowDataTypeEnum;
8
- }