tin-spa 14.0.1 → 14.4.2

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 (166) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/classes/Classes.mjs +32 -57
  3. package/esm2020/lib/classes/LibClasses.mjs +1 -2
  4. package/esm2020/lib/classes/TinCore.mjs +48 -206
  5. package/esm2020/lib/components/alert/alert.component.mjs +7 -21
  6. package/esm2020/lib/components/attach/attach.component.mjs +33 -49
  7. package/esm2020/lib/components/date/date.component.mjs +6 -8
  8. package/esm2020/lib/components/email/email.component.mjs +17 -19
  9. package/esm2020/lib/components/form/form.component.mjs +56 -144
  10. package/esm2020/lib/components/label/label.component.mjs +3 -9
  11. package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +3 -3
  12. package/esm2020/lib/components/money/money.component.mjs +9 -26
  13. package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +27 -31
  14. package/esm2020/lib/components/number/number.component.mjs +8 -23
  15. package/esm2020/lib/components/option/option.component.mjs +14 -36
  16. package/esm2020/lib/components/search/search.component.mjs +5 -10
  17. package/esm2020/lib/components/select/select.component.mjs +129 -56
  18. package/esm2020/lib/components/steps/steps.component.mjs +61 -83
  19. package/esm2020/lib/components/table/detailsDialog.component.mjs +41 -205
  20. package/esm2020/lib/components/table/table.component.mjs +111 -136
  21. package/esm2020/lib/components/table-action/table-action.component.mjs +8 -42
  22. package/esm2020/lib/components/table-header/table-header.component.mjs +10 -14
  23. package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +39 -205
  24. package/esm2020/lib/components/table-internal/table-internal.component.mjs +112 -138
  25. package/esm2020/lib/components/table-row/table-row.component.mjs +4 -23
  26. package/esm2020/lib/components/text/text.component.mjs +46 -110
  27. package/esm2020/lib/components/tiles/tiles.component.mjs +20 -32
  28. package/esm2020/lib/components/viewer/viewer.component.mjs +3 -7
  29. package/esm2020/lib/components/viewer/viewerDialog.component.mjs +13 -20
  30. package/esm2020/lib/modules/admin/admin-routing.module.mjs +1 -11
  31. package/esm2020/lib/pages/accounts/accountDialog.component.mjs +1 -1
  32. package/esm2020/lib/pages/bug/bug.component.mjs +3 -3
  33. package/esm2020/lib/pages/change-password/change-password.component.mjs +1 -1
  34. package/esm2020/lib/pages/create-account/create-account.component.mjs +1 -1
  35. package/esm2020/lib/pages/customers/customers.component.mjs +48 -9
  36. package/esm2020/lib/pages/departments/departments.component.mjs +4 -2
  37. package/esm2020/lib/pages/employees/employees.component.mjs +4 -3
  38. package/esm2020/lib/pages/grades/grades.component.mjs +3 -3
  39. package/esm2020/lib/pages/inventory/inventory.component.mjs +3 -3
  40. package/esm2020/lib/pages/inventory/quantityDialog.component.mjs +1 -1
  41. package/esm2020/lib/pages/invitations/invitations.component.mjs +14 -0
  42. package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +10 -11
  43. package/esm2020/lib/pages/login/login.component.mjs +14 -52
  44. package/esm2020/lib/pages/logs/logs.component.mjs +22 -27
  45. package/esm2020/lib/pages/membership/membership.component.mjs +19 -15
  46. package/esm2020/lib/pages/notifications/notifications.component.mjs +6 -82
  47. package/esm2020/lib/pages/plans/plans.component.mjs +19 -16
  48. package/esm2020/lib/pages/positions/positions.component.mjs +4 -4
  49. package/esm2020/lib/pages/profile/profile.component.mjs +3 -4
  50. package/esm2020/lib/pages/recover-account/recover-account.component.mjs +1 -1
  51. package/esm2020/lib/pages/roles/addRoleDialog.component.mjs +2 -2
  52. package/esm2020/lib/pages/roles/roles.component.mjs +17 -77
  53. package/esm2020/lib/pages/settings/settings.component.mjs +13 -5
  54. package/esm2020/lib/pages/signup/signup.component.mjs +1 -1
  55. package/esm2020/lib/pages/suppliers/suppliers.component.mjs +31 -3
  56. package/esm2020/lib/pages/tasks/tasks.component.mjs +9 -9
  57. package/esm2020/lib/pages/tenant-settings/inviteDialog.component.mjs +60 -0
  58. package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +72 -145
  59. package/esm2020/lib/pages/tenants/tenants.component.mjs +10 -10
  60. package/esm2020/lib/pages/transactions/transactDialog.component.mjs +1 -1
  61. package/esm2020/lib/pages/transactions/transactions.component.mjs +3 -3
  62. package/esm2020/lib/pages/users/users.component.mjs +92 -141
  63. package/esm2020/lib/pages/welcome/welcome.component.mjs +9 -9
  64. package/esm2020/lib/services/button.service.mjs +32 -92
  65. package/esm2020/lib/services/csv.service.mjs +1 -1
  66. package/esm2020/lib/services/datalib.service.mjs +78 -551
  67. package/esm2020/lib/services/dialog.service.mjs +7 -51
  68. package/esm2020/lib/services/table-config.service.mjs +7 -55
  69. package/esm2020/lib/tin-spa.module.mjs +11 -48
  70. package/esm2020/public-api.mjs +1 -10
  71. package/fesm2015/tin-spa.mjs +2605 -6538
  72. package/fesm2015/tin-spa.mjs.map +1 -1
  73. package/fesm2020/tin-spa.mjs +2501 -6482
  74. package/fesm2020/tin-spa.mjs.map +1 -1
  75. package/lib/classes/Classes.d.ts +129 -267
  76. package/lib/classes/LibClasses.d.ts +0 -1
  77. package/lib/classes/TinCore.d.ts +4 -13
  78. package/lib/components/alert/alert.component.d.ts +3 -4
  79. package/lib/components/attach/attach.component.d.ts +6 -13
  80. package/lib/components/date/date.component.d.ts +1 -1
  81. package/lib/components/email/email.component.d.ts +3 -4
  82. package/lib/components/form/form.component.d.ts +11 -20
  83. package/lib/components/label/label.component.d.ts +1 -3
  84. package/lib/components/money/money.component.d.ts +1 -8
  85. package/lib/components/nav-menu/nav-menu.component.d.ts +2 -6
  86. package/lib/components/number/number.component.d.ts +1 -7
  87. package/lib/components/option/option.component.d.ts +2 -10
  88. package/lib/components/search/search.component.d.ts +1 -3
  89. package/lib/components/select/select.component.d.ts +37 -16
  90. package/lib/components/steps/steps.component.d.ts +9 -18
  91. package/lib/components/table/detailsDialog.component.d.ts +7 -29
  92. package/lib/components/table/table.component.d.ts +9 -15
  93. package/lib/components/table-action/table-action.component.d.ts +1 -4
  94. package/lib/components/table-header/table-header.component.d.ts +1 -3
  95. package/lib/components/table-internal/detailsDialog-internal.component.d.ts +7 -29
  96. package/lib/components/table-internal/table-internal.component.d.ts +9 -15
  97. package/lib/components/table-row/table-row.component.d.ts +1 -4
  98. package/lib/components/text/text.component.d.ts +8 -21
  99. package/lib/components/tiles/tiles.component.d.ts +3 -4
  100. package/lib/components/viewer/viewerDialog.component.d.ts +1 -3
  101. package/lib/pages/customers/customers.component.d.ts +8 -2
  102. package/lib/pages/invitations/invitations.component.d.ts +8 -0
  103. package/lib/pages/invitations-table/invitations-table.component.d.ts +1 -1
  104. package/lib/pages/login/login.component.d.ts +1 -7
  105. package/lib/pages/logs/logs.component.d.ts +6 -2
  106. package/lib/pages/membership/membership.component.d.ts +6 -2
  107. package/lib/pages/notifications/notifications.component.d.ts +1 -9
  108. package/lib/pages/plans/plans.component.d.ts +6 -2
  109. package/lib/pages/roles/roles.component.d.ts +2 -14
  110. package/lib/pages/suppliers/suppliers.component.d.ts +4 -1
  111. package/lib/pages/tasks/tasks.component.d.ts +1 -1
  112. package/lib/pages/tenant-settings/inviteDialog.component.d.ts +28 -0
  113. package/lib/pages/tenant-settings/tenant-settings.component.d.ts +7 -12
  114. package/lib/pages/tenants/tenants.component.d.ts +2 -2
  115. package/lib/pages/users/users.component.d.ts +16 -8
  116. package/lib/services/button.service.d.ts +8 -11
  117. package/lib/services/datalib.service.d.ts +10 -57
  118. package/lib/services/dialog.service.d.ts +2 -3
  119. package/lib/services/table-config.service.d.ts +1 -9
  120. package/lib/tin-spa.module.d.ts +33 -52
  121. package/package.json +1 -1
  122. package/public-api.d.ts +0 -9
  123. package/esm2020/lib/components/capsules/capsules.component.mjs +0 -63
  124. package/esm2020/lib/components/cards/cards.component.mjs +0 -103
  125. package/esm2020/lib/components/html/html.component.mjs +0 -34
  126. package/esm2020/lib/components/multi-select/multi-select.component.mjs +0 -165
  127. package/esm2020/lib/components/multi-text/multi-text.component.mjs +0 -208
  128. package/esm2020/lib/components/notes/notes.component.mjs +0 -62
  129. package/esm2020/lib/components/page/page.component.mjs +0 -101
  130. package/esm2020/lib/components/select-bitwise/select-bitwise.component.mjs +0 -87
  131. package/esm2020/lib/components/select-common/select-common.component.mjs +0 -206
  132. package/esm2020/lib/components/select-internal/select-internal.component.mjs +0 -75
  133. package/esm2020/lib/components/select-lite/select-lite.component.mjs +0 -18
  134. package/esm2020/lib/components/statuses/statuses.component.mjs +0 -44
  135. package/esm2020/lib/components/suffix/suffix.component.mjs +0 -70
  136. package/esm2020/lib/components/table-lite/detailsDialog-lite.component.mjs +0 -404
  137. package/esm2020/lib/components/table-lite/table-lite.component.mjs +0 -441
  138. package/esm2020/lib/components/tabs/tabs.component.mjs +0 -74
  139. package/esm2020/lib/pages/app-models/app-models.component.mjs +0 -56
  140. package/esm2020/lib/pages/approvals/approvals.component.mjs +0 -19
  141. package/esm2020/lib/pages/approvals-config/approvals-config.component.mjs +0 -165
  142. package/esm2020/lib/pages/notifications-config/notifications-config.component.mjs +0 -113
  143. package/esm2020/lib/select-context.directive.mjs +0 -23
  144. package/esm2020/lib/services/notifications.service.mjs +0 -33
  145. package/lib/components/capsules/capsules.component.d.ts +0 -26
  146. package/lib/components/cards/cards.component.d.ts +0 -39
  147. package/lib/components/html/html.component.d.ts +0 -16
  148. package/lib/components/multi-select/multi-select.component.d.ts +0 -47
  149. package/lib/components/multi-text/multi-text.component.d.ts +0 -56
  150. package/lib/components/notes/notes.component.d.ts +0 -19
  151. package/lib/components/page/page.component.d.ts +0 -38
  152. package/lib/components/select-bitwise/select-bitwise.component.d.ts +0 -31
  153. package/lib/components/select-common/select-common.component.d.ts +0 -53
  154. package/lib/components/select-internal/select-internal.component.d.ts +0 -23
  155. package/lib/components/select-lite/select-lite.component.d.ts +0 -8
  156. package/lib/components/statuses/statuses.component.d.ts +0 -12
  157. package/lib/components/suffix/suffix.component.d.ts +0 -23
  158. package/lib/components/table-lite/detailsDialog-lite.component.d.ts +0 -86
  159. package/lib/components/table-lite/table-lite.component.d.ts +0 -91
  160. package/lib/components/tabs/tabs.component.d.ts +0 -32
  161. package/lib/pages/app-models/app-models.component.d.ts +0 -15
  162. package/lib/pages/approvals/approvals.component.d.ts +0 -10
  163. package/lib/pages/approvals-config/approvals-config.component.d.ts +0 -24
  164. package/lib/pages/notifications-config/notifications-config.component.d.ts +0 -17
  165. package/lib/select-context.directive.d.ts +0 -10
  166. package/lib/services/notifications.service.d.ts +0 -12
