tin-spa 14.0.1 → 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 (234) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/classes/Classes.mjs +206 -53
  3. package/esm2020/lib/classes/TinCore.mjs +46 -213
  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/alert/alert.component.mjs +7 -21
  7. package/esm2020/lib/components/attach/attach.component.mjs +33 -49
  8. package/esm2020/lib/components/bug/bug.component.mjs +14 -0
  9. package/esm2020/lib/components/change-password/change-password.component.mjs +92 -0
  10. package/esm2020/lib/components/create-account/create-account.component.mjs +109 -0
  11. package/esm2020/lib/components/customers/customers.component.mjs +60 -0
  12. package/esm2020/lib/components/date/date.component.mjs +8 -10
  13. package/esm2020/lib/components/datetime/datetime.component.mjs +3 -6
  14. package/esm2020/lib/{pages → components}/departments/departments.component.mjs +5 -3
  15. package/esm2020/lib/components/employees/employees.component.mjs +21 -0
  16. package/esm2020/lib/components/filter/filter.component.mjs +3 -7
  17. package/esm2020/lib/components/form/form.component.mjs +52 -157
  18. package/esm2020/lib/components/grades/grades.component.mjs +14 -0
  19. package/esm2020/lib/components/inventory/inventory.component.mjs +99 -0
  20. package/esm2020/lib/components/inventory/quantityDialog.component.mjs +53 -0
  21. package/esm2020/lib/components/invitations/invitations.component.mjs +14 -0
  22. package/esm2020/lib/components/invitations-table/invitations-table.component.mjs +70 -0
  23. package/esm2020/lib/components/label/label.component.mjs +3 -9
  24. package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +3 -3
  25. package/esm2020/lib/components/login/login.component.mjs +127 -0
  26. package/esm2020/lib/components/logs/logs.component.mjs +37 -0
  27. package/esm2020/lib/components/membership/membership.component.mjs +48 -0
  28. package/esm2020/lib/components/money/money.component.mjs +9 -26
  29. package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +28 -32
  30. package/esm2020/lib/components/notifications/notifications.component.mjs +14 -0
  31. package/esm2020/lib/components/number/number.component.mjs +8 -23
  32. package/esm2020/lib/components/option/option.component.mjs +14 -39
  33. package/esm2020/lib/components/plans/plans.component.mjs +47 -0
  34. package/esm2020/lib/components/positions/positions.component.mjs +21 -0
  35. package/esm2020/lib/components/profile/profile.component.mjs +92 -0
  36. package/esm2020/lib/components/recover-account/recover-account.component.mjs +46 -0
  37. package/esm2020/lib/{pages → components}/roles/addRoleDialog.component.mjs +3 -3
  38. package/esm2020/lib/components/roles/roles.component.mjs +91 -0
  39. package/esm2020/lib/components/search/search.component.mjs +5 -10
  40. package/esm2020/lib/components/select/select.component.mjs +119 -56
  41. package/esm2020/lib/components/settings/settings.component.mjs +62 -0
  42. package/esm2020/lib/components/signup/signup.component.mjs +50 -0
  43. package/esm2020/lib/components/steps/steps.component.mjs +61 -83
  44. package/esm2020/lib/components/suppliers/suppliers.component.mjs +50 -0
  45. package/esm2020/lib/components/table/detailsDialog.component.mjs +41 -215
  46. package/esm2020/lib/components/table/table.component.mjs +108 -142
  47. package/esm2020/lib/components/table-action/table-action.component.mjs +8 -42
  48. package/esm2020/lib/components/table-header/table-header.component.mjs +15 -87
  49. package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +39 -219
  50. package/esm2020/lib/components/table-internal/table-internal.component.mjs +109 -144
  51. package/esm2020/lib/components/table-row/table-row.component.mjs +6 -41
  52. package/esm2020/lib/components/tasks/tasks.component.mjs +86 -0
  53. package/esm2020/lib/components/tenant-settings/inviteDialog.component.mjs +60 -0
  54. package/esm2020/lib/components/tenant-settings/tenant-settings.component.mjs +155 -0
  55. package/esm2020/lib/components/tenants/tenants.component.mjs +47 -0
  56. package/esm2020/lib/components/text/text.component.mjs +48 -122
  57. package/esm2020/lib/components/tiles/tiles.component.mjs +26 -44
  58. package/esm2020/lib/components/transactions/transactDialog.component.mjs +80 -0
  59. package/esm2020/lib/components/transactions/transactions.component.mjs +101 -0
  60. package/esm2020/lib/components/users/users.component.mjs +118 -0
  61. package/esm2020/lib/components/viewer/viewer.component.mjs +3 -7
  62. package/esm2020/lib/components/viewer/viewerDialog.component.mjs +13 -20
  63. package/esm2020/lib/components/welcome/welcome.component.mjs +86 -0
  64. package/esm2020/lib/modules/admin/admin-routing.module.mjs +22 -32
  65. package/esm2020/lib/modules/index/index-routing.module.mjs +4 -4
  66. package/esm2020/lib/modules/spa-admin.module.mjs +7 -7
  67. package/esm2020/lib/modules/spa-index.module.mjs +4 -4
  68. package/esm2020/lib/modules/spa-user.module.mjs +3 -3
  69. package/esm2020/lib/modules/user/user-routing.module.mjs +3 -3
  70. package/esm2020/lib/services/auth.service.mjs +2 -3
  71. package/esm2020/lib/services/button.service.mjs +32 -92
  72. package/esm2020/lib/services/datalib.service.mjs +78 -551
  73. package/esm2020/lib/services/dialog.service.mjs +7 -51
  74. package/esm2020/lib/services/log.service.mjs +2 -2
  75. package/esm2020/lib/services/table-config.service.mjs +7 -55
  76. package/esm2020/lib/tin-spa.module.mjs +30 -72
  77. package/esm2020/public-api.mjs +25 -35
  78. package/fesm2015/tin-spa.mjs +2681 -6963
  79. package/fesm2015/tin-spa.mjs.map +1 -1
  80. package/fesm2020/tin-spa.mjs +2750 -7078
  81. package/fesm2020/tin-spa.mjs.map +1 -1
  82. package/lib/classes/Classes.d.ts +296 -280
  83. package/lib/classes/TinCore.d.ts +4 -15
  84. package/lib/components/alert/alert.component.d.ts +3 -4
  85. package/lib/components/attach/attach.component.d.ts +6 -13
  86. package/lib/{pages → components}/change-password/change-password.component.d.ts +1 -1
  87. package/lib/{pages → components}/create-account/create-account.component.d.ts +1 -2
  88. package/lib/{pages → components}/customers/customers.component.d.ts +8 -2
  89. package/lib/components/date/date.component.d.ts +1 -1
  90. package/lib/components/datetime/datetime.component.d.ts +1 -2
  91. package/lib/components/filter/filter.component.d.ts +0 -1
  92. package/lib/components/form/form.component.d.ts +9 -20
  93. package/lib/components/invitations/invitations.component.d.ts +8 -0
  94. package/lib/{pages → components}/invitations-table/invitations-table.component.d.ts +1 -1
  95. package/lib/components/label/label.component.d.ts +1 -3
  96. package/lib/{pages → components}/login/login.component.d.ts +3 -10
  97. package/lib/{pages → components}/logs/logs.component.d.ts +6 -2
  98. package/lib/{pages → components}/membership/membership.component.d.ts +6 -2
  99. package/lib/components/money/money.component.d.ts +1 -8
  100. package/lib/components/nav-menu/nav-menu.component.d.ts +2 -6
  101. package/lib/components/notifications/notifications.component.d.ts +8 -0
  102. package/lib/components/number/number.component.d.ts +1 -7
  103. package/lib/components/option/option.component.d.ts +2 -11
  104. package/lib/{pages → components}/plans/plans.component.d.ts +6 -2
  105. package/lib/{pages → components}/profile/profile.component.d.ts +1 -2
  106. package/lib/{pages → components}/roles/addRoleDialog.component.d.ts +1 -1
  107. package/lib/{pages → components}/roles/roles.component.d.ts +3 -15
  108. package/lib/components/search/search.component.d.ts +1 -3
  109. package/lib/components/select/select.component.d.ts +35 -16
  110. package/lib/{pages → components}/signup/signup.component.d.ts +1 -1
  111. package/lib/components/steps/steps.component.d.ts +9 -18
  112. package/lib/{pages → components}/suppliers/suppliers.component.d.ts +4 -1
  113. package/lib/components/table/detailsDialog.component.d.ts +7 -29
  114. package/lib/components/table/table.component.d.ts +9 -18
  115. package/lib/components/table-action/table-action.component.d.ts +1 -4
  116. package/lib/components/table-header/table-header.component.d.ts +4 -19
  117. package/lib/components/table-internal/detailsDialog-internal.component.d.ts +7 -29
  118. package/lib/components/table-internal/table-internal.component.d.ts +9 -18
  119. package/lib/components/table-row/table-row.component.d.ts +2 -5
  120. package/lib/{pages → components}/tasks/tasks.component.d.ts +1 -1
  121. package/lib/components/tenant-settings/inviteDialog.component.d.ts +28 -0
  122. package/lib/{pages → components}/tenant-settings/tenant-settings.component.d.ts +7 -12
  123. package/lib/{pages → components}/tenants/tenants.component.d.ts +2 -2
  124. package/lib/components/text/text.component.d.ts +5 -22
  125. package/lib/components/tiles/tiles.component.d.ts +4 -7
  126. package/lib/{pages → components}/users/users.component.d.ts +16 -8
  127. package/lib/components/viewer/viewerDialog.component.d.ts +1 -3
  128. package/lib/modules/spa-admin.module.d.ts +6 -6
  129. package/lib/modules/spa-index.module.d.ts +3 -3
  130. package/lib/modules/spa-user.module.d.ts +2 -2
  131. package/lib/services/auth.service.d.ts +1 -1
  132. package/lib/services/button.service.d.ts +8 -11
  133. package/lib/services/datalib.service.d.ts +10 -58
  134. package/lib/services/dialog.service.d.ts +2 -3
  135. package/lib/services/log.service.d.ts +1 -1
  136. package/lib/services/table-config.service.d.ts +1 -9
  137. package/lib/tin-spa.module.d.ts +33 -53
  138. package/package.json +1 -1
  139. package/public-api.d.ts +23 -33
  140. package/esm2020/lib/classes/LibClasses.mjs +0 -180
  141. package/esm2020/lib/components/capsules/capsules.component.mjs +0 -63
  142. package/esm2020/lib/components/cards/cards.component.mjs +0 -103
  143. package/esm2020/lib/components/email/email.component.mjs +0 -133
  144. package/esm2020/lib/components/html/html.component.mjs +0 -34
  145. package/esm2020/lib/components/multi-select/multi-select.component.mjs +0 -165
  146. package/esm2020/lib/components/multi-text/multi-text.component.mjs +0 -208
  147. package/esm2020/lib/components/notes/notes.component.mjs +0 -62
  148. package/esm2020/lib/components/page/page.component.mjs +0 -101
  149. package/esm2020/lib/components/select-bitwise/select-bitwise.component.mjs +0 -87
  150. package/esm2020/lib/components/select-common/select-common.component.mjs +0 -206
  151. package/esm2020/lib/components/select-internal/select-internal.component.mjs +0 -75
  152. package/esm2020/lib/components/select-lite/select-lite.component.mjs +0 -18
  153. package/esm2020/lib/components/statuses/statuses.component.mjs +0 -44
  154. package/esm2020/lib/components/suffix/suffix.component.mjs +0 -70
  155. package/esm2020/lib/components/table-lite/detailsDialog-lite.component.mjs +0 -404
  156. package/esm2020/lib/components/table-lite/table-lite.component.mjs +0 -441
  157. package/esm2020/lib/components/tabs/tabs.component.mjs +0 -74
  158. package/esm2020/lib/pages/accounts/accountDialog.component.mjs +0 -56
  159. package/esm2020/lib/pages/accounts/accounts.component.mjs +0 -70
  160. package/esm2020/lib/pages/app-models/app-models.component.mjs +0 -56
  161. package/esm2020/lib/pages/approvals/approvals.component.mjs +0 -19
  162. package/esm2020/lib/pages/approvals-config/approvals-config.component.mjs +0 -165
  163. package/esm2020/lib/pages/bug/bug.component.mjs +0 -14
  164. package/esm2020/lib/pages/change-password/change-password.component.mjs +0 -92
  165. package/esm2020/lib/pages/create-account/create-account.component.mjs +0 -110
  166. package/esm2020/lib/pages/customers/customers.component.mjs +0 -21
  167. package/esm2020/lib/pages/employees/employees.component.mjs +0 -20
  168. package/esm2020/lib/pages/grades/grades.component.mjs +0 -14
  169. package/esm2020/lib/pages/inventory/inventory.component.mjs +0 -99
  170. package/esm2020/lib/pages/inventory/quantityDialog.component.mjs +0 -53
  171. package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +0 -71
  172. package/esm2020/lib/pages/login/login.component.mjs +0 -166
  173. package/esm2020/lib/pages/logs/logs.component.mjs +0 -42
  174. package/esm2020/lib/pages/membership/membership.component.mjs +0 -44
  175. package/esm2020/lib/pages/notifications/notifications.component.mjs +0 -90
  176. package/esm2020/lib/pages/notifications-config/notifications-config.component.mjs +0 -113
  177. package/esm2020/lib/pages/plans/plans.component.mjs +0 -44
  178. package/esm2020/lib/pages/positions/positions.component.mjs +0 -21
  179. package/esm2020/lib/pages/profile/profile.component.mjs +0 -94
  180. package/esm2020/lib/pages/recover-account/recover-account.component.mjs +0 -46
  181. package/esm2020/lib/pages/roles/roles.component.mjs +0 -151
  182. package/esm2020/lib/pages/settings/settings.component.mjs +0 -54
  183. package/esm2020/lib/pages/signup/signup.component.mjs +0 -50
  184. package/esm2020/lib/pages/suppliers/suppliers.component.mjs +0 -22
  185. package/esm2020/lib/pages/tasks/tasks.component.mjs +0 -86
  186. package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +0 -228
  187. package/esm2020/lib/pages/tenants/tenants.component.mjs +0 -47
  188. package/esm2020/lib/pages/transactions/transactDialog.component.mjs +0 -80
  189. package/esm2020/lib/pages/transactions/transactions.component.mjs +0 -101
  190. package/esm2020/lib/pages/users/users.component.mjs +0 -167
  191. package/esm2020/lib/pages/welcome/welcome.component.mjs +0 -86
  192. package/esm2020/lib/select-context.directive.mjs +0 -23
  193. package/esm2020/lib/services/csv.service.mjs +0 -49
  194. package/esm2020/lib/services/notifications.service.mjs +0 -33
  195. package/lib/classes/LibClasses.d.ts +0 -173
  196. package/lib/components/capsules/capsules.component.d.ts +0 -26
  197. package/lib/components/cards/cards.component.d.ts +0 -39
  198. package/lib/components/email/email.component.d.ts +0 -40
  199. package/lib/components/html/html.component.d.ts +0 -16
  200. package/lib/components/multi-select/multi-select.component.d.ts +0 -47
  201. package/lib/components/multi-text/multi-text.component.d.ts +0 -56
  202. package/lib/components/notes/notes.component.d.ts +0 -19
  203. package/lib/components/page/page.component.d.ts +0 -38
  204. package/lib/components/select-bitwise/select-bitwise.component.d.ts +0 -31
  205. package/lib/components/select-common/select-common.component.d.ts +0 -53
  206. package/lib/components/select-internal/select-internal.component.d.ts +0 -23
  207. package/lib/components/select-lite/select-lite.component.d.ts +0 -8
  208. package/lib/components/statuses/statuses.component.d.ts +0 -12
  209. package/lib/components/suffix/suffix.component.d.ts +0 -23
  210. package/lib/components/table-lite/detailsDialog-lite.component.d.ts +0 -86
  211. package/lib/components/table-lite/table-lite.component.d.ts +0 -91
  212. package/lib/components/tabs/tabs.component.d.ts +0 -32
  213. package/lib/pages/app-models/app-models.component.d.ts +0 -15
  214. package/lib/pages/approvals/approvals.component.d.ts +0 -10
  215. package/lib/pages/approvals-config/approvals-config.component.d.ts +0 -24
  216. package/lib/pages/notifications/notifications.component.d.ts +0 -16
  217. package/lib/pages/notifications-config/notifications-config.component.d.ts +0 -17
  218. package/lib/select-context.directive.d.ts +0 -10
  219. package/lib/services/csv.service.d.ts +0 -10
  220. package/lib/services/notifications.service.d.ts +0 -12
  221. /package/lib/{pages → components}/accounts/accountDialog.component.d.ts +0 -0
  222. /package/lib/{pages → components}/accounts/accounts.component.d.ts +0 -0
  223. /package/lib/{pages → components}/bug/bug.component.d.ts +0 -0
  224. /package/lib/{pages → components}/departments/departments.component.d.ts +0 -0
  225. /package/lib/{pages → components}/employees/employees.component.d.ts +0 -0
  226. /package/lib/{pages → components}/grades/grades.component.d.ts +0 -0
  227. /package/lib/{pages → components}/inventory/inventory.component.d.ts +0 -0
  228. /package/lib/{pages → components}/inventory/quantityDialog.component.d.ts +0 -0
  229. /package/lib/{pages → components}/positions/positions.component.d.ts +0 -0
  230. /package/lib/{pages → components}/recover-account/recover-account.component.d.ts +0 -0
  231. /package/lib/{pages → components}/settings/settings.component.d.ts +0 -0
  232. /package/lib/{pages → components}/transactions/transactDialog.component.d.ts +0 -0
  233. /package/lib/{pages → components}/transactions/transactions.component.d.ts +0 -0
  234. /package/lib/{pages → components}/welcome/welcome.component.d.ts +0 -0
