brainloper-ui 18.0.1 → 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.
Files changed (105) hide show
  1. package/fesm2022/brainloper-ui.mjs +124 -115
  2. package/fesm2022/brainloper-ui.mjs.map +1 -1
  3. package/index.d.ts +896 -5
  4. package/package.json +16 -18
  5. package/esm2022/brainloper-ui.mjs +0 -5
  6. package/esm2022/public_api.mjs +0 -58
  7. package/esm2022/src/app/modules/brainloper-ui/brainloper-ui.module.mjs +0 -303
  8. package/esm2022/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.mjs +0 -30
  9. package/esm2022/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.mjs +0 -23
  10. package/esm2022/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.mjs +0 -83
  11. package/esm2022/src/app/modules/brainloper-ui/components/carousel/carousel.component.mjs +0 -42
  12. package/esm2022/src/app/modules/brainloper-ui/components/combos/combos.component.mjs +0 -183
  13. package/esm2022/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +0 -747
  14. package/esm2022/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.mjs +0 -120
  15. package/esm2022/src/app/modules/brainloper-ui/components/file-input/file-input.component.mjs +0 -205
  16. package/esm2022/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.mjs +0 -2
  17. package/esm2022/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.mjs +0 -2
  18. package/esm2022/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.mjs +0 -2
  19. package/esm2022/src/app/modules/brainloper-ui/components/filters/filters.component.mjs +0 -227
  20. package/esm2022/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.mjs +0 -89
  21. package/esm2022/src/app/modules/brainloper-ui/components/report/template-ot/template-ot.component.mjs +0 -86
  22. package/esm2022/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.mjs +0 -117
  23. package/esm2022/src/app/modules/directives/carousel-item.directive.mjs +0 -20
  24. package/esm2022/src/app/modules/interfaces/buttons/button-icon.mjs +0 -2
  25. package/esm2022/src/app/modules/interfaces/buttons/button-lavel-edit.mjs +0 -2
  26. package/esm2022/src/app/modules/interfaces/combos/combos-configuration.mjs +0 -2
  27. package/esm2022/src/app/modules/interfaces/data-table/params.mjs +0 -2
  28. package/esm2022/src/app/modules/interfaces/data-table/rules.mjs +0 -2
  29. package/esm2022/src/app/modules/interfaces/data-table/table-columns.mjs +0 -2
  30. package/esm2022/src/app/modules/interfaces/data-table/table-configuration.mjs +0 -2
  31. package/esm2022/src/app/modules/interfaces/enum/enumActions.mjs +0 -8
  32. package/esm2022/src/app/modules/interfaces/enum/enumRules.mjs +0 -8
  33. package/esm2022/src/app/modules/interfaces/enum/httpResponseType.mjs +0 -8
  34. package/esm2022/src/app/modules/interfaces/file-forms-service/file-forms-params.mjs +0 -2
  35. package/esm2022/src/app/modules/interfaces/file-forms-service/file-input-params.mjs +0 -2
  36. package/esm2022/src/app/modules/interfaces/filters/header-filters.mjs +0 -2
  37. package/esm2022/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +0 -6
  38. package/esm2022/src/app/modules/interfaces/report/template-pdf-base.mjs +0 -2
  39. package/esm2022/src/app/modules/interfaces/report/template-pdf-ot.mjs +0 -2
  40. package/esm2022/src/app/modules/interfaces/report/template-pdf-purchase-order.mjs +0 -2
  41. package/esm2022/src/app/modules/interfaces/report/template-pfd-fo.mjs +0 -2
  42. package/esm2022/src/app/modules/services/crypto.service.mjs +0 -38
  43. package/esm2022/src/app/modules/services/export-data.service.mjs +0 -169
  44. package/esm2022/src/app/modules/services/file-forms.service.mjs +0 -24
  45. package/esm2022/src/app/modules/services/fuel-order-pdf.service.mjs +0 -346
  46. package/esm2022/src/app/modules/services/functions.service.mjs +0 -75
  47. package/esm2022/src/app/modules/services/generate-pdf.service.mjs +0 -93
  48. package/esm2022/src/app/modules/services/http.service.mjs +0 -142
  49. package/esm2022/src/app/modules/services/loading/loading.component.mjs +0 -30
  50. package/esm2022/src/app/modules/services/local-storage.service.mjs +0 -115
  51. package/esm2022/src/app/modules/services/message.service.mjs +0 -202
  52. package/esm2022/src/app/modules/services/purchase-order-pdf.service.mjs +0 -179
  53. package/esm2022/src/app/modules/services/screen-size-util.mjs +0 -6
  54. package/esm2022/src/app/modules/services/session.service.mjs +0 -43
  55. package/esm2022/src/app/modules/services/work-order-pdf.service.mjs +0 -363
  56. package/public_api.d.ts +0 -57
  57. package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +0 -59
  58. package/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.d.ts +0 -13
  59. package/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.d.ts +0 -10
  60. package/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.d.ts +0 -24
  61. package/src/app/modules/brainloper-ui/components/carousel/carousel.component.d.ts +0 -16
  62. package/src/app/modules/brainloper-ui/components/combos/combos.component.d.ts +0 -46
  63. package/src/app/modules/brainloper-ui/components/data-table/data-table.component.d.ts +0 -101
  64. package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +0 -20
  65. package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +0 -43
  66. package/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.d.ts +0 -2
  67. package/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.d.ts +0 -2
  68. package/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.d.ts +0 -2
  69. package/src/app/modules/brainloper-ui/components/filters/filters.component.d.ts +0 -30
  70. package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts +0 -39
  71. package/src/app/modules/brainloper-ui/components/report/template-ot/template-ot.component.d.ts +0 -38
  72. package/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.d.ts +0 -26
  73. package/src/app/modules/directives/carousel-item.directive.d.ts +0 -9
  74. package/src/app/modules/interfaces/buttons/button-icon.d.ts +0 -9
  75. package/src/app/modules/interfaces/buttons/button-lavel-edit.d.ts +0 -6
  76. package/src/app/modules/interfaces/combos/combos-configuration.d.ts +0 -13
  77. package/src/app/modules/interfaces/data-table/params.d.ts +0 -7
  78. package/src/app/modules/interfaces/data-table/rules.d.ts +0 -8
  79. package/src/app/modules/interfaces/data-table/table-columns.d.ts +0 -25
  80. package/src/app/modules/interfaces/data-table/table-configuration.d.ts +0 -26
  81. package/src/app/modules/interfaces/enum/enumActions.d.ts +0 -6
  82. package/src/app/modules/interfaces/enum/enumRules.d.ts +0 -6
  83. package/src/app/modules/interfaces/enum/httpResponseType.d.ts +0 -6
  84. package/src/app/modules/interfaces/file-forms-service/file-forms-params.d.ts +0 -4
  85. package/src/app/modules/interfaces/file-forms-service/file-input-params.d.ts +0 -13
  86. package/src/app/modules/interfaces/filters/header-filters.d.ts +0 -13
  87. package/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.d.ts +0 -10
  88. package/src/app/modules/interfaces/report/template-pdf-base.d.ts +0 -17
  89. package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +0 -6
  90. package/src/app/modules/interfaces/report/template-pdf-purchase-order.d.ts +0 -17
  91. package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +0 -7
  92. package/src/app/modules/services/crypto.service.d.ts +0 -10
  93. package/src/app/modules/services/export-data.service.d.ts +0 -18
  94. package/src/app/modules/services/file-forms.service.d.ts +0 -7
  95. package/src/app/modules/services/fuel-order-pdf.service.d.ts +0 -25
  96. package/src/app/modules/services/functions.service.d.ts +0 -15
  97. package/src/app/modules/services/generate-pdf.service.d.ts +0 -22
  98. package/src/app/modules/services/http.service.d.ts +0 -32
  99. package/src/app/modules/services/loading/loading.component.d.ts +0 -15
  100. package/src/app/modules/services/local-storage.service.d.ts +0 -49
  101. package/src/app/modules/services/message.service.d.ts +0 -23
  102. package/src/app/modules/services/purchase-order-pdf.service.d.ts +0 -21
  103. package/src/app/modules/services/screen-size-util.d.ts +0 -3
  104. package/src/app/modules/services/session.service.d.ts +0 -14
  105. package/src/app/modules/services/work-order-pdf.service.d.ts +0 -33
