brainloper-ui 14.1.8 → 14.1.9

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 (103) hide show
  1. package/esm2020/brainloper-ui.mjs +4 -4
  2. package/esm2020/public_api.mjs +57 -56
  3. package/esm2020/src/app/modules/brainloper-ui/brainloper-ui.module.mjs +310 -310
  4. package/esm2020/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.mjs +29 -29
  5. package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.mjs +23 -23
  6. package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.mjs +83 -83
  7. package/esm2020/src/app/modules/brainloper-ui/components/carousel/carousel.component.mjs +40 -40
  8. package/esm2020/src/app/modules/brainloper-ui/components/combos/combos.component.mjs +176 -176
  9. package/esm2020/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +728 -728
  10. package/esm2020/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.mjs +118 -118
  11. package/esm2020/src/app/modules/brainloper-ui/components/file-input/file-input.component.mjs +186 -186
  12. package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.mjs +1 -1
  13. package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.mjs +1 -1
  14. package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.mjs +1 -1
  15. package/esm2020/src/app/modules/brainloper-ui/components/filters/filters.component.mjs +222 -222
  16. package/esm2020/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.mjs +115 -115
  17. package/esm2020/src/app/modules/brainloper-ui/components/report/template-ot/template-ot.component.mjs +145 -145
  18. package/esm2020/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.mjs +108 -108
  19. package/esm2020/src/app/modules/directives/carousel-item.directive.mjs +18 -18
  20. package/esm2020/src/app/modules/interfaces/buttons/button-icon.mjs +2 -2
  21. package/esm2020/src/app/modules/interfaces/buttons/button-lavel-edit.mjs +2 -2
  22. package/esm2020/src/app/modules/interfaces/combos/combos-configuration.mjs +2 -2
  23. package/esm2020/src/app/modules/interfaces/data-table/params.mjs +2 -2
  24. package/esm2020/src/app/modules/interfaces/data-table/rules.mjs +2 -2
  25. package/esm2020/src/app/modules/interfaces/data-table/table-columns.mjs +2 -2
  26. package/esm2020/src/app/modules/interfaces/data-table/table-configuration.mjs +2 -2
  27. package/esm2020/src/app/modules/interfaces/enum/enumActions.mjs +8 -8
  28. package/esm2020/src/app/modules/interfaces/enum/enumRules.mjs +8 -8
  29. package/esm2020/src/app/modules/interfaces/enum/httpResponseType.mjs +8 -0
  30. package/esm2020/src/app/modules/interfaces/file-forms-service/file-forms-params.mjs +2 -2
  31. package/esm2020/src/app/modules/interfaces/file-forms-service/file-input-params.mjs +2 -2
  32. package/esm2020/src/app/modules/interfaces/filters/header-filters.mjs +2 -2
  33. package/esm2020/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +8 -8
  34. package/esm2020/src/app/modules/interfaces/report/template-pdf-base.mjs +2 -2
  35. package/esm2020/src/app/modules/interfaces/report/template-pdf-ot.mjs +2 -2
  36. package/esm2020/src/app/modules/interfaces/report/template-pfd-fo.mjs +2 -2
  37. package/esm2020/src/app/modules/services/crypto.service.mjs +37 -37
  38. package/esm2020/src/app/modules/services/export-data.service.mjs +166 -166
  39. package/esm2020/src/app/modules/services/file-forms.service.mjs +24 -24
  40. package/esm2020/src/app/modules/services/fuel-order-pdf.service.mjs +528 -528
  41. package/esm2020/src/app/modules/services/functions.service.mjs +54 -54
  42. package/esm2020/src/app/modules/services/generate-pdf.service.mjs +109 -109
  43. package/esm2020/src/app/modules/services/http.service.mjs +126 -97
  44. package/esm2020/src/app/modules/services/loading/loading.component.mjs +28 -28
  45. package/esm2020/src/app/modules/services/local-storage.service.mjs +115 -115
  46. package/esm2020/src/app/modules/services/message.service.mjs +200 -200
  47. package/esm2020/src/app/modules/services/screen-size-util.mjs +6 -6
  48. package/esm2020/src/app/modules/services/session.service.mjs +42 -42
  49. package/esm2020/src/app/modules/services/work-order-pdf.service.mjs +384 -384
  50. package/fesm2015/brainloper-ui.mjs +3885 -3849
  51. package/fesm2015/brainloper-ui.mjs.map +1 -1
  52. package/fesm2020/brainloper-ui.mjs +3855 -3819
  53. package/fesm2020/brainloper-ui.mjs.map +1 -1
  54. package/index.d.ts +5 -5
  55. package/package.json +1 -1
  56. package/public_api.d.ts +56 -55
  57. package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +62 -62
  58. package/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.d.ts +13 -13
  59. package/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.d.ts +10 -10
  60. package/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.d.ts +24 -24
  61. package/src/app/modules/brainloper-ui/components/carousel/carousel.component.d.ts +16 -16
  62. package/src/app/modules/brainloper-ui/components/combos/combos.component.d.ts +46 -46
  63. package/src/app/modules/brainloper-ui/components/data-table/data-table.component.d.ts +125 -125
  64. package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +21 -21
  65. package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +42 -42
  66. package/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.d.ts +2 -2
  67. package/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.d.ts +2 -2
  68. package/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.d.ts +2 -2
  69. package/src/app/modules/brainloper-ui/components/filters/filters.component.d.ts +30 -30
  70. package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts +41 -41
  71. package/src/app/modules/brainloper-ui/components/report/template-ot/template-ot.component.d.ts +40 -40
  72. package/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.d.ts +26 -26
  73. package/src/app/modules/directives/carousel-item.directive.d.ts +9 -9
  74. package/src/app/modules/interfaces/buttons/button-icon.d.ts +9 -9
  75. package/src/app/modules/interfaces/buttons/button-lavel-edit.d.ts +6 -6
  76. package/src/app/modules/interfaces/combos/combos-configuration.d.ts +13 -13
  77. package/src/app/modules/interfaces/data-table/params.d.ts +7 -7
  78. package/src/app/modules/interfaces/data-table/rules.d.ts +8 -8
  79. package/src/app/modules/interfaces/data-table/table-columns.d.ts +25 -25
  80. package/src/app/modules/interfaces/data-table/table-configuration.d.ts +26 -26
  81. package/src/app/modules/interfaces/enum/enumActions.d.ts +6 -6
  82. package/src/app/modules/interfaces/enum/enumRules.d.ts +6 -6
  83. package/src/app/modules/interfaces/enum/httpResponseType.d.ts +6 -0
  84. package/src/app/modules/interfaces/file-forms-service/file-forms-params.d.ts +4 -4
  85. package/src/app/modules/interfaces/file-forms-service/file-input-params.d.ts +13 -13
  86. package/src/app/modules/interfaces/filters/header-filters.d.ts +13 -13
  87. package/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.d.ts +10 -10
  88. package/src/app/modules/interfaces/report/template-pdf-base.d.ts +17 -17
  89. package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +6 -6
  90. package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +7 -7
  91. package/src/app/modules/services/crypto.service.d.ts +10 -10
  92. package/src/app/modules/services/export-data.service.d.ts +18 -18
  93. package/src/app/modules/services/file-forms.service.d.ts +7 -7
  94. package/src/app/modules/services/fuel-order-pdf.service.d.ts +59 -59
  95. package/src/app/modules/services/functions.service.d.ts +13 -13
  96. package/src/app/modules/services/generate-pdf.service.d.ts +21 -21
  97. package/src/app/modules/services/http.service.d.ts +23 -22
  98. package/src/app/modules/services/loading/loading.component.d.ts +15 -15
  99. package/src/app/modules/services/local-storage.service.d.ts +49 -49
  100. package/src/app/modules/services/message.service.d.ts +23 -23
  101. package/src/app/modules/services/screen-size-util.d.ts +3 -3
  102. package/src/app/modules/services/session.service.d.ts +14 -14
  103. package/src/app/modules/services/work-order-pdf.service.d.ts +60 -60
