@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.
Files changed (92) hide show
  1. package/fesm2022/jvsoft-components-alerta.mjs +19 -20
  2. package/fesm2022/jvsoft-components-alerta.mjs.map +1 -1
  3. package/fesm2022/jvsoft-components-dialog-flotante.mjs +15 -15
  4. package/fesm2022/jvsoft-components-dialog-flotante.mjs.map +1 -1
  5. package/fesm2022/jvsoft-components-filtro-busqueda.mjs +19 -19
  6. package/fesm2022/jvsoft-components-filtro-busqueda.mjs.map +1 -1
  7. package/fesm2022/jvsoft-components-foto-persona.mjs +481 -0
  8. package/fesm2022/jvsoft-components-foto-persona.mjs.map +1 -0
  9. package/fesm2022/jvsoft-components-lista-arbol.mjs +32 -34
  10. package/fesm2022/jvsoft-components-lista-arbol.mjs.map +1 -1
  11. package/fesm2022/jvsoft-components-luces-navidad.mjs +4 -8
  12. package/fesm2022/jvsoft-components-luces-navidad.mjs.map +1 -1
  13. package/fesm2022/jvsoft-components-mat-suffix-search-button.mjs +3 -3
  14. package/fesm2022/jvsoft-components-mat-suffix-search-button.mjs.map +1 -1
  15. package/fesm2022/jvsoft-components-menu.mjs +9 -12
  16. package/fesm2022/jvsoft-components-menu.mjs.map +1 -1
  17. package/fesm2022/jvsoft-components-tabla-mantenimiento-components-progress-bar.mjs +4 -4
  18. package/fesm2022/jvsoft-components-tabla-mantenimiento-components-progress-bar.mjs.map +1 -1
  19. package/fesm2022/jvsoft-components-tabla-mantenimiento.mjs +76 -78
  20. package/fesm2022/jvsoft-components-tabla-mantenimiento.mjs.map +1 -1
  21. package/fesm2022/jvsoft-components.mjs +9 -3015
  22. package/fesm2022/jvsoft-components.mjs.map +1 -1
  23. package/foto-persona/README.md +341 -0
  24. package/package.json +22 -17
  25. package/src/styles/base-jvsoft-components.css +1542 -5
  26. package/types/jvsoft-components-alerta.d.ts +33 -0
  27. package/types/jvsoft-components-dialog-flotante.d.ts +34 -0
  28. package/types/jvsoft-components-filtro-busqueda.d.ts +217 -0
  29. package/types/jvsoft-components-foto-persona.d.ts +300 -0
  30. package/types/jvsoft-components-lista-arbol.d.ts +60 -0
  31. package/{luces-navidad/luces-navidad.component.d.ts → types/jvsoft-components-luces-navidad.d.ts} +5 -2
  32. package/{mat-suffix-search-button/mat-suffix-search-button.component.d.ts → types/jvsoft-components-mat-suffix-search-button.d.ts} +5 -2
  33. package/{menu/menu.component.d.ts → types/jvsoft-components-menu.d.ts} +24 -4
  34. package/{tabla-mantenimiento/components/progress-bar/progress-bar.component.d.ts → types/jvsoft-components-tabla-mantenimiento-components-progress-bar.d.ts} +7 -3
  35. package/types/jvsoft-components-tabla-mantenimiento.d.ts +469 -0
  36. package/types/jvsoft-components.d.ts +9 -0
  37. package/alerta/alerta.component.d.ts +0 -29
  38. package/alerta/index.d.ts +0 -5
  39. package/alerta/public-api.d.ts +0 -1
  40. package/dialog-flotante/dialog-flotante.component.d.ts +0 -23
  41. package/dialog-flotante/dialog-flotante.interface.d.ts +0 -11
  42. package/dialog-flotante/index.d.ts +0 -5
  43. package/dialog-flotante/public-api.d.ts +0 -1
  44. package/filtro-busqueda/filtro-busqueda.component.d.ts +0 -89
  45. package/filtro-busqueda/filtro-busqueda.service.d.ts +0 -40
  46. package/filtro-busqueda/index.d.ts +0 -5
  47. package/filtro-busqueda/interfaces/filtro-busqueda.interface.d.ts +0 -86
  48. package/filtro-busqueda/public-api.d.ts +0 -3
  49. package/index.d.ts +0 -9
  50. package/lista-arbol/index.d.ts +0 -5
  51. package/lista-arbol/lista-arbol.component.d.ts +0 -57
  52. package/lista-arbol/lista-arbol.functions.d.ts +0 -8
  53. package/lista-arbol/public-api.d.ts +0 -1
  54. package/luces-navidad/index.d.ts +0 -5
  55. package/luces-navidad/public-api.d.ts +0 -1
  56. package/mat-suffix-search-button/index.d.ts +0 -5
  57. package/mat-suffix-search-button/public-api.d.ts +0 -1
  58. package/menu/index.d.ts +0 -5
  59. package/menu/menu.interface.d.ts +0 -16
  60. package/menu/public-api.d.ts +0 -2
  61. package/tabla-mantenimiento/classes/data-model.d.ts +0 -25
  62. package/tabla-mantenimiento/components/progress-bar/index.d.ts +0 -5
  63. package/tabla-mantenimiento/components/progress-bar/public-api.d.ts +0 -1
  64. package/tabla-mantenimiento/index.d.ts +0 -5
  65. package/tabla-mantenimiento/interfaces/Implements/incluye-tabla-mantenimiento.d.ts +0 -12
  66. package/tabla-mantenimiento/interfaces/Implements/index.d.ts +0 -1
  67. package/tabla-mantenimiento/interfaces/archivo.d.ts +0 -26
  68. package/tabla-mantenimiento/interfaces/global/boton-mantenimiento.d.ts +0 -41
  69. package/tabla-mantenimiento/interfaces/global/columnas-tabla.d.ts +0 -142
  70. package/tabla-mantenimiento/interfaces/global/index.d.ts +0 -3
  71. package/tabla-mantenimiento/interfaces/global/no-export.d.ts +0 -2
  72. package/tabla-mantenimiento/interfaces/global/otros.d.ts +0 -28
  73. package/tabla-mantenimiento/interfaces/index.d.ts +0 -3
  74. package/tabla-mantenimiento/mat-row-keyboard-selection.directive.d.ts +0 -19
  75. package/tabla-mantenimiento/pipes/no-sanitize.pipe.d.ts +0 -10
  76. package/tabla-mantenimiento/pipes/zero-fill.pipe.d.ts +0 -8
  77. package/tabla-mantenimiento/public-api.d.ts +0 -4
  78. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-date/column-type-date.component.d.ts +0 -8
  79. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-icons/column-type-icons.component.d.ts +0 -9
  80. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-money/column-type-money.component.d.ts +0 -9
  81. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-number/column-type-number.component.d.ts +0 -8
  82. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-progressbar/column-type-progressbar.component.d.ts +0 -8
  83. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-sino/column-type-sino.component.d.ts +0 -9
  84. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type-text/column-type-text.component.d.ts +0 -8
  85. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type.component.d.ts +0 -18
  86. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/column-type/column-type.module.d.ts +0 -24
  87. package/tabla-mantenimiento/tabla-mantenimiento-column-defs/tabla-mantenimiento-column-defs.component.d.ts +0 -21
  88. package/tabla-mantenimiento/tabla-mantenimiento-menu/tabla-mantenimiento-menu.component.d.ts +0 -18
  89. package/tabla-mantenimiento/tabla-mantenimiento.component.d.ts +0 -159
  90. package/tabla-mantenimiento/tabla-mantenimiento.functions.d.ts +0 -5
  91. package/tabla-mantenimiento/tabla-mantenimiento.service.d.ts +0 -8
  92. package/tabla-mantenimiento/table-util.d.ts +0 -11