@@ -1,23 +1,42 @@
1
- import { OnInit } from '@angular/core';
2
- import { DetailsDialogConfig } from '../../classes/Classes';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PeekDialogConfig } from '../../classes/Classes';
3
3
  import { MessageService } from '../../services/message.service';
4
4
  import { DialogService } from '../../services/dialog.service';
5
- import { SelectCommonComponent } from '../select-common/select-common.component';
6
- import { DataServiceLib } from '../../services/datalib.service';
7
- import { ButtonService } from '../../services/button.service';
8
5
  import * as i0 from "@angular/core";
9
- export declare class SelectComponent extends SelectCommonComponent implements OnInit {
10
- protected messageService: MessageService;
11
- protected dataService: DataServiceLib;
6
+ export declare class SelectComponent implements OnInit {
7
+ private messageService;
12
8
  private dialogService;
13
- private buttonService;
14
- constructor(messageService: MessageService, dataService: DataServiceLib, dialogService: DialogService, buttonService: ButtonService);
9
+ constructor(messageService: MessageService, dialogService: DialogService);
15
10
  ngOnInit(): void;
16
- detailsConfig: DetailsDialogConfig;
17
- onHoverChange(isHovered: boolean): void;
18
- canCreate(): boolean;
19
- canView(): boolean;
20
- onPeekClick(event: MouseEvent, mode: 'create' | 'view'): void;
11
+ ngOnChanges(): void;
12
+ displayValue: any;
13
+ isHovered: boolean;
14
+ width: string;
15
+ readonly: boolean;
16
+ required: boolean;
17
+ defaultFirstValue: boolean;
18
+ readonlyMode: string;
19
+ hint: string;
20
+ placeholder: string;
21
+ multiple: boolean;
22
+ display: string;
23
+ value: any;
24
+ options: any;
25
+ masterOptions: any;
26
+ optionValue: string;
27
+ optionDisplay: string;
28
+ optionDisplayExtra: string;
29
+ nullable: boolean;
30
+ peekConfig: PeekDialogConfig;
31
+ infoMessage: string;
32
+ valueChange: EventEmitter<any>;
33
+ infoClick: EventEmitter<void>;
34
+ changed(): void;
35
+ onMouseEnter(): void;
36
+ onMouseLeave(): void;
37
+ onAddClick(event: MouseEvent): void;
38
+ onViewClick(event: MouseEvent): void;
39
+ onInfoClick(event: MouseEvent): void;
21
40
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "detailsConfig": "detailsConfig"; }, {}, never, never, false>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "width": "width"; "readonly": "readonly"; "required": "required"; "defaultFirstValue": "defaultFirstValue"; "readonlyMode": "readonlyMode"; "hint": "hint"; "placeholder": "placeholder"; "multiple": "multiple"; "display": "display"; "value": "value"; "options": "options"; "masterOptions": "masterOptions"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; "nullable": "nullable"; "peekConfig": "peekConfig"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
23
42
  }
