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.
- package/controls/alert/alert.component.d.ts +7 -7
- package/controls/autocomplete/autocomplete.component.d.ts +52 -51
- package/controls/big-checkbox/big-checkbox.component.d.ts +41 -41
- package/controls/card/card.component.d.ts +16 -16
- package/controls/card-menu/card-menu.component.d.ts +23 -23
- package/controls/checkbox/checkbox.component.d.ts +27 -27
- package/controls/chips/chips.component.d.ts +23 -23
- package/controls/date/date.component.d.ts +38 -37
- package/controls/date-month/date-month.component.d.ts +40 -39
- package/controls/editor/editor.component.d.ts +40 -40
- package/controls/grid/grid.component.d.ts +172 -172
- package/controls/input/input.component.d.ts +47 -37
- package/controls/input-list/input-list.component.d.ts +29 -29
- package/controls/list-checkbox/list-checkbox.component.d.ts +26 -26
- package/controls/message/message.component.d.ts +10 -10
- package/controls/multi-select/multi-select.component.d.ts +39 -37
- package/controls/paginator/paginator.component.d.ts +25 -25
- package/controls/select/select.component.d.ts +42 -41
- package/controls/timeline/timeline.component.d.ts +17 -17
- package/directives/mask.directive.d.ts +24 -24
- package/directives/unmask.directive.d.ts +12 -11
- package/enum/dialog-buttons.enum.d.ts +7 -7
- package/enum/index.d.ts +3 -3
- package/enum/modal-action.enum.d.ts +10 -10
- package/enum/page-action.enum.d.ts +8 -8
- package/esm2022/controls/alert/alert.component.mjs +72 -0
- package/esm2022/controls/autocomplete/autocomplete.component.mjs +265 -0
- package/esm2022/controls/big-checkbox/big-checkbox.component.mjs +300 -0
- package/esm2022/controls/card/card.component.mjs +83 -0
- package/esm2022/controls/card-menu/card-menu.component.mjs +143 -0
- package/esm2022/controls/checkbox/checkbox.component.mjs +93 -0
- package/esm2022/controls/chips/chips.component.mjs +114 -0
- package/esm2022/controls/date/date.component.mjs +173 -0
- package/esm2022/controls/date-month/date-month.component.mjs +181 -0
- package/esm2022/controls/editor/editor.component.mjs +139 -0
- package/esm2022/controls/grid/grid.component.mjs +1818 -0
- package/esm2022/controls/input/input.component.mjs +389 -0
- package/esm2022/controls/input-list/input-list.component.mjs +259 -0
- package/{esm2020 → esm2022}/controls/list-checkbox/list-checkbox.component.mjs +242 -238
- package/esm2022/controls/message/message.component.mjs +48 -0
- package/esm2022/controls/multi-select/multi-select.component.mjs +174 -0
- package/esm2022/controls/paginator/paginator.component.mjs +177 -0
- package/esm2022/controls/select/select.component.mjs +189 -0
- package/esm2022/controls/timeline/timeline.component.mjs +116 -0
- package/esm2022/directives/mask.directive.mjs +134 -0
- package/esm2022/directives/unmask.directive.mjs +35 -0
- package/{esm2020 → esm2022}/enum/dialog-buttons.enum.mjs +8 -8
- package/{esm2020 → esm2022}/enum/index.mjs +3 -3
- package/{esm2020 → esm2022}/enum/modal-action.enum.mjs +11 -11
- package/{esm2020 → esm2022}/enum/page-action.enum.mjs +9 -9
- package/{esm2020 → esm2022}/global-config.mjs +3 -3
- package/{esm2020 → esm2022}/info-library.mjs +4 -4
- package/esm2022/info-library.module.mjs +283 -0
- package/esm2022/layouts/dialog/dialog.component.mjs +192 -0
- package/esm2022/layouts/filter/filter.component.mjs +179 -0
- package/esm2022/layouts/loading/loading.component.mjs +40 -0
- package/esm2022/layouts/main/main.component.mjs +305 -0
- package/esm2022/layouts/modal/modal.component.mjs +273 -0
- package/esm2022/layouts/pagebar/pagebar.component.mjs +432 -0
- package/esm2022/layouts/sidebar/sidebar.component.mjs +447 -0
- package/esm2022/layouts/topbar/topbar.component.mjs +1032 -0
- package/esm2022/layouts/topmenu/topmenu.component.mjs +173 -0
- package/esm2022/model/app-config.model.mjs +14 -0
- package/esm2022/model/data-access.model.mjs +37 -0
- package/esm2022/model/dialog-result.model.mjs +9 -0
- package/esm2022/model/dialog.model.mjs +15 -0
- package/esm2022/model/form-prop.model.mjs +37 -0
- package/esm2022/model/grid-button.model.mjs +26 -0
- package/{esm2020 → esm2022}/model/index.mjs +14 -14
- package/esm2022/model/last-search.model.mjs +7 -0
- package/esm2022/model/login.model.mjs +11 -0
- package/esm2022/model/method-grid-button.model.mjs +11 -0
- package/esm2022/model/notification.model.mjs +13 -0
- package/{esm2020 → esm2022}/model/pagebar-buttons.model.mjs +15 -15
- package/esm2022/model/permission.model.mjs +6 -0
- package/esm2022/model/platform.model.mjs +20 -0
- package/esm2022/model/session.model.mjs +27 -0
- package/{esm2020 → esm2022}/pipe/index.mjs +2 -2
- package/esm2022/pipe/mask.pipe.mjs +38 -0
- package/esm2022/pipe/translate.pipe.mjs +27 -0
- package/{esm2020 → esm2022}/public_api.mjs +37 -36
- package/esm2022/service/authentication.service.mjs +411 -0
- package/esm2022/service/configuration.service.mjs +90 -0
- package/esm2022/service/data.service.mjs +129 -0
- package/{esm2020 → esm2022}/service/index.mjs +5 -5
- package/esm2022/service/theme.service.mjs +89 -0
- package/esm2022/service/translate.service.mjs +57 -0
- package/esm2022/utils/utilities.mjs +189 -0
- package/fesm2022/info-library.mjs +9364 -0
- package/fesm2022/info-library.mjs.map +1 -0
- package/global-config.d.ts +3 -3
- package/index.d.ts +5 -5
- package/info-library-3.0.0-beta.tgz +0 -0
- package/info-library.module.d.ts +61 -60
- package/layouts/dialog/dialog.component.d.ts +29 -29
- package/layouts/filter/filter.component.d.ts +24 -0
- package/layouts/loading/loading.component.d.ts +8 -8
- package/layouts/main/main.component.d.ts +60 -56
- package/layouts/modal/modal.component.d.ts +40 -39
- package/layouts/pagebar/pagebar.component.d.ts +45 -45
- package/layouts/sidebar/sidebar.component.d.ts +40 -40
- package/layouts/topbar/topbar.component.d.ts +69 -66
- package/layouts/topmenu/topmenu.component.d.ts +34 -34
- package/model/app-config.model.d.ts +13 -11
- package/model/data-access.model.d.ts +12 -12
- package/model/dialog-result.model.d.ts +6 -6
- package/model/dialog.model.d.ts +14 -14
- package/model/form-prop.model.d.ts +12 -12
- package/model/grid-button.model.d.ts +18 -18
- package/model/index.d.ts +14 -14
- package/model/last-search.model.d.ts +6 -6
- package/model/login.model.d.ts +6 -6
- package/model/method-grid-button.model.d.ts +6 -6
- package/model/notification.model.d.ts +12 -12
- package/model/pagebar-buttons.model.d.ts +10 -10
- package/model/permission.model.d.ts +5 -5
- package/model/platform.model.d.ts +16 -16
- package/model/session.model.d.ts +27 -22
- package/package.json +5 -11
- package/pipe/index.d.ts +2 -2
- package/pipe/mask.pipe.d.ts +8 -8
- package/pipe/translate.pipe.d.ts +10 -10
- package/public_api.d.ts +34 -33
- package/service/authentication.service.d.ts +63 -61
- package/service/configuration.service.d.ts +17 -14
- package/service/data.service.d.ts +41 -39
- package/service/index.d.ts +5 -5
- package/service/theme.service.d.ts +16 -16
- package/service/translate.service.d.ts +16 -16
- package/utils/utilities.d.ts +38 -27
- package/esm2020/controls/alert/alert.component.mjs +0 -74
- package/esm2020/controls/autocomplete/autocomplete.component.mjs +0 -258
- package/esm2020/controls/big-checkbox/big-checkbox.component.mjs +0 -298
- package/esm2020/controls/card/card.component.mjs +0 -77
- package/esm2020/controls/card-menu/card-menu.component.mjs +0 -145
- package/esm2020/controls/checkbox/checkbox.component.mjs +0 -93
- package/esm2020/controls/chips/chips.component.mjs +0 -113
- package/esm2020/controls/date/date.component.mjs +0 -141
- package/esm2020/controls/date-month/date-month.component.mjs +0 -148
- package/esm2020/controls/editor/editor.component.mjs +0 -135
- package/esm2020/controls/grid/grid.component.mjs +0 -1800
- package/esm2020/controls/input/input.component.mjs +0 -314
- package/esm2020/controls/input-list/input-list.component.mjs +0 -258
- package/esm2020/controls/message/message.component.mjs +0 -50
- package/esm2020/controls/multi-select/multi-select.component.mjs +0 -161
- package/esm2020/controls/paginator/paginator.component.mjs +0 -178
- package/esm2020/controls/select/select.component.mjs +0 -180
- package/esm2020/controls/timeline/timeline.component.mjs +0 -117
- package/esm2020/directives/mask.directive.mjs +0 -125
- package/esm2020/directives/unmask.directive.mjs +0 -28
- package/esm2020/info-library.module.mjs +0 -278
- package/esm2020/layouts/dialog/dialog.component.mjs +0 -188
- package/esm2020/layouts/loading/loading.component.mjs +0 -42
- package/esm2020/layouts/main/main.component.mjs +0 -258
- package/esm2020/layouts/modal/modal.component.mjs +0 -258
- package/esm2020/layouts/pagebar/pagebar.component.mjs +0 -404
- package/esm2020/layouts/sidebar/sidebar.component.mjs +0 -395
- package/esm2020/layouts/topbar/topbar.component.mjs +0 -868
- package/esm2020/layouts/topmenu/topmenu.component.mjs +0 -165
- package/esm2020/model/app-config.model.mjs +0 -14
- package/esm2020/model/data-access.model.mjs +0 -35
- package/esm2020/model/dialog-result.model.mjs +0 -8
- package/esm2020/model/dialog.model.mjs +0 -16
- package/esm2020/model/form-prop.model.mjs +0 -35
- package/esm2020/model/grid-button.model.mjs +0 -21
- package/esm2020/model/last-search.model.mjs +0 -9
- package/esm2020/model/login.model.mjs +0 -9
- package/esm2020/model/method-grid-button.model.mjs +0 -9
- package/esm2020/model/notification.model.mjs +0 -9
- package/esm2020/model/permission.model.mjs +0 -3
- package/esm2020/model/platform.model.mjs +0 -21
- package/esm2020/model/session.model.mjs +0 -8
- package/esm2020/pipe/mask.pipe.mjs +0 -34
- package/esm2020/pipe/translate.pipe.mjs +0 -26
- package/esm2020/service/authentication.service.mjs +0 -358
- package/esm2020/service/configuration.service.mjs +0 -59
- package/esm2020/service/data.service.mjs +0 -112
- package/esm2020/service/theme.service.mjs +0 -79
- package/esm2020/service/translate.service.mjs +0 -53
- package/esm2020/utils/utilities.mjs +0 -142
- package/fesm2015/info-library.mjs +0 -9312
- package/fesm2015/info-library.mjs.map +0 -1
- package/fesm2020/info-library.mjs +0 -8462
- package/fesm2020/info-library.mjs.map +0 -1
package/model/session.model.d.ts
CHANGED
|
@@ -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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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": "
|
|
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": "
|
|
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
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
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';
|
package/pipe/mask.pipe.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/pipe/translate.pipe.d.ts
CHANGED
|
@@ -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 {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
private
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private
|
|
9
|
-
private
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
getNoToken(controller: any
|
|
21
|
-
getNoToken(controller: any, method?: string
|
|
22
|
-
|
|
23
|
-
get(controller: any
|
|
24
|
-
get(controller: any, method?: string
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
postNoToken(controller: any, model: any
|
|
28
|
-
|
|
29
|
-
post(controller: any, model: any
|
|
30
|
-
|
|
31
|
-
delete(controller: any, id: any
|
|
32
|
-
|
|
33
|
-
deleteByModel(controller: any, model: any
|
|
34
|
-
|
|
35
|
-
request(controller: any, model: any[], method?: string
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
+
}
|
package/service/index.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/utils/utilities.d.ts
CHANGED
|
@@ -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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
+
}
|