info-library 2.15.1-beta → 3.0.0-beta

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 (184) hide show
  1. package/controls/alert/alert.component.d.ts +7 -7
  2. package/controls/autocomplete/autocomplete.component.d.ts +52 -51
  3. package/controls/big-checkbox/big-checkbox.component.d.ts +41 -41
  4. package/controls/card/card.component.d.ts +16 -16
  5. package/controls/card-menu/card-menu.component.d.ts +23 -23
  6. package/controls/checkbox/checkbox.component.d.ts +27 -27
  7. package/controls/chips/chips.component.d.ts +23 -23
  8. package/controls/date/date.component.d.ts +38 -37
  9. package/controls/date-month/date-month.component.d.ts +40 -39
  10. package/controls/editor/editor.component.d.ts +40 -40
  11. package/controls/grid/grid.component.d.ts +172 -172
  12. package/controls/input/input.component.d.ts +47 -37
  13. package/controls/input-list/input-list.component.d.ts +29 -29
  14. package/controls/list-checkbox/list-checkbox.component.d.ts +26 -26
  15. package/controls/message/message.component.d.ts +10 -10
  16. package/controls/multi-select/multi-select.component.d.ts +39 -37
  17. package/controls/paginator/paginator.component.d.ts +25 -25
  18. package/controls/select/select.component.d.ts +42 -41
  19. package/controls/timeline/timeline.component.d.ts +17 -17
  20. package/directives/mask.directive.d.ts +24 -24
  21. package/directives/unmask.directive.d.ts +12 -11
  22. package/enum/dialog-buttons.enum.d.ts +7 -7
  23. package/enum/index.d.ts +3 -3
  24. package/enum/modal-action.enum.d.ts +10 -10
  25. package/enum/page-action.enum.d.ts +8 -8
  26. package/esm2022/controls/alert/alert.component.mjs +72 -0
  27. package/esm2022/controls/autocomplete/autocomplete.component.mjs +265 -0
  28. package/esm2022/controls/big-checkbox/big-checkbox.component.mjs +300 -0
  29. package/esm2022/controls/card/card.component.mjs +83 -0
  30. package/esm2022/controls/card-menu/card-menu.component.mjs +143 -0
  31. package/esm2022/controls/checkbox/checkbox.component.mjs +93 -0
  32. package/esm2022/controls/chips/chips.component.mjs +114 -0
  33. package/esm2022/controls/date/date.component.mjs +173 -0
  34. package/esm2022/controls/date-month/date-month.component.mjs +181 -0
  35. package/esm2022/controls/editor/editor.component.mjs +139 -0
  36. package/esm2022/controls/grid/grid.component.mjs +1818 -0
  37. package/esm2022/controls/input/input.component.mjs +389 -0
  38. package/esm2022/controls/input-list/input-list.component.mjs +259 -0
  39. package/{esm2020 → esm2022}/controls/list-checkbox/list-checkbox.component.mjs +242 -238
  40. package/esm2022/controls/message/message.component.mjs +48 -0
  41. package/esm2022/controls/multi-select/multi-select.component.mjs +174 -0
  42. package/esm2022/controls/paginator/paginator.component.mjs +177 -0
  43. package/esm2022/controls/select/select.component.mjs +189 -0
  44. package/esm2022/controls/timeline/timeline.component.mjs +116 -0
  45. package/esm2022/directives/mask.directive.mjs +134 -0
  46. package/esm2022/directives/unmask.directive.mjs +35 -0
  47. package/{esm2020 → esm2022}/enum/dialog-buttons.enum.mjs +8 -8
  48. package/{esm2020 → esm2022}/enum/index.mjs +3 -3
  49. package/{esm2020 → esm2022}/enum/modal-action.enum.mjs +11 -11
  50. package/{esm2020 → esm2022}/enum/page-action.enum.mjs +9 -9
  51. package/{esm2020 → esm2022}/global-config.mjs +3 -3
  52. package/{esm2020 → esm2022}/info-library.mjs +4 -4
  53. package/esm2022/info-library.module.mjs +283 -0
  54. package/esm2022/layouts/dialog/dialog.component.mjs +192 -0
  55. package/esm2022/layouts/filter/filter.component.mjs +179 -0
  56. package/esm2022/layouts/loading/loading.component.mjs +40 -0
  57. package/esm2022/layouts/main/main.component.mjs +305 -0
  58. package/esm2022/layouts/modal/modal.component.mjs +273 -0
  59. package/esm2022/layouts/pagebar/pagebar.component.mjs +432 -0
  60. package/esm2022/layouts/sidebar/sidebar.component.mjs +447 -0
  61. package/esm2022/layouts/topbar/topbar.component.mjs +1032 -0
  62. package/esm2022/layouts/topmenu/topmenu.component.mjs +173 -0
  63. package/esm2022/model/app-config.model.mjs +14 -0
  64. package/esm2022/model/data-access.model.mjs +37 -0
  65. package/esm2022/model/dialog-result.model.mjs +9 -0
  66. package/esm2022/model/dialog.model.mjs +15 -0
  67. package/esm2022/model/form-prop.model.mjs +37 -0
  68. package/esm2022/model/grid-button.model.mjs +26 -0
  69. package/{esm2020 → esm2022}/model/index.mjs +14 -14
  70. package/esm2022/model/last-search.model.mjs +7 -0
  71. package/esm2022/model/login.model.mjs +11 -0
  72. package/esm2022/model/method-grid-button.model.mjs +11 -0
  73. package/esm2022/model/notification.model.mjs +13 -0
  74. package/{esm2020 → esm2022}/model/pagebar-buttons.model.mjs +15 -15
  75. package/esm2022/model/permission.model.mjs +6 -0
  76. package/esm2022/model/platform.model.mjs +20 -0
  77. package/esm2022/model/session.model.mjs +27 -0
  78. package/{esm2020 → esm2022}/pipe/index.mjs +2 -2
  79. package/esm2022/pipe/mask.pipe.mjs +38 -0
  80. package/esm2022/pipe/translate.pipe.mjs +27 -0
  81. package/{esm2020 → esm2022}/public_api.mjs +37 -36
  82. package/esm2022/service/authentication.service.mjs +411 -0
  83. package/esm2022/service/configuration.service.mjs +90 -0
  84. package/esm2022/service/data.service.mjs +129 -0
  85. package/{esm2020 → esm2022}/service/index.mjs +5 -5
  86. package/esm2022/service/theme.service.mjs +89 -0
  87. package/esm2022/service/translate.service.mjs +57 -0
  88. package/esm2022/utils/utilities.mjs +189 -0
  89. package/fesm2022/info-library.mjs +9364 -0
  90. package/fesm2022/info-library.mjs.map +1 -0
  91. package/global-config.d.ts +3 -3
  92. package/index.d.ts +5 -5
  93. package/info-library-3.0.0-beta.tgz +0 -0
  94. package/info-library.module.d.ts +61 -60
  95. package/layouts/dialog/dialog.component.d.ts +29 -29
  96. package/layouts/filter/filter.component.d.ts +24 -0
  97. package/layouts/loading/loading.component.d.ts +8 -8
  98. package/layouts/main/main.component.d.ts +60 -56
  99. package/layouts/modal/modal.component.d.ts +40 -39
  100. package/layouts/pagebar/pagebar.component.d.ts +45 -45
  101. package/layouts/sidebar/sidebar.component.d.ts +40 -40
  102. package/layouts/topbar/topbar.component.d.ts +69 -66
  103. package/layouts/topmenu/topmenu.component.d.ts +34 -34
  104. package/model/app-config.model.d.ts +13 -11
  105. package/model/data-access.model.d.ts +12 -12
  106. package/model/dialog-result.model.d.ts +6 -6
  107. package/model/dialog.model.d.ts +14 -14
  108. package/model/form-prop.model.d.ts +12 -12
  109. package/model/grid-button.model.d.ts +18 -18
  110. package/model/index.d.ts +14 -14
  111. package/model/last-search.model.d.ts +6 -6
  112. package/model/login.model.d.ts +6 -6
  113. package/model/method-grid-button.model.d.ts +6 -6
  114. package/model/notification.model.d.ts +12 -12
  115. package/model/pagebar-buttons.model.d.ts +10 -10
  116. package/model/permission.model.d.ts +5 -5
  117. package/model/platform.model.d.ts +16 -16
  118. package/model/session.model.d.ts +27 -22
  119. package/package.json +5 -11
  120. package/pipe/index.d.ts +2 -2
  121. package/pipe/mask.pipe.d.ts +8 -8
  122. package/pipe/translate.pipe.d.ts +10 -10
  123. package/public_api.d.ts +34 -33
  124. package/service/authentication.service.d.ts +63 -61
  125. package/service/configuration.service.d.ts +17 -14
  126. package/service/data.service.d.ts +41 -39
  127. package/service/index.d.ts +5 -5
  128. package/service/theme.service.d.ts +16 -16
  129. package/service/translate.service.d.ts +16 -16
  130. package/utils/utilities.d.ts +38 -27
  131. package/esm2020/controls/alert/alert.component.mjs +0 -74
  132. package/esm2020/controls/autocomplete/autocomplete.component.mjs +0 -258
  133. package/esm2020/controls/big-checkbox/big-checkbox.component.mjs +0 -298
  134. package/esm2020/controls/card/card.component.mjs +0 -77
  135. package/esm2020/controls/card-menu/card-menu.component.mjs +0 -145
  136. package/esm2020/controls/checkbox/checkbox.component.mjs +0 -93
  137. package/esm2020/controls/chips/chips.component.mjs +0 -113
  138. package/esm2020/controls/date/date.component.mjs +0 -141
  139. package/esm2020/controls/date-month/date-month.component.mjs +0 -148
  140. package/esm2020/controls/editor/editor.component.mjs +0 -135
  141. package/esm2020/controls/grid/grid.component.mjs +0 -1800
  142. package/esm2020/controls/input/input.component.mjs +0 -314
  143. package/esm2020/controls/input-list/input-list.component.mjs +0 -258
  144. package/esm2020/controls/message/message.component.mjs +0 -50
  145. package/esm2020/controls/multi-select/multi-select.component.mjs +0 -161
  146. package/esm2020/controls/paginator/paginator.component.mjs +0 -178
  147. package/esm2020/controls/select/select.component.mjs +0 -180
  148. package/esm2020/controls/timeline/timeline.component.mjs +0 -117
  149. package/esm2020/directives/mask.directive.mjs +0 -125
  150. package/esm2020/directives/unmask.directive.mjs +0 -28
  151. package/esm2020/info-library.module.mjs +0 -278
  152. package/esm2020/layouts/dialog/dialog.component.mjs +0 -188
  153. package/esm2020/layouts/loading/loading.component.mjs +0 -42
  154. package/esm2020/layouts/main/main.component.mjs +0 -258
  155. package/esm2020/layouts/modal/modal.component.mjs +0 -258
  156. package/esm2020/layouts/pagebar/pagebar.component.mjs +0 -404
  157. package/esm2020/layouts/sidebar/sidebar.component.mjs +0 -395
  158. package/esm2020/layouts/topbar/topbar.component.mjs +0 -868
  159. package/esm2020/layouts/topmenu/topmenu.component.mjs +0 -165
  160. package/esm2020/model/app-config.model.mjs +0 -14
  161. package/esm2020/model/data-access.model.mjs +0 -35
  162. package/esm2020/model/dialog-result.model.mjs +0 -8
  163. package/esm2020/model/dialog.model.mjs +0 -16
  164. package/esm2020/model/form-prop.model.mjs +0 -35
  165. package/esm2020/model/grid-button.model.mjs +0 -21
  166. package/esm2020/model/last-search.model.mjs +0 -9
  167. package/esm2020/model/login.model.mjs +0 -9
  168. package/esm2020/model/method-grid-button.model.mjs +0 -9
  169. package/esm2020/model/notification.model.mjs +0 -9
  170. package/esm2020/model/permission.model.mjs +0 -3
  171. package/esm2020/model/platform.model.mjs +0 -21
  172. package/esm2020/model/session.model.mjs +0 -8
  173. package/esm2020/pipe/mask.pipe.mjs +0 -34
  174. package/esm2020/pipe/translate.pipe.mjs +0 -26
  175. package/esm2020/service/authentication.service.mjs +0 -358
  176. package/esm2020/service/configuration.service.mjs +0 -59
  177. package/esm2020/service/data.service.mjs +0 -112
  178. package/esm2020/service/theme.service.mjs +0 -79
  179. package/esm2020/service/translate.service.mjs +0 -53
  180. package/esm2020/utils/utilities.mjs +0 -142
  181. package/fesm2015/info-library.mjs +0 -9312
  182. package/fesm2015/info-library.mjs.map +0 -1
  183. package/fesm2020/info-library.mjs +0 -8462
  184. package/fesm2020/info-library.mjs.map +0 -1
