brainloper-ui 19.0.0 → 20.0.0
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/fesm2022/brainloper-ui.mjs +108 -108
- package/fesm2022/brainloper-ui.mjs.map +1 -1
- package/index.d.ts +896 -5
- package/package.json +15 -15
- package/public_api.d.ts +0 -57
- package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +0 -59
- 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 -16
- 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 -101
- package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +0 -20
- package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +0 -43
- 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/template-fuel/template-fuel.component.d.ts +0 -39
- package/src/app/modules/brainloper-ui/components/report/template-ot/template-ot.component.d.ts +0 -38
- package/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.d.ts +0 -26
- package/src/app/modules/directives/carousel-item.directive.d.ts +0 -9
- 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/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 -26
- package/src/app/modules/interfaces/enum/enumActions.d.ts +0 -6
- package/src/app/modules/interfaces/enum/enumRules.d.ts +0 -6
- package/src/app/modules/interfaces/enum/httpResponseType.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-base.d.ts +0 -17
- package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +0 -6
- package/src/app/modules/interfaces/report/template-pdf-purchase-order.d.ts +0 -17
- package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +0 -7
- 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/fuel-order-pdf.service.d.ts +0 -25
- package/src/app/modules/services/functions.service.d.ts +0 -15
- package/src/app/modules/services/generate-pdf.service.d.ts +0 -22
- package/src/app/modules/services/http.service.d.ts +0 -32
- 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/purchase-order-pdf.service.d.ts +0 -21
- 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/services/work-order-pdf.service.d.ts +0 -33
package/index.d.ts
CHANGED
|
@@ -1,5 +1,896 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, EventEmitter, SimpleChanges, TemplateRef, AfterContentInit, QueryList, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
3
|
+
import * as i46 from '@angular/material/dialog';
|
|
4
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
+
import * as rxjs from 'rxjs';
|
|
6
|
+
import { HttpClient } from '@angular/common/http';
|
|
7
|
+
import * as i49 from '@angular/material/paginator';
|
|
8
|
+
import { MatPaginator, MatPaginatorIntl } from '@angular/material/paginator';
|
|
9
|
+
import * as i44 from '@angular/material/tooltip';
|
|
10
|
+
import { TooltipPosition, MatTooltip } from '@angular/material/tooltip';
|
|
11
|
+
import * as i52 from '@angular/forms';
|
|
12
|
+
import { UntypedFormGroup, AbstractControl, UntypedFormControl, UntypedFormBuilder, FormGroup, FormBuilder } from '@angular/forms';
|
|
13
|
+
import { AnimationItem } from 'lottie-web';
|
|
14
|
+
import { AnimationOptions } from 'ngx-lottie';
|
|
15
|
+
import { jsPDF } from 'jspdf';
|
|
16
|
+
import * as i53 from '@angular/router';
|
|
17
|
+
import { Router } from '@angular/router';
|
|
18
|
+
import * as i15 from '@angular/common';
|
|
19
|
+
import * as i16 from '@angular/material/button';
|
|
20
|
+
import * as i17 from '@angular/material/slide-toggle';
|
|
21
|
+
import * as i18 from '@angular/material/progress-bar';
|
|
22
|
+
import * as i19 from '@angular/material/core';
|
|
23
|
+
import * as i20 from '@angular/material/bottom-sheet';
|
|
24
|
+
import * as i21 from '@angular/material/chips';
|
|
25
|
+
import * as i22 from '@angular/material/tree';
|
|
26
|
+
import * as i23 from '@angular/material/button-toggle';
|
|
27
|
+
import * as i24 from '@angular/material/badge';
|
|
28
|
+
import * as i25 from '@angular/material/icon';
|
|
29
|
+
import * as i26 from '@angular/material/progress-spinner';
|
|
30
|
+
import * as i27 from '@angular/material/toolbar';
|
|
31
|
+
import * as i28 from '@angular/material/sidenav';
|
|
32
|
+
import * as i29 from '@angular/material/menu';
|
|
33
|
+
import * as i30 from '@angular/material/list';
|
|
34
|
+
import * as i31 from '@angular/material/divider';
|
|
35
|
+
import * as i32 from '@angular/material/grid-list';
|
|
36
|
+
import * as i33 from '@angular/material/expansion';
|
|
37
|
+
import * as i34 from '@angular/material/tabs';
|
|
38
|
+
import * as i35 from '@angular/material/card';
|
|
39
|
+
import * as i36 from '@angular/material/stepper';
|
|
40
|
+
import * as i37 from '@angular/material/form-field';
|
|
41
|
+
import * as i38 from '@angular/material/input';
|
|
42
|
+
import * as i39 from '@angular/material/select';
|
|
43
|
+
import * as i40 from '@angular/material/autocomplete';
|
|
44
|
+
import * as i41 from '@angular/material/checkbox';
|
|
45
|
+
import * as i42 from '@angular/material/radio';
|
|
46
|
+
import * as i43 from '@angular/material/datepicker';
|
|
47
|
+
import * as i45 from '@angular/material/snack-bar';
|
|
48
|
+
import * as i47 from '@angular/material/table';
|
|
49
|
+
import * as i48 from '@angular/material/sort';
|
|
50
|
+
import * as i50 from '@angular/material/slider';
|
|
51
|
+
import * as i51 from '@ng-bootstrap/ng-bootstrap';
|
|
52
|
+
|
|
53
|
+
declare class MessageService {
|
|
54
|
+
private dialog;
|
|
55
|
+
private loadingNow;
|
|
56
|
+
private warningQueue;
|
|
57
|
+
private showingWarning;
|
|
58
|
+
private loading;
|
|
59
|
+
constructor(dialog: MatDialog);
|
|
60
|
+
openLoading(title: any, message: any): void;
|
|
61
|
+
closeLoading(): void;
|
|
62
|
+
Error(title: string, message: string, showCancelButton?: boolean, confirmButtonText?: string, cancelButtonText?: string): Promise<unknown>;
|
|
63
|
+
Success(title: string, message: string, showCancelButton?: boolean, confirmButtonText?: string, cancelButtonText?: string): Promise<unknown>;
|
|
64
|
+
Warning(title: string, message: string, showCancelButton?: boolean, confirmButtonText?: string, cancelButtonText?: string, allowOutsideClick?: boolean): Promise<unknown>;
|
|
65
|
+
private showNextWarning;
|
|
66
|
+
Info(title: string, message: string, showCancelButton?: boolean, confirmButtonText?: string, cancelButtonText?: string): Promise<unknown>;
|
|
67
|
+
SuccessToast(message: string, duration?: number): void;
|
|
68
|
+
ErrorToast(message: string, duration?: number): void;
|
|
69
|
+
WarningToast(message: string, duration?: number): void;
|
|
70
|
+
InfoToast(message: string, duration?: number): void;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
|
|
72
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare enum HttpResponseType {
|
|
76
|
+
JSON = "json",
|
|
77
|
+
TEXT = "text",
|
|
78
|
+
BLOB = "blob",
|
|
79
|
+
ARRAY_BUFFER = "arraybuffer"
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare class HttpService {
|
|
83
|
+
private http;
|
|
84
|
+
private message;
|
|
85
|
+
constructor(http: HttpClient, message: MessageService);
|
|
86
|
+
private createParams;
|
|
87
|
+
private createOptionsWithResponseType;
|
|
88
|
+
getData(url: string, params?: any, withCredentials?: boolean): rxjs.Observable<Object>;
|
|
89
|
+
postData(url: string, body: any, params?: any, withCredentials?: boolean): rxjs.Observable<Object>;
|
|
90
|
+
putData(url: string, body: any, params?: any, withCredentials?: boolean): rxjs.Observable<Object>;
|
|
91
|
+
deleteData(url: string, params?: any, withCredentials?: boolean): rxjs.Observable<Object>;
|
|
92
|
+
getDataPromise(url: string, params?: any, withCredentials?: boolean): Promise<unknown>;
|
|
93
|
+
postDataPromise(url: string, body: any, params?: any, withCredentials?: boolean): Promise<unknown>;
|
|
94
|
+
putDataPromise(url: string, body: any, params?: any, withCredentials?: boolean): Promise<unknown>;
|
|
95
|
+
deleteDataPromise(url: string, params?: any, withCredentials?: boolean): Promise<unknown>;
|
|
96
|
+
getDataBody<T>(url: string, params?: any, withCredentials?: boolean): Promise<T>;
|
|
97
|
+
postDataBody<T>(url: string, body: any, params?: any, withCredentials?: boolean): Promise<T>;
|
|
98
|
+
putDataBody<T>(url: string, body: any, params?: any, withCredentials?: boolean): Promise<T>;
|
|
99
|
+
getDataWithResponseType(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): rxjs.Observable<ArrayBuffer>;
|
|
100
|
+
postDataWithResponseType(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): rxjs.Observable<ArrayBuffer>;
|
|
101
|
+
putDataWithResponseType(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): rxjs.Observable<ArrayBuffer>;
|
|
102
|
+
deleteDataWithResponseType(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): rxjs.Observable<ArrayBuffer>;
|
|
103
|
+
getDataPromiseWithResponseType<T = any>(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<T>;
|
|
104
|
+
postDataPromiseWithResponseType<T = any>(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<T>;
|
|
105
|
+
putDataPromiseWithResponseType<T = any>(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<T>;
|
|
106
|
+
deleteDataPromiseWithResponseType<T = any>(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<T>;
|
|
107
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpService, never>;
|
|
108
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpService>;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare enum enumActions {
|
|
112
|
+
REPLACE = 0,
|
|
113
|
+
ADD = 1,
|
|
114
|
+
REMOVE = 2,
|
|
115
|
+
SHOW_FILE_ICON = 3
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare enum enumRules {
|
|
119
|
+
">" = 0,
|
|
120
|
+
"<" = 1,
|
|
121
|
+
"==" = 2,
|
|
122
|
+
"!=" = 3
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
interface Rules {
|
|
126
|
+
rule?: enumRules;
|
|
127
|
+
valueRule?: string;
|
|
128
|
+
action?: enumActions;
|
|
129
|
+
valueAction?: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
interface params {
|
|
133
|
+
id: string;
|
|
134
|
+
value?: any;
|
|
135
|
+
rules?: Array<Rules>;
|
|
136
|
+
nombre?: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
declare class FunctionsService {
|
|
140
|
+
constructor();
|
|
141
|
+
dateForm(date: any): string;
|
|
142
|
+
dateIso(date: any): string;
|
|
143
|
+
dateDB(date: any): string;
|
|
144
|
+
dateWithTime(date: string): string;
|
|
145
|
+
areObjectsEqual(obj1: any, obj2: any): boolean;
|
|
146
|
+
removeDuplicateObjects(originalArray: any[]): any[];
|
|
147
|
+
transformDate(date: string): string;
|
|
148
|
+
formatNumber(value: number): string;
|
|
149
|
+
private validateTwoDigitFormat;
|
|
150
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FunctionsService, never>;
|
|
151
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FunctionsService>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
interface HeaderFilters<T = any> {
|
|
155
|
+
tN: string;
|
|
156
|
+
visibleField: string;
|
|
157
|
+
primaryKey?: string;
|
|
158
|
+
type: string;
|
|
159
|
+
value: string;
|
|
160
|
+
labelFilter?: string;
|
|
161
|
+
urlData?: string;
|
|
162
|
+
body?: any;
|
|
163
|
+
active?: boolean;
|
|
164
|
+
fileNameDb?: string;
|
|
165
|
+
data?: T[];
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare class ExportDataService {
|
|
169
|
+
private http;
|
|
170
|
+
private functionEter;
|
|
171
|
+
private message;
|
|
172
|
+
constructor(http: HttpService, functionEter: FunctionsService, message: MessageService);
|
|
173
|
+
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>;
|
|
174
|
+
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>;
|
|
175
|
+
private saveAsExcelFile;
|
|
176
|
+
private getDataBody;
|
|
177
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportDataService, never>;
|
|
178
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExportDataService>;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
declare class DataTableComponent implements OnInit, OnChanges {
|
|
182
|
+
dialog: MatDialog;
|
|
183
|
+
private http;
|
|
184
|
+
private message;
|
|
185
|
+
private functionEter;
|
|
186
|
+
private paginatorTranslate;
|
|
187
|
+
private exportService;
|
|
188
|
+
title: any;
|
|
189
|
+
columns: any;
|
|
190
|
+
data: any;
|
|
191
|
+
combo: any;
|
|
192
|
+
s: any;
|
|
193
|
+
configuration: any;
|
|
194
|
+
reloadTable: EventEmitter<any>;
|
|
195
|
+
url: string;
|
|
196
|
+
params: Array<any>;
|
|
197
|
+
titleLoading: string;
|
|
198
|
+
messageLoading: string;
|
|
199
|
+
headerFileXlsm: Array<any>;
|
|
200
|
+
headerFilters: Array<any>;
|
|
201
|
+
xslxTitleFields: string[];
|
|
202
|
+
xslxSheetNameFields: string[];
|
|
203
|
+
xslxBodyFields: string;
|
|
204
|
+
xslxParams: Array<any>;
|
|
205
|
+
roleId: number;
|
|
206
|
+
moduleId: number;
|
|
207
|
+
subModuleId: number;
|
|
208
|
+
private hasAccessToAll;
|
|
209
|
+
private rolesAndPermissionUser;
|
|
210
|
+
clickRow: EventEmitter<any>;
|
|
211
|
+
add: EventEmitter<any>;
|
|
212
|
+
edit: EventEmitter<any>;
|
|
213
|
+
delete: EventEmitter<any>;
|
|
214
|
+
print: EventEmitter<any>;
|
|
215
|
+
exportXslxByRow: EventEmitter<any>;
|
|
216
|
+
active: EventEmitter<any>;
|
|
217
|
+
selected: EventEmitter<any>;
|
|
218
|
+
view: EventEmitter<any>;
|
|
219
|
+
closeOrder: EventEmitter<any>;
|
|
220
|
+
packOff: EventEmitter<any>;
|
|
221
|
+
advance: EventEmitter<any>;
|
|
222
|
+
income: EventEmitter<any>;
|
|
223
|
+
exit: EventEmitter<any>;
|
|
224
|
+
internalData: EventEmitter<any>;
|
|
225
|
+
sendEmail: EventEmitter<any>;
|
|
226
|
+
addComment: EventEmitter<any>;
|
|
227
|
+
fileIconClick: EventEmitter<any>;
|
|
228
|
+
movil: boolean;
|
|
229
|
+
filtersPost: Array<any>;
|
|
230
|
+
paginator: MatPaginator;
|
|
231
|
+
selectedRows: any[]; /** almacena las filas seleccionadas */
|
|
232
|
+
checkboxs: {};
|
|
233
|
+
selectAll: boolean;
|
|
234
|
+
indeterminateState: boolean;
|
|
235
|
+
filters: any;
|
|
236
|
+
originalData: any[];
|
|
237
|
+
paginatorActive: boolean;
|
|
238
|
+
screen: boolean;
|
|
239
|
+
id_compania: any;
|
|
240
|
+
pageSizeOptions: number[];
|
|
241
|
+
pageSize: number;
|
|
242
|
+
length: number;
|
|
243
|
+
page: number;
|
|
244
|
+
above: TooltipPosition[];
|
|
245
|
+
constructor(dialog: MatDialog, http: HttpService, message: MessageService, functionEter: FunctionsService, paginatorTranslate: MatPaginatorIntl, exportService: ExportDataService);
|
|
246
|
+
buttonsConfig: any[];
|
|
247
|
+
ngOnInit(): Promise<void>;
|
|
248
|
+
validateRolAndPermission(): void;
|
|
249
|
+
configureButtons(): void;
|
|
250
|
+
hasPermission(permission: string): boolean;
|
|
251
|
+
getDateTableByUrl(): Promise<unknown>;
|
|
252
|
+
validarParams(): void;
|
|
253
|
+
validateRules(): Promise<void>;
|
|
254
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
255
|
+
evaluateRules(value: any, rules: any[]): boolean;
|
|
256
|
+
onFileIconClick(event: any, value: any): void;
|
|
257
|
+
clickOnRoW(rowData: any): void;
|
|
258
|
+
showMenu($event: any): void;
|
|
259
|
+
action(action: any, row?: any): void;
|
|
260
|
+
shouldShowMenu(): boolean;
|
|
261
|
+
exportToExcel(): void;
|
|
262
|
+
selection(row: any, $event: any, emitEvent?: boolean): void;
|
|
263
|
+
clicked($event: any): void;
|
|
264
|
+
seletecAllEvent($event: any): Promise<void>;
|
|
265
|
+
clearCheckboxes(): void;
|
|
266
|
+
changeFilters(): void;
|
|
267
|
+
applyFilters($event?: any): Promise<void>;
|
|
268
|
+
changePage($event: any): void;
|
|
269
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
270
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "data-table", never, { "title": { "alias": "title"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "combo": { "alias": "combo"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "reloadTable": { "alias": "reloadTable"; "required": false; }; "url": { "alias": "url"; "required": false; }; "params": { "alias": "params"; "required": false; }; "titleLoading": { "alias": "titleLoading"; "required": false; }; "messageLoading": { "alias": "messageLoading"; "required": false; }; "headerFileXlsm": { "alias": "headerFileXlsm"; "required": false; }; "headerFilters": { "alias": "headerFilters"; "required": false; }; "xslxTitleFields": { "alias": "xslxTitleFields"; "required": false; }; "xslxSheetNameFields": { "alias": "xslxSheetNameFields"; "required": false; }; "xslxBodyFields": { "alias": "xslxBodyFields"; "required": false; }; "xslxParams": { "alias": "xslxParams"; "required": false; }; "roleId": { "alias": "roleId"; "required": false; }; "moduleId": { "alias": "moduleId"; "required": false; }; "subModuleId": { "alias": "subModuleId"; "required": false; }; }, { "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, never>;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
declare class TableModalComponent implements OnInit {
|
|
274
|
+
dialogRef: MatDialogRef<TableModalComponent>;
|
|
275
|
+
data: any;
|
|
276
|
+
private http;
|
|
277
|
+
modalForm: UntypedFormGroup;
|
|
278
|
+
dataCombo: {};
|
|
279
|
+
constructor(dialogRef: MatDialogRef<TableModalComponent>, data: any, http: HttpService);
|
|
280
|
+
onNoClick(): void;
|
|
281
|
+
ngOnInit(): void;
|
|
282
|
+
createHttpRequest(element: any, group: any): rxjs.Observable<void>;
|
|
283
|
+
onSubmit(): void;
|
|
284
|
+
onChange(id: any, $event: any, type: string): void;
|
|
285
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableModalComponent, never>;
|
|
286
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableModalComponent, "app-table-modal", never, {}, {}, never, never, false, never>;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
declare class CombosComponent implements OnInit, OnChanges {
|
|
290
|
+
private http;
|
|
291
|
+
dataCombos: Array<any>;
|
|
292
|
+
additionalData: Array<any>;
|
|
293
|
+
configuration: CombosConfiguration$1;
|
|
294
|
+
filter: boolean;
|
|
295
|
+
checkbox: boolean;
|
|
296
|
+
required: boolean;
|
|
297
|
+
disabled: boolean;
|
|
298
|
+
addFinal: boolean;
|
|
299
|
+
appearance: any;
|
|
300
|
+
reloadCombo: EventEmitter<any>;
|
|
301
|
+
control: AbstractControl | UntypedFormControl | null;
|
|
302
|
+
tooltipDescription: string;
|
|
303
|
+
tooltipActive: boolean;
|
|
304
|
+
tooltip: MatTooltip;
|
|
305
|
+
changeOption: EventEmitter<any>;
|
|
306
|
+
changeOptionDataComplete: EventEmitter<any>;
|
|
307
|
+
returnDataCombo: EventEmitter<any>;
|
|
308
|
+
filteredList: Array<any>;
|
|
309
|
+
constructor(http: HttpService);
|
|
310
|
+
ngOnInit(): void;
|
|
311
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
312
|
+
initData(): void;
|
|
313
|
+
getData(): void;
|
|
314
|
+
selectedData($event: any): void;
|
|
315
|
+
findData($event: any): void;
|
|
316
|
+
toggleTooltip(): void;
|
|
317
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CombosComponent, never>;
|
|
318
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CombosComponent, "combos", never, { "dataCombos": { "alias": "dataCombos"; "required": false; }; "additionalData": { "alias": "additionalData"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "addFinal": { "alias": "addFinal"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "reloadCombo": { "alias": "reloadCombo"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "changeOption": "changeOption"; "changeOptionDataComplete": "changeOptionDataComplete"; "returnDataCombo": "returnDataCombo"; }, never, never, false, never>;
|
|
319
|
+
}
|
|
320
|
+
interface CombosConfiguration$1 {
|
|
321
|
+
selectionField?: string;
|
|
322
|
+
visibleField?: string;
|
|
323
|
+
urlCombo?: string;
|
|
324
|
+
urlParams?: any[];
|
|
325
|
+
label?: string;
|
|
326
|
+
selected?: any;
|
|
327
|
+
fileTooltip?: string;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
declare class FileFormsService {
|
|
331
|
+
constructor();
|
|
332
|
+
createMultipartForm(file: File, params?: any): FormData;
|
|
333
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileFormsService, never>;
|
|
334
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FileFormsService>;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
declare class FileInputComponent implements OnInit {
|
|
338
|
+
private fileForms;
|
|
339
|
+
private http;
|
|
340
|
+
private message;
|
|
341
|
+
private formBuilder;
|
|
342
|
+
styleImg: any;
|
|
343
|
+
type: any;
|
|
344
|
+
border: any;
|
|
345
|
+
imageSrc: any;
|
|
346
|
+
styleForm: any;
|
|
347
|
+
sizePicture: any;
|
|
348
|
+
edit: any;
|
|
349
|
+
formFile: UntypedFormGroup;
|
|
350
|
+
color: string;
|
|
351
|
+
disabled: boolean;
|
|
352
|
+
multiple: boolean;
|
|
353
|
+
accept: string;
|
|
354
|
+
fileControl: UntypedFormControl;
|
|
355
|
+
maxSize: number;
|
|
356
|
+
size: number;
|
|
357
|
+
fileName: string;
|
|
358
|
+
params: any;
|
|
359
|
+
fileSave: EventEmitter<any>;
|
|
360
|
+
typeFile: any;
|
|
361
|
+
files: any;
|
|
362
|
+
file: any;
|
|
363
|
+
icon: string;
|
|
364
|
+
constructor(fileForms: FileFormsService, http: HttpService, message: MessageService, formBuilder: UntypedFormBuilder);
|
|
365
|
+
form: UntypedFormGroup;
|
|
366
|
+
ngOnInit(): void;
|
|
367
|
+
functionTypeFile(): void;
|
|
368
|
+
fileChange($event: Event): Promise<void>;
|
|
369
|
+
compressor(): false | Promise<unknown>;
|
|
370
|
+
selectFile($event: any): void;
|
|
371
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent, never>;
|
|
372
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent, "file-input", never, { "params": { "alias": "params"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "fileSave": "fileSave"; }, never, never, false, never>;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
declare class LoadingComponent implements OnInit {
|
|
376
|
+
dialogRef: MatDialogRef<LoadingComponent>;
|
|
377
|
+
data: any;
|
|
378
|
+
options: AnimationOptions;
|
|
379
|
+
constructor(dialogRef: MatDialogRef<LoadingComponent>, data: any);
|
|
380
|
+
ngOnInit(): void;
|
|
381
|
+
animationCreated(animationItem: AnimationItem): void;
|
|
382
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
383
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "app-loading", never, {}, {}, never, never, false, never>;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
interface TemplatePdfBase {
|
|
387
|
+
name?: string;
|
|
388
|
+
nit?: string;
|
|
389
|
+
address?: string;
|
|
390
|
+
telephone?: string;
|
|
391
|
+
mail?: string;
|
|
392
|
+
image?: string;
|
|
393
|
+
code?: string;
|
|
394
|
+
date?: string;
|
|
395
|
+
responsible?: string;
|
|
396
|
+
approved_by?: string;
|
|
397
|
+
description?: string;
|
|
398
|
+
consecutive?: string;
|
|
399
|
+
area?: string;
|
|
400
|
+
odometer?: string;
|
|
401
|
+
invoiceReference?: string;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
interface TemplatePdfFo extends TemplatePdfBase {
|
|
405
|
+
id_place?: string;
|
|
406
|
+
detalle?: string;
|
|
407
|
+
namePlace?: string;
|
|
408
|
+
addressPlace?: string;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
declare class FuelOrderPdfService {
|
|
412
|
+
constructor();
|
|
413
|
+
generateFuelOrderProfesionalPDF(data: TemplatePdfFo, options?: {
|
|
414
|
+
format?: 'letter' | 'a4';
|
|
415
|
+
download?: boolean;
|
|
416
|
+
filename?: string;
|
|
417
|
+
}): Promise<jsPDF>;
|
|
418
|
+
/**
|
|
419
|
+
* Genera PDF optimizado para impresión
|
|
420
|
+
*/
|
|
421
|
+
generateForPrint(data: TemplatePdfFo): Promise<jsPDF>;
|
|
422
|
+
private addHeader;
|
|
423
|
+
private addDocumentTitle;
|
|
424
|
+
private addMainInfo;
|
|
425
|
+
private addProviderInfo;
|
|
426
|
+
private addServiceDetails;
|
|
427
|
+
private addAuthorization;
|
|
428
|
+
private addFooter;
|
|
429
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FuelOrderPdfService, never>;
|
|
430
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FuelOrderPdfService>;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
declare class TemplateFuelComponent implements OnInit {
|
|
434
|
+
dialogRef: MatDialogRef<TemplateFuelComponent>;
|
|
435
|
+
dataModal: any;
|
|
436
|
+
private dialog;
|
|
437
|
+
message: MessageService;
|
|
438
|
+
private FuelOrderPdfService;
|
|
439
|
+
data: {
|
|
440
|
+
name: string;
|
|
441
|
+
nit: string;
|
|
442
|
+
address: string;
|
|
443
|
+
telephone: string;
|
|
444
|
+
mail: string;
|
|
445
|
+
image: string;
|
|
446
|
+
code: string;
|
|
447
|
+
date: string;
|
|
448
|
+
responsible: string;
|
|
449
|
+
id_place: string;
|
|
450
|
+
approved_by: string;
|
|
451
|
+
detalle: string;
|
|
452
|
+
description: string;
|
|
453
|
+
consecutive: string;
|
|
454
|
+
namePlace: string;
|
|
455
|
+
addressPlace: string;
|
|
456
|
+
area: string;
|
|
457
|
+
odometer: string;
|
|
458
|
+
invoiceReference: string;
|
|
459
|
+
};
|
|
460
|
+
constructor(dialogRef: MatDialogRef<TemplateFuelComponent>, dataModal: any, dialog: MatDialog, message: MessageService, FuelOrderPdfService: FuelOrderPdfService);
|
|
461
|
+
ngOnInit(): void;
|
|
462
|
+
ngAfterViewInit(): void;
|
|
463
|
+
generatePdfWithHtml2Canvas(): void;
|
|
464
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateFuelComponent, never>;
|
|
465
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateFuelComponent, "app-template-fuel", never, {}, {}, never, never, false, never>;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
declare class BreadCrumbComponent implements OnInit {
|
|
469
|
+
router: Router;
|
|
470
|
+
menu: Array<any>;
|
|
471
|
+
selectRouter: EventEmitter<any>;
|
|
472
|
+
constructor(router: Router);
|
|
473
|
+
ngOnInit(): void;
|
|
474
|
+
handlerRouter(menu: any): void;
|
|
475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbComponent, never>;
|
|
476
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbComponent, "app-bread-crumb", never, { "menu": { "alias": "menu"; "required": false; }; }, { "selectRouter": "selectRouter"; }, never, never, false, never>;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
interface TemplatePdfOt extends TemplatePdfBase {
|
|
480
|
+
third?: string;
|
|
481
|
+
nameProvider?: string;
|
|
482
|
+
addressProvider?: string;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
declare class WorkOrderPdfService {
|
|
486
|
+
constructor();
|
|
487
|
+
generateWorkOrderPDF(data: TemplatePdfOt, options?: {
|
|
488
|
+
format?: 'letter' | 'a4';
|
|
489
|
+
download?: boolean;
|
|
490
|
+
filename?: string;
|
|
491
|
+
}): Promise<jsPDF>;
|
|
492
|
+
/**
|
|
493
|
+
* Genera PDF optimizado para impresión
|
|
494
|
+
*/
|
|
495
|
+
generateForPrint(data: TemplatePdfOt): Promise<jsPDF>;
|
|
496
|
+
/**
|
|
497
|
+
* Genera PDF y lo devuelve como Blob para envío por email
|
|
498
|
+
*/
|
|
499
|
+
generateAsBlob(data: TemplatePdfOt): Promise<Blob>;
|
|
500
|
+
/**
|
|
501
|
+
* Genera PDF y lo devuelve como base64
|
|
502
|
+
*/
|
|
503
|
+
generateAsBase64(data: TemplatePdfOt): Promise<string>;
|
|
504
|
+
private addHeader;
|
|
505
|
+
private addDocumentTitle;
|
|
506
|
+
private addMainInfo;
|
|
507
|
+
private addProviderInfo;
|
|
508
|
+
private addServiceDetails;
|
|
509
|
+
private addAuthorization;
|
|
510
|
+
private addFooter;
|
|
511
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkOrderPdfService, never>;
|
|
512
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WorkOrderPdfService>;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
declare class TemplateOtComponent implements OnInit {
|
|
516
|
+
dialogRef: MatDialogRef<TemplateOtComponent>;
|
|
517
|
+
dataModal: any;
|
|
518
|
+
private dialog;
|
|
519
|
+
message: MessageService;
|
|
520
|
+
private workOrderPdfService;
|
|
521
|
+
data: {
|
|
522
|
+
name: string;
|
|
523
|
+
nit: string;
|
|
524
|
+
address: string;
|
|
525
|
+
telephone: string;
|
|
526
|
+
mail: string;
|
|
527
|
+
image: string;
|
|
528
|
+
code: string;
|
|
529
|
+
date: string;
|
|
530
|
+
responsible: string;
|
|
531
|
+
third: string;
|
|
532
|
+
odometer: string;
|
|
533
|
+
approved_by: string;
|
|
534
|
+
description: string;
|
|
535
|
+
consecutive: string;
|
|
536
|
+
nameProvider: string;
|
|
537
|
+
addressProvider: string;
|
|
538
|
+
area: string;
|
|
539
|
+
invoiceReference: string;
|
|
540
|
+
};
|
|
541
|
+
constructor(dialogRef: MatDialogRef<TemplateOtComponent>, dataModal: any, dialog: MatDialog, message: MessageService, workOrderPdfService: WorkOrderPdfService);
|
|
542
|
+
ngOnInit(): void;
|
|
543
|
+
ngAfterViewInit(): void;
|
|
544
|
+
generatePdfWithHtml2Canvas(): void;
|
|
545
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateOtComponent, never>;
|
|
546
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateOtComponent, "app-template-ot", never, {}, {}, never, never, false, never>;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
declare class ButtonLabelComponent implements OnInit, OnChanges {
|
|
550
|
+
constructor();
|
|
551
|
+
updateLabel: EventEmitter<any>;
|
|
552
|
+
labels: Array<string>;
|
|
553
|
+
labelsEdit: Array<any>;
|
|
554
|
+
color: string;
|
|
555
|
+
iconColor: string;
|
|
556
|
+
modeEdit: Array<boolean>;
|
|
557
|
+
currentValueToEdit: string;
|
|
558
|
+
private indexToedit;
|
|
559
|
+
spanElement: HTMLElement;
|
|
560
|
+
private initEventClink;
|
|
561
|
+
ngOnInit(): void;
|
|
562
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
563
|
+
finishEditLabel(index: number): void;
|
|
564
|
+
editLabel(index: number): void;
|
|
565
|
+
onPageClick($event: MouseEvent): void;
|
|
566
|
+
static isDescendant(child: HTMLElement, parent: HTMLElement): boolean;
|
|
567
|
+
ngOnDestroy(): void;
|
|
568
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonLabelComponent, never>;
|
|
569
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonLabelComponent, "app-button-label", never, { "labels": { "alias": "labels"; "required": false; }; "labelsEdit": { "alias": "labelsEdit"; "required": false; }; "color": { "alias": "color"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; }, { "updateLabel": "updateLabel"; }, never, never, false, never>;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
declare class ButtonIconComponent implements OnInit {
|
|
573
|
+
clickButton: EventEmitter<any>;
|
|
574
|
+
items: Array<any>;
|
|
575
|
+
constructor();
|
|
576
|
+
ngOnInit(): void;
|
|
577
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonIconComponent, never>;
|
|
578
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonIconComponent, "app-button-icon", never, { "items": { "alias": "items"; "required": false; }; }, { "clickButton": "clickButton"; }, never, never, false, never>;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare class CarouselItemDirective {
|
|
582
|
+
templateRef: TemplateRef<any>;
|
|
583
|
+
carouselItem: number | string;
|
|
584
|
+
constructor(templateRef: TemplateRef<any>);
|
|
585
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemDirective, never>;
|
|
586
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselItemDirective, "[carouselItem]", never, { "carouselItem": { "alias": "carouselItem"; "required": false; }; }, {}, never, never, false, never>;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
declare class CarouselComponent implements OnInit, AfterContentInit {
|
|
590
|
+
private cdr;
|
|
591
|
+
carouselInterval: number;
|
|
592
|
+
enableControlsOffset: boolean;
|
|
593
|
+
sortedCarouselItems: CarouselItemDirective[];
|
|
594
|
+
carouselItems: QueryList<CarouselItemDirective>;
|
|
595
|
+
constructor(cdr: ChangeDetectorRef);
|
|
596
|
+
ngOnInit(): void;
|
|
597
|
+
ngAfterContentInit(): void;
|
|
598
|
+
private updateCarouselItems;
|
|
599
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
600
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "app-carousel", never, { "carouselInterval": { "alias": "carouselInterval"; "required": false; }; "enableControlsOffset": { "alias": "enableControlsOffset"; "required": false; }; }, {}, ["carouselItems"], never, false, never>;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
declare class FiltersComponent implements OnInit, OnChanges {
|
|
604
|
+
private functionEter;
|
|
605
|
+
private http;
|
|
606
|
+
headerFilters: Array<any>;
|
|
607
|
+
applyFilters: EventEmitter<any>;
|
|
608
|
+
headerFiltersValue: string;
|
|
609
|
+
headerFiltersSelected: Array<any>;
|
|
610
|
+
campaignOne: UntypedFormGroup;
|
|
611
|
+
campaignTwo: UntypedFormGroup;
|
|
612
|
+
fecha: UntypedFormGroup;
|
|
613
|
+
movil: boolean;
|
|
614
|
+
filtersPost: any[];
|
|
615
|
+
constructor(functionEter: FunctionsService, http: HttpService);
|
|
616
|
+
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
617
|
+
ngOnInit(): Promise<void>;
|
|
618
|
+
handlerFiltersDate(deleteFilter: boolean, item: any, valueDate?: any, valueBetween1?: any, valueBetween2?: any): void;
|
|
619
|
+
selectFilter($event: any): void;
|
|
620
|
+
selectFilterData($event: any, item: any): Promise<void>;
|
|
621
|
+
delteFilter(item: any): void;
|
|
622
|
+
loadDates(value?: Date): void;
|
|
623
|
+
loadDatesBetween(init?: boolean, value1?: Date, value2?: Date): void;
|
|
624
|
+
loadFilter(): Promise<void>;
|
|
625
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent, never>;
|
|
626
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent, "app-filters", never, { "headerFilters": { "alias": "headerFilters"; "required": false; }; }, { "applyFilters": "applyFilters"; }, never, never, false, never>;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
declare class SelectFilterComponent implements OnInit, OnDestroy {
|
|
630
|
+
private searchFormValueChangesSubscription;
|
|
631
|
+
input: any;
|
|
632
|
+
array: any;
|
|
633
|
+
placeholder: string;
|
|
634
|
+
color: string;
|
|
635
|
+
displayMember: string;
|
|
636
|
+
showSpinner: boolean;
|
|
637
|
+
noResultsMessage: string;
|
|
638
|
+
hasGroup: boolean;
|
|
639
|
+
groupArrayName: string;
|
|
640
|
+
noResults: boolean;
|
|
641
|
+
localSpinner: boolean;
|
|
642
|
+
filteredReturn: EventEmitter<any>;
|
|
643
|
+
filteredItems: any;
|
|
644
|
+
searchForm: FormGroup;
|
|
645
|
+
constructor(fb: FormBuilder);
|
|
646
|
+
ngOnInit(): void;
|
|
647
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
648
|
+
ngOnDestroy(): void;
|
|
649
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFilterComponent, never>;
|
|
650
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFilterComponent, "app-select-filter", never, { "array": { "alias": "array"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "color": { "alias": "color"; "required": false; }; "displayMember": { "alias": "displayMember"; "required": false; }; "showSpinner": { "alias": "showSpinner"; "required": false; }; "noResultsMessage": { "alias": "noResultsMessage"; "required": false; }; "hasGroup": { "alias": "hasGroup"; "required": false; }; "groupArrayName": { "alias": "groupArrayName"; "required": false; }; }, { "filteredReturn": "filteredReturn"; }, never, never, false, never>;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
declare class BrainloperUiModule {
|
|
654
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrainloperUiModule, never>;
|
|
655
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrainloperUiModule, [typeof DataTableComponent, typeof TableModalComponent, typeof CombosComponent, typeof FileInputComponent, typeof LoadingComponent, typeof TemplateFuelComponent, typeof BreadCrumbComponent, typeof TemplateOtComponent, typeof ButtonLabelComponent, typeof ButtonIconComponent, typeof CarouselComponent, typeof FiltersComponent, typeof SelectFilterComponent, typeof CarouselItemDirective], [typeof i15.CommonModule, typeof i16.MatButtonModule, typeof i17.MatSlideToggleModule, typeof i18.MatProgressBarModule, typeof i19.MatRippleModule, typeof i20.MatBottomSheetModule, typeof i21.MatChipsModule, typeof i22.MatTreeModule, typeof i16.MatButtonModule, typeof i23.MatButtonToggleModule, typeof i24.MatBadgeModule, typeof i25.MatIconModule, typeof i26.MatProgressSpinnerModule, typeof i27.MatToolbarModule, typeof i28.MatSidenavModule, typeof i29.MatMenuModule, typeof i30.MatListModule, typeof i31.MatDividerModule, typeof i32.MatGridListModule, typeof i33.MatExpansionModule, typeof i34.MatTabsModule, typeof i35.MatCardModule, typeof i36.MatStepperModule, typeof i37.MatFormFieldModule, typeof i38.MatInputModule, typeof i39.MatSelectModule, typeof i40.MatAutocompleteModule, typeof i41.MatCheckboxModule, typeof i42.MatRadioModule, typeof i43.MatDatepickerModule, typeof i44.MatTooltipModule, typeof i45.MatSnackBarModule, typeof i46.MatDialogModule, typeof i47.MatTableModule, typeof i48.MatSortModule, typeof i49.MatPaginatorModule, typeof i50.MatSliderModule, typeof i19.MatNativeDateModule, typeof i51.NgbModule, typeof i52.FormsModule, typeof i52.ReactiveFormsModule, typeof i53.RouterModule, typeof i44.MatTooltipModule], [typeof i17.MatSlideToggleModule, typeof i18.MatProgressBarModule, typeof i19.MatRippleModule, typeof i20.MatBottomSheetModule, typeof i21.MatChipsModule, typeof i22.MatTreeModule, typeof i16.MatButtonModule, typeof i23.MatButtonToggleModule, typeof i24.MatBadgeModule, typeof i25.MatIconModule, typeof i26.MatProgressSpinnerModule, typeof i27.MatToolbarModule, typeof i28.MatSidenavModule, typeof i29.MatMenuModule, typeof i30.MatListModule, typeof i31.MatDividerModule, typeof i32.MatGridListModule, typeof i33.MatExpansionModule, typeof i34.MatTabsModule, typeof i35.MatCardModule, typeof i36.MatStepperModule, typeof i37.MatFormFieldModule, typeof i38.MatInputModule, typeof i39.MatSelectModule, typeof i40.MatAutocompleteModule, typeof i41.MatCheckboxModule, typeof i42.MatRadioModule, typeof i43.MatDatepickerModule, typeof i44.MatTooltipModule, typeof i45.MatSnackBarModule, typeof i46.MatDialogModule, typeof i47.MatTableModule, typeof i48.MatSortModule, typeof i49.MatPaginatorModule, typeof i50.MatSliderModule, typeof i19.MatNativeDateModule, typeof DataTableComponent, typeof TableModalComponent, typeof CombosComponent, typeof FileInputComponent, typeof LoadingComponent, typeof BreadCrumbComponent, typeof ButtonLabelComponent, typeof ButtonIconComponent, typeof i51.NgbModule, typeof CarouselComponent, typeof FiltersComponent, typeof SelectFilterComponent, typeof CarouselItemDirective]>;
|
|
656
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BrainloperUiModule>;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
declare class CryptoService {
|
|
660
|
+
key: string;
|
|
661
|
+
constructor();
|
|
662
|
+
asignarKey(key: any): void;
|
|
663
|
+
encode(data: any): string;
|
|
664
|
+
decode(data: string): any;
|
|
665
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CryptoService, never>;
|
|
666
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CryptoService>;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
declare class SessionService {
|
|
670
|
+
private cripto;
|
|
671
|
+
key: string;
|
|
672
|
+
constructor(cripto: CryptoService);
|
|
673
|
+
private getMain;
|
|
674
|
+
keyAssign(key: any): void;
|
|
675
|
+
getData(key: any): any;
|
|
676
|
+
setData(key: any, value: any): void;
|
|
677
|
+
getSessionVars(): any;
|
|
678
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionService, never>;
|
|
679
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionService>;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
interface TemplatePdfPurchaseOrder extends TemplatePdfBase {
|
|
683
|
+
items: PurchaseOrderItemReport[];
|
|
684
|
+
providerName: string;
|
|
685
|
+
requestsName: string;
|
|
686
|
+
authorizeName: string;
|
|
687
|
+
warehouse: string;
|
|
688
|
+
comment: string;
|
|
689
|
+
created?: string;
|
|
690
|
+
}
|
|
691
|
+
interface PurchaseOrderItemReport {
|
|
692
|
+
code: string;
|
|
693
|
+
itemName: string;
|
|
694
|
+
unitMeasurement: string;
|
|
695
|
+
amount: number;
|
|
696
|
+
description?: string;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
declare class PurchaseOrderPdfService {
|
|
700
|
+
private functions;
|
|
701
|
+
constructor(functions: FunctionsService);
|
|
702
|
+
generatePurchaseOrderPDF(order: TemplatePdfPurchaseOrder, options?: {
|
|
703
|
+
format?: 'letter' | 'a4';
|
|
704
|
+
download?: boolean;
|
|
705
|
+
filename?: string;
|
|
706
|
+
}): Promise<jsPDF>;
|
|
707
|
+
private addHeader;
|
|
708
|
+
private addOrderDetails;
|
|
709
|
+
private addOrderItems;
|
|
710
|
+
private addComments;
|
|
711
|
+
private addFooter;
|
|
712
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PurchaseOrderPdfService, never>;
|
|
713
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PurchaseOrderPdfService>;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
declare class GeneratePdfService {
|
|
717
|
+
private dialog;
|
|
718
|
+
private workOrderPdfService;
|
|
719
|
+
private FuelOrderPdfService;
|
|
720
|
+
private purchaseOrderPdfService;
|
|
721
|
+
constructor(dialog: MatDialog, workOrderPdfService: WorkOrderPdfService, FuelOrderPdfService: FuelOrderPdfService, purchaseOrderPdfService: PurchaseOrderPdfService);
|
|
722
|
+
getPdfOt(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<unknown>;
|
|
723
|
+
getPdfFo(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<unknown>;
|
|
724
|
+
getPdfFoV2(data: TemplatePdfFo): Promise<boolean>;
|
|
725
|
+
getPdfOtV2(data: TemplatePdfOt): Promise<boolean>;
|
|
726
|
+
generatePurchaseOrderPDF(order: TemplatePdfPurchaseOrder): Promise<boolean>;
|
|
727
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePdfService, never>;
|
|
728
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeneratePdfService>;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
declare class LocalStorageService {
|
|
732
|
+
private prefix;
|
|
733
|
+
private store;
|
|
734
|
+
constructor();
|
|
735
|
+
/**
|
|
736
|
+
* set key in local storage
|
|
737
|
+
* @param key key
|
|
738
|
+
* @param value value
|
|
739
|
+
*/
|
|
740
|
+
set<T>(key: string, value: T): boolean;
|
|
741
|
+
/**
|
|
742
|
+
* get key in local storage
|
|
743
|
+
* @param key key
|
|
744
|
+
* @returns value as object
|
|
745
|
+
*/
|
|
746
|
+
get<T>(key: string): T | null;
|
|
747
|
+
/**
|
|
748
|
+
* remove a key
|
|
749
|
+
* @param key key to remove
|
|
750
|
+
* @returns boolean
|
|
751
|
+
*/
|
|
752
|
+
remove(key: string): boolean;
|
|
753
|
+
/**
|
|
754
|
+
* clear all
|
|
755
|
+
* @returns boolean
|
|
756
|
+
*/
|
|
757
|
+
clear(): boolean;
|
|
758
|
+
/**
|
|
759
|
+
* get all keys present in local storage
|
|
760
|
+
* @returns array of keys
|
|
761
|
+
*/
|
|
762
|
+
getAllKeys(): Array<string>;
|
|
763
|
+
/**
|
|
764
|
+
* set key with expire time
|
|
765
|
+
* @param key key
|
|
766
|
+
* @param value value
|
|
767
|
+
* @returns true if set correctly
|
|
768
|
+
*/
|
|
769
|
+
setWhitExpiry<T>(key: string, value: T): boolean;
|
|
770
|
+
/**
|
|
771
|
+
* return key with expire time
|
|
772
|
+
* @param key key
|
|
773
|
+
* @returns return object with data or null if key expired
|
|
774
|
+
*/
|
|
775
|
+
getWithExpiry<T>(key: string): T | null;
|
|
776
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
777
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
declare class ScreenSizeUtil {
|
|
781
|
+
static isMobile(): boolean;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
interface TableColumns<T> {
|
|
785
|
+
ID: keyof T;
|
|
786
|
+
label: String;
|
|
787
|
+
type: 'boolean' | 'currency' | 'dateWithTime' | 'date' | 'fecha' | 'string' | 'number' | 'text' | 'combo' | 'file';
|
|
788
|
+
paramsCombo?: {
|
|
789
|
+
url?: String;
|
|
790
|
+
urlParams?: params[];
|
|
791
|
+
visibleField?: String;
|
|
792
|
+
selectionField?: String;
|
|
793
|
+
returnDataSelect?: boolean;
|
|
794
|
+
};
|
|
795
|
+
style?: {
|
|
796
|
+
width?: String;
|
|
797
|
+
textAlign?: String;
|
|
798
|
+
color?: String;
|
|
799
|
+
backgroundColor?: String;
|
|
800
|
+
movil?: String;
|
|
801
|
+
};
|
|
802
|
+
disregardForAdd?: boolean;
|
|
803
|
+
disregardForEdit?: boolean;
|
|
804
|
+
rules?: Array<Rules>;
|
|
805
|
+
required?: boolean;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
interface TableConfiguration {
|
|
809
|
+
edit?: boolean;
|
|
810
|
+
add?: boolean;
|
|
811
|
+
delete?: boolean;
|
|
812
|
+
selectable?: boolean;
|
|
813
|
+
addPer?: boolean;
|
|
814
|
+
editPer?: boolean;
|
|
815
|
+
primaryKey?: string;
|
|
816
|
+
print?: boolean;
|
|
817
|
+
sendEmail?: boolean;
|
|
818
|
+
active?: boolean;
|
|
819
|
+
hideTitle?: boolean;
|
|
820
|
+
hideFilter?: boolean;
|
|
821
|
+
notInitialize?: boolean;
|
|
822
|
+
exportXslx?: boolean;
|
|
823
|
+
exportXslxWithPages?: boolean;
|
|
824
|
+
exportXslxByRow?: boolean;
|
|
825
|
+
view?: boolean;
|
|
826
|
+
closeOrder?: boolean;
|
|
827
|
+
packOff?: boolean;
|
|
828
|
+
advance?: boolean;
|
|
829
|
+
advanceLabel?: string;
|
|
830
|
+
income?: boolean;
|
|
831
|
+
exit?: boolean;
|
|
832
|
+
addComment?: boolean;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
interface CombosConfiguration {
|
|
836
|
+
selectionField?: string;
|
|
837
|
+
visibleField?: string;
|
|
838
|
+
urlCombo?: string;
|
|
839
|
+
urlParams?: params[];
|
|
840
|
+
label?: string;
|
|
841
|
+
selected?: any;
|
|
842
|
+
fileTooltip?: string;
|
|
843
|
+
}
|
|
844
|
+
interface Filter {
|
|
845
|
+
filter?: boolean;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
interface fileFormsParams {
|
|
849
|
+
id: string;
|
|
850
|
+
value: any;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
interface fileInputParams {
|
|
854
|
+
typeFile: string | string[];
|
|
855
|
+
input: string;
|
|
856
|
+
edit?: boolean;
|
|
857
|
+
label?: string;
|
|
858
|
+
imageSrc?: string;
|
|
859
|
+
style: {
|
|
860
|
+
width: string;
|
|
861
|
+
height?: string;
|
|
862
|
+
border?: string;
|
|
863
|
+
shape?: string;
|
|
864
|
+
};
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
interface IMenuBreadCrumb {
|
|
868
|
+
name: string;
|
|
869
|
+
router?: string;
|
|
870
|
+
current?: boolean;
|
|
871
|
+
}
|
|
872
|
+
declare class MenuBreadCrumb implements IMenuBreadCrumb {
|
|
873
|
+
name: string;
|
|
874
|
+
router?: any;
|
|
875
|
+
current?: boolean;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
interface IButtonlabelEdit {
|
|
879
|
+
value: string;
|
|
880
|
+
edit?: boolean;
|
|
881
|
+
position?: number;
|
|
882
|
+
label?: string;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
interface IButtonIcon {
|
|
886
|
+
name?: string;
|
|
887
|
+
description?: string;
|
|
888
|
+
id?: string;
|
|
889
|
+
icon?: string;
|
|
890
|
+
active?: boolean;
|
|
891
|
+
color?: string;
|
|
892
|
+
iconColor?: string;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
export { BrainloperUiModule, BreadCrumbComponent, ButtonIconComponent, ButtonLabelComponent, CarouselComponent, CarouselItemDirective, CombosComponent, CryptoService, DataTableComponent, ExportDataService, FileFormsService, FileInputComponent, FiltersComponent, FunctionsService, GeneratePdfService, HttpResponseType, HttpService, LoadingComponent, LocalStorageService, MenuBreadCrumb, MessageService, ScreenSizeUtil, SelectFilterComponent, SessionService, TableModalComponent, enumActions, enumRules };
|
|
896
|
+
export type { CombosConfiguration, Filter, HeaderFilters, IButtonIcon, IButtonlabelEdit, IMenuBreadCrumb, PurchaseOrderItemReport, Rules, TableColumns, TableConfiguration, TemplatePdfOt, TemplatePdfPurchaseOrder, fileFormsParams, fileInputParams, params };
|