@fluxhub/fluxhub-lib 19.0.213 → 19.0.214

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.
@@ -1,5 +1,5 @@
1
1
  import { Clipboard } from '@angular/cdk/clipboard';
2
- import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
3
3
  import { MatDialog } from '@angular/material/dialog';
4
4
  import { MatSlideToggle } from '@angular/material/slide-toggle';
5
5
  import { GridOptions } from 'ag-grid-community';
@@ -15,7 +15,7 @@ import { TranslateService } from '@ngx-translate/core';
15
15
  import { HttpClient } from '@angular/common/http';
16
16
  import { FHToolbarCommand } from './models/fh-grid-toolbar.models';
17
17
  import * as i0 from "@angular/core";
18
- export declare class FHGridComponent implements AfterViewInit {
18
+ export declare class FHGridComponent implements AfterViewInit, OnDestroy {
19
19
  private _gridservice;
20
20
  private _toast;
21
21
  private _dataService;
@@ -27,6 +27,7 @@ export declare class FHGridComponent implements AfterViewInit {
27
27
  private _trs;
28
28
  private http;
29
29
  private cdr;
30
+ private el;
30
31
  width_max: string;
31
32
  browser: string;
32
33
  getBrowserName(): "edge" | "opera" | "chrome" | "ie" | "firefox" | "safari" | "other";
@@ -169,6 +170,15 @@ export declare class FHGridComponent implements AfterViewInit {
169
170
  help_window(): void;
170
171
  onResize(): void;
171
172
  show_pulisci_filtri: boolean;
173
+ private pendingAutoSize;
174
+ private _visRO?;
175
+ /** True se l'host della grid è effettivamente renderizzato con una larghezza reale
176
+ * (non dentro un tab nascosto / display:none). */
177
+ private isGridVisible;
178
+ /** Osserva l'host: appena la grid passa da nascosta a visibile (es. attivazione del
179
+ * tab), se c'era un auto-fit rimandato lo esegue una sola volta. */
180
+ private setupVisibilityAutoSize;
181
+ ngOnDestroy(): void;
172
182
  autoSizeAll(): void;
173
183
  fitSizeAll(): void;
174
184
  selectCount(): number;
@@ -176,7 +186,7 @@ export declare class FHGridComponent implements AfterViewInit {
176
186
  selectAllFiltered(): void;
177
187
  deselectAllFiltered(): void;
178
188
  pulisci_filtri(resetr?: boolean): void;
179
- constructor(_gridservice: GridService, _toast: ToastrService, _dataService: QueryService, m_appService: AppService, m_dialog: MatDialog, uti_s: UtilityService, _fileService: FileService, clipboard: Clipboard, _trs: TranslateService, http: HttpClient, cdr: ChangeDetectorRef);
189
+ constructor(_gridservice: GridService, _toast: ToastrService, _dataService: QueryService, m_appService: AppService, m_dialog: MatDialog, uti_s: UtilityService, _fileService: FileService, clipboard: Clipboard, _trs: TranslateService, http: HttpClient, cdr: ChangeDetectorRef, el: ElementRef);
180
190
  uiid_stampa: string;
181
191
  xxopx: number;
182
192
  dialogRef_W: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "19.0.213",
3
+ "version": "19.0.214",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",