brainloper-ui 14.0.17 → 14.0.19

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 (93) hide show
  1. package/esm2020/brainloper-ui.mjs +5 -0
  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 +176 -0
  9. package/esm2020/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +691 -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/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.mjs +2 -0
  13. package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.mjs +2 -0
  14. package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.mjs +2 -0
  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/esm2020/src/app/modules/interfaces/buttons/button-icon.mjs +2 -0
  20. package/esm2020/src/app/modules/interfaces/buttons/button-lavel-edit.mjs +2 -0
  21. package/esm2020/src/app/modules/interfaces/combos/combos-configuration.mjs +2 -0
  22. package/esm2020/src/app/modules/interfaces/data-table/params.mjs +2 -0
  23. package/esm2020/src/app/modules/interfaces/data-table/rules.mjs +2 -0
  24. package/esm2020/src/app/modules/interfaces/data-table/table-columns.mjs +2 -0
  25. package/esm2020/src/app/modules/interfaces/data-table/table-configuration.mjs +2 -0
  26. package/esm2020/src/app/modules/interfaces/enum/enumActions.mjs +7 -0
  27. package/esm2020/src/app/modules/interfaces/enum/enumRules.mjs +8 -0
  28. package/esm2020/src/app/modules/interfaces/file-forms-service/file-forms-params.mjs +2 -0
  29. package/esm2020/src/app/modules/interfaces/file-forms-service/file-input-params.mjs +2 -0
  30. package/esm2020/src/app/modules/interfaces/filters/header-filters.mjs +2 -0
  31. package/esm2020/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +8 -0
  32. package/esm2020/src/app/modules/interfaces/report/template-pdf-ot.mjs +2 -0
  33. package/esm2020/src/app/modules/interfaces/report/template-pfd-fo.mjs +2 -0
  34. package/esm2020/src/app/modules/services/crypto.service.mjs +37 -0
  35. package/esm2020/src/app/modules/services/export-data.service.mjs +166 -0
  36. package/esm2020/src/app/modules/services/file-forms.service.mjs +24 -0
  37. package/esm2020/src/app/modules/services/functions.service.mjs +54 -0
  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/esm2020/src/app/modules/services/local-storage.service.mjs +115 -0
  42. package/esm2020/src/app/modules/services/message.service.mjs +200 -0
  43. package/esm2020/src/app/modules/services/screen-size-util.mjs +6 -0
  44. package/esm2020/src/app/modules/services/session.service.mjs +42 -0
  45. package/fesm2015/brainloper-ui.mjs +2945 -0
  46. package/fesm2015/brainloper-ui.mjs.map +1 -0
  47. package/fesm2020/brainloper-ui.mjs +2906 -0
  48. package/fesm2020/brainloper-ui.mjs.map +1 -0
  49. package/index.d.ts +5 -0
  50. package/package.json +2 -5
  51. package/public_api.d.ts +50 -0
  52. package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +73 -0
  53. package/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.d.ts +13 -0
  54. package/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.d.ts +10 -0
  55. package/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.d.ts +24 -0
  56. package/src/app/modules/brainloper-ui/components/carousel/carousel.component.d.ts +12 -0
  57. package/src/app/modules/brainloper-ui/components/combos/combos.component.d.ts +46 -0
  58. package/src/app/modules/brainloper-ui/components/data-table/data-table.component.d.ts +121 -0
  59. package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +21 -0
  60. package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +42 -0
  61. package/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.d.ts +2 -0
  62. package/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.d.ts +2 -0
  63. package/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.d.ts +2 -0
  64. package/src/app/modules/brainloper-ui/components/filters/filters.component.d.ts +30 -0
  65. package/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.d.ts +35 -0
  66. package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts +36 -0
  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 -0
  69. package/src/app/modules/interfaces/buttons/button-lavel-edit.d.ts +6 -0
  70. package/src/app/modules/interfaces/combos/combos-configuration.d.ts +13 -0
  71. package/src/app/modules/interfaces/data-table/params.d.ts +7 -0
  72. package/src/app/modules/interfaces/data-table/rules.d.ts +8 -0
  73. package/src/app/modules/interfaces/data-table/table-columns.d.ts +25 -0
  74. package/src/app/modules/interfaces/data-table/table-configuration.d.ts +25 -0
  75. package/src/app/modules/interfaces/enum/enumActions.d.ts +5 -0
  76. package/src/app/modules/interfaces/enum/enumRules.d.ts +6 -0
  77. package/src/app/modules/interfaces/file-forms-service/file-forms-params.d.ts +4 -0
  78. package/src/app/modules/interfaces/file-forms-service/file-input-params.d.ts +13 -0
  79. package/src/app/modules/interfaces/filters/header-filters.d.ts +13 -0
  80. package/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.d.ts +10 -0
  81. package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +19 -0
  82. package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +20 -0
  83. package/src/app/modules/services/crypto.service.d.ts +10 -0
  84. package/src/app/modules/services/export-data.service.d.ts +18 -0
  85. package/src/app/modules/services/file-forms.service.d.ts +7 -0
  86. package/src/app/modules/services/functions.service.d.ts +13 -0
  87. package/src/app/modules/services/generate-pdf.service.d.ts +12 -0
  88. package/src/app/modules/services/http.service.d.ts +21 -0
  89. package/src/app/modules/services/loading/loading.component.d.ts +15 -0
  90. package/src/app/modules/services/local-storage.service.d.ts +49 -0
  91. package/src/app/modules/services/message.service.d.ts +23 -0
  92. package/src/app/modules/services/screen-size-util.d.ts +3 -0
  93. package/src/app/modules/services/session.service.d.ts +14 -0