@@ -1,17 +1,19 @@
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
+ initializeCompositeFields(): void;
12
+ getVisibleSubfields(field: Field): Field[];
13
+ ngOnChanges(): void;
14
+ ngAfterViewInit(): void;
15
+ getVisibleFields(): Field[];
16
+ testReadOnly(f: Field): boolean;
15
17
  fileNames: any;
16
18
  fileField: Field;
17
19
  fileViewField: Field;
@@ -25,23 +27,12 @@ export declare class FormComponent implements OnInit {
25
27
  config: FormConfig;
26
28
  buttonClick: EventEmitter<any>;
27
29
  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
30
  inputChanged(field: Field, value: any): void;
40
- updateChildOptions(masterFieldName: string): void;
41
- private loadChildMasterOptions;
31
+ updateChildOptions(masterField: Field): void;
32
+ handleInfoClick(field: Field): void;
42
33
  buttonClicked(): void;
43
34
  processCall(button: Button): void;
44
35
  processForm(): void;
45
36
  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>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; }, never, never, false>;
47
38
  }
@@ -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
  }
@@ -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
  }
@@ -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;
@@ -16,17 +13,12 @@ export declare class OptionComponent implements OnInit {
16
13
  display: string;
17
14
  show: boolean;
18
15
  required: boolean;
19
- infoMessage: string;
20
- copyContent: boolean;
21
- suffix: string;
22
- loadAction: Action;
23
16
  valueChange: EventEmitter<any>;
24
17
  enterPress: EventEmitter<any>;
25
18
  changed(): void;
26
19
  dateChanged(x: any): void;
27
20
  enterPressed(): void;
28
21
  resetValue(): void;
29
- onInfoClick(event: MouseEvent): void;
30
22
  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>;
23
+ 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"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
32
24
  }
