general-library-union 2.5.20 → 2.5.22

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.
@@ -12803,6 +12803,7 @@ class PopupReporteComponent {
12803
12803
  parametro.unionDTO.valor = lista[0];
12804
12804
  }
12805
12805
  }
12806
+ this.utilsService.resizeWindowIFrame();
12806
12807
  }
12807
12808
  cambioSoporteBase(event) {
12808
12809
  if (this.soporteBase == null) {
@@ -12816,6 +12817,7 @@ class PopupReporteComponent {
12816
12817
  this.soporteBase = archivoBase.llaveTabla;
12817
12818
  this.reporte.archivoIndividual = archivoBase.archivoIndividual;
12818
12819
  this.cargarOperaciones();
12820
+ this.utilsService.resizeWindowIFrame();
12819
12821
  });
12820
12822
  }
12821
12823
  cargarCorreo() {
@@ -12835,6 +12837,7 @@ class PopupReporteComponent {
12835
12837
  element.unionDTO.valor = new Date(element.unionDTO.valor);
12836
12838
  }
12837
12839
  });
12840
+ this.utilsService.resizeWindowIFrame();
12838
12841
  }
12839
12842
  else {
12840
12843
  this.ejecucionReporteService.obtenerListaEntradaEjecucion(this.reporte).subscribe(data => {
@@ -12847,6 +12850,7 @@ class PopupReporteComponent {
12847
12850
  element.unionDTO.valor = new Date(element.unionDTO.valor);
12848
12851
  }
12849
12852
  });
12853
+ this.utilsService.resizeWindowIFrame();
12850
12854
  });
12851
12855
  }
12852
12856
  }
@@ -13756,19 +13760,21 @@ class ListadoEjecucionReporteExternoComponent {
13756
13760
  translateService;
13757
13761
  ejecucionReporteService;
13758
13762
  menuService;
13763
+ utilsService;
13759
13764
  filtro;
13760
13765
  listaReporteExterno;
13761
13766
  reporteSeleccionado;
13762
13767
  filters = [];
13763
13768
  isPopupReporte = false;
13764
13769
  reporte;
13765
- constructor(authService, generalPipe, generalService, translateService, ejecucionReporteService, menuService) {
13770
+ constructor(authService, generalPipe, generalService, translateService, ejecucionReporteService, menuService, utilsService) {
13766
13771
  this.authService = authService;
13767
13772
  this.generalPipe = generalPipe;
13768
13773
  this.generalService = generalService;
13769
13774
  this.translateService = translateService;
13770
13775
  this.ejecucionReporteService = ejecucionReporteService;
13771
13776
  this.menuService = menuService;
13777
+ this.utilsService = utilsService;
13772
13778
  }
13773
13779
  ngOnInit() {
13774
13780
  this.reporte = new ReporteFuenteModel();
@@ -13802,6 +13808,7 @@ class ListadoEjecucionReporteExternoComponent {
13802
13808
  this.filtro.login = this.authService.getTokenKey('usuario');
13803
13809
  let objetoFiltro = new GeneralModel('ReporteFuenteDTO', null, false, this.filtro);
13804
13810
  this.listaReporteExterno = await this.generalService.queryForList(objetoFiltro).toPromise();
13811
+ this.utilsService.resizeWindowIFrame();
13805
13812
  }
13806
13813
  async verAction(event) {
13807
13814
  if (event.data.llave) {
@@ -13818,13 +13825,13 @@ class ListadoEjecucionReporteExternoComponent {
13818
13825
  this.isPopupReporte = false;
13819
13826
  this.reporte = new ReporteFuenteModel();
13820
13827
  }
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 });
13828
+ 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
13829
  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
13830
  }
13824
13831
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImport: i0, type: ListadoEjecucionReporteExternoComponent, decorators: [{
13825
13832
  type: Component,
13826
13833
  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 }] });
13834
+ }], ctorParameters: () => [{ type: AuthService }, { type: GeneralPipe }, { type: GeneralService }, { type: i7$1.TranslateService }, { type: EjecucionReporteService }, { type: MenuService$1 }, { type: UtilsService }] });
13828
13835
 
13829
13836
  class CampoFormularioNuevoModel {
13830
13837
  tipo;