tin-spa 10.0.0 → 14.3.11

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 (204) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/classes/Classes.mjs +265 -0
  3. package/esm2020/lib/classes/TinCore.mjs +401 -0
  4. package/esm2020/lib/components/accounts/accountDialog.component.mjs +56 -0
  5. package/esm2020/lib/components/accounts/accounts.component.mjs +70 -0
  6. package/esm2020/lib/components/activity/activity.component.mjs +24 -0
  7. package/esm2020/lib/components/alert/alert.component.mjs +29 -0
  8. package/esm2020/lib/components/attach/attach.component.mjs +86 -0
  9. package/esm2020/lib/components/bug/bug.component.mjs +14 -0
  10. package/esm2020/lib/components/change-password/change-password.component.mjs +92 -0
  11. package/esm2020/lib/components/check/check.component.mjs +67 -0
  12. package/esm2020/lib/components/chips/chips.component.mjs +58 -0
  13. package/esm2020/lib/components/create-account/create-account.component.mjs +109 -0
  14. package/esm2020/lib/components/customers/customers.component.mjs +60 -0
  15. package/esm2020/lib/components/date/date.component.mjs +101 -0
  16. package/esm2020/lib/components/datetime/datetime.component.mjs +52 -0
  17. package/esm2020/lib/components/departments/departments.component.mjs +24 -0
  18. package/esm2020/lib/components/employees/employees.component.mjs +21 -0
  19. package/esm2020/lib/components/filter/filter.component.mjs +54 -0
  20. package/esm2020/lib/components/form/form.component.mjs +191 -0
  21. package/esm2020/lib/components/grades/grades.component.mjs +14 -0
  22. package/esm2020/lib/components/inventory/inventory.component.mjs +99 -0
  23. package/esm2020/lib/components/inventory/quantityDialog.component.mjs +53 -0
  24. package/esm2020/lib/components/invitations/invitations.component.mjs +14 -0
  25. package/esm2020/lib/components/invitations-table/invitations-table.component.mjs +70 -0
  26. package/esm2020/lib/components/label/label.component.mjs +25 -0
  27. package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +68 -0
  28. package/esm2020/lib/components/loader/loader.component.mjs +25 -0
  29. package/esm2020/lib/components/login/login.component.mjs +127 -0
  30. package/esm2020/lib/components/logs/logs.component.mjs +37 -0
  31. package/esm2020/lib/components/membership/membership.component.mjs +48 -0
  32. package/esm2020/lib/components/message/messageDialog.component.mjs +33 -0
  33. package/esm2020/lib/components/money/currency-input-mask.directive.mjs +185 -0
  34. package/esm2020/lib/components/money/currency-input-mask.module.mjs +28 -0
  35. package/esm2020/lib/components/money/money.component.mjs +120 -0
  36. package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +84 -0
  37. package/esm2020/lib/components/notifications/notifications.component.mjs +14 -0
  38. package/esm2020/lib/components/number/number.component.mjs +116 -0
  39. package/esm2020/lib/components/option/option.component.mjs +67 -0
  40. package/esm2020/lib/components/plans/plans.component.mjs +47 -0
  41. package/esm2020/lib/components/positions/positions.component.mjs +21 -0
  42. package/esm2020/lib/components/profile/profile.component.mjs +92 -0
  43. package/esm2020/lib/components/recover-account/recover-account.component.mjs +46 -0
  44. package/esm2020/lib/components/roles/addRoleDialog.component.mjs +60 -0
  45. package/esm2020/lib/components/roles/roles.component.mjs +91 -0
  46. package/esm2020/lib/components/search/search.component.mjs +31 -0
  47. package/esm2020/lib/components/select/select.component.mjs +138 -0
  48. package/esm2020/lib/components/settings/settings.component.mjs +62 -0
  49. package/esm2020/lib/components/signup/signup.component.mjs +50 -0
  50. package/esm2020/lib/components/steps/steps.component.mjs +90 -0
  51. package/esm2020/lib/components/suppliers/suppliers.component.mjs +50 -0
  52. package/esm2020/lib/components/table/detailsDialog.component.mjs +232 -0
  53. package/esm2020/lib/components/table/table.component.mjs +406 -0
  54. package/esm2020/lib/components/table-action/table-action.component.mjs +46 -0
  55. package/esm2020/lib/components/table-header/table-header.component.mjs +76 -0
  56. package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +226 -0
  57. package/esm2020/lib/components/table-internal/table-internal.component.mjs +406 -0
  58. package/esm2020/lib/components/table-row/table-row.component.mjs +58 -0
  59. package/esm2020/lib/components/tasks/tasks.component.mjs +86 -0
  60. package/esm2020/lib/components/tenant-settings/inviteDialog.component.mjs +60 -0
  61. package/esm2020/lib/components/tenant-settings/tenant-settings.component.mjs +155 -0
  62. package/esm2020/lib/components/tenants/tenants.component.mjs +47 -0
  63. package/esm2020/lib/components/text/text.component.mjs +181 -0
  64. package/esm2020/lib/components/tiles/tiles.component.mjs +81 -0
  65. package/esm2020/lib/components/tin-spa.component.mjs +19 -0
  66. package/esm2020/lib/components/transactions/transactDialog.component.mjs +80 -0
  67. package/esm2020/lib/components/transactions/transactions.component.mjs +101 -0
  68. package/esm2020/lib/components/users/users.component.mjs +118 -0
  69. package/esm2020/lib/components/viewer/viewer.component.mjs +79 -0
  70. package/esm2020/lib/components/viewer/viewerDialog.component.mjs +88 -0
  71. package/esm2020/lib/components/welcome/welcome.component.mjs +86 -0
  72. package/esm2020/lib/modules/admin/admin-routing.module.mjs +61 -0
  73. package/esm2020/lib/modules/admin/admin.module.mjs +26 -0
  74. package/esm2020/lib/modules/index/index-routing.module.mjs +27 -0
  75. package/esm2020/lib/modules/index/index.module.mjs +26 -0
  76. package/esm2020/lib/modules/spa-admin.module.mjs +71 -0
  77. package/esm2020/lib/modules/spa-index.module.mjs +54 -0
  78. package/esm2020/lib/modules/spa-mat.module.mjs +84 -0
  79. package/esm2020/lib/modules/spa-user.module.mjs +47 -0
  80. package/esm2020/lib/modules/user/user-routing.module.mjs +23 -0
  81. package/esm2020/lib/modules/user/user.module.mjs +26 -0
  82. package/esm2020/lib/pipes/camelToWords.pipe.mjs +17 -0
  83. package/esm2020/lib/services/auth.service.mjs +174 -0
  84. package/esm2020/lib/services/button.service.mjs +102 -0
  85. package/esm2020/lib/services/condition.service.mjs +32 -0
  86. package/esm2020/lib/services/datalib.service.mjs +387 -0
  87. package/esm2020/lib/services/dialog.service.mjs +81 -0
  88. package/esm2020/lib/services/export.service.mjs +16 -0
  89. package/esm2020/lib/services/http.service.mjs +79 -0
  90. package/esm2020/lib/services/loader-interceptor.service.mjs +86 -0
  91. package/esm2020/lib/services/loader.service.mjs +17 -0
  92. package/esm2020/lib/services/log.service.mjs +77 -0
  93. package/esm2020/lib/services/message.service.mjs +59 -0
  94. package/esm2020/lib/services/storage.service.mjs +34 -0
  95. package/esm2020/lib/services/table-config.service.mjs +30 -0
  96. package/esm2020/lib/services/tin-spa.service.mjs +14 -0
  97. package/esm2020/lib/tin-spa.module.mjs +183 -0
  98. package/esm2020/public-api.mjs +80 -0
  99. package/esm2020/tin-spa.mjs +5 -0
  100. package/fesm2015/tin-spa.mjs +7454 -0
  101. package/fesm2015/tin-spa.mjs.map +1 -0
  102. package/fesm2020/tin-spa.mjs +7410 -0
  103. package/fesm2020/tin-spa.mjs.map +1 -0
  104. package/index.d.ts +5 -3408
  105. package/lib/classes/Classes.d.ts +431 -0
  106. package/lib/classes/TinCore.d.ts +48 -0
  107. package/lib/components/accounts/accountDialog.component.d.ts +27 -0
  108. package/lib/components/accounts/accounts.component.d.ts +25 -0
  109. package/lib/components/activity/activity.component.d.ts +11 -0
  110. package/lib/components/alert/alert.component.d.ts +14 -0
  111. package/lib/components/attach/attach.component.d.ts +23 -0
  112. package/lib/components/bug/bug.component.d.ts +8 -0
  113. package/lib/components/change-password/change-password.component.d.ts +27 -0
  114. package/lib/components/check/check.component.d.ts +24 -0
  115. package/lib/components/chips/chips.component.d.ts +18 -0
  116. package/lib/components/create-account/create-account.component.d.ts +33 -0
  117. package/lib/components/customers/customers.component.d.ts +18 -0
  118. package/lib/components/date/date.component.d.ts +29 -0
  119. package/lib/components/datetime/datetime.component.d.ts +18 -0
  120. package/lib/components/departments/departments.component.d.ts +14 -0
  121. package/lib/components/employees/employees.component.d.ts +12 -0
  122. package/lib/components/filter/filter.component.d.ts +19 -0
  123. package/lib/components/form/form.component.d.ts +36 -0
  124. package/lib/components/grades/grades.component.d.ts +8 -0
  125. package/lib/components/inventory/inventory.component.d.ts +25 -0
  126. package/lib/components/inventory/quantityDialog.component.d.ts +23 -0
  127. package/lib/components/invitations/invitations.component.d.ts +8 -0
  128. package/lib/components/invitations-table/invitations-table.component.d.ts +19 -0
  129. package/lib/components/label/label.component.d.ts +11 -0
  130. package/lib/components/list-dialog/list-dialog.component.d.ts +23 -0
  131. package/lib/components/loader/loader.component.d.ts +12 -0
  132. package/lib/components/login/login.component.d.ts +39 -0
  133. package/lib/components/logs/logs.component.d.ts +18 -0
  134. package/lib/components/membership/membership.component.d.ts +17 -0
  135. package/lib/components/message/messageDialog.component.d.ts +15 -0
  136. package/lib/components/money/currency-input-mask.directive.d.ts +41 -0
  137. package/lib/components/money/currency-input-mask.module.d.ts +9 -0
  138. package/lib/components/money/money.component.d.ts +33 -0
  139. package/lib/components/nav-menu/nav-menu.component.d.ts +34 -0
  140. package/lib/components/notifications/notifications.component.d.ts +8 -0
  141. package/lib/components/number/number.component.d.ts +35 -0
  142. package/lib/components/option/option.component.d.ts +23 -0
  143. package/lib/components/plans/plans.component.d.ts +17 -0
  144. package/lib/components/positions/positions.component.d.ts +12 -0
  145. package/lib/components/profile/profile.component.d.ts +34 -0
  146. package/lib/components/recover-account/recover-account.component.d.ts +18 -0
  147. package/lib/components/roles/addRoleDialog.component.d.ts +24 -0
  148. package/lib/components/roles/roles.component.d.ts +30 -0
  149. package/lib/components/search/search.component.d.ts +13 -0
  150. package/lib/components/select/select.component.d.ts +42 -0
  151. package/lib/components/settings/settings.component.d.ts +19 -0
  152. package/lib/components/signup/signup.component.d.ts +23 -0
  153. package/lib/components/steps/steps.component.d.ts +18 -0
  154. package/lib/components/suppliers/suppliers.component.d.ts +17 -0
  155. package/lib/components/table/detailsDialog.component.d.ts +64 -0
  156. package/lib/components/table/table.component.d.ts +82 -0
  157. package/lib/components/table-action/table-action.component.d.ts +22 -0
  158. package/lib/components/table-header/table-header.component.d.ts +31 -0
  159. package/lib/components/table-internal/detailsDialog-internal.component.d.ts +64 -0
  160. package/lib/components/table-internal/table-internal.component.d.ts +82 -0
  161. package/lib/components/table-row/table-row.component.d.ts +28 -0
  162. package/lib/components/tasks/tasks.component.d.ts +27 -0
  163. package/lib/components/tenant-settings/inviteDialog.component.d.ts +28 -0
  164. package/lib/components/tenant-settings/tenant-settings.component.d.ts +42 -0
  165. package/lib/components/tenants/tenants.component.d.ts +17 -0
  166. package/lib/components/text/text.component.d.ts +46 -0
  167. package/lib/components/tiles/tiles.component.d.ts +25 -0
  168. package/lib/components/tin-spa.component.d.ts +5 -0
  169. package/lib/components/transactions/transactDialog.component.d.ts +26 -0
  170. package/lib/components/transactions/transactions.component.d.ts +31 -0
  171. package/lib/components/users/users.component.d.ts +36 -0
  172. package/lib/components/viewer/viewer.component.d.ts +25 -0
  173. package/lib/components/viewer/viewerDialog.component.d.ts +22 -0
  174. package/lib/components/welcome/welcome.component.d.ts +25 -0
  175. package/lib/modules/admin/admin-routing.module.d.ts +7 -0
  176. package/lib/modules/admin/admin.module.d.ts +9 -0
  177. package/lib/modules/index/index-routing.module.d.ts +7 -0
  178. package/lib/modules/index/index.module.d.ts +9 -0
  179. package/lib/modules/spa-admin.module.d.ts +15 -0
  180. package/lib/modules/spa-index.module.d.ts +13 -0
  181. package/lib/modules/spa-mat.module.d.ts +38 -0
  182. package/lib/modules/spa-user.module.d.ts +11 -0
  183. package/lib/modules/user/user-routing.module.d.ts +7 -0
  184. package/lib/modules/user/user.module.d.ts +9 -0
  185. package/lib/pipes/camelToWords.pipe.d.ts +7 -0
  186. package/lib/services/auth.service.d.ts +61 -0
  187. package/lib/services/button.service.d.ts +27 -0
  188. package/lib/services/condition.service.d.ts +10 -0
  189. package/lib/services/datalib.service.d.ts +77 -0
  190. package/lib/services/dialog.service.d.ts +19 -0
  191. package/lib/services/export.service.d.ts +6 -0
  192. package/lib/services/http.service.d.ts +22 -0
  193. package/lib/services/loader-interceptor.service.d.ts +22 -0
  194. package/lib/services/loader.service.d.ts +8 -0
  195. package/lib/services/log.service.d.ts +19 -0
  196. package/lib/services/message.service.d.ts +16 -0
  197. package/lib/services/storage.service.d.ts +10 -0
  198. package/lib/services/table-config.service.d.ts +9 -0
  199. package/lib/services/tin-spa.service.d.ts +6 -0
  200. package/lib/tin-spa.module.d.ts +66 -0
  201. package/package.json +13 -8
  202. package/public-api.d.ts +69 -0
  203. package/fesm2022/tin-spa.mjs +0 -12474
  204. package/fesm2022/tin-spa.mjs.map +0 -1
