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/src/app/modules/brainloper-ui/components/report/template-ot/template-ot.component.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { MessageService } from '../../../../services/message.service';
|
|
2
|
-
import { WorkOrderPdfService } from '../../../../services/work-order-pdf.service';
|
|
3
|
-
import { OnInit } from '@angular/core';
|
|
4
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TemplateOtComponent implements OnInit {
|
|
7
|
-
dialogRef: MatDialogRef<TemplateOtComponent>;
|
|
8
|
-
dataModal: any;
|
|
9
|
-
private dialog;
|
|
10
|
-
message: MessageService;
|
|
11
|
-
private workOrderPdfService;
|
|
12
|
-
data: {
|
|
13
|
-
name: string;
|
|
14
|
-
nit: string;
|
|
15
|
-
address: string;
|
|
16
|
-
telephone: string;
|
|
17
|
-
mail: string;
|
|
18
|
-
image: string;
|
|
19
|
-
code: string;
|
|
20
|
-
date: string;
|
|
21
|
-
responsible: string;
|
|
22
|
-
third: string;
|
|
23
|
-
odometer: string;
|
|
24
|
-
approved_by: string;
|
|
25
|
-
description: string;
|
|
26
|
-
consecutive: string;
|
|
27
|
-
nameProvider: string;
|
|
28
|
-
addressProvider: string;
|
|
29
|
-
area: string;
|
|
30
|
-
invoiceReference: string;
|
|
31
|
-
};
|
|
32
|
-
constructor(dialogRef: MatDialogRef<TemplateOtComponent>, dataModal: any, dialog: MatDialog, message: MessageService, workOrderPdfService: WorkOrderPdfService);
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
ngAfterViewInit(): void;
|
|
35
|
-
generatePdfWithHtml2Canvas(): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateOtComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateOtComponent, "app-template-ot", never, {}, {}, never, never, false, never>;
|
|
38
|
-
}
|
|
@@ -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": { "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>;
|
|
26
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CarouselItemDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
5
|
-
carouselItem: number | string;
|
|
6
|
-
constructor(templateRef: TemplateRef<any>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselItemDirective, "[carouselItem]", never, { "carouselItem": { "alias": "carouselItem"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -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,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' | 'file';
|
|
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,26 +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
|
-
addComment?: boolean;
|
|
26
|
-
}
|
|
@@ -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,17 +0,0 @@
|
|
|
1
|
-
export interface TemplatePdfBase {
|
|
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
|
-
approved_by?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
consecutive?: string;
|
|
14
|
-
area?: string;
|
|
15
|
-
odometer?: string;
|
|
16
|
-
invoiceReference?: string;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TemplatePdfBase } from "./template-pdf-base";
|
|
2
|
-
export interface TemplatePdfPurchaseOrder extends TemplatePdfBase {
|
|
3
|
-
items: PurchaseOrderItemReport[];
|
|
4
|
-
providerName: string;
|
|
5
|
-
requestsName: string;
|
|
6
|
-
authorizeName: string;
|
|
7
|
-
warehouse: string;
|
|
8
|
-
comment: string;
|
|
9
|
-
created?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface PurchaseOrderItemReport {
|
|
12
|
-
code: string;
|
|
13
|
-
itemName: string;
|
|
14
|
-
unitMeasurement: string;
|
|
15
|
-
amount: number;
|
|
16
|
-
description?: string;
|
|
17
|
-
}
|
|
@@ -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,25 +0,0 @@
|
|
|
1
|
-
import { jsPDF } from 'jspdf';
|
|
2
|
-
import 'jspdf-autotable';
|
|
3
|
-
import { TemplatePdfFo } from '../interfaces/report/template-pfd-fo';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FuelOrderPdfService {
|
|
6
|
-
constructor();
|
|
7
|
-
generateFuelOrderProfesionalPDF(data: TemplatePdfFo, options?: {
|
|
8
|
-
format?: 'letter' | 'a4';
|
|
9
|
-
download?: boolean;
|
|
10
|
-
filename?: string;
|
|
11
|
-
}): Promise<jsPDF>;
|
|
12
|
-
/**
|
|
13
|
-
* Genera PDF optimizado para impresión
|
|
14
|
-
*/
|
|
15
|
-
generateForPrint(data: TemplatePdfFo): Promise<jsPDF>;
|
|
16
|
-
private addHeader;
|
|
17
|
-
private addDocumentTitle;
|
|
18
|
-
private addMainInfo;
|
|
19
|
-
private addProviderInfo;
|
|
20
|
-
private addServiceDetails;
|
|
21
|
-
private addAuthorization;
|
|
22
|
-
private addFooter;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FuelOrderPdfService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FuelOrderPdfService>;
|
|
25
|
-
}
|
|
@@ -1,15 +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
|
-
transformDate(date: string): string;
|
|
11
|
-
formatNumber(value: number): string;
|
|
12
|
-
private validateTwoDigitFormat;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FunctionsService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FunctionsService>;
|
|
15
|
-
}
|
|
@@ -1,22 +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 { WorkOrderPdfService } from './work-order-pdf.service';
|
|
5
|
-
import { FuelOrderPdfService } from './fuel-order-pdf.service';
|
|
6
|
-
import { PurchaseOrderPdfService } from './purchase-order-pdf.service';
|
|
7
|
-
import { TemplatePdfPurchaseOrder } from '../interfaces/report/template-pdf-purchase-order';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class GeneratePdfService {
|
|
10
|
-
private dialog;
|
|
11
|
-
private workOrderPdfService;
|
|
12
|
-
private FuelOrderPdfService;
|
|
13
|
-
private purchaseOrderPdfService;
|
|
14
|
-
constructor(dialog: MatDialog, workOrderPdfService: WorkOrderPdfService, FuelOrderPdfService: FuelOrderPdfService, purchaseOrderPdfService: PurchaseOrderPdfService);
|
|
15
|
-
getPdfOt(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<unknown>;
|
|
16
|
-
getPdfFo(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<unknown>;
|
|
17
|
-
getPdfFoV2(data: TemplatePdfFo): Promise<boolean>;
|
|
18
|
-
getPdfOtV2(data: TemplatePdfOt): Promise<boolean>;
|
|
19
|
-
generatePurchaseOrderPDF(order: TemplatePdfPurchaseOrder): Promise<boolean>;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePdfService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GeneratePdfService>;
|
|
22
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { MessageService } from './message.service';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { HttpResponseType } from '../interfaces/enum/httpResponseType';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class HttpService {
|
|
6
|
-
private http;
|
|
7
|
-
private message;
|
|
8
|
-
constructor(http: HttpClient, message: MessageService);
|
|
9
|
-
private createParams;
|
|
10
|
-
private createOptionsWithResponseType;
|
|
11
|
-
getData(url: string, params?: any, withCredentials?: boolean): import("rxjs").Observable<Object>;
|
|
12
|
-
postData(url: string, body: any, params?: any, withCredentials?: boolean): import("rxjs").Observable<Object>;
|
|
13
|
-
putData(url: string, body: any, params?: any, withCredentials?: boolean): import("rxjs").Observable<Object>;
|
|
14
|
-
deleteData(url: string, params?: any, withCredentials?: boolean): import("rxjs").Observable<Object>;
|
|
15
|
-
getDataPromise(url: string, params?: any, withCredentials?: boolean): Promise<unknown>;
|
|
16
|
-
postDataPromise(url: string, body: any, params?: any, withCredentials?: boolean): Promise<unknown>;
|
|
17
|
-
putDataPromise(url: string, body: any, params?: any, withCredentials?: boolean): Promise<unknown>;
|
|
18
|
-
deleteDataPromise(url: string, params?: any, withCredentials?: boolean): Promise<unknown>;
|
|
19
|
-
getDataBody<T>(url: string, params?: any, withCredentials?: boolean): Promise<T>;
|
|
20
|
-
postDataBody<T>(url: string, body: any, params?: any, withCredentials?: boolean): Promise<T>;
|
|
21
|
-
putDataBody<T>(url: string, body: any, params?: any, withCredentials?: boolean): Promise<T>;
|
|
22
|
-
getDataWithResponseType(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): import("rxjs").Observable<ArrayBuffer>;
|
|
23
|
-
postDataWithResponseType(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): import("rxjs").Observable<ArrayBuffer>;
|
|
24
|
-
putDataWithResponseType(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): import("rxjs").Observable<ArrayBuffer>;
|
|
25
|
-
deleteDataWithResponseType(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): import("rxjs").Observable<ArrayBuffer>;
|
|
26
|
-
getDataPromiseWithResponseType<T = any>(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<T>;
|
|
27
|
-
postDataPromiseWithResponseType<T = any>(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<T>;
|
|
28
|
-
putDataPromiseWithResponseType<T = any>(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<T>;
|
|
29
|
-
deleteDataPromiseWithResponseType<T = any>(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<T>;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpService, never>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpService>;
|
|
32
|
-
}
|
|
@@ -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, never>;
|
|
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,21 +0,0 @@
|
|
|
1
|
-
import { jsPDF } from 'jspdf';
|
|
2
|
-
import 'jspdf-autotable';
|
|
3
|
-
import { FunctionsService } from './functions.service';
|
|
4
|
-
import { TemplatePdfPurchaseOrder } from '../interfaces/report/template-pdf-purchase-order';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PurchaseOrderPdfService {
|
|
7
|
-
private functions;
|
|
8
|
-
constructor(functions: FunctionsService);
|
|
9
|
-
generatePurchaseOrderPDF(order: TemplatePdfPurchaseOrder, options?: {
|
|
10
|
-
format?: 'letter' | 'a4';
|
|
11
|
-
download?: boolean;
|
|
12
|
-
filename?: string;
|
|
13
|
-
}): Promise<jsPDF>;
|
|
14
|
-
private addHeader;
|
|
15
|
-
private addOrderDetails;
|
|
16
|
-
private addOrderItems;
|
|
17
|
-
private addComments;
|
|
18
|
-
private addFooter;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PurchaseOrderPdfService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PurchaseOrderPdfService>;
|
|
21
|
-
}
|
|
@@ -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
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsPDF } from 'jspdf';
|
|
2
|
-
import 'jspdf-autotable';
|
|
3
|
-
import { TemplatePdfOt } from '../interfaces/report/template-pdf-ot';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WorkOrderPdfService {
|
|
6
|
-
constructor();
|
|
7
|
-
generateWorkOrderPDF(data: TemplatePdfOt, options?: {
|
|
8
|
-
format?: 'letter' | 'a4';
|
|
9
|
-
download?: boolean;
|
|
10
|
-
filename?: string;
|
|
11
|
-
}): Promise<jsPDF>;
|
|
12
|
-
/**
|
|
13
|
-
* Genera PDF optimizado para impresión
|
|
14
|
-
*/
|
|
15
|
-
generateForPrint(data: TemplatePdfOt): Promise<jsPDF>;
|
|
16
|
-
/**
|
|
17
|
-
* Genera PDF y lo devuelve como Blob para envío por email
|
|
18
|
-
*/
|
|
19
|
-
generateAsBlob(data: TemplatePdfOt): Promise<Blob>;
|
|
20
|
-
/**
|
|
21
|
-
* Genera PDF y lo devuelve como base64
|
|
22
|
-
*/
|
|
23
|
-
generateAsBase64(data: TemplatePdfOt): Promise<string>;
|
|
24
|
-
private addHeader;
|
|
25
|
-
private addDocumentTitle;
|
|
26
|
-
private addMainInfo;
|
|
27
|
-
private addProviderInfo;
|
|
28
|
-
private addServiceDetails;
|
|
29
|
-
private addAuthorization;
|
|
30
|
-
private addFooter;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WorkOrderPdfService, never>;
|
|
32
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WorkOrderPdfService>;
|
|
33
|
-
}
|