@@ -1,6 +0,0 @@
1
- export declare enum enumActions {
2
- REPLACE = 0,
3
- ADD = 1,
4
- REMOVE = 2,
5
- SHOW_FILE_ICON = 3
6
- }
@@ -1,6 +0,0 @@
1
- export declare enum enumRules {
2
- ">" = 0,
3
- "<" = 1,
4
- "==" = 2,
5
- "!=" = 3
6
- }
@@ -1,6 +0,0 @@
1
- export declare enum HttpResponseType {
2
- JSON = "json",
3
- TEXT = "text",
4
- BLOB = "blob",
5
- ARRAY_BUFFER = "arraybuffer"
6
- }
@@ -1,4 +0,0 @@
1
- export interface fileFormsParams {
2
- id: string;
3
- value: any;
4
- }
@@ -1,13 +0,0 @@
1
- export interface fileInputParams {
2
- typeFile: string | string[];
3
- input: string;
4
- edit?: boolean;
5
- label?: string;
6
- imageSrc?: string;
7
- style: {
8
- width: string;
9
- height?: string;
10
- border?: string;
11
- shape?: string;
12
- };
13
- }
@@ -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,10 +0,0 @@
1
- export interface IMenuBreadCrumb {
2
- name: string;
3
- router?: string;
4
- current?: boolean;
5
- }
6
- export declare class MenuBreadCrumb implements IMenuBreadCrumb {
7
- name: string;
8
- router?: any;
9
- current?: boolean;
10
- }
@@ -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,6 +0,0 @@
1
- import { TemplatePdfBase } from './template-pdf-base';
2
- export interface TemplatePdfOt extends TemplatePdfBase {
3
- third?: string;
4
- nameProvider?: string;
5
- addressProvider?: string;
6
- }
@@ -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,7 +0,0 @@
1
- import { TemplatePdfBase } from './template-pdf-base';
2
- export interface TemplatePdfFo extends TemplatePdfBase {
3
- id_place?: string;
4
- detalle?: string;
5
- namePlace?: string;
6
- addressPlace?: string;
7
- }
@@ -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,3 +0,0 @@
1
- export declare class ScreenSizeUtil {
2
- static isMobile(): boolean;
3
- }
@@ -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
- }