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,21 +1,12 @@
1
- import { DetailsDialogConfig, Field, FormConfig, RoleAccess, SecurityConfig } from "./Classes";
1
+ import { DetailsDialogConfig, Field, FormConfig } from "./Classes";
2
2
  export declare class Core {
3
3
  static deepClone(obj: any): any;
4
- static deepClone2(obj: any): any;
5
4
  static camelToWords(value: string): string;
6
5
  static generateObject(fields: Field[]): {};
7
6
  static resetObject(fields: Field[], data: any): void;
8
- static checkSecurity(security: SecurityConfig, currentRole: any): boolean;
9
- static hasFormAccess(formConfig: FormConfig, currentRole: any): boolean;
10
- static getFormAccess(formConfig: FormConfig, currentRole: any): RoleAccess;
11
- private static getRoleAccess;
12
- static testVisible(config: FormConfig, data: any, field: Field, currentRole: any): boolean;
13
- static testReadOnly(config: FormConfig, data: any, field: Field): boolean;
14
- static testVisibleHeaderButton(data: any, btn: any): boolean;
15
- static getVisibleSubfields(config: FormConfig, data: any, field: Field, currentRole: any): Field[];
7
+ static testVisible(config: FormConfig, data: any, f: Field): boolean;
16
8
  static validateObject(fields: Field[], data: any): string;
17
- static testRequired(config: FormConfig, data: any, field: Field): boolean;
18
- static getInitialValue(field: Field): any;
9
+ private static getInitialValue;
19
10
  static getClone(x: any): any;
20
11
  static getNumber(value: string): string | 0;
21
12
  static getFirstDayOfMonth(): Date;
@@ -37,8 +28,6 @@ export declare class DetailsDialogProcessor {
37
28
  tableConfig: import("./Classes").TableConfig;
38
29
  tableConfigs: import("./Classes").TableConfig[];
39
30
  formConfig: FormConfig;
40
- stepConfig: import("./Classes").StepConfig;
41
- statusConfig: import("./Classes").StatusConfig;
42
31
  buttons: import("./Classes").Button[];
43
32
  };
44
33
  static setHeroValue(detailsConfig: DetailsDialogConfig, details: any): void;
@@ -50,7 +39,7 @@ export declare class DetailsDialogProcessor {
50
39
  private static loadDetailsData;
51
40
  private static loadDetailsFromUrl;
52
41
  static setFileField(formConfig: FormConfig): Field;
53
- static setupButtons(buttons: any): {
42
+ static setupButtons(formConfig: FormConfig, buttons: any): {
54
43
  extraButtons: any;
55
44
  createButton: any;
56
45
  editButton: any;
@@ -1,15 +1,14 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { AlertMessage, AlertConfig } from '../../classes/Classes';
2
+ import { AlertMessage, AlertMessages } from '../../classes/Classes';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AlertComponent implements OnInit {
5
5
  constructor();
6
6
  ngOnInit(): void;
7
- config: AlertConfig;
7
+ alertMessages: AlertMessages;
8
8
  data: any;
9
9
  getAlertMessages(type?: any): AlertMessage[];
10
10
  hasAlertMessages(type?: any): boolean;
11
11
  testVisible(msg: AlertMessage): boolean;
12
- getMessageContent(msg: AlertMessage): string;
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "spa-alert", never, { "config": "config"; "data": "data"; }, {}, never, never, false>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "spa-alert", never, { "alertMessages": "alertMessages"; "data": "data"; }, {}, never, never, false>;
15
14
  }
@@ -1,16 +1,8 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { MessageService } from '../../services/message.service';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class AttachComponent implements OnInit {
5
- private messageService;
6
- constructor(messageService: MessageService);
4
+ constructor();
7
5
  ngOnInit(): void;
8
- fileOptions: {
9
- allowedExtensions?: string[];
10
- maxSizeMB?: number;
11
- compressImages?: boolean;
12
- };
13
- private readonly imageExtensions;
14
6
  message: string;
15
7
  files: any[];
16
8
  filesChange: EventEmitter<any>;
@@ -19,12 +11,13 @@ export declare class AttachComponent implements OnInit {
19
11
  onFileDropped($event: any): void;
20
12
  fileBrowseHandler(event: any): void;
21
13
  deleteFile(index: number): void;
22
- prepareFilesList(files: Array<any>): Promise<void>;
23
- private getFileExtension;
24
- private isImage;
14
+ /**
15
+ * Simulate the upload process
16
+ */
17
+ prepareFilesList(files: Array<any>): void;
25
18
  formatBytes(bytes: any, decimals: any): string;
26
19
  uploaded(): void;
27
20
  filesChanged(): void;
28
21
  static ɵfac: i0.ɵɵFactoryDeclaration<AttachComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachComponent, "spa-attach", never, { "fileOptions": "fileOptions"; "message": "message"; "files": "files"; "enableUpload": "enableUpload"; }, { "filesChange": "filesChange"; "upload": "upload"; }, never, never, false>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachComponent, "spa-attach", never, { "message": "message"; "files": "files"; "enableUpload": "enableUpload"; }, { "filesChange": "filesChange"; "upload": "upload"; }, never, never, false>;
30
23
  }
@@ -1,3 +1,4 @@
1
+ import { ChangeUserPassword } from './../../classes/Classes';
1
2
  import { OnInit } from '@angular/core';
2
3
  import { MessageService } from '../../services/message.service';
3
4
  import { DataServiceLib } from '../../services/datalib.service';
@@ -5,7 +6,6 @@ import { AuthService } from '../../services/auth.service';
5
6
  import { Location } from '@angular/common';
6
7
  import { HttpService } from '../../services/http.service';
7
8
  import { ActivatedRoute, Router } from '@angular/router';
8
- import { ChangeUserPassword } from '../../classes/LibClasses';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class ChangePasswordComponent implements OnInit {
11
11
  router: Router;
@@ -2,10 +2,9 @@ import { DataServiceLib } from '../../services/datalib.service';
2
2
  import { OnInit } from '@angular/core';
3
3
  import { MessageService } from '../../services/message.service';
4
4
  import { AuthService } from '../../services/auth.service';
5
- import { AppConfig } from '../../classes/Classes';
5
+ import { AppConfig, Register } from '../../classes/Classes';
6
6
  import { Router } from '@angular/router';
7
7
  import { HttpService } from '../../services/http.service';
8
- import { Register } from '../../classes/LibClasses';
9
8
  import * as i0 from "@angular/core";
10
9
  export declare class CreateAccountComponent implements OnInit {
11
10
  private httpService;
@@ -1,12 +1,18 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DataServiceLib } from '../../services/datalib.service';
3
+ import { FormConfig, TableConfig } from '../../classes/Classes';
4
+ import { MessageService } from '../../services/message.service';
3
5
  import { AuthService } from '../../services/auth.service';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class CustomersComponent implements OnInit {
6
- dataService: DataServiceLib;
8
+ private dataService;
9
+ private messageService;
7
10
  authService: AuthService;
8
- constructor(dataService: DataServiceLib, authService: AuthService);
11
+ constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
9
12
  ngOnInit(): void;
13
+ loadTenants(): void;
14
+ formConfig: FormConfig;
15
+ config: TableConfig;
10
16
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomersComponent, never>;
11
17
  static ɵcmp: i0.ɵɵComponentDeclaration<CustomersComponent, "spa-customers", never, {}, {}, never, never, false>;
12
18
  }
@@ -7,7 +7,7 @@ export declare class DateComponent implements OnInit, OnChanges {
7
7
  max: string;
8
8
  readonly: boolean;
9
9
  hint: string;
10
- value: string | null;
10
+ value: string;
11
11
  display: string;
12
12
  placeholder: string;
13
13
  width: string;
@@ -7,7 +7,6 @@ export declare class DatetimeComponent implements OnInit {
7
7
  value: string;
8
8
  valueChange: EventEmitter<any>;
9
9
  readonly: boolean;
10
- width: string;
11
10
  min: string;
12
11
  max: string;
13
12
  changed(): void;
@@ -15,5 +14,5 @@ export declare class DatetimeComponent implements OnInit {
15
14
  infoClick: EventEmitter<void>;
16
15
  onInfoClick(event: MouseEvent): void;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "width": "width"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
19
18
  }
@@ -14,7 +14,6 @@ export declare class FilterComponent implements OnInit {
14
14
  keyUp(event: KeyboardEvent): void;
15
15
  applyFilter(filterValue: string): void;
16
16
  refreshClicked(): void;
17
- clear(): void;
18
17
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
19
18
  static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "spa-filter", never, { "flatButtons": "flatButtons"; "showText": "showText"; "showButton": "showButton"; "data": "data"; }, { "refreshClick": "refreshClick"; }, never, never, false>;
20
19
  }
@@ -1,17 +1,17 @@
1
- import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormConfig, Field, Button } from '../../classes/Classes';
3
3
  import { MessageService } from '../../services/message.service';
4
4
  import { DataServiceLib } from '../../services/datalib.service';
5
- import { AuthService } from '../../services/auth.service';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class FormComponent implements OnInit {
8
7
  private messageService;
9
8
  private dataService;
10
- private authService;
11
- constructor(messageService: MessageService, dataService: DataServiceLib, authService: AuthService);
9
+ constructor(messageService: MessageService, dataService: DataServiceLib);
12
10
  ngOnInit(): void;
13
- dynamicSelectTemplate: TemplateRef<any>;
14
- hasAccess: boolean;
11
+ ngOnChanges(): void;
12
+ ngAfterViewInit(): void;
13
+ getVisibleFields(): Field[];
14
+ testReadOnly(f: Field): boolean;
15
15
  fileNames: any;
16
16
  fileField: Field;
17
17
  fileViewField: Field;
@@ -25,23 +25,12 @@ export declare class FormComponent implements OnInit {
25
25
  config: FormConfig;
26
26
  buttonClick: EventEmitter<any>;
27
27
  inputChange: EventEmitter<any>;
28
- initializeCompositeFields(): void;
29
- private applyValueCalculations;
30
- getVisibleSubfields(field: Field): Field[];
31
- getVisibleFields(): Field[];
32
- testReadOnly(field: Field): boolean;
33
- testRequired(field: Field): boolean;
34
- toggleSection(field: Field): void;
35
- hasSectionFields(sectionName: string): boolean;
36
- shouldSectionCollapse(field: Field): boolean;
37
- onInfoClick(event: MouseEvent, infoMessage: string): void;
38
- selectChanged(field: Field): void;
39
28
  inputChanged(field: Field, value: any): void;
40
- updateChildOptions(masterFieldName: string): void;
41
- private loadChildMasterOptions;
29
+ updateChildOptions(masterField: Field): void;
30
+ handleInfoClick(field: Field): void;
42
31
  buttonClicked(): void;
43
32
  processCall(button: Button): void;
44
33
  processForm(): void;
45
34
  static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; }, ["dynamicSelectTemplate"], never, false>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; }, never, never, false>;
47
36
  }
@@ -0,0 +1,8 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InvitationsComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<InvitationsComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<InvitationsComponent, "spa-invitations", never, {}, {}, never, never, false>;
8
+ }
@@ -13,7 +13,7 @@ export declare class InvitationsTableComponent implements OnInit {
13
13
  ngOnInit(): void;
14
14
  invActionClicked(x: any): void;
15
15
  tableReload: Subject<boolean>;
16
- invitationsTableConfig: TableConfig;
16
+ invTableConfig: TableConfig;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<InvitationsTableComponent, never>;
18
18
  static ɵcmp: i0.ɵɵComponentDeclaration<InvitationsTableComponent, "spa-invitations-table", never, {}, {}, never, never, false>;
19
19
  }
@@ -6,8 +6,6 @@ export declare class LabelComponent implements OnInit {
6
6
  display: string;
7
7
  value: string;
8
8
  format: string;
9
- suffix: string;
10
- size: string;
11
9
  static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format"; "suffix": "suffix"; "size": "size"; }, {}, never, never, false>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format"; }, {}, never, never, false>;
13
11
  }
@@ -4,13 +4,10 @@ import { AuthService } from "../../services/auth.service";
4
4
  import { OnInit } from "@angular/core";
5
5
  import { ActivatedRoute, Router } from "@angular/router";
6
6
  import { DataServiceLib } from "../../services/datalib.service";
7
- import { LogService } from "../../services/log.service";
8
- import { AppConfig } from "../../classes/Classes";
7
+ import { LogService } from "./../../services/log.service";
8
+ import { User, AppConfig } from "../../classes/Classes";
9
9
  import { HttpService } from "../../services/http.service";
10
10
  import { SocialAuthService, SocialUser } from '@abacritt/angularx-social-login';
11
- import { User } from "../../classes/LibClasses";
12
- import { NotificationsService } from "../../services/notifications.service";
13
- import { MsalService } from '@azure/msal-angular';
14
11
  import * as i0 from "@angular/core";
15
12
  export declare class LoginComponent implements OnInit {
16
13
  private httpService;
@@ -22,11 +19,8 @@ export declare class LoginComponent implements OnInit {
22
19
  private logService;
23
20
  private route;
24
21
  private socialService;
25
- private notificationsService;
26
- private msalService;
27
- constructor(httpService: HttpService, storageService: StorageService, router: Router, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, logService: LogService, route: ActivatedRoute, socialService: SocialAuthService, notificationsService: NotificationsService, msalService: MsalService);
22
+ constructor(httpService: HttpService, storageService: StorageService, router: Router, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, logService: LogService, route: ActivatedRoute, socialService: SocialAuthService);
28
23
  ngOnInit(): void;
29
- loginWithMS(): void;
30
24
  autoLogin: boolean;
31
25
  socialUser: SocialUser | null;
32
26
  style: string;
@@ -40,7 +34,6 @@ export declare class LoginComponent implements OnInit {
40
34
  signup(): void;
41
35
  recoverAccount(): void;
42
36
  login(): void;
43
- notifications(): void;
44
37
  static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
45
38
  static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "spa-login", never, {}, {}, never, never, false>;
46
39
  }
@@ -1,14 +1,18 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DataServiceLib } from "../../services/datalib.service";
3
+ import { MatPaginator } from '@angular/material/paginator';
3
4
  import { AuthService } from '../../services/auth.service';
4
- import { PageConfig } from '../../classes/Classes';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class LogsComponent implements OnInit {
7
7
  private authService;
8
8
  private dataService;
9
9
  constructor(authService: AuthService, dataService: DataServiceLib);
10
10
  ngOnInit(): void;
11
- logsPageConfig: PageConfig;
11
+ isProcessing: boolean;
12
+ logsPaginator: MatPaginator;
13
+ logs: any;
14
+ displayedColumns: string[];
15
+ loadLogs(): void;
12
16
  static ɵfac: i0.ɵɵFactoryDeclaration<LogsComponent, never>;
13
17
  static ɵcmp: i0.ɵɵComponentDeclaration<LogsComponent, "spa-logs", never, {}, {}, never, never, false>;
14
18
  }
@@ -1,13 +1,17 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { DataServiceLib } from '../../services/datalib.service';
2
3
  import { FormConfig, TableConfig } from '../../classes/Classes';
4
+ import { MessageService } from '../../services/message.service';
3
5
  import { AuthService } from '../../services/auth.service';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class MembershipComponent implements OnInit {
8
+ private dataService;
9
+ private messageService;
6
10
  authService: AuthService;
7
- constructor(authService: AuthService);
11
+ constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
8
12
  ngOnInit(): void;
9
13
  formConfig: FormConfig;
10
- membersTableConfig: TableConfig;
14
+ config: TableConfig;
11
15
  static ɵfac: i0.ɵɵFactoryDeclaration<MembershipComponent, never>;
12
16
  static ɵcmp: i0.ɵɵComponentDeclaration<MembershipComponent, "spa-membership", never, {}, {}, never, never, false>;
13
17
  }
@@ -22,19 +22,12 @@ export declare class MoneyComponent implements OnInit {
22
22
  max: number;
23
23
  infoMessage: string;
24
24
  infoClick: EventEmitter<void>;
25
- copyContent: boolean;
26
- clearContent: boolean;
27
- suffix: string;
28
- isHovered: boolean;
29
- onMouseEnter(): void;
30
- onMouseLeave(): void;
31
25
  onInfoClick(event: MouseEvent): void;
32
- clear(): void;
33
26
  changed(x: any): void;
34
27
  leaved(): void;
35
28
  enterPressed(): void;
36
29
  control: FormControl<string>;
37
30
  validate(control: FormControl): string;
38
31
  static ɵfac: i0.ɵɵFactoryDeclaration<MoneyComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "currency": "currency"; "required": "required"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "suffix": "suffix"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "currency": "currency"; "required": "required"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
40
33
  }
@@ -1,23 +1,20 @@
1
- import { AppConfig, CapItem } from './../../classes/Classes';
1
+ import { AppConfig } from './../../classes/Classes';
2
2
  import { Router } from '@angular/router';
3
3
  import { AuthService } from '../../services/auth.service';
4
4
  import { StorageService } from '../../services/storage.service';
5
5
  import { SocialAuthService } from '@abacritt/angularx-social-login';
6
6
  import { DataServiceLib } from '../../services/datalib.service';
7
7
  import { BreakpointObserver } from '@angular/cdk/layout';
8
- import { NotificationsService } from '../../services/notifications.service';
9
8
  import * as i0 from "@angular/core";
10
9
  export declare class NavMenuComponent {
11
10
  router: Router;
12
11
  authService: AuthService;
13
12
  private storageService;
14
- private notificationsService;
15
13
  private socialService;
16
14
  private breakpointObserver;
17
15
  dataService: DataServiceLib;
18
- constructor(router: Router, authService: AuthService, storageService: StorageService, notificationsService: NotificationsService, socialService: SocialAuthService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
16
+ constructor(router: Router, authService: AuthService, storageService: StorageService, socialService: SocialAuthService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
19
17
  ngOnInit(): void;
20
- notificationCount$: import("rxjs").Observable<number>;
21
18
  smallScreen: any;
22
19
  myRole: any;
23
20
  loggedUserFullName: string;
@@ -32,7 +29,6 @@ export declare class NavMenuComponent {
32
29
  closeSide(): void;
33
30
  logoff(): void;
34
31
  redirectTo(link: string): void;
35
- getSubItems(capItem: CapItem): CapItem[];
36
32
  static ɵfac: i0.ɵɵFactoryDeclaration<NavMenuComponent, never>;
37
33
  static ɵcmp: i0.ɵɵComponentDeclaration<NavMenuComponent, "spa-nav-menu", never, { "appConfig": "appConfig"; "footer": "footer"; }, {}, never, never, false>;
38
34
  }
@@ -0,0 +1,8 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NotificationsComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsComponent, "spa-notifications", never, {}, {}, never, never, false>;
8
+ }
@@ -24,12 +24,6 @@ export declare class NumberComponent implements OnInit {
24
24
  suffix: string;
25
25
  infoMessage: string;
26
26
  infoClick: EventEmitter<void>;
27
- copyContent: boolean;
28
- clearContent: boolean;
29
- isHovered: boolean;
30
- onMouseEnter(): void;
31
- onMouseLeave(): void;
32
- clear(): void;
33
27
  onInfoClick(event: MouseEvent): void;
34
28
  changed(): void;
35
29
  leaved(): void;
@@ -37,5 +31,5 @@ export declare class NumberComponent implements OnInit {
37
31
  control: FormControl<number>;
38
32
  validate(control: FormControl): string;
39
33
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "spa-number", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "required": "required"; "min": "min"; "max": "max"; "step": "step"; "suffix": "suffix"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "spa-number", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "required": "required"; "min": "min"; "max": "max"; "step": "step"; "suffix": "suffix"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
41
35
  }
@@ -1,10 +1,7 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { MessageService } from '../../services/message.service';
3
- import { Action } from '../../classes/Classes';
4
2
  import * as i0 from "@angular/core";
5
3
  export declare class OptionComponent implements OnInit {
6
- private messageService;
7
- constructor(messageService: MessageService);
4
+ constructor();
8
5
  ngOnInit(): void;
9
6
  OGValue: any;
10
7
  options: any;
@@ -15,18 +12,12 @@ export declare class OptionComponent implements OnInit {
15
12
  value: string;
16
13
  display: string;
17
14
  show: boolean;
18
- required: boolean;
19
- infoMessage: string;
20
- copyContent: boolean;
21
- suffix: string;
22
- loadAction: Action;
23
15
  valueChange: EventEmitter<any>;
24
16
  enterPress: EventEmitter<any>;
25
17
  changed(): void;
26
18
  dateChanged(x: any): void;
27
19
  enterPressed(): void;
28
20
  resetValue(): void;
29
- onInfoClick(event: MouseEvent): void;
30
21
  static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "type": "type"; "value": "value"; "display": "display"; "show": "show"; "required": "required"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "suffix": "suffix"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "type": "type"; "value": "value"; "display": "display"; "show": "show"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
32
23
  }
@@ -1,13 +1,17 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { DataServiceLib } from '../../services/datalib.service';
2
3
  import { FormConfig, TableConfig } from '../../classes/Classes';
4
+ import { MessageService } from '../../services/message.service';
3
5
  import { AuthService } from '../../services/auth.service';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class PlansComponent implements OnInit {
8
+ private dataService;
9
+ private messageService;
6
10
  authService: AuthService;
7
- constructor(authService: AuthService);
11
+ constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
8
12
  ngOnInit(): void;
9
13
  formConfig: FormConfig;
10
- plansTableConfig: TableConfig;
14
+ config: TableConfig;
11
15
  static ɵfac: i0.ɵɵFactoryDeclaration<PlansComponent, never>;
12
16
  static ɵcmp: i0.ɵɵComponentDeclaration<PlansComponent, "spa-plans", never, {}, {}, never, never, false>;
13
17
  }
@@ -2,10 +2,9 @@ import { AuthService } from './../../services/auth.service';
2
2
  import { MessageService } from './../../services/message.service';
3
3
  import { DataServiceLib } from '../../services/datalib.service';
4
4
  import { OnInit } from '@angular/core';
5
- import { AppConfig } from '../../classes/Classes';
5
+ import { AppConfig, Profile } from '../../classes/Classes';
6
6
  import { Router } from '@angular/router';
7
7
  import { HttpService } from '../../services/http.service';
8
- import { Profile } from '../../classes/LibClasses';
9
8
  import * as i0 from "@angular/core";
10
9
  export declare class ProfileComponent implements OnInit {
11
10
  dataService: DataServiceLib;
@@ -3,8 +3,8 @@ import { AuthService } from '../../services/auth.service';
3
3
  import { OnInit } from '@angular/core';
4
4
  import { MatDialogRef } from '@angular/material/dialog';
5
5
  import { DataServiceLib } from '../../services/datalib.service';
6
+ import { Role } from '../../classes/Classes';
6
7
  import { LoaderService } from '../../services/loader.service';
7
- import { Role } from '../../classes/LibClasses';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class addRoleDialog implements OnInit {
10
10
  private loaderService;
@@ -1,42 +1,30 @@
1
- import { AppConfig, Button, CapItem, DetailsDialogConfig, RoleAccess } from './../../classes/Classes';
1
+ import { AppConfig } from './../../classes/Classes';
2
2
  import { OnInit } from "@angular/core";
3
3
  import { MatDialog } from "@angular/material/dialog";
4
4
  import { DataServiceLib } from "../../services/datalib.service";
5
+ import { Role } from "../../classes/Classes";
5
6
  import { Router } from "@angular/router";
6
7
  import { MessageService } from '../../services/message.service';
7
8
  import { AuthService } from '../../services/auth.service';
8
9
  import { HttpService } from '../../services/http.service';
9
- import { DialogService } from '../../services/dialog.service';
10
- import { Role } from '../../classes/LibClasses';
11
10
  import * as i0 from "@angular/core";
12
11
  export declare class RolesComponent implements OnInit {
13
12
  private httpService;
14
13
  private router;
15
14
  private authService;
16
15
  private dataService;
17
- private dialogService;
18
16
  dialog: MatDialog;
19
17
  private messageService;
20
- constructor(httpService: HttpService, router: Router, authService: AuthService, dataService: DataServiceLib, dialogService: DialogService, dialog: MatDialog, messageService: MessageService);
18
+ constructor(httpService: HttpService, router: Router, authService: AuthService, dataService: DataServiceLib, dialog: MatDialog, messageService: MessageService);
21
19
  ngOnInit(): void;
22
20
  isProcessing: boolean;
23
21
  roles: Role[];
24
- RoleAccess: typeof RoleAccess;
25
22
  appConfig: AppConfig;
26
- roleAccessOptions: {
27
- value: RoleAccess;
28
- name: string;
29
- }[];
30
23
  loadRoles(): void;
31
24
  refresh(): void;
32
- onCapItemChange(capItem: CapItem, checked: boolean, role: any): void;
33
- hasSubItemsAccess(capItem: CapItem, role: any): boolean;
34
25
  addRole(): void;
35
26
  updateRole(role: Role): void;
36
27
  deleteRole(role: Role): void;
37
- renameDialogConfig: DetailsDialogConfig;
38
- renameButton: Button;
39
- renameRole(role: Role): void;
40
28
  static ɵfac: i0.ɵɵFactoryDeclaration<RolesComponent, never>;
41
29
  static ɵcmp: i0.ɵɵComponentDeclaration<RolesComponent, "spa-roles", never, {}, {}, never, never, false>;
42
30
  }
@@ -7,9 +7,7 @@ export declare class SearchComponent implements OnInit {
7
7
  data: any;
8
8
  config: SearchConfig;
9
9
  searchClick: EventEmitter<any>;
10
- smallScreen: boolean;
11
- tableDataSource: any;
12
10
  search(): void;
13
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "spa-search", never, { "config": "config"; "smallScreen": "smallScreen"; "tableDataSource": "tableDataSource"; }, { "searchClick": "searchClick"; }, never, never, false>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "spa-search", never, { "config": "config"; }, { "searchClick": "searchClick"; }, never, never, false>;
15
13
  }