@@ -0,0 +1,42 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./crypto.service";
4
+ export class SessionService {
5
+ constructor(cripto) {
6
+ this.cripto = cripto;
7
+ this.key = "V2xoU2JHTnBRbnBpTWxvd1pESkdlVnBUUW10YVYzaHNaRzFXZG1OSE1XeGlibEU9"; //btoa 3 rounds
8
+ }
9
+ getMain() {
10
+ const info = sessionStorage.getItem(this.key);
11
+ if (info) {
12
+ return this.cripto.decode(info);
13
+ }
14
+ return {};
15
+ }
16
+ keyAssign(key) {
17
+ this.key = key;
18
+ }
19
+ getData(key) {
20
+ var sesion = this.getMain();
21
+ return sesion[key] || '';
22
+ }
23
+ setData(key, value) {
24
+ var actual = this.getMain() || {};
25
+ actual[key] = value;
26
+ const dataF = this.cripto.encode(actual);
27
+ sessionStorage.setItem(this.key, dataF);
28
+ }
29
+ getSessionVars() {
30
+ const info = this.getMain();
31
+ return info || {};
32
+ }
33
+ }
34
+ SessionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionService, deps: [{ token: i1.CryptoService }], target: i0.ɵɵFactoryTarget.Injectable });
35
+ SessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionService, providedIn: 'root' });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SessionService, decorators: [{
37
+ type: Injectable,
38
+ args: [{
39
+ providedIn: 'root'
40
+ }]
41
+ }], ctorParameters: function () { return [{ type: i1.CryptoService }]; } });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL3NlcnZpY2VzL3Nlc3Npb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFNM0MsTUFBTSxPQUFPLGNBQWM7SUFHdkIsWUFBb0IsTUFBcUI7UUFBckIsV0FBTSxHQUFOLE1BQU0sQ0FBZTtRQUR6QyxRQUFHLEdBQUcsa0VBQWtFLENBQUMsQ0FBRSxlQUFlO0lBRTFGLENBQUM7SUFFTyxPQUFPO1FBQ1gsTUFBTSxJQUFJLEdBQUcsY0FBYyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7UUFDOUMsSUFBSSxJQUFJLEVBQUU7WUFDTixPQUF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