@@ -2,8 +2,8 @@ import { OnInit } from '@angular/core';
2
2
  import { MessageService } from '../../services/message.service';
3
3
  import { DataServiceLib } from '../../services/datalib.service';
4
4
  import { AuthService } from '../../services/auth.service';
5
+ import { User, Profile, Account } from '../../classes/Classes';
5
6
  import { HttpService } from '../../services/http.service';
6
- import { Account, Profile, User } from '../../classes/LibClasses';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class SignupComponent implements OnInit {
9
9
  private httpService;
@@ -1,27 +1,18 @@
1
- import { OnInit } from '@angular/core';
1
+ import { AfterViewInit, OnInit } from '@angular/core';
2
2
  import { MatStepper } from '@angular/material/stepper';
3
- import { Step, StepConfig } from '../../classes/Classes';
4
- import { BreakpointObserver } from '@angular/cdk/layout';
5
- import { DataServiceLib } from '../../services/datalib.service';
3
+ import { Step } from '../../classes/Classes';
6
4
  import * as i0 from "@angular/core";
7
- export declare class StepsComponent implements OnInit {
8
- private breakpointObserver;
9
- private dataService;
10
- constructor(breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
5
+ export declare class StepsComponent implements OnInit, AfterViewInit {
6
+ constructor();
11
7
  ngOnInit(): void;
8
+ ngAfterViewInit(): void;
12
9
  ngOnChanges(): void;
13
- private observeScreenSize;
14
10
  stepper: MatStepper;
15
11
  value: string;
16
- config: StepConfig;
17
- data: any;
18
- selectedIndex: number;
19
- smallScreen: boolean;
20
12
  steps: Step[];
21
- private loadSteps;
22
- private updateSelectedStep;
23
- get shouldShowLabels(): boolean;
24
- getVisibleSteps(): Step[];
13
+ setStepper(): void;
14
+ pushStepper(count: number): void;
15
+ pushSteps(): void;
25
16
  static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "spa-steps", never, { "value": "value"; "config": "config"; "data": "data"; }, {}, never, never, false>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "spa-steps", never, { "value": "value"; "steps": "steps"; }, {}, never, never, false>;
27
18
  }
@@ -1,14 +1,17 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DataServiceLib } from '../../services/datalib.service';
3
+ import { FormConfig, TableConfig } from '../../classes/Classes';
3
4
  import { MessageService } from '../../services/message.service';
4
5
  import { AuthService } from '../../services/auth.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class SuppliersComponent implements OnInit {
7
- dataService: DataServiceLib;
8
+ private dataService;
8
9
  private messageService;
9
10
  authService: AuthService;
10
11
  constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
11
12
  ngOnInit(): void;
13
+ formConfig: FormConfig;
14
+ config: TableConfig;
12
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SuppliersComponent, never>;
13
16
  static ɵcmp: i0.ɵɵComponentDeclaration<SuppliersComponent, "spa-suppliers", never, {}, {}, never, never, false>;
14
17
  }
@@ -1,6 +1,6 @@
1
- import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
- import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action, StepConfig, StatusConfig } from '../../classes/Classes';
3
+ import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action } from '../../classes/Classes';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { DataServiceLib } from '../../services/datalib.service';
6
6
  import { LoaderService } from '../../services/loader.service';
