ngx-dsxlibrary 1.0.54 → 1.0.56

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 (74) hide show
  1. package/fesm2022/ngx-dsxlibrary-src-lib-components.mjs +12 -12
  2. package/fesm2022/ngx-dsxlibrary-src-lib-components.mjs.map +1 -1
  3. package/fesm2022/ngx-dsxlibrary-src-lib-pipe.mjs +6 -6
  4. package/fesm2022/ngx-dsxlibrary-src-lib-pipe.mjs.map +1 -1
  5. package/fesm2022/ngx-dsxlibrary.mjs +68 -75
  6. package/fesm2022/ngx-dsxlibrary.mjs.map +1 -1
  7. package/index.d.ts +646 -3
  8. package/ngx-dsxlibrary-1.0.56.tgz +0 -0
  9. package/package.json +9 -13
  10. package/src/lib/components/index.d.ts +24 -5
  11. package/src/lib/directives/index.d.ts +2 -5
  12. package/src/lib/injections/index.d.ts +2 -5
  13. package/src/lib/interceptors/index.d.ts +2 -5
  14. package/src/lib/models/index.d.ts +79 -3
  15. package/src/lib/pipe/index.d.ts +25 -5
  16. package/src/lib/services/index.d.ts +2 -5
  17. package/src/lib/validations/index.d.ts +2 -5
  18. package/lib/components/app-message-error/app-message-error.component.d.ts +0 -8
  19. package/lib/components/index.d.ts +0 -1
  20. package/lib/components/json-values-debuj/json-values-debuj.component.d.ts +0 -10
  21. package/lib/components/kpicard/kpicard.component.d.ts +0 -13
  22. package/lib/components/loading/loading.component.d.ts +0 -9
  23. package/lib/components/navbar-dsx/navbar-dsx.component.d.ts +0 -21
  24. package/lib/components/public-api.d.ts +0 -2
  25. package/lib/directives/only-rango-pattern.directive.d.ts +0 -39
  26. package/lib/directives/select-all-on-focus.directive.d.ts +0 -6
  27. package/lib/injections/cache.token.d.ts +0 -2
  28. package/lib/injections/environment.token.d.ts +0 -10
  29. package/lib/injections/parameterSecurity.d.ts +0 -3
  30. package/lib/interceptors/http-authorize.interceptor.d.ts +0 -2
  31. package/lib/models/index.d.ts +0 -1
  32. package/lib/models/public-api.d.ts +0 -6
  33. package/lib/models/src/cache.types.d.ts +0 -18
  34. package/lib/models/src/column.model.d.ts +0 -9
  35. package/lib/models/src/error.model.d.ts +0 -9
  36. package/lib/models/src/extensions.model.d.ts +0 -15
  37. package/lib/models/src/field-config.model.d.ts +0 -7
  38. package/lib/models/src/response-http.model.d.ts +0 -7
  39. package/lib/models/src/securityParameter.model.d.ts +0 -17
  40. package/lib/models/src/token.model.d.ts +0 -5
  41. package/lib/pipe/index.d.ts +0 -1
  42. package/lib/pipe/json-highlight.pipe.d.ts +0 -7
  43. package/lib/pipe/public-api.d.ts +0 -2
  44. package/lib/pipe/truncate.pipe.d.ts +0 -16
  45. package/lib/services/alerta.service.d.ts +0 -116
  46. package/lib/services/authorize.service.d.ts +0 -21
  47. package/lib/services/cache.service.d.ts +0 -40
  48. package/lib/services/endpoint.service.d.ts +0 -14
  49. package/lib/services/error-handler.service.d.ts +0 -9
  50. package/lib/services/parameter-values.service.d.ts +0 -11
  51. package/lib/services/security.service.d.ts +0 -23
  52. package/lib/services/spinner-loading.service.d.ts +0 -9
  53. package/lib/services/utility-add.service.d.ts +0 -168
  54. package/lib/validations/addons.validators.d.ts +0 -32
  55. package/ngx-dsxlibrary-1.0.54.tgz +0 -0
  56. package/public-api.d.ts +0 -20
  57. package/src/lib/components/app-message-error/app-message-error.component.d.ts +0 -8
  58. package/src/lib/components/kpicard/kpicard.component.d.ts +0 -13
  59. package/src/lib/components/public-api.d.ts +0 -2
  60. package/src/lib/directives/public-api.d.ts +0 -1
  61. package/src/lib/injections/public-api.d.ts +0 -1
  62. package/src/lib/interceptors/public-api.d.ts +0 -1
  63. package/src/lib/models/public-api.d.ts +0 -6
  64. package/src/lib/models/src/cache.types.d.ts +0 -18
  65. package/src/lib/models/src/column.model.d.ts +0 -9
  66. package/src/lib/models/src/extensions.model.d.ts +0 -15
  67. package/src/lib/models/src/field-config.model.d.ts +0 -7
  68. package/src/lib/models/src/response-http.model.d.ts +0 -7
  69. package/src/lib/models/src/securityParameter.model.d.ts +0 -17
  70. package/src/lib/pipe/json-highlight.pipe.d.ts +0 -7
  71. package/src/lib/pipe/public-api.d.ts +0 -2
  72. package/src/lib/pipe/truncate.pipe.d.ts +0 -16
  73. package/src/lib/services/public-api.d.ts +0 -1
  74. package/src/lib/validations/public-api.d.ts +0 -1