@@ -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
  }
@@ -1,23 +1,44 @@
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
+ copyContent: boolean;
33
+ valueChange: EventEmitter<any>;
34
+ infoClick: EventEmitter<void>;
35
+ copyText(event: MouseEvent): void;
36
+ changed(): void;
37
+ onMouseEnter(): void;
38
+ onMouseLeave(): void;
39
+ onAddClick(event: MouseEvent): void;
40
+ onViewClick(event: MouseEvent): void;
41
+ onInfoClick(event: MouseEvent): void;
21
42
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "detailsConfig": "detailsConfig"; }, {}, never, never, false>;
43
+ 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"; "copyContent": "copyContent"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
23
44
  }
@@ -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,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,37 @@ 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
35
  originalTableLoadAction: Action;
40
36
  tablePaginator: MatPaginator;
37
+ hideTitle: boolean;
41
38
  data: any;
42
- tileData: any;
43
39
  config: TableConfig;
44
40
  reload: Subject<boolean>;
45
- activeTab: boolean;
46
- inTab: boolean;
47
41
  dataLoad: EventEmitter<any>;
48
- actionSuccess: EventEmitter<any>;
49
42
  refreshClick: EventEmitter<any>;
50
43
  searchClick: EventEmitter<any>;
51
44
  createClick: EventEmitter<any>;
