general-library-union 2.5.21 → 2.5.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.mjs +15 -8
- package/esm2022/src/app/webcommon/popups/popup-reporte/popup-reporte.component.mjs +7 -1
- package/fesm2022/general-library-union.mjs +15 -3
- package/fesm2022/general-library-union.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component.d.ts +3 -1
- package/src/styles/primeng/sass/overrides/_theme_styles.scss +0 -1
- package/src/styles/primeng/sass/overrides/_theme_styles_dark.scss +1 -1
|
@@ -12691,7 +12691,9 @@ class PopupReporteComponent {
|
|
|
12691
12691
|
await this.validarExisteJasper();
|
|
12692
12692
|
await this.cargarGeneraciones();
|
|
12693
12693
|
this.cargarOperaciones();
|
|
12694
|
+
this.utilsService.resizeWindowIFrame();
|
|
12694
12695
|
}
|
|
12696
|
+
this.utilsService.resizeWindowIFrame();
|
|
12695
12697
|
}
|
|
12696
12698
|
cargarMenu() {
|
|
12697
12699
|
this.items = [
|
|
@@ -12803,6 +12805,7 @@ class PopupReporteComponent {
|
|
|
12803
12805
|
parametro.unionDTO.valor = lista[0];
|
|
12804
12806
|
}
|
|
12805
12807
|
}
|
|
12808
|
+
this.utilsService.resizeWindowIFrame();
|
|
12806
12809
|
}
|
|
12807
12810
|
cambioSoporteBase(event) {
|
|
12808
12811
|
if (this.soporteBase == null) {
|
|
@@ -12816,6 +12819,7 @@ class PopupReporteComponent {
|
|
|
12816
12819
|
this.soporteBase = archivoBase.llaveTabla;
|
|
12817
12820
|
this.reporte.archivoIndividual = archivoBase.archivoIndividual;
|
|
12818
12821
|
this.cargarOperaciones();
|
|
12822
|
+
this.utilsService.resizeWindowIFrame();
|
|
12819
12823
|
});
|
|
12820
12824
|
}
|
|
12821
12825
|
cargarCorreo() {
|
|
@@ -12835,6 +12839,7 @@ class PopupReporteComponent {
|
|
|
12835
12839
|
element.unionDTO.valor = new Date(element.unionDTO.valor);
|
|
12836
12840
|
}
|
|
12837
12841
|
});
|
|
12842
|
+
this.utilsService.resizeWindowIFrame();
|
|
12838
12843
|
}
|
|
12839
12844
|
else {
|
|
12840
12845
|
this.ejecucionReporteService.obtenerListaEntradaEjecucion(this.reporte).subscribe(data => {
|
|
@@ -12847,6 +12852,7 @@ class PopupReporteComponent {
|
|
|
12847
12852
|
element.unionDTO.valor = new Date(element.unionDTO.valor);
|
|
12848
12853
|
}
|
|
12849
12854
|
});
|
|
12855
|
+
this.utilsService.resizeWindowIFrame();
|
|
12850
12856
|
});
|
|
12851
12857
|
}
|
|
12852
12858
|
}
|
|
@@ -13756,19 +13762,21 @@ class ListadoEjecucionReporteExternoComponent {
|
|
|
13756
13762
|
translateService;
|
|
13757
13763
|
ejecucionReporteService;
|
|
13758
13764
|
menuService;
|
|
13765
|
+
utilsService;
|
|
13759
13766
|
filtro;
|
|
13760
13767
|
listaReporteExterno;
|
|
13761
13768
|
reporteSeleccionado;
|
|
13762
13769
|
filters = [];
|
|
13763
13770
|
isPopupReporte = false;
|
|
13764
13771
|
reporte;
|
|
13765
|
-
constructor(authService, generalPipe, generalService, translateService, ejecucionReporteService, menuService) {
|
|
13772
|
+
constructor(authService, generalPipe, generalService, translateService, ejecucionReporteService, menuService, utilsService) {
|
|
13766
13773
|
this.authService = authService;
|
|
13767
13774
|
this.generalPipe = generalPipe;
|
|
13768
13775
|
this.generalService = generalService;
|
|
13769
13776
|
this.translateService = translateService;
|
|
13770
13777
|
this.ejecucionReporteService = ejecucionReporteService;
|
|
13771
13778
|
this.menuService = menuService;
|
|
13779
|
+
this.utilsService = utilsService;
|
|
13772
13780
|
}
|
|
13773
13781
|
ngOnInit() {
|
|
13774
13782
|
this.reporte = new ReporteFuenteModel();
|
|
@@ -13785,6 +13793,7 @@ class ListadoEjecucionReporteExternoComponent {
|
|
|
13785
13793
|
}
|
|
13786
13794
|
cargarListaFiltros(event) {
|
|
13787
13795
|
this.cargarListaReporteExterno(event);
|
|
13796
|
+
this.utilsService.resizeWindowIFrame();
|
|
13788
13797
|
}
|
|
13789
13798
|
cargarFiltro() {
|
|
13790
13799
|
this.filters = [
|
|
@@ -13802,29 +13811,32 @@ class ListadoEjecucionReporteExternoComponent {
|
|
|
13802
13811
|
this.filtro.login = this.authService.getTokenKey('usuario');
|
|
13803
13812
|
let objetoFiltro = new GeneralModel('ReporteFuenteDTO', null, false, this.filtro);
|
|
13804
13813
|
this.listaReporteExterno = await this.generalService.queryForList(objetoFiltro).toPromise();
|
|
13814
|
+
this.utilsService.resizeWindowIFrame();
|
|
13805
13815
|
}
|
|
13806
13816
|
async verAction(event) {
|
|
13807
13817
|
if (event.data.llave) {
|
|
13808
13818
|
let data = await this.ejecucionReporteService.getDatosEjecucionReporte({ llave: event.data.llave }).toPromise();
|
|
13809
13819
|
this.reporte = data.reporte;
|
|
13810
13820
|
this.isPopupReporte = true;
|
|
13821
|
+
this.utilsService.resizeWindowIFrame();
|
|
13811
13822
|
}
|
|
13812
13823
|
else {
|
|
13813
13824
|
this.reporte = new ReporteFuenteModel();
|
|
13814
13825
|
}
|
|
13826
|
+
this.utilsService.resizeWindowIFrame();
|
|
13815
13827
|
}
|
|
13816
13828
|
regresarPopupReporte(event) {
|
|
13817
13829
|
this.reporteSeleccionado = null;
|
|
13818
13830
|
this.isPopupReporte = false;
|
|
13819
13831
|
this.reporte = new ReporteFuenteModel();
|
|
13820
13832
|
}
|
|
13821
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: ListadoEjecucionReporteExternoComponent, deps: [{ token: AuthService }, { token: GeneralPipe }, { token: GeneralService }, { token: i7$1.TranslateService }, { token: EjecucionReporteService }, { token: MenuService$1 }], target: i0.ɵɵFactoryTarget.Component });
|
|
13833
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: ListadoEjecucionReporteExternoComponent, deps: [{ token: AuthService }, { token: GeneralPipe }, { token: GeneralService }, { token: i7$1.TranslateService }, { token: EjecucionReporteService }, { token: MenuService$1 }, { token: UtilsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13822
13834
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.4", type: ListadoEjecucionReporteExternoComponent, isStandalone: true, selector: "app-listado-ejecucion-reporte-externo", ngImport: i0, template: "<div id=\"id_listado_ejecucion_reporte_externo\">\n\n <div class=\"flex justify-content-between align-items-center mb-3\">\n\n <!-- Filtro-->\n <app-filtro-general #filtroItem [filtros]=\"filters\" (metodoRegresar)=\"cargarListaFiltros($event)\">\n <ng-template let-form>\n <ng-container [formGroup]=\"form\">\n <div class=\"flex mt-3\">\n <div class=\"mr-3 w-full\">\n <span class=\"p-float-label\">\n <input pInputText type=\"text\" id=\"id_descripcion\" formControlName=\"descripcion\"\n autocomplete=\"off\" />\n <label for=\"id_responsable\">{{'descripcion' | translate}}</label>\n </span>\n </div>\n </div>\n </ng-container>\n </ng-template>\n </app-filtro-general>\n\n </div>\n\n <p-table #tablaGeneral id=\"tabla_lista_reporte_externo\" [value]=\"listaReporteExterno\" responsiveLayout=\"scroll\"\n [rows]=\"10\" [paginator]=\"listaReporteExterno.length > 10\" [totalRecords]=\"listaReporteExterno.length\"\n scrollDirection=\"horizontal\" styleClass=\"p-datatable-striped\" [rowsPerPageOptions]=\"[10, 20, 50]\"\n selectionMode=\"single\" currentPageReportTemplate=\"{first} al {last} de {totalRecords} registros\"\n [showCurrentPageReport]=\"true\" dataKey=\"llaveTabla\" (onRowSelect)=\"verAction($event)\"\n [(selection)]=\"reporteSeleccionado\">\n\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'reporte' | translate}}{{'s' | translate}}</th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-item>\n <tr [pSelectableRow]=\"item\">\n <td>{{item.descripcion}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n</div>\n\n<app-popup-reporte [mostrar]=\"isPopupReporte\" [reporte]=\"reporte\"\n (regresar)=\"regresarPopupReporte($event)\"></app-popup-reporte>", styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i17.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i7.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i17.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$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: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: PopupReporteComponent, selector: "app-popup-reporte", inputs: ["mostrar", "aplicacion", "reporte", "entradasPuntoProceso"], outputs: ["regresar"] }, { kind: "component", type: FiltroGeneralComponent, selector: "app-filtro-general", inputs: ["filtros", "datatable"], outputs: ["metodoRegresar", "metodoRegresarAdicional"] }] });
|
|
13823
13835
|
}
|
|
13824
13836
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: ListadoEjecucionReporteExternoComponent, decorators: [{
|
|
13825
13837
|
type: Component,
|
|
13826
13838
|
args: [{ selector: 'app-listado-ejecucion-reporte-externo', imports: [TranslateModule, TableModule, FormsModule, ReactiveFormsModule, PopupReporteComponent, FiltroGeneralComponent], standalone: true, template: "<div id=\"id_listado_ejecucion_reporte_externo\">\n\n <div class=\"flex justify-content-between align-items-center mb-3\">\n\n <!-- Filtro-->\n <app-filtro-general #filtroItem [filtros]=\"filters\" (metodoRegresar)=\"cargarListaFiltros($event)\">\n <ng-template let-form>\n <ng-container [formGroup]=\"form\">\n <div class=\"flex mt-3\">\n <div class=\"mr-3 w-full\">\n <span class=\"p-float-label\">\n <input pInputText type=\"text\" id=\"id_descripcion\" formControlName=\"descripcion\"\n autocomplete=\"off\" />\n <label for=\"id_responsable\">{{'descripcion' | translate}}</label>\n </span>\n </div>\n </div>\n </ng-container>\n </ng-template>\n </app-filtro-general>\n\n </div>\n\n <p-table #tablaGeneral id=\"tabla_lista_reporte_externo\" [value]=\"listaReporteExterno\" responsiveLayout=\"scroll\"\n [rows]=\"10\" [paginator]=\"listaReporteExterno.length > 10\" [totalRecords]=\"listaReporteExterno.length\"\n scrollDirection=\"horizontal\" styleClass=\"p-datatable-striped\" [rowsPerPageOptions]=\"[10, 20, 50]\"\n selectionMode=\"single\" currentPageReportTemplate=\"{first} al {last} de {totalRecords} registros\"\n [showCurrentPageReport]=\"true\" dataKey=\"llaveTabla\" (onRowSelect)=\"verAction($event)\"\n [(selection)]=\"reporteSeleccionado\">\n\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'reporte' | translate}}{{'s' | translate}}</th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-item>\n <tr [pSelectableRow]=\"item\">\n <td>{{item.descripcion}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n</div>\n\n<app-popup-reporte [mostrar]=\"isPopupReporte\" [reporte]=\"reporte\"\n (regresar)=\"regresarPopupReporte($event)\"></app-popup-reporte>" }]
|
|
13827
|
-
}], ctorParameters: () => [{ type: AuthService }, { type: GeneralPipe }, { type: GeneralService }, { type: i7$1.TranslateService }, { type: EjecucionReporteService }, { type: MenuService$1 }] });
|
|
13839
|
+
}], ctorParameters: () => [{ type: AuthService }, { type: GeneralPipe }, { type: GeneralService }, { type: i7$1.TranslateService }, { type: EjecucionReporteService }, { type: MenuService$1 }, { type: UtilsService }] });
|
|
13828
13840
|
|
|
13829
13841
|
class CampoFormularioNuevoModel {
|
|
13830
13842
|
tipo;
|