brainloper-ui 14.0.14 → 14.0.16
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/package.json +5 -1
- package/esm2020/brainloper-ui.mjs +0 -5
- package/esm2020/public_api.mjs +0 -52
- package/esm2020/src/app/modules/brainloper-ui/brainloper-ui.module.mjs +0 -305
- package/esm2020/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.mjs +0 -29
- package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.mjs +0 -23
- package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.mjs +0 -83
- package/esm2020/src/app/modules/brainloper-ui/components/carousel/carousel.component.mjs +0 -31
- package/esm2020/src/app/modules/brainloper-ui/components/combos/combos.component.mjs +0 -176
- package/esm2020/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +0 -652
- package/esm2020/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.mjs +0 -118
- package/esm2020/src/app/modules/brainloper-ui/components/file-input/file-input.component.mjs +0 -185
- package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.mjs +0 -2
- package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.mjs +0 -2
- package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.mjs +0 -2
- package/esm2020/src/app/modules/brainloper-ui/components/filters/filters.component.mjs +0 -222
- package/esm2020/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.mjs +0 -80
- package/esm2020/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.mjs +0 -81
- package/esm2020/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.mjs +0 -108
- package/esm2020/src/app/modules/data/rolesAndPermissions.mjs +0 -486
- package/esm2020/src/app/modules/interfaces/buttons/button-icon.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/buttons/button-lavel-edit.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/combos/combos-configuration.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/common/Permissions.mjs +0 -6
- package/esm2020/src/app/modules/interfaces/data-table/params.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/data-table/rules.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/data-table/table-columns.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/data-table/table-configuration.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/enum/enumActions.mjs +0 -7
- package/esm2020/src/app/modules/interfaces/enum/enumRules.mjs +0 -8
- package/esm2020/src/app/modules/interfaces/file-forms-service/file-forms-params.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/file-forms-service/file-input-params.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/filters/header-filters.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +0 -8
- package/esm2020/src/app/modules/interfaces/report/template-pdf-ot.mjs +0 -2
- package/esm2020/src/app/modules/interfaces/report/template-pfd-fo.mjs +0 -2
- package/esm2020/src/app/modules/services/crypto.service.mjs +0 -37
- package/esm2020/src/app/modules/services/export-data.service.mjs +0 -78055
- package/esm2020/src/app/modules/services/file-forms.service.mjs +0 -24
- package/esm2020/src/app/modules/services/functions.service.mjs +0 -54
- package/esm2020/src/app/modules/services/generate-pdf.service.mjs +0 -58
- package/esm2020/src/app/modules/services/http.service.mjs +0 -154
- package/esm2020/src/app/modules/services/loading/loading.component.mjs +0 -28
- package/esm2020/src/app/modules/services/local-storage.service.mjs +0 -115
- package/esm2020/src/app/modules/services/message.service.mjs +0 -200
- package/esm2020/src/app/modules/services/screen-size-util.mjs +0 -6
- package/esm2020/src/app/modules/services/session.service.mjs +0 -42
- package/fesm2015/brainloper-ui.mjs +0 -81277
- package/fesm2015/brainloper-ui.mjs.map +0 -1
- package/fesm2020/brainloper-ui.mjs +0 -81240
- package/fesm2020/brainloper-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/public_api.d.ts +0 -51
- package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +0 -73
- package/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.d.ts +0 -13
- package/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.d.ts +0 -10
- package/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.d.ts +0 -24
- package/src/app/modules/brainloper-ui/components/carousel/carousel.component.d.ts +0 -12
- package/src/app/modules/brainloper-ui/components/combos/combos.component.d.ts +0 -46
- package/src/app/modules/brainloper-ui/components/data-table/data-table.component.d.ts +0 -119
- package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +0 -21
- package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +0 -42
- package/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.d.ts +0 -2
- package/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.d.ts +0 -2
- package/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.d.ts +0 -2
- package/src/app/modules/brainloper-ui/components/filters/filters.component.d.ts +0 -30
- package/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.d.ts +0 -35
- package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts +0 -36
- package/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.d.ts +0 -26
- package/src/app/modules/data/rolesAndPermissions.d.ts +0 -2
- package/src/app/modules/interfaces/buttons/button-icon.d.ts +0 -9
- package/src/app/modules/interfaces/buttons/button-lavel-edit.d.ts +0 -6
- package/src/app/modules/interfaces/combos/combos-configuration.d.ts +0 -13
- package/src/app/modules/interfaces/common/Permissions.d.ts +0 -34
- package/src/app/modules/interfaces/data-table/params.d.ts +0 -7
- package/src/app/modules/interfaces/data-table/rules.d.ts +0 -8
- package/src/app/modules/interfaces/data-table/table-columns.d.ts +0 -25
- package/src/app/modules/interfaces/data-table/table-configuration.d.ts +0 -25
- package/src/app/modules/interfaces/enum/enumActions.d.ts +0 -5
- package/src/app/modules/interfaces/enum/enumRules.d.ts +0 -6
- package/src/app/modules/interfaces/file-forms-service/file-forms-params.d.ts +0 -4
- package/src/app/modules/interfaces/file-forms-service/file-input-params.d.ts +0 -13
- package/src/app/modules/interfaces/filters/header-filters.d.ts +0 -13
- package/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.d.ts +0 -10
- package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +0 -19
- package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +0 -20
- package/src/app/modules/services/crypto.service.d.ts +0 -10
- package/src/app/modules/services/export-data.service.d.ts +0 -18
- package/src/app/modules/services/file-forms.service.d.ts +0 -7
- package/src/app/modules/services/functions.service.d.ts +0 -13
- package/src/app/modules/services/generate-pdf.service.d.ts +0 -12
- package/src/app/modules/services/http.service.d.ts +0 -21
- package/src/app/modules/services/loading/loading.component.d.ts +0 -15
- package/src/app/modules/services/local-storage.service.d.ts +0 -49
- package/src/app/modules/services/message.service.d.ts +0 -23
- package/src/app/modules/services/screen-size-util.d.ts +0 -3
- package/src/app/modules/services/session.service.d.ts +0 -14
package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { MessageService } from '../../../../services/message.service';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
3
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TemplateFuelComponent implements OnInit {
|
|
6
|
-
dialogRef: MatDialogRef<TemplateFuelComponent>;
|
|
7
|
-
dataModal: any;
|
|
8
|
-
private dialog;
|
|
9
|
-
message: MessageService;
|
|
10
|
-
data: {
|
|
11
|
-
name: string;
|
|
12
|
-
nit: string;
|
|
13
|
-
address: string;
|
|
14
|
-
telephone: string;
|
|
15
|
-
mail: string;
|
|
16
|
-
image: string;
|
|
17
|
-
code: string;
|
|
18
|
-
date: string;
|
|
19
|
-
responsible: string;
|
|
20
|
-
id_place: string;
|
|
21
|
-
approved_by: string;
|
|
22
|
-
detalle: string;
|
|
23
|
-
description: string;
|
|
24
|
-
consecutive: string;
|
|
25
|
-
namePlace: string;
|
|
26
|
-
addressPlace: string;
|
|
27
|
-
area: string;
|
|
28
|
-
odometer: string;
|
|
29
|
-
};
|
|
30
|
-
constructor(dialogRef: MatDialogRef<TemplateFuelComponent>, dataModal: any, dialog: MatDialog, message: MessageService);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
ngAfterViewInit(): void;
|
|
33
|
-
downloadPDF(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateFuelComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateFuelComponent, "app-template-fuel", never, {}, {}, never, never, false>;
|
|
36
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SelectFilterComponent implements OnInit, OnDestroy {
|
|
5
|
-
private searchFormValueChangesSubscription;
|
|
6
|
-
input: any;
|
|
7
|
-
array: any;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
color: string;
|
|
10
|
-
displayMember: string;
|
|
11
|
-
showSpinner: boolean;
|
|
12
|
-
noResultsMessage: string;
|
|
13
|
-
hasGroup: boolean;
|
|
14
|
-
groupArrayName: string;
|
|
15
|
-
noResults: boolean;
|
|
16
|
-
localSpinner: boolean;
|
|
17
|
-
filteredReturn: EventEmitter<any>;
|
|
18
|
-
filteredItems: any;
|
|
19
|
-
searchForm: FormGroup;
|
|
20
|
-
constructor(fb: FormBuilder);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
handleKeydown(event: KeyboardEvent): void;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFilterComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFilterComponent, "app-select-filter", never, { "array": "array"; "placeholder": "placeholder"; "color": "color"; "displayMember": "displayMember"; "showSpinner": "showSpinner"; "noResultsMessage": "noResultsMessage"; "hasGroup": "hasGroup"; "groupArrayName": "groupArrayName"; }, { "filteredReturn": "filteredReturn"; }, never, never, false>;
|
|
26
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { params } from '../data-table/params';
|
|
2
|
-
export interface CombosConfiguration {
|
|
3
|
-
selectionField?: string;
|
|
4
|
-
visibleField?: string;
|
|
5
|
-
urlCombo?: string;
|
|
6
|
-
urlParams?: params[];
|
|
7
|
-
label?: string;
|
|
8
|
-
selected?: any;
|
|
9
|
-
fileTooltip?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface Filter {
|
|
12
|
-
filter?: boolean;
|
|
13
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare class RolesAndPermissions {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
modules?: Modules[];
|
|
5
|
-
hasAccessToAll?: boolean;
|
|
6
|
-
}
|
|
7
|
-
interface Modules {
|
|
8
|
-
id: number;
|
|
9
|
-
name?: string;
|
|
10
|
-
subModules?: SubModules[];
|
|
11
|
-
hasAccessToAll?: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface SubModules {
|
|
14
|
-
id: number;
|
|
15
|
-
name: string;
|
|
16
|
-
permissions: Permissions;
|
|
17
|
-
}
|
|
18
|
-
export interface Permissions {
|
|
19
|
-
write?: boolean;
|
|
20
|
-
update?: boolean;
|
|
21
|
-
inactivate?: boolean;
|
|
22
|
-
activate?: boolean;
|
|
23
|
-
readAll?: boolean;
|
|
24
|
-
readOwn?: boolean;
|
|
25
|
-
readTable?: boolean;
|
|
26
|
-
readCombo?: boolean;
|
|
27
|
-
readDetail?: boolean;
|
|
28
|
-
delete?: boolean;
|
|
29
|
-
closeOT?: boolean;
|
|
30
|
-
closeFOT?: boolean;
|
|
31
|
-
allocateResources?: boolean;
|
|
32
|
-
all?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { params } from './params';
|
|
2
|
-
import { Rules } from './rules';
|
|
3
|
-
export interface TableColumns<T> {
|
|
4
|
-
ID: keyof T;
|
|
5
|
-
label: String;
|
|
6
|
-
type: 'boolean' | 'currency' | 'dateWithTime' | 'date' | 'fecha' | 'string' | 'number' | 'text' | 'combo';
|
|
7
|
-
paramsCombo?: {
|
|
8
|
-
url?: String;
|
|
9
|
-
urlParams?: params[];
|
|
10
|
-
visibleField?: String;
|
|
11
|
-
selectionField?: String;
|
|
12
|
-
returnDataSelect?: boolean;
|
|
13
|
-
};
|
|
14
|
-
style?: {
|
|
15
|
-
width?: String;
|
|
16
|
-
textAlign?: String;
|
|
17
|
-
color?: String;
|
|
18
|
-
backgroundColor?: String;
|
|
19
|
-
movil?: String;
|
|
20
|
-
};
|
|
21
|
-
disregardForAdd?: boolean;
|
|
22
|
-
disregardForEdit?: boolean;
|
|
23
|
-
rules?: Array<Rules>;
|
|
24
|
-
required?: boolean;
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface TableConfiguration {
|
|
2
|
-
edit?: boolean;
|
|
3
|
-
add?: boolean;
|
|
4
|
-
delete?: boolean;
|
|
5
|
-
selectable?: boolean;
|
|
6
|
-
addPer?: boolean;
|
|
7
|
-
editPer?: boolean;
|
|
8
|
-
primaryKey?: string;
|
|
9
|
-
print?: boolean;
|
|
10
|
-
sendEmail?: boolean;
|
|
11
|
-
active?: boolean;
|
|
12
|
-
hideTitle?: boolean;
|
|
13
|
-
hideFilter?: boolean;
|
|
14
|
-
notInitialize?: boolean;
|
|
15
|
-
exportXslx?: boolean;
|
|
16
|
-
exportXslxWithPages?: boolean;
|
|
17
|
-
exportXslxByRow?: boolean;
|
|
18
|
-
view?: boolean;
|
|
19
|
-
closeOrder?: boolean;
|
|
20
|
-
packOff?: boolean;
|
|
21
|
-
advance?: boolean;
|
|
22
|
-
advanceLabel?: string;
|
|
23
|
-
income?: boolean;
|
|
24
|
-
exit?: boolean;
|
|
25
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface HeaderFilters<T = any> {
|
|
2
|
-
tN: string;
|
|
3
|
-
visibleField: string;
|
|
4
|
-
primaryKey?: string;
|
|
5
|
-
type: string;
|
|
6
|
-
value: string;
|
|
7
|
-
labelFilter?: string;
|
|
8
|
-
urlData?: string;
|
|
9
|
-
body?: any;
|
|
10
|
-
active?: boolean;
|
|
11
|
-
fileNameDb?: string;
|
|
12
|
-
data?: T[];
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface TemplatePdfOt {
|
|
2
|
-
name?: string;
|
|
3
|
-
nit?: string;
|
|
4
|
-
address?: string;
|
|
5
|
-
telephone?: string;
|
|
6
|
-
mail?: string;
|
|
7
|
-
image?: string;
|
|
8
|
-
code?: string;
|
|
9
|
-
date?: string;
|
|
10
|
-
responsible?: string;
|
|
11
|
-
third?: string;
|
|
12
|
-
odometer?: string;
|
|
13
|
-
approved_by?: string;
|
|
14
|
-
description?: string;
|
|
15
|
-
consecutive?: string;
|
|
16
|
-
nameProvider?: string;
|
|
17
|
-
addressProvider?: string;
|
|
18
|
-
area?: string;
|
|
19
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface TemplatePdfFo {
|
|
2
|
-
name?: string;
|
|
3
|
-
nit?: string;
|
|
4
|
-
address?: string;
|
|
5
|
-
telephone?: string;
|
|
6
|
-
mail?: string;
|
|
7
|
-
image?: string;
|
|
8
|
-
code?: string;
|
|
9
|
-
date?: string;
|
|
10
|
-
responsible?: string;
|
|
11
|
-
id_place?: string;
|
|
12
|
-
approved_by?: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
detalle?: string;
|
|
15
|
-
consecutive?: string;
|
|
16
|
-
namePlace?: string;
|
|
17
|
-
addressPlace?: string;
|
|
18
|
-
area?: string;
|
|
19
|
-
odometer?: string;
|
|
20
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CryptoService {
|
|
3
|
-
key: string;
|
|
4
|
-
constructor();
|
|
5
|
-
asignarKey(key: any): void;
|
|
6
|
-
encode(data: any): string;
|
|
7
|
-
decode(data: string): any;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CryptoService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CryptoService>;
|
|
10
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MessageService } from './message.service';
|
|
2
|
-
import { HttpService } from './http.service';
|
|
3
|
-
import { params } from '../interfaces/data-table/params';
|
|
4
|
-
import { FunctionsService } from './functions.service';
|
|
5
|
-
import { HeaderFilters } from '../interfaces/filters/header-filters';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ExportDataService {
|
|
8
|
-
private http;
|
|
9
|
-
private functionEter;
|
|
10
|
-
private message;
|
|
11
|
-
constructor(http: HttpService, functionEter: FunctionsService, message: MessageService);
|
|
12
|
-
generateExcelWithSheets<T>(title: string, header: Array<params>, name: string, bodies?: Array<any>, url?: string, params?: params[], filtersPost?: Array<HeaderFilters<any>>, titleFields?: string[], sheetNameFields?: string[], BodyFields?: string): Promise<void>;
|
|
13
|
-
generateToXlsx<T>(title: string, header: Array<params>, name: string, body?: T, url?: string, params?: Array<params>, filtersPost?: Array<HeaderFilters<any>>, BodyFields?: string, generateFile?: boolean): Promise<any>;
|
|
14
|
-
private saveAsExcelFile;
|
|
15
|
-
private getDataBody;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExportDataService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExportDataService>;
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FileFormsService {
|
|
3
|
-
constructor();
|
|
4
|
-
createMultipartForm(file: File, params?: any): FormData;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileFormsService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FileFormsService>;
|
|
7
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FunctionsService {
|
|
3
|
-
constructor();
|
|
4
|
-
dateForm(date: any): string;
|
|
5
|
-
dateIso(date: any): string;
|
|
6
|
-
dateDB(date: any): string;
|
|
7
|
-
dateWithTime(date: string): string;
|
|
8
|
-
areObjectsEqual(obj1: any, obj2: any): boolean;
|
|
9
|
-
removeDuplicateObjects(originalArray: any[]): any[];
|
|
10
|
-
private validateTwoDigitFormat;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FunctionsService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FunctionsService>;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { TemplatePdfOt } from '../interfaces/report/template-pdf-ot';
|
|
3
|
-
import { TemplatePdfFo } from '../interfaces/report/template-pfd-fo';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GeneratePdfService {
|
|
6
|
-
private dialog;
|
|
7
|
-
constructor(dialog: MatDialog);
|
|
8
|
-
getPdfOt(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<unknown>;
|
|
9
|
-
getPdfFo(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<unknown>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePdfService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GeneratePdfService>;
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { MessageService } from './message.service';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class HttpService {
|
|
5
|
-
private http;
|
|
6
|
-
private message;
|
|
7
|
-
constructor(http: HttpClient, message: MessageService);
|
|
8
|
-
getData(url: string, params?: any): import("rxjs").Observable<Object>;
|
|
9
|
-
postData(url: string, body: any, params?: any): import("rxjs").Observable<Object>;
|
|
10
|
-
putData(url: string, body: any, params?: any): import("rxjs").Observable<Object>;
|
|
11
|
-
deleteData(url: string, params?: any): import("rxjs").Observable<Object>;
|
|
12
|
-
getDataPromise(url: string, params?: any): Promise<unknown>;
|
|
13
|
-
postDataPromise(url: string, body: any, params?: any): Promise<unknown>;
|
|
14
|
-
putDataPromise(url: string, body: any, params?: any): Promise<unknown>;
|
|
15
|
-
deleteDataPromise(url: string, params?: any): Promise<unknown>;
|
|
16
|
-
getDataBody<T>(url: string, params?: any): Promise<T>;
|
|
17
|
-
postDataBody<T>(url: string, body: any, params?: any): Promise<T>;
|
|
18
|
-
putDataBody<T>(url: string, body: any, params?: any): Promise<T>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpService>;
|
|
21
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AnimationItem } from 'lottie-web';
|
|
3
|
-
import { AnimationOptions } from 'ngx-lottie';
|
|
4
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LoadingComponent implements OnInit {
|
|
7
|
-
dialogRef: MatDialogRef<LoadingComponent>;
|
|
8
|
-
data: any;
|
|
9
|
-
options: AnimationOptions;
|
|
10
|
-
constructor(dialogRef: MatDialogRef<LoadingComponent>, data: any);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
animationCreated(animationItem: AnimationItem): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "app-loading", never, {}, {}, never, never, false>;
|
|
15
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LocalStorageService {
|
|
3
|
-
private prefix;
|
|
4
|
-
private store;
|
|
5
|
-
constructor();
|
|
6
|
-
/**
|
|
7
|
-
* set key in local storage
|
|
8
|
-
* @param key key
|
|
9
|
-
* @param value value
|
|
10
|
-
*/
|
|
11
|
-
set<T>(key: string, value: T): boolean;
|
|
12
|
-
/**
|
|
13
|
-
* get key in local storage
|
|
14
|
-
* @param key key
|
|
15
|
-
* @returns value as object
|
|
16
|
-
*/
|
|
17
|
-
get<T>(key: string): T | null;
|
|
18
|
-
/**
|
|
19
|
-
* remove a key
|
|
20
|
-
* @param key key to remove
|
|
21
|
-
* @returns boolean
|
|
22
|
-
*/
|
|
23
|
-
remove(key: string): boolean;
|
|
24
|
-
/**
|
|
25
|
-
* clear all
|
|
26
|
-
* @returns boolean
|
|
27
|
-
*/
|
|
28
|
-
clear(): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* get all keys present in local storage
|
|
31
|
-
* @returns array of keys
|
|
32
|
-
*/
|
|
33
|
-
getAllKeys(): Array<string>;
|
|
34
|
-
/**
|
|
35
|
-
* set key with expire time
|
|
36
|
-
* @param key key
|
|
37
|
-
* @param value value
|
|
38
|
-
* @returns true if set correctly
|
|
39
|
-
*/
|
|
40
|
-
setWhitExpiry<T>(key: string, value: T): boolean;
|
|
41
|
-
/**
|
|
42
|
-
* return key with expire time
|
|
43
|
-
* @param key key
|
|
44
|
-
* @returns return object with data or null if key expired
|
|
45
|
-
*/
|
|
46
|
-
getWithExpiry<T>(key: string): T | null;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
48
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
49
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MessageService {
|
|
4
|
-
private dialog;
|
|
5
|
-
private loadingNow;
|
|
6
|
-
private warningQueue;
|
|
7
|
-
private showingWarning;
|
|
8
|
-
private loading;
|
|
9
|
-
constructor(dialog: MatDialog);
|
|
10
|
-
openLoading(title: any, message: any): void;
|
|
11
|
-
closeLoading(): void;
|
|
12
|
-
Error(title: string, message: string, showCancelButton?: boolean, confirmButtonText?: string, cancelButtonText?: string): Promise<unknown>;
|
|
13
|
-
Success(title: string, message: string, showCancelButton?: boolean, confirmButtonText?: string, cancelButtonText?: string): Promise<unknown>;
|
|
14
|
-
Warning(title: string, message: string, showCancelButton?: boolean, confirmButtonText?: string, cancelButtonText?: string, allowOutsideClick?: boolean): Promise<unknown>;
|
|
15
|
-
private showNextWarning;
|
|
16
|
-
Info(title: string, message: string, showCancelButton?: boolean, confirmButtonText?: string, cancelButtonText?: string): Promise<unknown>;
|
|
17
|
-
SuccessToast(message: string, duration?: number): void;
|
|
18
|
-
ErrorToast(message: string, duration?: number): void;
|
|
19
|
-
WarningToast(message: string, duration?: number): void;
|
|
20
|
-
InfoToast(message: string, duration?: number): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
23
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CryptoService } from './crypto.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SessionService {
|
|
4
|
-
private cripto;
|
|
5
|
-
key: string;
|
|
6
|
-
constructor(cripto: CryptoService);
|
|
7
|
-
private getMain;
|
|
8
|
-
keyAssign(key: any): void;
|
|
9
|
-
getData(key: any): any;
|
|
10
|
-
setData(key: any, value: any): void;
|
|
11
|
-
getSessionVars(): any;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SessionService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SessionService>;
|
|
14
|
-
}
|