@jvsoft/components 0.0.5 → 0.0.6

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.
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "@jvsoft/components",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "tag": "development"
7
+ },
4
8
  "peerDependencies": {
5
9
  "@angular/common": ">=16.0.0",
6
10
  "@angular/core": ">=16.0.0",
@@ -34,14 +38,14 @@
34
38
  "types": "./mat-suffix-search-button/index.d.ts",
35
39
  "default": "./fesm2022/jvsoft-components-mat-suffix-search-button.mjs"
36
40
  },
37
- "./tabla-mantenimiento": {
38
- "types": "./tabla-mantenimiento/index.d.ts",
39
- "default": "./fesm2022/jvsoft-components-tabla-mantenimiento.mjs"
40
- },
41
41
  "./luces-navidad": {
42
42
  "types": "./luces-navidad/index.d.ts",
43
43
  "default": "./fesm2022/jvsoft-components-luces-navidad.mjs"
44
44
  },
45
+ "./tabla-mantenimiento": {
46
+ "types": "./tabla-mantenimiento/index.d.ts",
47
+ "default": "./fesm2022/jvsoft-components-tabla-mantenimiento.mjs"
48
+ },
45
49
  "./tabla-mantenimiento/components/progress-bar": {
46
50
  "types": "./tabla-mantenimiento/components/progress-bar/index.d.ts",
47
51
  "default": "./fesm2022/jvsoft-components-tabla-mantenimiento-components-progress-bar.mjs"
@@ -28,6 +28,7 @@ export interface IconsIcon {
28
28
  export type TiposColumnasNuevo = 'text' | 'checkbox' | 'money' | 'icon' | 'icons' | 'progress' | 'expandir' | 'date' | 'number';
29
29
  type PropiedadString<T> = Extract<keyof T, string>;
30
30
  interface BaseColumna<T> {
31
+ tableDataIndex?: number;
31
32
  label: string;
32
33
  labelLista?: string;
33
34
  property: PropiedadString<T> | string;
@@ -45,8 +46,11 @@ interface BaseColumna<T> {
45
46
  datosExtra?: any;
46
47
  reporte?: ColumnaTablaReporte;
47
48
  innerHTMLInvisible?: (row: any) => string;
49
+ /** @deprecated usar `visible` en su lugar: ejm: visible: ():boolean => {}, visible: boolean */
48
50
  esVisible?: () => boolean;
51
+ /** @deprecated usar `noMostrarEnLista` en su lugar: ejm: noMostrarEnLista: ():boolean => {}, noMostrarEnLista: boolean */
49
52
  noMostrar?: () => boolean;
53
+ noMostrarEnLista?: TipoValorFuncion<boolean>;
50
54
  click?: (row: any) => void;
51
55
  transformar?: (row: any) => any;
52
56
  transformarFooter?: () => any;
@@ -1,2 +1,2 @@
1
1
  export type TipoValorFuncion<T> = T | ((...param: any) => T);
2
- export declare function tipoValorFuncion<T>(datoParam: T, ...param: any[]): T;
2
+ export declare function tipoValorFuncion<T>(datoParam: TipoValorFuncion<T>, defaultValue?: T, ...param: any[]): T | undefined;
@@ -1,6 +1,7 @@
1
1
  import { BehaviorSubject } from 'rxjs';
2
2
  import { TiposOpciones } from './boton-mantenimiento';
3
3
  export interface OpcionSeleccionada {
4
+ readonly tableDataIndex?: number;
4
5
  item?: any;
5
6
  seccion: string;
6
7
  tipo: TiposOpciones;