@jvsoft/components 1.0.0-alpha.15 → 1.0.0-alpha.16
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/fesm2022/jvsoft-components-alerta.mjs +19 -20
- package/fesm2022/jvsoft-components-alerta.mjs.map +1 -1
- package/fesm2022/jvsoft-components-dialog-flotante.mjs +15 -15
- package/fesm2022/jvsoft-components-dialog-flotante.mjs.map +1 -1
- package/fesm2022/jvsoft-components-filtro-busqueda.mjs +19 -19
- package/fesm2022/jvsoft-components-filtro-busqueda.mjs.map +1 -1
- package/fesm2022/jvsoft-components-foto-persona.mjs +481 -0
- package/fesm2022/jvsoft-components-foto-persona.mjs.map +1 -0
- package/fesm2022/jvsoft-components-lista-arbol.mjs +32 -34
- package/fesm2022/jvsoft-components-lista-arbol.mjs.map +1 -1
- package/fesm2022/jvsoft-components-luces-navidad.mjs +4 -8
- package/fesm2022/jvsoft-components-luces-navidad.mjs.map +1 -1
- package/fesm2022/jvsoft-components-mat-suffix-search-button.mjs +3 -3
- package/fesm2022/jvsoft-components-mat-suffix-search-button.mjs.map +1 -1
- package/fesm2022/jvsoft-components-menu.mjs +9 -12
- package/fesm2022/jvsoft-components-menu.mjs.map +1 -1
- package/fesm2022/jvsoft-components-tabla-mantenimiento-components-progress-bar.mjs +4 -4
- package/fesm2022/jvsoft-components-tabla-mantenimiento-components-progress-bar.mjs.map +1 -1
- package/fesm2022/jvsoft-components-tabla-mantenimiento.mjs +76 -78
- package/fesm2022/jvsoft-components-tabla-mantenimiento.mjs.map +1 -1
- package/fesm2022/jvsoft-components.mjs +9 -3015
- package/fesm2022/jvsoft-components.mjs.map +1 -1
- package/foto-persona/README.md +341 -0
- package/package.json +22 -17
- package/src/styles/base-jvsoft-components.css +1542 -5
- package/types/jvsoft-components-alerta.d.ts +33 -0
- package/types/jvsoft-components-dialog-flotante.d.ts +34 -0
- package/types/jvsoft-components-filtro-busqueda.d.ts +217 -0
- package/types/jvsoft-components-foto-persona.d.ts +300 -0
- package/types/jvsoft-components-lista-arbol.d.ts +60 -0
- package/{luces-navidad/luces-navidad.component.d.ts → types/jvsoft-components-luces-navidad.d.ts} +5 -2
- package/{mat-suffix-search-button/mat-suffix-search-button.component.d.ts → types/jvsoft-components-mat-suffix-search-button.d.ts} +5 -2
- package/{menu/menu.component.d.ts → types/jvsoft-components-menu.d.ts} +24 -4
- package/{tabla-mantenimiento/components/progress-bar/progress-bar.component.d.ts → types/jvsoft-components-tabla-mantenimiento-components-progress-bar.d.ts} +7 -3
- package/types/jvsoft-components-tabla-mantenimiento.d.ts +469 -0
- package/types/jvsoft-components.d.ts +9 -0
- package/alerta/alerta.component.d.ts +0 -29
- package/alerta/index.d.ts +0 -5
- package/alerta/public-api.d.ts +0 -1
- package/dialog-flotante/dialog-flotante.component.d.ts +0 -23
- package/dialog-flotante/dialog-flotante.interface.d.ts +0 -11
- package/dialog-flotante/index.d.ts +0 -5
- package/dialog-flotante/public-api.d.ts +0 -1
- package/filtro-busqueda/filtro-busqueda.component.d.ts +0 -89
- package/filtro-busqueda/filtro-busqueda.service.d.ts +0 -40
- package/filtro-busqueda/index.d.ts +0 -5
- package/filtro-busqueda/interfaces/filtro-busqueda.interface.d.ts +0 -86
- package/filtro-busqueda/public-api.d.ts +0 -3
- package/index.d.ts +0 -9
- package/lista-arbol/index.d.ts +0 -5
- package/lista-arbol/lista-arbol.component.d.ts +0 -57
- package/lista-arbol/lista-arbol.functions.d.ts +0 -8
- package/lista-arbol/public-api.d.ts +0 -1
- package/luces-navidad/index.d.ts +0 -5
- package/luces-navidad/public-api.d.ts +0 -1
- package/mat-suffix-search-button/index.d.ts +0 -5
- package/mat-suffix-search-button/public-api.d.ts +0 -1
- package/menu/index.d.ts +0 -5
- package/menu/menu.interface.d.ts +0 -16
- package/menu/public-api.d.ts +0 -2
- package/tabla-mantenimiento/classes/data-model.d.ts +0 -25
- package/tabla-mantenimiento/components/progress-bar/index.d.ts +0 -5
- package/tabla-mantenimiento/components/progress-bar/public-api.d.ts +0 -1
- package/tabla-mantenimiento/index.d.ts +0 -5
- package/tabla-mantenimiento/interfaces/Implements/incluye-tabla-mantenimiento.d.ts +0 -12
- package/tabla-mantenimiento/interfaces/Implements/index.d.ts +0 -1
- package/tabla-mantenimiento/interfaces/archivo.d.ts +0 -26
- package/tabla-mantenimiento/interfaces/global/boton-mantenimiento.d.ts +0 -41
- package/tabla-mantenimiento/interfaces/global/columnas-tabla.d.ts +0 -142
- package/tabla-mantenimiento/interfaces/global/index.d.ts +0 -3
- package/tabla-mantenimiento/interfaces/global/no-export.d.ts +0 -2
- package/tabla-mantenimiento/interfaces/global/otros.d.ts +0 -28
- package/tabla-mantenimiento/interfaces/index.d.ts +0 -3
- package/tabla-mantenimiento/mat-row-keyboard-selection.directive.d.ts +0 -19
- package/tabla-mantenimiento/pipes/no-sanitize.pipe.d.ts +0 -10
- package/tabla-mantenimiento/pipes/zero-fill.pipe.d.ts +0 -8
- package/tabla-mantenimiento/public-api.d.ts +0 -4
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-date/column-type-date.component.d.ts +0 -8
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-icons/column-type-icons.component.d.ts +0 -9
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-money/column-type-money.component.d.ts +0 -9
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-number/column-type-number.component.d.ts +0 -8
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-progressbar/column-type-progressbar.component.d.ts +0 -8
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-sino/column-type-sino.component.d.ts +0 -9
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-text/column-type-text.component.d.ts +0 -8
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type.component.d.ts +0 -18
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type.module.d.ts +0 -24
- package/tabla-mantenimiento/tabla-mantenimiento-column-defs/tabla-mantenimiento-column-defs.component.d.ts +0 -21
- package/tabla-mantenimiento/tabla-mantenimiento-menu/tabla-mantenimiento-menu.component.d.ts +0 -18
- package/tabla-mantenimiento/tabla-mantenimiento.component.d.ts +0 -159
- package/tabla-mantenimiento/tabla-mantenimiento.functions.d.ts +0 -5
- package/tabla-mantenimiento/tabla-mantenimiento.service.d.ts +0 -8
- package/tabla-mantenimiento/table-util.d.ts +0 -11
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import { TiposOpciones } from './boton-mantenimiento';
|
|
3
|
-
export interface OpcionSeleccionada {
|
|
4
|
-
readonly tableDataIndex?: number;
|
|
5
|
-
item?: any;
|
|
6
|
-
itemSeleccionado?: any;
|
|
7
|
-
objSeleccionado?: any;
|
|
8
|
-
seccion: string;
|
|
9
|
-
tipo: TiposOpciones;
|
|
10
|
-
/** Solo emite cuando se tiene los checkbox para seleccion */
|
|
11
|
-
idsSeleccionados?: any;
|
|
12
|
-
itemsSeleccionados?: any[];
|
|
13
|
-
datosExtra?: any;
|
|
14
|
-
/** @deprecated usar '`datosExtra`' en su lugar */
|
|
15
|
-
formGroup?: any;
|
|
16
|
-
/** @deprecated usar '`datosExtra`' en su lugar */
|
|
17
|
-
dialog?: any;
|
|
18
|
-
}
|
|
19
|
-
export interface DialogDatosRecibidos {
|
|
20
|
-
opcMenuSubmit?: OpcionSeleccionada;
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}
|
|
23
|
-
export interface DataServidor {
|
|
24
|
-
[key: string]: BehaviorSubject<any>;
|
|
25
|
-
}
|
|
26
|
-
export interface OpcMenuEvent extends OpcionSeleccionada {
|
|
27
|
-
datosGuardados?: any;
|
|
28
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MatTable } from '@angular/material/table';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MatRowKeyboardSelectionDirective implements OnInit, OnDestroy {
|
|
5
|
-
private el;
|
|
6
|
-
private rows;
|
|
7
|
-
private renderedData;
|
|
8
|
-
tabla: MatTable<any>;
|
|
9
|
-
rowModel: any;
|
|
10
|
-
seleccionarSiguiente: EventEmitter<any>;
|
|
11
|
-
private unsubscriber$;
|
|
12
|
-
constructor(el: ElementRef);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
onKeydown(event: KeyboardEvent): void;
|
|
16
|
-
private getTableRows;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatRowKeyboardSelectionDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRowKeyboardSelectionDirective, "[matRowKeyboardSelection]", never, { "tabla": { "alias": "matRowKeyboardSelection"; "required": false; }; "rowModel": { "alias": "rowModel"; "required": false; }; }, { "seleccionarSiguiente": "seleccionarSiguiente"; }, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NoSanitizePipe implements PipeTransform {
|
|
5
|
-
private domSanitizer;
|
|
6
|
-
constructor(domSanitizer: DomSanitizer);
|
|
7
|
-
transform(html: string): SafeHtml;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NoSanitizePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NoSanitizePipe, "noSanitize", true>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ZeroFillPipe implements PipeTransform {
|
|
4
|
-
transform(value: unknown, digitos: number, ...args: unknown[]): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ZeroFillPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ZeroFillPipe, "zeroFill", true>;
|
|
7
|
-
}
|
|
8
|
-
export declare function zeroFill(value: unknown, digitos: number, ...args: unknown[]): string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ColumnaDate } from '../../../interfaces';
|
|
2
|
-
import { ColumnTypeComponent } from '../column-type.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ColumnTypeDateComponent<T> extends ColumnTypeComponent<T> {
|
|
5
|
-
column: ColumnaDate<T>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeDateComponent<any>, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTypeDateComponent<any>, "jvs-column-type-date", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ColumnaIcons, IconsIcon } from '../../../interfaces';
|
|
2
|
-
import { ColumnTypeComponent } from '../column-type.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ColumnTypeIconsComponent<T> extends ColumnTypeComponent<T> {
|
|
5
|
-
column: ColumnaIcons<T>;
|
|
6
|
-
obtenerItems(columna: any, row: any): IconsIcon[];
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeIconsComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTypeIconsComponent<any>, "jvs-column-type-icons", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ColumnaMoney } from '../../../interfaces';
|
|
2
|
-
import { ColumnTypeComponent } from '../column-type.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ColumnTypeMoneyComponent<T> extends ColumnTypeComponent<T> {
|
|
5
|
-
column: ColumnaMoney<T>;
|
|
6
|
-
value(row: any): number;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeMoneyComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTypeMoneyComponent<any>, "jvs-column-type-money", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ColumnaNumber } from '../../../interfaces';
|
|
2
|
-
import { ColumnTypeComponent } from '../column-type.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ColumnTypeNumberComponent<T> extends ColumnTypeComponent<T> {
|
|
5
|
-
column: ColumnaNumber<T>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeNumberComponent<any>, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTypeNumberComponent<any>, "jvs-column-type-number", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ColumnaProgress } from '../../../interfaces';
|
|
2
|
-
import { ColumnTypeComponent } from '../column-type.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ColumnTypeProgressbarComponent<T> extends ColumnTypeComponent<T> {
|
|
5
|
-
column: ColumnaProgress<T>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeProgressbarComponent<any>, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTypeProgressbarComponent<any>, "jvs-column-type-progressbar", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ColumnaYesNo } from '../../../interfaces';
|
|
2
|
-
import { ColumnTypeComponent } from '../column-type.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ColumnTypeSinoComponent<T> extends ColumnTypeComponent<T> {
|
|
5
|
-
column: ColumnaYesNo<T>;
|
|
6
|
-
constructor();
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeSinoComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTypeSinoComponent<any>, "jvs-column-type-sino", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ColumnTypeComponent } from '../column-type.component';
|
|
2
|
-
import { ColumnaTexto } from '../../../interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ColumnTypeTextComponent<T> extends ColumnTypeComponent<T> {
|
|
5
|
-
column: ColumnaTexto<T>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeTextComponent<any>, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTypeTextComponent<any>, "jvs-column-type-text", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type.component.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { MatColumnDef, MatTable } from '@angular/material/table';
|
|
3
|
-
import { ColumnaTabla } from '../../interfaces';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ColumnTypeComponent<T> implements OnInit, AfterViewInit {
|
|
6
|
-
private table;
|
|
7
|
-
column: ColumnaTabla<T>;
|
|
8
|
-
columnDef: MatColumnDef;
|
|
9
|
-
columnTitleTemplate?: TemplateRef<any>;
|
|
10
|
-
columnFooterTemplate?: TemplateRef<any>;
|
|
11
|
-
cellTemplate: TemplateRef<any>;
|
|
12
|
-
constructor(table: MatTable<T>);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngAfterViewInit(): void;
|
|
15
|
-
accionClick(item: T, event: Event): boolean;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeComponent<any>, [{ optional: true; }]>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnTypeComponent<any>, "jvs-column-type", never, { "column": { "alias": "column"; "required": true; }; "columnTitleTemplate": { "alias": "columnTitleTemplate"; "required": false; }; "columnFooterTemplate": { "alias": "columnFooterTemplate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
-
}
|
package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type.module.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./column-type.component";
|
|
3
|
-
import * as i2 from "./column-type-text/column-type-text.component";
|
|
4
|
-
import * as i3 from "./column-type-money/column-type-money.component";
|
|
5
|
-
import * as i4 from "./column-type-number/column-type-number.component";
|
|
6
|
-
import * as i5 from "./column-type-date/column-type-date.component";
|
|
7
|
-
import * as i6 from "./column-type-icons/column-type-icons.component";
|
|
8
|
-
import * as i7 from "./column-type-sino/column-type-sino.component";
|
|
9
|
-
import * as i8 from "./column-type-progressbar/column-type-progressbar.component";
|
|
10
|
-
import * as i9 from "@angular/common";
|
|
11
|
-
import * as i10 from "@angular/material/table";
|
|
12
|
-
import * as i11 from "@angular/material/sort";
|
|
13
|
-
import * as i12 from "@angular/material/tooltip";
|
|
14
|
-
import * as i13 from "../../pipes/no-sanitize.pipe";
|
|
15
|
-
import * as i14 from "../../pipes/zero-fill.pipe";
|
|
16
|
-
import * as i15 from "@angular/material/core";
|
|
17
|
-
import * as i16 from "@angular/material/icon";
|
|
18
|
-
import * as i17 from "../../components/progress-bar/progress-bar.component";
|
|
19
|
-
import * as i18 from "@jvsoft/utils";
|
|
20
|
-
export declare class ColumnTypeModule {
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTypeModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ColumnTypeModule, [typeof i1.ColumnTypeComponent, typeof i2.ColumnTypeTextComponent, typeof i3.ColumnTypeMoneyComponent, typeof i4.ColumnTypeNumberComponent, typeof i5.ColumnTypeDateComponent, typeof i6.ColumnTypeIconsComponent, typeof i7.ColumnTypeSinoComponent, typeof i8.ColumnTypeProgressbarComponent], [typeof i9.CommonModule, typeof i10.MatTableModule, typeof i11.MatSortModule, typeof i12.MatTooltipModule, typeof i13.NoSanitizePipe, typeof i14.ZeroFillPipe, typeof i15.MatRipple, typeof i16.MatIcon, typeof i17.ProgressBarComponent, typeof i18.JvsPopoverDirective, typeof i18.JvsPopoverListenerDirective], [typeof i2.ColumnTypeTextComponent, typeof i3.ColumnTypeMoneyComponent, typeof i4.ColumnTypeNumberComponent, typeof i5.ColumnTypeDateComponent, typeof i6.ColumnTypeIconsComponent, typeof i7.ColumnTypeSinoComponent, typeof i8.ColumnTypeProgressbarComponent]>;
|
|
23
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ColumnTypeModule>;
|
|
24
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
-
import { MatColumnDef, MatTable } from '@angular/material/table';
|
|
3
|
-
import { ColumnaTabla } from '../interfaces/global';
|
|
4
|
-
import { DataModel } from '../classes/data-model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TablaMantenimientoColumnDefsComponent implements AfterContentInit {
|
|
7
|
-
table: MatTable<any>;
|
|
8
|
-
private cdRef;
|
|
9
|
-
objThis: any;
|
|
10
|
-
nombreColeccion: any;
|
|
11
|
-
colDetalle: ColumnaTabla<any>[];
|
|
12
|
-
chkLista: DataModel;
|
|
13
|
-
chkListaChange: EventEmitter<DataModel>;
|
|
14
|
-
columnDefLocales: QueryList<MatColumnDef>;
|
|
15
|
-
columnDefEnSubComponentes: QueryList<MatColumnDef>;
|
|
16
|
-
constructor(table: MatTable<any>, cdRef: ChangeDetectorRef);
|
|
17
|
-
ngAfterContentInit(): void;
|
|
18
|
-
trackByProperty<T>(index: number, column: ColumnaTabla<T>): string | Extract<keyof T, string>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TablaMantenimientoColumnDefsComponent, [{ optional: true; }, null]>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TablaMantenimientoColumnDefsComponent, "jvs-tabla-mantenimiento-column-defs", never, { "objThis": { "alias": "objThis"; "required": false; }; "nombreColeccion": { "alias": "nombreColeccion"; "required": false; }; "colDetalle": { "alias": "colDetalle"; "required": false; }; "chkLista": { "alias": "chkLista"; "required": false; }; }, { "chkListaChange": "chkListaChange"; }, ["columnDefEnSubComponentes"], ["*"], true, never>;
|
|
21
|
-
}
|
package/tabla-mantenimiento/tabla-mantenimiento-menu/tabla-mantenimiento-menu.component.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { MatMenu } from '@angular/material/menu';
|
|
3
|
-
import { BotonMantenimiento } from '../interfaces/global';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TablaMantenimientoMenuComponent implements OnInit {
|
|
6
|
-
objThis: any;
|
|
7
|
-
nombreColeccion: string;
|
|
8
|
-
item: any;
|
|
9
|
-
derechosActuales: any;
|
|
10
|
-
opcionSelecionada: EventEmitter<any>;
|
|
11
|
-
menu: MatMenu;
|
|
12
|
-
subItems: BotonMantenimiento[];
|
|
13
|
-
botonTemplate: TemplateRef<any>;
|
|
14
|
-
constructor();
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TablaMantenimientoMenuComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TablaMantenimientoMenuComponent, "jvs-tabla-mantenimiento-menu", never, { "objThis": { "alias": "objThis"; "required": false; }; "nombreColeccion": { "alias": "nombreColeccion"; "required": false; }; "item": { "alias": "item"; "required": false; }; "derechosActuales": { "alias": "derechosActuales"; "required": false; }; "subItems": { "alias": "subItems"; "required": true; }; "botonTemplate": { "alias": "botonTemplate"; "required": true; }; }, { "opcionSelecionada": "opcionSelecionada"; }, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import { FormBuilder, FormControl } from '@angular/forms';
|
|
4
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
5
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
6
|
-
import { MatSort } from '@angular/material/sort';
|
|
7
|
-
import { MatColumnDef, MatTable, MatTableDataSource } from '@angular/material/table';
|
|
8
|
-
import { Observable, Subscription } from 'rxjs';
|
|
9
|
-
import { DataModel } from './classes/data-model';
|
|
10
|
-
import { BotonMantenimiento, ColumnaTabla, OpcionSeleccionada, SeccionesBotonesMantenimiento } from './interfaces';
|
|
11
|
-
import { tipoValorFuncion, TipoValorFuncion } from './interfaces/global/no-export';
|
|
12
|
-
import { capitalizarTexto } from './tabla-mantenimiento.functions';
|
|
13
|
-
import { TablaMantenimientoService } from './tabla-mantenimiento.service';
|
|
14
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
15
|
-
import { ActivatedRoute, Router } from "@angular/router";
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
export interface MantenimientoFilaExtraData {
|
|
18
|
-
template?: TemplateRef<any>;
|
|
19
|
-
esVisible?(item?: any): boolean;
|
|
20
|
-
}
|
|
21
|
-
type TiposControlBusqueda = 'query' | 'simple' | '';
|
|
22
|
-
export declare class TablaMantenimientoComponent<T> implements OnInit, AfterContentInit, OnChanges {
|
|
23
|
-
private fb;
|
|
24
|
-
overlay: Overlay;
|
|
25
|
-
viewContainerRef: ViewContainerRef;
|
|
26
|
-
protected tablaMantenimientoService: TablaMantenimientoService;
|
|
27
|
-
private cdRef;
|
|
28
|
-
static nextId: number;
|
|
29
|
-
readonly id: string;
|
|
30
|
-
readonly router: Router;
|
|
31
|
-
readonly route: ActivatedRoute;
|
|
32
|
-
private readonly destroyRef;
|
|
33
|
-
get templateBotonesComunes(): BotonMantenimiento[];
|
|
34
|
-
get templateColumnasTabla(): ColumnaTabla<any>[];
|
|
35
|
-
dataSuscription: Observable<any> | undefined;
|
|
36
|
-
objThis: any;
|
|
37
|
-
nombreColeccion: any;
|
|
38
|
-
busquedaValor: import("@angular/core").InputSignal<string>;
|
|
39
|
-
busquedaPlaceholder: import("@angular/core").InputSignal<string>;
|
|
40
|
-
filtroCampos: boolean;
|
|
41
|
-
paginador: boolean;
|
|
42
|
-
esTabla: boolean;
|
|
43
|
-
readOnly: boolean | 'permitirSeleccion';
|
|
44
|
-
filaExtraHeader: MantenimientoFilaExtraData | any;
|
|
45
|
-
filaFooter: boolean;
|
|
46
|
-
botonesCRUD: string;
|
|
47
|
-
dblclickItem: EventEmitter<any>;
|
|
48
|
-
objBotonesCRUD: BotonMantenimiento[];
|
|
49
|
-
classSeleccionado: string[];
|
|
50
|
-
classAnulado: string[];
|
|
51
|
-
campoAnulado: any;
|
|
52
|
-
campoAnuladoMensaje: any;
|
|
53
|
-
opcionSelecionada: EventEmitter<any>;
|
|
54
|
-
opcBusqueda: EventEmitter<any>;
|
|
55
|
-
accionRecargar: EventEmitter<any>;
|
|
56
|
-
set selectionModel(val: SelectionModel<any>);
|
|
57
|
-
selectionModelChange: EventEmitter<SelectionModel<any>>;
|
|
58
|
-
isRecargarUsed: boolean;
|
|
59
|
-
filaExtraTemplate: TemplateRef<any> | undefined;
|
|
60
|
-
paginator: MatPaginator;
|
|
61
|
-
sort: MatSort;
|
|
62
|
-
exportarExcel: boolean;
|
|
63
|
-
busquedaCompacta: import("@angular/core").InputSignal<boolean>;
|
|
64
|
-
alturaFull: import("@angular/core").InputSignal<boolean>;
|
|
65
|
-
pageSize: number;
|
|
66
|
-
pageSizeOptions: number[];
|
|
67
|
-
dataSourceChange: EventEmitter<any>;
|
|
68
|
-
resultados: EventEmitter<any>;
|
|
69
|
-
dataSource: MatTableDataSource<T, MatPaginator>;
|
|
70
|
-
table: MatTable<T>;
|
|
71
|
-
columnDefs: QueryList<MatColumnDef>;
|
|
72
|
-
componenteCargadoTotalmente: boolean;
|
|
73
|
-
paginacion: {
|
|
74
|
-
pageSize: number;
|
|
75
|
-
pageSizeOptions: number[];
|
|
76
|
-
pageCurrent: any;
|
|
77
|
-
pageIndex: number;
|
|
78
|
-
pageLength: null;
|
|
79
|
-
};
|
|
80
|
-
ignorarDerechos: boolean;
|
|
81
|
-
derechosActuales: any;
|
|
82
|
-
rows: QueryList<ElementRef<HTMLTableRowElement>>;
|
|
83
|
-
rowFooter: ElementRef<HTMLTableRowElement>;
|
|
84
|
-
mouseEvent$: Subscription | undefined;
|
|
85
|
-
overlayRef: OverlayRef | undefined;
|
|
86
|
-
userMenu: TemplateRef<any>;
|
|
87
|
-
compactSearchMenuTrigger: MatMenuTrigger;
|
|
88
|
-
opcFiltroActual: {};
|
|
89
|
-
protected readonly capitalizarTexto: typeof capitalizarTexto;
|
|
90
|
-
_seleccionado: any;
|
|
91
|
-
cCampoBusqueda: FormControl<string | null>;
|
|
92
|
-
chkLista: DataModel;
|
|
93
|
-
bDireccionOrden: import("@angular/core").WritableSignal<number>;
|
|
94
|
-
mostrarBotonOrden: import("@angular/core").InputSignal<boolean>;
|
|
95
|
-
constructor(fb: FormBuilder, overlay: Overlay, viewContainerRef: ViewContainerRef, tablaMantenimientoService: TablaMantenimientoService, cdRef: ChangeDetectorRef);
|
|
96
|
-
busquedaTipo: import("@angular/core").InputSignalWithTransform<TiposControlBusqueda, string>;
|
|
97
|
-
private _leyenda;
|
|
98
|
-
get leyenda(): {
|
|
99
|
-
text: string;
|
|
100
|
-
class?: string;
|
|
101
|
-
} | undefined;
|
|
102
|
-
set leyenda(val: {
|
|
103
|
-
text: string;
|
|
104
|
-
class?: string;
|
|
105
|
-
} | string);
|
|
106
|
-
private _idTabla;
|
|
107
|
-
get idTabla(): string[];
|
|
108
|
-
set idTabla(val: string[] | string);
|
|
109
|
-
private _columnasTabla;
|
|
110
|
-
get columnasTabla(): ColumnaTabla<any>[];
|
|
111
|
-
set columnasTabla(val: ColumnaTabla<any>[]);
|
|
112
|
-
private _botonesMenu;
|
|
113
|
-
get botonesMenu(): SeccionesBotonesMantenimiento;
|
|
114
|
-
get botonesMenuFinal(): SeccionesBotonesMantenimiento;
|
|
115
|
-
set botonesMenu(val: SeccionesBotonesMantenimiento);
|
|
116
|
-
get listaMenuCompleto(): BotonMantenimiento[];
|
|
117
|
-
get objVisibleColumns(): ColumnaTabla<any>[];
|
|
118
|
-
get visibleColumns(): string[];
|
|
119
|
-
get tieneCheckbox(): false | import("./interfaces").ColumnaCheckbox<any>;
|
|
120
|
-
get buscarItemSeleccionado(): any;
|
|
121
|
-
get objSeleccionado(): any;
|
|
122
|
-
set objSeleccionado(val: any);
|
|
123
|
-
get idsSeleccionado(): string;
|
|
124
|
-
get itemsSeleccionados(): T[];
|
|
125
|
-
idTablaValor(data: any): string;
|
|
126
|
-
condicionesClaseFila: (item: any) => any[];
|
|
127
|
-
rowTooltip: (item: any) => string;
|
|
128
|
-
soloIconos?: TipoValorFuncion<boolean>;
|
|
129
|
-
ngOnInit(): void;
|
|
130
|
-
ngAfterContentInit(): void;
|
|
131
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
132
|
-
trackByFn: (index: number, item: any) => string;
|
|
133
|
-
getDeepestRoute(route: ActivatedRoute): ActivatedRoute;
|
|
134
|
-
agregarBotonesExportacion(): void;
|
|
135
|
-
actualizarCrud(): void;
|
|
136
|
-
classFila(item: any): any[];
|
|
137
|
-
procesarRowTooltip(item: any): string;
|
|
138
|
-
subItemsActivos(btn: any, item: any): boolean;
|
|
139
|
-
get noData(): any;
|
|
140
|
-
onFilterChange(value: string): void;
|
|
141
|
-
toggleColumnVisibility(column: any, event: any): void;
|
|
142
|
-
cargarData(retorno?: boolean): any;
|
|
143
|
-
toggleDireccionOrden(): void;
|
|
144
|
-
setData(data: any): void;
|
|
145
|
-
botonDisabled(btn: BotonMantenimiento, item: any): boolean | undefined;
|
|
146
|
-
propiedadSeleccion(item: any): string;
|
|
147
|
-
esSeleccionActual(item: any): boolean;
|
|
148
|
-
seleccionarItem(item?: any, forzado?: boolean): void;
|
|
149
|
-
opcMenu(item: any, objMenu: OpcionSeleccionada, modal?: null, retorno?: boolean): 1 | OpcionSeleccionada;
|
|
150
|
-
emitirResultados(evento?: {}): void;
|
|
151
|
-
abrirMenuContextual({ x, y }: MouseEvent, user: any): void;
|
|
152
|
-
cerrarMenuContextual(): void;
|
|
153
|
-
ejecutarBusquedaCompacta(): void;
|
|
154
|
-
emitirAccionRecargar(): void;
|
|
155
|
-
protected readonly tipoValorFuncion: typeof tipoValorFuncion;
|
|
156
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TablaMantenimientoComponent<any>, never>;
|
|
157
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TablaMantenimientoComponent<any>, "jvs-tabla-mantenimiento", never, { "dataSuscription": { "alias": "dataSuscription"; "required": false; }; "objThis": { "alias": "objThis"; "required": true; }; "nombreColeccion": { "alias": "nombreColeccion"; "required": true; }; "busquedaValor": { "alias": "ctrlBusquedaValue"; "required": false; "isSignal": true; }; "busquedaPlaceholder": { "alias": "ctrlBusquedaPlaceholder"; "required": false; "isSignal": true; }; "filtroCampos": { "alias": "filtroCampos"; "required": false; }; "paginador": { "alias": "paginador"; "required": false; }; "esTabla": { "alias": "esTabla"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "filaExtraHeader": { "alias": "filaExtraHeader"; "required": false; }; "filaFooter": { "alias": "filaFooter"; "required": false; }; "botonesCRUD": { "alias": "botonesCRUD"; "required": false; }; "objBotonesCRUD": { "alias": "objBotonesCRUD"; "required": false; }; "classSeleccionado": { "alias": "classSeleccionado"; "required": false; }; "classAnulado": { "alias": "classAnulado"; "required": false; }; "campoAnulado": { "alias": "campoAnulado"; "required": false; }; "campoAnuladoMensaje": { "alias": "campoAnuladoMensaje"; "required": false; }; "selectionModel": { "alias": "selectionModel"; "required": false; }; "filaExtraTemplate": { "alias": "filaExtraTemplate"; "required": false; }; "exportarExcel": { "alias": "exportarExcel"; "required": false; }; "busquedaCompacta": { "alias": "busquedaCompacta"; "required": false; "isSignal": true; }; "alturaFull": { "alias": "alturaFull"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "derechosActuales": { "alias": "derechosActuales"; "required": false; }; "mostrarBotonOrden": { "alias": "mostrarBotonOrden"; "required": false; "isSignal": true; }; "busquedaTipo": { "alias": "ctrlBusqueda"; "required": false; "isSignal": true; }; "leyenda": { "alias": "leyenda"; "required": false; }; "idTabla": { "alias": "idTabla"; "required": true; }; "columnasTabla": { "alias": "columnasTabla"; "required": false; }; "botonesMenu": { "alias": "botonesMenu"; "required": false; }; "condicionesClaseFila": { "alias": "condicionesClaseFila"; "required": false; }; "rowTooltip": { "alias": "rowTooltip"; "required": false; }; "soloIconos": { "alias": "soloIconos"; "required": false; }; }, { "dblclickItem": "dblclickItem"; "opcionSelecionada": "opcionSelecionada"; "opcBusqueda": "opcBusqueda"; "accionRecargar": "accionRecargar"; "selectionModelChange": "selectionModelChange"; "dataSourceChange": "dataSourceChange"; "resultados": "resultados"; }, ["columnDefs"], ["[filtro]", "[objetosMenuPegado]", "[objetosMenu]", "[botonesFiltro]", "[botonesConfig]", "[cuerpo]", "[tableDefinitions]", "[appendTable]"], true, never>;
|
|
158
|
-
}
|
|
159
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function buscarEnArray<T extends Record<string, any>>(coleccion: T[], idBuscar: string | string[], dato: any): T | null;
|
|
2
|
-
export declare function formatearFecha(val: string, hora?: string): string | Date;
|
|
3
|
-
export declare function esNumero(value: any): boolean;
|
|
4
|
-
export declare function capitalizarTexto(texto: string): string;
|
|
5
|
-
export declare function getBrowserName(): "edge" | "opera" | "chrome" | "ie" | "firefox" | "safari" | "other";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BotonMantenimiento, ColumnaTabla } from './interfaces/global';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TablaMantenimientoService {
|
|
4
|
-
get templateBotonesComunes(): BotonMantenimiento[];
|
|
5
|
-
get templateColumnasTabla(): ColumnaTabla<any>[];
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TablaMantenimientoService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TablaMantenimientoService>;
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as XLSX from 'xlsx';
|
|
2
|
-
export declare class TableUtil {
|
|
3
|
-
static exportTableToExcelV2(targetTableElm: HTMLElement, name?: string): void;
|
|
4
|
-
static exportTableToExcel(tableId: string, name?: string): void;
|
|
5
|
-
static exportArrayToExcel(arr: any[], name?: string): void;
|
|
6
|
-
static getWorkBook(htmlTableId: string, data: any[]): {
|
|
7
|
-
tableToSheet: XLSX.WorkSheet;
|
|
8
|
-
jsonToSheet: XLSX.WorkSheet;
|
|
9
|
-
sheetToJson: any;
|
|
10
|
-
};
|
|
11
|
-
}
|