@fluxhub/fluxhub-lib 19.0.247 → 19.0.249
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.
|
@@ -169,7 +169,7 @@ export declare class FHGridComponent implements AfterViewInit, OnDestroy {
|
|
|
169
169
|
icon: string;
|
|
170
170
|
})[];
|
|
171
171
|
export_excel(type?: string): void;
|
|
172
|
-
check_end(format: any): void;
|
|
172
|
+
check_end(format: any, uiid?: string, dialogRef?: any): void;
|
|
173
173
|
downloadFile(fn: string, filename: string): void;
|
|
174
174
|
gridOptions: any;
|
|
175
175
|
last_copy: string;
|
|
@@ -172,7 +172,7 @@ export declare class FHGridInternalComponent implements AfterViewInit {
|
|
|
172
172
|
xxopx: number;
|
|
173
173
|
dialogRef_W: any;
|
|
174
174
|
export_excel(format?: string): void;
|
|
175
|
-
check_end(format: any): void;
|
|
175
|
+
check_end(format: any, uiid?: string, dialogRef?: any): void;
|
|
176
176
|
downloadFile(fn: string, filename: string): void;
|
|
177
177
|
print(): void;
|
|
178
178
|
private init_conf;
|
|
@@ -46,3 +46,11 @@ export declare function fhReport(reporter: FHErrorReporter | null, r: FHErrorRep
|
|
|
46
46
|
/** Report per un errore di trasporto, o null se non va segnalato. */
|
|
47
47
|
export declare function fhHttpErrorReport(err: any, base: Omit<FHErrorReport, 'kind' | 'message' | 'status' | 'serverEventId'>): FHErrorReport | null;
|
|
48
48
|
export declare function fhEventId(h: HttpHeaders | null | undefined): string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Errore rilanciato dai servizi dati dopo un KO gia' mostrato a video (toast) e, per
|
|
51
|
+
* query e griglie, gia' segnalato: serve solo a interrompere la catena del chiamante.
|
|
52
|
+
* Se il chiamante non lo gestisce arriverebbe a Rustrak come "Error: No error message",
|
|
53
|
+
* doppione del KO: il portale lo riconosce con fhIsHandled() e lo scarta.
|
|
54
|
+
*/
|
|
55
|
+
export declare function fhHandledError(): Error;
|
|
56
|
+
export declare function fhIsHandled(err: unknown): boolean;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export { AppService } from './lib/services/app.service';
|
|
|
90
90
|
export { AppMakerService } from './lib/services/app-maker.service';
|
|
91
91
|
export { FileService } from './lib/services/dofile.service';
|
|
92
92
|
export { QueryService } from './lib/services/doquery.service';
|
|
93
|
-
export { FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_ROUTE_HEADER } from './lib/services/error-reporter';
|
|
93
|
+
export { FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_ROUTE_HEADER, fhHandledError, fhIsHandled } from './lib/services/error-reporter';
|
|
94
94
|
export type { FHErrorReport, FHErrorReporter } from './lib/services/error-reporter';
|
|
95
95
|
export { OdbcService } from './lib/services/doquery-odbc.service';
|
|
96
96
|
export { WkfService } from './lib/services/dowkf.service';
|