@@ -1,22 +1,27 @@
1
- import { InfoPermissionModel } from "./permission.model";
2
- export declare class InfoSessionModel {
3
- UsuarioId: number;
4
- Usuario: string;
5
- Login: string;
6
- Email: string;
7
- Perfil: string;
8
- EmpresaId: number;
9
- TemaId: number;
10
- Empresa: string;
11
- UltimoAcesso: Date;
12
- Master: boolean;
13
- Versao: string;
14
- Clone: boolean;
15
- DataMovimentacao: Date;
16
- OcultarNomeCliente: boolean;
17
- Permissoes: InfoPermissionModel[];
18
- Empresas: any[];
19
- Parametros: any[];
20
- MFA: boolean;
21
- TempoInatividade: number;
22
- }
1
+ import { InfoPermissionModel } from "./permission.model";
2
+ export declare class InfoSessionModel {
3
+ UsuarioId: number;
4
+ Usuario: string;
5
+ Login: string;
6
+ Email: string;
7
+ Perfil: string;
8
+ EmpresaId: number;
9
+ UnidadeId: number;
10
+ TemaId: number;
11
+ TemaCorBase: string;
12
+ Empresa: string;
13
+ Unidade: string;
14
+ UltimoAcesso: Date;
15
+ Master: boolean;
16
+ Versao: string;
17
+ Clone: boolean;
18
+ DataMovimentacao: Date;
19
+ OcultarNomeCliente: boolean;
20
+ Permissoes: InfoPermissionModel[];
21
+ Empresas: any[];
22
+ Unidades: any[];
23
+ Clientes: any[];
24
+ Parametros: any[];
25
+ MFA: boolean;
26
+ TempoInatividade: number;
27
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "info-library",
3
- "version": "2.15.1-beta",
3
+ "version": "3.0.0-beta",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^7.0.0",
6
6
  "@angular/core": "^7.0.0",
@@ -13,11 +13,7 @@
13
13
  "moment": "^2.28.2",
14
14
  "@kolkov/angular-editor": "^2.1.0"
15
15
  },