package/package.json CHANGED
@@ -1,12 +1,8 @@
1
1
  {
2
2
  "name": "ngx-dsxlibrary",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "description": "Libreria para control de código automatizado.",
5
5
  "author": "DevSoftXela",
6
- "peerDependencies": {
7
- "@angular/common": "^19.2.14",
8
- "@angular/core": "19.2.14"
9
- },
10
6
  "dependencies": {
11
7
  "tslib": "^2.3.0"
12
8
  },
@@ -33,22 +29,22 @@
33
29
  "types": "./src/lib/injections/index.d.ts",
34
30
  "default": "./fesm2022/ngx-dsxlibrary-src-lib-injections.mjs"
35
31
  },
36
- "./src/lib/pipe": {
37
- "types": "./src/lib/pipe/index.d.ts",
38
- "default": "./fesm2022/ngx-dsxlibrary-src-lib-pipe.mjs"
39
- },
40
32
  "./src/lib/interceptors": {
41
33
  "types": "./src/lib/interceptors/index.d.ts",
42
34
  "default": "./fesm2022/ngx-dsxlibrary-src-lib-interceptors.mjs"
43
35
  },
44
- "./src/lib/services": {
45
- "types": "./src/lib/services/index.d.ts",
46
- "default": "./fesm2022/ngx-dsxlibrary-src-lib-services.mjs"
47
- },
48
36
  "./src/lib/models": {
49
37
  "types": "./src/lib/models/index.d.ts",
50
38
  "default": "./fesm2022/ngx-dsxlibrary-src-lib-models.mjs"
51
39
  },
