brainloper-ui 14.0.43 → 14.0.44

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 (95) hide show
  1. package/esm2020/brainloper-ui.mjs +4 -4
  2. package/esm2020/public_api.mjs +55 -55
  3. package/esm2020/src/app/modules/brainloper-ui/brainloper-ui.module.mjs +309 -309
  4. package/esm2020/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.mjs +28 -28
  5. package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.mjs +22 -22
  6. package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.mjs +82 -82
  7. package/esm2020/src/app/modules/brainloper-ui/components/carousel/carousel.component.mjs +36 -36
  8. package/esm2020/src/app/modules/brainloper-ui/components/combos/combos.component.mjs +175 -175
  9. package/esm2020/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +728 -732
  10. package/esm2020/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.mjs +117 -117
  11. package/esm2020/src/app/modules/brainloper-ui/components/file-input/file-input.component.mjs +185 -185
  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 +221 -221
  16. package/esm2020/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.mjs +79 -79
  17. package/esm2020/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.mjs +80 -80
  18. package/esm2020/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.mjs +107 -107
  19. package/esm2020/src/app/modules/directives/carousel-item.directive.mjs +17 -17
  20. package/esm2020/src/app/modules/interfaces/buttons/button-icon.mjs +1 -1
  21. package/esm2020/src/app/modules/interfaces/buttons/button-lavel-edit.mjs +1 -1
  22. package/esm2020/src/app/modules/interfaces/combos/combos-configuration.mjs +1 -1
  23. package/esm2020/src/app/modules/interfaces/data-table/params.mjs +1 -1
  24. package/esm2020/src/app/modules/interfaces/data-table/rules.mjs +1 -1
  25. package/esm2020/src/app/modules/interfaces/data-table/table-columns.mjs +1 -1
  26. package/esm2020/src/app/modules/interfaces/data-table/table-configuration.mjs +1 -1
  27. package/esm2020/src/app/modules/interfaces/enum/enumActions.mjs +7 -7
  28. package/esm2020/src/app/modules/interfaces/enum/enumRules.mjs +7 -7
  29. package/esm2020/src/app/modules/interfaces/file-forms-service/file-forms-params.mjs +1 -1
  30. package/esm2020/src/app/modules/interfaces/file-forms-service/file-input-params.mjs +1 -1
  31. package/esm2020/src/app/modules/interfaces/filters/header-filters.mjs +1 -1
  32. package/esm2020/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +7 -7
  33. package/esm2020/src/app/modules/interfaces/report/template-pdf-ot.mjs +1 -1
  34. package/esm2020/src/app/modules/interfaces/report/template-pfd-fo.mjs +1 -1
  35. package/esm2020/src/app/modules/services/crypto.service.mjs +36 -36
  36. package/esm2020/src/app/modules/services/export-data.service.mjs +165 -165
  37. package/esm2020/src/app/modules/services/file-forms.service.mjs +23 -23
  38. package/esm2020/src/app/modules/services/functions.service.mjs +53 -53
  39. package/esm2020/src/app/modules/services/generate-pdf.service.mjs +57 -57
  40. package/esm2020/src/app/modules/services/http.service.mjs +96 -96
  41. package/esm2020/src/app/modules/services/loading/loading.component.mjs +27 -27
  42. package/esm2020/src/app/modules/services/local-storage.service.mjs +114 -114
  43. package/esm2020/src/app/modules/services/message.service.mjs +199 -199
  44. package/esm2020/src/app/modules/services/screen-size-util.mjs +5 -5
  45. package/esm2020/src/app/modules/services/session.service.mjs +41 -41
  46. package/fesm2015/brainloper-ui.mjs +2809 -2813
  47. package/fesm2015/brainloper-ui.mjs.map +1 -1
  48. package/fesm2020/brainloper-ui.mjs +2769 -2773
  49. package/fesm2020/brainloper-ui.mjs.map +1 -1
  50. package/index.d.ts +5 -5
  51. package/package.json +1 -1
  52. package/public_api.d.ts +55 -55
  53. package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +74 -74
  54. package/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.d.ts +13 -13
  55. package/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.d.ts +10 -10
  56. package/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.d.ts +24 -24
  57. package/src/app/modules/brainloper-ui/components/carousel/carousel.component.d.ts +15 -15
  58. package/src/app/modules/brainloper-ui/components/combos/combos.component.d.ts +46 -46
  59. package/src/app/modules/brainloper-ui/components/data-table/data-table.component.d.ts +125 -125
  60. package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +21 -21
  61. package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +42 -42
  62. package/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.d.ts +2 -2
  63. package/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.d.ts +2 -2
  64. package/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.d.ts +2 -2
  65. package/src/app/modules/brainloper-ui/components/filters/filters.component.d.ts +30 -30
  66. package/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.d.ts +35 -35
  67. package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts +36 -36
  68. package/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.d.ts +26 -26
  69. package/src/app/modules/directives/carousel-item.directive.d.ts +9 -9
  70. package/src/app/modules/interfaces/buttons/button-icon.d.ts +9 -9
  71. package/src/app/modules/interfaces/buttons/button-lavel-edit.d.ts +6 -6
  72. package/src/app/modules/interfaces/combos/combos-configuration.d.ts +13 -13
  73. package/src/app/modules/interfaces/data-table/params.d.ts +7 -7
  74. package/src/app/modules/interfaces/data-table/rules.d.ts +8 -8
  75. package/src/app/modules/interfaces/data-table/table-columns.d.ts +25 -25
  76. package/src/app/modules/interfaces/data-table/table-configuration.d.ts +26 -26
  77. package/src/app/modules/interfaces/enum/enumActions.d.ts +6 -6
  78. package/src/app/modules/interfaces/enum/enumRules.d.ts +6 -6
  79. package/src/app/modules/interfaces/file-forms-service/file-forms-params.d.ts +4 -4
  80. package/src/app/modules/interfaces/file-forms-service/file-input-params.d.ts +13 -13
  81. package/src/app/modules/interfaces/filters/header-filters.d.ts +13 -13
  82. package/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.d.ts +10 -10
  83. package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +19 -19
  84. package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +20 -20
  85. package/src/app/modules/services/crypto.service.d.ts +10 -10
  86. package/src/app/modules/services/export-data.service.d.ts +18 -18
  87. package/src/app/modules/services/file-forms.service.d.ts +7 -7
  88. package/src/app/modules/services/functions.service.d.ts +13 -13
  89. package/src/app/modules/services/generate-pdf.service.d.ts +12 -12
  90. package/src/app/modules/services/http.service.d.ts +22 -22
  91. package/src/app/modules/services/loading/loading.component.d.ts +15 -15
  92. package/src/app/modules/services/local-storage.service.d.ts +49 -49
  93. package/src/app/modules/services/message.service.d.ts +23 -23
  94. package/src/app/modules/services/screen-size-util.d.ts +3 -3
  95. package/src/app/modules/services/session.service.d.ts +14 -14
@@ -1,20 +1,20 @@
1
- export interface TemplatePdfFo {
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
- id_place?: string;
12
- approved_by?: string;
13
- description?: string;
14
- detalle?: string;
15
- consecutive?: string;
16
- namePlace?: string;
17
- addressPlace?: string;
18
- area?: string;
19
- odometer?: string;
20
- }
1
+ export interface TemplatePdfFo {
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
+ id_place?: string;
12
+ approved_by?: string;
13
+ description?: string;
14
+ detalle?: string;
15
+ consecutive?: string;
16
+ namePlace?: string;
17
+ addressPlace?: string;
18
+ area?: string;
19
+ odometer?: string;
20
+ }
@@ -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,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 { 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
+ 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,22 +1,22 @@
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 * 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,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
+ }