@@ -1,3016 +1,12 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, output, computed, Component, EventEmitter, HostListener, Output, Input, Directive, ViewChild, Optional, inject, Pipe, NgModule, ContentChildren, ViewChildren, Injectable, DestroyRef, signal, ElementRef, HostBinding, effect, untracked, InjectionToken } from '@angular/core';
3
- import * as i3 from '@angular/material/dialog';
4
- import { MatDialogModule } from '@angular/material/dialog';
5
- import * as i4 from '@angular/material/icon';
6
- import { MatIconModule, MatIconRegistry, MatIcon } from '@angular/material/icon';
7
- import * as i1 from '@angular/common';
8
- import { CommonModule, DecimalPipe, NgIf, NgForOf } from '@angular/common';
9
- import { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop';
10
- import * as i5 from '@angular/material/core';
11
- import { MatRipple, MatRippleModule, MatOptionModule } from '@angular/material/core';
12
- import * as i6 from '@angular/material/divider';
13
- import { MatDivider, MatDividerModule } from '@angular/material/divider';
14
- import { trigger, state, transition, style, animate } from '@angular/animations';
15
- import { TemplatePortal } from '@angular/cdk/portal';
16
- import * as i2$1 from '@angular/forms';
17
- import { Validators, FormControl, FormGroup, ReactiveFormsModule, FormsModule, FormBuilder } from '@angular/forms';
18
- import * as i14 from '@angular/material/badge';
19
- import { MatBadgeModule } from '@angular/material/badge';
20
- import * as i5$1 from '@angular/material/checkbox';
21
- import { MatCheckboxModule } from '@angular/material/checkbox';
22
- import * as i2$2 from '@angular/material/menu';
23
- import { MatMenuModule, MatMenuTrigger, MatMenu } from '@angular/material/menu';
24
- import * as i9 from '@angular/material/paginator';
25
- import { MatPaginatorModule, MatPaginator, MAT_PAGINATOR_DEFAULT_OPTIONS } from '@angular/material/paginator';
26
- import * as i3$1 from '@angular/material/sort';
27
- import { MatSortModule, MatSort } from '@angular/material/sort';
28
- import * as i2 from '@angular/material/table';
29
- import { MatColumnDef, MatTable, MatTableModule, MatTableDataSource, MatFooterRow, MatRow } from '@angular/material/table';
30
- import * as i4$2 from '@angular/material/tooltip';
31
- import { MatTooltipModule } from '@angular/material/tooltip';
32
- import { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';
33
- import { addMinutes, format } from 'date-fns';
34
- import { Subject, takeUntil, startWith, of, fromEvent, BehaviorSubject } from 'rxjs';
35
- import { filter, map, take, switchMap, debounceTime, takeUntil as takeUntil$1, distinctUntilChanged } from 'rxjs/operators';
36
- import * as i4$1 from '@jvsoft/utils';
37
- import { JvsPopoverDirective, JvsPopoverListenerDirective, simpleHash, DataModel as DataModel$1, generateRandomString, dataEnLista, tipoValorFuncion as tipoValorFuncion$1, getUniqueValues, establecerQuitarRequired, mostrarValorEnBusqueda, getFormValidationErrors } from '@jvsoft/utils';
38
- import * as i1$1 from '@angular/platform-browser';
39
- import { DomSanitizer } from '@angular/platform-browser';
40
- import * as XLSX from 'xlsx';
41
- import { Router, ActivatedRoute, NavigationEnd } from '@angular/router';
42
- import * as i2$3 from '@angular/cdk/overlay';
43
- import * as i3$2 from '@angular/material/tree';
44
- import { MatTreeModule } from '@angular/material/tree';
45
- import { NestedTreeControl } from '@angular/cdk/tree';
46
- import * as i3$3 from '@angular/material/autocomplete';
47
- import { MatAutocompleteModule } from '@angular/material/autocomplete';
48
- import * as i4$3 from '@angular/material/datepicker';
49
- import { MatDatepickerModule } from '@angular/material/datepicker';
50
- import * as i5$2 from '@angular/material/form-field';
51
- import { MatFormFieldModule } from '@angular/material/form-field';
52
- import { MatInputModule } from '@angular/material/input';
53
- import { MatRadioModule } from '@angular/material/radio';
54
- import { MatSelectModule } from '@angular/material/select';
55
- import * as i8 from '@angular/material/tabs';
56
- import { MatTabsModule } from '@angular/material/tabs';
57
- import { TextFieldModule } from '@angular/cdk/text-field';
58
- import { ToastrService } from 'ngx-toastr';
59
-
60
- class DialogFlotanteComponent {
61
- cssClases = input({});
62
- sinTitulo = input(false, { transform: booleanAttribute });
63
- sinBarraDeAccion = input(false, { transform: booleanAttribute });
64
- btnCerrarBarra = input(false, { transform: booleanAttribute });
65
- iconoTitulo = input(undefined);
66
- matDialogRefActual = input(undefined);
67
- // Inputs crudos para botones (string | boolean | object)
68
- btnGuardarInput = input(undefined, { alias: 'btnGuardar' });
69
- btnCerrarInput = input(undefined, { alias: 'btnCerrar' });
70
- btnGuardarClick = output();
71
- btnCerrarClick = output();
72
- defaultBtnCerrar = { label: 'CERRAR', class: 'text-gray-700 border-gray-700' };
73
- defaultBtnGuardar = {
74
- label: 'GUARDAR', class: 'text-blue-700 border-blue-700', icono: 'roundSave'
75
- };
76
- // Computed signals para normalizar la configuración de botones
77
- btnCerrar = computed(() => {
78
- const val = this.btnCerrarInput();
79
- // Si es false, null o undefined -> NO MOSTRAR
80
- if (val === false || val === null || val === undefined)
81
- return undefined;
82
- // Si es string vacío (atributo presente sin valor) o true -> MOSTRAR DEFAULT
83
- if (val === '' || val === true)
84
- return this.defaultBtnCerrar;
85
- // Si es string con valor -> MOSTRAR DEFAULT CON LABEL
86
- if (typeof val === 'string')
87
- return { ...this.defaultBtnCerrar, label: val };
88
- // Si es objeto -> USAR EL OBJETO
89
- return val;
90
- });
91
- btnGuardar = computed(() => {
92
- const val = this.btnGuardarInput();
93
- // Si es false, null o undefined -> NO MOSTRAR
94
- if (val === false || val === null || val === undefined)
95
- return undefined;
96
- // Si es string vacío (atributo presente sin valor) o true -> MOSTRAR DEFAULT
97
- if (val === '' || val === true)
98
- return this.defaultBtnGuardar;
99
- // Si es string con valor -> MOSTRAR DEFAULT CON LABEL
100
- if (typeof val === 'string')
101
- return { ...this.defaultBtnGuardar, label: val };
102
- // Si es objeto -> USAR EL OBJETO
103
- return val;
104
- });
105
- guardarDialogo() {
106
- this.btnGuardarClick.emit(true);
107
- }
108
- cerrarDialogo() {
109
- this.btnCerrarClick.emit(true);
110
- const ref = this.matDialogRefActual();
111
- if (ref) {
112
- if (ref.componentInstance?.validarCerrarDialog) {
113
- ref.componentInstance?.validarCerrarDialog();
114
- }
115
- else {
116
- ref.close('Cerrado GDLG');
117
- }
118
- }
119
- }
120
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DialogFlotanteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
121
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.14", type: DialogFlotanteComponent, isStandalone: true, selector: "[jvsDialogFlotante]", inputs: { cssClases: { classPropertyName: "cssClases", publicName: "cssClases", isSignal: true, isRequired: false, transformFunction: null }, sinTitulo: { classPropertyName: "sinTitulo", publicName: "sinTitulo", isSignal: true, isRequired: false, transformFunction: null }, sinBarraDeAccion: { classPropertyName: "sinBarraDeAccion", publicName: "sinBarraDeAccion", isSignal: true, isRequired: false, transformFunction: null }, btnCerrarBarra: { classPropertyName: "btnCerrarBarra", publicName: "btnCerrarBarra", isSignal: true, isRequired: false, transformFunction: null }, iconoTitulo: { classPropertyName: "iconoTitulo", publicName: "iconoTitulo", isSignal: true, isRequired: false, transformFunction: null }, matDialogRefActual: { classPropertyName: "matDialogRefActual", publicName: "matDialogRefActual", isSignal: true, isRequired: false, transformFunction: null }, btnGuardarInput: { classPropertyName: "btnGuardarInput", publicName: "btnGuardar", isSignal: true, isRequired: false, transformFunction: null }, btnCerrarInput: { classPropertyName: "btnCerrarInput", publicName: "btnCerrar", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { btnGuardarClick: "btnGuardarClick", btnCerrarClick: "btnCerrarClick" }, host: { classAttribute: "jvs-dialog-flotante" }, ngImport: i0, template: "<ng-container *ngIf=\"sinTitulo(); else conTitulo\">\n <ng-container [ngTemplateOutlet]=\"parteComun\"></ng-container>\n</ng-container>\n\n<ng-template #conTitulo>\n <div cdkDrag class=\"block h-full\" cdkDragRootElement=\".cdk-overlay-pane\" cdkDragBoundary=\"body\">\n <div class=\"flex-auto flex items-center justify-between hover:cursor-move gap-1\"\n [ngClass]=\"cssClases()['titulo'] ?? 'bg-primary text-primary-contrast'\"\n mat-dialog-title cdkDragHandle>\n\n <mat-icon *ngIf=\"iconoTitulo()\" class=\"flex-none icon-xs\" [svgIcon]=\"iconoTitulo()!\"></mat-icon>\n <ng-content select=\"[tituloImagen]\"></ng-content>\n <h5 class=\"flex-1 m-0\">\n <ng-content select=\"[titulo]\"></ng-content>\n </h5>\n <ng-content select=\"[selectTitulo]\"></ng-content>\n\n <ng-container *ngIf=\"btnCerrar() || btnCerrarBarra()\">\n <button matRipple class=\"flex items-center justify-center ml-2 h-6 w-6 bg-red-700 rounded-md text-white\"\n type=\"button\" [mat-dialog-close]=\"!matDialogRefActual()\"\n (click)=\"matDialogRefActual() ? cerrarDialogo() : null\">\n <mat-icon svgIcon=\"roundClose\"></mat-icon>\n </button>\n </ng-container>\n </div>\n\n <mat-divider class=\"flex-auto bg-primary\"></mat-divider>\n <ng-container [ngTemplateOutlet]=\"parteComun\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #parteComun>\n <mat-dialog-content class=\"flex-1\">\n <div class=\"contenedor-cuerpo\">\n <ng-content select=\"[cuerpo]\"></ng-content>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions class=\"flex-auto flex items-center justify-between gap-1 pt-0 mt-0\" *ngIf=\"!sinBarraDeAccion()\">\n <div class=\"flex items-start justify-start gap-1\">\n <ng-content select=\"[pieIzquierda]\"></ng-content>\n </div>\n <div class=\"flex items-center justify-center gap-1\">\n <ng-content select=\"[pieCentro]\"></ng-content>\n </div>\n <div class=\"flex items-end justify-end gap-1\">\n <ng-content select=\"[pieDerecha]\"></ng-content>\n\n <!-- Bot\u00F3n Guardar -->\n <button matRipple *ngIf=\"btnGuardar()\" type=\"submit\"\n class=\"boton-dialog-flotante\" [ngClass]=\"btnGuardar()!.class\"\n [class]=\"cssClases()['btnGuardar']\" (click)=\"guardarDialogo()\">\n <mat-icon class=\"icon-xs\" [svgIcon]=\"btnGuardar()?.icono ?? ''\"></mat-icon>\n <span>{{ btnGuardar()!.label }}</span>\n </button>\n\n <!-- Bot\u00F3n Cerrar -->\n <button matRipple *ngIf=\"btnCerrar()\" type=\"button\"\n class=\"boton-dialog-flotante\" [ngClass]=\"btnCerrar()!.class\"\n [mat-dialog-close]=\"!matDialogRefActual()\" (click)=\"matDialogRefActual() ? cerrarDialogo() : null\">\n <mat-icon class=\"icon-xs\" svgIcon=\"roundClose\"></mat-icon>\n <span>{{ btnCerrar()!.label }}</span>\n </button>\n </div>\n </mat-dialog-actions>\n</ng-template>\n", styles: [".jvs-dialog-flotante{max-width:98vw}.jvs-dialog-flotante .mat-mdc-dialog-title .mat-mdc-checkbox .mdc-form-field{color:unset}.jvs-dialog-flotante .mat-mdc-dialog-title .mat-mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--color-prnpx tailwindcss init --fullimary-contrast)!important}.jvs-dialog-flotante fieldset{@apply w-full sm:w-auto rounded-sm bg-transparent pt-0 pb-1 px-1 border;}.jvs-dialog-flotante fieldset legend{@apply px-2 font-bold border-0 bg-transparent;width:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "component", type: MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }] });
122
- }
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DialogFlotanteComponent, decorators: [{
124
- type: Component,
125
- args: [{ selector: '[jvsDialogFlotante]', imports: [
126
- CommonModule,
127
- MatIconModule,
128
- MatDialogModule,
129
- CdkDrag,
130
- CdkDragHandle,
131
- MatRipple,
132
- MatDivider,
133
- ], host: {
134
- class: 'jvs-dialog-flotante',
135
- }, template: "<ng-container *ngIf=\"sinTitulo(); else conTitulo\">\n <ng-container [ngTemplateOutlet]=\"parteComun\"></ng-container>\n</ng-container>\n\n<ng-template #conTitulo>\n <div cdkDrag class=\"block h-full\" cdkDragRootElement=\".cdk-overlay-pane\" cdkDragBoundary=\"body\">\n <div class=\"flex-auto flex items-center justify-between hover:cursor-move gap-1\"\n [ngClass]=\"cssClases()['titulo'] ?? 'bg-primary text-primary-contrast'\"\n mat-dialog-title cdkDragHandle>\n\n <mat-icon *ngIf=\"iconoTitulo()\" class=\"flex-none icon-xs\" [svgIcon]=\"iconoTitulo()!\"></mat-icon>\n <ng-content select=\"[tituloImagen]\"></ng-content>\n <h5 class=\"flex-1 m-0\">\n <ng-content select=\"[titulo]\"></ng-content>\n </h5>\n <ng-content select=\"[selectTitulo]\"></ng-content>\n\n <ng-container *ngIf=\"btnCerrar() || btnCerrarBarra()\">\n <button matRipple class=\"flex items-center justify-center ml-2 h-6 w-6 bg-red-700 rounded-md text-white\"\n type=\"button\" [mat-dialog-close]=\"!matDialogRefActual()\"\n (click)=\"matDialogRefActual() ? cerrarDialogo() : null\">\n <mat-icon svgIcon=\"roundClose\"></mat-icon>\n </button>\n </ng-container>\n </div>\n\n <mat-divider class=\"flex-auto bg-primary\"></mat-divider>\n <ng-container [ngTemplateOutlet]=\"parteComun\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #parteComun>\n <mat-dialog-content class=\"flex-1\">\n <div class=\"contenedor-cuerpo\">\n <ng-content select=\"[cuerpo]\"></ng-content>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions class=\"flex-auto flex items-center justify-between gap-1 pt-0 mt-0\" *ngIf=\"!sinBarraDeAccion()\">\n <div class=\"flex items-start justify-start gap-1\">\n <ng-content select=\"[pieIzquierda]\"></ng-content>\n </div>\n <div class=\"flex items-center justify-center gap-1\">\n <ng-content select=\"[pieCentro]\"></ng-content>\n </div>\n <div class=\"flex items-end justify-end gap-1\">\n <ng-content select=\"[pieDerecha]\"></ng-content>\n\n <!-- Bot\u00F3n Guardar -->\n <button matRipple *ngIf=\"btnGuardar()\" type=\"submit\"\n class=\"boton-dialog-flotante\" [ngClass]=\"btnGuardar()!.class\"\n [class]=\"cssClases()['btnGuardar']\" (click)=\"guardarDialogo()\">\n <mat-icon class=\"icon-xs\" [svgIcon]=\"btnGuardar()?.icono ?? ''\"></mat-icon>\n <span>{{ btnGuardar()!.label }}</span>\n </button>\n\n <!-- Bot\u00F3n Cerrar -->\n <button matRipple *ngIf=\"btnCerrar()\" type=\"button\"\n class=\"boton-dialog-flotante\" [ngClass]=\"btnCerrar()!.class\"\n [mat-dialog-close]=\"!matDialogRefActual()\" (click)=\"matDialogRefActual() ? cerrarDialogo() : null\">\n <mat-icon class=\"icon-xs\" svgIcon=\"roundClose\"></mat-icon>\n <span>{{ btnCerrar()!.label }}</span>\n </button>\n </div>\n </mat-dialog-actions>\n</ng-template>\n", styles: [".jvs-dialog-flotante{max-width:98vw}.jvs-dialog-flotante .mat-mdc-dialog-title .mat-mdc-checkbox .mdc-form-field{color:unset}.jvs-dialog-flotante .mat-mdc-dialog-title .mat-mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--color-prnpx tailwindcss init --fullimary-contrast)!important}.jvs-dialog-flotante fieldset{@apply w-full sm:w-auto rounded-sm bg-transparent pt-0 pb-1 px-1 border;}.jvs-dialog-flotante fieldset legend{@apply px-2 font-bold border-0 bg-transparent;width:auto}\n"] }]
136
- }] });
137
-
138
- function buscarEnArray(coleccion, idBuscar, dato) {
139
- if (!Array.isArray(coleccion) || coleccion.length === 0)
140
- return null; // 🔹 Validación de entrada
141
- return Array.isArray(idBuscar)
142
- ? coleccion.find(item => idBuscar.every((campo, idx) => item[campo] === dato[idx])) || null
143
- : coleccion.find(item => item[idBuscar] === dato) || null;
144
- }
145
- function formatearFecha(val, hora = '00:00:00') {
146
- if (val) {
147
- if (val.length <= 10) {
148
- val = val + ' ' + hora;
149
- }
150
- return new Date(val);
151
- }
152
- return val;
153
- }
154
- function esNumero(value) {
155
- return !isNaN(Number(value));
156
- }
157
- function capitalizarTexto(texto) {
158
- texto = texto.replace(/_/g, ' ');
159
- texto = texto.replace(/-/g, ' ');
160
- const textoCortado = texto.split(' ');
161
- const nText = [];
162
- textoCortado.forEach(textActual => {
163
- nText.push(textActual.charAt(0).toUpperCase() + textActual.slice(1));
164
- });
165
- return nText.join(' ');
166
- }
167
- function getBrowserName() {
168
- const agent = window.navigator.userAgent.toLowerCase();
169
- switch (true) {
170
- case agent.indexOf('edge') > -1:
171
- return 'edge';
172
- case agent.indexOf('opr') > -1 && !!window.opr:
173
- return 'opera';
174
- case agent.indexOf('chrome') > -1 && !!window.chrome:
175
- return 'chrome';
176
- case agent.indexOf('trident') > -1:
177
- return 'ie';
178
- case agent.indexOf('firefox') > -1:
179
- return 'firefox';
180
- case agent.indexOf('safari') > -1:
181
- return 'safari';
182
- default:
183
- return 'other';
184
- }
185
- }
186
-
187
- class DataModel {
188
- modelosChk = {}; // Usar any para valores dinámicos
189
- checkbox;
190
- constructor() {
191
- this.checkbox = new ForCheckboxModel(this);
192
- }
193
- generarId(row, campoValor, separador = '') {
194
- if (typeof campoValor == 'string') {
195
- campoValor = [campoValor];
196
- }
197
- return campoValor.map(data => row[data]).join(separador);
198
- }
199
- // Agrega controles al objeto modelosChk
200
- agregarControles(lista, idLista, limpiar = true, campoValor = null, campoValorSeparador = '') {
201
- if (limpiar) {
202
- this.modelosChk = {};
203
- }
204
- const asignarValor = (dat, idLista, campoValor, key) => {
205
- if (!key) {
206
- key = dat[idLista] + (campoValor.includes('.') ? '' : `.${campoValor}`);
207
- }
208
- const mat = campoValor.match(/^([in])[A-Z][a-zA-Z]+/);
209
- if (mat) {
210
- this.modelosChk[key] = dat[campoValor] * 1;
211
- }
212
- else {
213
- this.modelosChk[key] = dat[campoValor];
214
- }
215
- };
216
- lista.forEach(dat => {
217
- if (campoValor === null) {
218
- // Caso 1: Sin campoValor, se asigna false
219
- this.modelosChk[dat[idLista]] = false;
220
- }
221
- else if (typeof campoValor === 'string') {
222
- // Caso 2: campoValor es un string
223
- asignarValor(dat, idLista, campoValor, dat[idLista]);
224
- }
225
- else if (campoValorSeparador) {
226
- const idStr = this.generarId(dat, campoValor, campoValorSeparador);
227
- // Caso 2: campoValor es un string
228
- asignarValor(dat, idLista, '.', idStr);
229
- }
230
- else {
231
- // Caso 3: campoValor es un array de strings
232
- campoValor.forEach(data => asignarValor(dat, idLista, data));
233
- }
234
- });
235
- }
236
- // Establece el estado de un índice
237
- setState(idx, state) {
238
- this.modelosChk[idx] = state;
239
- }
240
- // Obtiene el estado de un índice
241
- getState(idx) {
242
- return this.modelosChk[idx];
243
- }
244
- getDataMultiple(idx) {
245
- const camposMod = Object.keys(this.modelosChk).filter(key => key.split('.')[0] == idx);
246
- const vRet = {};
247
- camposMod.forEach(key => {
248
- vRet[key.split('.')[1]] = this.modelosChk[key];
249
- });
250
- return vRet;
251
- }
252
- // Genera una lista basada en el estado de los índices
253
- generarLista(tipoRetorno = null, esCampoNumerico = false) {
254
- const strLista = [];
255
- const objLista = {};
256
- Object.keys(this.modelosChk).forEach(key => {
257
- if ((esCampoNumerico && esNumero(this.modelosChk[key])) ||
258
- (this.modelosChk[key])) {
259
- strLista.push(key);
260
- objLista[key] = this.modelosChk[key];
261
- }
262
- });
263
- if (tipoRetorno === 'array') {
264
- return strLista;
265
- }
266
- if (tipoRetorno === 'object') {
267
- return objLista;
268
- }
269
- return strLista.join(',');
270
- }
271
- generarFormGroupFromModelosChk(tipo) {
272
- const formGroupObj = {};
273
- let validadores = [];
274
- if (tipo == 'number') {
275
- validadores = [
276
- Validators.required,
277
- Validators.min(1)
278
- ];
279
- }
280
- Object.keys(this.modelosChk).forEach(key => {
281
- formGroupObj[key] = new FormControl(this.modelosChk[key], validadores);
282
- });
283
- return new FormGroup(formGroupObj);
284
- // return this.formBuilder.group(formGroupObj);
285
- }
286
- }
287
- class ForCheckboxModel {
288
- modeloCheck;
289
- constructor(modeloCheck) {
290
- this.modeloCheck = modeloCheck;
291
- }
292
- get cantidadActivos() {
293
- return Object.values(this.modeloCheck.modelosChk).filter(Boolean).length;
294
- }
295
- get existenActivados() {
296
- return this.cantidadActivos > 0;
297
- }
298
- get todosActivos() {
299
- const total = Object.keys(this.modeloCheck.modelosChk).length;
300
- const activos = this.cantidadActivos;
301
- return activos > 0 && total === activos;
302
- }
303
- get algunosActivos() {
304
- const total = Object.keys(this.modeloCheck.modelosChk).length;
305
- const activos = this.cantidadActivos;
306
- return activos > 0 && total !== activos;
307
- }
308
- establecerTodos(activo) {
309
- Object.keys(this.modeloCheck.modelosChk).forEach(idx => this.modeloCheck.modelosChk[idx] = activo);
310
- }
311
- }
312
-
313
- function tipoValorFuncion(datoParam, defaultValue, ...param) {
314
- if (datoParam === undefined || datoParam === null) {
315
- return defaultValue; // Retorna el valor por defecto si es undefined
316
- }
317
- if (typeof datoParam === 'function') {
318
- return datoParam(...param);
319
- }
320
- return datoParam;
321
- }
322
-
323
- class MatRowKeyboardSelectionDirective {
324
- el;
325
- rows;
326
- renderedData;
327
- tabla; // Entrada: Referencia a la tabla
328
- rowModel; // Entrada: Modelo de fila actual
329
- seleccionarSiguiente = new EventEmitter(); // Salida: Evento al seleccionar siguiente
330
- unsubscriber$ = new Subject();
331
- constructor(el) {
332
- this.el = el;
333
- }
334
- ngOnInit() {
335
- // Asignar tabindex si no está definido
336
- if (this.el.nativeElement.tabIndex < 0) {
337
- this.el.nativeElement.tabIndex = 0;
338
- }
339
- // Obtener la fuente de datos de la tabla
340
- const dataSource = this.tabla.dataSource;
341
- // Suscribirse a los cambios en los datos
342
- dataSource.connect().pipe(takeUntil(this.unsubscriber$)).subscribe(data => {
343
- this.renderedData = data;
344
- this.rows = Array.from(this.getTableRows());
345
- });
346
- }
347
- ngOnDestroy() {
348
- // Finalizar la suscripción al destruir la directiva
349
- this.unsubscriber$.next(null);
350
- this.unsubscriber$.complete();
351
- }
352
- onKeydown(event) {
353
- var element = event.target;
354
- if (element.tagName === "INPUT") {
355
- event.stopPropagation();
356
- }
357
- else {
358
- const currentIndex = this.renderedData.findIndex(row => row === this.rowModel);
359
- const eRef = event.target;
360
- this.rows = this.rows.filter(elem => elem.hasAttribute('id'));
361
- const arrayFilas = Array.from(this.rows);
362
- const fElem = arrayFilas.filter(elem => elem.id == eRef.id).pop();
363
- const cElemIdx = arrayFilas.findIndex(elem => elem == fElem);
364
- let newRow;
365
- // Controlar las teclas presionadas
366
- switch (event.key) {
367
- case 'ArrowDown':
368
- newRow = this.rows[cElemIdx + 1];
369
- break;
370
- case 'ArrowUp':
371
- newRow = this.rows[cElemIdx - 1];
372
- break;
373
- case 'Enter':
374
- case ' ':
375
- this.seleccionarSiguiente.next(this.renderedData[currentIndex]);
376
- event.preventDefault();
377
- break;
378
- }
379
- // Enfocar la nueva fila seleccionada
380
- if (newRow) {
381
- newRow.classList.add('estaFocus');
382
- newRow.focus();
383
- }
384
- }
385
- }
386
- getTableRows() {
387
- let el = this.el.nativeElement;
388
- // Recorrer los elementos padres hasta encontrar la tabla
389
- while (el && el.parentNode) {
390
- el = el.parentNode;
391
- // Verificar si es una tabla de material
392
- if (el.tagName && el.tagName.toLowerCase() === 'mat-table' || el.hasAttribute('mat-table')) {
393
- return el.querySelectorAll('mat-row, tr[mat-row]');
394
- }
395
- }
396
- return undefined;
397
- }
398
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MatRowKeyboardSelectionDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
399
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: MatRowKeyboardSelectionDirective, isStandalone: true, selector: "[matRowKeyboardSelection]", inputs: { tabla: ["matRowKeyboardSelection", "tabla"], rowModel: "rowModel" }, outputs: { seleccionarSiguiente: "seleccionarSiguiente" }, host: { listeners: { "keydown": "onKeydown($event)" } }, ngImport: i0 });
400
- }
401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MatRowKeyboardSelectionDirective, decorators: [{
402
- type: Directive,
403
- args: [{
404
- selector: '[matRowKeyboardSelection]'
405
- }]
406
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { tabla: [{
407
- type: Input,
408
- args: ['matRowKeyboardSelection']
409
- }], rowModel: [{
410
- type: Input
411
- }], seleccionarSiguiente: [{
412
- type: Output
413
- }], onKeydown: [{
414
- type: HostListener,
415
- args: ['keydown', ['$event']]
416
- }] } });
417
-
418
- class ColumnTypeComponent {
419
- table;
420
- column;
421
- columnDef;
422
- columnTitleTemplate; // Permite personalizar títulos
423
- columnFooterTemplate; // Permite personalizar footer
424
- cellTemplate; // Se usa para el contenido de las celdas
425
- constructor(table) {
426
- this.table = table;
427
- }
428
- ngOnInit() {
429
- }
430
- ngAfterViewInit() {
431
- if (this.columnDef) {
432
- this.table.addColumnDef(this.columnDef);
433
- }
434
- }
435
- accionClick(item, event) {
436
- if (this.column.click) {
437
- this.column.click(item);
438
- event.stopPropagation();
439
- }
440
- return false;
441
- }
442
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeComponent, deps: [{ token: i2.MatTable, optional: true }], target: i0.ɵɵFactoryTarget.Component });
443
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ColumnTypeComponent, isStandalone: false, selector: "jvs-column-type", inputs: { column: "column", columnTitleTemplate: "columnTitleTemplate", columnFooterTemplate: "columnFooterTemplate", cellTemplate: "cellTemplate" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: MatColumnDef, descendants: true, static: true }], ngImport: i0, template: "<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <ng-container *ngIf=\"columnTitleTemplate; else defaultTitle\">\n <ng-container *ngTemplateOutlet=\"columnTitleTemplate; context: { column: column }\"></ng-container>\n </ng-container>\n <ng-template #defaultTitle>\n <span [innerHTML]=\"column.label ?? ''\">{{ column.label }} </span>\n </ng-template>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n <ng-container *ngTemplateOutlet=\"cellTemplate; context: { row: row, column: column }\"></ng-container>\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n <ng-container *ngIf=\"columnFooterTemplate; else defaultFooter\">\n <ng-container *ngTemplateOutlet=\"columnFooterTemplate; context: { column: column }\"></ng-container>\n </ng-container>\n <ng-template #defaultFooter>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </ng-template>\n </th>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }] });
444
- }
445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeComponent, decorators: [{
446
- type: Component,
447
- args: [{ selector: 'jvs-column-type', standalone: false, template: "<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <ng-container *ngIf=\"columnTitleTemplate; else defaultTitle\">\n <ng-container *ngTemplateOutlet=\"columnTitleTemplate; context: { column: column }\"></ng-container>\n </ng-container>\n <ng-template #defaultTitle>\n <span [innerHTML]=\"column.label ?? ''\">{{ column.label }} </span>\n </ng-template>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n <ng-container *ngTemplateOutlet=\"cellTemplate; context: { row: row, column: column }\"></ng-container>\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n <ng-container *ngIf=\"columnFooterTemplate; else defaultFooter\">\n <ng-container *ngTemplateOutlet=\"columnFooterTemplate; context: { column: column }\"></ng-container>\n </ng-container>\n <ng-template #defaultFooter>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </ng-template>\n </th>\n</ng-container>\n" }]
448
- }], ctorParameters: () => [{ type: i2.MatTable, decorators: [{
449
- type: Optional
450
- }] }], propDecorators: { column: [{
451
- type: Input,
452
- args: [{ required: true }]
453
- }], columnDef: [{
454
- type: ViewChild,
455
- args: [MatColumnDef, { static: true }]
456
- }], columnTitleTemplate: [{
457
- type: Input
458
- }], columnFooterTemplate: [{
459
- type: Input
460
- }], cellTemplate: [{
461
- type: Input
462
- }] } });
463
-
464
- class ColumnTypeNumberComponent extends ColumnTypeComponent {
465
- column = {};
466
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeNumberComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
467
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ColumnTypeNumberComponent, isStandalone: false, selector: "jvs-column-type-number", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "\n<ng-template #cellTemplate let-row=\"row\">\n\t\t\t\t<span *ngIf=\"column.property\" class=\"!text-indigo-900 font-semibold\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\">\n\t\t\t\t\t{{ row[column.property] | number: (column.format ? column.format : '1.0-2') }}\n\t\t\t\t</span>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "directive", type: i4$1.JvsPopoverDirective, selector: "[jvsPopover]", inputs: ["jvsPopover", "context", "trigger", "position", "customClass"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }] });
468
- }
469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeNumberComponent, decorators: [{
470
- type: Component,
471
- args: [{ selector: 'jvs-column-type-number', standalone: false, template: "\n<ng-template #cellTemplate let-row=\"row\">\n\t\t\t\t<span *ngIf=\"column.property\" class=\"!text-indigo-900 font-semibold\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\">\n\t\t\t\t\t{{ row[column.property] | number: (column.format ? column.format : '1.0-2') }}\n\t\t\t\t</span>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n" }]
472
- }], propDecorators: { column: [{
473
- type: Input,
474
- args: [{ required: true }]
475
- }] } });
476
-
477
- class ColumnTypeDateComponent extends ColumnTypeComponent {
478
- column = {};
479
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeDateComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
480
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ColumnTypeDateComponent, isStandalone: false, selector: "jvs-column-type-date", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "<ng-template #cellTemplate let-row=\"row\">\n <span [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\"\n *ngIf=\"column.property && row[column.property]\">\n {{ row[column.property] | date: (column.format ? column.format : 'dd/MM/yyyy') }}\n </span>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "directive", type: i4$1.JvsPopoverDirective, selector: "[jvsPopover]", inputs: ["jvsPopover", "context", "trigger", "position", "customClass"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }] });
481
- }
482
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeDateComponent, decorators: [{
483
- type: Component,
484
- args: [{ selector: 'jvs-column-type-date', standalone: false, template: "<ng-template #cellTemplate let-row=\"row\">\n <span [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\"\n *ngIf=\"column.property && row[column.property]\">\n {{ row[column.property] | date: (column.format ? column.format : 'dd/MM/yyyy') }}\n </span>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n" }]
485
- }], propDecorators: { column: [{
486
- type: Input,
487
- args: [{ required: true }]
488
- }] } });
489
-
490
- const YES_ICON = `
491
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z"/></svg>
492
- `;
493
- const NO_ICON = `
494
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"/></svg>
495
- `;
496
- class ColumnTypeSinoComponent extends ColumnTypeComponent {
497
- column = {}; // 🟢 Solución
498
- constructor() {
499
- super(inject(MatTable)); // 🟢 Llamar al constructor del padre
500
- const iconRegistry = inject(MatIconRegistry);
501
- const sanitizer = inject(DomSanitizer);
502
- // Note that we provide the icon here as a string literal here due to a limitation in
503
- // Stackblitz. If you want to provide the icon from a URL, you can use:
504
- // `iconRegistry.addSvgIcon('thumbs-up', sanitizer.bypassSecurityTrustResourceUrl('icon.svg'));`
505
- iconRegistry.addSvgIconLiteralInNamespace('yes_no', 'yes', sanitizer.bypassSecurityTrustHtml(YES_ICON));
506
- iconRegistry.addSvgIconLiteralInNamespace('yes_no', 'no', sanitizer.bypassSecurityTrustHtml(NO_ICON));
507
- // iconRegistry.addSvgIconLiteral('yesIcon', sanitizer.bypassSecurityTrustHtml(YES_ICON));
508
- // iconRegistry.addSvgIconLiteral('noIcon', sanitizer.bypassSecurityTrustHtml(NO_ICON));
509
- }
510
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeSinoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
511
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ColumnTypeSinoComponent, isStandalone: false, selector: "jvs-column-type-sino", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "<ng-template #cellTemplate let-row=\"row\">\n <div class=\"flex items-center justify-center\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\">\n <mat-icon *ngIf=\"[column.yesValue, 1, true].includes(row[column.property])\"\n [svgIcon]=\"column.yesIcon ?? 'yes_no:yes'\" class=\"icon-sm\"\n [matTooltip]=\"column.yesTooltip ?? undefined\"\n ></mat-icon>\n <mat-icon *ngIf=\"[column.noValue, 0, false].includes(row[column.property])\" [svgIcon]=\"column.noIcon ?? 'yes_no:no'\"\n class=\"icon-sm\"\n [matTooltip]=\"column.noTooltip ?? undefined\"\n ></mat-icon>\n <span class=\"cdk-visually-hidden\">{{ row[column.property] }}</span>\n </div>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "directive", type: i4$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4$1.JvsPopoverDirective, selector: "[jvsPopover]", inputs: ["jvsPopover", "context", "trigger", "position", "customClass"] }] });
512
- }
513
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeSinoComponent, decorators: [{
514
- type: Component,
515
- args: [{ selector: 'jvs-column-type-sino', standalone: false, template: "<ng-template #cellTemplate let-row=\"row\">\n <div class=\"flex items-center justify-center\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\">\n <mat-icon *ngIf=\"[column.yesValue, 1, true].includes(row[column.property])\"\n [svgIcon]=\"column.yesIcon ?? 'yes_no:yes'\" class=\"icon-sm\"\n [matTooltip]=\"column.yesTooltip ?? undefined\"\n ></mat-icon>\n <mat-icon *ngIf=\"[column.noValue, 0, false].includes(row[column.property])\" [svgIcon]=\"column.noIcon ?? 'yes_no:no'\"\n class=\"icon-sm\"\n [matTooltip]=\"column.noTooltip ?? undefined\"\n ></mat-icon>\n <span class=\"cdk-visually-hidden\">{{ row[column.property] }}</span>\n </div>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n" }]
516
- }], ctorParameters: () => [], propDecorators: { column: [{
517
- type: Input,
518
- args: [{ required: true }]
519
- }] } });
520
-
521
- class ProgressBarComponent {
522
- objThis;
523
- porcentaje = 0;
524
- textoCentrado = false;
525
- _textoMostrar = '';
526
- get textoMostrar() { return this._textoMostrar; }
527
- set textoMostrar(val) { this._textoMostrar = val; }
528
- _formatoNumero = '';
529
- get formatoNumero() { return this._formatoNumero; }
530
- set formatoNumero(val) { this._formatoNumero = val ?? '1.0-0'; }
531
- _coloresValor = [];
532
- get coloresValor() { return this._coloresValor; }
533
- set coloresValor(val) {
534
- if (!val || !Array.isArray(val)) {
535
- this._coloresValor = [
536
- { valorMaximo: 1, class: 'p-0' },
537
- { valorMaximo: 40, class: 'bg-red-400 text-red-900' },
538
- // {valorMaximo: 35, class: 'bg-red-600 text-red-100'},
539
- { valorMaximo: 80, class: 'bg-yellow-600 text-yellow-100' },
540
- { valorMaximo: 100, class: 'bg-green-600 text-green-100' },
541
- ];
542
- }
543
- else {
544
- this._coloresValor = val;
545
- }
546
- }
547
- constructor() { }
548
- ngOnInit() {
549
- }
550
- colorEstilo() {
551
- let estiloFin = null;
552
- let claseFin = null;
553
- let encontro = false;
554
- this.coloresValor = this.ordenarPorPropiedad(this.coloresValor, 'valorMaximo');
555
- this.coloresValor.forEach(estilo => {
556
- if (!encontro && (this.porcentaje <= estilo.valorMaximo)) {
557
- // console.log(this.porcentaje, estilo, (this.porcentaje < estilo.valorMaximo));
558
- encontro = true;
559
- estiloFin = estilo.style;
560
- claseFin = estilo.class;
561
- }
562
- });
563
- return {
564
- style: estiloFin ?? '',
565
- class: claseFin ?? '',
566
- };
567
- }
568
- ordenarPorPropiedad(objData, propiedad, numeros = false) {
569
- if (numeros) {
570
- return objData.sort((a, b) => a[propiedad] - b[propiedad]);
571
- }
572
- return objData.sort((a, b) => (a[propiedad] > b[propiedad]) ? 1 : ((b[propiedad] > a[propiedad]) ? -1 : 0));
573
- }
574
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
575
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ProgressBarComponent, isStandalone: true, selector: "jvs-progress-bar", inputs: { objThis: "objThis", porcentaje: "porcentaje", textoCentrado: "textoCentrado", textoMostrar: "textoMostrar", formatoNumero: "formatoNumero", coloresValor: "coloresValor" }, host: { classAttribute: "jvs-progress-bar" }, ngImport: i0, template: "<div class=\"w-full bg-gray-200 text-gray-700 rounded-full\" [class.text-center]=\"textoCentrado\">\n\t<div class=\"text-xxs font-medium text-center p-1 leading-none rounded-full\"\n\t\t [ngClass]=\"colorEstilo().class ? colorEstilo().class : 'bg-blue-600 text-blue-100'\"\n\t\t [style]=\"colorEstilo().style ? colorEstilo().style : ''\"\n\t\t [style.width]=\"(textoCentrado ? 100 : porcentaje) + '%'\"\n\t>\n <span *ngIf=\"textoMostrar else defaultText;\" class=\"whitespace-nowrap\">{{ textoMostrar }}</span>\n <ng-template #defaultText>{{ porcentaje | number: formatoNumero }}%</ng-template>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }] });
576
- }
577
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProgressBarComponent, decorators: [{
578
- type: Component,
579
- args: [{ selector: 'jvs-progress-bar', standalone: true, imports: [
580
- CommonModule,
581
- DecimalPipe
582
- ], host: {
583
- class: 'jvs-progress-bar',
584
- }, template: "<div class=\"w-full bg-gray-200 text-gray-700 rounded-full\" [class.text-center]=\"textoCentrado\">\n\t<div class=\"text-xxs font-medium text-center p-1 leading-none rounded-full\"\n\t\t [ngClass]=\"colorEstilo().class ? colorEstilo().class : 'bg-blue-600 text-blue-100'\"\n\t\t [style]=\"colorEstilo().style ? colorEstilo().style : ''\"\n\t\t [style.width]=\"(textoCentrado ? 100 : porcentaje) + '%'\"\n\t>\n <span *ngIf=\"textoMostrar else defaultText;\" class=\"whitespace-nowrap\">{{ textoMostrar }}</span>\n <ng-template #defaultText>{{ porcentaje | number: formatoNumero }}%</ng-template>\n </div>\n</div>\n" }]
585
- }], ctorParameters: () => [], propDecorators: { objThis: [{
586
- type: Input
587
- }], porcentaje: [{
588
- type: Input
589
- }], textoCentrado: [{
590
- type: Input
591
- }], textoMostrar: [{
592
- type: Input
593
- }], formatoNumero: [{
594
- type: Input
595
- }], coloresValor: [{
596
- type: Input
597
- }] } });
598
-
599
- class ColumnTypeProgressbarComponent extends ColumnTypeComponent {
600
- column = {};
601
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeProgressbarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
602
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ColumnTypeProgressbarComponent, isStandalone: false, selector: "jvs-column-type-progressbar", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "<ng-template #cellTemplate let-row=\"row\">\n <jvs-progress-bar\n [textoCentrado]=\"!!column.progressbar.textoCentrado\"\n [porcentaje]=\"column.progressbar.porcentaje(row)\"\n [coloresValor]=\"column.progressbar.coloresValor\"\n [formatoNumero]=\"column.progressbar.formatoNumero\"\n [textoMostrar]=\"column.progressbar.textoMostrar ? column.progressbar.textoMostrar(row) : ''\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\"\n ></jvs-progress-bar>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: ProgressBarComponent, selector: "jvs-progress-bar", inputs: ["objThis", "porcentaje", "textoCentrado", "textoMostrar", "formatoNumero", "coloresValor"] }, { kind: "directive", type: i4$1.JvsPopoverDirective, selector: "[jvsPopover]", inputs: ["jvsPopover", "context", "trigger", "position", "customClass"] }] });
603
- }
604
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeProgressbarComponent, decorators: [{
605
- type: Component,
606
- args: [{ selector: 'jvs-column-type-progressbar', standalone: false, template: "<ng-template #cellTemplate let-row=\"row\">\n <jvs-progress-bar\n [textoCentrado]=\"!!column.progressbar.textoCentrado\"\n [porcentaje]=\"column.progressbar.porcentaje(row)\"\n [coloresValor]=\"column.progressbar.coloresValor\"\n [formatoNumero]=\"column.progressbar.formatoNumero\"\n [textoMostrar]=\"column.progressbar.textoMostrar ? column.progressbar.textoMostrar(row) : ''\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\"\n ></jvs-progress-bar>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n" }]
607
- }], propDecorators: { column: [{
608
- type: Input,
609
- args: [{ required: true }]
610
- }] } });
611
-
612
- class NoSanitizePipe {
613
- domSanitizer;
614
- constructor(domSanitizer) {
615
- this.domSanitizer = domSanitizer;
616
- }
617
- transform(html) {
618
- return this.domSanitizer.bypassSecurityTrustHtml(html);
619
- }
620
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NoSanitizePipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
621
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: NoSanitizePipe, isStandalone: true, name: "noSanitize" });
622
- }
623
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NoSanitizePipe, decorators: [{
624
- type: Pipe,
625
- args: [{
626
- name: 'noSanitize',
627
- standalone: true
628
- }]
629
- }], ctorParameters: () => [{ type: i1$1.DomSanitizer }] });
630
-
631
- class ZeroFillPipe {
632
- transform(value, digitos, ...args) {
633
- let s = value + '';
634
- while (s.length < digitos) {
635
- s = '0' + s;
636
- }
637
- return s;
638
- }
639
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ZeroFillPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
640
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ZeroFillPipe, isStandalone: true, name: "zeroFill" });
641
- }
642
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ZeroFillPipe, decorators: [{
643
- type: Pipe,
644
- args: [{
645
- name: 'zeroFill',
646
- standalone: true
647
- }]
648
- }] });
649
- function zeroFill(value, digitos, ...args) {
650
- return new ZeroFillPipe().transform(value, digitos, args);
651
- }
652
-
653
- // export * from './progress-spinner.service';
654
-
655
- class ColumnTypeTextComponent extends ColumnTypeComponent {
656
- column = {}; // 🟢 Solución
657
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
658
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ColumnTypeTextComponent, isStandalone: false, selector: "jvs-column-type-text", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "<ng-template #cellTemplate let-row=\"row\">\n <div *ngIf=\"column.innerHTML; else sinInnerHTML\" [class]=\"column.text?.cssContenedor\" [ngStyle]=\"column.text?.cssStyle\" class=\"hover:!max-h-max\"\n [innerHTML]=\"column.innerHTML(row) | noSanitize\"\n jvsPopoverListener [trigger]=\"column.popover?.trigger || 'hover'\">\n </div>\n <ng-template #sinInnerHTML>\n <ng-container *ngIf=\"column.text && column.text?.separador else campoTextNormal\">\n <div [class]=\"column.text?.cssContenedor\">\n <ng-container\n *ngFor=\"let itm of ((column.transformar ? column.transformar(row) : row[column.property]) ?? '').split(column.text.separador)\">\n <ng-template *ngIf=\"column.property\" [ngTemplateOutlet]=\"tipoDatoString\"\n [ngTemplateOutletContext]=\"{ fila: column, tipo: 'text', value: itm, class: column.textCss, row: row }\"></ng-template>\n </ng-container>\n </div>\n </ng-container>\n <ng-template #campoTextNormal>\n <ng-template *ngIf=\"column.property\" [ngTemplateOutlet]=\"tipoDatoString\"\n [ngTemplateOutletContext]=\"{ fila: column, tipo: 'text', value: (column.transformar ? column.transformar(row) : row[column.property]), class: column.textCss, row: row }\"></ng-template>\n </ng-template>\n </ng-template>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n\n\n<!--<ng-container matColumnDef=\"{{ column.property }}\">\n<th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label ?? ''\">{{ column.label }} </span>\n</th>\n<ng-container *ngIf=\"column.innerHTML; else sinInnerHTML\">\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(column, row, $event)\">\n <div [class]=\"column.text?.cssContenedor\" [ngStyle]=\"column.text?.cssStyle\" class=\"hover:!max-h-max\"\n [innerHTML]=\"column.innerHTML(row) | noSanitize\">\n\n </div>\n </td>\n</ng-container>\n<ng-template #sinInnerHTML>\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell>\n <ng-container *ngIf=\"column.text && column.text?.separador else campoTextNormal\">\n <div [class]=\"column.text?.cssContenedor\">\n <ng-container\n *ngFor=\"let itm of ((column.transformar ? column.transformar(row) : row[column.property]) ?? '').split(column.text.separador)\">\n <ng-template *ngIf=\"column.property\" [ngTemplateOutlet]=\"tipoDatoString\"\n [ngTemplateOutletContext]=\"{ fila: column, tipo: 'text', value: itm, class: column.textCss, row: row }\"></ng-template>\n </ng-container>\n </div>\n </ng-container>\n <ng-template #campoTextNormal>\n <ng-template *ngIf=\"column.property\" [ngTemplateOutlet]=\"tipoDatoString\"\n [ngTemplateOutletContext]=\"{ fila: column, tipo: 'text', value: (column.transformar ? column.transformar(row) : row[column.property]), class: column.textCss, row: row }\"></ng-template>\n </ng-template>\n </td>\n</ng-template>\n<th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" style=\"height: unset !important;\" mat-footer-cell\n [innerHTML]=\"column.transformarFooter ? column.transformarFooter() : ''\">\n</th>\n</ng-container>-->\n\n<ng-template #tipoDatoString let-row=\"row\" let-fila=\"fila\" let-tipo=\"tipo\" let-value=\"value\" let-format=\"format\"\n let-clase=\"class\">\n <ng-container [ngSwitch]=\"tipo\">\n <ng-container *ngSwitchCase=\"'text'\"><span [ngClass]=\"clase\" *ngIf=\"value\"\n (click)=\"accionClick(row, $event)\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\">\n <span *ngIf=\"!fila.zeroFill\">{{ value }}</span>\n <span *ngIf=\"fila.zeroFill\">{{ value | zeroFill: fila.zeroFill }}</span>\n </span></ng-container>\n <ng-container *ngSwitchCase=\"'date'\"><span [ngClass]=\"clase\" *ngIf=\"value\"\n (click)=\"accionClick(row, $event)\">{{ value | date: (format || 'dd/MM/yyyy') }}</span></ng-container>\n <ng-container *ngSwitchCase=\"'number'\"><span [ngClass]=\"clase\" *ngIf=\"value\"\n (click)=\"accionClick(row, $event)\">{{ value | number: (format || '0.0-2') }}</span></ng-container>\n <ng-container *ngSwitchCase=\"'money'\"><span [ngClass]=\"clase\"\n [class.text-sky-700]=\"(value * 1) >= 0\" [class.text-red-700]=\"(value * 1) < 0\"\n *ngIf=\"value\" (click)=\"accionClick(row, $event)\">{{ value | number: (format || '1.2-2') }}</span>\n </ng-container>\n\n <!--\t\t<span [ngClass]=\"class\" *ngSwitchCase=\"'date'\">{{ value | date: (format || 'dd/MM/yyyy') }}</span>-->\n <!--\t\t<span [ngClass]=\"class\" *ngSwitchCase=\"'number'\">{{ value | number: (format || '0.0-2') }}</span>-->\n </ng-container>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "directive", type: i4$1.JvsPopoverDirective, selector: "[jvsPopover]", inputs: ["jvsPopover", "context", "trigger", "position", "customClass"] }, { kind: "directive", type: i4$1.JvsPopoverListenerDirective, selector: "[jvsPopoverListener]", inputs: ["trigger"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: i1.DatePipe, name: "date" }, { kind: "pipe", type: NoSanitizePipe, name: "noSanitize" }, { kind: "pipe", type: ZeroFillPipe, name: "zeroFill" }] });
659
- }
660
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeTextComponent, decorators: [{
661
- type: Component,
662
- args: [{ selector: 'jvs-column-type-text', standalone: false, template: "<ng-template #cellTemplate let-row=\"row\">\n <div *ngIf=\"column.innerHTML; else sinInnerHTML\" [class]=\"column.text?.cssContenedor\" [ngStyle]=\"column.text?.cssStyle\" class=\"hover:!max-h-max\"\n [innerHTML]=\"column.innerHTML(row) | noSanitize\"\n jvsPopoverListener [trigger]=\"column.popover?.trigger || 'hover'\">\n </div>\n <ng-template #sinInnerHTML>\n <ng-container *ngIf=\"column.text && column.text?.separador else campoTextNormal\">\n <div [class]=\"column.text?.cssContenedor\">\n <ng-container\n *ngFor=\"let itm of ((column.transformar ? column.transformar(row) : row[column.property]) ?? '').split(column.text.separador)\">\n <ng-template *ngIf=\"column.property\" [ngTemplateOutlet]=\"tipoDatoString\"\n [ngTemplateOutletContext]=\"{ fila: column, tipo: 'text', value: itm, class: column.textCss, row: row }\"></ng-template>\n </ng-container>\n </div>\n </ng-container>\n <ng-template #campoTextNormal>\n <ng-template *ngIf=\"column.property\" [ngTemplateOutlet]=\"tipoDatoString\"\n [ngTemplateOutletContext]=\"{ fila: column, tipo: 'text', value: (column.transformar ? column.transformar(row) : row[column.property]), class: column.textCss, row: row }\"></ng-template>\n </ng-template>\n </ng-template>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n\n\n<!--<ng-container matColumnDef=\"{{ column.property }}\">\n<th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label ?? ''\">{{ column.label }} </span>\n</th>\n<ng-container *ngIf=\"column.innerHTML; else sinInnerHTML\">\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(column, row, $event)\">\n <div [class]=\"column.text?.cssContenedor\" [ngStyle]=\"column.text?.cssStyle\" class=\"hover:!max-h-max\"\n [innerHTML]=\"column.innerHTML(row) | noSanitize\">\n\n </div>\n </td>\n</ng-container>\n<ng-template #sinInnerHTML>\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell>\n <ng-container *ngIf=\"column.text && column.text?.separador else campoTextNormal\">\n <div [class]=\"column.text?.cssContenedor\">\n <ng-container\n *ngFor=\"let itm of ((column.transformar ? column.transformar(row) : row[column.property]) ?? '').split(column.text.separador)\">\n <ng-template *ngIf=\"column.property\" [ngTemplateOutlet]=\"tipoDatoString\"\n [ngTemplateOutletContext]=\"{ fila: column, tipo: 'text', value: itm, class: column.textCss, row: row }\"></ng-template>\n </ng-container>\n </div>\n </ng-container>\n <ng-template #campoTextNormal>\n <ng-template *ngIf=\"column.property\" [ngTemplateOutlet]=\"tipoDatoString\"\n [ngTemplateOutletContext]=\"{ fila: column, tipo: 'text', value: (column.transformar ? column.transformar(row) : row[column.property]), class: column.textCss, row: row }\"></ng-template>\n </ng-template>\n </td>\n</ng-template>\n<th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" style=\"height: unset !important;\" mat-footer-cell\n [innerHTML]=\"column.transformarFooter ? column.transformarFooter() : ''\">\n</th>\n</ng-container>-->\n\n<ng-template #tipoDatoString let-row=\"row\" let-fila=\"fila\" let-tipo=\"tipo\" let-value=\"value\" let-format=\"format\"\n let-clase=\"class\">\n <ng-container [ngSwitch]=\"tipo\">\n <ng-container *ngSwitchCase=\"'text'\"><span [ngClass]=\"clase\" *ngIf=\"value\"\n (click)=\"accionClick(row, $event)\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\">\n <span *ngIf=\"!fila.zeroFill\">{{ value }}</span>\n <span *ngIf=\"fila.zeroFill\">{{ value | zeroFill: fila.zeroFill }}</span>\n </span></ng-container>\n <ng-container *ngSwitchCase=\"'date'\"><span [ngClass]=\"clase\" *ngIf=\"value\"\n (click)=\"accionClick(row, $event)\">{{ value | date: (format || 'dd/MM/yyyy') }}</span></ng-container>\n <ng-container *ngSwitchCase=\"'number'\"><span [ngClass]=\"clase\" *ngIf=\"value\"\n (click)=\"accionClick(row, $event)\">{{ value | number: (format || '0.0-2') }}</span></ng-container>\n <ng-container *ngSwitchCase=\"'money'\"><span [ngClass]=\"clase\"\n [class.text-sky-700]=\"(value * 1) >= 0\" [class.text-red-700]=\"(value * 1) < 0\"\n *ngIf=\"value\" (click)=\"accionClick(row, $event)\">{{ value | number: (format || '1.2-2') }}</span>\n </ng-container>\n\n <!--\t\t<span [ngClass]=\"class\" *ngSwitchCase=\"'date'\">{{ value | date: (format || 'dd/MM/yyyy') }}</span>-->\n <!--\t\t<span [ngClass]=\"class\" *ngSwitchCase=\"'number'\">{{ value | number: (format || '0.0-2') }}</span>-->\n </ng-container>\n</ng-template>\n" }]
663
- }], propDecorators: { column: [{
664
- type: Input,
665
- args: [{ required: true }]
666
- }] } });
667
-
668
- class ColumnTypeMoneyComponent extends ColumnTypeComponent {
669
- column = {};
670
- value(row) {
671
- return (this.column.transformar ? this.column.transformar(row) : row[this.column.property]);
672
- }
673
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeMoneyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
674
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ColumnTypeMoneyComponent, isStandalone: false, selector: "jvs-column-type-money", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "<ng-template #cellTemplate let-row=\"row\">\n <span [ngClass]=\"column.textCss\"\n [class.text-sky-700]=\"(value(row)) >= 0\" [class.text-red-700]=\"(value(row)) < 0\"\n *ngIf=\"value(row)\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\"\n (click)=\"accionClick(row, $event)\">{{ value(row) | number: (column.format || '1.2-2') }}</span>\n</ng-template>\n<ng-template #columnFooterTemplate let-row=\"row\">\n\t\t<span *ngIf=\"column.transformarFooter\"\n [class.text-sky-700]=\"column.transformarFooter() >= 0\"\n [class.text-red-700]=\"column.transformarFooter() < 0\"\n >\n\t\t\t\t\t<span>{{ column.transformarFooter() | currency: column.simboloMoneda ?? 'S/' }}</span>\n\t\t\t\t</span>\n</ng-template>\n\n<!--<jvs-column-type [column]=\"column\" [cellTemplate]=\"cellTemplate\" [columnFooterTemplate]=\"columnFooterTemplate\"></jvs-column-type>-->\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n\t\t<span *ngIf=\"column.transformarFooter\"\n [class.text-sky-700]=\"column.transformarFooter() >= 0\"\n [class.text-red-700]=\"column.transformarFooter() < 0\"\n >\n\t\t\t\t\t<span>{{ column.transformarFooter() | currency: column.simboloMoneda ?? 'S/' }}</span>\n\t\t\t\t</span>\n </th>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "directive", type: i4$1.JvsPopoverDirective, selector: "[jvsPopover]", inputs: ["jvsPopover", "context", "trigger", "position", "customClass"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: i1.CurrencyPipe, name: "currency" }] });
675
- }
676
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeMoneyComponent, decorators: [{
677
- type: Component,
678
- args: [{ selector: 'jvs-column-type-money', standalone: false, template: "<ng-template #cellTemplate let-row=\"row\">\n <span [ngClass]=\"column.textCss\"\n [class.text-sky-700]=\"(value(row)) >= 0\" [class.text-red-700]=\"(value(row)) < 0\"\n *ngIf=\"value(row)\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\"\n (click)=\"accionClick(row, $event)\">{{ value(row) | number: (column.format || '1.2-2') }}</span>\n</ng-template>\n<ng-template #columnFooterTemplate let-row=\"row\">\n\t\t<span *ngIf=\"column.transformarFooter\"\n [class.text-sky-700]=\"column.transformarFooter() >= 0\"\n [class.text-red-700]=\"column.transformarFooter() < 0\"\n >\n\t\t\t\t\t<span>{{ column.transformarFooter() | currency: column.simboloMoneda ?? 'S/' }}</span>\n\t\t\t\t</span>\n</ng-template>\n\n<!--<jvs-column-type [column]=\"column\" [cellTemplate]=\"cellTemplate\" [columnFooterTemplate]=\"columnFooterTemplate\"></jvs-column-type>-->\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n\t\t<span *ngIf=\"column.transformarFooter\"\n [class.text-sky-700]=\"column.transformarFooter() >= 0\"\n [class.text-red-700]=\"column.transformarFooter() < 0\"\n >\n\t\t\t\t\t<span>{{ column.transformarFooter() | currency: column.simboloMoneda ?? 'S/' }}</span>\n\t\t\t\t</span>\n </th>\n</ng-container>\n" }]
679
- }], propDecorators: { column: [{
680
- type: Input,
681
- args: [{ required: true }]
682
- }] } });
683
-
684
- class ColumnTypeIconsComponent extends ColumnTypeComponent {
685
- column = {};
686
- obtenerItems(columna, row) {
687
- if (typeof columna.items === 'function') {
688
- return columna.items(row);
689
- }
690
- return columna.items;
691
- }
692
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeIconsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
693
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ColumnTypeIconsComponent, isStandalone: false, selector: "jvs-column-type-icons", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "<ng-template #cellTemplate let-row=\"row\">\n <div class=\"flex items-center justify-center\" [ngClass]=\"{ '-space-x-1': !column.iconsDef.soloIcono }\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\">\n <ng-container *ngFor=\"let icon of obtenerItems(column.iconsDef, row)\">\n <ng-container *ngIf=\"!column.iconsDef.soloIcono; else soloIcono\">\n <button matRipple type=\"button\" *ngIf=\"!icon.esVisible || icon.esVisible(row)\"\n (click)=\"icon.click ? icon.click(row) : false; $event.stopPropagation()\"\n class=\"flex items-center justify-center p-1 rounded border shadow-sm hover:shadow-lg\"\n [ngClass]=\"icon.contentCss\"\n [matTooltip]=\"icon.toolTip ?? row[icon.toolTipField ?? '_field_']\"\n [matTooltipDisabled]=\"!icon.toolTip && !icon.toolTipField\"\n >\n <ng-container [ngTemplateOutlet]=\"iconoConTamanio\"\n [ngTemplateOutletContext]=\"{icon: icon.icon, iconClass: icon.cssClass, size: (icon.iconSize ?? column.iconsDef?.iconSize)}\"></ng-container>\n </button>\n </ng-container>\n <ng-template #soloIcono>\n <div *ngIf=\"!icon.esVisible || icon.esVisible(row)\" [ngClass]=\"icon.contentCss\"\n class=\"flex items-center\"\n [matTooltip]=\"icon.toolTip ?? row[icon.toolTipField ?? '_field_']\"\n [matTooltipDisabled]=\"!icon.toolTip && !icon.toolTipField\"\n >\n <ng-container [ngTemplateOutlet]=\"iconoConTamanio\"\n [ngTemplateOutletContext]=\"{icon: icon.icon, iconClass: icon.cssClass, size: (icon.iconSize ?? column.iconsDef?.iconSize)}\"></ng-container>\n </div>\n </ng-template>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n\n\n<ng-template #iconoConTamanio let-icon=\"icon\" let-iconClass=\"iconClass\" let-size=\"size\">\n <mat-icon *ngIf=\"size\" [svgIcon]=\"icon\" [ngClass]=\"iconClass\" [inline]=\"true\"\n [style.font-size]=\"size\"\n [style.height]=\"size\"\n [style.width]=\"size\"\n ></mat-icon>\n <mat-icon *ngIf=\"!size\" [svgIcon]=\"icon\" [ngClass]=\"iconClass\"></mat-icon>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "directive", type: i4$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4$1.JvsPopoverDirective, selector: "[jvsPopover]", inputs: ["jvsPopover", "context", "trigger", "position", "customClass"] }] });
694
- }
695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeIconsComponent, decorators: [{
696
- type: Component,
697
- args: [{ selector: 'jvs-column-type-icons', standalone: false, template: "<ng-template #cellTemplate let-row=\"row\">\n <div class=\"flex items-center justify-center\" [ngClass]=\"{ '-space-x-1': !column.iconsDef.soloIcono }\"\n [jvsPopover]=\"(column.popover?.template || column.popover?.content?.(row)) ?? null\"\n [context]=\"row\"\n [trigger]=\"column.popover?.trigger || 'hover'\"\n [position]=\"column.popover?.position || 'bottom'\"\n [customClass]=\"column.popover?.customClass || ''\">\n <ng-container *ngFor=\"let icon of obtenerItems(column.iconsDef, row)\">\n <ng-container *ngIf=\"!column.iconsDef.soloIcono; else soloIcono\">\n <button matRipple type=\"button\" *ngIf=\"!icon.esVisible || icon.esVisible(row)\"\n (click)=\"icon.click ? icon.click(row) : false; $event.stopPropagation()\"\n class=\"flex items-center justify-center p-1 rounded border shadow-sm hover:shadow-lg\"\n [ngClass]=\"icon.contentCss\"\n [matTooltip]=\"icon.toolTip ?? row[icon.toolTipField ?? '_field_']\"\n [matTooltipDisabled]=\"!icon.toolTip && !icon.toolTipField\"\n >\n <ng-container [ngTemplateOutlet]=\"iconoConTamanio\"\n [ngTemplateOutletContext]=\"{icon: icon.icon, iconClass: icon.cssClass, size: (icon.iconSize ?? column.iconsDef?.iconSize)}\"></ng-container>\n </button>\n </ng-container>\n <ng-template #soloIcono>\n <div *ngIf=\"!icon.esVisible || icon.esVisible(row)\" [ngClass]=\"icon.contentCss\"\n class=\"flex items-center\"\n [matTooltip]=\"icon.toolTip ?? row[icon.toolTipField ?? '_field_']\"\n [matTooltipDisabled]=\"!icon.toolTip && !icon.toolTipField\"\n >\n <ng-container [ngTemplateOutlet]=\"iconoConTamanio\"\n [ngTemplateOutletContext]=\"{icon: icon.icon, iconClass: icon.cssClass, size: (icon.iconSize ?? column.iconsDef?.iconSize)}\"></ng-container>\n </div>\n </ng-template>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-container matColumnDef=\"{{ column.property }}\">\n <!-- Definici\u00F3n del encabezado de la columna -->\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label\">{{ column.label }} </span>\n </th>\n\n <!-- Cuerpo de la celda, definido por los hijos -->\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell (click)=\"accionClick(row, $event)\">\n\n <ng-container [ngTemplateOutlet]=\"cellTemplate\" [ngTemplateOutletContext]=\"{row}\"></ng-container>\n\n </td>\n\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell>\n {{ column.transformarFooter ? column.transformarFooter() : '' }}\n </th>\n</ng-container>\n\n\n<ng-template #iconoConTamanio let-icon=\"icon\" let-iconClass=\"iconClass\" let-size=\"size\">\n <mat-icon *ngIf=\"size\" [svgIcon]=\"icon\" [ngClass]=\"iconClass\" [inline]=\"true\"\n [style.font-size]=\"size\"\n [style.height]=\"size\"\n [style.width]=\"size\"\n ></mat-icon>\n <mat-icon *ngIf=\"!size\" [svgIcon]=\"icon\" [ngClass]=\"iconClass\"></mat-icon>\n</ng-template>\n" }]
698
- }], propDecorators: { column: [{
699
- type: Input,
700
- args: [{ required: true }]
701
- }] } });
702
-
703
- class ColumnTypeModule {
704
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
705
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeModule, declarations: [ColumnTypeComponent,
706
- ColumnTypeTextComponent,
707
- ColumnTypeMoneyComponent,
708
- ColumnTypeNumberComponent,
709
- ColumnTypeDateComponent,
710
- ColumnTypeIconsComponent,
711
- ColumnTypeSinoComponent,
712
- ColumnTypeProgressbarComponent], imports: [CommonModule,
713
- MatTableModule,
714
- MatSortModule,
715
- MatTooltipModule,
716
- NoSanitizePipe,
717
- ZeroFillPipe,
718
- MatRipple,
719
- MatIcon,
720
- ProgressBarComponent,
721
- JvsPopoverDirective,
722
- JvsPopoverListenerDirective], exports: [ColumnTypeTextComponent,
723
- ColumnTypeMoneyComponent,
724
- ColumnTypeNumberComponent,
725
- ColumnTypeDateComponent,
726
- ColumnTypeIconsComponent,
727
- ColumnTypeSinoComponent,
728
- ColumnTypeProgressbarComponent] });
729
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeModule, imports: [CommonModule,
730
- MatTableModule,
731
- MatSortModule,
732
- MatTooltipModule,
733
- MatIcon,
734
- ProgressBarComponent] });
735
- }
736
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColumnTypeModule, decorators: [{
737
- type: NgModule,
738
- args: [{
739
- declarations: [
740
- ColumnTypeComponent,
741
- ColumnTypeTextComponent,
742
- ColumnTypeMoneyComponent,
743
- ColumnTypeNumberComponent,
744
- ColumnTypeDateComponent,
745
- ColumnTypeIconsComponent,
746
- ColumnTypeSinoComponent,
747
- ColumnTypeProgressbarComponent,
748
- ],
749
- imports: [
750
- CommonModule,
751
- MatTableModule,
752
- MatSortModule,
753
- MatTooltipModule,
754
- NoSanitizePipe,
755
- ZeroFillPipe,
756
- MatRipple,
757
- MatIcon,
758
- ProgressBarComponent,
759
- JvsPopoverDirective,
760
- JvsPopoverListenerDirective
761
- ],
762
- exports: [
763
- ColumnTypeTextComponent,
764
- ColumnTypeMoneyComponent,
765
- ColumnTypeNumberComponent,
766
- ColumnTypeDateComponent,
767
- ColumnTypeIconsComponent,
768
- ColumnTypeSinoComponent,
769
- ColumnTypeProgressbarComponent,
770
- ]
771
- }]
772
- }] });
773
-
774
- class TablaMantenimientoColumnDefsComponent {
775
- table;
776
- cdRef;
777
- objThis;
778
- nombreColeccion;
779
- colDetalle;
780
- chkLista; // = new DataModel();
781
- chkListaChange = new EventEmitter();
782
- columnDefLocales;
783
- columnDefEnSubComponentes;
784
- constructor(table, cdRef) {
785
- this.table = table;
786
- this.cdRef = cdRef;
787
- }
788
- ngAfterContentInit() {
789
- if (this.table) {
790
- this.cdRef.detectChanges();
791
- this.columnDefEnSubComponentes.forEach(refCol => {
792
- this.table.addColumnDef(refCol);
793
- });
794
- this.columnDefLocales.forEach(refCol => {
795
- this.table.addColumnDef(refCol);
796
- });
797
- }
798
- }
799
- trackByProperty(index, column) {
800
- return column.property;
801
- }
802
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoColumnDefsComponent, deps: [{ token: i2.MatTable, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
803
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TablaMantenimientoColumnDefsComponent, isStandalone: true, selector: "jvs-tabla-mantenimiento-column-defs", inputs: { objThis: "objThis", nombreColeccion: "nombreColeccion", colDetalle: "colDetalle", chkLista: "chkLista" }, outputs: { chkListaChange: "chkListaChange" }, queries: [{ propertyName: "columnDefEnSubComponentes", predicate: MatColumnDef, descendants: true }], viewQueries: [{ propertyName: "columnDefLocales", predicate: MatColumnDef, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n\n\n\n<ng-container *ngFor=\"let column of colDetalle; trackBy: trackByProperty\">\n\n <ng-container *ngIf=\"column.type === 'expandir'\" [matColumnDef]=\"column.property\">\n\n <th *matHeaderCellDef class=\"w-4\" mat-header-cell> <span [innerHTML]=\"column.label ?? ''\">{{ column.label }} </span></th>\n <td *matCellDef=\"let row\" class=\"w-4 text-center\" mat-cell>\n <button type=\"button\" class=\"boton-circular text-primary-contrast bg-primary mat-elevation-z2\" matRipple\n *ngIf=\"column.click\"\n (click)=\"column.click(row); row.isExpanded = !row.isExpanded; $event.stopPropagation()\"\n matTooltip=\"Expandir / Contraer\">\n <mat-icon class=\"icon-xs\" [svgIcon]=\"(row.isExpanded ? 'roundExpandLess' : 'roundExpandMore')\"></mat-icon>\n </button>\n <button type=\"button\" class=\"boton-circular text-primary-contrast bg-primary mat-elevation-z2\" matRipple\n *ngIf=\"!column.click\"\n (click)=\"row.isExpanded = !row.isExpanded; $event.stopPropagation()\"\n matTooltip=\"Expandir / Contraer\">\n <mat-icon class=\"icon-xs\" [svgIcon]=\"(row.isExpanded ? 'roundExpandLess' : 'roundExpandMore')\"></mat-icon>\n </button>\n </td>\n <td *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell></td>\n\n </ng-container>\n <ng-container *ngIf=\"column.type === 'checkbox'\" [matColumnDef]=\"column.property\">\n\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"w-4 text-center\" mat-header-cell>\n <mat-checkbox *ngIf=\"chkLista\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"chkLista.checkbox.establecerTodos($event.checked)\"\n [indeterminate]=\"chkLista.checkbox.algunosActivos\"\n [checked]=\"chkLista.checkbox.todosActivos\"\n ></mat-checkbox>\n </th>\n <td *matCellDef=\"let row\" class=\"w-4 text-center\" mat-cell>\n <mat-checkbox *ngIf=\"chkLista\"\n (click)=\"$event.stopPropagation()\"\n [(ngModel)]=\"chkLista.modelosChk[chkLista.generarId(row, (column.chkField ?? column.property), column.chkFieldSeparador)]\"\n [ngModelOptions]=\"{standalone: true}\"\n ></mat-checkbox>\n\n </td>\n <td *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell></td>\n\n </ng-container>\n <ng-container *ngIf=\"column.type === 'estiloEstablecido'\" [matColumnDef]=\"column.property\">\n\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell\n mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label ?? ''\">{{ column.label }} </span>\n <span class=\"text-red-900 font-bold bg-white\">CONFIGURAR ESTILO ESTABLECIDO</span>\n </th>\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell>\n {{ column.property }}\n <span class=\"text-red-900 font-bold bg-white\">CONFIGURAR ESTILO ESTABLECIDO</span>\n </td>\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" style=\"height: unset !important;\" mat-footer-cell\n [innerHTML]=\"column.transformarFooter ? column.transformarFooter() : ''\">\n </th>\n\n </ng-container>\n\n <jvs-column-type-text *ngIf=\"column.type == 'text'\" [column]=\"column\"></jvs-column-type-text>\n <jvs-column-type-money *ngIf=\"column.type == 'money'\" [column]=\"column\"></jvs-column-type-money>\n <jvs-column-type-number *ngIf=\"column.type == 'number'\" [column]=\"column\"></jvs-column-type-number>\n <jvs-column-type-date *ngIf=\"column.type == 'date'\" [column]=\"column\"></jvs-column-type-date>\n <jvs-column-type-icons *ngIf=\"column.type == 'icons'\" [column]=\"column\"></jvs-column-type-icons>\n <jvs-column-type-sino *ngIf=\"column.type == 'yes_no'\" [column]=\"column\"></jvs-column-type-sino>\n <jvs-column-type-progressbar *ngIf=\"column.type == 'progress'\" [column]=\"column\"></jvs-column-type-progressbar>\n\n\n\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i5$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: MatSortModule }, { kind: "component", type: i3$1.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i2.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ColumnTypeModule }, { kind: "component", type: ColumnTypeTextComponent, selector: "jvs-column-type-text", inputs: ["column"] }, { kind: "component", type: ColumnTypeMoneyComponent, selector: "jvs-column-type-money", inputs: ["column"] }, { kind: "component", type: ColumnTypeNumberComponent, selector: "jvs-column-type-number", inputs: ["column"] }, { kind: "component", type: ColumnTypeDateComponent, selector: "jvs-column-type-date", inputs: ["column"] }, { kind: "component", type: ColumnTypeIconsComponent, selector: "jvs-column-type-icons", inputs: ["column"] }, { kind: "component", type: ColumnTypeSinoComponent, selector: "jvs-column-type-sino", inputs: ["column"] }, { kind: "component", type: ColumnTypeProgressbarComponent, selector: "jvs-column-type-progressbar", inputs: ["column"] }] });
804
- }
805
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoColumnDefsComponent, decorators: [{
806
- type: Component,
807
- args: [{ selector: 'jvs-tabla-mantenimiento-column-defs', standalone: true, imports: [
808
- CommonModule,
809
- MatCheckboxModule,
810
- MatIconModule,
811
- MatRippleModule,
812
- MatSortModule,
813
- MatTableModule,
814
- MatTooltipModule,
815
- ReactiveFormsModule,
816
- FormsModule,
817
- ColumnTypeModule,
818
- ], template: "<ng-content></ng-content>\n\n\n\n<ng-container *ngFor=\"let column of colDetalle; trackBy: trackByProperty\">\n\n <ng-container *ngIf=\"column.type === 'expandir'\" [matColumnDef]=\"column.property\">\n\n <th *matHeaderCellDef class=\"w-4\" mat-header-cell> <span [innerHTML]=\"column.label ?? ''\">{{ column.label }} </span></th>\n <td *matCellDef=\"let row\" class=\"w-4 text-center\" mat-cell>\n <button type=\"button\" class=\"boton-circular text-primary-contrast bg-primary mat-elevation-z2\" matRipple\n *ngIf=\"column.click\"\n (click)=\"column.click(row); row.isExpanded = !row.isExpanded; $event.stopPropagation()\"\n matTooltip=\"Expandir / Contraer\">\n <mat-icon class=\"icon-xs\" [svgIcon]=\"(row.isExpanded ? 'roundExpandLess' : 'roundExpandMore')\"></mat-icon>\n </button>\n <button type=\"button\" class=\"boton-circular text-primary-contrast bg-primary mat-elevation-z2\" matRipple\n *ngIf=\"!column.click\"\n (click)=\"row.isExpanded = !row.isExpanded; $event.stopPropagation()\"\n matTooltip=\"Expandir / Contraer\">\n <mat-icon class=\"icon-xs\" [svgIcon]=\"(row.isExpanded ? 'roundExpandLess' : 'roundExpandMore')\"></mat-icon>\n </button>\n </td>\n <td *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell></td>\n\n </ng-container>\n <ng-container *ngIf=\"column.type === 'checkbox'\" [matColumnDef]=\"column.property\">\n\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"w-4 text-center\" mat-header-cell>\n <mat-checkbox *ngIf=\"chkLista\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"chkLista.checkbox.establecerTodos($event.checked)\"\n [indeterminate]=\"chkLista.checkbox.algunosActivos\"\n [checked]=\"chkLista.checkbox.todosActivos\"\n ></mat-checkbox>\n </th>\n <td *matCellDef=\"let row\" class=\"w-4 text-center\" mat-cell>\n <mat-checkbox *ngIf=\"chkLista\"\n (click)=\"$event.stopPropagation()\"\n [(ngModel)]=\"chkLista.modelosChk[chkLista.generarId(row, (column.chkField ?? column.property), column.chkFieldSeparador)]\"\n [ngModelOptions]=\"{standalone: true}\"\n ></mat-checkbox>\n\n </td>\n <td *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" mat-footer-cell></td>\n\n </ng-container>\n <ng-container *ngIf=\"column.type === 'estiloEstablecido'\" [matColumnDef]=\"column.property\">\n\n <th *matHeaderCellDef [ngClass]=\"column.cssClassesTH\" class=\"uppercase text-center\" mat-header-cell\n mat-sort-header\n [disabled]=\"column.sort === false\">\n <span [innerHTML]=\"column.label ?? ''\">{{ column.label }} </span>\n <span class=\"text-red-900 font-bold bg-white\">CONFIGURAR ESTILO ESTABLECIDO</span>\n </th>\n <td *matCellDef=\"let row\" [ngClass]=\"column.cssClasses\" mat-cell>\n {{ column.property }}\n <span class=\"text-red-900 font-bold bg-white\">CONFIGURAR ESTILO ESTABLECIDO</span>\n </td>\n <th *matFooterCellDef [ngClass]=\"column.cssFooterClasses\" style=\"height: unset !important;\" mat-footer-cell\n [innerHTML]=\"column.transformarFooter ? column.transformarFooter() : ''\">\n </th>\n\n </ng-container>\n\n <jvs-column-type-text *ngIf=\"column.type == 'text'\" [column]=\"column\"></jvs-column-type-text>\n <jvs-column-type-money *ngIf=\"column.type == 'money'\" [column]=\"column\"></jvs-column-type-money>\n <jvs-column-type-number *ngIf=\"column.type == 'number'\" [column]=\"column\"></jvs-column-type-number>\n <jvs-column-type-date *ngIf=\"column.type == 'date'\" [column]=\"column\"></jvs-column-type-date>\n <jvs-column-type-icons *ngIf=\"column.type == 'icons'\" [column]=\"column\"></jvs-column-type-icons>\n <jvs-column-type-sino *ngIf=\"column.type == 'yes_no'\" [column]=\"column\"></jvs-column-type-sino>\n <jvs-column-type-progressbar *ngIf=\"column.type == 'progress'\" [column]=\"column\"></jvs-column-type-progressbar>\n\n\n\n</ng-container>\n" }]
819
- }], ctorParameters: () => [{ type: i2.MatTable, decorators: [{
820
- type: Optional
821
- }] }, { type: i0.ChangeDetectorRef }], propDecorators: { objThis: [{
822
- type: Input
823
- }], nombreColeccion: [{
824
- type: Input
825
- }], colDetalle: [{
826
- type: Input
827
- }], chkLista: [{
828
- type: Input
829
- }], chkListaChange: [{
830
- type: Output
831
- }], columnDefLocales: [{
832
- type: ViewChildren,
833
- args: [MatColumnDef]
834
- }], columnDefEnSubComponentes: [{
835
- type: ContentChildren,
836
- args: [MatColumnDef, { descendants: true }]
837
- }] } });
838
-
839
- class TablaMantenimientoMenuComponent {
840
- objThis;
841
- nombreColeccion;
842
- item;
843
- derechosActuales;
844
- // @Input() modalPrincipal;
845
- // @Input() botonDisabled = (btn: BotonMantenimiento, item: any) => [];
846
- opcionSelecionada = new EventEmitter();
847
- menu;
848
- subItems;
849
- botonTemplate;
850
- constructor() {
851
- }
852
- ngOnInit() {
853
- }
854
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
855
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TablaMantenimientoMenuComponent, isStandalone: true, selector: "jvs-tabla-mantenimiento-menu", inputs: { objThis: "objThis", nombreColeccion: "nombreColeccion", item: "item", derechosActuales: "derechosActuales", subItems: "subItems", botonTemplate: "botonTemplate" }, outputs: { opcionSelecionada: "opcionSelecionada" }, viewQueries: [{ propertyName: "menu", first: true, predicate: ["menu"], descendants: true, static: true }], ngImport: i0, template: "<mat-menu #menu=\"matMenu\">\n <div class=\"mat-menu bg-white rounded mat-elevation-z8 shadow botonesContextual w-full\">\n <ng-container *ngFor=\"let btn of subItems\">\n <ng-container *ngTemplateOutlet=\"botonTemplate; context:{btn: btn, item: item, barraSuperior: false}\"></ng-container>\n </ng-container>\n </div>\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }] });
856
- }
857
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoMenuComponent, decorators: [{
858
- type: Component,
859
- args: [{ selector: 'jvs-tabla-mantenimiento-menu', standalone: true, imports: [
860
- CommonModule,
861
- MatMenuModule,
862
- ], template: "<mat-menu #menu=\"matMenu\">\n <div class=\"mat-menu bg-white rounded mat-elevation-z8 shadow botonesContextual w-full\">\n <ng-container *ngFor=\"let btn of subItems\">\n <ng-container *ngTemplateOutlet=\"botonTemplate; context:{btn: btn, item: item, barraSuperior: false}\"></ng-container>\n </ng-container>\n </div>\n</mat-menu>\n" }]
863
- }], ctorParameters: () => [], propDecorators: { objThis: [{
864
- type: Input
865
- }], nombreColeccion: [{
866
- type: Input
867
- }], item: [{
868
- type: Input
869
- }], derechosActuales: [{
870
- type: Input
871
- }], opcionSelecionada: [{
872
- type: Output
873
- }], menu: [{
874
- type: ViewChild,
875
- args: ['menu', { static: true }]
876
- }], subItems: [{
877
- type: Input,
878
- args: [{ required: true }]
879
- }], botonTemplate: [{
880
- type: Input,
881
- args: [{ required: true }]
882
- }] } });
883
-
884
- const getFileName = (name) => {
885
- const timeSpan = new Date().toISOString();
886
- const sheetName = name || 'ExportResult';
887
- const fileName = `${sheetName}-${timeSpan}`;
888
- return {
889
- sheetName,
890
- fileName
891
- };
892
- };
893
- class TableUtil {
894
- static exportTableToExcelV2(targetTableElm, name) {
895
- const { sheetName, fileName } = getFileName(name);
896
- console.log(targetTableElm);
897
- const wb = XLSX.utils.table_to_book(targetTableElm, {
898
- sheet: sheetName
899
- });
900
- XLSX.writeFile(wb, `${fileName}.xlsx`);
901
- }
902
- static exportTableToExcel(tableId, name) {
903
- const { sheetName, fileName } = getFileName(name);
904
- const targetTableElm = document.getElementById(tableId);
905
- console.log(targetTableElm);
906
- const wb = XLSX.utils.table_to_book(targetTableElm, {
907
- sheet: sheetName
908
- });
909
- // XLSX.writeFile(wb, `${fileName}.xlsx`);
910
- }
911
- static exportArrayToExcel(arr, name) {
912
- const { sheetName, fileName } = getFileName(name);
913
- const wb = XLSX.utils.book_new();
914
- const ws = XLSX.utils.json_to_sheet(arr, { dateNF: 'dd/MM/yyyy' });
915
- XLSX.utils.book_append_sheet(wb, ws, sheetName);
916
- XLSX.writeFile(wb, `${fileName}.xlsx`);
917
- }
918
- static getWorkBook(htmlTableId, data) {
919
- const targetTableElm = document.getElementById(htmlTableId);
920
- const tableToSheet = XLSX.utils.table_to_sheet(targetTableElm, { raw: true });
921
- const jsonToSheet = XLSX.utils.json_to_sheet(data);
922
- const sheetToJson = XLSX.utils.sheet_to_json(tableToSheet);
923
- return { tableToSheet, jsonToSheet, sheetToJson };
924
- }
925
- }
926
-
927
- class TablaMantenimientoService {
928
- get templateBotonesComunes() {
929
- return [
930
- { icono: 'roundAdd', tipo: 'nuevo', class: 'text-green-100 !bg-green-600', sinCondicion: true },
931
- { icono: 'roundEdit', tipo: 'editar', class: 'text-amber-900 !bg-amber-300' },
932
- { icono: 'roundDelete', tipo: 'eliminar', class: 'text-red-100 !bg-red-700' },
933
- { icono: 'roundDelete', tipo: 'eliminar_fila', class: 'text-red-100 !bg-red-700' },
934
- { icono: 'roundPrint', tipo: 'imprimir', class: '!bg-blue-100 text-blue-700' },
935
- { icono: 'roundDownload', tipo: 'descargar', class: '!bg-blue-100 text-blue-700' },
936
- { icono: 'roundFolder', tipo: 'ver_archivos', class: '!bg-green-100 text-green-700' },
937
- { icono: 'fa5FilePdf', tipo: 'exportar_pdf', label: 'Exportar a PDF', class: 'bg-pdf-light text-pdf' },
938
- { icono: 'fa5FileExcel', tipo: 'exportar_excel', label: 'Exportar a Excel', class: 'bg-excel-light text-excel' },
939
- { icono: 'fa5sFileExport', tipo: 'exportacion_avanzada', label: 'Exportación Avanzada', class: '!text-indigo-600 !bg-indigo-100' },
940
- { icono: 'roundSave', tipo: 'guardar', class: '!text-indigo-100 !bg-indigo-600' },
941
- { icono: 'roundCancel', tipo: 'cancelar', class: '!text-cyan-100 !bg-cyan-600' },
942
- {
943
- icono: 'roundFactCheck', tipo: 'seleccionar',
944
- class: 'text-blue-100 bg-blue-700 dark:text-blue-100 dark:bg-blue-700'
945
- },
946
- { icono: 'roundListAlt', tipo: 'detalle', class: 'text-blue-100 bg-blue-700 dark:text-blue-100 dark:bg-blue-700' },
947
- { icono: 'roundPublic', tipo: 'ver_mapa', class: 'text-blue-100 bg-blue-700 dark:text-blue-100 dark:bg-blue-700' },
948
- { icono: 'twotoneCheck', tipo: 'activar', },
949
- { icono: 'twotoneClose', tipo: 'desactivar', },
950
- { icono: 'fa5sLock', tipo: 'cerrar', },
951
- { icono: 'fa5sLockOpen', tipo: 'abrir', },
952
- ];
953
- }
954
- get templateColumnasTabla() {
955
- return [
956
- { label: '#', labelLista: 'Numeración', property: 'numeracion_automatica', type: 'numeracion_automatica' },
957
- ];
958
- }
959
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
960
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoService, providedIn: 'root' });
961
- }
962
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoService, decorators: [{
963
- type: Injectable,
964
- args: [{
965
- providedIn: 'root',
966
- }]
967
- }] });
968
-
969
- class TablaMantenimientoComponent {
970
- fb;
971
- overlay;
972
- viewContainerRef;
973
- tablaMantenimientoService;
974
- cdRef;
975
- static nextId = 0;
976
- id = `jvs-tabla-mantenimiento-id-${TablaMantenimientoComponent.nextId++}`;
977
- router = inject(Router);
978
- route = inject(ActivatedRoute);
979
- destroyRef = inject(DestroyRef);
980
- get templateBotonesComunes() {
981
- return this.tablaMantenimientoService.templateBotonesComunes;
982
- }
983
- ;
984
- get templateColumnasTabla() {
985
- return this.tablaMantenimientoService.templateColumnasTabla;
986
- }
987
- ;
988
- dataSuscription;
989
- objThis;
990
- nombreColeccion;
991
- busquedaValor = input('', { alias: 'ctrlBusquedaValue' });
992
- busquedaPlaceholder = input('Buscar...', { alias: 'ctrlBusquedaPlaceholder' });
993
- filtroCampos = true;
994
- paginador = true;
995
- esTabla = true;
996
- readOnly = false;
997
- filaExtraHeader;
998
- filaFooter = false;
999
- botonesCRUD = 'CUD';
1000
- dblclickItem = new EventEmitter();
1001
- objBotonesCRUD = [
1002
- { tipo: 'nuevo', sinCondicion: true },
1003
- { tipo: 'editar' },
1004
- { tipo: 'eliminar' },
1005
- ];
1006
- classSeleccionado = ['elemento-seleccionado', /*'!bg-primary-activo','text-primary-contrast', */ 'mat-elevation-z8', /*'dark:!bg-primary-dark-activo',*/ 'border-y-2 border-primary-contrast', 'font-bold', 'text-2xl'];
1007
- // @Input() classAnulado = ['line-through', 'text-red', 'italic'];
1008
- classAnulado = ['elemento-anulado', /*'line-through', */ 'text-red-900', 'bg-red-200'];
1009
- campoAnulado = null;
1010
- campoAnuladoMensaje = null;
1011
- opcionSelecionada = new EventEmitter();
1012
- opcBusqueda = new EventEmitter();
1013
- accionRecargar = new EventEmitter();
1014
- set selectionModel(val) {
1015
- this.objSeleccionado = val;
1016
- }
1017
- selectionModelChange = new EventEmitter();
1018
- isRecargarUsed = false;
1019
- filaExtraTemplate;
1020
- paginator;
1021
- sort;
1022
- exportarExcel = true;
1023
- busquedaCompacta = input(false);
1024
- alturaFull = input(false);
1025
- // MIO
1026
- pageSize = 25;
1027
- pageSizeOptions = [5, 10, 25, 50, 100, 500, 1000];
1028
- dataSourceChange = new EventEmitter();
1029
- resultados = new EventEmitter();
1030
- dataSource = new MatTableDataSource(); // or whatever type of datasource you have
1031
- // this is where the magic happens:
1032
- table;
1033
- columnDefs;
1034
- componenteCargadoTotalmente = false;
1035
- /////////////////////
1036
- paginacion = {
1037
- pageSize: 25,
1038
- pageSizeOptions: [],
1039
- pageCurrent: null,
1040
- pageIndex: 0,
1041
- pageLength: null,
1042
- };
1043
- // All that's left is to add them to the table ourselves:
1044
- ignorarDerechos = false;
1045
- derechosActuales = null;
1046
- // listaCRUD: BotonMantenimiento[] = [];
1047
- rows;
1048
- rowFooter;
1049
- mouseEvent$;
1050
- overlayRef;
1051
- userMenu;
1052
- compactSearchMenuTrigger;
1053
- // FILTRO BUSQUEDA
1054
- opcFiltroActual = {};
1055
- capitalizarTexto = capitalizarTexto;
1056
- _seleccionado = {};
1057
- cCampoBusqueda = new FormControl('');
1058
- chkLista = new DataModel();
1059
- bDireccionOrden = signal(1);
1060
- mostrarBotonOrden = input(false);
1061
- constructor(fb, overlay, viewContainerRef, tablaMantenimientoService, cdRef) {
1062
- this.fb = fb;
1063
- this.overlay = overlay;
1064
- this.viewContainerRef = viewContainerRef;
1065
- this.tablaMantenimientoService = tablaMantenimientoService;
1066
- this.cdRef = cdRef;
1067
- // this._seleccionado[this.nombreColeccion] = null;
1068
- }
1069
- busquedaTipo = input('simple', {
1070
- alias: 'ctrlBusqueda',
1071
- transform: (val) => {
1072
- if (val === '')
1073
- return 'simple';
1074
- return val;
1075
- }
1076
- });
1077
- // @Input() leyenda;
1078
- _leyenda = undefined;
1079
- get leyenda() {
1080
- return this._leyenda;
1081
- }
1082
- set leyenda(val) {
1083
- if (typeof val == 'string') {
1084
- this._leyenda = { text: val };
1085
- }
1086
- else {
1087
- this._leyenda = val;
1088
- }
1089
- }
1090
- // @Input() idTabla: string[];
1091
- _idTabla = [];
1092
- get idTabla() {
1093
- return this._idTabla;
1094
- }
1095
- set idTabla(val) {
1096
- if (Array.isArray(val)) {
1097
- this._idTabla = val;
1098
- }
1099
- else {
1100
- this._idTabla.push(val);
1101
- }
1102
- }
1103
- _columnasTabla = [];
1104
- get columnasTabla() {
1105
- return this._columnasTabla ?? [];
1106
- }
1107
- set columnasTabla(val) {
1108
- const reemplazarConTemplate = (listaInicial = []) => {
1109
- listaInicial.forEach((btnActual, idx) => {
1110
- const btnEnTemplate = buscarEnArray(this.templateColumnasTabla, 'property', btnActual.property);
1111
- if (btnEnTemplate) {
1112
- listaInicial[idx] = {
1113
- ...btnEnTemplate,
1114
- ...btnActual
1115
- };
1116
- }
1117
- if (listaInicial[idx].type == 'text') {
1118
- if (!listaInicial[idx].text) {
1119
- listaInicial[idx].text = {
1120
- cssStyle: {}
1121
- };
1122
- }
1123
- else if (!listaInicial[idx].text.cssStyle) {
1124
- listaInicial[idx].text.cssStyle = {};
1125
- }
1126
- listaInicial[idx].text.cssStyle = { ...listaInicial[idx].text.cssStyle };
1127
- }
1128
- else if (listaInicial[idx].type == 'estado') {
1129
- const mutar = {
1130
- ...listaInicial[idx],
1131
- type: 'icons',
1132
- iconsDef: {
1133
- soloIcono: true,
1134
- iconSize: '16px',
1135
- items: [
1136
- // {
1137
- // icon: 'roundToggleOff', contentCss: 'text-gray-400',
1138
- // esVisible: (row) => row['iCredDepenTareaEstado'] == 0
1139
- // },
1140
- // {
1141
- // icon: 'roundToggleOn', contentCss: 'text-green-600',
1142
- // esVisible: (row) => row['iCredDepenTareaEstado'] == 1
1143
- // },
1144
- ]
1145
- },
1146
- };
1147
- if (listaInicial[idx].estados) {
1148
- listaInicial[idx].estados.forEach((estado) => {
1149
- if (Array.isArray(mutar.iconsDef.items)) {
1150
- mutar.iconsDef.items.push({
1151
- icon: estado.icon, contentCss: estado.cssClasses,
1152
- esVisible: (row) => row[listaInicial[idx].property] == estado.estado,
1153
- });
1154
- }
1155
- });
1156
- }
1157
- listaInicial[idx] = mutar;
1158
- }
1159
- if (btnActual.type == 'custom') {
1160
- listaInicial[idx].datosExtra = {
1161
- ...listaInicial[idx].datosExtra,
1162
- tabla_mantenimiento_config_visibleAlias: listaInicial[idx].visible == undefined ? true : listaInicial[idx].visible,
1163
- };
1164
- listaInicial[idx].visible = false;
1165
- }
1166
- });
1167
- return listaInicial;
1168
- };
1169
- this._columnasTabla = val ? reemplazarConTemplate(val) : [];
1170
- }
1171
- // @Input() botonesMenu: BotonMantenimiento[] = [];
1172
- _botonesMenu = {
1173
- crud: undefined,
1174
- principal: [],
1175
- izquierda: [],
1176
- derecha: [],
1177
- secundario: [],
1178
- inferior: [],
1179
- };
1180
- get botonesMenu() {
1181
- return this._botonesMenu;
1182
- }
1183
- get botonesMenuFinal() {
1184
- const nuevoBotonesMenu = this.botonesMenu;
1185
- // Iteramos sobre cada sección de botones
1186
- Object.keys(nuevoBotonesMenu).forEach(seccion => {
1187
- nuevoBotonesMenu[seccion] = nuevoBotonesMenu[seccion]?.filter((boton) => {
1188
- if (this.readOnly) {
1189
- if (boton.subItems) {
1190
- boton.subItems = boton.subItems.filter((subItem) => subItem.ignorarReadOnly === true);
1191
- return boton.subItems.length < 1;
1192
- }
1193
- return boton.ignorarReadOnly === true;
1194
- }
1195
- return true;
1196
- }); // Filtramos los botones nulos
1197
- });
1198
- return nuevoBotonesMenu;
1199
- }
1200
- set botonesMenu(val) {
1201
- const reemplazarConTemplate = (listaInicial = []) => listaInicial.map((btnActual) => {
1202
- const btnEnTemplate = buscarEnArray(this.templateBotonesComunes, 'tipo', btnActual.tipoTemplate ?? btnActual.tipo);
1203
- if (btnEnTemplate) {
1204
- if (btnActual.tipoTemplate && !btnActual.label) {
1205
- btnEnTemplate.label = undefined;
1206
- }
1207
- if (btnActual.subItems) {
1208
- return { ...btnEnTemplate, ...btnActual, seccion: this.nombreColeccion, subItems: reemplazarConTemplate(btnActual.subItems) };
1209
- }
1210
- return { ...btnEnTemplate, ...btnActual, seccion: this.nombreColeccion };
1211
- }
1212
- return btnActual;
1213
- });
1214
- if (val?.crud) {
1215
- this.objBotonesCRUD = this.templateBotonesComunes
1216
- .filter(obj => ['nuevo', 'editar', 'eliminar'].includes(obj.tipo))
1217
- .map(obj => val.crud?.find(o => o.tipo === obj.tipo) ?? obj);
1218
- }
1219
- Object.keys(val).forEach(btnKey => {
1220
- if (val[btnKey]) {
1221
- val[btnKey] = reemplazarConTemplate(val[btnKey]);
1222
- }
1223
- });
1224
- this._botonesMenu = { ...this._botonesMenu, ...val };
1225
- }
1226
- get listaMenuCompleto() {
1227
- let menuTotal = [];
1228
- menuTotal = menuTotal.concat(this.botonesMenu.izquierda ?? []);
1229
- menuTotal = menuTotal.concat(this.botonesMenu.crud ?? []);
1230
- menuTotal = menuTotal.concat(this.botonesMenu.principal ?? []);
1231
- menuTotal = menuTotal.concat(this.botonesMenu.derecha ?? []);
1232
- menuTotal = menuTotal.concat(this.botonesMenu.secundario ?? []);
1233
- menuTotal = menuTotal.concat(this.botonesMenu.inferior ?? []);
1234
- return menuTotal;
1235
- }
1236
- get objVisibleColumns() {
1237
- return this.columnasTabla.filter(column => {
1238
- if (column.noMostrar != undefined) {
1239
- column.noMostrarEnLista = column.noMostrar;
1240
- }
1241
- return !tipoValorFuncion(column.noMostrarEnLista, false);
1242
- }).filter(column => {
1243
- // SECCION MODIFICADOR
1244
- if (this.filaExtraTemplate) {
1245
- column.sort = false;
1246
- }
1247
- // Fin SECCION MODIFICADOR
1248
- column.visible = tipoValorFuncion(column.visible, true);
1249
- if (!column.visible && column.esVisible != undefined) {
1250
- column.visible = column.esVisible();
1251
- }
1252
- return column.visible;
1253
- });
1254
- }
1255
- get visibleColumns() {
1256
- return this.objVisibleColumns.map(column => column.property);
1257
- }
1258
- get tieneCheckbox() {
1259
- return this.columnasTabla && this.columnasTabla.length > 0 && this.columnasTabla.find(col => col.type === 'checkbox') || false;
1260
- }
1261
- get buscarItemSeleccionado() {
1262
- if (!this.dataSource?.data || !Array.isArray(this.dataSource.data)) {
1263
- return null;
1264
- }
1265
- const dRet = this.dataSource.data.find(itm => this._seleccionado === this.propiedadSeleccion(itm));
1266
- return dRet ?? null;
1267
- }
1268
- get objSeleccionado() {
1269
- return this.buscarItemSeleccionado ?? this.objThis?.['seleccionados']?.[this.nombreColeccion];
1270
- }
1271
- set objSeleccionado(val) {
1272
- // if (val) {
1273
- this.seleccionarItem(val, true);
1274
- // }
1275
- /*if (this.objThis) {
1276
- if (!this.objThis['seleccionados']) {
1277
- this.objThis['seleccionados'] = {};
1278
- }
1279
- this.objThis['seleccionados'][this.nombreColeccion] = val;
1280
- }*/
1281
- }
1282
- get idsSeleccionado() {
1283
- return this.chkLista.generarLista();
1284
- }
1285
- get itemsSeleccionados() {
1286
- const checkbox = this.tieneCheckbox;
1287
- if (!checkbox || !this.dataSource?.data) {
1288
- return [];
1289
- }
1290
- return this.dataSource.data.filter(item => {
1291
- const id = this.chkLista.generarId(item, (checkbox.chkField ?? checkbox.property), checkbox.chkFieldSeparador);
1292
- return !!this.chkLista.getState(id);
1293
- });
1294
- }
1295
- idTablaValor(data) {
1296
- if (data) {
1297
- if (this.idTabla.length < 1) {
1298
- return simpleHash(JSON.stringify({ data, claseFinal: undefined }));
1299
- }
1300
- return this.idTabla.map(d => data[d]).join('-');
1301
- }
1302
- return '';
1303
- }
1304
- condicionesClaseFila = (item) => [];
1305
- rowTooltip = (item) => '';
1306
- soloIconos = false;
1307
- ngOnInit() {
1308
- this.router.events.pipe(filter(event => event instanceof NavigationEnd), startWith(null), map(() => this.getDeepestRoute(this.route)), map(route => route.snapshot.data), takeUntilDestroyed(this.destroyRef)).subscribe(data => {
1309
- console.log(data);
1310
- this.derechosActuales = data['derechos'];
1311
- this.ignorarDerechos = data['ignorarDerechos'] ?? false;
1312
- });
1313
- this.paginacion.pageSize = this.pageSize;
1314
- this.paginacion.pageSizeOptions = this.pageSizeOptions;
1315
- this.actualizarCrud();
1316
- this.agregarBotonesExportacion();
1317
- if (this.dataSuscription) {
1318
- this.dataSuscription.subscribe(res => {
1319
- if (res) {
1320
- if (this.objSeleccionado) {
1321
- console.log('SELECCIONADO');
1322
- if (this.idTabla && this.idTabla.length > 0) {
1323
- console.log('ID TABLA');
1324
- const arrayData = this.idTabla.map(d => this.objSeleccionado[d]);
1325
- console.log(arrayData);
1326
- const busqueda = buscarEnArray(res, this.idTabla, arrayData);
1327
- console.log(busqueda);
1328
- if (busqueda) {
1329
- console.log(busqueda);
1330
- this.objSeleccionado = busqueda;
1331
- }
1332
- }
1333
- else {
1334
- console.log('eLSE ID TABLA');
1335
- const dataStr = Array.isArray(res) ? res.find((itm) => simpleHash(JSON.stringify({
1336
- ...itm, claseFinal: undefined
1337
- })) == simpleHash(JSON.stringify({ ...this.objSeleccionado, claseFinal: undefined }))) : null;
1338
- if (dataStr) {
1339
- this.objSeleccionado = dataStr;
1340
- }
1341
- }
1342
- }
1343
- this.setData(res);
1344
- }
1345
- });
1346
- }
1347
- this.isRecargarUsed = this.accionRecargar.observed;
1348
- }
1349
- ngAfterContentInit() {
1350
- this.componenteCargadoTotalmente = true;
1351
- this.cdRef.detectChanges();
1352
- this.columnDefs.forEach(columnDef => {
1353
- this.table.addColumnDef(columnDef);
1354
- const col = this.columnasTabla.find(col => col.property == columnDef.name);
1355
- if (col && col.type == 'custom') {
1356
- col.visible = col.datosExtra?.tabla_mantenimiento_config_visibleAlias ?? col.visible;
1357
- delete col.datosExtra?.tabla_mantenimiento_config_visibleAlias;
1358
- if (Object.keys(col.datosExtra).length < 1) {
1359
- delete col.datosExtra;
1360
- }
1361
- }
1362
- });
1363
- // console.log(a);
1364
- if (this.busquedaValor()) {
1365
- this.cCampoBusqueda.setValue(this.busquedaValor());
1366
- }
1367
- this.table.renderRows(); // 🔹 Refrescar la tabla
1368
- }
1369
- ngOnChanges(changes) {
1370
- if (changes['botonesCRUD'] || changes['busquedaTipo']) {
1371
- this.actualizarCrud();
1372
- }
1373
- if (changes['botonesMenu']) {
1374
- this.agregarBotonesExportacion();
1375
- }
1376
- }
1377
- trackByFn = (index, item) => {
1378
- return this.propiedadSeleccion(item);
1379
- };
1380
- getDeepestRoute(route) {
1381
- while (route.firstChild) {
1382
- route = route.firstChild;
1383
- }
1384
- return route;
1385
- }
1386
- agregarBotonesExportacion() {
1387
- const fnAddBoton = (condicion, tipoBoton) => {
1388
- if (condicion) {
1389
- const objBoton = buscarEnArray(this.templateBotonesComunes, 'tipo', tipoBoton);
1390
- const objBotonEnInferior = buscarEnArray((this.botonesMenu?.inferior ?? []), 'tipo', tipoBoton);
1391
- if (!objBotonEnInferior && objBoton) {
1392
- if (!this.botonesMenu.inferior) {
1393
- this.botonesMenu.inferior = [];
1394
- }
1395
- this.botonesMenu?.inferior?.push({
1396
- ...objBoton,
1397
- esIndependiente: true,
1398
- });
1399
- }
1400
- }
1401
- };
1402
- fnAddBoton((this.exportarExcel && this.esTabla), 'exportar_excel');
1403
- }
1404
- actualizarCrud() {
1405
- const operacionesCRUD = {
1406
- 'C': 'nuevo',
1407
- 'U': 'editar',
1408
- 'D': 'eliminar'
1409
- };
1410
- const agregarBoton = (tipo) => {
1411
- let botonComun = buscarEnArray(this.templateBotonesComunes, 'tipo', tipo);
1412
- if (botonComun) {
1413
- const personalizado = buscarEnArray(this.objBotonesCRUD, 'tipo', tipo);
1414
- const boton = personalizado ? { ...botonComun, ...personalizado } : botonComun;
1415
- if (this.botonesMenu.crud) {
1416
- this.botonesMenu.crud.push(boton);
1417
- }
1418
- }
1419
- };
1420
- const lstCRUD = (this.botonesMenu.crud ?? []).map(i => i.tipo);
1421
- if (lstCRUD.length > 0) {
1422
- for (const operacion of (this.botonesCRUD || "").toUpperCase()) {
1423
- const operacionKey = operacion;
1424
- if (lstCRUD.includes(operacion) && operacionesCRUD[operacionKey]) {
1425
- agregarBoton(operacionesCRUD[operacionKey]);
1426
- }
1427
- }
1428
- }
1429
- else {
1430
- this.botonesMenu.crud = [];
1431
- for (const operacion of (this.botonesCRUD || "").toUpperCase()) {
1432
- const operacionKey = operacion;
1433
- if (operacionesCRUD[operacionKey]) {
1434
- agregarBoton(operacionesCRUD[operacionKey]);
1435
- }
1436
- }
1437
- }
1438
- if (this.busquedaTipo() === 'simple') {
1439
- this.cCampoBusqueda.valueChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(value => this.onFilterChange(value ?? ''));
1440
- }
1441
- if (this.botonesCRUD === '-') {
1442
- this.botonesMenu.crud = [];
1443
- }
1444
- }
1445
- classFila(item) {
1446
- let claseFinal = [];
1447
- if (this.campoAnulado && (item[this.campoAnulado] == 1)) {
1448
- claseFinal = claseFinal.concat(this.classAnulado);
1449
- }
1450
- if (this.objSeleccionado == item || this.esSeleccionActual(item)) {
1451
- claseFinal = claseFinal.concat(this.classSeleccionado);
1452
- }
1453
- claseFinal = claseFinal.concat(this.condicionesClaseFila(item));
1454
- item.claseFinal = claseFinal;
1455
- return claseFinal;
1456
- }
1457
- procesarRowTooltip(item) {
1458
- let txtTooptip = [];
1459
- if (this.campoAnuladoMensaje && (item[this.campoAnulado] == 1)) {
1460
- txtTooptip.push(item[this.campoAnuladoMensaje]);
1461
- // return item[this.campoAnuladoMensaje];
1462
- }
1463
- if (this.rowTooltip) {
1464
- txtTooptip.push(this.rowTooltip(item));
1465
- }
1466
- return txtTooptip.filter(itm => !!itm).join(' | ');
1467
- }
1468
- subItemsActivos(btn, item) {
1469
- return btn.subItems.filter((sub) => !sub.esVisible || sub.esVisible(item)).length > 0;
1470
- }
1471
- get noData() {
1472
- if (!this.esTabla) {
1473
- return of(true);
1474
- }
1475
- if (!this.dataSource || !this.table) {
1476
- return of(true);
1477
- }
1478
- // @ts-ignore
1479
- return this.table.dataSource?.connect().pipe(map(data => data?.length === 0));
1480
- }
1481
- onFilterChange(value) {
1482
- if (!this.dataSource) {
1483
- return;
1484
- }
1485
- value = value.trim();
1486
- value = value.toLowerCase();
1487
- this.dataSource.filter = value;
1488
- }
1489
- toggleColumnVisibility(column, event) {
1490
- event.stopPropagation();
1491
- event.stopImmediatePropagation();
1492
- column.visible = !column.visible;
1493
- }
1494
- cargarData(retorno = false) {
1495
- if (this.busquedaTipo() && this.busquedaTipo() == 'simple') {
1496
- if (!retorno) {
1497
- this.dataSource.paginator = this.paginator;
1498
- this.dataSource.sort = this.sort;
1499
- }
1500
- const aS = this.dataSource?.data;
1501
- if ((!aS || !aS[0] || !aS[0]['iTotalRegistros'])) {
1502
- return false;
1503
- }
1504
- }
1505
- const dPag = {
1506
- iPaginacion: 1,
1507
- iPageSize: this.paginator?.pageSize ? this.paginator?.pageSize : this.paginacion.pageCurrent?.pageSize,
1508
- iPageNumber: (this.paginator?.pageIndex ? this.paginator?.pageIndex : 0) + 1,
1509
- bDireccionOrden: this.bDireccionOrden(),
1510
- };
1511
- if (this.busquedaTipo() && this.busquedaTipo() == 'query') {
1512
- dPag['cCampoBusqueda'] = this.cCampoBusqueda.value;
1513
- }
1514
- if (retorno) {
1515
- return dPag;
1516
- }
1517
- this.resultados.emit(dPag);
1518
- this.opcBusqueda.emit(dPag);
1519
- }
1520
- toggleDireccionOrden() {
1521
- this.bDireccionOrden.update((v) => v === 0 ? 1 : 0);
1522
- this.emitirResultados();
1523
- // if (this.busquedaTipo() === 'query') {
1524
- // this.cargarData();
1525
- // } else {
1526
- // this.emitirAccionRecargar();
1527
- // }
1528
- }
1529
- // FIN FILTRO BUSQUEDA INTEGRAR
1530
- setData(data) {
1531
- if (!Array.isArray(data)) {
1532
- data = [];
1533
- }
1534
- this.dataSource = new MatTableDataSource(data);
1535
- this.dataSource.sortingDataAccessor = (item, property) => {
1536
- const dColumn = buscarEnArray(this.columnasTabla, 'property', property);
1537
- if (dColumn) {
1538
- switch (dColumn.sortType ?? dColumn.type) {
1539
- case 'number':
1540
- return item[property] * 1;
1541
- case 'date':
1542
- return formatearFecha(item[property]);
1543
- }
1544
- }
1545
- if (item) {
1546
- switch (property) {
1547
- case 'fromDate':
1548
- return new Date(item['fromDate']);
1549
- default:
1550
- return item[property];
1551
- }
1552
- }
1553
- };
1554
- // this.paginator.length = (data && data[0] && data[0]['iTotalRegistros']) ? data[0]['iTotalRegistros'] : data.length;
1555
- // this.dataSource.paginator = this.paginator;
1556
- if (this.sort) {
1557
- this.dataSource.sort = this.sort;
1558
- }
1559
- // this.dataSource.filter = this.filter;
1560
- this.dataSourceChange.emit(this.dataSource);
1561
- // this.dataSource.paginator.pageSize = this.paginacion.pageSize;
1562
- if (data && data[0] && data[0]['iPageNumber']) {
1563
- this.paginacion.pageIndex = (data && data[0] && data[0]['iPageNumber']) ? data[0]['iPageNumber'] : 0;
1564
- }
1565
- if (data && data[0] && 'bDireccionOrden' in data[0]) {
1566
- this.bDireccionOrden.set(data[0]['bDireccionOrden']);
1567
- }
1568
- this.paginacion.pageLength = (data && data[0] && data[0]['iTotalRegistros']) ? data[0]['iTotalRegistros'] : data.length;
1569
- if (data && data[0] && !data[0]['iTotalRegistros']) {
1570
- this.dataSource.paginator = this.paginator;
1571
- }
1572
- if (this.tieneCheckbox) {
1573
- this.chkLista.agregarControles(data, this.tieneCheckbox.property, !this.tieneCheckbox.chkFieldPersistente, (this.tieneCheckbox.chkField ?? null), this.tieneCheckbox.chkFieldSeparador);
1574
- }
1575
- }
1576
- botonDisabled(btn, item) {
1577
- let disabled;
1578
- if (!btn.sinCondicion) {
1579
- if (btn.estaDeshabilitado) {
1580
- disabled = btn.estaDeshabilitado(item, this);
1581
- }
1582
- else {
1583
- disabled = !this.objSeleccionado;
1584
- }
1585
- }
1586
- if (!disabled && !btn.esIndependiente && !btn.ignorarDerecho && this.derechosActuales) {
1587
- // if (!this.usuarioService.esEquipoJVSoft()) {
1588
- disabled = !(this.derechosActuales[btn.cDerechoCodigo ?? btn.tipo]);
1589
- // }
1590
- }
1591
- return disabled;
1592
- }
1593
- propiedadSeleccion(item) {
1594
- return `${this.nombreColeccion}_${this.idTablaValor(item)}`;
1595
- }
1596
- esSeleccionActual(item) {
1597
- return this._seleccionado === this.propiedadSeleccion(item);
1598
- }
1599
- seleccionarItem(item, forzado = false) {
1600
- const idItem = this.propiedadSeleccion(item);
1601
- if (forzado) {
1602
- this._seleccionado = idItem;
1603
- }
1604
- else {
1605
- this._seleccionado = this._seleccionado === idItem ? null : idItem;
1606
- }
1607
- this.selectionModelChange.emit(this.objSeleccionado);
1608
- /*if (this.objThis) {
1609
- if (!this.objThis['seleccionados']) {
1610
- this.objThis['seleccionados'] = {};
1611
- }
1612
- this.objThis['seleccionados'][this.nombreColeccion] = this.objSeleccionado;
1613
- }*/
1614
- }
1615
- opcMenu(item, objMenu, modal = null, retorno = false) {
1616
- // console.log(this.buscarItemSeleccionado);
1617
- // console.log(objMenu);
1618
- // let salir = this.readOnly;
1619
- // if (salir && this.readOnly === 'permitirSeleccion' && ['ver', 'seleccionar'].includes(objMenu.tipo)) {
1620
- // salir = false;
1621
- // }
1622
- // if (salir) {
1623
- // return false;
1624
- // }
1625
- // console.warn(objMenu);
1626
- if (objMenu.tipo == 'exportar_excel' && this.exportarExcel) {
1627
- /*
1628
- TableUtil.exportArrayToExcel(this.dataSource.data.map(x => {
1629
- const columnasNumeros = this.objVisibleColumns.filter(column => ['money', 'number'].includes(column.type));
1630
- columnasNumeros.forEach(columna => {
1631
- x[columna.property] *= 1;
1632
- });
1633
- return x;
1634
- }), 'TEST');
1635
- */
1636
- const dataGeneradoPorHtml = TableUtil.getWorkBook('tabla_' + this.nombreColeccion, []);
1637
- const objetosExtraidos = this.dataSource.filteredData.map((objeto, idx) => this.objVisibleColumns.reduce((acumulador, columna) => {
1638
- // console.log(propiedad);
1639
- const nColumn = (columna.labelLista ?? columna.label).toUpperCase().replace('<BR>', ' ');
1640
- switch (columna.type) {
1641
- case 'date':
1642
- // acumulador[nColumn] = (new DatePipe('es-PE')).transform(objeto[columna.property], 'dd/MM/yyyy' /*'yyyy-MM-dd'*/);
1643
- // new Date(dateString.replace(/(\d{2}:\d{2}:\d{2}):\w{2}/, '$1'));
1644
- // acumulador[nColumn] = new Date(objeto[columna.property].replace(/(\d{2}:\d{2}:\d{2}):\w{2}/, '$1'));
1645
- // acumulador[nColumn] = formatearFechaFormato(objeto[columna.property], 'dd/MM/yyyy');
1646
- // acumulador[nColumn] = formatearFechaTimezone(objeto[columna.property]);
1647
- // acumulador[nColumn] = new Date(objeto[columna.property]);
1648
- let fecha = objeto[columna.property];
1649
- if (objeto[columna.property]) {
1650
- fecha = new Date(objeto[columna.property].replace(/(\d{2}:\d{2}:\d{2}):\w{2}/, '$1'));
1651
- if (getBrowserName() == 'chrome') {
1652
- fecha = addMinutes(new Date(objeto[columna.property]), 2);
1653
- }
1654
- }
1655
- acumulador[nColumn] = fecha;
1656
- // acumulador[nColumn] = objeto[columna.property];
1657
- break;
1658
- case 'number':
1659
- case 'money':
1660
- acumulador[nColumn] = objeto[columna.property] * 1;
1661
- break;
1662
- default:
1663
- if (columna.property == 'numeracion_automatica') {
1664
- acumulador[nColumn] = idx + 1;
1665
- }
1666
- else {
1667
- if (columna.type == 'custom') {
1668
- // dataGeneradoPorHtml.sheetToJson
1669
- acumulador[nColumn] = dataGeneradoPorHtml.sheetToJson[idx][columna.label];
1670
- }
1671
- else {
1672
- if (columna.type == 'text' && columna.innerHTML) {
1673
- const convertirHtmlATexto = (html) => {
1674
- const elementoTemporal = document.createElement('div');
1675
- elementoTemporal.innerHTML = html;
1676
- return elementoTemporal.textContent || "";
1677
- };
1678
- acumulador[nColumn] = convertirHtmlATexto(columna.innerHTML(objeto));
1679
- }
1680
- else if (columna.transformar) {
1681
- acumulador[nColumn] = columna.transformar(objeto);
1682
- }
1683
- else {
1684
- acumulador[nColumn] = objeto[columna.property];
1685
- }
1686
- }
1687
- }
1688
- break;
1689
- }
1690
- return acumulador;
1691
- }, {}));
1692
- // TableUtil.exportTableToExcel('tabla_' + this.nombreColeccion);
1693
- // console.log(objetosExtraidos);
1694
- TableUtil.exportArrayToExcel(objetosExtraidos, this.nombreColeccion);
1695
- // this.tableExporter.exportTable('xlsx', {fileName: 'JVSoftExport'});
1696
- }
1697
- const opAdic = { seccion: this.nombreColeccion };
1698
- if (item) {
1699
- opAdic['item'] = item;
1700
- }
1701
- opAdic['itemSeleccionado'] = this.objSeleccionado;
1702
- if (this.tieneCheckbox) {
1703
- // itmsSeleccionados = this.formulariosGlobalesService.generarLista(this.nombreColeccion);
1704
- opAdic['idsSeleccionados'] = this.idsSeleccionado;
1705
- opAdic['itemsSeleccionados'] = this.itemsSeleccionados;
1706
- }
1707
- // opAdic['refTabla'] = this;
1708
- objMenu = { ...objMenu, ...opAdic };
1709
- if (retorno) {
1710
- return objMenu;
1711
- }
1712
- // console.warn(objMenu);
1713
- this.opcionSelecionada.emit(objMenu);
1714
- return 1;
1715
- }
1716
- emitirResultados(evento = {}) {
1717
- this.opcFiltroActual = { ...this.opcFiltroActual, ...evento, ...this.cargarData(true) };
1718
- // console.warn('resultadosFILTRO', this.opcFiltroActual);
1719
- this.resultados.emit(this.opcFiltroActual);
1720
- }
1721
- abrirMenuContextual({ x, y }, user) {
1722
- // console.log(user);
1723
- // this.opcMenu(user, {tipo: 'ver'});
1724
- this.objSeleccionado = user;
1725
- this.cerrarMenuContextual();
1726
- const positionStrategy = this.overlay.position().flexibleConnectedTo({ x, y }).withPositions([
1727
- {
1728
- originX: 'end',
1729
- originY: 'bottom',
1730
- overlayX: 'end',
1731
- overlayY: 'top',
1732
- },
1733
- ]);
1734
- this.overlayRef = this.overlay.create({
1735
- positionStrategy,
1736
- scrollStrategy: this.overlay.scrollStrategies.close(),
1737
- });
1738
- this.overlayRef.attach(new TemplatePortal(this.userMenu, this.viewContainerRef, {
1739
- // $implicit: user
1740
- item: user,
1741
- }));
1742
- this.mouseEvent$ = fromEvent(document, 'click').pipe(filter(event => {
1743
- const clickTarget = event.target;
1744
- return !!this.overlayRef && !this.overlayRef.overlayElement.contains(clickTarget);
1745
- }), take(1)).subscribe(() => this.cerrarMenuContextual());
1746
- }
1747
- cerrarMenuContextual() {
1748
- this.mouseEvent$ && this.mouseEvent$.unsubscribe();
1749
- if (this.overlayRef) {
1750
- this.overlayRef.dispose();
1751
- this.overlayRef = undefined;
1752
- }
1753
- }
1754
- ejecutarBusquedaCompacta() {
1755
- if (this.busquedaTipo() === 'query') {
1756
- this.cargarData();
1757
- }
1758
- this.compactSearchMenuTrigger.closeMenu();
1759
- }
1760
- emitirAccionRecargar() {
1761
- if (!this.idTabla) {
1762
- this.objSeleccionado = null;
1763
- }
1764
- this.accionRecargar.emit(this.opcFiltroActual);
1765
- // this.accionRecargar.emit({ ...this.opcFiltroActual, ...{seleccionado: this.objSeleccionado}});
1766
- }
1767
- tipoValorFuncion = tipoValorFuncion;
1768
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoComponent, deps: [{ token: i2$1.FormBuilder }, { token: i2$3.Overlay }, { token: i0.ViewContainerRef }, { token: TablaMantenimientoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1769
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.14", type: TablaMantenimientoComponent, isStandalone: true, selector: "jvs-tabla-mantenimiento", inputs: { dataSuscription: { classPropertyName: "dataSuscription", publicName: "dataSuscription", isSignal: false, isRequired: false, transformFunction: null }, objThis: { classPropertyName: "objThis", publicName: "objThis", isSignal: false, isRequired: true, transformFunction: null }, nombreColeccion: { classPropertyName: "nombreColeccion", publicName: "nombreColeccion", isSignal: false, isRequired: true, transformFunction: null }, busquedaValor: { classPropertyName: "busquedaValor", publicName: "ctrlBusquedaValue", isSignal: true, isRequired: false, transformFunction: null }, busquedaPlaceholder: { classPropertyName: "busquedaPlaceholder", publicName: "ctrlBusquedaPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, filtroCampos: { classPropertyName: "filtroCampos", publicName: "filtroCampos", isSignal: false, isRequired: false, transformFunction: null }, paginador: { classPropertyName: "paginador", publicName: "paginador", isSignal: false, isRequired: false, transformFunction: null }, esTabla: { classPropertyName: "esTabla", publicName: "esTabla", isSignal: false, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: false, isRequired: false, transformFunction: null }, filaExtraHeader: { classPropertyName: "filaExtraHeader", publicName: "filaExtraHeader", isSignal: false, isRequired: false, transformFunction: null }, filaFooter: { classPropertyName: "filaFooter", publicName: "filaFooter", isSignal: false, isRequired: false, transformFunction: null }, botonesCRUD: { classPropertyName: "botonesCRUD", publicName: "botonesCRUD", isSignal: false, isRequired: false, transformFunction: null }, objBotonesCRUD: { classPropertyName: "objBotonesCRUD", publicName: "objBotonesCRUD", isSignal: false, isRequired: false, transformFunction: null }, classSeleccionado: { classPropertyName: "classSeleccionado", publicName: "classSeleccionado", isSignal: false, isRequired: false, transformFunction: null }, classAnulado: { classPropertyName: "classAnulado", publicName: "classAnulado", isSignal: false, isRequired: false, transformFunction: null }, campoAnulado: { classPropertyName: "campoAnulado", publicName: "campoAnulado", isSignal: false, isRequired: false, transformFunction: null }, campoAnuladoMensaje: { classPropertyName: "campoAnuladoMensaje", publicName: "campoAnuladoMensaje", isSignal: false, isRequired: false, transformFunction: null }, selectionModel: { classPropertyName: "selectionModel", publicName: "selectionModel", isSignal: false, isRequired: false, transformFunction: null }, filaExtraTemplate: { classPropertyName: "filaExtraTemplate", publicName: "filaExtraTemplate", isSignal: false, isRequired: false, transformFunction: null }, exportarExcel: { classPropertyName: "exportarExcel", publicName: "exportarExcel", isSignal: false, isRequired: false, transformFunction: null }, busquedaCompacta: { classPropertyName: "busquedaCompacta", publicName: "busquedaCompacta", isSignal: true, isRequired: false, transformFunction: null }, alturaFull: { classPropertyName: "alturaFull", publicName: "alturaFull", isSignal: true, isRequired: false, transformFunction: null }, pageSize: { classPropertyName: "pageSize", publicName: "pageSize", isSignal: false, isRequired: false, transformFunction: null }, pageSizeOptions: { classPropertyName: "pageSizeOptions", publicName: "pageSizeOptions", isSignal: false, isRequired: false, transformFunction: null }, derechosActuales: { classPropertyName: "derechosActuales", publicName: "derechosActuales", isSignal: false, isRequired: false, transformFunction: null }, mostrarBotonOrden: { classPropertyName: "mostrarBotonOrden", publicName: "mostrarBotonOrden", isSignal: true, isRequired: false, transformFunction: null }, busquedaTipo: { classPropertyName: "busquedaTipo", publicName: "ctrlBusqueda", isSignal: true, isRequired: false, transformFunction: null }, leyenda: { classPropertyName: "leyenda", publicName: "leyenda", isSignal: false, isRequired: false, transformFunction: null }, idTabla: { classPropertyName: "idTabla", publicName: "idTabla", isSignal: false, isRequired: true, transformFunction: null }, columnasTabla: { classPropertyName: "columnasTabla", publicName: "columnasTabla", isSignal: false, isRequired: false, transformFunction: null }, botonesMenu: { classPropertyName: "botonesMenu", publicName: "botonesMenu", isSignal: false, isRequired: false, transformFunction: null }, condicionesClaseFila: { classPropertyName: "condicionesClaseFila", publicName: "condicionesClaseFila", isSignal: false, isRequired: false, transformFunction: null }, rowTooltip: { classPropertyName: "rowTooltip", publicName: "rowTooltip", isSignal: false, isRequired: false, transformFunction: null }, soloIconos: { classPropertyName: "soloIconos", publicName: "soloIconos", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { dblclickItem: "dblclickItem", opcionSelecionada: "opcionSelecionada", opcBusqueda: "opcBusqueda", accionRecargar: "accionRecargar", selectionModelChange: "selectionModelChange", dataSourceChange: "dataSourceChange", resultados: "resultados" }, host: { properties: { "class.h-full": "alturaFull()", "id": "this.id" }, classAttribute: "jvs-tabla-mantenimiento" }, providers: [
1770
- { provide: MAT_PAGINATOR_DEFAULT_OPTIONS, useValue: { formFieldAppearance: 'outline' } }
1771
- ], queries: [{ propertyName: "columnDefs", predicate: MatColumnDef, descendants: true }], viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }, { propertyName: "table", first: true, predicate: MatTable, descendants: true }, { propertyName: "rowFooter", first: true, predicate: MatFooterRow, descendants: true, read: ElementRef }, { propertyName: "userMenu", first: true, predicate: ["userMenu"], descendants: true }, { propertyName: "compactSearchMenuTrigger", first: true, predicate: ["compactSearchMenuTrigger"], descendants: true, read: MatMenuTrigger }, { propertyName: "rows", predicate: MatRow, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div class=\"flex flex-col\" [ngClass]=\"alturaFull() ? 'h-full' : 'h-fit'\">\n <div class=\"flex-none flex items-center justify-between bg-white\">\n <ng-content select=\"[filtro]\"></ng-content>\n </div>\n\n <div class=\"flex flex-col border-t\" [ngClass]=\"alturaFull() ? 'grow' : ''\">\n <div class=\"flex-none bg-app-bar flex items-center justify-between p-1\">\n <!-- <div class=\"hidden flex-1 sm:flex items-center flex-wrap gap-1\">-->\n <!-- </div>-->\n <div class=\"flex items-center flex-wrap mr-1 h-full\" *ngIf=\"leyenda\">\n <span class=\"font-bold\" [class]=\"leyenda.class\">{{ leyenda.text }}</span>\n </div>\n <div class=\"hidden flex-1 sm:flex items-center flex-wrap gap-1\">\n <div *ngIf=\"(botonesMenuFinal.izquierda ?? []).length > 0 \" class=\" flex items-center flex-wrap contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.izquierda; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.izquierda?.length}}\"></ng-container>\n </ng-container>\n </div>\n\n <div *ngIf=\"(botonesMenuFinal.crud ?? []).length > 0\" class=\" flex items-center flex-wrap contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.crud; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.crud?.length}}\"></ng-container>\n </ng-container>\n </div>\n\n <div *ngIf=\"(botonesMenuFinal.principal ?? []).length > 0\" class=\" flex items-center flex-wrap contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.principal; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.principal?.length}}\"></ng-container>\n </ng-container>\n </div>\n\n <div *ngIf=\"(botonesMenuFinal.derecha ?? []).length > 0\" class=\"flex-auto flex items-center justify-end contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.derecha; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.derecha?.length}}\"></ng-container>\n </ng-container>\n </div>\n <ng-content select=\"[objetosMenuPegado]\"></ng-content>\n </div>\n <div class=\"flex flex-1 sm:hidden items-center flex-wrap gap-1\">\n <button class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1\"\n matRipple\n matTooltip=\"Botones de Acci\u00F3n\"\n type=\"button\"\n [matMenuTriggerFor]=\"menuOpciones\"\n >\n <mat-icon class=\"icon-xs\" svgIcon=\"roundMenu\"></mat-icon>\n </button>\n </div>\n <div class=\"flex-none flex items-center justify-end border-l-2\">\n <div class=\"flex-1 sm:flex-none flex items-center justify-end\">\n <ng-content select=\"[objetosMenu]\"></ng-content>\n </div>\n </div>\n <div *ngIf=\"busquedaTipo() && !busquedaCompacta()\" class=\"hidden flex-initial sm:flex items-center form-input max-w-[150px] bg-card rounded-full border m-1 px-1 border-l-2\"\n >\n <mat-icon svgIcon=\"roundSearch\" class=\"icon-xs\"></mat-icon>\n <input [formControl]=\"cCampoBusqueda\"\n class=\"text-xs px-1 py-1 border-0 outline-none w-full bg-transparent max-w-sm\"\n [placeholder]=\"busquedaPlaceholder()\"\n (keyup.enter)=\"busquedaTipo() == 'query' ? cargarData() : false;\"\n type=\"search\">\n </div>\n\n\n <mat-menu #compactSearchMenu=\"matMenu\" class=\"compact-search-menu\">\n <div class=\"flex items-center gap-1\" (click)=\"$event.stopPropagation()\">\n <mat-icon svgIcon=\"roundSearch\" class=\"icon-xs text-gray-400\"></mat-icon>\n <input [formControl]=\"cCampoBusqueda\"\n class=\"text-xs px-2 py-1 border border-gray-200 rounded outline-none w-[180px] bg-white\"\n [placeholder]=\"busquedaPlaceholder()\"\n (keyup.enter)=\"ejecutarBusquedaCompacta()\"\n type=\"search\"\n (click)=\"$event.stopPropagation()\">\n </div>\n </mat-menu>\n <div class=\"flex-none flex items-center justify-end border-l-2\">\n <ng-content select=\"[botonesFiltro]\"></ng-content>\n <ng-content select=\"[botonesConfig]\"></ng-content>\n\n <button matRipple *ngIf=\"busquedaTipo() && busquedaCompacta()\"\n class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1\"\n matTooltip=\"Buscar...\"\n [matMenuTriggerFor]=\"compactSearchMenu\"\n #compactSearchMenuTrigger=\"matMenuTrigger\"\n type=\"button\">\n <mat-icon svgIcon=\"roundSearch\" class=\"icon-xs\"></mat-icon>\n </button>\n\n <button matRipple *ngIf=\"isRecargarUsed || busquedaTipo() == 'query'\"\n class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1 text-green-700\"\n matTooltip=\"Actualizar datos\"\n (click)=\"(busquedaTipo() == 'query' ? cargarData() : emitirAccionRecargar())\"\n type=\"button\">\n <mat-icon svgIcon=\"roundRefresh\" class=\"icon-xs\"></mat-icon>\n\n </button>\n <button matRipple *ngIf=\"mostrarBotonOrden()\"\n class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1 text-blue-700\"\n [matTooltip]=\"bDireccionOrden() === 0 ? 'Orden Ascendente' : 'Orden Descendente'\"\n (click)=\"toggleDireccionOrden()\"\n type=\"button\">\n <mat-icon [svgIcon]=\"bDireccionOrden() === 0 ? 'roundArrowUpward' : 'roundArrowDownward'\" class=\"icon-xs\"></mat-icon>\n </button>\n <button matRipple [matMenuTriggerFor]=\"columnFilterMenu\" *ngIf=\"filtroCampos\"\n class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1\"\n matTooltip=\"Columnas Filtro\"\n type=\"button\">\n <mat-icon svgIcon=\"roundFilterList\" class=\"icon-xs\"></mat-icon>\n </button>\n </div>\n </div>\n\n <div *ngIf=\"(botonesMenuFinal.secundario ?? []).length > 0\" class=\"flex-1 bg-app-bar flex items-center justify-between p-1 border-t\">\n <div class=\"hidden flex-1 sm:flex items-center flex-wrap gap-1\">\n <div class=\" flex items-center flex-wrap contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.secundario; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.secundario?.length}}\"></ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n <!--<div class=\"grow flex flex-col items-stretch contenedor-tabla\" [ngClass]=\"{'table-container overflow-auto': esTabla}\">\n <pre>{{ this.chkLista.modelosChk | json }}</pre>\n <pre>{{ this.chkLista.checkbox.cantidadActivos | json }}</pre>\n <pre>{{ this.chkLista.checkbox.algunosActivos | json }}</pre>\n </div>-->\n <div class=\"grow flex flex-col items-stretch contenedor-tabla\" [ngClass]=\"{'table-container overflow-auto': esTabla}\">\n <ng-content select=\"[cuerpo]\"></ng-content>\n\n <table [id]=\"'tabla_' + nombreColeccion\" [dataSource]=\"dataSource\" [multiTemplateDataRows]=\"true\"\n [hidden]=\"!esTabla\"\n class=\"table-mantenimiento table-auto h-fit\" mat-table matSort\n [trackBy]=\"trackByFn\"\n #tablaMantenimiento\n >\n\n <!--<table [dataSource]=\"dataSource\" class=\"table-mantenimiento table-auto h-auto w-full justify-center\" mat-table matSort>-->\n\n\n <ng-content select=\"[tableDefinitions]\"></ng-content>\n <ng-container matColumnDef=\"numeracion_automatica\">\n <th mat-header-cell *matHeaderCellDef style=\"width: 16px !important\">N\u00BA</th>\n <td mat-cell *matCellDef=\"let element; let i = dataIndex\" class=\"p-0 celda-numeracion-fila\">\n <div class=\"flex items-center justify-center font-bold numeracionFila\">\n <ng-container *ngIf=\"esTabla && paginador\">\n {{ (this.paginator?.pageIndex == 0 ? i + 1 : 1 + i + (this.paginator?.pageIndex ?? 1) * (this.paginator?.pageSize ?? 1)) }}\n </ng-container>\n <ng-container *ngIf=\"!paginador\">\n {{ (i + 1) }}\n </ng-container>\n </div>\n </td>\n <td mat-footer-cell *matFooterCellDef class=\"uppercase\"></td>\n </ng-container>\n <jvs-tabla-mantenimiento-column-defs [objThis]=\"this\" [colDetalle]=\"columnasTabla\"\n [nombreColeccion]=\"nombreColeccion\" [(chkLista)]=\"chkLista\"></jvs-tabla-mantenimiento-column-defs>\n\n <tr *matHeaderRowDef=\"visibleColumns; sticky: true\" mat-header-row class=\"title\" matHeader\n ></tr>\n\n <ng-container *ngIf=\"!!filaExtraHeader\">\n <tr mat-row *matRowDef=\"let row; columns: ['filaExtraHeader']\" class=\"student-detail-row\"\n [style.height.px]=\"0\"\n ></tr>\n\n <ng-container matColumnDef=\"filaExtraHeader\">\n <td mat-cell *matCellDef=\"let row; let i = dataIndex\" [attr.colspan]=\"visibleColumns.length\">\n\n <div class=\"row m-0 student-element-detail\"\n [@detailExpand]=\"(i == 0 && filaExtraHeader.esVisible && filaExtraHeader.esVisible()) ? 'expanded' : 'collapsed'\"\n [style.padding-right.px]=\"row.isExpanded ? 5 : 0\"\n [style.padding-left.px]=\"row.isExpanded ? 5 : 0\"\n >\n <ng-container *ngIf=\"filaExtraHeader.template\"\n [ngTemplateOutlet]=\"filaExtraHeader.template\"\n [ngTemplateOutletContext]=\"{ row: row }\"></ng-container>\n </div>\n\n </td>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"filaFooter\">\n <tr *matFooterRowDef=\"visibleColumns\" mat-footer-row\n [style.height.px]=\"0\"\n [id]=\"nombreColeccion + '_filaFooter'\"\n ></tr>\n </ng-container>\n\n <!--\t<tr\n *matRowDef=\"let row; columns: visibleColumns;\"\n class=\"hover:bg-secondary trans-ease-out cursor-pointer\"\n mat-row></tr>-->\n <tr\n [matRowKeyboardSelection]=\"tablaMantenimiento\"\n [rowModel]=\"row\"\n (seleccionarSiguiente)=\"opcMenu($event, {seccion: nombreColeccion, tipo: 'ver'});\"\n\n *matRowDef=\"let row; let idxTabla = dataIndex; columns: visibleColumns;\"\n (click)=\"seleccionarItem(row); opcMenu(row, {seccion: nombreColeccion, tipo: 'ver', tableDataIndex: idxTabla });\"\n (dblclick)=\"opcMenu(row, {seccion: nombreColeccion, tipo: 'seleccionar'}); dblclickItem.emit(row)\"\n (contextmenu)=\"(abrirMenuContextual($event, row)); $event. preventDefault();\"\n [ngClass]=\"classFila(row)\"\n @fadeInUp\n class=\"trans-ease-out cursor-pointer h-auto\"\n [style.height.px]=\"0\"\n [id]=\"propiedadSeleccion(row)\"\n [matTooltip]=\"procesarRowTooltip(row)\"\n matTooltipPosition=\"below\"\n [matTooltipPositionAtOrigin]=\"true\"\n [matTooltipClass]=\"['bg-red-700', 'text-red-100', 'm-0']\"\n [matTooltipDisabled]=\"!procesarRowTooltip(row)\"\n [class.regAnulado]=\"row[campoAnulado] == 1\"\n [class.regTooltip]=\"!!procesarRowTooltip(row)\"\n (keyup.delete)=\"opcMenu(row, {seccion: nombreColeccion, tipo: 'eliminar'})\"\n mat-row></tr>\n <ng-container *ngIf=\"filaExtraTemplate\">\n <tr mat-row *matRowDef=\"let row; columns: ['expandedDetail']\" class=\"student-detail-row h-0\"></tr>\n\n <ng-container matColumnDef=\"expandedDetail\">\n <td mat-cell *matCellDef=\"let row\" [attr.colspan]=\"visibleColumns.length\">\n\n <div class=\"row m-0 student-element-detail\"\n [@detailExpand]=\"row.isExpanded ? 'expanded' : 'collapsed'\"\n [style.padding-right.px]=\"row.isExpanded ? 5 : 0\"\n [style.padding-left.px]=\"row.isExpanded ? 5 : 0\"\n >\n <ng-container [ngTemplateOutlet]=\"filaExtraTemplate\"\n [ngTemplateOutletContext]=\"{ row: row }\"></ng-container>\n </div>\n\n </td>\n </ng-container>\n </ng-container>\n </table>\n\n <ng-container *ngIf=\"componenteCargadoTotalmente\">\n <div *ngIf=\"(noData | async) && esTabla\" class=\"flex-1 text-center text-secondary font-medium\">\n No se encontraron datos\n </div>\n </ng-container>\n </div>\n <ng-content select=\"[appendTable]\"></ng-content>\n <div class=\"flex-none bg-app-bar flex flex-col sm:flex-row items-start justify-between p-1\">\n <div class=\"flex-1 flex items-start flex-wrap gap-1\">\n\n <div *ngIf=\"(botonesMenuFinal.inferior ?? []).length > 0\" class=\"flex items-center contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.inferior; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.inferior?.length}}\"></ng-container>\n </ng-container>\n </div>\n <!--<div *ngIf=\"(botonesMenuFinal.inferior ?? []).length > 0\" class=\" flex items-center flex-wrap\">\n <ng-container *ngFor=\"let btn of botonesMenu.inferior; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.inferior?.length}}\"></ng-container>\n </ng-container>\n </div>-->\n </div>\n\n <div *ngIf=\"esTabla && paginador\" class=\"flex-1 sm:flex-none flex items-center justify-end\">\n <mat-paginator class=\"tabla-mantenimiento-paginador\" [pageSizeOptions]=\"paginacion.pageSizeOptions\" [pageIndex]=\"paginacion.pageIndex - 1\" [length]=\"paginacion.pageLength\" [pageSize]=\"paginacion.pageSize\" (page)=\"paginacion.pageCurrent = $event; emitirResultados();\" ></mat-paginator>\n </div>\n </div>\n </div>\n\n</div>\n\n\n\n<!-- SECCION DE TEMPLATES O MENUS -->\n\n\n<mat-menu #columnFilterMenu=\"matMenu\" xPosition=\"before\" yPosition=\"below\">\n <ng-container *ngFor=\"let column of columnasTabla\">\n <button (click)=\"toggleColumnVisibility(column, $event)\" *ngIf=\"!tipoValorFuncion(column.noMostrarEnLista, false)\"\n class=\"checkbox-item mat-menu-item\">\n <mat-checkbox (click)=\"$event.stopPropagation()\" [(ngModel)]=\"column.visible\" [ngModelOptions]=\"{standalone: true}\" color=\"primary\">\n <span [innerHTML]=\"(column.labelLista ?? column.label).replace('<br>', ' ')\"></span>\n </mat-checkbox>\n </button>\n </ng-container>\n</mat-menu>\n\n\n\n\n\n\n<ng-template #botonesSuperiores let-btn=\"btn\" let-idx=\"idx\">\n <ng-container *ngTemplateOutlet=\"botonesContextual; context:{btn: btn, item: objSeleccionado, barraSuperior: true, idx: idx}\"></ng-container>\n</ng-template>\n\n<ng-template #botonesContextual let-btn=\"btn\" let-item=\"item\" let-barraSuperior=\"barraSuperior\" let-idx=\"idx\">\n\n <ng-container *ngIf=\"barraSuperior; else noBarraSuperior\">\n\n <!--\t\t<button mat-button style=\"min-width: unset; border: 1px !important;\" class=\"uppercase border border-gray rounded-none h-full px-1 disabled:opacity-50 disabled:text-secondary disabled:bg-transparent\">-->\n <!--\t\t\t<mat-icon *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\" size=\"15px\" class=\"icon-xs\"></mat-icon>-->\n <!--\t\t</button>-->\n <ng-container *ngIf=\"btn.subItems && btn.subItems.length > 0\">\n <button class=\"flex items-center justify-between uppercase text-2xs leading-none rounded-none px-2 py-1 bg-opacity-95 hover:bg-opacity-100 disabled:opacity-50 disabled:text-secondary disabled:!bg-gray-300 dark:disabled:!bg-gray-500 mat-elevation-z2\" type=\"button\"\n\n *ngIf=\"(!btn.esVisible || btn.esVisible(item, this)) && subItemsActivos(btn, item)\"\n [class]=\"(btn.class?btn.class:'')\"\n\n (click)=\"opcMenu(item, btn)\"\n [style.min-width]=\"((btn.soloIcono ?? tipoValorFuncion(soloIconos)) ? 'unset' : '')\"\n [matTooltip]=\"btn.tooltip || (btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo))) \"\n [matMenuTriggerFor]=\"menuOtrosBarra.menu\"\n\n [matBadge]=\"btn.badge\"\n matBadgeSize=\"small\"\n >\n <mat-icon class=\"icon-xs\" [class.mr-0.5]=\"!(btn.soloIcono ?? tipoValorFuncion(soloIconos))\" *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\" ></mat-icon>\n <span class=\"whitespace-nowrap\" *ngIf=\"!(btn.soloIcono ?? tipoValorFuncion(soloIconos))\">{{ btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo)) }}</span>\n <mat-icon class=\"icon-xs\" svgIcon=\"fa5sCaretDown\" ></mat-icon>\n </button>\n\n <jvs-tabla-mantenimiento-menu #menuOtrosBarra\n [objThis]=\"objThis\"\n [nombreColeccion]=\"nombreColeccion\"\n [item]=\"item\"\n [derechosActuales]=\"derechosActuales\"\n [subItems]=\"btn.subItems\"\n (opcionSelecionada)=\"opcMenu($event.item, $event.btn)\"\n [botonTemplate]=\"botonesContextual\"\n >\n </jvs-tabla-mantenimiento-menu>\n </ng-container>\n <ng-container *ngIf=\"!btn.subItems || btn.subItems.length == 0\">\n <button class=\"flex items-center justify-between uppercase text-2xs leading-none rounded-none px-2 py-1 bg-opacity-95 hover:bg-opacity-100 disabled:opacity-50 disabled:text-secondary disabled:!bg-gray-300 dark:disabled:!bg-gray-500 mat-elevation-z2\" type=\"button\"\n\n *ngIf=\"!btn.esVisible || btn.esVisible(item, this)\"\n [class]=\"(btn.class?btn.class:'text-secondary')\"\n [ngClass]=\"{'text-secondary italic': !ignorarDerechos && !btn.esIndependiente && (!btn.ignorarDerecho && (!derechosActuales || !derechosActuales[btn.cDerechoCodigo ?? btn.tipo])) && !(['nuevo', 'editar', 'eliminar'].includes(btn.tipo))}\"\n [disabled]=\"!btn.esIndependiente && botonDisabled(btn, item)\"\n (click)=\"opcMenu(item, btn)\"\n [style.min-width]=\"((btn.soloIcono ?? tipoValorFuncion(soloIconos)) ? 'unset' : '')\"\n [matTooltip]=\"btn.tooltip || (btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo))) \"\n\n [matBadge]=\"btn.badge\"\n matBadgeSize=\"small\"\n >\n <mat-icon class=\"icon-xs\" [class.mr-0.5]=\"!(btn.soloIcono ?? tipoValorFuncion(soloIconos))\" *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\"></mat-icon>\n <span class=\"whitespace-nowrap\" *ngIf=\"!(btn.soloIcono ?? tipoValorFuncion(soloIconos))\">{{ btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo)) }}</span>\n </button>\n\n </ng-container>\n\n </ng-container>\n <ng-template #noBarraSuperior>\n\n <ng-container *ngIf=\"btn.subItems && btn.subItems.length > 0\">\n <button class=\"flex items-center justify-between uppercase w-full rounded-none px-2 disabled:opacity-50 disabled:text-secondary disabled:bg-transparent\" mat-menu-item type=\"button\"\n *ngIf=\"!btn.noContextual && (!btn.esVisible || btn.esVisible(item, this))\"\n [class]=\"(btn.class?btn.class.replace('text-white', '').replace('bg', 'text'):'text-secondary')\"\n [ngClass]=\"{'text-secondary italic': !ignorarDerechos && !btn.esIndependiente && (!btn.ignorarDerecho && (!derechosActuales || !derechosActuales[btn.cDerechoCodigo ?? btn.tipo]))}\"\n [disabled]=\"!btn.esIndependiente && botonDisabled(btn, item)\"\n (click)=\"opcMenu(item, btn); $event.stopPropagation();\"\n [matMenuTriggerFor]=\"menuOtrosBarra.menu\"\n >\n <div class=\"flex w-full items-center justify-between uppercase text-2xs\"\n >\n <mat-icon *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\"\n class=\"flex-none icon-xs\"\n ></mat-icon>\n <span class=\"grow text-2xs\">{{ btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo)) }}</span>\n <mat-icon class=\"flex-none icon-xs\" svgIcon=\"fa5sCaretRight\"></mat-icon>\n </div>\n </button>\n\n <jvs-tabla-mantenimiento-menu #menuOtrosBarra\n [objThis]=\"objThis\"\n [nombreColeccion]=\"nombreColeccion\"\n [item]=\"item\"\n [derechosActuales]=\"derechosActuales\"\n [subItems]=\"btn.subItems\"\n (opcionSelecionada)=\"opcMenu($event.item, $event.btn)\"\n [botonTemplate]=\"botonesContextual\"\n >\n </jvs-tabla-mantenimiento-menu>\n </ng-container>\n <ng-container *ngIf=\"!btn.subItems || btn.subItems.length == 0\">\n <ng-container *ngIf=\"btn.tipo == '-#SEPARADOR#-'; else itemsNormales\">\n <mat-divider></mat-divider>\n </ng-container>\n <ng-template #itemsNormales>\n <button class=\"flex items-center justify-between uppercase w-full rounded-none px-2 disabled:opacity-50 disabled:text-secondary disabled:bg-transparent\" mat-menu-item type=\"button\"\n *ngIf=\"!btn.noContextual && (!btn.esVisible || btn.esVisible(item, this))\"\n [class]=\"(btn.class?btn.class.replace('text-white', '').replace('bg', 'text'):'text-secondary')\"\n [ngClass]=\"{'text-secondary italic': !ignorarDerechos && !btn.esIndependiente && (!btn.ignorarDerecho && (!derechosActuales || !derechosActuales[btn.cDerechoCodigo ?? btn.tipo]))}\"\n [disabled]=\"!btn.esIndependiente && botonDisabled(btn, item)\"\n (click)=\"opcMenu(item, btn)\"\n >\n <div class=\"flex w-full items-center justify-between uppercase text-2xs\">\n <mat-icon *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\" class=\"flex-none icon-xs\"\n ></mat-icon>\n <span class=\"grow text-2xs\">{{ btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo)) }}</span>\n </div>\n </button>\n </ng-template>\n\n </ng-container>\n\n </ng-template>\n\n</ng-template>\n\n<ng-template #userMenu let-item=\"item\">\n <div class=\"mat-menu bg-white rounded mat-elevation-z8 shadow botonesContextual\">\n <ng-container *ngFor=\"let btn of listaMenuCompleto\">\n <ng-container *ngTemplateOutlet=\"botonesContextual; context:{btn: btn, item: objSeleccionado, barraSuperior: false}\"></ng-container>\n </ng-container>\n </div>\n</ng-template>\n\n\n<mat-menu #menuOpciones=\"matMenu\" xPosition=\"before\" yPosition=\"below\">\n <ng-container *ngFor=\"let btn of listaMenuCompleto\">\n <ng-container\n *ngTemplateOutlet=\"botonesContextual; context:{btn: btn, item: objSeleccionado, barraSuperior: false}\"></ng-container>\n </ng-container>\n</mat-menu>\n\n", styles: ["@charset \"UTF-8\";:root{--tabla-mantenimiento-seleccion-fondo: rgb(179, 217, 252);--tabla-mantenimiento-seleccion-texto: rgb(1, 84, 164);--mat-paginator-container-size: 30px}:root .table-mantenimiento .elemento-seleccionado{background-color:var(--tabla-mantenimiento-seleccion-fondo)!important;color:var(--tabla-mantenimiento-seleccion-texto)!important;border-color:var(--tabla-mantenimiento-seleccion-texto)!important}.jvs-tabla-mantenimiento{width:inherit;display:flex;flex-direction:column}.jvs-tabla-mantenimiento .contenedor-botones>*:first-child{@apply rounded-l;}.jvs-tabla-mantenimiento .contenedor-botones>*:last-child{@apply rounded-r;}.jvs-tabla-mantenimiento tr.regTooltip>td:first-child div:first-child:before,.jvs-tabla-mantenimiento tr.regTooltip>th:first-child div:first-child:before{content:\"\\26a0\\fe0f \";color:red;margin-right:4px;font-size:12px}.jvs-tabla-mantenimiento tr.regTooltip>td:first-child:not(:has(div)):before,.jvs-tabla-mantenimiento tr.regTooltip>th:first-child:not(:has(div)):before{content:\"\\26a0\\fe0f \";color:red;margin-right:4px;font-size:12px}.jvs-tabla-mantenimiento .mat-mdc-menu-content:not(:empty){@apply flex flex-col items-start;padding:0!important}.jvs-tabla-mantenimiento .mat-mdc-menu-item{line-height:24px!important;height:24px!important;min-height:24px!important}.jvs-tabla-mantenimiento .mat-mdc-menu-panel{min-height:auto!important}.jvs-tabla-mantenimiento .mat-mdc-table .mat-mdc-cell,.jvs-tabla-mantenimiento .mat-mdc-table .mat-mdc-header-cell .mat-mdc-footer-cell{white-space:unset}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-table-sticky-border-elem-right{border-left:1px solid #e0e0e0}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-table-sticky-border-elem-left{border-right:1px solid #e0e0e0}.jvs-tabla-mantenimiento .table-mantenimiento tr.regAnulado .mat-mdc-cell{color:unset!important}.jvs-tabla-mantenimiento .table-mantenimiento .bg-primary-activo .numeracionFila{@apply rounded-full bg-primary-contrast text-primary mx-1 p-1 w-6 h-6;}.jvs-tabla-mantenimiento .table-mantenimiento th .form-input{@apply w-auto;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell,.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-cell,.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-footer-cell{border-width:1px;border-style:solid}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-cell:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-footer-cell:not(.celda-numeracion-fila){padding:.05rem .25rem}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell:first-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell:last-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-cell:first-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-cell:last-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-footer-cell:first-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-footer-cell:last-of-type:not(.celda-numeracion-fila){padding:0 .25rem}.jvs-tabla-mantenimiento .table-mantenimiento .student-element-detail{overflow:hidden;display:flex;align-items:center;justify-content:center}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-header-row{height:25px!important;color:rgb(var(--color-primary))!important;background-color:rgb(var(--color-primary-contrast))!important}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-header-cell{padding:5px;font-size:10px;line-height:10px;font-weight:700!important;color:inherit}.jvs-tabla-mantenimiento .table-mantenimiento .mdc-data-table__row:not(.mdc-data-table__row--selected):not(.elemento-seleccionado):hover,.jvs-tabla-mantenimiento .table-mantenimiento .mdc-data-table__row:not(.mdc-data-table__row--selected):not(.elemento-seleccionado):focus{background-color:rgba(var(--color-primary-contrast),.04)}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-row .mat-mdc-cell,.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-footer-row .mat-mdc-cell{font-size:10px}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-row .mat-mdc-footer-cell:empty,.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-footer-row .mat-mdc-footer-cell:empty{border-width:0!important}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-cell{@apply leading-tight;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell{border-color:#d4d0d0;@apply text-center uppercase;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell .mat-sort-header-container{@apply flex items-center justify-between w-full;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell .mat-sort-header-container .mat-sort-header-content{@apply inline w-full text-center;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell .mat-sort-header-container .mat-sort-header-arrow{@apply flex-none;}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-sort-header-content{width:100%;text-align:center;display:unset;align-items:center}.compact-search-menu{min-width:200px!important;overflow:hidden}.compact-search-menu input:focus{@apply border-primary;}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i5$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i6.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i2$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatPaginatorModule }, { kind: "component", type: i9.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: MatSortModule }, { kind: "directive", type: i3$1.MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i2.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i2.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i2.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i2.MatFooterRow, selector: "mat-footer-row, tr[mat-footer-row]", exportAs: ["matFooterRow"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TablaMantenimientoColumnDefsComponent, selector: "jvs-tabla-mantenimiento-column-defs", inputs: ["objThis", "nombreColeccion", "colDetalle", "chkLista"], outputs: ["chkListaChange"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i14.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: TablaMantenimientoMenuComponent, selector: "jvs-tabla-mantenimiento-menu", inputs: ["objThis", "nombreColeccion", "item", "derechosActuales", "subItems", "botonTemplate"], outputs: ["opcionSelecionada"] }, { kind: "directive", type: MatRowKeyboardSelectionDirective, selector: "[matRowKeyboardSelection]", inputs: ["matRowKeyboardSelection", "rowModel"], outputs: ["seleccionarSiguiente"] }], animations: [
1772
- trigger('detailExpand', [
1773
- state('collapsed', style({ height: '0px', minHeight: '0' })),
1774
- state('expanded', style({ height: '*' })),
1775
- transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
1776
- ]),
1777
- trigger('fadeInUp', [
1778
- transition(':enter', [
1779
- style({
1780
- transform: 'translateY(20px)',
1781
- opacity: 0
1782
- }),
1783
- animate(`400ms cubic-bezier(0.35, 0, 0.25, 1)`, style({
1784
- transform: 'translateY(0)',
1785
- opacity: 1
1786
- }))
1787
- ])
1788
- ]),
1789
- ] });
1790
- }
1791
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TablaMantenimientoComponent, decorators: [{
1792
- type: Component,
1793
- args: [{ selector: 'jvs-tabla-mantenimiento', standalone: true, imports: [
1794
- CommonModule,
1795
- FormsModule,
1796
- MatCheckboxModule,
1797
- MatDividerModule,
1798
- MatIconModule,
1799
- MatMenuModule,
1800
- MatMenuTrigger,
1801
- MatPaginatorModule,
1802
- MatRippleModule,
1803
- MatSortModule,
1804
- MatTableModule,
1805
- MatTooltipModule,
1806
- ReactiveFormsModule,
1807
- TablaMantenimientoColumnDefsComponent,
1808
- MatBadgeModule,
1809
- TablaMantenimientoMenuComponent,
1810
- MatRowKeyboardSelectionDirective,
1811
- ], host: {
1812
- class: 'jvs-tabla-mantenimiento',
1813
- '[class.h-full]': 'alturaFull()',
1814
- }, animations: [
1815
- trigger('detailExpand', [
1816
- state('collapsed', style({ height: '0px', minHeight: '0' })),
1817
- state('expanded', style({ height: '*' })),
1818
- transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
1819
- ]),
1820
- trigger('fadeInUp', [
1821
- transition(':enter', [
1822
- style({
1823
- transform: 'translateY(20px)',
1824
- opacity: 0
1825
- }),
1826
- animate(`400ms cubic-bezier(0.35, 0, 0.25, 1)`, style({
1827
- transform: 'translateY(0)',
1828
- opacity: 1
1829
- }))
1830
- ])
1831
- ]),
1832
- ], providers: [
1833
- { provide: MAT_PAGINATOR_DEFAULT_OPTIONS, useValue: { formFieldAppearance: 'outline' } }
1834
- ], template: "<div class=\"flex flex-col\" [ngClass]=\"alturaFull() ? 'h-full' : 'h-fit'\">\n <div class=\"flex-none flex items-center justify-between bg-white\">\n <ng-content select=\"[filtro]\"></ng-content>\n </div>\n\n <div class=\"flex flex-col border-t\" [ngClass]=\"alturaFull() ? 'grow' : ''\">\n <div class=\"flex-none bg-app-bar flex items-center justify-between p-1\">\n <!-- <div class=\"hidden flex-1 sm:flex items-center flex-wrap gap-1\">-->\n <!-- </div>-->\n <div class=\"flex items-center flex-wrap mr-1 h-full\" *ngIf=\"leyenda\">\n <span class=\"font-bold\" [class]=\"leyenda.class\">{{ leyenda.text }}</span>\n </div>\n <div class=\"hidden flex-1 sm:flex items-center flex-wrap gap-1\">\n <div *ngIf=\"(botonesMenuFinal.izquierda ?? []).length > 0 \" class=\" flex items-center flex-wrap contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.izquierda; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.izquierda?.length}}\"></ng-container>\n </ng-container>\n </div>\n\n <div *ngIf=\"(botonesMenuFinal.crud ?? []).length > 0\" class=\" flex items-center flex-wrap contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.crud; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.crud?.length}}\"></ng-container>\n </ng-container>\n </div>\n\n <div *ngIf=\"(botonesMenuFinal.principal ?? []).length > 0\" class=\" flex items-center flex-wrap contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.principal; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.principal?.length}}\"></ng-container>\n </ng-container>\n </div>\n\n <div *ngIf=\"(botonesMenuFinal.derecha ?? []).length > 0\" class=\"flex-auto flex items-center justify-end contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.derecha; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.derecha?.length}}\"></ng-container>\n </ng-container>\n </div>\n <ng-content select=\"[objetosMenuPegado]\"></ng-content>\n </div>\n <div class=\"flex flex-1 sm:hidden items-center flex-wrap gap-1\">\n <button class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1\"\n matRipple\n matTooltip=\"Botones de Acci\u00F3n\"\n type=\"button\"\n [matMenuTriggerFor]=\"menuOpciones\"\n >\n <mat-icon class=\"icon-xs\" svgIcon=\"roundMenu\"></mat-icon>\n </button>\n </div>\n <div class=\"flex-none flex items-center justify-end border-l-2\">\n <div class=\"flex-1 sm:flex-none flex items-center justify-end\">\n <ng-content select=\"[objetosMenu]\"></ng-content>\n </div>\n </div>\n <div *ngIf=\"busquedaTipo() && !busquedaCompacta()\" class=\"hidden flex-initial sm:flex items-center form-input max-w-[150px] bg-card rounded-full border m-1 px-1 border-l-2\"\n >\n <mat-icon svgIcon=\"roundSearch\" class=\"icon-xs\"></mat-icon>\n <input [formControl]=\"cCampoBusqueda\"\n class=\"text-xs px-1 py-1 border-0 outline-none w-full bg-transparent max-w-sm\"\n [placeholder]=\"busquedaPlaceholder()\"\n (keyup.enter)=\"busquedaTipo() == 'query' ? cargarData() : false;\"\n type=\"search\">\n </div>\n\n\n <mat-menu #compactSearchMenu=\"matMenu\" class=\"compact-search-menu\">\n <div class=\"flex items-center gap-1\" (click)=\"$event.stopPropagation()\">\n <mat-icon svgIcon=\"roundSearch\" class=\"icon-xs text-gray-400\"></mat-icon>\n <input [formControl]=\"cCampoBusqueda\"\n class=\"text-xs px-2 py-1 border border-gray-200 rounded outline-none w-[180px] bg-white\"\n [placeholder]=\"busquedaPlaceholder()\"\n (keyup.enter)=\"ejecutarBusquedaCompacta()\"\n type=\"search\"\n (click)=\"$event.stopPropagation()\">\n </div>\n </mat-menu>\n <div class=\"flex-none flex items-center justify-end border-l-2\">\n <ng-content select=\"[botonesFiltro]\"></ng-content>\n <ng-content select=\"[botonesConfig]\"></ng-content>\n\n <button matRipple *ngIf=\"busquedaTipo() && busquedaCompacta()\"\n class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1\"\n matTooltip=\"Buscar...\"\n [matMenuTriggerFor]=\"compactSearchMenu\"\n #compactSearchMenuTrigger=\"matMenuTrigger\"\n type=\"button\">\n <mat-icon svgIcon=\"roundSearch\" class=\"icon-xs\"></mat-icon>\n </button>\n\n <button matRipple *ngIf=\"isRecargarUsed || busquedaTipo() == 'query'\"\n class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1 text-green-700\"\n matTooltip=\"Actualizar datos\"\n (click)=\"(busquedaTipo() == 'query' ? cargarData() : emitirAccionRecargar())\"\n type=\"button\">\n <mat-icon svgIcon=\"roundRefresh\" class=\"icon-xs\"></mat-icon>\n\n </button>\n <button matRipple *ngIf=\"mostrarBotonOrden()\"\n class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1 text-blue-700\"\n [matTooltip]=\"bDireccionOrden() === 0 ? 'Orden Ascendente' : 'Orden Descendente'\"\n (click)=\"toggleDireccionOrden()\"\n type=\"button\">\n <mat-icon [svgIcon]=\"bDireccionOrden() === 0 ? 'roundArrowUpward' : 'roundArrowDownward'\" class=\"icon-xs\"></mat-icon>\n </button>\n <button matRipple [matMenuTriggerFor]=\"columnFilterMenu\" *ngIf=\"filtroCampos\"\n class=\"flex items-center justify-center text-2xs leading-none rounded-full p-1\"\n matTooltip=\"Columnas Filtro\"\n type=\"button\">\n <mat-icon svgIcon=\"roundFilterList\" class=\"icon-xs\"></mat-icon>\n </button>\n </div>\n </div>\n\n <div *ngIf=\"(botonesMenuFinal.secundario ?? []).length > 0\" class=\"flex-1 bg-app-bar flex items-center justify-between p-1 border-t\">\n <div class=\"hidden flex-1 sm:flex items-center flex-wrap gap-1\">\n <div class=\" flex items-center flex-wrap contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.secundario; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.secundario?.length}}\"></ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n <!--<div class=\"grow flex flex-col items-stretch contenedor-tabla\" [ngClass]=\"{'table-container overflow-auto': esTabla}\">\n <pre>{{ this.chkLista.modelosChk | json }}</pre>\n <pre>{{ this.chkLista.checkbox.cantidadActivos | json }}</pre>\n <pre>{{ this.chkLista.checkbox.algunosActivos | json }}</pre>\n </div>-->\n <div class=\"grow flex flex-col items-stretch contenedor-tabla\" [ngClass]=\"{'table-container overflow-auto': esTabla}\">\n <ng-content select=\"[cuerpo]\"></ng-content>\n\n <table [id]=\"'tabla_' + nombreColeccion\" [dataSource]=\"dataSource\" [multiTemplateDataRows]=\"true\"\n [hidden]=\"!esTabla\"\n class=\"table-mantenimiento table-auto h-fit\" mat-table matSort\n [trackBy]=\"trackByFn\"\n #tablaMantenimiento\n >\n\n <!--<table [dataSource]=\"dataSource\" class=\"table-mantenimiento table-auto h-auto w-full justify-center\" mat-table matSort>-->\n\n\n <ng-content select=\"[tableDefinitions]\"></ng-content>\n <ng-container matColumnDef=\"numeracion_automatica\">\n <th mat-header-cell *matHeaderCellDef style=\"width: 16px !important\">N\u00BA</th>\n <td mat-cell *matCellDef=\"let element; let i = dataIndex\" class=\"p-0 celda-numeracion-fila\">\n <div class=\"flex items-center justify-center font-bold numeracionFila\">\n <ng-container *ngIf=\"esTabla && paginador\">\n {{ (this.paginator?.pageIndex == 0 ? i + 1 : 1 + i + (this.paginator?.pageIndex ?? 1) * (this.paginator?.pageSize ?? 1)) }}\n </ng-container>\n <ng-container *ngIf=\"!paginador\">\n {{ (i + 1) }}\n </ng-container>\n </div>\n </td>\n <td mat-footer-cell *matFooterCellDef class=\"uppercase\"></td>\n </ng-container>\n <jvs-tabla-mantenimiento-column-defs [objThis]=\"this\" [colDetalle]=\"columnasTabla\"\n [nombreColeccion]=\"nombreColeccion\" [(chkLista)]=\"chkLista\"></jvs-tabla-mantenimiento-column-defs>\n\n <tr *matHeaderRowDef=\"visibleColumns; sticky: true\" mat-header-row class=\"title\" matHeader\n ></tr>\n\n <ng-container *ngIf=\"!!filaExtraHeader\">\n <tr mat-row *matRowDef=\"let row; columns: ['filaExtraHeader']\" class=\"student-detail-row\"\n [style.height.px]=\"0\"\n ></tr>\n\n <ng-container matColumnDef=\"filaExtraHeader\">\n <td mat-cell *matCellDef=\"let row; let i = dataIndex\" [attr.colspan]=\"visibleColumns.length\">\n\n <div class=\"row m-0 student-element-detail\"\n [@detailExpand]=\"(i == 0 && filaExtraHeader.esVisible && filaExtraHeader.esVisible()) ? 'expanded' : 'collapsed'\"\n [style.padding-right.px]=\"row.isExpanded ? 5 : 0\"\n [style.padding-left.px]=\"row.isExpanded ? 5 : 0\"\n >\n <ng-container *ngIf=\"filaExtraHeader.template\"\n [ngTemplateOutlet]=\"filaExtraHeader.template\"\n [ngTemplateOutletContext]=\"{ row: row }\"></ng-container>\n </div>\n\n </td>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"filaFooter\">\n <tr *matFooterRowDef=\"visibleColumns\" mat-footer-row\n [style.height.px]=\"0\"\n [id]=\"nombreColeccion + '_filaFooter'\"\n ></tr>\n </ng-container>\n\n <!--\t<tr\n *matRowDef=\"let row; columns: visibleColumns;\"\n class=\"hover:bg-secondary trans-ease-out cursor-pointer\"\n mat-row></tr>-->\n <tr\n [matRowKeyboardSelection]=\"tablaMantenimiento\"\n [rowModel]=\"row\"\n (seleccionarSiguiente)=\"opcMenu($event, {seccion: nombreColeccion, tipo: 'ver'});\"\n\n *matRowDef=\"let row; let idxTabla = dataIndex; columns: visibleColumns;\"\n (click)=\"seleccionarItem(row); opcMenu(row, {seccion: nombreColeccion, tipo: 'ver', tableDataIndex: idxTabla });\"\n (dblclick)=\"opcMenu(row, {seccion: nombreColeccion, tipo: 'seleccionar'}); dblclickItem.emit(row)\"\n (contextmenu)=\"(abrirMenuContextual($event, row)); $event. preventDefault();\"\n [ngClass]=\"classFila(row)\"\n @fadeInUp\n class=\"trans-ease-out cursor-pointer h-auto\"\n [style.height.px]=\"0\"\n [id]=\"propiedadSeleccion(row)\"\n [matTooltip]=\"procesarRowTooltip(row)\"\n matTooltipPosition=\"below\"\n [matTooltipPositionAtOrigin]=\"true\"\n [matTooltipClass]=\"['bg-red-700', 'text-red-100', 'm-0']\"\n [matTooltipDisabled]=\"!procesarRowTooltip(row)\"\n [class.regAnulado]=\"row[campoAnulado] == 1\"\n [class.regTooltip]=\"!!procesarRowTooltip(row)\"\n (keyup.delete)=\"opcMenu(row, {seccion: nombreColeccion, tipo: 'eliminar'})\"\n mat-row></tr>\n <ng-container *ngIf=\"filaExtraTemplate\">\n <tr mat-row *matRowDef=\"let row; columns: ['expandedDetail']\" class=\"student-detail-row h-0\"></tr>\n\n <ng-container matColumnDef=\"expandedDetail\">\n <td mat-cell *matCellDef=\"let row\" [attr.colspan]=\"visibleColumns.length\">\n\n <div class=\"row m-0 student-element-detail\"\n [@detailExpand]=\"row.isExpanded ? 'expanded' : 'collapsed'\"\n [style.padding-right.px]=\"row.isExpanded ? 5 : 0\"\n [style.padding-left.px]=\"row.isExpanded ? 5 : 0\"\n >\n <ng-container [ngTemplateOutlet]=\"filaExtraTemplate\"\n [ngTemplateOutletContext]=\"{ row: row }\"></ng-container>\n </div>\n\n </td>\n </ng-container>\n </ng-container>\n </table>\n\n <ng-container *ngIf=\"componenteCargadoTotalmente\">\n <div *ngIf=\"(noData | async) && esTabla\" class=\"flex-1 text-center text-secondary font-medium\">\n No se encontraron datos\n </div>\n </ng-container>\n </div>\n <ng-content select=\"[appendTable]\"></ng-content>\n <div class=\"flex-none bg-app-bar flex flex-col sm:flex-row items-start justify-between p-1\">\n <div class=\"flex-1 flex items-start flex-wrap gap-1\">\n\n <div *ngIf=\"(botonesMenuFinal.inferior ?? []).length > 0\" class=\"flex items-center contenedor-botones\">\n <ng-container *ngFor=\"let btn of botonesMenu.inferior; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.inferior?.length}}\"></ng-container>\n </ng-container>\n </div>\n <!--<div *ngIf=\"(botonesMenuFinal.inferior ?? []).length > 0\" class=\" flex items-center flex-wrap\">\n <ng-container *ngFor=\"let btn of botonesMenu.inferior; let idx = index;\">\n <ng-container *ngTemplateOutlet=\"botonesSuperiores; context:{btn: btn, idx: {inicio: idx, fin: botonesMenu.inferior?.length}}\"></ng-container>\n </ng-container>\n </div>-->\n </div>\n\n <div *ngIf=\"esTabla && paginador\" class=\"flex-1 sm:flex-none flex items-center justify-end\">\n <mat-paginator class=\"tabla-mantenimiento-paginador\" [pageSizeOptions]=\"paginacion.pageSizeOptions\" [pageIndex]=\"paginacion.pageIndex - 1\" [length]=\"paginacion.pageLength\" [pageSize]=\"paginacion.pageSize\" (page)=\"paginacion.pageCurrent = $event; emitirResultados();\" ></mat-paginator>\n </div>\n </div>\n </div>\n\n</div>\n\n\n\n<!-- SECCION DE TEMPLATES O MENUS -->\n\n\n<mat-menu #columnFilterMenu=\"matMenu\" xPosition=\"before\" yPosition=\"below\">\n <ng-container *ngFor=\"let column of columnasTabla\">\n <button (click)=\"toggleColumnVisibility(column, $event)\" *ngIf=\"!tipoValorFuncion(column.noMostrarEnLista, false)\"\n class=\"checkbox-item mat-menu-item\">\n <mat-checkbox (click)=\"$event.stopPropagation()\" [(ngModel)]=\"column.visible\" [ngModelOptions]=\"{standalone: true}\" color=\"primary\">\n <span [innerHTML]=\"(column.labelLista ?? column.label).replace('<br>', ' ')\"></span>\n </mat-checkbox>\n </button>\n </ng-container>\n</mat-menu>\n\n\n\n\n\n\n<ng-template #botonesSuperiores let-btn=\"btn\" let-idx=\"idx\">\n <ng-container *ngTemplateOutlet=\"botonesContextual; context:{btn: btn, item: objSeleccionado, barraSuperior: true, idx: idx}\"></ng-container>\n</ng-template>\n\n<ng-template #botonesContextual let-btn=\"btn\" let-item=\"item\" let-barraSuperior=\"barraSuperior\" let-idx=\"idx\">\n\n <ng-container *ngIf=\"barraSuperior; else noBarraSuperior\">\n\n <!--\t\t<button mat-button style=\"min-width: unset; border: 1px !important;\" class=\"uppercase border border-gray rounded-none h-full px-1 disabled:opacity-50 disabled:text-secondary disabled:bg-transparent\">-->\n <!--\t\t\t<mat-icon *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\" size=\"15px\" class=\"icon-xs\"></mat-icon>-->\n <!--\t\t</button>-->\n <ng-container *ngIf=\"btn.subItems && btn.subItems.length > 0\">\n <button class=\"flex items-center justify-between uppercase text-2xs leading-none rounded-none px-2 py-1 bg-opacity-95 hover:bg-opacity-100 disabled:opacity-50 disabled:text-secondary disabled:!bg-gray-300 dark:disabled:!bg-gray-500 mat-elevation-z2\" type=\"button\"\n\n *ngIf=\"(!btn.esVisible || btn.esVisible(item, this)) && subItemsActivos(btn, item)\"\n [class]=\"(btn.class?btn.class:'')\"\n\n (click)=\"opcMenu(item, btn)\"\n [style.min-width]=\"((btn.soloIcono ?? tipoValorFuncion(soloIconos)) ? 'unset' : '')\"\n [matTooltip]=\"btn.tooltip || (btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo))) \"\n [matMenuTriggerFor]=\"menuOtrosBarra.menu\"\n\n [matBadge]=\"btn.badge\"\n matBadgeSize=\"small\"\n >\n <mat-icon class=\"icon-xs\" [class.mr-0.5]=\"!(btn.soloIcono ?? tipoValorFuncion(soloIconos))\" *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\" ></mat-icon>\n <span class=\"whitespace-nowrap\" *ngIf=\"!(btn.soloIcono ?? tipoValorFuncion(soloIconos))\">{{ btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo)) }}</span>\n <mat-icon class=\"icon-xs\" svgIcon=\"fa5sCaretDown\" ></mat-icon>\n </button>\n\n <jvs-tabla-mantenimiento-menu #menuOtrosBarra\n [objThis]=\"objThis\"\n [nombreColeccion]=\"nombreColeccion\"\n [item]=\"item\"\n [derechosActuales]=\"derechosActuales\"\n [subItems]=\"btn.subItems\"\n (opcionSelecionada)=\"opcMenu($event.item, $event.btn)\"\n [botonTemplate]=\"botonesContextual\"\n >\n </jvs-tabla-mantenimiento-menu>\n </ng-container>\n <ng-container *ngIf=\"!btn.subItems || btn.subItems.length == 0\">\n <button class=\"flex items-center justify-between uppercase text-2xs leading-none rounded-none px-2 py-1 bg-opacity-95 hover:bg-opacity-100 disabled:opacity-50 disabled:text-secondary disabled:!bg-gray-300 dark:disabled:!bg-gray-500 mat-elevation-z2\" type=\"button\"\n\n *ngIf=\"!btn.esVisible || btn.esVisible(item, this)\"\n [class]=\"(btn.class?btn.class:'text-secondary')\"\n [ngClass]=\"{'text-secondary italic': !ignorarDerechos && !btn.esIndependiente && (!btn.ignorarDerecho && (!derechosActuales || !derechosActuales[btn.cDerechoCodigo ?? btn.tipo])) && !(['nuevo', 'editar', 'eliminar'].includes(btn.tipo))}\"\n [disabled]=\"!btn.esIndependiente && botonDisabled(btn, item)\"\n (click)=\"opcMenu(item, btn)\"\n [style.min-width]=\"((btn.soloIcono ?? tipoValorFuncion(soloIconos)) ? 'unset' : '')\"\n [matTooltip]=\"btn.tooltip || (btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo))) \"\n\n [matBadge]=\"btn.badge\"\n matBadgeSize=\"small\"\n >\n <mat-icon class=\"icon-xs\" [class.mr-0.5]=\"!(btn.soloIcono ?? tipoValorFuncion(soloIconos))\" *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\"></mat-icon>\n <span class=\"whitespace-nowrap\" *ngIf=\"!(btn.soloIcono ?? tipoValorFuncion(soloIconos))\">{{ btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo)) }}</span>\n </button>\n\n </ng-container>\n\n </ng-container>\n <ng-template #noBarraSuperior>\n\n <ng-container *ngIf=\"btn.subItems && btn.subItems.length > 0\">\n <button class=\"flex items-center justify-between uppercase w-full rounded-none px-2 disabled:opacity-50 disabled:text-secondary disabled:bg-transparent\" mat-menu-item type=\"button\"\n *ngIf=\"!btn.noContextual && (!btn.esVisible || btn.esVisible(item, this))\"\n [class]=\"(btn.class?btn.class.replace('text-white', '').replace('bg', 'text'):'text-secondary')\"\n [ngClass]=\"{'text-secondary italic': !ignorarDerechos && !btn.esIndependiente && (!btn.ignorarDerecho && (!derechosActuales || !derechosActuales[btn.cDerechoCodigo ?? btn.tipo]))}\"\n [disabled]=\"!btn.esIndependiente && botonDisabled(btn, item)\"\n (click)=\"opcMenu(item, btn); $event.stopPropagation();\"\n [matMenuTriggerFor]=\"menuOtrosBarra.menu\"\n >\n <div class=\"flex w-full items-center justify-between uppercase text-2xs\"\n >\n <mat-icon *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\"\n class=\"flex-none icon-xs\"\n ></mat-icon>\n <span class=\"grow text-2xs\">{{ btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo)) }}</span>\n <mat-icon class=\"flex-none icon-xs\" svgIcon=\"fa5sCaretRight\"></mat-icon>\n </div>\n </button>\n\n <jvs-tabla-mantenimiento-menu #menuOtrosBarra\n [objThis]=\"objThis\"\n [nombreColeccion]=\"nombreColeccion\"\n [item]=\"item\"\n [derechosActuales]=\"derechosActuales\"\n [subItems]=\"btn.subItems\"\n (opcionSelecionada)=\"opcMenu($event.item, $event.btn)\"\n [botonTemplate]=\"botonesContextual\"\n >\n </jvs-tabla-mantenimiento-menu>\n </ng-container>\n <ng-container *ngIf=\"!btn.subItems || btn.subItems.length == 0\">\n <ng-container *ngIf=\"btn.tipo == '-#SEPARADOR#-'; else itemsNormales\">\n <mat-divider></mat-divider>\n </ng-container>\n <ng-template #itemsNormales>\n <button class=\"flex items-center justify-between uppercase w-full rounded-none px-2 disabled:opacity-50 disabled:text-secondary disabled:bg-transparent\" mat-menu-item type=\"button\"\n *ngIf=\"!btn.noContextual && (!btn.esVisible || btn.esVisible(item, this))\"\n [class]=\"(btn.class?btn.class.replace('text-white', '').replace('bg', 'text'):'text-secondary')\"\n [ngClass]=\"{'text-secondary italic': !ignorarDerechos && !btn.esIndependiente && (!btn.ignorarDerecho && (!derechosActuales || !derechosActuales[btn.cDerechoCodigo ?? btn.tipo]))}\"\n [disabled]=\"!btn.esIndependiente && botonDisabled(btn, item)\"\n (click)=\"opcMenu(item, btn)\"\n >\n <div class=\"flex w-full items-center justify-between uppercase text-2xs\">\n <mat-icon *ngIf=\"btn.icono\" [svgIcon]=\"btn.icono\" class=\"flex-none icon-xs\"\n ></mat-icon>\n <span class=\"grow text-2xs\">{{ btn.label ? btn.label : ( (derechosActuales && derechosActuales[btn.cDerechoCodigo ?? btn.tipo]) ? derechosActuales[btn.cDerechoCodigo ?? btn.tipo]['cDerechoNombre'] : capitalizarTexto(btn.tipo)) }}</span>\n </div>\n </button>\n </ng-template>\n\n </ng-container>\n\n </ng-template>\n\n</ng-template>\n\n<ng-template #userMenu let-item=\"item\">\n <div class=\"mat-menu bg-white rounded mat-elevation-z8 shadow botonesContextual\">\n <ng-container *ngFor=\"let btn of listaMenuCompleto\">\n <ng-container *ngTemplateOutlet=\"botonesContextual; context:{btn: btn, item: objSeleccionado, barraSuperior: false}\"></ng-container>\n </ng-container>\n </div>\n</ng-template>\n\n\n<mat-menu #menuOpciones=\"matMenu\" xPosition=\"before\" yPosition=\"below\">\n <ng-container *ngFor=\"let btn of listaMenuCompleto\">\n <ng-container\n *ngTemplateOutlet=\"botonesContextual; context:{btn: btn, item: objSeleccionado, barraSuperior: false}\"></ng-container>\n </ng-container>\n</mat-menu>\n\n", styles: ["@charset \"UTF-8\";:root{--tabla-mantenimiento-seleccion-fondo: rgb(179, 217, 252);--tabla-mantenimiento-seleccion-texto: rgb(1, 84, 164);--mat-paginator-container-size: 30px}:root .table-mantenimiento .elemento-seleccionado{background-color:var(--tabla-mantenimiento-seleccion-fondo)!important;color:var(--tabla-mantenimiento-seleccion-texto)!important;border-color:var(--tabla-mantenimiento-seleccion-texto)!important}.jvs-tabla-mantenimiento{width:inherit;display:flex;flex-direction:column}.jvs-tabla-mantenimiento .contenedor-botones>*:first-child{@apply rounded-l;}.jvs-tabla-mantenimiento .contenedor-botones>*:last-child{@apply rounded-r;}.jvs-tabla-mantenimiento tr.regTooltip>td:first-child div:first-child:before,.jvs-tabla-mantenimiento tr.regTooltip>th:first-child div:first-child:before{content:\"\\26a0\\fe0f \";color:red;margin-right:4px;font-size:12px}.jvs-tabla-mantenimiento tr.regTooltip>td:first-child:not(:has(div)):before,.jvs-tabla-mantenimiento tr.regTooltip>th:first-child:not(:has(div)):before{content:\"\\26a0\\fe0f \";color:red;margin-right:4px;font-size:12px}.jvs-tabla-mantenimiento .mat-mdc-menu-content:not(:empty){@apply flex flex-col items-start;padding:0!important}.jvs-tabla-mantenimiento .mat-mdc-menu-item{line-height:24px!important;height:24px!important;min-height:24px!important}.jvs-tabla-mantenimiento .mat-mdc-menu-panel{min-height:auto!important}.jvs-tabla-mantenimiento .mat-mdc-table .mat-mdc-cell,.jvs-tabla-mantenimiento .mat-mdc-table .mat-mdc-header-cell .mat-mdc-footer-cell{white-space:unset}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-table-sticky-border-elem-right{border-left:1px solid #e0e0e0}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-table-sticky-border-elem-left{border-right:1px solid #e0e0e0}.jvs-tabla-mantenimiento .table-mantenimiento tr.regAnulado .mat-mdc-cell{color:unset!important}.jvs-tabla-mantenimiento .table-mantenimiento .bg-primary-activo .numeracionFila{@apply rounded-full bg-primary-contrast text-primary mx-1 p-1 w-6 h-6;}.jvs-tabla-mantenimiento .table-mantenimiento th .form-input{@apply w-auto;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell,.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-cell,.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-footer-cell{border-width:1px;border-style:solid}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-cell:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-footer-cell:not(.celda-numeracion-fila){padding:.05rem .25rem}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell:first-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell:last-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-cell:first-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-cell:last-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-footer-cell:first-of-type:not(.celda-numeracion-fila),.jvs-tabla-mantenimiento .table-mantenimiento td.mat-mdc-footer-cell:last-of-type:not(.celda-numeracion-fila){padding:0 .25rem}.jvs-tabla-mantenimiento .table-mantenimiento .student-element-detail{overflow:hidden;display:flex;align-items:center;justify-content:center}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-header-row{height:25px!important;color:rgb(var(--color-primary))!important;background-color:rgb(var(--color-primary-contrast))!important}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-header-cell{padding:5px;font-size:10px;line-height:10px;font-weight:700!important;color:inherit}.jvs-tabla-mantenimiento .table-mantenimiento .mdc-data-table__row:not(.mdc-data-table__row--selected):not(.elemento-seleccionado):hover,.jvs-tabla-mantenimiento .table-mantenimiento .mdc-data-table__row:not(.mdc-data-table__row--selected):not(.elemento-seleccionado):focus{background-color:rgba(var(--color-primary-contrast),.04)}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-row .mat-mdc-cell,.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-footer-row .mat-mdc-cell{font-size:10px}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-row .mat-mdc-footer-cell:empty,.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-footer-row .mat-mdc-footer-cell:empty{border-width:0!important}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-cell{@apply leading-tight;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell{border-color:#d4d0d0;@apply text-center uppercase;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell .mat-sort-header-container{@apply flex items-center justify-between w-full;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell .mat-sort-header-container .mat-sort-header-content{@apply inline w-full text-center;}.jvs-tabla-mantenimiento .table-mantenimiento th.mat-mdc-header-cell .mat-sort-header-container .mat-sort-header-arrow{@apply flex-none;}.jvs-tabla-mantenimiento .table-mantenimiento .mat-mdc-sort-header-content{width:100%;text-align:center;display:unset;align-items:center}.compact-search-menu{min-width:200px!important;overflow:hidden}.compact-search-menu input:focus{@apply border-primary;}\n"] }]
1835
- }], ctorParameters: () => [{ type: i2$1.FormBuilder }, { type: i2$3.Overlay }, { type: i0.ViewContainerRef }, { type: TablaMantenimientoService }, { type: i0.ChangeDetectorRef }], propDecorators: { id: [{
1836
- type: HostBinding
1837
- }], dataSuscription: [{
1838
- type: Input
1839
- }], objThis: [{
1840
- type: Input,
1841
- args: [{ required: true }]
1842
- }], nombreColeccion: [{
1843
- type: Input,
1844
- args: [{ required: true }]
1845
- }], filtroCampos: [{
1846
- type: Input
1847
- }], paginador: [{
1848
- type: Input
1849
- }], esTabla: [{
1850
- type: Input
1851
- }], readOnly: [{
1852
- type: Input
1853
- }], filaExtraHeader: [{
1854
- type: Input
1855
- }], filaFooter: [{
1856
- type: Input
1857
- }], botonesCRUD: [{
1858
- type: Input
1859
- }], dblclickItem: [{
1860
- type: Output
1861
- }], objBotonesCRUD: [{
1862
- type: Input
1863
- }], classSeleccionado: [{
1864
- type: Input
1865
- }], classAnulado: [{
1866
- type: Input
1867
- }], campoAnulado: [{
1868
- type: Input
1869
- }], campoAnuladoMensaje: [{
1870
- type: Input
1871
- }], opcionSelecionada: [{
1872
- type: Output
1873
- }], opcBusqueda: [{
1874
- type: Output
1875
- }], accionRecargar: [{
1876
- type: Output
1877
- }], selectionModel: [{
1878
- type: Input
1879
- }], selectionModelChange: [{
1880
- type: Output
1881
- }], filaExtraTemplate: [{
1882
- type: Input
1883
- }], paginator: [{
1884
- type: ViewChild,
1885
- args: [MatPaginator]
1886
- }], sort: [{
1887
- type: ViewChild,
1888
- args: [MatSort]
1889
- }], exportarExcel: [{
1890
- type: Input
1891
- }], pageSize: [{
1892
- type: Input
1893
- }], pageSizeOptions: [{
1894
- type: Input
1895
- }], dataSourceChange: [{
1896
- type: Output
1897
- }], resultados: [{
1898
- type: Output
1899
- }], table: [{
1900
- type: ViewChild,
1901
- args: [MatTable, { static: false }]
1902
- }], columnDefs: [{
1903
- type: ContentChildren,
1904
- args: [MatColumnDef, { descendants: true }]
1905
- }], derechosActuales: [{
1906
- type: Input
1907
- }], rows: [{
1908
- type: ViewChildren,
1909
- args: [MatRow, { read: ElementRef }]
1910
- }], rowFooter: [{
1911
- type: ViewChild,
1912
- args: [MatFooterRow, { read: ElementRef }]
1913
- }], userMenu: [{
1914
- type: ViewChild,
1915
- args: ['userMenu']
1916
- }], compactSearchMenuTrigger: [{
1917
- type: ViewChild,
1918
- args: ['compactSearchMenuTrigger', { read: MatMenuTrigger }]
1919
- }], leyenda: [{
1920
- type: Input
1921
- }], idTabla: [{
1922
- type: Input,
1923
- args: [{ required: true }]
1924
- }], columnasTabla: [{
1925
- type: Input
1926
- }], botonesMenu: [{
1927
- type: Input
1928
- }], condicionesClaseFila: [{
1929
- type: Input
1930
- }], rowTooltip: [{
1931
- type: Input
1932
- }], soloIconos: [{
1933
- type: Input
1934
- }] } });
1935
-
1936
- class LucesNavidadComponent {
1937
- enProduccion = true;
1938
- forzarMuestra = false;
1939
- mesActual = new Date().getMonth() + 1;
1940
- constructor() {
1941
- }
1942
- ngOnInit() {
1943
- }
1944
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LucesNavidadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1945
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: LucesNavidadComponent, isStandalone: true, selector: "jvs-luces-navidad, [jvsLucesNavidad]", inputs: { enProduccion: "enProduccion", forzarMuestra: "forzarMuestra" }, ngImport: i0, template: "<ng-container *ngIf=\"forzarMuestra || (mesActual == 12 && enProduccion)\">\n <ul class=\"lightrope\">\n <li *ngFor=\"let e of [].constructor(100); let i = index\"></li>\n </ul>\n <div class=\"christmas-tree\"></div>\n</ng-container>\n", styles: [".lightrope{left:0;text-align:center;white-space:nowrap;overflow:hidden;position:absolute;z-index:1000;margin:-8px 0 0;padding:0;pointer-events:none;width:100%}.lightrope li{position:relative;animation-fill-mode:both;animation-iteration-count:infinite;list-style:none;padding:0;width:6px;height:14px;border-radius:50%;margin:10px;display:inline-block;background:#00f7a5;box-shadow:0 2.3333333333px 12px 1px #00f7a5;animation-name:flash-1;animation-duration:2s}.lightrope li:nth-child(odd){background:#0ff;box-shadow:0 2.3333333333px 12px 1px #00ffff80;animation-name:flash-2;animation-duration:.4s}.lightrope li:nth-child(4n+2){background:#f70094;box-shadow:0 2.3333333333px 12px 1px #f70094;animation-name:flash-3;animation-duration:1.1s}.lightrope li:nth-child(odd){animation-duration:1.8s}.lightrope li:nth-child(3n+1){animation-duration:1.4s}.lightrope li:before{content:\"\";position:absolute;background:#222;width:4px;height:4.6666666667px;border-radius:3px;top:-2.3333333333px;left:1px}.lightrope li:after{content:\"\";top:-7px;left:3px;position:absolute;width:32px;height:9.3333333333px;border-bottom:solid #222 2px;border-radius:50%}.lightrope li:last-child:after{content:none}.lightrope li:first-child{margin-left:-20px}@keyframes flash-1{0%,to{background:#00f7a5;box-shadow:0 2.3333333333px 12px 1px #00f7a5}50%{background:#00f7a566;box-shadow:0 2.3333333333px 12px 1px #00f7a533}}@keyframes flash-2{0%,to{background:#0ff;box-shadow:0 2.3333333333px 12px 1px #0ff}50%{background:#0ff6;box-shadow:0 2.3333333333px 12px 1px #0ff3}}@keyframes flash-3{0%,to{background:#f70094;box-shadow:0 2.3333333333px 12px 1px #f70094}50%{background:#f7009466;box-shadow:0 2.3333333333px 12px 1px #f7009433}}.christmas-tree{position:fixed;bottom:20px;left:20px;width:80px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAFCCAMAAACD2mKmAA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yEHPoPvLgNcWDu7vzne2Vy1tFUIshkePy3Shda714FbBjQ0nREIzHGcbMhJP/1wo+AliWM9vmdjxav9cuVyqLdQMOfDJiZYX6o3d8zMhbzW6TpoQz5pNxnacGT2fFqLbcwArYb65dTz28hpIQFaMkDthVcp7qntrpYiXq39xgXKiUVNqdYMlzGqFdawd3r1hdNvZ0vmCouoe059JOAxrogcN8xNQBNfeWd2DvFhV9wPiX/eUAf/lVyBQOFG2vjk6OxnZOCwwBoGdWkuBoSWeJ8hWdcZWakb9x2gfhPpl932iC2LU0iNRI0fT+Km1FSqXs416zfYMXf8Jg0v93giKRkhQONBi4Kxec6FYojNQQSYsydGBQSaTcDTxZCIb2Of/gdCwl2DqCCAUPqDBwfD9vUFgDP4LwfBZbIU/7HCLB/+L+fjsBv0Hi3xFPgJkLWOKUmW1EwAAAABJRU5ErkJggg==) no-repeat center center;background-size:contain;opacity:.8;z-index:1000;animation:glow 3s infinite ease-in-out}@keyframes glow{0%,to{opacity:.8}50%{opacity:1}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
1946
- }
1947
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LucesNavidadComponent, decorators: [{
1948
- type: Component,
1949
- args: [{ selector: 'jvs-luces-navidad, [jvsLucesNavidad]', imports: [
1950
- NgIf,
1951
- NgForOf
1952
- ], template: "<ng-container *ngIf=\"forzarMuestra || (mesActual == 12 && enProduccion)\">\n <ul class=\"lightrope\">\n <li *ngFor=\"let e of [].constructor(100); let i = index\"></li>\n </ul>\n <div class=\"christmas-tree\"></div>\n</ng-container>\n", styles: [".lightrope{left:0;text-align:center;white-space:nowrap;overflow:hidden;position:absolute;z-index:1000;margin:-8px 0 0;padding:0;pointer-events:none;width:100%}.lightrope li{position:relative;animation-fill-mode:both;animation-iteration-count:infinite;list-style:none;padding:0;width:6px;height:14px;border-radius:50%;margin:10px;display:inline-block;background:#00f7a5;box-shadow:0 2.3333333333px 12px 1px #00f7a5;animation-name:flash-1;animation-duration:2s}.lightrope li:nth-child(odd){background:#0ff;box-shadow:0 2.3333333333px 12px 1px #00ffff80;animation-name:flash-2;animation-duration:.4s}.lightrope li:nth-child(4n+2){background:#f70094;box-shadow:0 2.3333333333px 12px 1px #f70094;animation-name:flash-3;animation-duration:1.1s}.lightrope li:nth-child(odd){animation-duration:1.8s}.lightrope li:nth-child(3n+1){animation-duration:1.4s}.lightrope li:before{content:\"\";position:absolute;background:#222;width:4px;height:4.6666666667px;border-radius:3px;top:-2.3333333333px;left:1px}.lightrope li:after{content:\"\";top:-7px;left:3px;position:absolute;width:32px;height:9.3333333333px;border-bottom:solid #222 2px;border-radius:50%}.lightrope li:last-child:after{content:none}.lightrope li:first-child{margin-left:-20px}@keyframes flash-1{0%,to{background:#00f7a5;box-shadow:0 2.3333333333px 12px 1px #00f7a5}50%{background:#00f7a566;box-shadow:0 2.3333333333px 12px 1px #00f7a533}}@keyframes flash-2{0%,to{background:#0ff;box-shadow:0 2.3333333333px 12px 1px #0ff}50%{background:#0ff6;box-shadow:0 2.3333333333px 12px 1px #0ff3}}@keyframes flash-3{0%,to{background:#f70094;box-shadow:0 2.3333333333px 12px 1px #f70094}50%{background:#f7009466;box-shadow:0 2.3333333333px 12px 1px #f7009433}}.christmas-tree{position:fixed;bottom:20px;left:20px;width:80px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAFCCAMAAACD2mKmAAADAFBMVEUAAADv7+ro6OHV18vf4NfS08bBxLS3uqkWJQirr5sRGQGan4lpcFGOknd1fGCytJ6Fim2Ok3xGTzNrcVd7gFyoq5TPz78MFQBaYUVcZkFTXjcXKQI7RClMVywxPBwnMg5MVDicoIYcLQUxPxQ1PiJDTiYeNAMlLRMbJAkeJg3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qFdawd3r1hdNvZ0vmCouoe059JOAxrogcN8xNQBNfeWd2DvFhV9wPiX/eUAf/lVyBQOFG2vjk6OxnZOCwwBoGdWkuBoSWeJ8hWdcZWakb9x2gfhPpl932iC2LU0iNRI0fT+Km1FSqXs416zfYMXf8Jg0v93giKRkhQONBi4Kxec6FYojNQQSYsydGBQSaTcDTxZCIb2Of/gdCwl2DqCCAUPqDBwfD9vUFgDP4LwfBZbIU/7HCLB/+L+fjsBv0Hi3xFPgJkLWOKUmW1EwAAAABJRU5ErkJggg==) no-repeat center center;background-size:contain;opacity:.8;z-index:1000;animation:glow 3s infinite ease-in-out}@keyframes glow{0%,to{opacity:.8}50%{opacity:1}}\n"] }]
1953
- }], ctorParameters: () => [], propDecorators: { enProduccion: [{
1954
- type: Input
1955
- }], forzarMuestra: [{
1956
- type: Input
1957
- }] } });
1958
-
1959
- class MatSuffixSearchButtonComponent {
1960
- fControl;
1961
- eventLimpiar = new EventEmitter();
1962
- eventBuscar = new EventEmitter();
1963
- get control() {
1964
- return this.fControl;
1965
- }
1966
- emitirClick() {
1967
- if (this.control.disabled)
1968
- return;
1969
- if (this.control.value) {
1970
- this.control.reset();
1971
- this.eventLimpiar.emit(true);
1972
- }
1973
- else {
1974
- this.eventBuscar.emit(true);
1975
- }
1976
- }
1977
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MatSuffixSearchButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1978
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: MatSuffixSearchButtonComponent, isStandalone: true, selector: "div[matSuffix][matSuffixSearchButton]", inputs: { fControl: "fControl" }, outputs: { eventLimpiar: "eventLimpiar", eventBuscar: "eventBuscar" }, host: { classAttribute: "flex items-center justify-start" }, ngImport: i0, template: "@if (!control.disabled) {\n <button matRipple type=\"button\" class=\"boton-circular-gris\"\n (click)=\"emitirClick(); $event.preventDefault();\"\n >\n <mat-icon [svgIcon]=\"(control.value ? 'roundCancel' : 'roundSearch')\" class=\"icon-xs\"></mat-icon>\n </button>\n}\n", dependencies: [{ kind: "directive", type: MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
1979
- }
1980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MatSuffixSearchButtonComponent, decorators: [{
1981
- type: Component,
1982
- args: [{ selector: 'div[matSuffix][matSuffixSearchButton]', imports: [
1983
- MatRipple,
1984
- MatIcon
1985
- ], host: {
1986
- class: 'flex items-center justify-start',
1987
- }, template: "@if (!control.disabled) {\n <button matRipple type=\"button\" class=\"boton-circular-gris\"\n (click)=\"emitirClick(); $event.preventDefault();\"\n >\n <mat-icon [svgIcon]=\"(control.value ? 'roundCancel' : 'roundSearch')\" class=\"icon-xs\"></mat-icon>\n </button>\n}\n" }]
1988
- }], propDecorators: { fControl: [{
1989
- type: Input,
1990
- args: [{ required: true }]
1991
- }], eventLimpiar: [{
1992
- type: Output
1993
- }], eventBuscar: [{
1994
- type: Output
1995
- }] } });
1996
-
1997
- class MenuComponent {
1998
- cssBoton;
1999
- title;
2000
- disabled = false;
2001
- itemSeleccion;
2002
- menu = [];
2003
- action = new EventEmitter();
2004
- matmenus;
2005
- menuItems = [];
2006
- yet = false;
2007
- _submenus = []; // 🔥 Tipo explícito como Array de Array de BotonMenu
2008
- get submenus() {
2009
- return this._submenus.filter(() => true); // Mantiene la estructura, aunque no hace filtro real
2010
- }
2011
- ngOnInit() {
2012
- this.createSubmenus(this.menu, 's0', 1);
2013
- this.reindex();
2014
- }
2015
- ngAfterViewInit() {
2016
- // Previene errores de Angular al repintar el menú
2017
- setTimeout(() => {
2018
- this.yet = true;
2019
- });
2020
- }
2021
- onClick(value) {
2022
- this.action.emit(value);
2023
- }
2024
- getMenu(index) {
2025
- return index >= 0 && this.matmenus ? this.matmenus.get(index) ?? null : null;
2026
- }
2027
- reindex() {
2028
- // Asigna el índice del ítem del menú
2029
- this._submenus.forEach((menu) => {
2030
- menu.forEach((item) => {
2031
- if (item.idxOpcionCalc !== -1) {
2032
- item.idxOpcionCalc = this.menuItems.indexOf(item.valorSeleccion ?? '');
2033
- }
2034
- });
2035
- });
2036
- }
2037
- createSubmenus(menu, prefix, count) {
2038
- this.menuItems.push(prefix);
2039
- this._submenus.push(menu.map((item, index) => ({
2040
- ...item,
2041
- valorSeleccion: item.subItems ? `${prefix}${index}` : item.valorSeleccion,
2042
- idxOpcionCalc: item.subItems ? 0 : -1,
2043
- })));
2044
- // Llamada recursiva para crear submenús
2045
- menu.forEach((item, index) => {
2046
- if (item.subItems) {
2047
- this.createSubmenus(item.subItems, `${prefix}${index}`, count + 1);
2048
- }
2049
- });
2050
- }
2051
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2052
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MenuComponent, isStandalone: true, selector: "jvs-menu", inputs: { cssBoton: "cssBoton", title: "title", disabled: "disabled", itemSeleccion: "itemSeleccion", menu: "menu" }, outputs: { action: "action" }, viewQueries: [{ propertyName: "matmenus", predicate: MatMenu, descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"yet\">\n <button matRipple [matMenuTriggerFor]=\"matmenus.first\"\n [disabled]=\"disabled\"\n type=\"button\" [class]=\"cssBoton ?? 'boton-circular boton-circular-red border-0'\"\n (click)=\"$event.preventDefault(); $event.stopImmediatePropagation()\"\n [matTooltip]=\"title\"\n >\n <ng-content></ng-content>\n </button>\n</ng-container>\n\n<!--<pre class=\"text-indigo-900\">{{_submenus | json}}</pre>-->\n<ng-container *ngFor=\"let menu of _submenus\">\n <!--<pre class=\"text-red-700\">{{menu | json}}</pre>-->\n <mat-menu xPosition=\"before\" yPosition=\"below\" class=\"max-w-none\">\n <ng-container *ngFor=\"let item of menu\">\n <!--<pre *ngIf=\"menu$\" class=\"text-orange-700\">{{item | json}}</pre>-->\n <!--<span>{{ [item.label, item.idxOpcionCalc!=-1 , yet , (!item.esVisible || item.esVisible({itemMenu: item, archivo: itemSeleccion})), [!item.esVisible , (item.esVisible ? item.esVisible({itemMenu: item, archivo: itemSeleccion}) : 'NO HAY')]] | json }}</span>-->\n <button mat-menu-item *ngIf=\"item.idxOpcionCalc!=-1 && yet && (!item.esVisible || item.esVisible({itemMenu: item, archivo: itemSeleccion}))\"\n class=\"flex items-center justify-items-center uppercase w-full rounded-none px-2 \"\n [matMenuTriggerFor]=\"getMenu(item.idxOpcionCalc)\">\n <mat-icon *ngIf=\"item.icono\"\n class=\"flex-none flex items-center justify-center !text-red-700 !mr-1 icon-2xs\"\n [svgIcon]=\"item.icono ?? 'fa5sFileSignature'\"\n ></mat-icon>\n <span class=\"grow text-2xs\" [innerHTML]=\"item.label\">{{item.label}}</span>\n </button>\n <button mat-menu-item *ngIf=\"item.idxOpcionCalc==-1 && (!item.esVisible || item.esVisible(item))\" (click)=\"onClick(item.valorSeleccion)\"\n class=\"flex items-center justify-items-center uppercase w-full rounded-none px-2 \"\n >\n <mat-icon *ngIf=\"item.icono\"\n class=\"flex-none flex items-center justify-center !text-red-700 !mr-1 icon-2xs\"\n [svgIcon]=\"item.icono ?? 'fa5sFileSignature'\"\n ></mat-icon>\n <span class=\"grow text-2xs\" [innerHTML]=\"item.label\">{{item.label}} </span>\n </button>\n\n </ng-container>\n </mat-menu>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i2$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] });
2053
- }
2054
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MenuComponent, decorators: [{
2055
- type: Component,
2056
- args: [{ selector: 'jvs-menu', standalone: true, imports: [
2057
- CommonModule,
2058
- MatMenuModule,
2059
- MatIconModule,
2060
- MatRippleModule,
2061
- MatTooltipModule,
2062
- ], template: "<ng-container *ngIf=\"yet\">\n <button matRipple [matMenuTriggerFor]=\"matmenus.first\"\n [disabled]=\"disabled\"\n type=\"button\" [class]=\"cssBoton ?? 'boton-circular boton-circular-red border-0'\"\n (click)=\"$event.preventDefault(); $event.stopImmediatePropagation()\"\n [matTooltip]=\"title\"\n >\n <ng-content></ng-content>\n </button>\n</ng-container>\n\n<!--<pre class=\"text-indigo-900\">{{_submenus | json}}</pre>-->\n<ng-container *ngFor=\"let menu of _submenus\">\n <!--<pre class=\"text-red-700\">{{menu | json}}</pre>-->\n <mat-menu xPosition=\"before\" yPosition=\"below\" class=\"max-w-none\">\n <ng-container *ngFor=\"let item of menu\">\n <!--<pre *ngIf=\"menu$\" class=\"text-orange-700\">{{item | json}}</pre>-->\n <!--<span>{{ [item.label, item.idxOpcionCalc!=-1 , yet , (!item.esVisible || item.esVisible({itemMenu: item, archivo: itemSeleccion})), [!item.esVisible , (item.esVisible ? item.esVisible({itemMenu: item, archivo: itemSeleccion}) : 'NO HAY')]] | json }}</span>-->\n <button mat-menu-item *ngIf=\"item.idxOpcionCalc!=-1 && yet && (!item.esVisible || item.esVisible({itemMenu: item, archivo: itemSeleccion}))\"\n class=\"flex items-center justify-items-center uppercase w-full rounded-none px-2 \"\n [matMenuTriggerFor]=\"getMenu(item.idxOpcionCalc)\">\n <mat-icon *ngIf=\"item.icono\"\n class=\"flex-none flex items-center justify-center !text-red-700 !mr-1 icon-2xs\"\n [svgIcon]=\"item.icono ?? 'fa5sFileSignature'\"\n ></mat-icon>\n <span class=\"grow text-2xs\" [innerHTML]=\"item.label\">{{item.label}}</span>\n </button>\n <button mat-menu-item *ngIf=\"item.idxOpcionCalc==-1 && (!item.esVisible || item.esVisible(item))\" (click)=\"onClick(item.valorSeleccion)\"\n class=\"flex items-center justify-items-center uppercase w-full rounded-none px-2 \"\n >\n <mat-icon *ngIf=\"item.icono\"\n class=\"flex-none flex items-center justify-center !text-red-700 !mr-1 icon-2xs\"\n [svgIcon]=\"item.icono ?? 'fa5sFileSignature'\"\n ></mat-icon>\n <span class=\"grow text-2xs\" [innerHTML]=\"item.label\">{{item.label}} </span>\n </button>\n\n </ng-container>\n </mat-menu>\n</ng-container>\n" }]
2063
- }], propDecorators: { cssBoton: [{
2064
- type: Input
2065
- }], title: [{
2066
- type: Input
2067
- }], disabled: [{
2068
- type: Input
2069
- }], itemSeleccion: [{
2070
- type: Input
2071
- }], menu: [{
2072
- type: Input
2073
- }], action: [{
2074
- type: Output
2075
- }], matmenus: [{
2076
- type: ViewChildren,
2077
- args: [MatMenu]
2078
- }] } });
2079
-
2080
- function generarArbol(params) {
2081
- const { lista, campoId, campoIdPadre, idPadre = null, strChildren = 'hijos', campoOrden, } = params;
2082
- const hijos = lista.filter(n => n[campoIdPadre] === idPadre);
2083
- if (campoOrden) {
2084
- hijos.sort((a, b) => {
2085
- const va = a[campoOrden];
2086
- const vb = b[campoOrden];
2087
- if (typeof va === 'string' && typeof vb === 'string') {
2088
- return va.localeCompare(vb);
2089
- }
2090
- if (typeof va === 'number' && typeof vb === 'number') {
2091
- return va - vb;
2092
- }
2093
- return 0;
2094
- });
2095
- }
2096
- return hijos.map(n => ({
2097
- ...n,
2098
- [strChildren]: generarArbol({
2099
- lista,
2100
- campoId,
2101
- campoIdPadre,
2102
- idPadre: n[campoId],
2103
- strChildren,
2104
- campoOrden,
2105
- }),
2106
- }));
2107
- }
2108
-
2109
- class ListaArbolComponent {
2110
- // Inputs
2111
- listaSuscription = input.required();
2112
- nombreColeccion = input.required();
2113
- checkbox = input(false);
2114
- expandirRecursivo = input(false);
2115
- checkboxSeleccionados = input([]);
2116
- campoId = input.required();
2117
- campoIdPadre = input.required();
2118
- campoStr = input(''); // Optional - can use templateTxtData instead
2119
- campoOrden = input();
2120
- strHijoContainer = input('hijos');
2121
- menuContextual = input();
2122
- classSeleccionado = input(['bg-primary-activo', 'text-primary', 'dark:!bg-primary-dark-activo']);
2123
- classAnulado = input(['line-through', 'text-red', 'italic']);
2124
- campoAnulado = input();
2125
- templateTxtData = input();
2126
- condicionMostrar = input();
2127
- condicionesClaseFila = input(() => []);
2128
- // idTabla input with transform to support both string and string[]
2129
- idTabla = input.required({
2130
- transform: (val) => {
2131
- if (Array.isArray(val)) {
2132
- this._idTabla.set(val);
2133
- return val;
2134
- }
2135
- else {
2136
- this._idTabla.update(current => [...current, val]);
2137
- return [val];
2138
- }
2139
- }
2140
- });
2141
- // selectionModel input for backward compatibility
2142
- selectionModel = input();
2143
- // Outputs
2144
- selectionModelChange = output();
2145
- seleccionado = output();
2146
- listaCheck = output();
2147
- listaCheckObj = output();
2148
- // Internal state as signals
2149
- _idTabla = signal([]);
2150
- _seleccionado = signal(null);
2151
- listaMuestraArbol = signal([]);
2152
- listaOriginal = signal([]);
2153
- chkLista = new DataModel$1();
2154
- // Computed values
2155
- idTablaValue = computed(() => this._idTabla());
2156
- buscarItemSeleccionado = computed(() => {
2157
- const selId = this._seleccionado();
2158
- const lista = this.listaOriginal();
2159
- if (!selId)
2160
- return null;
2161
- return lista.find(itm => selId === this.propiedadSeleccion(itm)) ?? null;
2162
- });
2163
- objSeleccionado = computed(() => this.buscarItemSeleccionado());
2164
- treeControl = new NestedTreeControl((node) => node[this.strHijoContainer()]);
2165
- // Convert signal to observable for proper subscription management
2166
- listaSuscription$ = toObservable(this.listaSuscription);
2167
- constructor() {
2168
- // Watch selectionModel input for backward compatibility
2169
- effect(() => {
2170
- const selModel = this.selectionModel();
2171
- if (selModel) {
2172
- untracked(() => this.seleccionarItem(selModel, true));
2173
- }
2174
- });
2175
- // Setup subscription with automatic cleanup using switchMap
2176
- // switchMap automatically unsubscribes from previous observable when a new one arrives
2177
- this.listaSuscription$
2178
- .pipe(switchMap(obs => obs), takeUntilDestroyed())
2179
- .subscribe(res => {
2180
- if (res) {
2181
- this.listaOriginal.set(res);
2182
- const listaAs = generarArbol({
2183
- lista: res,
2184
- campoId: this.campoId(),
2185
- campoIdPadre: this.campoIdPadre(),
2186
- idPadre: null,
2187
- strChildren: this.strHijoContainer(),
2188
- campoOrden: this.campoOrden(),
2189
- });
2190
- // Use untracked to avoid unnecessary re-renders
2191
- untracked(() => {
2192
- this.listaMuestraArbol.set(listaAs);
2193
- });
2194
- if (this.checkbox()) {
2195
- this.chkLista.agregarControles(res, this.campoId());
2196
- this.checkboxSeleccionados().forEach((chkSel) => {
2197
- this.chkLista.setState(chkSel[this.campoId()], true);
2198
- });
2199
- this.emitirModeloCheck();
2200
- }
2201
- }
2202
- });
2203
- }
2204
- idTablaValor(data) {
2205
- if (data) {
2206
- const idTablaVal = this._idTabla();
2207
- if (idTablaVal.length < 1) {
2208
- return simpleHash(JSON.stringify({ data, claseFinal: undefined }));
2209
- }
2210
- return idTablaVal.map(d => data[d]).join('-');
2211
- }
2212
- return '';
2213
- }
2214
- propiedadSeleccion(item) {
2215
- return `${this.nombreColeccion()}_${this.idTablaValor(item)}`;
2216
- }
2217
- esSeleccionActual(item) {
2218
- return this._seleccionado() === this.propiedadSeleccion(item);
2219
- }
2220
- seleccionarItem(item, forzado = false) {
2221
- const idItem = this.propiedadSeleccion(item);
2222
- if (forzado) {
2223
- this._seleccionado.set(idItem);
2224
- }
2225
- else {
2226
- this._seleccionado.update(current => current === idItem ? null : idItem);
2227
- }
2228
- const objSel = this.objSeleccionado();
2229
- this.selectionModelChange.emit(objSel);
2230
- this.seleccionado.emit(objSel);
2231
- }
2232
- hasChild = (_, node) => {
2233
- const strHijo = this.strHijoContainer();
2234
- return !!node[strHijo] && node[strHijo].length > 0;
2235
- };
2236
- opcMenu(v) {
2237
- const opAdic = { seccion: this.nombreColeccion() };
2238
- opAdic['itemSeleccionado'] = this.objSeleccionado();
2239
- }
2240
- emitirModeloCheck() {
2241
- this.listaCheck.emit(this.chkLista.generarLista());
2242
- this.listaCheckObj.emit(this.chkLista.generarLista('object'));
2243
- }
2244
- cambiarPadre(checkActual, estado) {
2245
- const parentId = checkActual[this.campoIdPadre()];
2246
- if (parentId) {
2247
- // Fix: buscar en listaOriginal en lugar de listaMuestraArbol
2248
- const listaOrig = this.listaOriginal();
2249
- const padreAct = listaOrig.find((itm) => itm[this.campoId()] === parentId);
2250
- if (padreAct) {
2251
- this.chkLista.setState(parentId, this.hijosActivos('checked', padreAct) || this.hijosActivos('indeterminate', padreAct));
2252
- this.cambiarPadre(padreAct, estado);
2253
- }
2254
- }
2255
- }
2256
- cambiarCheck(checkActual, estado) {
2257
- if (this.hasChild(0, checkActual)) {
2258
- (this.treeControl.getChildren(checkActual) ?? []).forEach((vas) => {
2259
- this.cambiarCheck(vas, estado);
2260
- });
2261
- }
2262
- this.cambiarPadre(checkActual, estado);
2263
- this.chkLista.setState(checkActual[this.campoId()], estado);
2264
- }
2265
- hijosActivos(tipo, checkActual) {
2266
- let totalHijos = 0;
2267
- let cantActivo = 0;
2268
- if (this.hasChild(0, checkActual)) {
2269
- (this.treeControl.getChildren(checkActual) ?? []).forEach((vas) => {
2270
- if (this.chkLista.getState(vas[this.campoId()] + '')) {
2271
- cantActivo++;
2272
- }
2273
- totalHijos++;
2274
- });
2275
- }
2276
- switch (tipo) {
2277
- case 'checked':
2278
- return (cantActivo === totalHijos);
2279
- case 'indeterminate':
2280
- // Fix: remover efecto secundario
2281
- return ((cantActivo > 0) && (cantActivo !== totalHijos));
2282
- }
2283
- return false;
2284
- }
2285
- classFila(item) {
2286
- let claseFinal = [];
2287
- const campoAnul = this.campoAnulado();
2288
- if (campoAnul && (item[campoAnul] === 1)) {
2289
- claseFinal = claseFinal.concat(this.classAnulado());
2290
- }
2291
- const objSel = this.objSeleccionado();
2292
- if (objSel === item || this.esSeleccionActual(item)) {
2293
- claseFinal = claseFinal.concat(this.classSeleccionado());
2294
- }
2295
- const condClases = this.condicionesClaseFila();
2296
- claseFinal = claseFinal.concat(condClases(item));
2297
- // Fix: no mutar el objeto original
2298
- return claseFinal;
2299
- }
2300
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ListaArbolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2301
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.14", type: ListaArbolComponent, isStandalone: true, selector: "jvs-lista-arbol", inputs: { listaSuscription: { classPropertyName: "listaSuscription", publicName: "listaSuscription", isSignal: true, isRequired: true, transformFunction: null }, nombreColeccion: { classPropertyName: "nombreColeccion", publicName: "nombreColeccion", isSignal: true, isRequired: true, transformFunction: null }, checkbox: { classPropertyName: "checkbox", publicName: "checkbox", isSignal: true, isRequired: false, transformFunction: null }, expandirRecursivo: { classPropertyName: "expandirRecursivo", publicName: "expandirRecursivo", isSignal: true, isRequired: false, transformFunction: null }, checkboxSeleccionados: { classPropertyName: "checkboxSeleccionados", publicName: "checkboxSeleccionados", isSignal: true, isRequired: false, transformFunction: null }, campoId: { classPropertyName: "campoId", publicName: "campoId", isSignal: true, isRequired: true, transformFunction: null }, campoIdPadre: { classPropertyName: "campoIdPadre", publicName: "campoIdPadre", isSignal: true, isRequired: true, transformFunction: null }, campoStr: { classPropertyName: "campoStr", publicName: "campoStr", isSignal: true, isRequired: false, transformFunction: null }, campoOrden: { classPropertyName: "campoOrden", publicName: "campoOrden", isSignal: true, isRequired: false, transformFunction: null }, strHijoContainer: { classPropertyName: "strHijoContainer", publicName: "strHijoContainer", isSignal: true, isRequired: false, transformFunction: null }, menuContextual: { classPropertyName: "menuContextual", publicName: "menuContextual", isSignal: true, isRequired: false, transformFunction: null }, classSeleccionado: { classPropertyName: "classSeleccionado", publicName: "classSeleccionado", isSignal: true, isRequired: false, transformFunction: null }, classAnulado: { classPropertyName: "classAnulado", publicName: "classAnulado", isSignal: true, isRequired: false, transformFunction: null }, campoAnulado: { classPropertyName: "campoAnulado", publicName: "campoAnulado", isSignal: true, isRequired: false, transformFunction: null }, templateTxtData: { classPropertyName: "templateTxtData", publicName: "templateTxtData", isSignal: true, isRequired: false, transformFunction: null }, condicionMostrar: { classPropertyName: "condicionMostrar", publicName: "condicionMostrar", isSignal: true, isRequired: false, transformFunction: null }, condicionesClaseFila: { classPropertyName: "condicionesClaseFila", publicName: "condicionesClaseFila", isSignal: true, isRequired: false, transformFunction: null }, idTabla: { classPropertyName: "idTabla", publicName: "idTabla", isSignal: true, isRequired: true, transformFunction: null }, selectionModel: { classPropertyName: "selectionModel", publicName: "selectionModel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectionModelChange: "selectionModelChange", seleccionado: "seleccionado", listaCheck: "listaCheck", listaCheckObj: "listaCheckObj" }, ngImport: i0, template: "<mat-tree [dataSource]=\"listaMuestraArbol()\" [treeControl]=\"treeControl\">\n <mat-nested-tree-node *matTreeNodeDef=\"let node; when: hasChild\">\n <div class=\"flex flex-col trans-ease-out cursor-pointer\" matTreeNodeToggle\n [matTreeNodeToggleRecursive]=\"expandirRecursivo()\">\n <ng-container [ngTemplateOutlet]=\"liDat\"\n [ngTemplateOutletContext]=\"{ node: node, nested: true }\"></ng-container>\n <div class=\"pl-4\" [class.hidden]=\"!treeControl.isExpanded(node)\">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </div>\n </mat-nested-tree-node>\n\n <!-- Cambiar mat-tree-node plano por mat-nested-tree-node sin hijos -->\n <mat-nested-tree-node *matTreeNodeDef=\"let node\">\n <div class=\"flex flex-col trans-ease-out\">\n <ng-container [ngTemplateOutlet]=\"liDat\"\n [ngTemplateOutletContext]=\"{ node: node, nested: false }\"></ng-container>\n </div>\n </mat-nested-tree-node>\n</mat-tree>\n\n<ng-template #liDat let-node=\"node\" let-nested=\"nested\">\n <div class=\"flex items-center gap-0 text-sm trans-ease-out cursor-pointer p-0 w-full\"\n (contextmenu)=\"menuContextual()?.abrirMenuContextual($event, node); $event.preventDefault();\"\n (click)=\"seleccionarItem(node); opcMenu({ seccion: nombreColeccion(), tipo: 'ver', item: node }); menuContextual()?.cerrarMenuContextual(); (nested === false) && $event.stopPropagation();\"\n [ngClass]=\"classFila(node)\">\n <mat-icon *ngIf=\"!nested\"></mat-icon>\n <mat-icon *ngIf=\"nested\"\n [svgIcon]=\"treeControl.isExpanded(node) ? 'roundExpandMore' : 'roundChevronRight'\"></mat-icon>\n\n <mat-checkbox *ngIf=\"checkbox()\"\n [(ngModel)]=\"chkLista.modelosChk[node[campoId()]]\"\n [ngModelOptions]=\"{ standalone: true }\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"cambiarCheck(node, $event.checked); emitirModeloCheck()\"\n [indeterminate]=\"hasChild(0, node) && hijosActivos('indeterminate', node)\"\n [checked]=\"hasChild(0, node) ? hijosActivos('checked', node) : chkLista.modelosChk[node[campoId()]]\">\n </mat-checkbox>\n\n <span *ngIf=\"!templateTxtData()\" class=\"w-full\">{{ node[campoStr()] }}</span>\n <ng-container *ngIf=\"templateTxtData()\" [ngTemplateOutlet]=\"templateTxtData()!\"\n [ngTemplateOutletContext]=\"{ data: node, treeControl }\"></ng-container>\n </div>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTreeModule }, { kind: "directive", type: i3$2.MatNestedTreeNode, selector: "mat-nested-tree-node", inputs: ["matNestedTreeNode", "disabled", "tabIndex"], outputs: ["activation", "expandedChange"], exportAs: ["matNestedTreeNode"] }, { kind: "directive", type: i3$2.MatTreeNodeDef, selector: "[matTreeNodeDef]", inputs: ["matTreeNodeDefWhen", "matTreeNode"] }, { kind: "directive", type: i3$2.MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: ["matTreeNodeToggleRecursive"] }, { kind: "component", type: i3$2.MatTree, selector: "mat-tree", exportAs: ["matTree"] }, { kind: "directive", type: i3$2.MatTreeNodeOutlet, selector: "[matTreeNodeOutlet]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i5$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }] });
2302
- }
2303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ListaArbolComponent, decorators: [{
2304
- type: Component,
2305
- args: [{ selector: 'jvs-lista-arbol', standalone: true, imports: [
2306
- CommonModule,
2307
- FormsModule,
2308
- MatTreeModule,
2309
- MatIconModule,
2310
- MatCheckboxModule,
2311
- ], template: "<mat-tree [dataSource]=\"listaMuestraArbol()\" [treeControl]=\"treeControl\">\n <mat-nested-tree-node *matTreeNodeDef=\"let node; when: hasChild\">\n <div class=\"flex flex-col trans-ease-out cursor-pointer\" matTreeNodeToggle\n [matTreeNodeToggleRecursive]=\"expandirRecursivo()\">\n <ng-container [ngTemplateOutlet]=\"liDat\"\n [ngTemplateOutletContext]=\"{ node: node, nested: true }\"></ng-container>\n <div class=\"pl-4\" [class.hidden]=\"!treeControl.isExpanded(node)\">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </div>\n </mat-nested-tree-node>\n\n <!-- Cambiar mat-tree-node plano por mat-nested-tree-node sin hijos -->\n <mat-nested-tree-node *matTreeNodeDef=\"let node\">\n <div class=\"flex flex-col trans-ease-out\">\n <ng-container [ngTemplateOutlet]=\"liDat\"\n [ngTemplateOutletContext]=\"{ node: node, nested: false }\"></ng-container>\n </div>\n </mat-nested-tree-node>\n</mat-tree>\n\n<ng-template #liDat let-node=\"node\" let-nested=\"nested\">\n <div class=\"flex items-center gap-0 text-sm trans-ease-out cursor-pointer p-0 w-full\"\n (contextmenu)=\"menuContextual()?.abrirMenuContextual($event, node); $event.preventDefault();\"\n (click)=\"seleccionarItem(node); opcMenu({ seccion: nombreColeccion(), tipo: 'ver', item: node }); menuContextual()?.cerrarMenuContextual(); (nested === false) && $event.stopPropagation();\"\n [ngClass]=\"classFila(node)\">\n <mat-icon *ngIf=\"!nested\"></mat-icon>\n <mat-icon *ngIf=\"nested\"\n [svgIcon]=\"treeControl.isExpanded(node) ? 'roundExpandMore' : 'roundChevronRight'\"></mat-icon>\n\n <mat-checkbox *ngIf=\"checkbox()\"\n [(ngModel)]=\"chkLista.modelosChk[node[campoId()]]\"\n [ngModelOptions]=\"{ standalone: true }\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"cambiarCheck(node, $event.checked); emitirModeloCheck()\"\n [indeterminate]=\"hasChild(0, node) && hijosActivos('indeterminate', node)\"\n [checked]=\"hasChild(0, node) ? hijosActivos('checked', node) : chkLista.modelosChk[node[campoId()]]\">\n </mat-checkbox>\n\n <span *ngIf=\"!templateTxtData()\" class=\"w-full\">{{ node[campoStr()] }}</span>\n <ng-container *ngIf=\"templateTxtData()\" [ngTemplateOutlet]=\"templateTxtData()!\"\n [ngTemplateOutletContext]=\"{ data: node, treeControl }\"></ng-container>\n </div>\n</ng-template>\n" }]
2312
- }], ctorParameters: () => [] });
2313
-
2314
- class FiltroBusquedaService {
2315
- // Estado centralizado con Signals (Angular 19+)
2316
- _filtrosActivos = signal(new Map());
2317
- _dataServidorActivos = signal(new Map());
2318
- // Interfaz de sólo lectura expuesta
2319
- filtrosActivos = this._filtrosActivos.asReadonly();
2320
- dataServidorActivos = this._dataServidorActivos.asReadonly();
2321
- /**
2322
- * Establece un valor para un filtro reactivo
2323
- */
2324
- setValue(nombreFiltro, val) {
2325
- this._filtrosActivos.update(map => {
2326
- const nextMap = new Map(map);
2327
- nextMap.set(nombreFiltro, val);
2328
- return nextMap;
2329
- });
2330
- }
2331
- /**
2332
- * @deprecated Usa `getFiltroSignal(nombreFiltro)` en componentes modernos.
2333
- * Retorna el snapshot sincrónico actual (para componentes legacy).
2334
- */
2335
- getValue(nombreFiltro) {
2336
- return this._filtrosActivos().get(nombreFiltro);
2337
- }
2338
- /**
2339
- * Actualiza la metadata del servidor (Signals).
2340
- */
2341
- setDataServidorSuscripcion(nombreFiltro, campo, data) {
2342
- this._dataServidorActivos.update(map => {
2343
- const nextMap = new Map(map);
2344
- let filterMap = nextMap.get(nombreFiltro) || new Map();
2345
- const nextFilterMap = new Map(filterMap);
2346
- nextFilterMap.set(campo, data);
2347
- nextMap.set(nombreFiltro, nextFilterMap);
2348
- return nextMap;
2349
- });
2350
- }
2351
- /**
2352
- * @deprecated Usa `getDataServidorSignal(nombreFiltro, campo)` en componentes modernos.
2353
- * Retorna el snapshot sincrónico actual de metadata (para componentes legacy).
2354
- */
2355
- getDataServidorSuscripcion(nombreFiltro, campo) {
2356
- return this._dataServidorActivos().get(nombreFiltro)?.get(campo);
2357
- }
2358
- // --- Opciones Signal (Angular 19+) ---
2359
- /**
2360
- * Crea y devuelve un Signal reactivo continuo para observar los valores aplicados de un filtro particular.
2361
- * @param nombreFiltro Nombre del filtro que se desea escuchar
2362
- * @param defaultValue Valor de respaldo seguro si aún no se ha inicializado el filtro.
2363
- */
2364
- getFiltroSignal(nombreFiltro, defaultValue) {
2365
- return computed(() => {
2366
- const value = this._filtrosActivos().get(nombreFiltro);
2367
- return (value ?? defaultValue);
2368
- });
2369
- }
2370
- /**
2371
- * Crea y devuelve un Signal reactivo continuo para escuchar la metadata/catálogo recibida del backend para un campo.
2372
- * @param nombreFiltro Nombre de la colección del filtro principal
2373
- * @param campo Campo específico (ej: id_usuario, categoria) del que se espera escuchar la lista u objeto servidor
2374
- * @param defaultValue Valor de respaldo seguro si aún no hay data del servidor.
2375
- */
2376
- getDataServidorSignal(nombreFiltro, campo, defaultValue) {
2377
- return computed(() => {
2378
- const value = this._dataServidorActivos().get(nombreFiltro)?.get(campo);
2379
- return (value ?? defaultValue);
2380
- });
2381
- }
2382
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FiltroBusquedaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2383
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FiltroBusquedaService, providedIn: 'root' });
2384
- }
2385
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FiltroBusquedaService, decorators: [{
2386
- type: Injectable,
2387
- args: [{
2388
- providedIn: 'root',
2389
- }]
2390
- }] });
2391
-
2392
- const QUERY_SERVICE_TOKEN = new InjectionToken('QUERY_SERVICE_TOKEN');
2393
- class FiltroBusquedaComponent {
2394
- fb = inject(FormBuilder);
2395
- toastr = inject(ToastrService);
2396
- filtroBusquedaService = inject(FiltroBusquedaService);
2397
- queryService = inject(QUERY_SERVICE_TOKEN, { optional: true });
2398
- opciones = input([]);
2399
- nombreColeccionInput = input(generateRandomString(10), { alias: 'nombreColeccion' });
2400
- prefijoConsulta = input('grl');
2401
- busquedaAutomatica = input(false);
2402
- opciones$ = input();
2403
- modificarOpciones$ = input();
2404
- defaultTab = input(0);
2405
- /**
2406
- * @deprecated Paradigma Zero-Output: Inyecta FiltroBusquedaService y usa `getFiltroSignal('nombreColeccion')` para estado en tiempo real, esto evita renderizados innecesarios del padre.
2407
- */
2408
- dataFiltro = output();
2409
- /**
2410
- * @deprecated Su payload de diccionario crudo desaparecerá pronto (Mejora 2). Migra al nuevo evento `(buscar)` que emite la interfaz `FiltroResultante`.
2411
- * Se mantiene temporalmente para componentes legacy.
2412
- */
2413
- resultados = output();
2414
- /**
2415
- * Evento principal explícito de búsqueda (Click en Filtrar). Emite el objeto con metadata y labels.
2416
- */
2417
- buscar = output();
2418
- /**
2419
- * @deprecated Paradigma Zero-Output: Maneja la finalización de carga a través de los Signals internos del servicio o asume inmediatez de la arquitectura nueva.
2420
- */
2421
- cargaCompleta = output();
2422
- tabActual = signal(0);
2423
- dataOpcionesNuevo = signal([]);
2424
- isCargaCompleta = signal(false);
2425
- frmFiltroBusqueda = this.fb.group({
2426
- opcion: [0],
2427
- opciones: this.fb.array([]),
2428
- });
2429
- get opcionesTabs() {
2430
- return this.frmFiltroBusqueda.get('opciones');
2431
- }
2432
- get frmGroupSeleccionado() {
2433
- return this.opcionesTabs.at(this.tabActual()) || this.fb.group({});
2434
- }
2435
- getControl(nombre) {
2436
- return this.frmGroupSeleccionado.get(nombre);
2437
- }
2438
- getControlRaiz(nombre) {
2439
- return this.frmFiltroBusqueda.get(nombre);
2440
- }
2441
- getAutocompleteLabel(controlData, value) {
2442
- if (!value)
2443
- return '';
2444
- const config = controlData.autocomplete;
2445
- if (!config)
2446
- return '';
2447
- const list = this.dataServidorSuscripcion[config.data]?.getValue() || [];
2448
- const item = dataEnLista(list, config.campoValor || controlData.campo, value);
2449
- if (item) {
2450
- return this.campoTextEval(controlData, item);
2451
- }
2452
- // Fallback search in the filtered results if not in the main list
2453
- const filteredList = this.filtrados[controlData.campo] || [];
2454
- const filteredItem = dataEnLista(filteredList, config.campoValor || controlData.campo, value);
2455
- if (filteredItem) {
2456
- return this.campoTextEval(controlData, filteredItem);
2457
- }
2458
- return value?.toString() || '';
2459
- }
2460
- dataServidor = {};
2461
- dataServidorSuscripcion = {};
2462
- filtrados = {};
2463
- inputParaEnviarAutocomplete = new Subject();
2464
- destroy$ = new Subject();
2465
- sufixTemporal = '_temporal';
2466
- tipoValorFuncion = tipoValorFuncion$1;
2467
- fechaActual = new Date();
2468
- constructor() {
2469
- this.inputParaEnviarAutocomplete.pipe(debounceTime(500), takeUntil$1(this.destroy$)).subscribe((param) => {
2470
- this.queryService?.cargar(this, [param.reqQuery], param.reqData, false, this.prefijoConsulta()).then((dRet) => {
2471
- if (dRet) {
2472
- this.filtrados[param.controlData.campo] = dRet[param.reqQuery];
2473
- this.filtroBusquedaService.setDataServidorSuscripcion(this.nombreColeccionInput(), param.controlData.campo, dRet[param.reqQuery]);
2474
- }
2475
- });
2476
- });
2477
- }
2478
- ngOnInit() {
2479
- this.tabActual.set(this.defaultTab());
2480
- this.frmFiltroBusqueda.get('opcion')?.setValue(this.tabActual());
2481
- if (this.opciones().length > 0) {
2482
- this.initOpciones(this.opciones());
2483
- }
2484
- this.opciones$()?.pipe(takeUntil$1(this.destroy$)).subscribe(val => {
2485
- if (val)
2486
- this.initOpciones(val);
2487
- });
2488
- this.modificarOpciones$()?.pipe(takeUntil$1(this.destroy$)).subscribe(val => {
2489
- if (val) {
2490
- Object.keys(val).forEach(x => {
2491
- const ev = val[x];
2492
- this.actualizarEnFormArray(x, ev.value ?? ev['val'], { disabled: ev.disabled });
2493
- });
2494
- }
2495
- });
2496
- this.frmFiltroBusqueda.valueChanges.pipe(distinctUntilChanged(), takeUntil$1(this.destroy$)).subscribe(() => {
2497
- this.actualizarEstadoService();
2498
- });
2499
- this.frmFiltroBusqueda.get('opcion')?.valueChanges.pipe(distinctUntilChanged(), takeUntil$1(this.destroy$)).subscribe((val) => {
2500
- if (val !== null) {
2501
- this.tabActual.set(val);
2502
- this.cargarDatosFiltroNuevo(val);
2503
- }
2504
- });
2505
- }
2506
- initOpciones(val) {
2507
- const nOpc = this.reorganizarOpcionesNuevas(val);
2508
- this.dataOpcionesNuevo.set(nOpc);
2509
- this.cargarDatosFiltroNuevo();
2510
- }
2511
- reorganizarOpcionesNuevas(val) {
2512
- return val.filter(tab => !tab.esVisible || tipoValorFuncion$1(tab.esVisible, true, tab)).map(tab => ({
2513
- label: tab.label,
2514
- campos: tab.campos || []
2515
- }));
2516
- }
2517
- async cargarDatosFiltroNuevo(idTab) {
2518
- const tabIdx = idTab !== undefined ? idTab : this.tabActual();
2519
- const currentTab = this.dataOpcionesNuevo()[tabIdx];
2520
- if (!currentTab)
2521
- return;
2522
- let llamadasJuntas = [[], [], [], [], []];
2523
- let llamadasJuntasParams = [{}, {}, {}, {}, {}];
2524
- const camposDisabled = [];
2525
- const camposRequired = [];
2526
- const procesarCampos = (campos, grupoFrm, agrupado = false) => {
2527
- campos.forEach((campo) => {
2528
- let val = campo;
2529
- if (val.modificadorDatos)
2530
- val = val.modificadorDatos(val);
2531
- if (val.disabled)
2532
- camposDisabled.push(val.campo);
2533
- if (val.required)
2534
- camposRequired.push(val.campo);
2535
- if (val.dateRange) {
2536
- const [fIni, fFin] = val.dateRange.campo;
2537
- grupoFrm[fIni] = val.dateRange.value?.[0] === '*fechaActual*' ? this.fechaActual : (val.dateRange.value?.[0] || '');
2538
- grupoFrm[fFin] = val.dateRange.value?.[1] === '*fechaActual*' ? this.fechaActual : (val.dateRange.value?.[1] || '');
2539
- }
2540
- else if (val.autocomplete) {
2541
- grupoFrm[val.campo + this.sufixTemporal] = val.value || '';
2542
- grupoFrm[val.campo] = val.value || '';
2543
- }
2544
- else if (val.controlAgrupado) {
2545
- grupoFrm[val.campo] = val.value || '';
2546
- procesarCampos(val.controlAgrupado, grupoFrm, true);
2547
- }
2548
- else {
2549
- grupoFrm[val.campo] = val.value === '*fechaActual*' ? this.fechaActual : (val.value || '');
2550
- }
2551
- if (val.select || val.autocomplete) {
2552
- const config = (val.select || val.autocomplete);
2553
- if (agrupado)
2554
- config.ordenPeticion = 3;
2555
- if (config.customData) {
2556
- this.setCustomData(config.data, config.customData);
2557
- }
2558
- else {
2559
- const level = config.ordenPeticion || 0;
2560
- if (config.data)
2561
- llamadasJuntas[level].push(config.data);
2562
- if (val.reqParams?.fields) {
2563
- val.reqParams.fields.forEach(f => {
2564
- if (grupoFrm[f] && !['*primero*', '*deUsuario*'].includes(grupoFrm[f])) {
2565
- llamadasJuntasParams[level][f] = grupoFrm[f];
2566
- }
2567
- });
2568
- }
2569
- if (val.reqParams?.params) {
2570
- llamadasJuntasParams[level] = { ...llamadasJuntasParams[level], ...val.reqParams.params };
2571
- }
2572
- }
2573
- }
2574
- });
2575
- };
2576
- const targetOpciones = idTab !== undefined ? [this.dataOpcionesNuevo()[idTab]] : this.dataOpcionesNuevo();
2577
- targetOpciones.forEach(tab => {
2578
- const grupoFrm = {};
2579
- procesarCampos(tab.campos, grupoFrm);
2580
- const group = this.fb.group(grupoFrm);
2581
- if (idTab === undefined) {
2582
- this.opcionesTabs.push(group);
2583
- }
2584
- else {
2585
- this.opcionesTabs.setControl(idTab, group);
2586
- }
2587
- });
2588
- getUniqueValues(camposDisabled).forEach(c => this.actualizarEnFormArray(c, undefined, { disabled: true }));
2589
- establecerQuitarRequired(this.frmGroupSeleccionado, getUniqueValues(camposRequired));
2590
- const cargaNivel = async (idx) => {
2591
- const types = getUniqueValues(llamadasJuntas[idx]);
2592
- if (types.length === 0)
2593
- return;
2594
- const dRet = await this.queryService?.cargar(this, types, llamadasJuntasParams[idx], false, this.prefijoConsulta());
2595
- if (dRet) {
2596
- this.procesarRetornoDatos(idx, dRet, llamadasJuntasParams);
2597
- }
2598
- };
2599
- await cargaNivel(0);
2600
- await cargaNivel(1);
2601
- await cargaNivel(2);
2602
- await cargaNivel(3);
2603
- await cargaNivel(4);
2604
- this.isCargaCompleta.set(true);
2605
- this.actualizarEstadoService();
2606
- this.cargaCompleta.emit(true);
2607
- }
2608
- actualizarEstadoService() {
2609
- if (this.isCargaCompleta()) {
2610
- const res = this.getFiltroResultante();
2611
- this.filtroBusquedaService.setValue(this.nombreColeccionInput(), res);
2612
- this.dataFiltro.emit(res.datosFiltro);
2613
- }
2614
- }
2615
- setCustomData(key, data) {
2616
- if (!this.dataServidorSuscripcion[key]) {
2617
- this.dataServidorSuscripcion[key] = new BehaviorSubject(null);
2618
- }
2619
- this.dataServidorSuscripcion[key].next(data);
2620
- }
2621
- procesarRetornoDatos(idxLevel, data, paramsRef) {
2622
- const tabCampos = this.dataOpcionesNuevo()[this.tabActual()].campos;
2623
- const affected = tabCampos.filter(c => {
2624
- const config = c.select || c.autocomplete;
2625
- return config && (config.ordenPeticion || 0) === idxLevel;
2626
- });
2627
- affected.forEach(campo => {
2628
- const config = (campo.select || campo.autocomplete);
2629
- const res = data[config.data];
2630
- if (!this.dataServidorSuscripcion[config.data]) {
2631
- this.dataServidorSuscripcion[config.data] = new BehaviorSubject(null);
2632
- }
2633
- this.dataServidorSuscripcion[config.data].next(res);
2634
- this.filtroBusquedaService.setDataServidorSuscripcion(this.nombreColeccionInput(), campo.campo, res);
2635
- if (campo.value === '*primero*' && res?.length > 0) {
2636
- const firstVal = config.campoValor === '*objeto*' ? res[0] : res[0][config.campoValor || campo.campo];
2637
- this.actualizarEnFormArray(campo.campo, firstVal);
2638
- paramsRef.forEach((p, i) => {
2639
- if (i > idxLevel && p[campo.campo] === '')
2640
- p[campo.campo] = firstVal;
2641
- });
2642
- }
2643
- if (campo.autocomplete) {
2644
- this.filtrados[campo.campo] = res;
2645
- }
2646
- if (campo.change) {
2647
- this.cambiarSeleccionNuevo(campo);
2648
- }
2649
- });
2650
- }
2651
- getFiltroResultante() {
2652
- const rawForm = this.frmGroupSeleccionado.getRawValue();
2653
- const datosFiltro = { opcion: this.tabActual() };
2654
- const datosFiltroConLabel = [];
2655
- const resumenItems = [];
2656
- const campos = this.dataOpcionesNuevo()[this.tabActual()]?.campos || [];
2657
- const procesarMetadatos = (campo) => {
2658
- const meta = { campo: campo.campo, label: campo.label || '', value: null };
2659
- if (campo.dateRange) {
2660
- const [fIni, fFin] = campo.dateRange.campo;
2661
- datosFiltro[fIni] = rawForm[fIni] ? format(rawForm[fIni], 'yyyyMMdd') : '';
2662
- datosFiltro[fFin] = rawForm[fFin] ? format(rawForm[fFin], 'yyyyMMdd') : '';
2663
- if (rawForm[fIni] && rawForm[fFin]) {
2664
- meta.value = `${format(rawForm[fIni], 'dd/MM/yyyy')} - ${format(rawForm[fFin], 'dd/MM/yyyy')}`;
2665
- resumenItems.push(`${meta.label}: ${meta.value}`);
2666
- }
2667
- }
2668
- else if (campo.control === 'date') {
2669
- const val = rawForm[campo.campo];
2670
- datosFiltro[campo.campo] = val ? format(val, 'yyyyMMdd') : '';
2671
- meta.value = val ? format(val, 'dd/MM/yyyy') : '';
2672
- if (meta.value)
2673
- resumenItems.push(`${meta.label}: ${meta.value}`);
2674
- }
2675
- else if (campo.control === 'checkbox') {
2676
- datosFiltro[campo.campo] = rawForm[campo.campo];
2677
- meta.value = rawForm[campo.campo];
2678
- if (meta.value)
2679
- resumenItems.push(`${meta.label}`);
2680
- }
2681
- else {
2682
- const val = rawForm[campo.campo];
2683
- datosFiltro[campo.campo] = val;
2684
- meta.value = val;
2685
- if (campo.select || campo.autocomplete) {
2686
- const config = (campo.select || campo.autocomplete);
2687
- const list = this.dataServidorSuscripcion[config.data]?.getValue() || [];
2688
- const item = config.campoValor === '*objeto*' ? val : dataEnLista(list, config.campoValor || campo.campo, val);
2689
- if (item) {
2690
- meta.list = list;
2691
- meta.valueObject = item;
2692
- meta.valueString = this.campoTextEval(campo, item);
2693
- resumenItems.push(`${meta.label}: ${meta.valueString}`);
2694
- }
2695
- }
2696
- else if (val !== null && val !== undefined && val !== '') {
2697
- resumenItems.push(`${meta.label}: ${val}`);
2698
- }
2699
- }
2700
- datosFiltroConLabel.push(meta);
2701
- };
2702
- campos.forEach(c => {
2703
- if (c.controlAgrupado) {
2704
- c.controlAgrupado.forEach(sub => procesarMetadatos(sub));
2705
- }
2706
- else {
2707
- procesarMetadatos(c);
2708
- }
2709
- });
2710
- const labelResumen = resumenItems.join(' | ');
2711
- return { datosFiltro, datosFiltroConLabel, labelResumen };
2712
- }
2713
- mostrarValorEnBusqueda = mostrarValorEnBusqueda;
2714
- campoValorEval(campoFiltro, itemSelect) {
2715
- if (campoFiltro.select || campoFiltro.autocomplete) {
2716
- const selectOrAutocomplete = campoFiltro.select ? campoFiltro.select : campoFiltro.autocomplete;
2717
- if (selectOrAutocomplete?.campoValor === '*objeto*') {
2718
- return itemSelect;
2719
- }
2720
- if (campoFiltro.campo === '*objeto*') {
2721
- return itemSelect;
2722
- }
2723
- if (selectOrAutocomplete && itemSelect[selectOrAutocomplete.campoValor] !== undefined) {
2724
- return itemSelect[selectOrAutocomplete.campoValor];
2725
- }
2726
- }
2727
- return itemSelect[campoFiltro.campo];
2728
- }
2729
- campoTextEval(campoFiltro, itemSelect) {
2730
- if (campoFiltro.select || campoFiltro.autocomplete) {
2731
- const selectOrAutocomplete = (campoFiltro.select || campoFiltro.autocomplete);
2732
- if (selectOrAutocomplete.optionText) {
2733
- return selectOrAutocomplete.optionText(itemSelect);
2734
- }
2735
- if (selectOrAutocomplete.camposText) {
2736
- return selectOrAutocomplete.camposText.map(c => itemSelect[c]).join(' ');
2737
- }
2738
- return itemSelect[campoFiltro.campo];
2739
- }
2740
- return '';
2741
- }
2742
- concatenarCadenasArray(array, objData) {
2743
- if (typeof array === 'string') {
2744
- return objData[array];
2745
- }
2746
- const nTxtArray = [];
2747
- array.forEach(campo => {
2748
- if (campo.charAt(0) === '*') {
2749
- nTxtArray.push(campo.replace('*', ''));
2750
- }
2751
- else {
2752
- nTxtArray.push(objData[campo]);
2753
- }
2754
- });
2755
- return nTxtArray.join(' ');
2756
- }
2757
- filtrarData() {
2758
- if (this.frmGroupSeleccionado.invalid) {
2759
- const errors = getFormValidationErrors(this.frmGroupSeleccionado);
2760
- const labels = errors.map(e => {
2761
- const found = this.dataOpcionesNuevo()[this.tabActual()].campos.find(c => c.campo === e.control);
2762
- return found?.label || e.control;
2763
- });
2764
- this.toastr.error(`Campos requeridos:<br>${labels.join(', ')}`, undefined, { enableHtml: true });
2765
- return;
2766
- }
2767
- this.actualizarEstadoService();
2768
- const res = this.getFiltroResultante();
2769
- // Soporte temporal a usos actuales
2770
- this.resultados.emit(res.datosFiltro);
2771
- // Nueva mejora 2 (Emisión completa)
2772
- this.buscar.emit(res);
2773
- }
2774
- actualizarEnFormArray(name, value, extra) {
2775
- this.opcionesTabs.controls.forEach((control) => {
2776
- const fc = control.get(name);
2777
- if (fc) {
2778
- if (value !== undefined)
2779
- fc.setValue(value, { emitEvent: false });
2780
- if (extra?.disabled === true)
2781
- fc.disable();
2782
- if (extra?.disabled === false)
2783
- fc.enable();
2784
- fc.updateValueAndValidity();
2785
- }
2786
- });
2787
- }
2788
- accionPosteriorCambioAutocomplete(controlData, valControl) {
2789
- const list = this.dataServidorSuscripcion[controlData.autocomplete?.data]?.getValue() || [];
2790
- this.filtrados[controlData.campo] = list.filter((algo) => {
2791
- let nTextVerif = this.concatenarCadenasArray(controlData.autocomplete?.camposText, algo);
2792
- if (controlData.autocomplete?.searchFields) {
2793
- const nTextVerifExtra = this.concatenarCadenasArray(controlData.autocomplete.searchFields, algo);
2794
- nTextVerif = nTextVerif.concat(nTextVerifExtra);
2795
- }
2796
- const textBuscar = valControl && typeof valControl === 'string' ? valControl.toLowerCase() : null;
2797
- if (nTextVerif) {
2798
- return nTextVerif.toLowerCase().includes(textBuscar) ? algo : null;
2799
- }
2800
- return null;
2801
- });
2802
- }
2803
- cambiarNuevo(campo, val) {
2804
- if (campo.autocomplete) {
2805
- const valControl = this.frmGroupSeleccionado.get(campo.campo + this.sufixTemporal)?.value;
2806
- if (!valControl) {
2807
- this.filtrados[campo.campo] = this.dataServidorSuscripcion[campo.autocomplete.data]?.getValue() || [];
2808
- }
2809
- else {
2810
- const config = campo.autocomplete;
2811
- if (config.campotxtBuscar && val && val.length > (config.campotxtBuscarLength || 3)) {
2812
- const reqQuery = config.data;
2813
- let reqData = {};
2814
- if (campo.reqParams?.fields) {
2815
- campo.reqParams.fields.forEach(f => {
2816
- const ctrl = this.buscarControl(f);
2817
- reqData[ctrl?.aliasCampoEnviar || f] = this.frmGroupSeleccionado.get(f)?.value;
2818
- });
2819
- }
2820
- reqData[config.campotxtBuscar || campo.campo] = val;
2821
- if (campo.reqParams?.params)
2822
- Object.assign(reqData, campo.reqParams.params);
2823
- this.inputParaEnviarAutocomplete.next({ reqQuery, reqData, controlData: campo });
2824
- }
2825
- else {
2826
- this.accionPosteriorCambioAutocomplete(campo, valControl);
2827
- }
2828
- }
2829
- }
2830
- }
2831
- cambiarSeleccionNuevo(campo, event) {
2832
- const val = event?.option?.value ?? event?.value ?? (event?.target ? event.target.value : event);
2833
- if (val !== undefined) {
2834
- this.actualizarEnFormArray(campo.campo, val);
2835
- if (campo.autocomplete) {
2836
- const config = campo.autocomplete;
2837
- const list = this.dataServidorSuscripcion[config.data]?.getValue() || [];
2838
- const item = config.campoValor === '*objeto*' ? val : dataEnLista(list, config.campoValor || campo.campo, val);
2839
- if (item) {
2840
- const text = this.campoTextEval(campo, item);
2841
- this.actualizarEnFormArray(campo.campo + this.sufixTemporal, text);
2842
- }
2843
- }
2844
- const groupedMatch = this.dataOpcionesNuevo()[this.tabActual()].campos
2845
- .filter(c => c.controlAgrupado)
2846
- .find(c => c.controlAgrupado?.some(sub => sub.campo === campo.campo));
2847
- if (groupedMatch)
2848
- this.frmGroupSeleccionado.get(groupedMatch.campo)?.setValue(val);
2849
- }
2850
- if (campo.change?.filterFields) {
2851
- campo.change.filterFields.forEach(target => {
2852
- const targetMeta = this.buscarControl(target);
2853
- if (targetMeta) {
2854
- const params = this.generarParams(targetMeta, campo);
2855
- this.actualizarEnFormArray(target, null);
2856
- this.actualizarEnFormArray(target + this.sufixTemporal, null);
2857
- this.dataServidorSuscripcion[target]?.next(null);
2858
- const config = (targetMeta.select || targetMeta.autocomplete);
2859
- if (config?.data) {
2860
- this.queryService?.cargar(this, [config.data], params, false, this.prefijoConsulta()).then(d => {
2861
- if (d) {
2862
- const res = d[config.data];
2863
- this.actualizarEnFormArray(target, targetMeta.value || null);
2864
- this.actualizarEnFormArray(target + this.sufixTemporal, targetMeta.value || null);
2865
- if (!this.dataServidorSuscripcion[config.data]) {
2866
- this.dataServidorSuscripcion[config.data] = new BehaviorSubject(null);
2867
- }
2868
- this.dataServidorSuscripcion[config.data].next(res);
2869
- this.filtrados[target] = res;
2870
- }
2871
- });
2872
- }
2873
- }
2874
- });
2875
- }
2876
- else if (campo.change?.filter) {
2877
- setTimeout(() => this.filtrarData(), 1);
2878
- }
2879
- }
2880
- buscarControl(campo) {
2881
- const rootCampos = this.dataOpcionesNuevo()[this.tabActual()].campos;
2882
- let found = rootCampos.find(c => c.campo === campo);
2883
- if (!found) {
2884
- found = rootCampos.filter(c => c.controlAgrupado).flatMap(c => c.controlAgrupado).find(c => c.campo === campo);
2885
- }
2886
- return found;
2887
- }
2888
- generarParams(meta, trigger) {
2889
- const params = {};
2890
- if (meta.reqParams?.fields) {
2891
- meta.reqParams.fields.forEach(f => {
2892
- const ctrl = this.buscarControl(f);
2893
- params[ctrl?.aliasCampoEnviar || f] = this.frmGroupSeleccionado.get(f)?.value;
2894
- });
2895
- }
2896
- else {
2897
- params[meta.aliasCampoEnviar || trigger.campo || meta.campo] = this.frmGroupSeleccionado.get(trigger.campo || meta.campo)?.value;
2898
- }
2899
- if (meta.reqParams?.params)
2900
- Object.assign(params, meta.reqParams.params);
2901
- return params;
2902
- }
2903
- limpiarAutocomplete(campo, event) {
2904
- this.actualizarEnFormArray(campo.campo, '');
2905
- this.actualizarEnFormArray(campo.campo + this.sufixTemporal, '');
2906
- this.cambiarSeleccionNuevo(campo, { option: { value: '' } });
2907
- event.preventDefault();
2908
- }
2909
- ngOnDestroy() {
2910
- this.destroy$.next();
2911
- this.destroy$.complete();
2912
- }
2913
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FiltroBusquedaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2914
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FiltroBusquedaComponent, isStandalone: true, selector: "jvs-filtro-busqueda", inputs: { opciones: { classPropertyName: "opciones", publicName: "opciones", isSignal: true, isRequired: false, transformFunction: null }, nombreColeccionInput: { classPropertyName: "nombreColeccionInput", publicName: "nombreColeccion", isSignal: true, isRequired: false, transformFunction: null }, prefijoConsulta: { classPropertyName: "prefijoConsulta", publicName: "prefijoConsulta", isSignal: true, isRequired: false, transformFunction: null }, busquedaAutomatica: { classPropertyName: "busquedaAutomatica", publicName: "busquedaAutomatica", isSignal: true, isRequired: false, transformFunction: null }, opciones$: { classPropertyName: "opciones$", publicName: "opciones$", isSignal: true, isRequired: false, transformFunction: null }, modificarOpciones$: { classPropertyName: "modificarOpciones$", publicName: "modificarOpciones$", isSignal: true, isRequired: false, transformFunction: null }, defaultTab: { classPropertyName: "defaultTab", publicName: "defaultTab", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dataFiltro: "dataFiltro", resultados: "resultados", buscar: "buscar", cargaCompleta: "cargaCompleta" }, host: { classAttribute: "jvsFiltroBusqueda" }, ngImport: i0, template: "@if (isCargaCompleta()) {\n <div class=\"filtroBusqueda w-full\">\n <div class=\"border-none p-0 flex flex-col\">\n\n @if (dataOpcionesNuevo().length === 1) {\n <div class=\"flex-1 flex items-end max-sm:flex-col flex-wrap gap-2\">\n <ng-container [ngTemplateOutlet]=\"verOpcionesT\"></ng-container>\n </div>\n } @else if (dataOpcionesNuevo().length > 1) {\n <div class=\"flex-1 flex flex-col flex-wrap gap-2 border\">\n <mat-tab-group\n [selectedIndex]=\"tabActual()\"\n (selectedIndexChange)=\"getControlRaiz('opcion').setValue($event)\"\n class=\"flex-1 flex flex-wrap\"\n [mat-stretch-tabs]=\"false\"\n dynamicHeight\n mat-align-tabs=\"start\"\n >\n @for (item of dataOpcionesNuevo(); track $index) {\n <mat-tab [aria-label]=\"(tabActual() === $index) ? 'primary' : ''\">\n <ng-template mat-tab-label>\n @if (tabActual() === $index) {\n <mat-icon class=\"icon-xs\" svgIcon=\"roundVerified\"></mat-icon>\n }\n &nbsp;{{ item.label }}\n </ng-template>\n\n <div class=\"mx-2 mt-0 pt-0 flex flex-col items-end sm:flex-row flex-wrap gap-2\">\n <ng-container [ngTemplateOutlet]=\"verOpcionesT\"></ng-container>\n </div>\n </mat-tab>\n }\n </mat-tab-group>\n </div>\n }\n </div>\n </div>\n}\n\n<ng-template #verOpcionesT>\n @for (campo of dataOpcionesNuevo()[tabActual()]?.campos; track campo.campo) {\n <ng-container [ngTemplateOutletContext]=\"{controlData: campo}\" [ngTemplateOutlet]=\"controlesFormularioNuevo\"></ng-container>\n }\n <ng-container [ngTemplateOutlet]=\"botonFiltrar\"></ng-container>\n</ng-template>\n\n<ng-template #botonFiltrar>\n <button (click)=\"filtrarData()\"\n class=\"flex items-center justify-center bg-primary text-primary-contrast font-bold uppercase text-xs px-2 py-1 rounded shadow-md hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150\"\n matRipple type=\"button\"\n [disabled]=\"!isCargaCompleta()\"\n >\n <mat-icon class=\"icon-xs\" svgIcon=\"roundFilterAlt\"></mat-icon>&nbsp;\n <span>Filtrar</span>\n </button>\n</ng-template>\n\n<ng-template #controlesFormularioNuevo let-controlData=\"controlData\">\n @switch (controlData.control) {\n @case ('controlAgrupado') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputControlAgrupado, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('select') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputSelect, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('autocomplete') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputAutocomplete, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('date') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputDate, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('date_range') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputDateRange, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('checkbox') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputCheckBox, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @default {\n @if (controlData.control === 'text' || controlData.control === 'number') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputTextNumber, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n }\n }\n</ng-template>\n\n<ng-template #contenedorInput let-template=\"template\" let-controlData=\"controlData\">\n <fieldset [class.flex-auto]=\"!controlData.cssClass\" [class]=\"controlData.cssClass\" class=\"appearance-none contenedorCampo relative\">\n <legend>\n <label [for]=\"controlData.campo\">{{ controlData.label }}@if(controlData.required){<span class=\"text-red-700 font-bold\"> *</span>}</label>\n </legend>\n <ng-container [ngTemplateOutletContext]=\"{controlData: controlData}\" [ngTemplateOutlet]=\"template\"></ng-container>\n </fieldset>\n</ng-template>\n\n<ng-template #inputSelect let-controlData=\"controlData\">\n <select [formControl]=\"getControl(controlData.campo)\"\n (change)=\"cambiarSeleccionNuevo(controlData, $event);\"\n [class]=\"controlData.select?.cssClass?.class\"\n [id]=\"controlData.campo\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n >\n @if (controlData.select?.textoCuandoNulo) {\n <option value=\"\">{{ controlData.select?.textoCuandoNulo }}</option>\n }\n @for (itemSelect of dataServidorSuscripcion[controlData.select?.data!] | async; track $index) {\n <option [class]=\"controlData.select?.cssClass?.option\" [value]=\"campoValorEval(controlData, itemSelect)\">\n {{ campoTextEval(controlData, itemSelect) }}\n </option>\n }\n </select>\n</ng-template>\n\n<ng-template #inputControlAgrupado let-controlData=\"controlData\">\n <div class=\"flex items-center campos-container\">\n @for (sub of controlData.controlAgrupado; track sub.campo) {\n @switch (sub.control) {\n @case ('select') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputSelect\"></ng-container>\n }\n @case ('autocomplete') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputAutocomplete\"></ng-container>\n }\n @case ('date') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputDate\"></ng-container>\n }\n @case ('date_range') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputDateRange\"></ng-container>\n }\n @case ('checkbox') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputCheckBox\"></ng-container>\n }\n @default {\n @if (sub.control === 'text' || sub.control === 'number') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputTextNumber\"></ng-container>\n }\n }\n }\n }\n </div>\n</ng-template>\n\n<ng-template #inputAutocomplete let-controlData=\"controlData\">\n <div class=\"flex items-center formcontrol-container\">\n <input [formControl]=\"getControl(controlData.campo + sufixTemporal)\"\n (input)=\"cambiarNuevo(controlData, $any($event.target).value)\"\n [matAutocomplete]=\"auto\"\n autocomplete=\"off\"\n [id]=\"controlData.campo\"\n placeholder=\"{{ controlData.autocomplete?.textoCuandoNulo ?? controlData.label }}\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n >\n <mat-autocomplete #auto=\"matAutocomplete\"\n (optionSelected)=\"cambiarSeleccionNuevo(controlData, $event)\"\n [panelWidth]=\"'auto'\"\n [displayWith]=\"getAutocompleteLabel.bind(this, controlData)\"\n >\n @for (itemSelect of filtrados[controlData.campo]; track $index) {\n <mat-option [class]=\"controlData.autocomplete?.cssClass?.option\" [value]=\"campoValorEval(controlData, itemSelect)\">\n @if (controlData.autocomplete?.optionInnerHtml) {\n <div [innerHTML]=\"controlData.autocomplete?.optionInnerHtml!(itemSelect)\"></div>\n } @else {\n {{ campoTextEval(controlData, itemSelect) }}\n }\n </mat-option>\n }\n </mat-autocomplete>\n\n <div class=\"flex items-center justify-start\">\n <button (click)=\"limpiarAutocomplete(controlData, $event)\" class=\"boton-circular-gris\"\n matRipple\n type=\"button\"\n >\n <mat-icon [svgIcon]=\"(getControl(controlData.campo).value ? 'roundCancel' : 'roundSearch')\" class=\"icon-2xs\"></mat-icon>\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #inputTextNumber let-controlData=\"controlData\">\n <input (keyup.enter)=\"controlData.keyUpEnter ? filtrarData() : null\"\n [formControl]=\"getControl(controlData.campo)\"\n [type]=\"controlData.control\"\n autocomplete=\"off\"\n [id]=\"controlData.campo\"\n placeholder=\"{{ controlData.label }}\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n >\n</ng-template>\n\n<ng-template #inputDate let-controlData=\"controlData\">\n <div class=\"flex items-center date-container\">\n <input (keyup.enter)=\"controlData.keyUpEnter ? filtrarData() : null\"\n [formControl]=\"getControl(controlData.campo)\"\n (dateChange)=\"cambiarSeleccionNuevo(controlData, $event)\"\n [matDatepicker]=\"i\"\n autocomplete=\"off\"\n [id]=\"controlData.campo\"\n placeholder=\"{{ controlData.label }}\"\n type=\"text\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n >\n <mat-datepicker-toggle [for]=\"i\" class=\"icon-xs\" matSuffix></mat-datepicker-toggle>\n <mat-datepicker #i></mat-datepicker>\n </div>\n</ng-template>\n\n<ng-template #inputDateRange let-controlData=\"controlData\">\n <div class=\"flex items-center daterange-container\">\n <mat-date-range-input [rangePicker]=\"i\">\n <input [formControl]=\"getControl(controlData.dateRange?.campo![0])\" matStartDate placeholder=\"Desde\">\n <input [formControl]=\"getControl(controlData.dateRange?.campo![1])\" matEndDate placeholder=\"Hasta\">\n </mat-date-range-input>\n <mat-datepicker-toggle [for]=\"i\" class=\"icon-xs\"></mat-datepicker-toggle>\n <mat-date-range-picker #i></mat-date-range-picker>\n </div>\n</ng-template>\n\n<ng-template #inputCheckBox let-controlData=\"controlData\">\n <input [formControl]=\"getControl(controlData.campo)\"\n [id]=\"controlData.campo\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n type=\"checkbox\"\n (change)=\"cambiarSeleccionNuevo(controlData, $event)\"\n >\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$1.CheckboxRequiredValidator, selector: "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i3$3.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i3$3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i3$3.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i4$3.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4$3.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i4$3.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i4$3.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i4$3.MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i4$3.MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i4$3.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "directive", type: i5$2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatRadioModule }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "directive", type: i8.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i8.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i8.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: TextFieldModule }] });
2915
- }
2916
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FiltroBusquedaComponent, decorators: [{
2917
- type: Component,
2918
- args: [{ selector: 'jvs-filtro-busqueda', standalone: true, imports: [
2919
- CommonModule,
2920
- FormsModule,
2921
- ReactiveFormsModule,
2922
- MatAutocompleteModule,
2923
- MatCheckboxModule,
2924
- MatDatepickerModule,
2925
- MatFormFieldModule,
2926
- MatIconModule,
2927
- MatInputModule,
2928
- MatOptionModule,
2929
- MatRadioModule,
2930
- MatRippleModule,
2931
- MatSelectModule,
2932
- MatTabsModule,
2933
- TextFieldModule,
2934
- ], host: {
2935
- class: 'jvsFiltroBusqueda',
2936
- }, template: "@if (isCargaCompleta()) {\n <div class=\"filtroBusqueda w-full\">\n <div class=\"border-none p-0 flex flex-col\">\n\n @if (dataOpcionesNuevo().length === 1) {\n <div class=\"flex-1 flex items-end max-sm:flex-col flex-wrap gap-2\">\n <ng-container [ngTemplateOutlet]=\"verOpcionesT\"></ng-container>\n </div>\n } @else if (dataOpcionesNuevo().length > 1) {\n <div class=\"flex-1 flex flex-col flex-wrap gap-2 border\">\n <mat-tab-group\n [selectedIndex]=\"tabActual()\"\n (selectedIndexChange)=\"getControlRaiz('opcion').setValue($event)\"\n class=\"flex-1 flex flex-wrap\"\n [mat-stretch-tabs]=\"false\"\n dynamicHeight\n mat-align-tabs=\"start\"\n >\n @for (item of dataOpcionesNuevo(); track $index) {\n <mat-tab [aria-label]=\"(tabActual() === $index) ? 'primary' : ''\">\n <ng-template mat-tab-label>\n @if (tabActual() === $index) {\n <mat-icon class=\"icon-xs\" svgIcon=\"roundVerified\"></mat-icon>\n }\n &nbsp;{{ item.label }}\n </ng-template>\n\n <div class=\"mx-2 mt-0 pt-0 flex flex-col items-end sm:flex-row flex-wrap gap-2\">\n <ng-container [ngTemplateOutlet]=\"verOpcionesT\"></ng-container>\n </div>\n </mat-tab>\n }\n </mat-tab-group>\n </div>\n }\n </div>\n </div>\n}\n\n<ng-template #verOpcionesT>\n @for (campo of dataOpcionesNuevo()[tabActual()]?.campos; track campo.campo) {\n <ng-container [ngTemplateOutletContext]=\"{controlData: campo}\" [ngTemplateOutlet]=\"controlesFormularioNuevo\"></ng-container>\n }\n <ng-container [ngTemplateOutlet]=\"botonFiltrar\"></ng-container>\n</ng-template>\n\n<ng-template #botonFiltrar>\n <button (click)=\"filtrarData()\"\n class=\"flex items-center justify-center bg-primary text-primary-contrast font-bold uppercase text-xs px-2 py-1 rounded shadow-md hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150\"\n matRipple type=\"button\"\n [disabled]=\"!isCargaCompleta()\"\n >\n <mat-icon class=\"icon-xs\" svgIcon=\"roundFilterAlt\"></mat-icon>&nbsp;\n <span>Filtrar</span>\n </button>\n</ng-template>\n\n<ng-template #controlesFormularioNuevo let-controlData=\"controlData\">\n @switch (controlData.control) {\n @case ('controlAgrupado') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputControlAgrupado, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('select') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputSelect, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('autocomplete') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputAutocomplete, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('date') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputDate, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('date_range') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputDateRange, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @case ('checkbox') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputCheckBox, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n @default {\n @if (controlData.control === 'text' || controlData.control === 'number') {\n <ng-container [ngTemplateOutletContext]=\"{template: inputTextNumber, controlData: controlData}\" [ngTemplateOutlet]=\"contenedorInput\"></ng-container>\n }\n }\n }\n</ng-template>\n\n<ng-template #contenedorInput let-template=\"template\" let-controlData=\"controlData\">\n <fieldset [class.flex-auto]=\"!controlData.cssClass\" [class]=\"controlData.cssClass\" class=\"appearance-none contenedorCampo relative\">\n <legend>\n <label [for]=\"controlData.campo\">{{ controlData.label }}@if(controlData.required){<span class=\"text-red-700 font-bold\"> *</span>}</label>\n </legend>\n <ng-container [ngTemplateOutletContext]=\"{controlData: controlData}\" [ngTemplateOutlet]=\"template\"></ng-container>\n </fieldset>\n</ng-template>\n\n<ng-template #inputSelect let-controlData=\"controlData\">\n <select [formControl]=\"getControl(controlData.campo)\"\n (change)=\"cambiarSeleccionNuevo(controlData, $event);\"\n [class]=\"controlData.select?.cssClass?.class\"\n [id]=\"controlData.campo\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n >\n @if (controlData.select?.textoCuandoNulo) {\n <option value=\"\">{{ controlData.select?.textoCuandoNulo }}</option>\n }\n @for (itemSelect of dataServidorSuscripcion[controlData.select?.data!] | async; track $index) {\n <option [class]=\"controlData.select?.cssClass?.option\" [value]=\"campoValorEval(controlData, itemSelect)\">\n {{ campoTextEval(controlData, itemSelect) }}\n </option>\n }\n </select>\n</ng-template>\n\n<ng-template #inputControlAgrupado let-controlData=\"controlData\">\n <div class=\"flex items-center campos-container\">\n @for (sub of controlData.controlAgrupado; track sub.campo) {\n @switch (sub.control) {\n @case ('select') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputSelect\"></ng-container>\n }\n @case ('autocomplete') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputAutocomplete\"></ng-container>\n }\n @case ('date') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputDate\"></ng-container>\n }\n @case ('date_range') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputDateRange\"></ng-container>\n }\n @case ('checkbox') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputCheckBox\"></ng-container>\n }\n @default {\n @if (sub.control === 'text' || sub.control === 'number') {\n <ng-container [ngTemplateOutletContext]=\"{controlData: sub}\" [ngTemplateOutlet]=\"inputTextNumber\"></ng-container>\n }\n }\n }\n }\n </div>\n</ng-template>\n\n<ng-template #inputAutocomplete let-controlData=\"controlData\">\n <div class=\"flex items-center formcontrol-container\">\n <input [formControl]=\"getControl(controlData.campo + sufixTemporal)\"\n (input)=\"cambiarNuevo(controlData, $any($event.target).value)\"\n [matAutocomplete]=\"auto\"\n autocomplete=\"off\"\n [id]=\"controlData.campo\"\n placeholder=\"{{ controlData.autocomplete?.textoCuandoNulo ?? controlData.label }}\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n >\n <mat-autocomplete #auto=\"matAutocomplete\"\n (optionSelected)=\"cambiarSeleccionNuevo(controlData, $event)\"\n [panelWidth]=\"'auto'\"\n [displayWith]=\"getAutocompleteLabel.bind(this, controlData)\"\n >\n @for (itemSelect of filtrados[controlData.campo]; track $index) {\n <mat-option [class]=\"controlData.autocomplete?.cssClass?.option\" [value]=\"campoValorEval(controlData, itemSelect)\">\n @if (controlData.autocomplete?.optionInnerHtml) {\n <div [innerHTML]=\"controlData.autocomplete?.optionInnerHtml!(itemSelect)\"></div>\n } @else {\n {{ campoTextEval(controlData, itemSelect) }}\n }\n </mat-option>\n }\n </mat-autocomplete>\n\n <div class=\"flex items-center justify-start\">\n <button (click)=\"limpiarAutocomplete(controlData, $event)\" class=\"boton-circular-gris\"\n matRipple\n type=\"button\"\n >\n <mat-icon [svgIcon]=\"(getControl(controlData.campo).value ? 'roundCancel' : 'roundSearch')\" class=\"icon-2xs\"></mat-icon>\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #inputTextNumber let-controlData=\"controlData\">\n <input (keyup.enter)=\"controlData.keyUpEnter ? filtrarData() : null\"\n [formControl]=\"getControl(controlData.campo)\"\n [type]=\"controlData.control\"\n autocomplete=\"off\"\n [id]=\"controlData.campo\"\n placeholder=\"{{ controlData.label }}\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n >\n</ng-template>\n\n<ng-template #inputDate let-controlData=\"controlData\">\n <div class=\"flex items-center date-container\">\n <input (keyup.enter)=\"controlData.keyUpEnter ? filtrarData() : null\"\n [formControl]=\"getControl(controlData.campo)\"\n (dateChange)=\"cambiarSeleccionNuevo(controlData, $event)\"\n [matDatepicker]=\"i\"\n autocomplete=\"off\"\n [id]=\"controlData.campo\"\n placeholder=\"{{ controlData.label }}\"\n type=\"text\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n >\n <mat-datepicker-toggle [for]=\"i\" class=\"icon-xs\" matSuffix></mat-datepicker-toggle>\n <mat-datepicker #i></mat-datepicker>\n </div>\n</ng-template>\n\n<ng-template #inputDateRange let-controlData=\"controlData\">\n <div class=\"flex items-center daterange-container\">\n <mat-date-range-input [rangePicker]=\"i\">\n <input [formControl]=\"getControl(controlData.dateRange?.campo![0])\" matStartDate placeholder=\"Desde\">\n <input [formControl]=\"getControl(controlData.dateRange?.campo![1])\" matEndDate placeholder=\"Hasta\">\n </mat-date-range-input>\n <mat-datepicker-toggle [for]=\"i\" class=\"icon-xs\"></mat-datepicker-toggle>\n <mat-date-range-picker #i></mat-date-range-picker>\n </div>\n</ng-template>\n\n<ng-template #inputCheckBox let-controlData=\"controlData\">\n <input [formControl]=\"getControl(controlData.campo)\"\n [id]=\"controlData.campo\"\n [required]=\"controlData.required\"\n [class.border-b-red-700]=\"getControl(controlData.campo).invalid\"\n type=\"checkbox\"\n (change)=\"cambiarSeleccionNuevo(controlData, $event)\"\n >\n</ng-template>\n" }]
2937
- }], ctorParameters: () => [] });
2938
-
2939
- class AlertaComponent {
2940
- // Inputs (Signals)
2941
- tipo = input('info');
2942
- titulo = input();
2943
- mensaje = input();
2944
- iconoManual = input(undefined, { alias: 'icono' });
2945
- clasesManual = input({}, { alias: 'clases' });
2946
- botonCerrar = input(false);
2947
- botonAcepto = input(false);
2948
- textoAcepto = input('Lo entiendo');
2949
- // Outputs
2950
- alCerrar = output();
2951
- alAceptar = output();
2952
- // Computed properties for default styles
2953
- defaults = computed(() => {
2954
- const t = this.tipo();
2955
- switch (t) {
2956
- case 'error':
2957
- return {
2958
- bg: 'bg-red-50',
2959
- border: 'border-red-200',
2960
- text: 'text-red-800',
2961
- icon: 'roundError',
2962
- iconColor: 'text-red-400'
2963
- };
2964
- case 'success':
2965
- return {
2966
- bg: 'bg-green-50',
2967
- border: 'border-green-200',
2968
- text: 'text-green-800',
2969
- icon: 'roundCheckCircle',
2970
- iconColor: 'text-green-400'
2971
- };
2972
- case 'warning':
2973
- return {
2974
- bg: 'bg-amber-50',
2975
- border: 'border-amber-200',
2976
- text: 'text-amber-800',
2977
- icon: 'roundWarning',
2978
- iconColor: 'text-amber-400'
2979
- };
2980
- case 'info':
2981
- default:
2982
- return {
2983
- bg: 'bg-blue-50',
2984
- border: 'border-blue-200',
2985
- text: 'text-blue-800',
2986
- icon: 'roundInfo',
2987
- iconColor: 'text-blue-400'
2988
- };
2989
- }
2990
- });
2991
- // Final classes merged with manual overrides
2992
- clasesContenedor = computed(() => {
2993
- const d = this.defaults();
2994
- const custom = this.clasesManual()?.contenedor || '';
2995
- if (this.tipo() === 'custom')
2996
- return custom;
2997
- return `flex items-start gap-1 p-2 rounded-lg border ${d.bg} ${d.border} ${d.text} ${custom}`;
2998
- });
2999
- iconoFinal = computed(() => this.iconoManual() || this.defaults().icon);
3000
- clasesIcono = computed(() => {
3001
- const d = this.defaults();
3002
- const custom = this.clasesManual()?.icono || '';
3003
- return `shrink-0 ${d.iconColor} ${custom}`;
3004
- });
3005
- clasesTitulo = computed(() => `font-bold mb-1 ${this.clasesManual()?.titulo || ''}`);
3006
- clasesMensaje = computed(() => `text-xs leading-relaxed ${this.clasesManual()?.mensaje || ''}`);
3007
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AlertaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3008
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: AlertaComponent, isStandalone: true, selector: "jvs-alerta", inputs: { tipo: { classPropertyName: "tipo", publicName: "tipo", isSignal: true, isRequired: false, transformFunction: null }, titulo: { classPropertyName: "titulo", publicName: "titulo", isSignal: true, isRequired: false, transformFunction: null }, mensaje: { classPropertyName: "mensaje", publicName: "mensaje", isSignal: true, isRequired: false, transformFunction: null }, iconoManual: { classPropertyName: "iconoManual", publicName: "icono", isSignal: true, isRequired: false, transformFunction: null }, clasesManual: { classPropertyName: "clasesManual", publicName: "clases", isSignal: true, isRequired: false, transformFunction: null }, botonCerrar: { classPropertyName: "botonCerrar", publicName: "botonCerrar", isSignal: true, isRequired: false, transformFunction: null }, botonAcepto: { classPropertyName: "botonAcepto", publicName: "botonAcepto", isSignal: true, isRequired: false, transformFunction: null }, textoAcepto: { classPropertyName: "textoAcepto", publicName: "textoAcepto", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { alCerrar: "alCerrar", alAceptar: "alAceptar" }, ngImport: i0, template: "<div [class]=\"clasesContenedor()\">\n <!-- Icono -->\n <div [class]=\"clasesIcono()\">\n <mat-icon [svgIcon]=\"iconoFinal()\"></mat-icon>\n </div>\n\n <!-- Contenido -->\n <div class=\"flex-grow min-w-0\">\n @if (titulo()) {\n <h4 [class]=\"clasesTitulo()\">{{ titulo() }}</h4>\n }\n\n <div [class]=\"clasesMensaje()\">\n @if (mensaje()) {\n {{ mensaje() }}\n } @else {\n <ng-content></ng-content>\n }\n </div>\n\n <!-- Acciones -->\n @if (botonAcepto()) {\n <div [class]=\"'mt-4 flex ' + (clasesManual().acciones || '')\">\n <button\n type=\"button\"\n (click)=\"alAceptar.emit()\"\n class=\"px-4 py-2 bg-white border border-current rounded-lg font-bold text-xs hover:bg-opacity-10 transition-colors\"\n >\n {{ textoAcepto() }}\n </button>\n </div>\n }\n </div>\n\n <!-- Bot\u00F3n Cerrar -->\n @if (botonCerrar()) {\n <button\n type=\"button\"\n (click)=\"alCerrar.emit()\"\n class=\"shrink-0 hover:bg-black/5 p-1 rounded-md transition-colors\"\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-4 w-4 opacity-50\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18L18 6M6 6l12 12\" />\n </svg>\n </button>\n }\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
3009
- }
3010
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AlertaComponent, decorators: [{
3011
- type: Component,
3012
- args: [{ selector: 'jvs-alerta', standalone: true, imports: [CommonModule, MatIconModule], template: "<div [class]=\"clasesContenedor()\">\n <!-- Icono -->\n <div [class]=\"clasesIcono()\">\n <mat-icon [svgIcon]=\"iconoFinal()\"></mat-icon>\n </div>\n\n <!-- Contenido -->\n <div class=\"flex-grow min-w-0\">\n @if (titulo()) {\n <h4 [class]=\"clasesTitulo()\">{{ titulo() }}</h4>\n }\n\n <div [class]=\"clasesMensaje()\">\n @if (mensaje()) {\n {{ mensaje() }}\n } @else {\n <ng-content></ng-content>\n }\n </div>\n\n <!-- Acciones -->\n @if (botonAcepto()) {\n <div [class]=\"'mt-4 flex ' + (clasesManual().acciones || '')\">\n <button\n type=\"button\"\n (click)=\"alAceptar.emit()\"\n class=\"px-4 py-2 bg-white border border-current rounded-lg font-bold text-xs hover:bg-opacity-10 transition-colors\"\n >\n {{ textoAcepto() }}\n </button>\n </div>\n }\n </div>\n\n <!-- Bot\u00F3n Cerrar -->\n @if (botonCerrar()) {\n <button\n type=\"button\"\n (click)=\"alCerrar.emit()\"\n class=\"shrink-0 hover:bg-black/5 p-1 rounded-md transition-colors\"\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"h-4 w-4 opacity-50\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18L18 6M6 6l12 12\" />\n </svg>\n </button>\n }\n</div>\n", styles: [":host{display:block}\n"] }]
3013
- }] });
1
+ export * from '@jvsoft/components/dialog-flotante';
2
+ export * from '@jvsoft/components/tabla-mantenimiento';
3
+ export * from '@jvsoft/components/luces-navidad';
4
+ export * from '@jvsoft/components/mat-suffix-search-button';
5
+ export * from '@jvsoft/components/menu';
6
+ export * from '@jvsoft/components/lista-arbol';
7
+ export * from '@jvsoft/components/filtro-busqueda';
8
+ export * from '@jvsoft/components/alerta';
9
+ export * from '@jvsoft/components/foto-persona';
3014
10
 
3015
11
  // export {};
3016
12
  // import './src/styles.scss';
@@ -3018,6 +14,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3018
14
  /**
3019
15
  * Generated bundle index. Do not edit.
3020
16
  */
3021
-
3022
- export { AlertaComponent, DialogFlotanteComponent, FiltroBusquedaComponent, FiltroBusquedaService, ListaArbolComponent, LucesNavidadComponent, MatSuffixSearchButtonComponent, MenuComponent, ProgressBarComponent, QUERY_SERVICE_TOKEN, TablaMantenimientoComponent, TablaMantenimientoService };
3023
17
  //# sourceMappingURL=jvsoft-components.mjs.map