@@ -8,11 +8,8 @@ import { BreakpointObserver } from '@angular/cdk/layout';
8
8
  import { Subject } from 'rxjs';
9
9
  import { ButtonService } from '../../services/button.service';
10
10
  import { DialogService } from '../../services/dialog.service';
11
- import { AuthService } from '../../services/auth.service';
12
- import { TableConfigService } from '../../services/table-config.service';
13
- import { MatTabChangeEvent } from '@angular/material/tabs';
14
11
  import * as i0 from "@angular/core";
15
- export declare class DetailsDialog implements OnInit, OnDestroy {
12
+ export declare class DetailsDialog implements OnInit {
16
13
  private breakpointObserver;
17
14
  private loaderService;
18
15
  dataService: DataServiceLib;
@@ -21,13 +18,8 @@ export declare class DetailsDialog implements OnInit, OnDestroy {
21
18
  detailsConfig: DetailsDialogConfig;
22
19
  private buttonService;
23
20
  private dialogService;
24
- private authService;
25
- tableConfigService: TableConfigService;
26
- constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialog>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService);
21
+ constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialog>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService);
27
22
  ngOnInit(): void;
28
- ngOnDestroy(): void;
29
- private refreshSubscription;
30
- autoRefreshEnabled: boolean;
31
23
  titleAction: string;
32
24
  loadByAction: boolean;
33
25
  extraButtons: Button[];
@@ -39,22 +31,14 @@ export declare class DetailsDialog implements OnInit, OnDestroy {
39
31
  files: any[];
40
32
  tableReload: Subject<boolean>;
41
33
  tableConfig: TableConfig;
42
- tableConfigs: TableConfig[];
34
+ tableConfigs: any;
43
35
  details: any;
44
36
  formConfig: FormConfig;
45
- stepConfig: StepConfig;
46
- statusConfig: StatusConfig;
47
37
  smallScreen: boolean;
48
38
  isLoadComplete: boolean;
49
39
  isProcessing: boolean;
50
40
  inputChange: EventEmitter<any>;
51
- selectedTabIndex: number;
52
- onTabChange(event: MatTabChangeEvent): void;
53
- private initAutoRefresh;
54
- private startAutoRefresh;
55
- private stopAutoRefresh;
56
- toggleAutoRefresh(): void;
57
- loadData(action: Action, causeTablesReload: any): void;
41
+ loadData(action: Action, reload: any): void;
58
42
  inputChanged(event: any): void;
59
43
  setMode(newMode: any): void;
60
44
  setTitleAction(): void;
@@ -71,16 +55,10 @@ export declare class DetailsDialog implements OnInit, OnDestroy {
71
55
  private openNestedDetailsDialog;
72
56
  private refreshData;
73
57
  handleButtonAction(buttonName: string): void;
74
- processButtonAction(button: Button): void;
75
58
  private validateForm;
76
59
  private prepareActionData;
77
60
  private executeAction;
78
61
  private performApiCall;
79
- getClosePosition(): 'top' | 'bottom';
80
- getCloseText(): string;
81
- shouldShowTopClose(): boolean;
82
- shouldShowBottomClose(): boolean;
83
- close(): void;
84
62
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDialog, never>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialog, "spa-detailsDialog", never, {}, { "inputChange": "inputChange"; }, never, never, false>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialog, "app-viewModel", never, {}, { "inputChange": "inputChange"; }, never, never, false>;
86
64
  }
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { Action, Button, Color, Column, Icon, TableConfig } from '../../classes/Classes';
3
3
  import { MatPaginator } from '@angular/material/paginator';
4
4
  import { MessageService } from '../../services/message.service';
@@ -10,7 +10,6 @@ import { ButtonService } from '../../services/button.service';
10
10
  import { DialogService } from '../../services/dialog.service';
11
11
  import { TableConfigService } from '../../services/table-config.service';
12
12
  import { ConditionService } from '../../services/condition.service';
13
- import { AuthService } from '../../services/auth.service';
14
13
  import * as i0 from "@angular/core";
15
14
  export declare class TableComponent implements OnInit {
16
15
  private dataService;
@@ -21,43 +20,36 @@ export declare class TableComponent implements OnInit {
21
20
  private dialogService;
22
21
  private tableConfigService;
23
22
  private conditionService;
24
- private authService;
25
- constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService);
23
+ constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService);
26
24
  ngOnInit(): void;
27
- ngOnChanges(changes: SimpleChanges): void;
25
+ ngOnChanges(): void;
28
26
  elevation: string;
29
27
  actionsWidth: string;
30
28
  showFilterButton: boolean;
31
29
  tileReload: Subject<boolean>;
32
- hasBeenActivated: boolean;
33
30
  smallScreen: boolean;
34
- hasFormAccess: boolean;
35
31
  tableDataSource: any;
36
32
  dataSource: any[];
37
33
  displayedColumns: any[];
38
34
  displayedButtons: any[];
39
- originalTableLoadAction: Action;
40
35
  tablePaginator: MatPaginator;
36
+ hideTitle: boolean;
41
37
  data: any;
42
- tileData: any;
43
38
  config: TableConfig;
44
39
  reload: Subject<boolean>;
45
- activeTab: boolean;
46
- inTab: boolean;
47
40
  dataLoad: EventEmitter<any>;
48
- actionSuccess: EventEmitter<any>;
49
41
  refreshClick: EventEmitter<any>;
50
42
  searchClick: EventEmitter<any>;
51
43
  createClick: EventEmitter<any>;
52
44
  actionClick: EventEmitter<any>;
53
45
  inputChange: EventEmitter<any>;
54
- actionResponse: EventEmitter<any>;
55
46
  private initializeComponent;
56
47
  private updateTableConfiguration;
57
48
  private setupDataLoading;
58
49
  loadData(action: Action, data: any): void;
59
50
  inputChanged(event: any): void;
60
51
  formDefaults(): void;
52
+ setColumns(): void;
61
53
  setButtons(): void;
62
54
  getButton(name: string): Button;
63
55
  getIcon(buttonName: string): string;
@@ -68,10 +60,8 @@ export declare class TableComponent implements OnInit {
68
60
  testColorCondition(row: any, color: Color): boolean;
69
61
  showBanner(message: string): void;
70
62
  testDisabled(row: any, buttonName: string): boolean;
71
- lastSearch: any;
63
+ testVisible(row: any, buttonName: string): boolean;
72
64
  searchClicked(x: any): void;
73
- tileClicked(tile: any): void;
74
- tileUnClicked(tile: any): void;
75
65
  refreshClicked(): void;
76
66
  dataLoaded(x: any): void;
77
67
  actionClicked(name: string, row: any): void;
@@ -82,10 +72,11 @@ export declare class TableComponent implements OnInit {
82
72
  newModel(): void;
83
73
  editModel(row: any): void;
84
74
  private open;
75
+ private openDetailsDialog;
85
76
  deleteModel(row: any): void;
86
77
  doAction(buttonName: string, row: any): void;
87
- execAction(button: Button, row: any): void;
78
+ execAction(b: Button, row: any): void;
88
79
  private getElevationClass;
89
80
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
90
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "spa-table", never, { "data": "data"; "tileData": "tileData"; "config": "config"; "reload": "reload"; "activeTab": "activeTab"; "inTab": "inTab"; }, { "dataLoad": "dataLoad"; "actionSuccess": "actionSuccess"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; "actionResponse": "actionResponse"; }, never, never, false>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "spa-table", never, { "hideTitle": "hideTitle"; "data": "data"; "config": "config"; "reload": "reload"; }, { "dataLoad": "dataLoad"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; }, never, never, false>;
91
82
  }
@@ -8,7 +8,6 @@ export declare class TableActionComponent {
8
8
  displayedButtons: Button[];
9
9
  config: TableConfig;
10
10
  row: any;
11
- smallScreen: boolean;
12
11
  actionClick: EventEmitter<{
13
12
  name: string;
14
13
  row: any;
@@ -18,8 +17,6 @@ export declare class TableActionComponent {
18
17
  getButtonColor(button: Button, row: any): string;
19
18
  getIcon(buttonName: string): string;
20
19
  onActionClick(buttonName: string, row: any): void;
21
- get visibleButtons(): Button[];
22
- get overflowButtons(): Button[];
23
20
  static ɵfac: i0.ɵɵFactoryDeclaration<TableActionComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TableActionComponent, "app-table-action", never, { "displayedButtons": "displayedButtons"; "config": "config"; "row": "row"; "smallScreen": "smallScreen"; }, { "actionClick": "actionClick"; }, never, never, false>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableActionComponent, "app-table-action", never, { "displayedButtons": "displayedButtons"; "config": "config"; "row": "row"; }, { "actionClick": "actionClick"; }, never, never, false>;
25
22
  }
@@ -1,20 +1,13 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { TableConfig, Button, TileConfig, DetailsDialogConfig } from '../../classes/Classes';
2
+ import { TableConfig, Button, TileConfig } from '../../classes/Classes';
3
3
  import { Subject } from 'rxjs';
4
4
  import { ButtonService } from '../../services/button.service';
5
- import { DialogService } from '../../services/dialog.service';
6
- import { MessageService } from '../../services/message.service';
7
- import { CsvService } from '../../services/csv.service';
8
5
  import * as i0 from "@angular/core";
9
6
  export declare class TableHeaderComponent {
10
7
  private buttonService;
11
- private dialogService;
12
- private messageService;
13
- private csvService;
14
- constructor(buttonService: ButtonService, dialogService: DialogService, messageService: MessageService, csvService: CsvService);
8
+ constructor(buttonService: ButtonService);
15
9
  ngOnInit(): void;
16
10
  createButton: Button;
17
- lastSearch: any;
18
11
  config: TableConfig;
19
12
  hideTitle: boolean;
20
13
  tableDataSource: any;
@@ -22,25 +15,17 @@ export declare class TableHeaderComponent {
22
15
  smallScreen: boolean;
23
16
  tileReload: Subject<boolean>;
24
17
  showFilterButton: boolean;
25
- data: any;
26
- tileData: any;
27
18
  createClick: EventEmitter<void>;
28
19
  customClick: EventEmitter<any>;
29
20
  refreshClick: EventEmitter<void>;
30
21
  tileClick: EventEmitter<string>;
31
- tileUnClick: EventEmitter<string>;
32
- uploadDetailsDialog: DetailsDialogConfig;
33
22
  onButtonClick(button: Button): void;
34
- onDownloadClick(): void;
35
- onUploadClick(): void;
36
23
  onRefreshClick(): void;
37
- onTileClick(tile: any): void;
38
- onTileUnClick(tile: any): void;
24
+ onTileClick(tileName: string): void;
39
25
  getHeaderButtons(): Button[];
40
- testVisibleHeaderButton(btn: any): boolean;
41
26
  testVisible(button: Button): boolean;
42
27
  testDisabled(button: Button): boolean;
43
28
  getButtonColor(button: Button, row: any): string;
44
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "lastSearch": "lastSearch"; "config": "config"; "hideTitle": "hideTitle"; "tableDataSource": "tableDataSource"; "tileConfig": "tileConfig"; "smallScreen": "smallScreen"; "tileReload": "tileReload"; "showFilterButton": "showFilterButton"; "data": "data"; "tileData": "tileData"; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; }, never, never, false>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "config": "config"; "hideTitle": "hideTitle"; "tableDataSource": "tableDataSource"; "tileConfig": "tileConfig"; "smallScreen": "smallScreen"; "tileReload": "tileReload"; "showFilterButton": "showFilterButton"; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; }, never, never, false>;
46
31
  }
@@ -1,6 +1,6 @@
1
- import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
- import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action, StepConfig, StatusConfig } from '../../classes/Classes';
3
+ import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action } from '../../classes/Classes';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { DataServiceLib } from '../../services/datalib.service';
6
6
  import { LoaderService } from '../../services/loader.service';
@@ -8,11 +8,8 @@ import { BreakpointObserver } from '@angular/cdk/layout';
8
8
  import { DialogService } from '../../services/dialog.service';
9
9
  import { ButtonService } from '../../services/button.service';
10
10
  import { Subject } from 'rxjs';
11
- import { AuthService } from '../../services/auth.service';
12
- import { TableConfigService } from '../../services/table-config.service';
13
- import { MatTabChangeEvent } from '@angular/material/tabs';
14
11
  import * as i0 from "@angular/core";
15
- export declare class DetailsDialogInternal implements OnInit, OnDestroy {
12
+ export declare class DetailsDialogInternal implements OnInit {
16
13
  private breakpointObserver;
17
14
  private loaderService;
18
15
  dataService: DataServiceLib;
@@ -21,13 +18,8 @@ export declare class DetailsDialogInternal implements OnInit, OnDestroy {
21
18
  detailsConfig: DetailsDialogConfig;
22
19
  private buttonService;
23
20
  private dialogService;
24
- private authService;
25
- tableConfigService: TableConfigService;
26
- constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialogInternal>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService);
21
+ constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialogInternal>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService);
27
22
  ngOnInit(): void;
28
- ngOnDestroy(): void;
29
- private refreshSubscription;
30
- autoRefreshEnabled: boolean;
31
23
  titleAction: string;
32
24
  loadByAction: boolean;
33
25
  extraButtons: Button[];
@@ -39,22 +31,14 @@ export declare class DetailsDialogInternal implements OnInit, OnDestroy {
39
31
  files: any[];
40
32
  tableReload: Subject<boolean>;
41
33
  tableConfig: TableConfig;
42
- tableConfigs: TableConfig[];
34
+ tableConfigs: any;
43
35
  details: any;
44
36
  formConfig: FormConfig;
45
- stepConfig: StepConfig;
46
- statusConfig: StatusConfig;
47
37
  smallScreen: boolean;
48
38
  isLoadComplete: boolean;
49
39
  isProcessing: boolean;
50
40
  inputChange: EventEmitter<any>;
51
- selectedTabIndex: number;
52
- onTabChange(event: MatTabChangeEvent): void;
53
- private initAutoRefresh;
54
- private startAutoRefresh;
55
- private stopAutoRefresh;
56
- toggleAutoRefresh(): void;
57
- loadData(action: Action, causeTablesReload: any): void;
41
+ loadData(action: Action, reload: any): void;
58
42
  inputChanged(event: any): void;
59
43
  setMode(newMode: any): void;
60
44
  setTitleAction(): void;
@@ -71,16 +55,10 @@ export declare class DetailsDialogInternal implements OnInit, OnDestroy {
71
55
  private openNestedDetailsDialog;
72
56
  private refreshData;
73
57
  handleButtonAction(buttonName: string): void;
74
- processButtonAction(button: Button): void;
75
58
  private validateForm;
76
59
  private prepareActionData;
77
60
  private executeAction;
78
61
  private performApiCall;
79
- getClosePosition(): 'top' | 'bottom';
80
- getCloseText(): string;
81
- shouldShowTopClose(): boolean;
82
- shouldShowBottomClose(): boolean;
83
- close(): void;
84
62
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDialogInternal, never>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialogInternal, "spa-detailsDialog-internal", never, {}, { "inputChange": "inputChange"; }, never, never, false>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialogInternal, "app-viewModel-internal", never, {}, { "inputChange": "inputChange"; }, never, never, false>;
86
64
  }
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { Action, Button, Color, Column, Icon, TableConfig } from '../../classes/Classes';
3
3
  import { MatPaginator } from '@angular/material/paginator';
4
4
  import { MessageService } from '../../services/message.service';
@@ -10,7 +10,6 @@ import { ButtonService } from '../../services/button.service';
10
10
  import { DialogService } from '../../services/dialog.service';
11
11
  import { TableConfigService } from '../../services/table-config.service';
12
12
  import { ConditionService } from '../../services/condition.service';
13
- import { AuthService } from '../../services/auth.service';
14
13
  import * as i0 from "@angular/core";
15
14
  export declare class TableInternalComponent implements OnInit {
16
15
  private dataService;
@@ -21,43 +20,36 @@ export declare class TableInternalComponent implements OnInit {
21
20
  private dialogService;
22
21
  private tableConfigService;
23
22
  private conditionService;
24
- private authService;
25
- constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService);
23
+ constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService);
26
24
  ngOnInit(): void;
27
- ngOnChanges(changes: SimpleChanges): void;
25
+ ngOnChanges(): void;
28
26
  elevation: string;
29
27
  actionsWidth: string;
30
28
  showFilterButton: boolean;
31
29
  tileReload: Subject<boolean>;
32
- hasBeenActivated: boolean;
33
30
  smallScreen: boolean;
34
- hasFormAccess: boolean;
35
31
  tableDataSource: any;
36
32
  dataSource: any[];
37
33
  displayedColumns: any[];
38
34
  displayedButtons: any[];
39
- originalTableLoadAction: Action;
40
35
  tablePaginator: MatPaginator;
36
+ hideTitle: boolean;
41
37
  data: any;
42
- tileData: any;
43
38
  config: TableConfig;
44
39
  reload: Subject<boolean>;
45
- activeTab: boolean;
46
- inTab: boolean;
47
40
  dataLoad: EventEmitter<any>;
48
- actionSuccess: EventEmitter<any>;
49
41
  refreshClick: EventEmitter<any>;
50
42
  searchClick: EventEmitter<any>;
51
43
  createClick: EventEmitter<any>;
52
44
  actionClick: EventEmitter<any>;
53
45
  inputChange: EventEmitter<any>;
54
- actionResponse: EventEmitter<any>;
55
46
  private initializeComponent;
56
47
  private updateTableConfiguration;
57
48
  private setupDataLoading;
58
49
  loadData(action: Action, data: any): void;
59
50
  inputChanged(event: any): void;
60
51
  formDefaults(): void;
52
+ setColumns(): void;
61
53
  setButtons(): void;
62
54
  getButton(name: string): Button;
63
55
  getIcon(buttonName: string): string;
@@ -68,10 +60,8 @@ export declare class TableInternalComponent implements OnInit {
68
60
  testColorCondition(row: any, color: Color): boolean;
69
61
  showBanner(message: string): void;
70
62
  testDisabled(row: any, buttonName: string): boolean;
71
- lastSearch: any;
63
+ testVisible(row: any, buttonName: string): boolean;
72
64
  searchClicked(x: any): void;
73
- tileClicked(tile: any): void;
74
- tileUnClicked(tile: any): void;
75
65
  refreshClicked(): void;
76
66
  dataLoaded(x: any): void;
77
67
  actionClicked(name: string, row: any): void;
@@ -82,10 +72,11 @@ export declare class TableInternalComponent implements OnInit {
82
72
  newModel(): void;
83
73
  editModel(row: any): void;
84
74
  private open;
75
+ private openDetailsDialog;
85
76
  deleteModel(row: any): void;
86
77
  doAction(buttonName: string, row: any): void;
87
- execAction(button: Button, row: any): void;
78
+ execAction(b: Button, row: any): void;
88
79
  private getElevationClass;
89
80
  static ɵfac: i0.ɵɵFactoryDeclaration<TableInternalComponent, never>;
90
- static ɵcmp: i0.ɵɵComponentDeclaration<TableInternalComponent, "spa-table-internal", never, { "data": "data"; "tileData": "tileData"; "config": "config"; "reload": "reload"; "activeTab": "activeTab"; "inTab": "inTab"; }, { "dataLoad": "dataLoad"; "actionSuccess": "actionSuccess"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; "actionResponse": "actionResponse"; }, never, never, false>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableInternalComponent, "spa-table-internal", never, { "hideTitle": "hideTitle"; "data": "data"; "config": "config"; "reload": "reload"; }, { "dataLoad": "dataLoad"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; }, never, never, false>;
91
82
  }
@@ -7,7 +7,6 @@ export declare class TableRowComponent {
7
7
  column: Column;
8
8
  row: any;
9
9
  config: TableConfig;
10
- smallScreen: boolean;
11
10
  actionClick: EventEmitter<{
12
11
  name: string;
13
12
  row: any;
@@ -19,13 +18,11 @@ export declare class TableRowComponent {
19
18
  showBannerEvent: EventEmitter<string>;
20
19
  constructor(buttonService: ButtonService);
21
20
  testIconCondition(row: any, icon: Icon): boolean;
22
- getColorOnCondition(row: any, column: Column): string;
21
+ testColorCondition(row: any, color: any): boolean;
23
22
  getColor(value: any, options: any[]): string;
24
23
  onActionClick(name: string, row: any): void;
25
24
  onColumnClick(column: Column, row: any): void;
26
25
  showBanner(message: string): void;
27
- textDisplayed(row: any, column: Column): any;
28
- textTruncated(row: any, column: Column): boolean;
29
26
  static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "app-table-row", never, { "column": "column"; "row": "row"; "config": "config"; "smallScreen": "smallScreen"; }, { "actionClick": "actionClick"; "columnClick": "columnClick"; "showBannerEvent": "showBannerEvent"; }, never, never, false>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "app-table-row", never, { "column": "column"; "row": "row"; "config": "config"; }, { "actionClick": "actionClick"; "columnClick": "columnClick"; "showBannerEvent": "showBannerEvent"; }, never, never, false>;
31
28
  }
@@ -21,7 +21,7 @@ export declare class TasksComponent implements OnInit {
21
21
  value: number;
22
22
  }[];
23
23
  formConfig: FormConfig;
24
- tasksTableConfig: TableConfig;
24
+ config: TableConfig;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TasksComponent, never>;
26
26
  static ɵcmp: i0.ɵɵComponentDeclaration<TasksComponent, "spa-tasks", never, {}, {}, never, never, false>;
27
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
+ }
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { FormConfig, TableConfig, DetailsDialogConfig, Field } from '../../classes/Classes';
2
+ import { FormConfig, TableConfig } from '../../classes/Classes';
3
3
  import { DataServiceLib } from '../../services/datalib.service';
4
4
  import { MessageService } from '../../services/message.service';
5
5
  import { AuthService } from '../../services/auth.service';
@@ -21,27 +21,22 @@ export declare class TenantSettingsComponent implements OnInit {
21
21
  plan: any;
22
22
  ownTenant: any;
23
23
  roles: {
24
- roleName: string;
25
- roleID: number;
24
+ name: string;
25
+ value: number;
26
26
  }[];
27
27
  loadData(): void;
28
28
  loadTenants(): void;
29
- updateTenant(x: any): void;
29
+ renameTenant(): void;
30
30
  refreshOrgsLists(): void;
31
31
  switchTenant(): void;
32
- forceLogin(): void;
33
- roleField: Field;
34
- inviteDialogConfig: DetailsDialogConfig;
32
+ newTenant(): void;
35
33
  membersFormConfig: FormConfig;
34
+ inviteActionClicked(x: any): void;
35
+ inviteDiag(): void;
36
36
  tableReload: Subject<boolean>;
37
37
  membersTableConfig: TableConfig;
38
- orgFormConfig: FormConfig;
39
- createOrgDialogConfig: DetailsDialogConfig;
40
- renameOrgDialogConfig: DetailsDialogConfig;
41
38
  orgsReload: Subject<boolean>;
42
39
  orgsTableConfig: TableConfig;
43
- mailerFormConfig: FormConfig;
44
- mailerTableConfig: TableConfig;
45
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TenantSettingsComponent, never>;
46
41
  static ɵcmp: i0.ɵɵComponentDeclaration<TenantSettingsComponent, "spa-tenant-settings", never, {}, {}, never, never, false>;
47
42
  }