40
+ "./src/lib/pipe": {
41
+ "types": "./src/lib/pipe/index.d.ts",
42
+ "default": "./fesm2022/ngx-dsxlibrary-src-lib-pipe.mjs"
43
+ },
44
+ "./src/lib/services": {
45
+ "types": "./src/lib/services/index.d.ts",
46
+ "default": "./fesm2022/ngx-dsxlibrary-src-lib-services.mjs"
47
+ },
52
48
  "./src/lib/validations": {
53
49
  "types": "./src/lib/validations/index.d.ts",
54
50
  "default": "./fesm2022/ngx-dsxlibrary-src-lib-validations.mjs"
@@ -1,5 +1,24 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-dsxlibrary/src/lib/components" />
5
- export * from './public-api';
1
+ import { AbstractControl, FormGroup } from '@angular/forms';
2
+ import * as _angular_core from '@angular/core';
3
+
4
+ declare class AppMessageErrorComponent {
5
+ control: AbstractControl | null;
6
+ form: FormGroup | null;
7
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppMessageErrorComponent, never>;
8
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppMessageErrorComponent, "app-message-error", never, { "control": { "alias": "control"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, true, never>;
9
+ }
10
+
11
+ declare class KpicardComponent {
12
+ option: _angular_core.InputSignal<"currency" | "integer" | "percent">;
13
+ label: _angular_core.InputSignal<string>;
14
+ iconType: _angular_core.InputSignal<string>;
15
+ color: _angular_core.InputSignal<string | undefined>;
16
+ valor: _angular_core.InputSignal<number>;
17
+ theme: _angular_core.InputSignal<"light" | "dark" | "aqua" | "sunset" | "mint" | "peach" | "plasma" | "nebula">;
18
+ options: Record<'currency' | 'integer' | 'percent', any>;
19
+ getSelectedOption(): any;
20
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<KpicardComponent, never>;
21
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<KpicardComponent, "app-kpicard", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "iconType": { "alias": "iconType"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "valor": { "alias": "valor"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
22
+ }
23
+
24
+ export { AppMessageErrorComponent, KpicardComponent };
@@ -1,5 +1,2 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-dsxlibrary/src/lib/directives" />
5
- export * from './public-api';
1
+
2
+ export { };
@@ -1,5 +1,2 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-dsxlibrary/src/lib/injections" />
5
- export * from './public-api';
1
+
2
+ export { };
@@ -1,5 +1,2 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-dsxlibrary/src/lib/interceptors" />
5
- export * from './public-api';
1
+
2
+ export { };
@@ -1,5 +1,81 @@
1
+ type InferCacheKeyType<T extends Record<string, string>> = keyof T;
1
2
  /**
2
- * Generated bundle index. Do not edit.
3
+ * Transforma un tipo de mapa `T` cuyas claves son simbólicas
4
+ * y cuyos valores son nombres de propiedades reales de caché,
5
+ * a un objeto donde esas propiedades reales son claves booleanas.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * type T = { cliente: 'invalidateCacheCliente' };
10
+ * InferCacheOptions<T> // { invalidateCacheCliente: boolean }
11
+ * ```
3
12
  */
4
- /// <amd-module name="ngx-dsxlibrary/src/lib/models" />
5
- export * from './public-api';
13
+ type InferCacheOptions<T extends Record<string, string>> = {
14
+ [K in keyof T as T[K]]: boolean;
15
+ };
16
+ declare function createInitialCache<T extends Record<string, string>>(cacheKeys: T): {
17
+ -readonly [K in keyof T as T[K]]: boolean;
18
+ };
19
+
20
+ interface ExportColumn {
21
+ title: string;
22
+ dataKey: string;
23
+ }
24
+ interface Column {
25
+ field: string;
26
+ header?: string;
27
+ customExportHeader: string;
28
+ }
29
+
30
+ interface typeModel<T> {
31
+ values: T[];
32
+ }
33
+ interface T {
34
+ [key: string]: any;
35
+ }
36
+ type TipoFechaConversion = 'short' | 'zh';
37
+ interface FechasConversion {
38
+ nombre: string;
39
+ tipo: TipoFechaConversion;
40
+ }
41
+ interface FilterOption {
42
+ value: string;
43
+ field?: string;
44
+ }
45
+
46
+ type FieldConfig<T> = {
47
+ [K in keyof T]: {
48
+ value: T[K] | null;
49
+ disabled?: boolean;
50
+ validators?: any[];
51
+ };
52
+ };
53
+
54
+ interface ResponseHttpModel {
55
+ isSuccess: boolean;
56
+ statusCode: number;
57
+ title: string;
58
+ statusMessage: string;
59
+ isAdmin: boolean;
60
+ }
61
+
62
+ interface ParameterValue {
63
+ value: number;
64
+ }
65
+ interface ParameterSecurity {
66
+ parameterName: string;
67
+ parameterValues: ParameterValue[];
68
+ }
69
+ interface SeguridadITParameter {
70
+ sistemaId: number;
71
+ sistema: string;
72
+ parameterBase: string | null;
73
+ parameterSecurity: ParameterSecurity[];
74
+ }
75
+ interface MyParameterValues {
76
+ parameterName: string;
77
+ values: number[];
78
+ }
79
+
80
+ export { createInitialCache };
81
+ export type { Column, ExportColumn, FechasConversion, FieldConfig, FilterOption, InferCacheKeyType, InferCacheOptions, MyParameterValues, ParameterSecurity, ParameterValue, ResponseHttpModel, SeguridadITParameter, T, TipoFechaConversion, typeModel };
@@ -1,5 +1,25 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-dsxlibrary/src/lib/pipe" />
5
- export * from './public-api';
1
+ import * as i0 from '@angular/core';
2
+ import { PipeTransform } from '@angular/core';
3
+
4
+ declare class JsonHighlightPipe implements PipeTransform {
5
+ transform(value: any): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<JsonHighlightPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<JsonHighlightPipe, "jsonHighlight", true>;
8
+ }
9
+
10
+ declare class TruncatePipe implements PipeTransform {
11
+ /**
12
+ * Transforma una cadena de texto truncándola según los parámetros proporcionados.
13
+ *
14
+ * @param value - La cadena de texto que se desea truncar.
15
+ * @param limit - El número máximo de caracteres permitidos. Por defecto es 100. Si no se encuentra un espacio dentro del límite, usa el límite original (15).
16
+ * @param completeWords - Si es true, evita cortar palabras a la mitad. Por defecto es false.
17
+ * @param ellipsis - La cadena que se añadirá al final del texto truncado. Por defecto es '...'.
18
+ * @returns La cadena truncada con el ellipsis añadido, si es necesario.
19
+ */
20
+ transform(value: string, limit?: number, completeWords?: boolean, ellipsis?: string): string;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
22
+ static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
23
+ }
24
+
25
+ export { JsonHighlightPipe, TruncatePipe };
@@ -1,5 +1,2 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-dsxlibrary/src/lib/services" />
5
- export * from './public-api';
1
+
2
+ export { };
@@ -1,5 +1,2 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-dsxlibrary/src/lib/validations" />
5
- export * from './public-api';
1
+
2
+ export { };
@@ -1,8 +0,0 @@
1
- import { AbstractControl, FormGroup } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class AppMessageErrorComponent {
4
- control: AbstractControl | null;
5
- form: FormGroup | null;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AppMessageErrorComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AppMessageErrorComponent, "app-message-error", never, { "control": { "alias": "control"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, true, never>;
8
- }
@@ -1 +0,0 @@
1
- export * from './public-api';
@@ -1,10 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class JsonValuesDebujComponent {
4
- form: FormGroup;
5
- private environment;
6
- private readonly isDevSignal;
7
- isDev(): boolean;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<JsonValuesDebujComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<JsonValuesDebujComponent, "app-json-values-debuj", never, { "form": { "alias": "form"; "required": false; }; }, {}, never, never, true, never>;
10
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class KpicardComponent {
3
- option: import("@angular/core").InputSignal<"currency" | "integer" | "percent">;
4
- label: import("@angular/core").InputSignal<string>;
5
- iconType: import("@angular/core").InputSignal<string>;
6
- color: import("@angular/core").InputSignal<string | undefined>;
7
- valor: import("@angular/core").InputSignal<number>;
8
- theme: import("@angular/core").InputSignal<"light" | "dark" | "aqua" | "sunset" | "mint" | "peach" | "plasma" | "nebula">;
9
- options: Record<'currency' | 'integer' | 'percent', any>;
10
- getSelectedOption(): any;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<KpicardComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<KpicardComponent, "app-kpicard", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "iconType": { "alias": "iconType"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "valor": { "alias": "valor"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
13
- }
@@ -1,9 +0,0 @@
1
- import { SpinnerLoadingService } from '../../services/spinner-loading.service';
2
- import * as i0 from "@angular/core";
3
- export declare class LoadingComponent {
4
- currentYear: number;
5
- constructor();
6
- _spinnerService: SpinnerLoadingService;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "app-loading", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,21 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { AlertaService } from '../../services/alerta.service';
3
- import { ParameterValuesService } from '../../services/parameter-values.service';
4
- import { SecurityService } from '../../services/security.service';
5
- import * as i0 from "@angular/core";
6
- export declare class NavbarDsxComponent implements OnInit {
7
- _securityService: SecurityService;
8
- _parameterSecurityService: ParameterValuesService;
9
- _alertaService: AlertaService;
10
- logoWidth: import("@angular/core").InputSignal<string>;
11
- appVersion: import("@angular/core").InputSignal<string>;
12
- urlLogo: import("@angular/core").InputSignal<string>;
13
- checked: boolean;
14
- ngOnInit(): void;
15
- initializeTheme(): void;
16
- onThemeChange(isDarkMode: boolean): void;
17
- applyTheme(theme: string): void;
18
- actualizarSeguridadIT(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<NavbarDsxComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<NavbarDsxComponent, "app-navbar-dsx", never, { "logoWidth": { "alias": "logoWidth"; "required": false; "isSignal": true; }; "appVersion": { "alias": "appVersion"; "required": false; "isSignal": true; }; "urlLogo": { "alias": "urlLogo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
21
- }
@@ -1,2 +0,0 @@
1
- export * from './app-message-error/app-message-error.component';
2
- export * from './kpicard/kpicard.component';
@@ -1,39 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Directiva que permite solo la entrada de:
5
- * - Dígitos (0-9)
6
- * - Separadores punto (.)
7
- * - Rango con guión (-)
8
- *
9
- * Ejemplos válidos:
10
- * - 1.2.3
11
- * - 4-6
12
- * - 1.3.5-9
13
- *
14
- * Restringe:
15
- * - Letras
16
- * - Espacios
17
- * - Caracteres especiales
18
- * - Doble punto (..), doble guión (--), o combinaciones como (.-)
19
- */
20
- export declare class OnlyRangoPatternDirective {
21
- private el;
22
- constructor(el: ElementRef<HTMLInputElement>);
23
- /**
24
- * Expresión regular para permitir caracteres válidos individualmente (tecla por tecla).
25
- */
26
- private keyRegex;
27
- /**
28
- * Escucha el evento de teclado y permite únicamente teclas válidas.
29
- * También evita combinaciones inválidas como `..`, `--`, `.1`, etc.
30
- */
31
- onKeyDown(event: KeyboardEvent): void;
32
- /**
33
- * Previene el pegado de cadenas que no cumplan con la estructura válida.
34
- * Solo permite: número o número separados por punto o guión correctamente.
35
- */
36
- onPaste(event: ClipboardEvent): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<OnlyRangoPatternDirective, never>;
38
- static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyRangoPatternDirective, "[appOnlyRangoPattern]", never, {}, {}, never, never, true, never>;
39
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SelectAllOnFocusDirective {
3
- selectAll(event: Event): void;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectAllOnFocusDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectAllOnFocusDirective, "[appSelectAllOnFocus]", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,2 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const CACHE_KEYS: InjectionToken<Record<string, string>>;
@@ -1,10 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export interface EnvironmentConfig {
3
- production: boolean;
4
- myAppUrl: string;
5
- tokenName: string;
6
- tokenNameRF: string;
7
- sessionStatus: string;
8
- refreshTokenExpiry: string;
9
- }
10
- export declare const ENVIRONMENT: InjectionToken<EnvironmentConfig>;
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { MyParameterValues } from '../models/src/securityParameter.model';
3
- export declare const INITIAL_PARAMETERS: InjectionToken<MyParameterValues[]>;
@@ -1,2 +0,0 @@
1
- import { HttpInterceptorFn } from '@angular/common/http';
2
- export declare const httpAuthorizeInterceptor: HttpInterceptorFn;
@@ -1 +0,0 @@
1
- export * from './public-api';
@@ -1,6 +0,0 @@
1
- export * from './src/cache.types';
2
- export * from './src/column.model';
3
- export * from './src/extensions.model';
4
- export * from './src/field-config.model';
5
- export * from './src/response-http.model';
6
- export * from './src/securityParameter.model';
@@ -1,18 +0,0 @@
1
- export type InferCacheKeyType<T extends Record<string, string>> = keyof T;
2
- /**
3
- * Transforma un tipo de mapa `T` cuyas claves son simbólicas
4
- * y cuyos valores son nombres de propiedades reales de caché,
5
- * a un objeto donde esas propiedades reales son claves booleanas.
6
- *
7
- * @example
8
- * ```ts
9
- * type T = { cliente: 'invalidateCacheCliente' };
10
- * InferCacheOptions<T> // { invalidateCacheCliente: boolean }
11
- * ```
12
- */
13
- export type InferCacheOptions<T extends Record<string, string>> = {
14
- [K in keyof T as T[K]]: boolean;
15
- };
16
- export declare function createInitialCache<T extends Record<string, string>>(cacheKeys: T): {
17
- -readonly [K in keyof T as T[K]]: boolean;
18
- };
@@ -1,9 +0,0 @@
1
- export interface ExportColumn {
2
- title: string;
3
- dataKey: string;
4
- }
5
- export interface Column {
6
- field: string;
7
- header?: string;
8
- customExportHeader: string;
9
- }
@@ -1,9 +0,0 @@
1
- export interface ErrorModel {
2
- status: number;
3
- statusText: string;
4
- url: string;
5
- ok: boolean;
6
- name: string;
7
- message: string;
8
- error: string;
9
- }
@@ -1,15 +0,0 @@
1
- export interface typeModel<T> {
2
- values: T[];
3
- }
4
- export interface T {
5
- [key: string]: any;
6
- }
7
- export type TipoFechaConversion = 'short' | 'zh';
8
- export interface FechasConversion {
9
- nombre: string;
10
- tipo: TipoFechaConversion;
11
- }
12
- export interface FilterOption {
13
- value: string;
14
- field?: string;
15
- }
@@ -1,7 +0,0 @@
1
- export type FieldConfig<T> = {
2
- [K in keyof T]: {
3
- value: T[K] | null;
4
- disabled?: boolean;
5
- validators?: any[];
6
- };
7
- };
@@ -1,7 +0,0 @@
1
- export interface ResponseHttpModel {
2
- isSuccess: boolean;
3
- statusCode: number;
4
- title: string;
5
- statusMessage: string;
6
- isAdmin: boolean;
7
- }
@@ -1,17 +0,0 @@
1
- export interface ParameterValue {
2
- value: number;
3
- }
4
- export interface ParameterSecurity {
5
- parameterName: string;
6
- parameterValues: ParameterValue[];
7
- }
8
- export interface SeguridadITParameter {
9
- sistemaId: number;
10
- sistema: string;
11
- parameterBase: string | null;
12
- parameterSecurity: ParameterSecurity[];
13
- }
14
- export interface MyParameterValues {
15
- parameterName: string;
16
- values: number[];
17
- }
@@ -1,5 +0,0 @@
1
- export interface ModelToken {
2
- token: string;
3
- tokenRefresh: string;
4
- refreshTokenExpiry: Date;
5
- }
@@ -1 +0,0 @@
1
- export * from './public-api';
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class JsonHighlightPipe implements PipeTransform {
4
- transform(value: any): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<JsonHighlightPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<JsonHighlightPipe, "jsonHighlight", true>;
7
- }
@@ -1,2 +0,0 @@
1
- export * from './json-highlight.pipe';
2
- export * from './truncate.pipe';
@@ -1,16 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TruncatePipe implements PipeTransform {
4
- /**
5
- * Transforma una cadena de texto truncándola según los parámetros proporcionados.
6
- *
7
- * @param value - La cadena de texto que se desea truncar.
8
- * @param limit - El número máximo de caracteres permitidos. Por defecto es 100. Si no se encuentra un espacio dentro del límite, usa el límite original (15).
9
- * @param completeWords - Si es true, evita cortar palabras a la mitad. Por defecto es false.
10
- * @param ellipsis - La cadena que se añadirá al final del texto truncado. Por defecto es '...'.
11
- * @returns La cadena truncada con el ellipsis añadido, si es necesario.
12
- */
13
- transform(value: string, limit?: number, completeWords?: boolean, ellipsis?: string): string;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
15
- static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
16
- }