52
45
  actionClick: EventEmitter<any>;
53
46
  inputChange: EventEmitter<any>;
54
- actionResponse: EventEmitter<any>;
55
47
  private initializeComponent;
56
48
  private updateTableConfiguration;
57
49
  private setupDataLoading;
58
50
  loadData(action: Action, data: any): void;
59
51
  inputChanged(event: any): void;
60
52
  formDefaults(): void;
53
+ setColumns(): void;
61
54
  setButtons(): void;
62
55
  getButton(name: string): Button;
63
56
  getIcon(buttonName: string): string;
@@ -68,7 +61,7 @@ export declare class TableComponent implements OnInit {
68
61
  testColorCondition(row: any, color: Color): boolean;
69
62
  showBanner(message: string): void;
70
63
  testDisabled(row: any, buttonName: string): boolean;
71
- lastSearch: any;
64
+ testVisible(row: any, buttonName: string): boolean;
72
65
  searchClicked(x: any): void;
73
66
  tileClicked(tile: any): void;
74
67
  tileUnClicked(tile: any): void;
@@ -82,10 +75,11 @@ export declare class TableComponent implements OnInit {
82
75
  newModel(): void;
83
76
  editModel(row: any): void;
84
77
  private open;
78
+ private openDetailsDialog;
85
79
  deleteModel(row: any): void;
86
80
  doAction(buttonName: string, row: any): void;
87
- execAction(button: Button, row: any): void;
81
+ execAction(b: Button, row: any): void;
88
82
  private getElevationClass;
89
83
  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>;
84
+ 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
85
  }
@@ -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
  }
@@ -14,7 +14,6 @@ export declare class TableHeaderComponent {
14
14
  constructor(buttonService: ButtonService, dialogService: DialogService, messageService: MessageService, csvService: CsvService);
15
15
  ngOnInit(): void;
16
16
  createButton: Button;
17
- lastSearch: any;
18
17
  config: TableConfig;
19
18
  hideTitle: boolean;
20
19
  tableDataSource: any;
@@ -23,7 +22,6 @@ export declare class TableHeaderComponent {
23
22
  tileReload: Subject<boolean>;
24
23
  showFilterButton: boolean;
25
24
  data: any;
26
- tileData: any;
27
25
  createClick: EventEmitter<void>;
28
26
  customClick: EventEmitter<any>;
29
27
  refreshClick: EventEmitter<void>;
@@ -42,5 +40,5 @@ export declare class TableHeaderComponent {
42
40
  testDisabled(button: Button): boolean;
43
41
  getButtonColor(button: Button, row: any): string;
44
42
  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>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "config": "config"; "hideTitle": "hideTitle"; "tableDataSource": "tableDataSource"; "tileConfig": "tileConfig"; "smallScreen": "smallScreen"; "tileReload": "tileReload"; "showFilterButton": "showFilterButton"; "data": "data"; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; }, never, never, false>;
46
44
  }
@@ -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
  }