ng-components-tsi 0.0.1
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/README.md +63 -0
- package/fesm2022/ng-components-tsi.mjs +4111 -0
- package/fesm2022/ng-components-tsi.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/directivas/acciones/atajos.directive.d.ts +8 -0
- package/lib/directivas/animaciones/fade-animation.d.ts +3 -0
- package/lib/directivas/estilos/button.constants.d.ts +61 -0
- package/lib/directivas/estilos/buttons-modal.directive.d.ts +11 -0
- package/lib/directivas/estilos/buttons-outline-directive.d.ts +11 -0
- package/lib/directivas/estilos/icons.directive.d.ts +11 -0
- package/lib/directivas/inputs/decimal.directive.d.ts +14 -0
- package/lib/directivas/inputs/only-day.directive.d.ts +8 -0
- package/lib/directivas/inputs/only-number.directive.d.ts +8 -0
- package/lib/directivas/utils/configuracion-sistema/factores.d.ts +272 -0
- package/lib/directivas/utils/configuracion-sistema/permisos.d.ts +196 -0
- package/lib/directivas/utils/general/funciones.d.ts +32 -0
- package/lib/directivas/utils/general/utilidades.d.ts +47 -0
- package/lib/directivas/utils/general/validaciones.d.ts +18 -0
- package/lib/modals/general/md-generico/md-generico.component.d.ts +22 -0
- package/lib/models/button-color.model.d.ts +3 -0
- package/lib/models/button-properties.model.d.ts +7 -0
- package/lib/models/cell-rendered.d.ts +10 -0
- package/lib/models/dropdownoption.model.d.ts +17 -0
- package/lib/models/input-config.d.ts +23 -0
- package/lib/models/sesion/almacen-sesion.model.d.ts +19 -0
- package/lib/models/sesion/documento-tipo-sesion.model.d.ts +12 -0
- package/lib/models/sesion/inventario-sesion.model.d.ts +16 -0
- package/lib/models/sesion/tipo-afectacion.model.d.ts +5 -0
- package/lib/models/sesion/titulo-listas.model.d.ts +19 -0
- package/lib/models/sesion/unidades-sesion.model.d.ts +13 -0
- package/lib/models/table-data.model.d.ts +16 -0
- package/lib/service/sesion.service.d.ts +41 -0
- package/lib/service/storage.service.d.ts +26 -0
- package/lib/service/toast.service.d.ts +21 -0
- package/lib/ui/alerts/alert-confirmation/alert-confirmation.component.d.ts +31 -0
- package/lib/ui/alerts/alert-fecha-emision/alert-fecha-emision.component.d.ts +9 -0
- package/lib/ui/alerts/alerta/alerta.component.d.ts +7 -0
- package/lib/ui/alerts/badge/badge.component.d.ts +8 -0
- package/lib/ui/alerts/toaster/toaster.component.d.ts +18 -0
- package/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.d.ts +11 -0
- package/lib/ui/dropdown/dropdown-simple/dropdown.component.d.ts +13 -0
- package/lib/ui/forms/button/button.component.d.ts +40 -0
- package/lib/ui/forms/header/header.component.d.ts +21 -0
- package/lib/ui/forms/inputs/autocomplete/autocomplete.component.d.ts +43 -0
- package/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.d.ts +48 -0
- package/lib/ui/forms/inputs/check-box/check-box.component.d.ts +11 -0
- package/lib/ui/forms/inputs/doble-input/doble-input.component.d.ts +42 -0
- package/lib/ui/forms/inputs/input/input.component.d.ts +50 -0
- package/lib/ui/forms/inputs/input-clase/input-clase.component.d.ts +13 -0
- package/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.d.ts +8 -0
- package/lib/ui/forms/inputs/input-radio/input-radio.component.d.ts +24 -0
- package/lib/ui/forms/inputs/multiselected/multiselected.component.d.ts +39 -0
- package/lib/ui/forms/inputs/radio/radio.component.d.ts +14 -0
- package/lib/ui/forms/inputs/switch/switch.component.d.ts +20 -0
- package/lib/ui/forms/lists/list-option/list-option.component.d.ts +23 -0
- package/lib/ui/forms/lists/list-situaciones/list-situaciones.component.d.ts +31 -0
- package/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.d.ts +26 -0
- package/lib/ui/forms/sidebar/sidebar.component.d.ts +15 -0
- package/lib/ui/general/detalle-credito/detalle-credito.component.d.ts +7 -0
- package/lib/ui/general/montos-calcular/montos-calcular.component.d.ts +10 -0
- package/lib/ui/general/spinner/spinner.component.d.ts +5 -0
- package/lib/ui/tables/card-mobile/card-mobile.component.d.ts +17 -0
- package/lib/ui/tables/dropdown-menu/dropdown-menu.component.d.ts +35 -0
- package/lib/ui/tables/paginador/paginador.component.d.ts +12 -0
- package/lib/ui/tables/table-advance/table-advance.component.d.ts +80 -0
- package/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.d.ts +80 -0
- package/lib/ui/tables/table-busqueda/table-busqueda.component.d.ts +48 -0
- package/lib/ui/tables/table-detalle/table-detalle.component.d.ts +59 -0
- package/lib/ui/tables/table-simple/table-simple.component.d.ts +39 -0
- package/lib/ui/tabs/nav-tabs/nav-tabs.component.d.ts +9 -0
- package/lib/ui/tabs/tab-item/tab-item.component.d.ts +9 -0
- package/ng-components-tsi-0.0.1.tgz +0 -0
- package/package.json +29 -0
- package/public-api.d.ts +37 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ElementRef, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { CellRender, CellRendered } from '../../../models/cell-rendered';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableAdvanceComponent {
|
|
5
|
+
tableHeaders: QueryList<ElementRef>;
|
|
6
|
+
customActions: TemplateRef<any>;
|
|
7
|
+
/************@ViewChild('tableContainer') tableContainer!: ElementRef<HTMLElement>*/
|
|
8
|
+
private datePipe;
|
|
9
|
+
private decimalPipe;
|
|
10
|
+
/************virtualScrollService = inject(VirtualScrollService)*/
|
|
11
|
+
rows: import("@angular/core").InputSignal<any[]>;
|
|
12
|
+
columns: import("@angular/core").InputSignal<any[]>;
|
|
13
|
+
withDetails: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
withFiltro: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
altoContainer: import("@angular/core").InputSignal<number>;
|
|
16
|
+
emitirBusqueda: import("@angular/core").OutputEmitterRef<string>;
|
|
17
|
+
emitirCheck: import("@angular/core").OutputEmitterRef<any>;
|
|
18
|
+
emitirCheckCabecera: import("@angular/core").OutputEmitterRef<any>;
|
|
19
|
+
emitirRadio: import("@angular/core").OutputEmitterRef<any>;
|
|
20
|
+
emitirColumnasFiltrables: import("@angular/core").OutputEmitterRef<any>;
|
|
21
|
+
colorHeader: import("@angular/core").InputSignal<"normal" | "light">;
|
|
22
|
+
isDarkMode: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
busqueda: import("@angular/core").WritableSignal<string>;
|
|
24
|
+
selectedRow: import("@angular/core").ModelSignal<any>;
|
|
25
|
+
identifier: import("@angular/core").InputSignal<string[]>;
|
|
26
|
+
altoContenedor: import("@angular/core").WritableSignal<number>;
|
|
27
|
+
showPopoverColumn: import("@angular/core").WritableSignal<boolean>;
|
|
28
|
+
showPopoverFilter: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
+
isHeaderOperation: import("@angular/core").WritableSignal<boolean>;
|
|
30
|
+
withHeight: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
rendered: import("@angular/core").InputSignal<CellRendered[]>;
|
|
32
|
+
withTotal: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
withCheckbox: import("@angular/core").InputSignal<boolean>;
|
|
34
|
+
selectItems: import("@angular/core").ModelSignal<(string | number)[]>;
|
|
35
|
+
rowFilter: import("@angular/core").Signal<any[]>;
|
|
36
|
+
filtrarColumnas: import("@angular/core").WritableSignal<{
|
|
37
|
+
[caption: string]: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
toggleFiltros(event: Event): void;
|
|
40
|
+
visibilidadColumn: import("@angular/core").WritableSignal<{
|
|
41
|
+
[caption: string]: boolean;
|
|
42
|
+
}>;
|
|
43
|
+
concatenarValue(obj: any, value: string[]): string;
|
|
44
|
+
checkString: {
|
|
45
|
+
S: string;
|
|
46
|
+
N: string;
|
|
47
|
+
};
|
|
48
|
+
sortColumn: string | null;
|
|
49
|
+
sortDirection: 'asc' | 'desc';
|
|
50
|
+
expandedRows: number;
|
|
51
|
+
constructor();
|
|
52
|
+
togglePopoverColumn(): void;
|
|
53
|
+
togglePopoverFilter(): void;
|
|
54
|
+
selectRow(index: any): void;
|
|
55
|
+
getTipoCampo(fieldname: string): string;
|
|
56
|
+
sortTable(column: string): void;
|
|
57
|
+
toggleExpandRow(index: number): void;
|
|
58
|
+
textoDigitado(event: Event): void;
|
|
59
|
+
getHighlight(text: any, fieldname: string): string;
|
|
60
|
+
desglozarValor: (valor: string) => string[];
|
|
61
|
+
getSituacionNumberFromColumns(row: any, columns: any[]): number;
|
|
62
|
+
clickCheck(item: string, event: Event, row: any): void;
|
|
63
|
+
areAllChecked(fieldname: string): boolean;
|
|
64
|
+
toggleAllCheckboxes(event: Event, fieldname: string, rows: any[]): void;
|
|
65
|
+
clickRadio(row: any): void;
|
|
66
|
+
private filtraItem;
|
|
67
|
+
validaVisibilidad(value: boolean): boolean;
|
|
68
|
+
allCheck(event: Event): void;
|
|
69
|
+
validaAllCheck(): boolean;
|
|
70
|
+
isItemSelected(index: number): boolean;
|
|
71
|
+
toogleItem(index: number, event: Event): void;
|
|
72
|
+
resolveCell(col: string, row: any): CellRender | null;
|
|
73
|
+
getTotals(fieldname: string): number;
|
|
74
|
+
getColspanBeforeTotals(): number;
|
|
75
|
+
getRowClass(row: any): {
|
|
76
|
+
[key: string]: boolean;
|
|
77
|
+
};
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableAdvanceComponent, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableAdvanceComponent, "app-table-advance", never, { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "withDetails": { "alias": "withDetails"; "required": false; "isSignal": true; }; "withFiltro": { "alias": "withFiltro"; "required": false; "isSignal": true; }; "altoContainer": { "alias": "altoContainer"; "required": false; "isSignal": true; }; "colorHeader": { "alias": "colorHeader"; "required": false; "isSignal": true; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; "isSignal": true; }; "selectedRow": { "alias": "selectedRow"; "required": false; "isSignal": true; }; "identifier": { "alias": "identifier"; "required": false; "isSignal": true; }; "withHeight": { "alias": "withHeight"; "required": false; "isSignal": true; }; "rendered": { "alias": "rendered"; "required": false; "isSignal": true; }; "withTotal": { "alias": "withTotal"; "required": false; "isSignal": true; }; "withCheckbox": { "alias": "withCheckbox"; "required": false; "isSignal": true; }; "selectItems": { "alias": "selectItems"; "required": false; "isSignal": true; }; }, { "emitirBusqueda": "emitirBusqueda"; "emitirCheck": "emitirCheck"; "emitirCheckCabecera": "emitirCheckCabecera"; "emitirRadio": "emitirRadio"; "emitirColumnasFiltrables": "emitirColumnasFiltrables"; "selectedRow": "selectedRowChange"; "selectItems": "selectItemsChange"; }, ["customActions"], never, true, never>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ElementRef, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { CellRender, CellRendered } from '../../../models/cell-rendered';
|
|
3
|
+
import { TableData } from '../../../models/table-data.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TableAdvanceOptimizadaComponent {
|
|
6
|
+
tableHeaders: import("@angular/core").Signal<QueryList<ElementRef<any>>>;
|
|
7
|
+
customActions: import("@angular/core").Signal<TemplateRef<any>>;
|
|
8
|
+
anchor: import("@angular/core").Signal<ElementRef<HTMLTableRowElement>>;
|
|
9
|
+
/************@ViewChild('tableContainer') tableContainer!: ElementRef<HTMLElement>*/
|
|
10
|
+
private decimalPipe;
|
|
11
|
+
titleTabla: import("@angular/core").InputSignal<string>;
|
|
12
|
+
/************virtualScrollService = inject(VirtualScrollService)*/
|
|
13
|
+
rows: import("@angular/core").InputSignal<any[]>;
|
|
14
|
+
columns: import("@angular/core").InputSignal<any[]>;
|
|
15
|
+
withDetails: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
withFiltro: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
altoContainer: import("@angular/core").InputSignal<number>;
|
|
18
|
+
colorHeader: import("@angular/core").InputSignal<"normal" | "light">;
|
|
19
|
+
busqueda: import("@angular/core").WritableSignal<string>;
|
|
20
|
+
selectedRow: import("@angular/core").ModelSignal<any>;
|
|
21
|
+
identifier: import("@angular/core").InputSignal<string[]>;
|
|
22
|
+
altoContenedor: import("@angular/core").WritableSignal<number>;
|
|
23
|
+
showPopoverFilter: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
withHeight: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
rendered: import("@angular/core").InputSignal<CellRendered[]>;
|
|
26
|
+
withTotal: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
withCheckbox: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
selectItems: import("@angular/core").ModelSignal<(string | number)[]>;
|
|
29
|
+
isDarkMode: import("@angular/core").InputSignal<boolean>;
|
|
30
|
+
sortColumn: string | null;
|
|
31
|
+
sortDirection: 'asc' | 'desc';
|
|
32
|
+
expandedRows: number;
|
|
33
|
+
dataVirtual: import("@angular/core").WritableSignal<any[]>;
|
|
34
|
+
isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
35
|
+
isLoadingResponsive: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
private loadedCount;
|
|
37
|
+
private observer;
|
|
38
|
+
maxItems: import("@angular/core").InputSignal<number>;
|
|
39
|
+
batchSize: import("@angular/core").InputSignal<number>;
|
|
40
|
+
rowFilter: import("@angular/core").Signal<any[]>;
|
|
41
|
+
filtrarColumnas: import("@angular/core").WritableSignal<{
|
|
42
|
+
[caption: string]: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
toggleFiltros(event: Event): void;
|
|
45
|
+
visibilidadColumn: import("@angular/core").WritableSignal<{
|
|
46
|
+
[caption: string]: boolean;
|
|
47
|
+
}>;
|
|
48
|
+
concatenarValue(obj: any, value: string[]): string;
|
|
49
|
+
checkString: {
|
|
50
|
+
S: string;
|
|
51
|
+
N: string;
|
|
52
|
+
};
|
|
53
|
+
isMobile: import("@angular/core").WritableSignal<boolean>;
|
|
54
|
+
constructor();
|
|
55
|
+
onResize(event: any): void;
|
|
56
|
+
actionsAnchor(): void;
|
|
57
|
+
togglePopoverFilter(): void;
|
|
58
|
+
selectRow(index: any): void;
|
|
59
|
+
sortTable(column: string): void;
|
|
60
|
+
toggleExpandRow(index: number): void;
|
|
61
|
+
textoDigitado(event: Event): void;
|
|
62
|
+
getHighlight(text: any, fieldname: string): string;
|
|
63
|
+
getSituacionNumberFromColumns(row: any, columns: any[]): number;
|
|
64
|
+
private filtraItem;
|
|
65
|
+
validaVisibilidad(value: boolean): boolean;
|
|
66
|
+
allCheck(event: Event): void;
|
|
67
|
+
validaAllCheck(): boolean;
|
|
68
|
+
isItemSelected(index: number): boolean;
|
|
69
|
+
toogleItem(index: number, event: Event): void;
|
|
70
|
+
resolveCell(col: string, row: any): CellRender | null;
|
|
71
|
+
getTotals(fieldname: string): string;
|
|
72
|
+
getColspanBeforeTotals(): number;
|
|
73
|
+
getRowClass(row: any): {
|
|
74
|
+
[key: string]: boolean;
|
|
75
|
+
};
|
|
76
|
+
getPosition(col: TableData): string;
|
|
77
|
+
private loadMore;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableAdvanceOptimizadaComponent, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableAdvanceOptimizadaComponent, "app-table-advance-optimizada", never, { "titleTabla": { "alias": "titleTabla"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "withDetails": { "alias": "withDetails"; "required": false; "isSignal": true; }; "withFiltro": { "alias": "withFiltro"; "required": false; "isSignal": true; }; "altoContainer": { "alias": "altoContainer"; "required": false; "isSignal": true; }; "colorHeader": { "alias": "colorHeader"; "required": false; "isSignal": true; }; "selectedRow": { "alias": "selectedRow"; "required": false; "isSignal": true; }; "identifier": { "alias": "identifier"; "required": false; "isSignal": true; }; "withHeight": { "alias": "withHeight"; "required": false; "isSignal": true; }; "rendered": { "alias": "rendered"; "required": false; "isSignal": true; }; "withTotal": { "alias": "withTotal"; "required": false; "isSignal": true; }; "withCheckbox": { "alias": "withCheckbox"; "required": false; "isSignal": true; }; "selectItems": { "alias": "selectItems"; "required": false; "isSignal": true; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; "isSignal": true; }; "maxItems": { "alias": "maxItems"; "required": false; "isSignal": true; }; "batchSize": { "alias": "batchSize"; "required": false; "isSignal": true; }; }, { "selectedRow": "selectedRowChange"; "selectItems": "selectItemsChange"; }, ["customActions"], never, true, never>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TableBusquedaComponent {
|
|
4
|
+
filas: QueryList<ElementRef>;
|
|
5
|
+
tableHeaders: QueryList<ElementRef>;
|
|
6
|
+
rows: import("@angular/core").InputSignal<any[]>;
|
|
7
|
+
columns: import("@angular/core").InputSignal<any[]>;
|
|
8
|
+
withFiltro: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
mode: import("@angular/core").InputSignal<string>;
|
|
10
|
+
altoContainer: import("@angular/core").InputSignal<number>;
|
|
11
|
+
emitirBusqueda: import("@angular/core").OutputEmitterRef<string>;
|
|
12
|
+
emitirCheck: import("@angular/core").OutputEmitterRef<any>;
|
|
13
|
+
emitirSelected: import("@angular/core").OutputEmitterRef<any>;
|
|
14
|
+
colorHeader: import("@angular/core").InputSignal<"normal" | "light">;
|
|
15
|
+
busqueda: string;
|
|
16
|
+
resizingColumn: HTMLElement | null;
|
|
17
|
+
startX: number;
|
|
18
|
+
startWidth: number;
|
|
19
|
+
selectedRow: number;
|
|
20
|
+
sortColumn: string | null;
|
|
21
|
+
sortDirection: 'asc' | 'desc';
|
|
22
|
+
situacDaClave: Record<string, string>;
|
|
23
|
+
situacDaStringClave: Record<string, string>;
|
|
24
|
+
situacDaRendicion: Record<string, string>;
|
|
25
|
+
situacDaClaveRendicion: Record<string, string>;
|
|
26
|
+
situacTesoreria: Record<number, string>;
|
|
27
|
+
checkString: {
|
|
28
|
+
S: string;
|
|
29
|
+
N: string;
|
|
30
|
+
};
|
|
31
|
+
showPopover: import("@angular/core").WritableSignal<boolean>;
|
|
32
|
+
selectRow(index: number): void;
|
|
33
|
+
onResizeStart(event: MouseEvent, thElement: HTMLElement): void;
|
|
34
|
+
onResizing: (event: MouseEvent) => void;
|
|
35
|
+
onResizeEnd: () => void;
|
|
36
|
+
sortTable(column: string): void;
|
|
37
|
+
textoDigitado(event: Event): void;
|
|
38
|
+
getHighlight(text: any): string;
|
|
39
|
+
desglozarValor: (valor: string) => string[];
|
|
40
|
+
getSituacionNumberFromColumns(row: any, columns: any[]): number;
|
|
41
|
+
clicCheck(item: string, event: Event, row: any): void;
|
|
42
|
+
manejarTeclado(event: KeyboardEvent): void;
|
|
43
|
+
scrollToFila(): void;
|
|
44
|
+
enviarDataClick(obj: any): void;
|
|
45
|
+
tooglePopover(): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableBusquedaComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableBusquedaComponent, "app-table-busqueda", never, { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "withFiltro": { "alias": "withFiltro"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "altoContainer": { "alias": "altoContainer"; "required": false; "isSignal": true; }; "colorHeader": { "alias": "colorHeader"; "required": false; "isSignal": true; }; }, { "emitirBusqueda": "emitirBusqueda"; "emitirCheck": "emitirCheck"; "emitirSelected": "emitirSelected"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { CellRender, CellRendered } from '../../../models/cell-rendered';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableDetalleComponent {
|
|
5
|
+
private datePipe;
|
|
6
|
+
private decimalPipe;
|
|
7
|
+
selectedRow: import("@angular/core").ModelSignal<any>;
|
|
8
|
+
identifier: import("@angular/core").InputSignal<string[]>;
|
|
9
|
+
altoContainer: import("@angular/core").InputSignal<number>;
|
|
10
|
+
withFiltro: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
busqueda: import("@angular/core").ModelSignal<string>;
|
|
12
|
+
rows: import("@angular/core").InputSignal<any[]>;
|
|
13
|
+
columns: import("@angular/core").InputSignal<any[]>;
|
|
14
|
+
lastItemDisabled: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
position: import("@angular/core").InputSignal<"block" | "flex">;
|
|
16
|
+
withCheckbox: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
withEditItem: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
colorHeader: import("@angular/core").InputSignal<"normal" | "light">;
|
|
19
|
+
customActions: TemplateRef<any>;
|
|
20
|
+
valueTemporal: any;
|
|
21
|
+
deleteItems: import("@angular/core").ModelSignal<number[]>;
|
|
22
|
+
selectItems: import("@angular/core").ModelSignal<any[]>;
|
|
23
|
+
isDarkMode: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
selectedRadio: import("@angular/core").ModelSignal<number>;
|
|
25
|
+
editItem: import("@angular/core").OutputEmitterRef<any>;
|
|
26
|
+
rendered: import("@angular/core").InputSignal<CellRendered[]>;
|
|
27
|
+
concatenarValue(obj: any, value: string[]): string;
|
|
28
|
+
selectRow(index: any): void;
|
|
29
|
+
getSituacionNumberFromColumns(row: any, columns: any[]): number;
|
|
30
|
+
focusData(data: any): void;
|
|
31
|
+
validarData(value: any): boolean;
|
|
32
|
+
toogleItem(index: number, event: Event): void;
|
|
33
|
+
allCheck(event: Event): void;
|
|
34
|
+
validaAllCheck(): boolean;
|
|
35
|
+
isItemSelected(index: number): boolean;
|
|
36
|
+
clickRadio(index: number): void;
|
|
37
|
+
validaLastRegistro: (index: number) => boolean;
|
|
38
|
+
limpiarNumero(numero: any): any;
|
|
39
|
+
widthDefault: (column: any) => any;
|
|
40
|
+
manejarDataEtiqueta(data: any, row: any): void;
|
|
41
|
+
limpiarEtiqueta(event: boolean, row: any): void;
|
|
42
|
+
generateKeyDisabled: (item: any, column: any) => any;
|
|
43
|
+
validaAccionDescri: (index: number) => boolean;
|
|
44
|
+
validarFunction: (value: any) => any;
|
|
45
|
+
validaEdit(positi: number): boolean;
|
|
46
|
+
disabledColumn: (row: any, column: any) => boolean;
|
|
47
|
+
resolveCell(col: string, row: any): CellRender;
|
|
48
|
+
getRowClass(row: any): string;
|
|
49
|
+
rowFilter: import("@angular/core").Signal<any[]>;
|
|
50
|
+
getTipoCampo(fieldname: string): string;
|
|
51
|
+
private filtraItem;
|
|
52
|
+
filtrarColumnas: import("@angular/core").WritableSignal<{
|
|
53
|
+
[caption: string]: boolean;
|
|
54
|
+
}>;
|
|
55
|
+
textoDigitado(event: Event): void;
|
|
56
|
+
getHighlight(text: any): string;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableDetalleComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableDetalleComponent, "app-table-detalle", never, { "selectedRow": { "alias": "selectedRow"; "required": false; "isSignal": true; }; "identifier": { "alias": "identifier"; "required": false; "isSignal": true; }; "altoContainer": { "alias": "altoContainer"; "required": false; "isSignal": true; }; "withFiltro": { "alias": "withFiltro"; "required": false; "isSignal": true; }; "busqueda": { "alias": "busqueda"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "lastItemDisabled": { "alias": "lastItemDisabled"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "withCheckbox": { "alias": "withCheckbox"; "required": false; "isSignal": true; }; "withEditItem": { "alias": "withEditItem"; "required": false; "isSignal": true; }; "colorHeader": { "alias": "colorHeader"; "required": false; "isSignal": true; }; "deleteItems": { "alias": "deleteItems"; "required": false; "isSignal": true; }; "selectItems": { "alias": "selectItems"; "required": false; "isSignal": true; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; "isSignal": true; }; "selectedRadio": { "alias": "selectedRadio"; "required": false; "isSignal": true; }; "rendered": { "alias": "rendered"; "required": false; "isSignal": true; }; }, { "selectedRow": "selectedRowChange"; "busqueda": "busquedaChange"; "deleteItems": "deleteItemsChange"; "selectItems": "selectItemsChange"; "selectedRadio": "selectedRadioChange"; "editItem": "editItem"; }, ["customActions"], never, true, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { CellRender, CellRendered } from '../../../models/cell-rendered';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableSimpleComponent {
|
|
5
|
+
private datePipe;
|
|
6
|
+
private decimalPipe;
|
|
7
|
+
withFiltro: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
busqueda: import("@angular/core").ModelSignal<string>;
|
|
9
|
+
rows: import("@angular/core").InputSignal<any[]>;
|
|
10
|
+
columns: import("@angular/core").InputSignal<any[]>;
|
|
11
|
+
altoContainer: import("@angular/core").InputSignal<number>;
|
|
12
|
+
selectedRow: import("@angular/core").ModelSignal<any>;
|
|
13
|
+
identifier: import("@angular/core").InputSignal<string[]>;
|
|
14
|
+
position: import("@angular/core").InputSignal<"block" | "flex">;
|
|
15
|
+
withSelect: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
selected: import("@angular/core").OutputEmitterRef<any>;
|
|
17
|
+
rendered: import("@angular/core").InputSignal<CellRendered[]>;
|
|
18
|
+
isDarkMode: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
customActions: TemplateRef<any>;
|
|
20
|
+
checkString: {
|
|
21
|
+
S: string;
|
|
22
|
+
N: string;
|
|
23
|
+
};
|
|
24
|
+
rowFilter: import("@angular/core").Signal<any[]>;
|
|
25
|
+
filtrarColumnas: import("@angular/core").WritableSignal<{
|
|
26
|
+
[caption: string]: boolean;
|
|
27
|
+
}>;
|
|
28
|
+
concatenarValue(obj: any, value: string[]): string;
|
|
29
|
+
selectRow(index: any): void;
|
|
30
|
+
checkItem(row: any): void;
|
|
31
|
+
getHighlight(text: any): string;
|
|
32
|
+
generateValueContainer: () => string;
|
|
33
|
+
getTipoCampo(fieldname: string): string;
|
|
34
|
+
private filtraItem;
|
|
35
|
+
textoDigitado(event: Event): void;
|
|
36
|
+
resolveCell(col: string, row: any): CellRender | null;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableSimpleComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableSimpleComponent, "app-table-simple", never, { "withFiltro": { "alias": "withFiltro"; "required": false; "isSignal": true; }; "busqueda": { "alias": "busqueda"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "altoContainer": { "alias": "altoContainer"; "required": false; "isSignal": true; }; "selectedRow": { "alias": "selectedRow"; "required": false; "isSignal": true; }; "identifier": { "alias": "identifier"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "withSelect": { "alias": "withSelect"; "required": false; "isSignal": true; }; "rendered": { "alias": "rendered"; "required": false; "isSignal": true; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; "isSignal": true; }; }, { "busqueda": "busquedaChange"; "selectedRow": "selectedRowChange"; "selected": "selected"; }, ["customActions"], never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TabItemComponent } from '../tab-item/tab-item.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NavTabsComponent {
|
|
4
|
+
tabItems: import("@angular/core").Signal<readonly TabItemComponent[]>;
|
|
5
|
+
active: import("@angular/core").ModelSignal<string | number>;
|
|
6
|
+
isDestroy: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavTabsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavTabsComponent, "app-nav-tabs", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "isDestroy": { "alias": "isDestroy"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, ["tabItems"], never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabItemComponent {
|
|
4
|
+
id: import("@angular/core").InputSignal<string | number>;
|
|
5
|
+
title: import("@angular/core").InputSignal<string>;
|
|
6
|
+
content: import("@angular/core").Signal<TemplateRef<any>>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "app-tab-item", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, ["content"], never, true, never>;
|
|
9
|
+
}
|
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ng-components-tsi",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/animations": "^19.2.6",
|
|
6
|
+
"@angular/cdk": "^19.2.6",
|
|
7
|
+
"sweetalert2": "^11.19.1",
|
|
8
|
+
"@ng-bootstrap/ng-bootstrap": "^18.0.0",
|
|
9
|
+
"@popperjs/core": "^2.11.8",
|
|
10
|
+
"bootstrap": "^5.3.5",
|
|
11
|
+
"@angular/common": "^19.2.0",
|
|
12
|
+
"@angular/core": "^19.2.0"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"tslib": "^2.3.0"
|
|
16
|
+
},
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"module": "fesm2022/ng-components-tsi.mjs",
|
|
19
|
+
"typings": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./package.json": {
|
|
22
|
+
"default": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"default": "./fesm2022/ng-components-tsi.mjs"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export * from './lib/ui/alerts/alert-confirmation/alert-confirmation.component';
|
|
2
|
+
export * from './lib/ui/alerts/alert-fecha-emision/alert-fecha-emision.component';
|
|
3
|
+
export * from './lib/ui/alerts/alerta/alerta.component';
|
|
4
|
+
export * from './lib/ui/alerts/badge/badge.component';
|
|
5
|
+
export * from './lib/ui/alerts/toaster/toaster.component';
|
|
6
|
+
export * from './lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component';
|
|
7
|
+
export * from './lib/ui/dropdown/dropdown-simple/dropdown.component';
|
|
8
|
+
export * from './lib/ui/forms/button/button.component';
|
|
9
|
+
export * from './lib/ui/forms/header/header.component';
|
|
10
|
+
export * from './lib/ui/forms/inputs/autocomplete/autocomplete.component';
|
|
11
|
+
export * from './lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component';
|
|
12
|
+
export * from './lib/ui/forms/inputs/check-box/check-box.component';
|
|
13
|
+
export * from './lib/ui/forms/inputs/doble-input/doble-input.component';
|
|
14
|
+
export * from './lib/ui/forms/inputs/input/input.component';
|
|
15
|
+
export * from './lib/ui/forms/inputs/input-clase/input-clase.component';
|
|
16
|
+
export * from './lib/ui/forms/inputs/input-dinamico/input-dinamico.component';
|
|
17
|
+
export * from './lib/ui/forms/inputs/input-radio/input-radio.component';
|
|
18
|
+
export * from './lib/ui/forms/inputs/multiselected/multiselected.component';
|
|
19
|
+
export * from './lib/ui/forms/inputs/radio/radio.component';
|
|
20
|
+
export * from './lib/ui/forms/inputs/switch/switch.component';
|
|
21
|
+
export * from './lib/ui/forms/lists/list-option/list-option.component';
|
|
22
|
+
export * from './lib/ui/forms/lists/list-situaciones/list-situaciones.component';
|
|
23
|
+
export * from './lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component';
|
|
24
|
+
export * from './lib/ui/forms/sidebar/sidebar.component';
|
|
25
|
+
export * from './lib/ui/general/detalle-credito/detalle-credito.component';
|
|
26
|
+
export * from './lib/ui/general/montos-calcular/montos-calcular.component';
|
|
27
|
+
export * from './lib/ui/general/spinner/spinner.component';
|
|
28
|
+
export * from './lib/ui/tables/card-mobile/card-mobile.component';
|
|
29
|
+
export * from './lib/ui/tables/dropdown-menu/dropdown-menu.component';
|
|
30
|
+
export * from './lib/ui/tables/paginador/paginador.component';
|
|
31
|
+
export * from './lib/ui/tables/table-advance/table-advance.component';
|
|
32
|
+
export * from './lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component';
|
|
33
|
+
export * from './lib/ui/tables/table-busqueda/table-busqueda.component';
|
|
34
|
+
export * from './lib/ui/tables/table-detalle/table-detalle.component';
|
|
35
|
+
export * from './lib/ui/tables/table-simple/table-simple.component';
|
|
36
|
+
export * from './lib/ui/tabs/nav-tabs/nav-tabs.component';
|
|
37
|
+
export * from './lib/ui/tabs/tab-item/tab-item.component';
|