brainloper-ui 14.0.25 → 14.0.27
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/esm2020/brainloper-ui.mjs +4 -4
- package/esm2020/public_api.mjs +55 -51
- package/esm2020/src/app/modules/brainloper-ui/brainloper-ui.module.mjs +304 -304
- package/esm2020/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.mjs +28 -28
- package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.mjs +22 -22
- package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.mjs +82 -82
- package/esm2020/src/app/modules/brainloper-ui/components/carousel/carousel.component.mjs +37 -36
- package/esm2020/src/app/modules/brainloper-ui/components/combos/combos.component.mjs +175 -175
- package/esm2020/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +612 -697
- package/esm2020/src/app/modules/brainloper-ui/components/data-table/services/data-table-buttons-config.service.mjs +134 -0
- package/esm2020/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.mjs +117 -117
- package/esm2020/src/app/modules/brainloper-ui/components/file-input/file-input.component.mjs +184 -184
- package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.mjs +1 -1
- package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.mjs +1 -1
- package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.mjs +1 -1
- package/esm2020/src/app/modules/brainloper-ui/components/filters/filters.component.mjs +221 -221
- package/esm2020/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.mjs +79 -79
- package/esm2020/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.mjs +80 -80
- package/esm2020/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.mjs +107 -107
- package/esm2020/src/app/modules/directives/carousel-item.directive.mjs +18 -0
- package/esm2020/src/app/modules/interfaces/buttons/button-icon.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/buttons/button-lavel-edit.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/combos/combos-configuration.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/data-table/params.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/data-table/rules.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/data-table/table-columns.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/data-table/table-configuration.mjs +2 -2
- package/esm2020/src/app/modules/interfaces/enum/enumActions.mjs +8 -7
- package/esm2020/src/app/modules/interfaces/enum/enumRules.mjs +7 -7
- package/esm2020/src/app/modules/interfaces/file-forms-service/file-forms-params.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/file-forms-service/file-input-params.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/filters/header-filters.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +7 -7
- package/esm2020/src/app/modules/interfaces/report/template-pdf-ot.mjs +1 -1
- package/esm2020/src/app/modules/interfaces/report/template-pfd-fo.mjs +1 -1
- package/esm2020/src/app/modules/services/crypto.service.mjs +36 -36
- package/esm2020/src/app/modules/services/export-data.service.mjs +165 -165
- package/esm2020/src/app/modules/services/file-forms.service.mjs +23 -23
- package/esm2020/src/app/modules/services/functions.service.mjs +53 -53
- package/esm2020/src/app/modules/services/generate-pdf.service.mjs +57 -57
- package/esm2020/src/app/modules/services/http.service.mjs +96 -96
- package/esm2020/src/app/modules/services/loading/loading.component.mjs +27 -27
- package/esm2020/src/app/modules/services/local-storage.service.mjs +114 -114
- package/esm2020/src/app/modules/services/message.service.mjs +199 -199
- package/esm2020/src/app/modules/services/screen-size-util.mjs +5 -5
- package/esm2020/src/app/modules/services/session.service.mjs +41 -41
- package/fesm2015/brainloper-ui.mjs +2833 -2767
- package/fesm2015/brainloper-ui.mjs.map +1 -1
- package/fesm2020/brainloper-ui.mjs +2792 -2729
- package/fesm2020/brainloper-ui.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +54 -50
- package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +73 -73
- package/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.d.ts +13 -13
- package/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.d.ts +10 -10
- package/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.d.ts +24 -24
- package/src/app/modules/brainloper-ui/components/carousel/carousel.component.d.ts +15 -13
- package/src/app/modules/brainloper-ui/components/combos/combos.component.d.ts +46 -46
- package/src/app/modules/brainloper-ui/components/data-table/data-table.component.d.ts +127 -123
- package/src/app/modules/brainloper-ui/components/data-table/services/data-table-buttons-config.service.d.ts +6 -0
- package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +21 -21
- package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +42 -42
- package/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.d.ts +2 -2
- package/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.d.ts +2 -2
- package/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.d.ts +2 -2
- package/src/app/modules/brainloper-ui/components/filters/filters.component.d.ts +30 -30
- package/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.d.ts +35 -35
- package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts +36 -36
- package/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.d.ts +26 -26
- package/src/app/modules/directives/carousel-item.directive.d.ts +9 -0
- package/src/app/modules/interfaces/buttons/button-icon.d.ts +9 -9
- package/src/app/modules/interfaces/buttons/button-lavel-edit.d.ts +6 -6
- package/src/app/modules/interfaces/combos/combos-configuration.d.ts +13 -13
- package/src/app/modules/interfaces/data-table/params.d.ts +7 -7
- package/src/app/modules/interfaces/data-table/rules.d.ts +8 -8
- package/src/app/modules/interfaces/data-table/table-columns.d.ts +25 -25
- package/src/app/modules/interfaces/data-table/table-configuration.d.ts +26 -25
- package/src/app/modules/interfaces/enum/enumActions.d.ts +6 -5
- package/src/app/modules/interfaces/enum/enumRules.d.ts +6 -6
- package/src/app/modules/interfaces/file-forms-service/file-forms-params.d.ts +4 -4
- package/src/app/modules/interfaces/file-forms-service/file-input-params.d.ts +13 -13
- package/src/app/modules/interfaces/filters/header-filters.d.ts +13 -13
- package/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.d.ts +10 -10
- package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +19 -19
- package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +20 -20
- package/src/app/modules/services/crypto.service.d.ts +10 -10
- package/src/app/modules/services/export-data.service.d.ts +18 -18
- package/src/app/modules/services/file-forms.service.d.ts +7 -7
- package/src/app/modules/services/functions.service.d.ts +13 -13
- package/src/app/modules/services/generate-pdf.service.d.ts +12 -12
- package/src/app/modules/services/http.service.d.ts +22 -22
- package/src/app/modules/services/loading/loading.component.d.ts +15 -15
- package/src/app/modules/services/local-storage.service.d.ts +49 -49
- package/src/app/modules/services/message.service.d.ts +23 -23
- package/src/app/modules/services/screen-size-util.d.ts +3 -3
- package/src/app/modules/services/session.service.d.ts +14 -14
|
@@ -1,123 +1,127 @@
|
|
|
1
|
-
import { ExportDataService } from './../../../services/export-data.service';
|
|
2
|
-
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
-
import { HttpService } from '../../../services/http.service';
|
|
5
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
6
|
-
import { MessageService } from '../../../services/message.service';
|
|
7
|
-
import { FunctionsService } from '../../../services/functions.service';
|
|
8
|
-
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
9
|
-
import { TooltipPosition } from '@angular/material/tooltip';
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
1
|
+
import { ExportDataService } from './../../../services/export-data.service';
|
|
2
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { HttpService } from '../../../services/http.service';
|
|
5
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
6
|
+
import { MessageService } from '../../../services/message.service';
|
|
7
|
+
import { FunctionsService } from '../../../services/functions.service';
|
|
8
|
+
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
9
|
+
import { TooltipPosition } from '@angular/material/tooltip';
|
|
10
|
+
import { DataTableButtonConfigService } from './services/data-table-buttons-config.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class DataTableComponent implements OnInit, OnChanges {
|
|
13
|
+
dialog: MatDialog;
|
|
14
|
+
private http;
|
|
15
|
+
private message;
|
|
16
|
+
private functionEter;
|
|
17
|
+
private paginatorTranslate;
|
|
18
|
+
private exportService;
|
|
19
|
+
private buttonConfigService;
|
|
20
|
+
title: any;
|
|
21
|
+
columns: any;
|
|
22
|
+
data: any;
|
|
23
|
+
combo: any;
|
|
24
|
+
configuration: {
|
|
25
|
+
add: boolean;
|
|
26
|
+
edit: boolean;
|
|
27
|
+
delete: boolean;
|
|
28
|
+
active: boolean;
|
|
29
|
+
selectable: boolean;
|
|
30
|
+
print: boolean;
|
|
31
|
+
addPer: boolean;
|
|
32
|
+
editPer: boolean;
|
|
33
|
+
primaryKey: string;
|
|
34
|
+
exportXslx: boolean;
|
|
35
|
+
hideTitle: boolean;
|
|
36
|
+
hideFilter: boolean;
|
|
37
|
+
notInitialize: boolean;
|
|
38
|
+
exportXslxByRow: boolean;
|
|
39
|
+
exportXslxWithPages: boolean;
|
|
40
|
+
view: boolean;
|
|
41
|
+
closeOrder: boolean;
|
|
42
|
+
packOff: boolean;
|
|
43
|
+
advance: boolean;
|
|
44
|
+
advanceLabel: any;
|
|
45
|
+
income: boolean;
|
|
46
|
+
exit: boolean;
|
|
47
|
+
sendEmail: boolean;
|
|
48
|
+
addComment: boolean;
|
|
49
|
+
};
|
|
50
|
+
reloadTable: EventEmitter<any>;
|
|
51
|
+
url: string;
|
|
52
|
+
params: Array<any>;
|
|
53
|
+
titleLoading: string;
|
|
54
|
+
messageLoading: string;
|
|
55
|
+
headerFileXlsm: Array<any>;
|
|
56
|
+
headerFilters: Array<any>;
|
|
57
|
+
xslxTitleFields: string[];
|
|
58
|
+
xslxSheetNameFields: string[];
|
|
59
|
+
xslxBodyFields: string;
|
|
60
|
+
xslxParams: Array<any>;
|
|
61
|
+
roleId: number;
|
|
62
|
+
moduleId: number;
|
|
63
|
+
subModuleId: number;
|
|
64
|
+
private hasAccessToAll;
|
|
65
|
+
private rolesAndPermissionUser;
|
|
66
|
+
clickRow: EventEmitter<any>;
|
|
67
|
+
add: EventEmitter<any>;
|
|
68
|
+
edit: EventEmitter<any>;
|
|
69
|
+
delete: EventEmitter<any>;
|
|
70
|
+
print: EventEmitter<any>;
|
|
71
|
+
exportXslxByRow: EventEmitter<any>;
|
|
72
|
+
active: EventEmitter<any>;
|
|
73
|
+
selected: EventEmitter<any>;
|
|
74
|
+
view: EventEmitter<any>;
|
|
75
|
+
closeOrder: EventEmitter<any>;
|
|
76
|
+
packOff: EventEmitter<any>;
|
|
77
|
+
advance: EventEmitter<any>;
|
|
78
|
+
income: EventEmitter<any>;
|
|
79
|
+
exit: EventEmitter<any>;
|
|
80
|
+
internalData: EventEmitter<any>;
|
|
81
|
+
sendEmail: EventEmitter<any>;
|
|
82
|
+
addComment: EventEmitter<any>;
|
|
83
|
+
fileIconClick: EventEmitter<any>;
|
|
84
|
+
movil: boolean;
|
|
85
|
+
filtersPost: Array<any>;
|
|
86
|
+
paginator: MatPaginator;
|
|
87
|
+
selectedRows: any[]; /** almacena las filas seleccionadas */
|
|
88
|
+
checkboxs: {};
|
|
89
|
+
selectAll: boolean;
|
|
90
|
+
indeterminateState: boolean;
|
|
91
|
+
filters: any;
|
|
92
|
+
originalData: any[];
|
|
93
|
+
paginatorActive: boolean;
|
|
94
|
+
screen: boolean;
|
|
95
|
+
id_compania: any;
|
|
96
|
+
pageSizeOptions: number[];
|
|
97
|
+
pageSize: number;
|
|
98
|
+
length: number;
|
|
99
|
+
page: number;
|
|
100
|
+
above: TooltipPosition[];
|
|
101
|
+
constructor(dialog: MatDialog, http: HttpService, message: MessageService, functionEter: FunctionsService, paginatorTranslate: MatPaginatorIntl, exportService: ExportDataService, buttonConfigService: DataTableButtonConfigService);
|
|
102
|
+
buttonsConfig: any[];
|
|
103
|
+
ngOnInit(): Promise<void>;
|
|
104
|
+
validateRolAndPermission(): void;
|
|
105
|
+
configureButtons(): void;
|
|
106
|
+
hasPermission(permission: string): boolean;
|
|
107
|
+
getDateTableByUrl(): Promise<unknown>;
|
|
108
|
+
validarParams(): void;
|
|
109
|
+
validateRules(): Promise<void>;
|
|
110
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
111
|
+
evaluateRules(value: any, rules: any[]): boolean;
|
|
112
|
+
onFileIconClick(event: any, value: any): void;
|
|
113
|
+
clickOnRoW(rowData: any): void;
|
|
114
|
+
showMenu($event: any): void;
|
|
115
|
+
action(action: any, row?: any): void;
|
|
116
|
+
shouldShowMenu(): boolean;
|
|
117
|
+
exportToExcel(): void;
|
|
118
|
+
selection(row: any, $event: any, emitEvent?: boolean): void;
|
|
119
|
+
clicked($event: any): void;
|
|
120
|
+
seletecAllEvent($event: any): Promise<void>;
|
|
121
|
+
clearCheckboxes(): void;
|
|
122
|
+
changeFilters(): void;
|
|
123
|
+
applyFilters($event?: any): Promise<void>;
|
|
124
|
+
changePage($event: any): void;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "data-table", never, { "title": "title"; "columns": "columns"; "data": "data"; "combo": "combo"; "configuration": "configuration"; "reloadTable": "reloadTable"; "url": "url"; "params": "params"; "titleLoading": "titleLoading"; "messageLoading": "messageLoading"; "headerFileXlsm": "headerFileXlsm"; "headerFilters": "headerFilters"; "xslxTitleFields": "xslxTitleFields"; "xslxSheetNameFields": "xslxSheetNameFields"; "xslxBodyFields": "xslxBodyFields"; "xslxParams": "xslxParams"; "roleId": "roleId"; "moduleId": "moduleId"; "subModuleId": "subModuleId"; }, { "clickRow": "clickRow"; "add": "add"; "edit": "edit"; "delete": "delete"; "print": "print"; "exportXslxByRow": "exportXslxByRow"; "active": "active"; "selected": "selected"; "view": "view"; "closeOrder": "closeOrder"; "packOff": "packOff"; "advance": "advance"; "income": "income"; "exit": "exit"; "internalData": "internalData"; "sendEmail": "sendEmail"; "addComment": "addComment"; "fileIconClick": "fileIconClick"; }, never, never, false>;
|
|
127
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DataTableButtonConfigService {
|
|
3
|
+
getButtonsConfig(configuration: any, selectedRows: any[], hasPermission: (permission: string) => boolean, screen: boolean, datalength: number): any[];
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableButtonConfigService, never>;
|
|
5
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DataTableButtonConfigService>;
|
|
6
|
+
}
|
package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
4
|
-
import { HttpService } from '../../../../services/http.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TableModalComponent implements OnInit {
|
|
7
|
-
dialogRef: MatDialogRef<TableModalComponent>;
|
|
8
|
-
data: any;
|
|
9
|
-
private formBuilder;
|
|
10
|
-
private http;
|
|
11
|
-
modalForm: UntypedFormGroup;
|
|
12
|
-
dataCombo: {};
|
|
13
|
-
constructor(dialogRef: MatDialogRef<TableModalComponent>, data: any, formBuilder: UntypedFormBuilder, http: HttpService);
|
|
14
|
-
onNoClick(): void;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
createHttpRequest(element: any, group: any): import("rxjs").Observable<void>;
|
|
17
|
-
onSubmit(): void;
|
|
18
|
-
onChange(id: any, $event: any, type: string): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableModalComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableModalComponent, "app-table-modal", never, {}, {}, never, never, false>;
|
|
21
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
4
|
+
import { HttpService } from '../../../../services/http.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TableModalComponent implements OnInit {
|
|
7
|
+
dialogRef: MatDialogRef<TableModalComponent>;
|
|
8
|
+
data: any;
|
|
9
|
+
private formBuilder;
|
|
10
|
+
private http;
|
|
11
|
+
modalForm: UntypedFormGroup;
|
|
12
|
+
dataCombo: {};
|
|
13
|
+
constructor(dialogRef: MatDialogRef<TableModalComponent>, data: any, formBuilder: UntypedFormBuilder, http: HttpService);
|
|
14
|
+
onNoClick(): void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
createHttpRequest(element: any, group: any): import("rxjs").Observable<void>;
|
|
17
|
+
onSubmit(): void;
|
|
18
|
+
onChange(id: any, $event: any, type: string): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableModalComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableModalComponent, "app-table-modal", never, {}, {}, never, never, false>;
|
|
21
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FileFormsService } from '../../../services/file-forms.service';
|
|
3
|
-
import { HttpService } from '../../../services/http.service';
|
|
4
|
-
import { MessageService } from '../../../services/message.service';
|
|
5
|
-
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FileInputComponent implements OnInit {
|
|
8
|
-
private fileForms;
|
|
9
|
-
private http;
|
|
10
|
-
private message;
|
|
11
|
-
private formBuilder;
|
|
12
|
-
styleImg: any;
|
|
13
|
-
type: any;
|
|
14
|
-
border: any;
|
|
15
|
-
imageSrc: any;
|
|
16
|
-
styleForm: any;
|
|
17
|
-
sizePicture: any;
|
|
18
|
-
edit: any;
|
|
19
|
-
formFile: UntypedFormGroup;
|
|
20
|
-
color: string;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
multiple: boolean;
|
|
23
|
-
accept: string;
|
|
24
|
-
fileControl: UntypedFormControl;
|
|
25
|
-
maxSize: number;
|
|
26
|
-
size: number;
|
|
27
|
-
params: any;
|
|
28
|
-
fileSave: EventEmitter<any>;
|
|
29
|
-
typeFile: any;
|
|
30
|
-
files: any;
|
|
31
|
-
file: any;
|
|
32
|
-
icon: string;
|
|
33
|
-
constructor(fileForms: FileFormsService, http: HttpService, message: MessageService, formBuilder: UntypedFormBuilder);
|
|
34
|
-
form: UntypedFormGroup;
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
functionTypeFile(): void;
|
|
37
|
-
fileChange($event: Event): Promise<void>;
|
|
38
|
-
compressor(): false | Promise<unknown>;
|
|
39
|
-
selectFile($event: any): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent, "file-input", never, { "params": "params"; "icon": "icon"; }, { "fileSave": "fileSave"; }, never, never, false>;
|
|
42
|
-
}
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FileFormsService } from '../../../services/file-forms.service';
|
|
3
|
+
import { HttpService } from '../../../services/http.service';
|
|
4
|
+
import { MessageService } from '../../../services/message.service';
|
|
5
|
+
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FileInputComponent implements OnInit {
|
|
8
|
+
private fileForms;
|
|
9
|
+
private http;
|
|
10
|
+
private message;
|
|
11
|
+
private formBuilder;
|
|
12
|
+
styleImg: any;
|
|
13
|
+
type: any;
|
|
14
|
+
border: any;
|
|
15
|
+
imageSrc: any;
|
|
16
|
+
styleForm: any;
|
|
17
|
+
sizePicture: any;
|
|
18
|
+
edit: any;
|
|
19
|
+
formFile: UntypedFormGroup;
|
|
20
|
+
color: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
multiple: boolean;
|
|
23
|
+
accept: string;
|
|
24
|
+
fileControl: UntypedFormControl;
|
|
25
|
+
maxSize: number;
|
|
26
|
+
size: number;
|
|
27
|
+
params: any;
|
|
28
|
+
fileSave: EventEmitter<any>;
|
|
29
|
+
typeFile: any;
|
|
30
|
+
files: any;
|
|
31
|
+
file: any;
|
|
32
|
+
icon: string;
|
|
33
|
+
constructor(fileForms: FileFormsService, http: HttpService, message: MessageService, formBuilder: UntypedFormBuilder);
|
|
34
|
+
form: UntypedFormGroup;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
functionTypeFile(): void;
|
|
37
|
+
fileChange($event: Event): Promise<void>;
|
|
38
|
+
compressor(): false | Promise<unknown>;
|
|
39
|
+
selectFile($event: any): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent, "file-input", never, { "params": "params"; "icon": "icon"; }, { "fileSave": "fileSave"; }, never, never, false>;
|
|
42
|
+
}
|