@@ -1,17 +1,17 @@
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
+ 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 +1,6 @@
1
- import { TemplatePdfBase } from './template-pdf-base';
2
- export interface TemplatePdfOt extends TemplatePdfBase {
3
- third?: string;
4
- nameProvider?: string;
5
- addressProvider?: string;
6
- }
1
+ import { TemplatePdfBase } from './template-pdf-base';
2
+ export interface TemplatePdfOt extends TemplatePdfBase {
3
+ third?: string;
4
+ nameProvider?: string;
5
+ addressProvider?: string;
6
+ }
@@ -1,7 +1,7 @@
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
+ 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 +1,10 @@
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
+ 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 +1,18 @@
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
+ 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 +1,7 @@
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
+ 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,59 +1,59 @@
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 interface FuelOrderData {
6
- name: string;
7
- nit: string;
8
- address: string;
9
- telephone: string;
10
- mail: string;
11
- image?: string;
12
- code: string;
13
- date: string;
14
- responsible: string;
15
- id_place: string;
16
- approved_by: string;
17
- detalle: string;
18
- description: string;
19
- consecutive: string;
20
- namePlace: string;
21
- addressPlace: string;
22
- area: string;
23
- odometer: string;
24
- invoiceReference?: string;
25
- }
26
- export declare class FuelOrderPdfService {
27
- constructor();
28
- generateFuelOrderPDF(data: TemplatePdfFo): Promise<void>;
29
- generateFuelOrderProfesionalPDF(data: FuelOrderData, options?: {
30
- format?: 'letter' | 'a4';
31
- download?: boolean;
32
- filename?: string;
33
- }): Promise<jsPDF>;
34
- private addHeader;
35
- private addDocumentTitle;
36
- private addMainInfo;
37
- private addProviderInfo;
38
- private addServiceDetails;
39
- /**
40
- * Método auxiliar para manejar texto largo que puede necesitar múltiples páginas
41
- */
42
- private addLongText;
43
- private addAuthorization;
44
- private addFooter;
45
- /**
46
- * Genera PDF optimizado para impresión
47
- */
48
- generateForPrint(data: FuelOrderData): Promise<jsPDF>;
49
- /**
50
- * Genera PDF y lo devuelve como Blob para envío por email
51
- */
52
- generateAsBlob(data: FuelOrderData): Promise<Blob>;
53
- /**
54
- * Genera PDF y lo devuelve como base64
55
- */
56
- generateAsBase64(data: FuelOrderData): Promise<string>;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<FuelOrderPdfService, never>;
58
- static ɵprov: i0.ɵɵInjectableDeclaration<FuelOrderPdfService>;
59
- }
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 interface FuelOrderData {
6
+ name: string;
7
+ nit: string;
8
+ address: string;
9
+ telephone: string;
10
+ mail: string;
11
+ image?: string;
12
+ code: string;
13
+ date: string;
14
+ responsible: string;
15
+ id_place: string;
16
+ approved_by: string;
17
+ detalle: string;
18
+ description: string;
19
+ consecutive: string;
20
+ namePlace: string;
21
+ addressPlace: string;
22
+ area: string;
23
+ odometer: string;
24
+ invoiceReference?: string;
25
+ }
26
+ export declare class FuelOrderPdfService {
27
+ constructor();
28
+ generateFuelOrderPDF(data: TemplatePdfFo): Promise<void>;
29
+ generateFuelOrderProfesionalPDF(data: FuelOrderData, options?: {
30
+ format?: 'letter' | 'a4';
31
+ download?: boolean;
32
+ filename?: string;
33
+ }): Promise<jsPDF>;
34
+ private addHeader;
35
+ private addDocumentTitle;
36
+ private addMainInfo;
37
+ private addProviderInfo;
38
+ private addServiceDetails;
39
+ /**
40
+ * Método auxiliar para manejar texto largo que puede necesitar múltiples páginas
41
+ */
42
+ private addLongText;
43
+ private addAuthorization;
44
+ private addFooter;
45
+ /**
46
+ * Genera PDF optimizado para impresión
47
+ */
48
+ generateForPrint(data: FuelOrderData): Promise<jsPDF>;
49
+ /**
50
+ * Genera PDF y lo devuelve como Blob para envío por email
51
+ */
52
+ generateAsBlob(data: FuelOrderData): Promise<Blob>;
53
+ /**
54
+ * Genera PDF y lo devuelve como base64
55
+ */
56
+ generateAsBase64(data: FuelOrderData): Promise<string>;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<FuelOrderPdfService, never>;
58
+ static ɵprov: i0.ɵɵInjectableDeclaration<FuelOrderPdfService>;
59
+ }
@@ -1,13 +1,13 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FunctionsService {
3
- constructor();
4
- dateForm(date: any): string;
5
- dateIso(date: any): string;
6
- dateDB(date: any): string;
7
- dateWithTime(date: string): string;
8
- areObjectsEqual(obj1: any, obj2: any): boolean;
9
- removeDuplicateObjects(originalArray: any[]): any[];
10
- private validateTwoDigitFormat;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FunctionsService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<FunctionsService>;
13
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class FunctionsService {
3
+ constructor();
4
+ dateForm(date: any): string;
5
+ dateIso(date: any): string;
6
+ dateDB(date: any): string;
7
+ dateWithTime(date: string): string;
8
+ areObjectsEqual(obj1: any, obj2: any): boolean;
9
+ removeDuplicateObjects(originalArray: any[]): any[];
10
+ private validateTwoDigitFormat;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FunctionsService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<FunctionsService>;
13
+ }
@@ -1,21 +1,21 @@
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 * as i0 from "@angular/core";
7
- export declare class GeneratePdfService {
8
- private dialog;
9
- private workOrderPdfService;
10
- private FuelOrderPdfService;
11
- constructor(dialog: MatDialog, workOrderPdfService: WorkOrderPdfService, FuelOrderPdfService: FuelOrderPdfService);
12
- getPdfOt(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<unknown>;
13
- getPdfFo(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<unknown>;
14
- /**
15
- * Método mejorado para generar PDF de orden de combustible
16
- */
17
- getPdfFoNew(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<boolean>;
18
- getPdfOtNew(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<boolean>;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePdfService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<GeneratePdfService>;
21
- }
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 * as i0 from "@angular/core";
7
+ export declare class GeneratePdfService {
8
+ private dialog;
9
+ private workOrderPdfService;
10
+ private FuelOrderPdfService;
11
+ constructor(dialog: MatDialog, workOrderPdfService: WorkOrderPdfService, FuelOrderPdfService: FuelOrderPdfService);
12
+ getPdfOt(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<unknown>;
13
+ getPdfFo(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<unknown>;
14
+ /**
15
+ * Método mejorado para generar PDF de orden de combustible
16
+ */
17
+ getPdfFoNew(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<boolean>;
18
+ getPdfOtNew(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<boolean>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePdfService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<GeneratePdfService>;
21
+ }
@@ -1,22 +1,23 @@
1
- import { MessageService } from './message.service';
2
- import { HttpClient } from '@angular/common/http';
3
- import * as i0 from "@angular/core";
4
- export declare class HttpService {
5
- private http;
6
- private message;
7
- constructor(http: HttpClient, message: MessageService);
8
- private createParams;
9
- getData(url: string, params?: any, withCredentials?: boolean): import("rxjs").Observable<Object>;
10
- postData(url: string, body: any, params?: any, withCredentials?: boolean): import("rxjs").Observable<Object>;
11
- putData(url: string, body: any, params?: any, withCredentials?: boolean): import("rxjs").Observable<Object>;
12
- deleteData(url: string, params?: any, withCredentials?: boolean): import("rxjs").Observable<Object>;
13
- getDataPromise(url: string, params?: any, withCredentials?: boolean): Promise<unknown>;
14
- postDataPromise(url: string, body: any, params?: any, withCredentials?: boolean): Promise<unknown>;
15
- putDataPromise(url: string, body: any, params?: any, withCredentials?: boolean): Promise<unknown>;
16
- deleteDataPromise(url: string, params?: any, withCredentials?: boolean): Promise<unknown>;
17
- getDataBody<T>(url: string, params?: any, withCredentials?: boolean): Promise<T>;
18
- postDataBody<T>(url: string, body: any, params?: any, withCredentials?: boolean): Promise<T>;
19
- putDataBody<T>(url: string, body: any, params?: any, withCredentials?: boolean): Promise<T>;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpService, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<HttpService>;
22
- }
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
+ getData(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): import("rxjs").Observable<ArrayBuffer>;
11
+ postData(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): import("rxjs").Observable<ArrayBuffer>;
12
+ putData(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): import("rxjs").Observable<ArrayBuffer>;
13
+ deleteData(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): import("rxjs").Observable<ArrayBuffer>;
14
+ getDataPromise(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<unknown>;
15
+ postDataPromise(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<unknown>;
16
+ putDataPromise(url: string, body: any, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<unknown>;
17
+ deleteDataPromise(url: string, params?: any, withCredentials?: boolean, responseType?: HttpResponseType): Promise<unknown>;
18
+ getDataBody<T>(url: string, params?: any, withCredentials?: boolean): Promise<T>;
19
+ postDataBody<T>(url: string, body: any, params?: any, withCredentials?: boolean): Promise<T>;
20
+ putDataBody<T>(url: string, body: any, params?: any, withCredentials?: boolean): Promise<T>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<HttpService, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<HttpService>;
23
+ }
@@ -1,15 +1,15 @@
1
- import { OnInit } from '@angular/core';
2
- import { AnimationItem } from 'lottie-web';
3
- import { AnimationOptions } from 'ngx-lottie';
4
- import { MatDialogRef } from '@angular/material/dialog';
5
- import * as i0 from "@angular/core";
6
- export declare class LoadingComponent implements OnInit {
7
- dialogRef: MatDialogRef<LoadingComponent>;
8
- data: any;
9
- options: AnimationOptions;
10
- constructor(dialogRef: MatDialogRef<LoadingComponent>, data: any);
11
- ngOnInit(): void;
12
- animationCreated(animationItem: AnimationItem): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "app-loading", never, {}, {}, never, never, false>;
15
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { AnimationItem } from 'lottie-web';
3
+ import { AnimationOptions } from 'ngx-lottie';
4
+ import { MatDialogRef } from '@angular/material/dialog';
5
+ import * as i0 from "@angular/core";
6
+ export declare class LoadingComponent implements OnInit {
7
+ dialogRef: MatDialogRef<LoadingComponent>;
8
+ data: any;
9
+ options: AnimationOptions;
10
+ constructor(dialogRef: MatDialogRef<LoadingComponent>, data: any);
11
+ ngOnInit(): void;
12
+ animationCreated(animationItem: AnimationItem): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "app-loading", never, {}, {}, never, never, false>;
15
+ }
@@ -1,49 +1,49 @@
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
+ 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 +1,23 @@
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
+ 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,3 +1,3 @@
1
- export declare class ScreenSizeUtil {
2
- static isMobile(): boolean;
3
- }
1
+ export declare class ScreenSizeUtil {
2
+ static isMobile(): boolean;
3
+ }
@@ -1,14 +1,14 @@
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
+ 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
+ }