@@ -0,0 +1,27 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DataServiceLib } from '../../services/datalib.service';
3
+ import { FormConfig, TableConfig } from '../../classes/Classes';
4
+ import { MessageService } from '../../services/message.service';
5
+ import { AuthService } from '../../services/auth.service';
6
+ import { MatDialog } from '@angular/material/dialog';
7
+ import { Subject } from 'rxjs';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TasksComponent implements OnInit {
10
+ private dataService;
11
+ private messageService;
12
+ authService: AuthService;
13
+ dialog: MatDialog;
14
+ constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService, dialog: MatDialog);
15
+ ngOnInit(): void;
16
+ loadData(): void;
17
+ cats(): void;
18
+ reload: Subject<boolean>;
19
+ statuses: {
20
+ name: string;
21
+ value: number;
22
+ }[];
23
+ formConfig: FormConfig;
24
+ config: TableConfig;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<TasksComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<TasksComponent, "spa-tasks", never, {}, {}, never, never, false>;
27
+ }
@@ -0,0 +1,28 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { MatDialogRef } from "@angular/material/dialog";
3
+ import { MessageService } from "../../services/message.service";
4
+ import { DataServiceLib } from "../../services/datalib.service";
5
+ import { LoaderService } from "../../services/loader.service";
6
+ import * as i0 from "@angular/core";
7
+ export declare class inviteDialog implements OnInit {
8
+ private loaderService;
9
+ private messageService;
10
+ dataService: DataServiceLib;
11
+ private dialogRef;
12
+ data: any;
13
+ constructor(loaderService: LoaderService, messageService: MessageService, dataService: DataServiceLib, dialogRef: MatDialogRef<inviteDialog>, data: any);
14
+ ngOnInit(): void;
15
+ isProcessing: boolean;
16
+ invited: boolean;
17
+ email: string;
18
+ roleID: number;
19
+ link: string;
20
+ roles: {
21
+ roleName: string;
22
+ roleID: number;
23
+ }[];
24
+ loadMeta(): void;
25
+ submit(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<inviteDialog, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<inviteDialog, "app-addModel", never, {}, {}, never, never, false>;
28
+ }
@@ -0,0 +1,42 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormConfig, TableConfig } from '../../classes/Classes';
3
+ import { DataServiceLib } from '../../services/datalib.service';
4
+ import { MessageService } from '../../services/message.service';
5
+ import { AuthService } from '../../services/auth.service';
6
+ import { MatDialog } from '@angular/material/dialog';
7
+ import { Subject } from 'rxjs';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TenantSettingsComponent implements OnInit {
10
+ dataService: DataServiceLib;
11
+ private messageService;
12
+ authService: AuthService;
13
+ dialog: MatDialog;
14
+ constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService, dialog: MatDialog);
15
+ ngOnInit(): void;
16
+ newName: any;
17
+ myRole: any;
18
+ tenants: any;
19
+ currTenant: any;
20
+ currentTenantID: any;
21
+ plan: any;
22
+ ownTenant: any;
23
+ roles: {
24
+ name: string;
25
+ value: number;
26
+ }[];
27
+ loadData(): void;
28
+ loadTenants(): void;
29
+ renameTenant(): void;
30
+ refreshOrgsLists(): void;
31
+ switchTenant(): void;
32
+ newTenant(): void;
33
+ membersFormConfig: FormConfig;
34
+ inviteActionClicked(x: any): void;
35
+ inviteDiag(): void;
36
+ tableReload: Subject<boolean>;
37
+ membersTableConfig: TableConfig;
38
+ orgsReload: Subject<boolean>;
39
+ orgsTableConfig: TableConfig;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<TenantSettingsComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<TenantSettingsComponent, "spa-tenant-settings", never, {}, {}, never, never, false>;
42
+ }
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DataServiceLib } from '../../services/datalib.service';
3
+ import { FormConfig, TableConfig } from '../../classes/Classes';
4
+ import { MessageService } from '../../services/message.service';
5
+ import { AuthService } from '../../services/auth.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class TenantsComponent implements OnInit {
8
+ private dataService;
9
+ private messageService;
10
+ authService: AuthService;
11
+ constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
12
+ ngOnInit(): void;
13
+ formConfig: FormConfig;
14
+ config: TableConfig;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TenantsComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TenantsComponent, "spa-tenants", never, {}, {}, never, never, false>;
17
+ }
@@ -0,0 +1,46 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TextComponent implements OnInit {
6
+ constructor();
7
+ ngOnInit(): void;
8
+ ngAfterViewInit(): void;
9
+ filteredOptions: Observable<string[]>;
10
+ multiDimension: boolean;
11
+ hideRequiredControl: FormControl<boolean>;
12
+ hide: boolean;
13
+ readonly: boolean;
14
+ hint: string;
15
+ display: string;
16
+ placeholder: string;
17
+ value: string;
18
+ valueChange: EventEmitter<any>;
19
+ format: string;
20
+ type: string;
21
+ leave: EventEmitter<any>;
22
+ enterPress: EventEmitter<any>;
23
+ rows: number;
24
+ width: string;
25
+ options: any;
26
+ optionValue: string;
27
+ required: boolean;
28
+ min: number;
29
+ max: number;
30
+ regex: string;
31
+ suffix: string;
32
+ infoMessage: string;
33
+ infoClick: EventEmitter<void>;
34
+ onInfoClick(event: MouseEvent): void;
35
+ private initFilter;
36
+ private _filter;
37
+ initControl(control: FormControl): void;
38
+ changed(): void;
39
+ leaved(): void;
40
+ enterPressed(): void;
41
+ myControl: FormControl<string>;
42
+ control: FormControl<string>;
43
+ validate(control: FormControl): string;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "spa-text", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "format": "format"; "type": "type"; "rows": "rows"; "width": "width"; "options": "options"; "optionValue": "optionValue"; "required": "required"; "min": "min"; "max": "max"; "regex": "regex"; "suffix": "suffix"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
46
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { Action, Tile, TileConfig } from '../../classes/Classes';
3
+ import { DataServiceLib } from '../../services/datalib.service';
4
+ import { MessageService } from '../../services/message.service';
5
+ import { Subject } from 'rxjs';
6
+ import * as i0 from "@angular/core";
7
+ export declare class TilesComponent implements OnInit {
8
+ private dataService;
9
+ private messageService;
10
+ constructor(dataService: DataServiceLib, messageService: MessageService);
11
+ ngOnInit(): void;
12
+ ngOnChanges(): void;
13
+ tiles: Tile[];
14
+ config: TileConfig;
15
+ data: any;
16
+ reload: Subject<boolean>;
17
+ tileClick: EventEmitter<any>;
18
+ selectedTile: string;
19
+ new: boolean;
20
+ clicked(v: Tile): void;
21
+ pop(x: any): void;
22
+ loadData(action: Action, data: any): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<TilesComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<TilesComponent, "spa-tiles", never, { "config": "config"; "data": "data"; "reload": "reload"; }, { "tileClick": "tileClick"; }, never, never, false>;
25
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TinSpaComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<TinSpaComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<TinSpaComponent, "spa-tin-spa", never, {}, {}, never, never, false>;
5
+ }
@@ -0,0 +1,26 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { DataServiceLib } from '../../services/datalib.service';
4
+ import { MessageService } from '../../services/message.service';
5
+ import { Transaction } from '../../classes/Classes';
6
+ import { LoaderService } from '../../services/loader.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class transactDialog implements OnInit {
9
+ private loaderService;
10
+ private messageService;
11
+ private dataService;
12
+ private dialogRef;
13
+ data: any;
14
+ constructor(loaderService: LoaderService, messageService: MessageService, dataService: DataServiceLib, dialogRef: MatDialogRef<transactDialog>, data: any);
15
+ ngOnInit(): void;
16
+ txn: Transaction;
17
+ action: any;
18
+ account: any;
19
+ accounts: any;
20
+ categories: any;
21
+ isLoadComplete: boolean;
22
+ isProcessing: boolean;
23
+ submit(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<transactDialog, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<transactDialog, "app-quanityDiag", never, {}, {}, never, never, false>;
26
+ }
@@ -0,0 +1,31 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DataServiceLib } from '../../services/datalib.service';
3
+ import { TableConfig } from '../../classes/Classes';
4
+ import { MessageService } from '../../services/message.service';
5
+ import { Subject } from 'rxjs';
6
+ import { BreakpointObserver } from '@angular/cdk/layout';
7
+ import { MatDialog } from '@angular/material/dialog';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TransactionsComponent implements OnInit {
10
+ private dataService;
11
+ private messageService;
12
+ private breakpointObserver;
13
+ dialog: MatDialog;
14
+ constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog);
15
+ ngOnInit(): void;
16
+ cats(): void;
17
+ actionClicked(x: any): void;
18
+ loadData(): void;
19
+ transact(x: any, data: any): void;
20
+ transfer(): void;
21
+ smallScreen: any;
22
+ account: any;
23
+ accounts: any[];
24
+ transactions: any[];
25
+ accountID: any;
26
+ categories: any[];
27
+ reload: Subject<boolean>;
28
+ config: TableConfig;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionsComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionsComponent, "spa-transactions", never, {}, {}, never, never, false>;
31
+ }
@@ -0,0 +1,36 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { MatPaginator } from "@angular/material/paginator";
3
+ import { MatDialog } from "@angular/material/dialog";
4
+ import { DataServiceLib } from "../../services/datalib.service";
5
+ import { Router } from "@angular/router";
6
+ import { MessageService } from "../../services/message.service";
7
+ import { AuthService } from "../../services/auth.service";
8
+ import { User } from '../../classes/Classes';
9
+ import { HttpService } from "../../services/http.service";
10
+ import * as i0 from "@angular/core";
11
+ export declare class UsersComponent implements OnInit {
12
+ private httpService;
13
+ router: Router;
14
+ private authService;
15
+ private dataService;
16
+ dialog: MatDialog;
17
+ private messageService;
18
+ constructor(httpService: HttpService, router: Router, authService: AuthService, dataService: DataServiceLib, dialog: MatDialog, messageService: MessageService);
19
+ ngOnInit(): void;
20
+ isProcessing: boolean;
21
+ usersPaginator: MatPaginator;
22
+ _filterText: string;
23
+ users: any;
24
+ usersRaw: any;
25
+ displayedColumns: string[];
26
+ UpdateData(): void;
27
+ applyFilter(filterValue: string): void;
28
+ createAccount(): void;
29
+ viewProfile(user: User): void;
30
+ lock(u: any): void;
31
+ unlock(u: any): void;
32
+ recover(u: User): void;
33
+ deleteUser(user: User): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<UsersComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<UsersComponent, "spa-users", never, {}, {}, never, never, false>;
36
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { DataServiceLib } from '../../services/datalib.service';
4
+ import { Action } from '../../classes/Classes';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ViewerComponent implements OnInit {
7
+ private dataService;
8
+ dialog: MatDialog;
9
+ constructor(dataService: DataServiceLib, dialog: MatDialog);
10
+ ngOnInit(): void;
11
+ fileAction: Action;
12
+ path: string;
13
+ folderName: string;
14
+ fileNames: any;
15
+ removable: boolean;
16
+ remove: EventEmitter<any>;
17
+ display: string;
18
+ title: string;
19
+ loadData(): void;
20
+ convert(): void;
21
+ viewDocs(fileName: string): void;
22
+ removed(i: any): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewerComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewerComponent, "spa-viewer", never, { "fileAction": "fileAction"; "path": "path"; "folderName": "folderName"; "fileNames": "fileNames"; "removable": "removable"; "display": "display"; "title": "title"; }, { "remove": "remove"; }, never, never, false>;
25
+ }
@@ -0,0 +1,22 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { HttpService } from '../../services/http.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class viewerDialog implements OnInit {
5
+ private httpService;
6
+ data: any;
7
+ constructor(httpService: HttpService, data: any);
8
+ ngOnInit(): void;
9
+ isProcessing: boolean;
10
+ fullPath: string;
11
+ fileNames: any[];
12
+ fileName: string;
13
+ currIndex: number;
14
+ currentFileUrl: string;
15
+ previous(): void;
16
+ next(): void;
17
+ imageDoc: boolean;
18
+ setURL(): void;
19
+ change(fileName: any): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<viewerDialog, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<viewerDialog, "app-editRequest", never, {}, {}, never, never, false>;
22
+ }
@@ -0,0 +1,25 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TableConfig } from '../../classes/Classes';
3
+ import { AuthService } from '../../services/auth.service';
4
+ import { DataServiceLib } from '../../services/datalib.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class WelcomeComponent implements OnInit {
7
+ dataService: DataServiceLib;
8
+ authService: AuthService;
9
+ constructor(dataService: DataServiceLib, authService: AuthService);
10
+ ngOnInit(): void;
11
+ username: any;
12
+ step: string;
13
+ agree: boolean;
14
+ own: boolean;
15
+ invitations: boolean;
16
+ myTenant: any;
17
+ loadMeta(): void;
18
+ renameTenant(): void;
19
+ next(): void;
20
+ setWelcome(): void;
21
+ home(): void;
22
+ invTableConfig: TableConfig;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<WelcomeComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<WelcomeComponent, "spa-welcome", never, {}, {}, never, never, false>;
25
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class AdminRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdminRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdminRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<AdminRoutingModule>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./admin-routing.module";
4
+ import * as i3 from "../spa-admin.module";
5
+ export declare class AdminModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdminModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, never, [typeof i1.CommonModule, typeof i2.AdminRoutingModule, typeof i3.SpaAdminModule], never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<AdminModule>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class IndexRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<IndexRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IndexRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<IndexRoutingModule>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./index-routing.module";
4
+ import * as i3 from "../spa-index.module";
5
+ export declare class IndexModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IndexModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IndexModule, never, [typeof i1.CommonModule, typeof i2.IndexRoutingModule, typeof i3.SpaIndexModule], never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<IndexModule>;
9
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../components/users/users.component";
3
+ import * as i2 from "../components/roles/roles.component";
4
+ import * as i3 from "../components/roles/addRoleDialog.component";
5
+ import * as i4 from "../components/create-account/create-account.component";
6
+ import * as i5 from "../components/logs/logs.component";
7
+ import * as i6 from "../components/settings/settings.component";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "../tin-spa.module";
11
+ export declare class SpaAdminModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpaAdminModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpaAdminModule, [typeof i1.UsersComponent, typeof i2.RolesComponent, typeof i3.addRoleDialog, typeof i4.CreateAccountComponent, typeof i5.LogsComponent, typeof i6.SettingsComponent], [typeof i7.ReactiveFormsModule, typeof i8.CommonModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i9.TinSpaModule], [typeof i8.CommonModule, typeof i7.FormsModule, typeof i9.TinSpaModule, typeof i1.UsersComponent, typeof i2.RolesComponent, typeof i3.addRoleDialog, typeof i4.CreateAccountComponent, typeof i5.LogsComponent, typeof i6.SettingsComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<SpaAdminModule>;
15
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../components/login/login.component";
3
+ import * as i2 from "../components/signup/signup.component";
4
+ import * as i3 from "../components/recover-account/recover-account.component";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "../tin-spa.module";
8
+ import * as i7 from "@abacritt/angularx-social-login";
9
+ export declare class SpaIndexModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpaIndexModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpaIndexModule, [typeof i1.LoginComponent, typeof i2.SignupComponent, typeof i3.RecoverAccountComponent], [typeof i4.ReactiveFormsModule, typeof i5.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i6.TinSpaModule, typeof i7.SocialLoginModule], [typeof i5.CommonModule, typeof i4.FormsModule, typeof i6.TinSpaModule, typeof i1.LoginComponent, typeof i2.SignupComponent, typeof i3.RecoverAccountComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<SpaIndexModule>;
13
+ }
@@ -0,0 +1,38 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "@angular/material/menu";
5
+ import * as i4 from "@angular/material/slider";
6
+ import * as i5 from "@angular/material/table";
7
+ import * as i6 from "@angular/material/paginator";
8
+ import * as i7 from "@angular/material/checkbox";
9
+ import * as i8 from "@angular/material/badge";
10
+ import * as i9 from "@angular/material/button";
11
+ import * as i10 from "@angular/material/icon";
12
+ import * as i11 from "@angular/material/dialog";
13
+ import * as i12 from "@angular/material/snack-bar";
14
+ import * as i13 from "@angular/material/tabs";
15
+ import * as i14 from "@angular/material/form-field";
16
+ import * as i15 from "@angular/material/input";
17
+ import * as i16 from "@angular/material/card";
18
+ import * as i17 from "@angular/material/chips";
19
+ import * as i18 from "@angular/material/select";
20
+ import * as i19 from "@angular/material/core";
21
+ import * as i20 from "@angular/material/progress-spinner";
22
+ import * as i21 from "@angular/material/list";
23
+ import * as i22 from "@angular/material/autocomplete";
24
+ import * as i23 from "@angular/material/tooltip";
25
+ import * as i24 from "@angular/material/sort";
26
+ import * as i25 from "@angular/material/datepicker";
27
+ import * as i26 from "@angular/material/stepper";
28
+ import * as i27 from "@angular/material/radio";
29
+ import * as i28 from "@angular/material/progress-bar";
30
+ import * as i29 from "@angular/material/sidenav";
31
+ import * as i30 from "@angular/material/toolbar";
32
+ import * as i31 from "@angular/router";
33
+ import * as i32 from "@angular/material/expansion";
34
+ export declare class SpaMatModule {
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpaMatModule, never>;
36
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpaMatModule, never, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatMenuModule, typeof i4.MatSliderModule, typeof i5.MatTableModule, typeof i6.MatPaginatorModule, typeof i7.MatCheckboxModule, typeof i8.MatBadgeModule, typeof i9.MatButtonModule, typeof i10.MatIconModule, typeof i11.MatDialogModule, typeof i12.MatSnackBarModule, typeof i13.MatTabsModule, typeof i14.MatFormFieldModule, typeof i15.MatInputModule, typeof i16.MatCardModule, typeof i17.MatChipsModule, typeof i18.MatSelectModule, typeof i19.MatNativeDateModule, typeof i20.MatProgressSpinnerModule, typeof i21.MatListModule, typeof i22.MatAutocompleteModule, typeof i23.MatTooltipModule, typeof i24.MatSortModule, typeof i25.MatDatepickerModule, typeof i26.MatStepperModule, typeof i27.MatRadioModule, typeof i28.MatProgressBarModule, typeof i29.MatSidenavModule, typeof i30.MatToolbarModule, typeof i31.RouterModule, typeof i32.MatExpansionModule]>;
37
+ static ɵinj: i0.ɵɵInjectorDeclaration<SpaMatModule>;
38
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../components/change-password/change-password.component";
3
+ import * as i2 from "../components/profile/profile.component";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "../tin-spa.module";
7
+ export declare class SpaUserModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpaUserModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpaUserModule, [typeof i1.ChangePasswordComponent, typeof i2.ProfileComponent], [typeof i3.ReactiveFormsModule, typeof i4.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i5.TinSpaModule], [typeof i4.CommonModule, typeof i3.FormsModule, typeof i5.TinSpaModule, typeof i1.ChangePasswordComponent, typeof i2.ProfileComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<SpaUserModule>;
11
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class UserRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UserRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<UserRoutingModule>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./user-routing.module";
4
+ import * as i3 from "../spa-user.module";
5
+ export declare class UserModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UserModule, never, [typeof i1.CommonModule, typeof i2.UserRoutingModule, typeof i3.SpaUserModule], never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<UserModule>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CamelToWordsPipe implements PipeTransform {
4
+ transform(value: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CamelToWordsPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CamelToWordsPipe, "camelToWords", false>;
7
+ }
@@ -0,0 +1,61 @@
1
+ import { MessageService } from './message.service';
2
+ import { Router, CanActivate, ActivatedRoute } from '@angular/router';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { StorageService } from './storage.service';
5
+ import { LogService } from './log.service';
6
+ import { Role } from '../classes/Classes';
7
+ import { HttpService } from './http.service';
8
+ import { SocialAuthService } from '@abacritt/angularx-social-login';
9
+ import * as i0 from "@angular/core";
10
+ export declare class AuthService implements CanActivate {
11
+ private _route;
12
+ private socialService;
13
+ private storage;
14
+ router: Router;
15
+ private httpService;
16
+ private messageService;
17
+ private logService;
18
+ constructor(_route: ActivatedRoute, socialService: SocialAuthService, storage: StorageService, router: Router, httpService: HttpService, messageService: MessageService, logService: LogService);
19
+ clearSession(): void;
20
+ sessionExpired(): void;
21
+ logoff(): void;
22
+ private loggedin;
23
+ private loggedinSource;
24
+ loggedinObserv: import("rxjs").Observable<boolean>;
25
+ Updateloggedin(loggedin: boolean): void;
26
+ private autoLogin;
27
+ private autoLoginSource;
28
+ autoLoginObserv: import("rxjs").Observable<boolean>;
29
+ UpdateAutoLogin(autoLogin: boolean): void;
30
+ private token;
31
+ tokenSource: BehaviorSubject<string>;
32
+ tokenObserv: import("rxjs").Observable<string>;
33
+ UpdateToken(newToken: string): void;
34
+ private tokenExpire;
35
+ tokenExpireSource: BehaviorSubject<string>;
36
+ tokenExpireObserv: import("rxjs").Observable<string>;
37
+ UpdateTokenExpire(newTokenExpire: string): void;
38
+ currentUser: string;
39
+ private currentUserSource;
40
+ currentUserObserv: import("rxjs").Observable<string>;
41
+ UpdateCurrentUser(newUser: string): void;
42
+ private islineManager;
43
+ private isLineManagerSource;
44
+ isLineManagerObserv: import("rxjs").Observable<boolean>;
45
+ UpdateIsLineManager(manager: boolean): void;
46
+ private currentRole;
47
+ currentRoleSource: BehaviorSubject<Role>;
48
+ myRoleObserv: import("rxjs").Observable<Role>;
49
+ UpdateRole(role: any): void;
50
+ private loggedUserSource;
51
+ loggedUserFullName: import("rxjs").Observable<string>;
52
+ updateLoggedUserFullName(userName: string): void;
53
+ private tenantNameSource;
54
+ tenantNameObserv: import("rxjs").Observable<string>;
55
+ updateTenantName(tenantName: string): void;
56
+ isAuthorised(capName: string): boolean;
57
+ isValidToken(): boolean;
58
+ canActivate(): boolean;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
60
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
61
+ }
@@ -0,0 +1,27 @@
1
+ import { Button, TableConfig } from '../classes/Classes';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonService {
4
+ getButton(buttons: Button[], name: string): Button | null;
5
+ getButtonProperties(button: Button, row: any, config: TableConfig): {
6
+ color: string;
7
+ icon: string;
8
+ disabled: boolean;
9
+ visible: boolean;
10
+ tip: string;
11
+ };
12
+ getButtonColor(button: Button, row: any): string;
13
+ isButtonDisabled(button: Button, row: any): boolean;
14
+ isButtonVisible(button: Button, row: any, isLoadComplete: boolean): boolean;
15
+ getTitleAction(mode: string, buttons: Button[]): string;
16
+ isTabVisible(tableConfig: TableConfig): boolean;
17
+ getIcon(button: Button, config: TableConfig): string;
18
+ testDisabled(button: Button, row: any): boolean;
19
+ testVisible(button: Button, row: any): boolean;
20
+ private getDefaultColor;
21
+ private getDefaultIcon;
22
+ getCreateButton(buttons: Button[]): Button | undefined;
23
+ getDisplayedButtons(buttons: Button[], isSmallScreen: boolean, minButtons?: string[]): Button[];
24
+ getActionsWidth(buttons: Button[]): string;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonService, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<ButtonService>;
27
+ }
@@ -0,0 +1,10 @@
1
+ import { Icon, Color } from '../classes/Classes';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ConditionService {
4
+ testIconCondition(icon: Icon, row: any): boolean;
5
+ testColorCondition(color: Color, row: any): boolean;
6
+ getColor(value: any, options: any[]): string;
7
+ testCondition(condition: (value: any) => boolean, value: any): boolean;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConditionService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConditionService>;
10
+ }