16
- "module": "fesm2015/info-library.mjs",
17
- "es2020": "fesm2020/info-library.mjs",
18
- "esm2020": "esm2020/info-library.mjs",
19
- "fesm2020": "fesm2020/info-library.mjs",
20
- "fesm2015": "fesm2015/info-library.mjs",
16
+ "module": "fesm2022/info-library.mjs",
21
17
  "typings": "index.d.ts",
22
18
  "exports": {
23
19
  "./package.json": {
@@ -25,11 +21,9 @@
25
21
  },
26
22
  ".": {
27
23
  "types": "./index.d.ts",
28
- "esm2020": "./esm2020/info-library.mjs",
29
- "es2020": "./fesm2020/info-library.mjs",
30
- "es2015": "./fesm2015/info-library.mjs",
31
- "node": "./fesm2015/info-library.mjs",
32
- "default": "./fesm2020/info-library.mjs"
24
+ "esm2022": "./esm2022/info-library.mjs",
25
+ "esm": "./esm2022/info-library.mjs",
26
+ "default": "./fesm2022/info-library.mjs"
33
27
  }
34
28
  },
35
29
  "sideEffects": false,
package/pipe/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { InfoTranslatePipe } from './translate.pipe';
2
- export { InfoMaskPipe } from './mask.pipe';
1
+ export { InfoTranslatePipe } from './translate.pipe';
2
+ export { InfoMaskPipe } from './mask.pipe';
@@ -1,8 +1,8 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class InfoMaskPipe implements PipeTransform {
4
- constructor();
5
- transform(value: string, args?: any): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoMaskPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<InfoMaskPipe, "mask", false>;
8
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfoMaskPipe implements PipeTransform {
4
+ constructor();
5
+ transform(value: string, args?: any): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoMaskPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<InfoMaskPipe, "mask", false>;
8
+ }
@@ -1,10 +1,10 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { InfoTranslateService } from '../service/translate.service';
3
- import * as i0 from "@angular/core";
4
- export declare class InfoTranslatePipe implements PipeTransform {
5
- private _translate;
6
- constructor(_translate: InfoTranslateService);
7
- transform(value: string, args?: any): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoTranslatePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<InfoTranslatePipe, "translate", false>;
10
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import { InfoTranslateService } from '../service/translate.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InfoTranslatePipe implements PipeTransform {
5
+ private _translate;
6
+ constructor(_translate: InfoTranslateService);
7
+ transform(value: string, args?: any): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoTranslatePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<InfoTranslatePipe, "translate", false>;
10
+ }
package/public_api.d.ts CHANGED
@@ -1,33 +1,34 @@
1
- export { APICONTROLLER_CONFIG, DICTIONARIES_CONFIG } from './global-config';
2
- export * from './model';
3
- export * from './enum';
4
- export * from './pipe';
5
- export * from './service';
6
- export { InfoAlertComponent } from './controls/alert/alert.component';
7
- export { InfoAutoCompleteComponent } from './controls/autocomplete/autocomplete.component';
8
- export { InfoBigCheckboxComponent } from './controls/big-checkbox/big-checkbox.component';
9
- export { InfoCardComponent } from './controls/card/card.component';
10
- export { InfoMenuCardComponent } from './controls/card-menu/card-menu.component';
11
- export { InfoCheckboxComponent } from './controls/checkbox/checkbox.component';
12
- export { InfoDateComponent } from './controls/date/date.component';
13
- export { InfoDateMonthComponent } from './controls/date-month/date-month.component';
14
- export { InfoGridComponent, InfoGridModalComponent } from './controls/grid/grid.component';
15
- export { InfoInputComponent } from './controls/input/input.component';
16
- export { InfoInputListComponent } from './controls/input-list/input-list.component';
17
- export { InfoListCheckboxComponent } from './controls/list-checkbox/list-checkbox.component';
18
- export { InfoMessageComponent } from './controls/message/message.component';
19
- export { InfoPaginatorComponent } from './controls/paginator/paginator.component';
20
- export { InfoSelectComponent } from './controls/select/select.component';
21
- export { InfoTimelineComponent } from './controls/timeline/timeline.component';
22
- export { InfoEditorComponent } from './controls/editor/editor.component';
23
- export { InfoMultiSelectComponent } from './controls/multi-select/multi-select.component';
24
- export { InfoChipsComponent } from './controls/chips/chips.component';
25
- export { InfoMainComponent } from './layouts/main/main.component';
26
- export { InfoSidebarComponent } from './layouts/sidebar/sidebar.component';
27
- export { InfoTopbarComponent } from './layouts/topbar/topbar.component';
28
- export { InfoTopMenuComponent } from './layouts/topmenu/topmenu.component';
29
- export { InfoDialogComponent, InfoDialogModal } from './layouts/dialog/dialog.component';
30
- export { InfoLoadingComponent } from './layouts/loading/loading.component';
31
- export { InfoModalComponent } from './layouts/modal/modal.component';
32
- export { InfoPagebarComponent } from './layouts/pagebar/pagebar.component';
33
- export { InfoLibraryModule } from './info-library.module';
1
+ export { APICONTROLLER_CONFIG, DICTIONARIES_CONFIG } from './global-config';
2
+ export * from './model';
3
+ export * from './enum';
4
+ export * from './pipe';
5
+ export * from './service';
6
+ export { InfoAlertComponent } from './controls/alert/alert.component';
7
+ export { InfoAutoCompleteComponent } from './controls/autocomplete/autocomplete.component';
8
+ export { InfoBigCheckboxComponent } from './controls/big-checkbox/big-checkbox.component';
9
+ export { InfoCardComponent } from './controls/card/card.component';
10
+ export { InfoMenuCardComponent } from './controls/card-menu/card-menu.component';
11
+ export { InfoCheckboxComponent } from './controls/checkbox/checkbox.component';
12
+ export { InfoDateComponent } from './controls/date/date.component';
13
+ export { InfoDateMonthComponent } from './controls/date-month/date-month.component';
14
+ export { InfoGridComponent, InfoGridModalComponent } from './controls/grid/grid.component';
15
+ export { InfoInputComponent } from './controls/input/input.component';
16
+ export { InfoInputListComponent } from './controls/input-list/input-list.component';
17
+ export { InfoListCheckboxComponent } from './controls/list-checkbox/list-checkbox.component';
18
+ export { InfoMessageComponent } from './controls/message/message.component';
19
+ export { InfoPaginatorComponent } from './controls/paginator/paginator.component';
20
+ export { InfoSelectComponent } from './controls/select/select.component';
21
+ export { InfoTimelineComponent } from './controls/timeline/timeline.component';
22
+ export { InfoEditorComponent } from './controls/editor/editor.component';
23
+ export { InfoMultiSelectComponent } from './controls/multi-select/multi-select.component';
24
+ export { InfoChipsComponent } from './controls/chips/chips.component';
25
+ export { InfoMainComponent } from './layouts/main/main.component';
26
+ export { InfoSidebarComponent } from './layouts/sidebar/sidebar.component';
27
+ export { InfoTopbarComponent } from './layouts/topbar/topbar.component';
28
+ export { InfoTopMenuComponent } from './layouts/topmenu/topmenu.component';
29
+ export { InfoDialogComponent, InfoDialogModal } from './layouts/dialog/dialog.component';
30
+ export { InfoFilterComponent } from './layouts/filter/filter.component';
31
+ export { InfoLoadingComponent } from './layouts/loading/loading.component';
32
+ export { InfoModalComponent } from './layouts/modal/modal.component';
33
+ export { InfoPagebarComponent } from './layouts/pagebar/pagebar.component';
34
+ export { InfoLibraryModule } from './info-library.module';
@@ -1,61 +1,63 @@
1
- import { CanActivate, RouterStateSnapshot, ActivatedRouteSnapshot, Router } from '@angular/router';
2
- import { HttpClient } from '@angular/common/http';
3
- import { Observable } from 'rxjs';
4
- import { InfoSessionModel } from '../model/session.model';
5
- import { InfoPlatformModel } from '../model/platform.model';
6
- import { InfoDataService } from '../service/data.service';
7
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
8
- import { Title } from '@angular/platform-browser';
9
- import { InfoTranslateService } from '../service/translate.service';
10
- import { Utilities } from '../utils/utilities';
11
- import * as i0 from "@angular/core";
12
- export declare class InfoAuthenticationService implements CanActivate {
13
- private _router;
14
- private _http;
15
- private _sessao;
16
- private _plataforma;
17
- private _dataService;
18
- private _modal;
19
- private _utilities;
20
- private _translate;
21
- private _title;
22
- private _sessionTimeInterval;
23
- private _sessionActive;
24
- constructor(_router: Router, _http: HttpClient, _sessao: InfoSessionModel, _plataforma: InfoPlatformModel, _dataService: InfoDataService, _modal: MatDialog, _utilities: Utilities, _translate: InfoTranslateService, _title: Title);
25
- getSessao(): InfoSessionModel;
26
- getPlatform(): InfoPlatformModel;
27
- canActivate(activatedRouteSnapshot: ActivatedRouteSnapshot, routerStateSnapshot: RouterStateSnapshot): Observable<boolean> | boolean;
28
- isLogged(): boolean;
29
- refreshSessionTime(): void;
30
- showMessage(): void;
31
- login(usuario: string, senha: string, reCaptchaToken?: string, codigo2FA?: string): Observable<any>;
32
- trocarEmpresa(usuario: string, empresaId: number): Observable<any>;
33
- clonar(usuario: string): Observable<any>;
34
- logout(): void;
35
- getPermissions(url: string, logAtividade?: boolean): Observable<any>;
36
- setTrocaSenha(model: any): Observable<any>;
37
- setRecuperarSenha(model: any): Observable<any>;
38
- setResetarSenha(model: any): Observable<any>;
39
- getLoginResources(): Observable<any>;
40
- hasPermission(url: string, keyFunction?: string): boolean;
41
- getPermission(url: string, logAtividade?: boolean): Observable<boolean>;
42
- validaSessao(url: string): Observable<any>;
43
- removeSessao(): void;
44
- definePaginaAtiva(url: any): void;
45
- getUrlGenerica(url: string): string;
46
- private errorHandling;
47
- private isGuid;
48
- private toPascalCase;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoAuthenticationService, never>;
50
- static ɵprov: i0.ɵɵInjectableDeclaration<InfoAuthenticationService>;
51
- }
52
- export declare class RefreshSessionTimeModalComponent {
53
- private _ref;
54
- time: number;
55
- interval: any;
56
- constructor(_ref: MatDialogRef<RefreshSessionTimeModalComponent>);
57
- ngOnInit(): void;
58
- ativo(ativo: boolean): void;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<RefreshSessionTimeModalComponent, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<RefreshSessionTimeModalComponent, "ng-component", never, {}, {}, never, never, false, never>;
61
- }
1
+ import { CanActivate, RouterStateSnapshot, ActivatedRouteSnapshot, Router } from '@angular/router';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { Observable } from 'rxjs';
4
+ import { InfoSessionModel } from '../model/session.model';
5
+ import { InfoPlatformModel } from '../model/platform.model';
6
+ import { InfoDataService } from '../service/data.service';
7
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
8
+ import { Title } from '@angular/platform-browser';
9
+ import { InfoTranslateService } from '../service/translate.service';
10
+ import { Utilities } from '../utils/utilities';
11
+ import * as i0 from "@angular/core";
12
+ export declare class InfoAuthenticationService implements CanActivate {
13
+ private _router;
14
+ private _http;
15
+ private _sessao;
16
+ private _plataforma;
17
+ private _dataService;
18
+ private _modal;
19
+ private _utilities;
20
+ private _translate;
21
+ private _title;
22
+ private _sessionTimeInterval;
23
+ private _sessionActive;
24
+ constructor(_router: Router, _http: HttpClient, _sessao: InfoSessionModel, _plataforma: InfoPlatformModel, _dataService: InfoDataService, _modal: MatDialog, _utilities: Utilities, _translate: InfoTranslateService, _title: Title);
25
+ getSessao(): InfoSessionModel;
26
+ getPlatform(): InfoPlatformModel;
27
+ canActivate(activatedRouteSnapshot: ActivatedRouteSnapshot, routerStateSnapshot: RouterStateSnapshot): Observable<boolean> | boolean;
28
+ isLogged(): boolean;
29
+ refreshSessionTime(): void;
30
+ showMessage(): void;
31
+ login(usuario: string, senha: string, reCaptchaToken?: string, codigo2FA?: string): Observable<any>;
32
+ trocarEmpresa(usuario: string, empresaId: number): Observable<any>;
33
+ trocarUnidade(usuario: string, empresaId: number, unidadeId: number): Observable<any>;
34
+ trocarCliente(usuario: string, clienteId: number): Observable<any>;
35
+ clonar(usuario: string): Observable<any>;
36
+ logout(): void;
37
+ getPermissions(url: string, logAtividade?: boolean): Observable<any>;
38
+ setTrocaSenha(model: any): Observable<any>;
39
+ setRecuperarSenha(model: any): Observable<any>;
40
+ setResetarSenha(model: any): Observable<any>;
41
+ getLoginResources(): Observable<any>;
42
+ hasPermission(url: string, keyFunction?: string): boolean;
43
+ getPermission(url: string, logAtividade?: boolean): Observable<boolean>;
44
+ validaSessao(url: string): Observable<any>;
45
+ removeSessao(): void;
46
+ definePaginaAtiva(url: any): void;
47
+ getUrlGenerica(url: string): string;
48
+ private errorHandling;
49
+ private isGuid;
50
+ private toPascalCase;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoAuthenticationService, never>;
52
+ static ɵprov: i0.ɵɵInjectableDeclaration<InfoAuthenticationService>;
53
+ }
54
+ export declare class RefreshSessionTimeModalComponent {
55
+ private _ref;
56
+ time: number;
57
+ interval: any;
58
+ constructor(_ref: MatDialogRef<RefreshSessionTimeModalComponent>);
59
+ ngOnInit(): void;
60
+ ativo(ativo: boolean): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<RefreshSessionTimeModalComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<RefreshSessionTimeModalComponent, "ng-component", never, {}, {}, never, never, false, never>;
63
+ }
@@ -1,14 +1,17 @@
1
- import { HttpClient } from "@angular/common/http";
2
- import { InfoPlatformModel } from "../model/platform.model";
3
- import { InfoAppConfigModel } from "../model/app-config.model";
4
- import { InfoThemeService } from "./theme.service";
5
- import * as i0 from "@angular/core";
6
- export declare class InfoConfigurationService {
7
- private _http;
8
- private _plataforma;
9
- private _themeService;
10
- constructor(_http: HttpClient, _plataforma: InfoPlatformModel, _themeService: InfoThemeService);
11
- initialize(): Promise<InfoAppConfigModel>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoConfigurationService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<InfoConfigurationService>;
14
- }
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { InfoPlatformModel } from "../model/platform.model";
3
+ import { InfoAppConfigModel } from "../model/app-config.model";
4
+ import { InfoThemeService } from "./theme.service";
5
+ import { Utilities } from "../utils/utilities";
6
+ import * as i0 from "@angular/core";
7
+ export declare class InfoConfigurationService {
8
+ private _http;
9
+ private _plataforma;
10
+ private _themeService;
11
+ private _utilities;
12
+ constructor(_http: HttpClient, _plataforma: InfoPlatformModel, _themeService: InfoThemeService, _utilities: Utilities);
13
+ initialize(): Promise<InfoAppConfigModel>;
14
+ loadCSSAPI(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoConfigurationService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<InfoConfigurationService>;
17
+ }
@@ -1,39 +1,41 @@
1
- import { Router } from '@angular/router';
2
- import { HttpClient, HttpHeaders } from '@angular/common/http';
3
- import { InfoDataAccessModel } from '../model/data-access.model';
4
- import { Observable } from 'rxjs';
5
- import { InfoPlatformModel } from '../model/platform.model';
6
- import { Utilities } from '../utils/utilities';
7
- import * as i0 from "@angular/core";
8
- export declare class InfoDataService {
9
- private _apiController;
10
- private _http;
11
- private _router;
12
- private _plataforma;
13
- private _utilities;
14
- private token;
15
- constructor(_apiController: any, _http: HttpClient, _router: Router, _plataforma: InfoPlatformModel, _utilities: Utilities);
16
- getToken(): string;
17
- getHeaderToken(): HttpHeaders;
18
- getAPIUrl(controller: any): string;
19
- getNoToken(controller: any): Observable<InfoDataAccessModel>;
20
- getNoToken(controller: any, method?: string): Observable<InfoDataAccessModel>;
21
- getNoToken(controller: any, method?: string, param?: string): Observable<InfoDataAccessModel>;
22
- get(controller: any): Observable<InfoDataAccessModel>;
23
- get(controller: any, method?: string): Observable<InfoDataAccessModel>;
24
- get(controller: any, method?: string, param?: string): Observable<InfoDataAccessModel>;
25
- getById(controller: any, id: number): Observable<InfoDataAccessModel>;
26
- postNoToken(controller: any, model: any): Observable<InfoDataAccessModel>;
27
- postNoToken(controller: any, model: any, method?: string): Observable<InfoDataAccessModel>;
28
- post(controller: any, model: any): Observable<InfoDataAccessModel>;
29
- post(controller: any, model: any, method?: string): Observable<InfoDataAccessModel>;
30
- delete(controller: any, id: any): Observable<InfoDataAccessModel>;
31
- delete(controller: any, id: any, method?: string): Observable<InfoDataAccessModel>;
32
- deleteByModel(controller: any, model: any): Observable<InfoDataAccessModel>;
33
- deleteByModel(controller: any, model: any, method?: string): Observable<InfoDataAccessModel>;
34
- request(controller: any, model: any[], method?: string): Observable<InfoDataAccessModel>;
35
- request(controller: any, model: any[], method?: string, param?: string): Observable<InfoDataAccessModel>;
36
- private errorHandling;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoDataService, never>;
38
- static ɵprov: i0.ɵɵInjectableDeclaration<InfoDataService>;
39
- }
1
+ import { Router } from '@angular/router';
2
+ import { HttpClient, HttpHeaders } from '@angular/common/http';
3
+ import { InfoDataAccessModel } from '../model/data-access.model';
4
+ import { Observable } from 'rxjs';
5
+ import { InfoPlatformModel } from '../model/platform.model';
6
+ import { Utilities } from '../utils/utilities';
7
+ import * as i0 from "@angular/core";
8
+ export declare class InfoDataService {
9
+ private _apiController;
10
+ private _http;
11
+ private _router;
12
+ private _plataforma;
13
+ private _utilities;
14
+ private token;
15
+ constructor(_apiController: any, _http: HttpClient, _router: Router, _plataforma: InfoPlatformModel, _utilities: Utilities);
16
+ getToken(): string;
17
+ getHeaderDefault(): HttpHeaders;
18
+ getHeaderToken(): HttpHeaders;
19
+ getAPIUrl(controller: any): string;
20
+ getNoToken(controller: any): Observable<InfoDataAccessModel>;
21
+ getNoToken(controller: any, method?: string): Observable<InfoDataAccessModel>;
22
+ getNoToken(controller: any, method?: string, param?: string): Observable<InfoDataAccessModel>;
23
+ get(controller: any): Observable<InfoDataAccessModel>;
24
+ get(controller: any, method?: string): Observable<InfoDataAccessModel>;
25
+ get(controller: any, method?: string, param?: string): Observable<InfoDataAccessModel>;
26
+ getById(controller: any, id: number): Observable<InfoDataAccessModel>;
27
+ postNoToken(controller: any, model: any): Observable<InfoDataAccessModel>;
28
+ postNoToken(controller: any, model: any, method?: string): Observable<InfoDataAccessModel>;
29
+ post(controller: any, model: any): Observable<InfoDataAccessModel>;
30
+ post(controller: any, model: any, method?: string): Observable<InfoDataAccessModel>;
31
+ delete(controller: any, id: any): Observable<InfoDataAccessModel>;
32
+ delete(controller: any, id: any, method?: string): Observable<InfoDataAccessModel>;
33
+ deleteByModel(controller: any, model: any): Observable<InfoDataAccessModel>;
34
+ deleteByModel(controller: any, model: any, method?: string): Observable<InfoDataAccessModel>;
35
+ request(controller: any, model: any[], method?: string): Observable<InfoDataAccessModel>;
36
+ request(controller: any, model: any[], method?: string, param?: string): Observable<InfoDataAccessModel>;
37
+ private errorHandling;
38
+ private getMethod;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoDataService, never>;
40
+ static ɵprov: i0.ɵɵInjectableDeclaration<InfoDataService>;
41
+ }
@@ -1,5 +1,5 @@
1
- export { InfoAuthenticationService } from './authentication.service';
2
- export { InfoConfigurationService } from './configuration.service';
3
- export { InfoDataService } from './data.service';
4
- export { InfoTranslateService } from './translate.service';
5
- export { InfoThemeService } from './theme.service';
1
+ export { InfoAuthenticationService } from './authentication.service';
2
+ export { InfoConfigurationService } from './configuration.service';
3
+ export { InfoDataService } from './data.service';
4
+ export { InfoTranslateService } from './translate.service';
5
+ export { InfoThemeService } from './theme.service';
@@ -1,16 +1,16 @@
1
- import { OverlayContainer } from "@angular/cdk/overlay";
2
- import { InfoPlatformModel } from '../model/platform.model';
3
- import { InfoSessionModel } from '../model/session.model';
4
- import * as i0 from "@angular/core";
5
- export declare class InfoThemeService {
6
- _overlay: OverlayContainer;
7
- _plataform: InfoPlatformModel;
8
- _session: InfoSessionModel;
9
- constructor(_overlay: OverlayContainer, _plataform: InfoPlatformModel, _session: InfoSessionModel);
10
- setTheme(theme: any): void;
11
- setThemeByLoggedCompany(): void;
12
- setMenuMin(value?: boolean): void;
13
- setModePrime(prime?: boolean): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoThemeService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<InfoThemeService>;
16
- }
1
+ import { OverlayContainer } from "@angular/cdk/overlay";
2
+ import { InfoPlatformModel } from '../model/platform.model';
3
+ import { InfoSessionModel } from '../model/session.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InfoThemeService {
6
+ _overlay: OverlayContainer;
7
+ _plataform: InfoPlatformModel;
8
+ _session: InfoSessionModel;
9
+ constructor(_overlay: OverlayContainer, _plataform: InfoPlatformModel, _session: InfoSessionModel);
10
+ setTheme(theme: any): void;
11
+ setThemeByLoggedCompany(): void;
12
+ setMenuMin(value?: boolean): void;
13
+ setModePrime(prime?: boolean): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoThemeService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<InfoThemeService>;
16
+ }
@@ -1,16 +1,16 @@
1
- import { InfoPlatformModel } from '../model/platform.model';
2
- import * as i0 from "@angular/core";
3
- export declare class InfoTranslateService {
4
- private _translations;
5
- private _plataforma;
6
- private _currentLang;
7
- private _key;
8
- get currentLang(): string;
9
- constructor(_translations: any, _plataforma: InfoPlatformModel);
10
- set(lang: string): void;
11
- translate(key: string): string;
12
- getCalendar(): any;
13
- instant(key: string): string;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoTranslateService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<InfoTranslateService>;
16
- }
1
+ import { InfoPlatformModel } from '../model/platform.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfoTranslateService {
4
+ private _translations;
5
+ private _plataforma;
6
+ private _currentLang;
7
+ private _key;
8
+ get currentLang(): string;
9
+ constructor(_translations: any, _plataforma: InfoPlatformModel);
10
+ set(lang: string): void;
11
+ translate(key: string): string;
12
+ getCalendar(): any;
13
+ instant(key: string): string;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoTranslateService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<InfoTranslateService>;
16
+ }
@@ -1,27 +1,38 @@
1
- import * as i0 from "@angular/core";
2
- export declare class Utilities {
3
- getGuid(): string;
4
- getGuidEmpty(): string;
5
- isGuid(value: any): boolean;
6
- base64ToArrayBuffer(base64: any): any;
7
- openOrDownload(title: any, blob: any): void;
8
- removerAcentos(val: string): string;
9
- getFormatos(): any[];
10
- getFormatosExcel(): any[];
11
- getStatus(): any[];
12
- getStatusCompleto(): any[];
13
- getStatusProcessamento(): any[];
14
- getFormatoIdiomas(): any[];
15
- getGeneros(): any[];
16
- getTiposEvidencia(): any[];
17
- getOrdens(): any[];
18
- validarEmail(form: any, value: any, control: any): void;
19
- setLocalStorage(key: string, value: any): void;
20
- getLocalStorage(key: string): any;
21
- isIE(): boolean;
22
- retornaTexto(texto: any): string;
23
- criptografar(texto: any): any;
24
- descriptografar(texto: any): any;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<Utilities, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<Utilities>;
27
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class Utilities {
3
+ getGuid(): string;
4
+ getGuidEmpty(): string;
5
+ isGuid(value: any): boolean;
6
+ base64ToArrayBuffer(base64: any): any;
7
+ jsonToEncrypt(object: any): any;
8
+ decryptToJson(value: any): any;
9
+ openOrDownload(title: any, blob: any): void;
10
+ removerAcentos(val: string): string;
11
+ getFormatos(): any[];
12
+ getFormatosExcel(): any[];
13
+ getStatus(): any[];
14
+ getStatusCompleto(): any[];
15
+ getStatusProcessamento(): any[];
16
+ getFormatoIdiomas(): any[];
17
+ getGeneros(): any[];
18
+ getTiposEvidencia(): any[];
19
+ getOrdens(): any[];
20
+ validarEmail(form: any, value: any, control: any): void;
21
+ setLocalStorage(key: string, value: any): void;
22
+ getLocalStorage(key: string): any;
23
+ isIE(): boolean;
24
+ retornaTexto(texto: any): string;
25
+ private key;
26
+ private iv;
27
+ criptografar(texto: any): any;
28
+ descriptografar(texto: any): any;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<Utilities, never>;
30
+ static ɵprov: i0.ɵɵInjectableDeclaration<Utilities>;
31
+ }
32
+ export declare abstract class StaticUtils {
33
+ static validarCnpj(cnpj: string): boolean;
34
+ static validarCpf(cpf: string): boolean;
35
+ private static getDigito;
36
+ private static getSomaCnpj;
37
+ private static getSomaCpf;
38
+ }