@fluxhub/fluxhub-lib 19.0.212 → 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.
- package/fesm2022/fluxhub-fluxhub-lib.mjs +107 -7
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/lib/controls/fh-grid.d.ts +13 -3
- package/lib/services/auth.interceptor.d.ts +1 -0
- package/lib/services/utility.service.d.ts +9 -0
- package/lib/wkf_engine_v2/win-select-level.d.ts +8 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -9,6 +9,7 @@ export declare class AuthHttpRequestInterceptor implements HttpInterceptor {
|
|
|
9
9
|
private http;
|
|
10
10
|
private isRefreshing;
|
|
11
11
|
constructor(loginservice: AuthenticationService, appService: AppService, http: HttpClient);
|
|
12
|
+
private dlog;
|
|
12
13
|
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
13
14
|
getJwtToken(): string;
|
|
14
15
|
private refreshTokenSubject;
|
|
@@ -9,6 +9,15 @@ export declare class UtilityService {
|
|
|
9
9
|
private titleService;
|
|
10
10
|
private translateService;
|
|
11
11
|
constructor(app_s: AppService, titleService: Title, translateService: TranslateService);
|
|
12
|
+
/**
|
|
13
|
+
* Log di debug attivo SOLO sul dev server ng-serve (localhost:4200):
|
|
14
|
+
* in produzione non stampa nulla. È STATICO di proposito: così è
|
|
15
|
+
* richiamabile ovunque senza iniettare UtilityService — anche dentro gli
|
|
16
|
+
* HTTP interceptor, dove iniettare un service che usa HttpClient darebbe
|
|
17
|
+
* un cyclic dependency ("Cannot instantiate cyclic dependency! HttpClient").
|
|
18
|
+
* Uso: UtilityService.dlog('[TAG]', valore, ...);
|
|
19
|
+
*/
|
|
20
|
+
static dlog(...args: any[]): void;
|
|
12
21
|
set_home_title(s: string): void;
|
|
13
22
|
get_home_title(): string;
|
|
14
23
|
disabilitaConsole(): void;
|
|
@@ -19,6 +19,14 @@ export declare class win_select_level_v2 implements AfterViewInit {
|
|
|
19
19
|
buttons: DialogButton[];
|
|
20
20
|
constructor(dialogRef: MatDialogRef<win_select_level_v2>, toastr: ToastrService, _tsr: TranslateService, data: any);
|
|
21
21
|
private updateButtons;
|
|
22
|
+
/**
|
|
23
|
+
* Classe CSS FontAwesome per l'icona dello step. Il valore (scelto con
|
|
24
|
+
* FHIconPicker) puo` essere: classe completa ("fa-solid fa-check",
|
|
25
|
+
* "fa-brands fa-github"), nome con prefisso ("fa-check") o nome semplice
|
|
26
|
+
* ("check"). Se manca lo stile assume "fa-solid". Gestisce anche i vecchi
|
|
27
|
+
* valori FontAwesome 4 ("fa fa-check").
|
|
28
|
+
*/
|
|
29
|
+
iconClass(v: string): string;
|
|
22
30
|
onBeforeClose(event: DialogBeforeCloseEvent): void;
|
|
23
31
|
close(): void;
|
|
24
32
|
sel(o: any): void;
|