brainloper-ui 1.2.16 → 4.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 (115) hide show
  1. package/{esm2022 → esm2020}/brainloper-ui.mjs +4 -4
  2. package/esm2020/public_api.mjs +51 -0
  3. package/esm2020/src/app/modules/brainloper-ui/brainloper-ui.module.mjs +305 -0
  4. package/esm2020/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.mjs +29 -0
  5. package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.mjs +23 -0
  6. package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.mjs +83 -0
  7. package/esm2020/src/app/modules/brainloper-ui/components/carousel/carousel.component.mjs +31 -0
  8. package/esm2020/src/app/modules/brainloper-ui/components/combos/combos.component.mjs +159 -0
  9. package/esm2020/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +486 -0
  10. package/esm2020/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.mjs +118 -0
  11. package/esm2020/src/app/modules/brainloper-ui/components/file-input/file-input.component.mjs +185 -0
  12. package/{esm2022 → esm2020}/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.mjs +1 -1
  13. package/{esm2022 → esm2020}/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.mjs +1 -1
  14. package/{esm2022 → 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 -0
  16. package/esm2020/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.mjs +80 -0
  17. package/esm2020/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.mjs +81 -0
  18. package/esm2020/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.mjs +108 -0
  19. package/{esm2022 → esm2020}/src/app/modules/interfaces/buttons/button-icon.mjs +1 -1
  20. package/{esm2022 → esm2020}/src/app/modules/interfaces/buttons/button-lavel-edit.mjs +1 -1
  21. package/{esm2022 → esm2020}/src/app/modules/interfaces/combos/combos-configuration.mjs +1 -1
  22. package/{esm2022 → esm2020}/src/app/modules/interfaces/data-table/params.mjs +1 -1
  23. package/{esm2022 → esm2020}/src/app/modules/interfaces/data-table/rules.mjs +1 -1
  24. package/{esm2022 → esm2020}/src/app/modules/interfaces/data-table/table-columns.mjs +1 -1
  25. package/{esm2022 → esm2020}/src/app/modules/interfaces/data-table/table-configuration.mjs +1 -1
  26. package/{esm2022 → esm2020}/src/app/modules/interfaces/enum/enumActions.mjs +6 -6
  27. package/{esm2022 → esm2020}/src/app/modules/interfaces/enum/enumRules.mjs +7 -7
  28. package/{esm2022 → esm2020}/src/app/modules/interfaces/file-forms-service/file-forms-params.mjs +1 -1
  29. package/{esm2022 → esm2020}/src/app/modules/interfaces/file-forms-service/file-input-params.mjs +1 -1
  30. package/{esm2022 → esm2020}/src/app/modules/interfaces/filters/header-filters.mjs +1 -1
  31. package/esm2020/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +8 -0
  32. package/{esm2022 → esm2020}/src/app/modules/interfaces/report/template-pdf-ot.mjs +1 -1
  33. package/{esm2022 → esm2020}/src/app/modules/interfaces/report/template-pfd-fo.mjs +1 -1
  34. package/esm2020/src/app/modules/services/crypto.service.mjs +37 -0
  35. package/esm2020/src/app/modules/services/export-data.service.mjs +143 -0
  36. package/{esm2022 → esm2020}/src/app/modules/services/file-forms.service.mjs +24 -24
  37. package/{esm2022 → esm2020}/src/app/modules/services/functions.service.mjs +54 -54
  38. package/esm2020/src/app/modules/services/generate-pdf.service.mjs +58 -0
  39. package/esm2020/src/app/modules/services/http.service.mjs +154 -0
  40. package/esm2020/src/app/modules/services/loading/loading.component.mjs +28 -0
  41. package/{esm2022 → esm2020}/src/app/modules/services/local-storage.service.mjs +115 -115
  42. package/esm2020/src/app/modules/services/message.service.mjs +196 -0
  43. package/{esm2022 → esm2020}/src/app/modules/services/screen-size-util.mjs +5 -5
  44. package/esm2020/src/app/modules/services/session.service.mjs +42 -0
  45. package/fesm2015/brainloper-ui.mjs +2690 -0
  46. package/fesm2015/brainloper-ui.mjs.map +1 -0
  47. package/{fesm2022 → fesm2020}/brainloper-ui.mjs +2563 -2520
  48. package/fesm2020/brainloper-ui.mjs.map +1 -0
  49. package/index.d.ts +5 -5
  50. package/package.json +25 -19
  51. package/public_api.d.ts +50 -49
  52. package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +73 -71
  53. package/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.d.ts +13 -13
  54. package/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.d.ts +10 -10
  55. package/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.d.ts +24 -24
  56. package/src/app/modules/brainloper-ui/components/carousel/carousel.component.d.ts +12 -12
  57. package/src/app/modules/brainloper-ui/components/combos/combos.component.d.ts +46 -46
  58. package/src/app/modules/brainloper-ui/components/data-table/data-table.component.d.ts +104 -104
  59. package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +21 -21
  60. package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +42 -42
  61. package/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.d.ts +2 -2
  62. package/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.d.ts +2 -2
  63. package/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.d.ts +2 -2
  64. package/src/app/modules/brainloper-ui/components/filters/filters.component.d.ts +30 -30
  65. package/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.d.ts +35 -35
  66. package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts +36 -36
  67. package/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.d.ts +26 -0
  68. package/src/app/modules/interfaces/buttons/button-icon.d.ts +9 -9
  69. package/src/app/modules/interfaces/buttons/button-lavel-edit.d.ts +6 -6
  70. package/src/app/modules/interfaces/combos/combos-configuration.d.ts +13 -13
  71. package/src/app/modules/interfaces/data-table/params.d.ts +7 -7
  72. package/src/app/modules/interfaces/data-table/rules.d.ts +8 -8
  73. package/src/app/modules/interfaces/data-table/table-columns.d.ts +25 -25
  74. package/src/app/modules/interfaces/data-table/table-configuration.d.ts +19 -19
  75. package/src/app/modules/interfaces/enum/enumActions.d.ts +5 -5
  76. package/src/app/modules/interfaces/enum/enumRules.d.ts +6 -6
  77. package/src/app/modules/interfaces/file-forms-service/file-forms-params.d.ts +4 -4
  78. package/src/app/modules/interfaces/file-forms-service/file-input-params.d.ts +13 -13
  79. package/src/app/modules/interfaces/filters/header-filters.d.ts +13 -13
  80. package/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.d.ts +10 -10
  81. package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +19 -19
  82. package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +20 -20
  83. package/src/app/modules/services/crypto.service.d.ts +10 -10
  84. package/src/app/modules/services/export-data.service.d.ts +15 -15
  85. package/src/app/modules/services/file-forms.service.d.ts +7 -7
  86. package/src/app/modules/services/functions.service.d.ts +13 -13
  87. package/src/app/modules/services/generate-pdf.service.d.ts +12 -12
  88. package/src/app/modules/services/http.service.d.ts +21 -21
  89. package/src/app/modules/services/loading/loading.component.d.ts +15 -15
  90. package/src/app/modules/services/local-storage.service.d.ts +49 -49
  91. package/src/app/modules/services/message.service.d.ts +23 -23
  92. package/src/app/modules/services/screen-size-util.d.ts +3 -3
  93. package/src/app/modules/services/session.service.d.ts +14 -14
  94. package/esm2022/public_api.mjs +0 -50
  95. package/esm2022/src/app/modules/brainloper-ui/brainloper-ui.module.mjs +0 -296
  96. package/esm2022/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.mjs +0 -30
  97. package/esm2022/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.mjs +0 -23
  98. package/esm2022/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.mjs +0 -83
  99. package/esm2022/src/app/modules/brainloper-ui/components/carousel/carousel.component.mjs +0 -30
  100. package/esm2022/src/app/modules/brainloper-ui/components/combos/combos.component.mjs +0 -165
  101. package/esm2022/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +0 -501
  102. package/esm2022/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.mjs +0 -122
  103. package/esm2022/src/app/modules/brainloper-ui/components/file-input/file-input.component.mjs +0 -203
  104. package/esm2022/src/app/modules/brainloper-ui/components/filters/filters.component.mjs +0 -226
  105. package/esm2022/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.mjs +0 -84
  106. package/esm2022/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.mjs +0 -85
  107. package/esm2022/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +0 -6
  108. package/esm2022/src/app/modules/services/crypto.service.mjs +0 -38
  109. package/esm2022/src/app/modules/services/export-data.service.mjs +0 -146
  110. package/esm2022/src/app/modules/services/generate-pdf.service.mjs +0 -59
  111. package/esm2022/src/app/modules/services/http.service.mjs +0 -156
  112. package/esm2022/src/app/modules/services/loading/loading.component.mjs +0 -30
  113. package/esm2022/src/app/modules/services/message.service.mjs +0 -198
  114. package/esm2022/src/app/modules/services/session.service.mjs +0 -43
  115. package/fesm2022/brainloper-ui.mjs.map +0 -1
@@ -1,15 +1,15 @@
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
- generateToXlsx<T>(title: string, header: Array<params>, name: string, body?: Array<T>, url?: string, params?: Array<params>, filtersPost?: Array<HeaderFilters<any>>): Promise<void>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ExportDataService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<ExportDataService>;
15
- }
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
+ generateToXlsx<T>(title: string, header: Array<params>, name: string, body?: Array<T>, url?: string, params?: Array<params>, filtersPost?: Array<HeaderFilters<any>>): Promise<void>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportDataService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExportDataService>;
15
+ }
@@ -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,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,12 +1,12 @@
1
- import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
2
- import { TemplatePdfOt } from '../interfaces/report/template-pdf-ot';
3
- import { TemplatePdfFo } from '../interfaces/report/template-pfd-fo';
4
- import * as i0 from "@angular/core";
5
- export declare class GeneratePdfService {
6
- private dialog;
7
- constructor(dialog: MatDialog);
8
- getPdfOt(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<unknown>;
9
- getPdfFo(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<unknown>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePdfService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<GeneratePdfService>;
12
- }
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 * as i0 from "@angular/core";
5
+ export declare class GeneratePdfService {
6
+ private dialog;
7
+ constructor(dialog: MatDialog);
8
+ getPdfOt(data: TemplatePdfOt, autoGenerateData?: boolean): Promise<unknown>;
9
+ getPdfFo(data: TemplatePdfFo, autoGenerateData?: boolean): Promise<unknown>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePdfService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<GeneratePdfService>;
12
+ }
@@ -1,21 +1,21 @@
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
- getData(url: string, params?: any): import("rxjs").Observable<Object>;
9
- postData(url: string, body: any, params?: any): import("rxjs").Observable<Object>;
10
- putData(url: string, body: any, params?: any): import("rxjs").Observable<Object>;
11
- deleteData(url: string, params?: any): import("rxjs").Observable<Object>;
12
- getDataPromise(url: string, params?: any): Promise<unknown>;
13
- postDataPromise(url: string, body: any, params?: any): Promise<unknown>;
14
- putDataPromise(url: string, body: any, params?: any): Promise<unknown>;
15
- deleteDataPromise(url: string, params?: any): Promise<unknown>;
16
- getDataBody<T>(url: string, params?: any): Promise<T>;
17
- postDataBody<T>(url: string, body: any, params?: any): Promise<T>;
18
- putDataBody<T>(url: string, body: any, params?: any): Promise<T>;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<HttpService>;
21
- }
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
+ getData(url: string, params?: any): import("rxjs").Observable<Object>;
9
+ postData(url: string, body: any, params?: any): import("rxjs").Observable<Object>;
10
+ putData(url: string, body: any, params?: any): import("rxjs").Observable<Object>;
11
+ deleteData(url: string, params?: any): import("rxjs").Observable<Object>;
12
+ getDataPromise(url: string, params?: any): Promise<unknown>;
13
+ postDataPromise(url: string, body: any, params?: any): Promise<unknown>;
14
+ putDataPromise(url: string, body: any, params?: any): Promise<unknown>;
15
+ deleteDataPromise(url: string, params?: any): Promise<unknown>;
16
+ getDataBody<T>(url: string, params?: any): Promise<T>;
17
+ postDataBody<T>(url: string, body: any, params?: any): Promise<T>;
18
+ putDataBody<T>(url: string, body: any, params?: any): Promise<T>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<HttpService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<HttpService>;
21
+ }
@@ -1,15 +1,15 @@
1
- import { OnInit } from '@angular/core';
2
- import { AnimationItem } from 'lottie-web';
3
- import { AnimationOptions } from 'ngx-lottie';
4
- import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-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
+ 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 { MatLegacyDialog as MatDialog } from '@angular/material/legacy-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
+ }
@@ -1,50 +0,0 @@
1
- /**
2
- * @modules
3
- * exportacion de modulos adjuntos a brainloper
4
- */
5
- export * from './src/app/modules/brainloper-ui/brainloper-ui.module';
6
- /**
7
- * @Component */
8
- export * from './src/app/modules/brainloper-ui/components/combos/combos.component';
9
- export * from './src/app/modules/brainloper-ui/components/data-table/data-table.component';
10
- export * from './src/app/modules/brainloper-ui/components/file-input/file-input.component';
11
- export * from './src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component';
12
- export * from './src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component';
13
- export * from './src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component';
14
- export * from './src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component';
15
- export * from './src/app/modules/brainloper-ui/components/carousel/carousel.component';
16
- export * from './src/app/modules/brainloper-ui/components/filters/filters.component';
17
- /**
18
- * @services
19
- * exportacion de los servicios creados para brainloper
20
- */
21
- export * from './src/app/modules/services/crypto.service';
22
- export * from './src/app/modules/services/message.service';
23
- export * from './src/app/modules/services/session.service';
24
- export * from './src/app/modules/services/http.service';
25
- export * from './src/app/modules/services/file-forms.service';
26
- export * from './src/app/modules/services/functions.service';
27
- export * from './src/app/modules/services/loading/loading.component';
28
- export * from './src/app/modules/services/generate-pdf.service';
29
- export * from './src/app/modules/services/local-storage.service';
30
- export * from './src/app/modules/services/export-data.service';
31
- export * from './src/app/modules/services/screen-size-util';
32
- /**
33
- * @intefaces
34
- * exportacion de las interfaces utilizadas por brainloper para facilitar la codificacion
35
- */
36
- export * from './src/app/modules/interfaces/data-table/table-columns';
37
- export * from './src/app/modules/interfaces/report/template-pdf-ot';
38
- export * from './src/app/modules/interfaces/data-table/table-configuration';
39
- export * from './src/app/modules/interfaces/combos/combos-configuration';
40
- export * from './src/app/modules/interfaces/file-forms-service/file-forms-params';
41
- export * from './src/app/modules/interfaces/data-table/params';
42
- export * from './src/app/modules/interfaces/file-forms-service/file-input-params';
43
- export * from './src/app/modules/interfaces/menu-break-crumb/menu-break-crumb';
44
- export * from './src/app/modules/interfaces/filters/header-filters';
45
- export * from './src/app/modules/interfaces/buttons/button-lavel-edit';
46
- export * from './src/app/modules/interfaces/buttons/button-icon';
47
- export * from './src/app/modules/interfaces/data-table/rules';
48
- export * from './src/app/modules/interfaces/enum/enumActions';
49
- export * from './src/app/modules/interfaces/enum/enumRules';
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiO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