@fluxhub/fluxhub-lib 18.0.34 → 18.0.36

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.
@@ -174,7 +174,7 @@ export declare class FHGridComponent implements AfterViewInit {
174
174
  xxopx: number;
175
175
  dialogRef_W: any;
176
176
  export_excel(format?: string): void;
177
- check_end(format: any): void;
177
+ check_end(format: any, uiid?: string, dialogRef?: any): void;
178
178
  downloadFile(fn: string, filename: string): void;
179
179
  print(): void;
180
180
  private init_conf;
@@ -124,7 +124,7 @@ export declare class FHGridComponentN implements AfterViewInit {
124
124
  icon: string;
125
125
  })[];
126
126
  export_excel(type?: string): void;
127
- check_end(format: any): void;
127
+ check_end(format: any, uiid?: string, dialogRef?: any): void;
128
128
  downloadFile(fn: string, filename: string): void;
129
129
  gridOptions: any;
130
130
  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;
@@ -54,3 +54,25 @@ export declare function fhEventId(h: HttpHeaders | null | undefined): string | n
54
54
  */
55
55
  export declare function fhHandledError(): Error;
56
56
  export declare function fhIsHandled(err: unknown): boolean;
57
+ /**
58
+ * Impostazioni comuni per Sentry.init dei portali (Rustrak): rumore da scartare e pulizia
59
+ * dei breadcrumb. Unica fonte per tutti i portali: una voce nuova si aggiunge qui e arriva
60
+ * a tutti con l'aggiornamento della libreria. Uso nel monitoring.ts del portale:
61
+ * Sentry.init({ dsn, release, ..., ...FH_MONITORING_DEFAULTS })
62
+ * Tipi volutamente generici: la libreria non dipende dall'SDK di Sentry.
63
+ * Rumore individuato analizzando le issue di tutti i portali il 21/10/2026.
64
+ */
65
+ export declare const FH_MONITORING_IGNORE_ERRORS: (string | RegExp)[];
66
+ /** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
67
+ export declare function fhMonitoringBeforeSend(event: any, hint: any): any;
68
+ /**
69
+ * Breadcrumb: i console.log dei portali stampano record interi (anche utenti con password),
70
+ * quindi dei log di console restano solo warning ed errori, senza argomenti; via anche il
71
+ * banner di licenza di AG Grid, che riempie la coda.
72
+ */
73
+ export declare function fhMonitoringBeforeBreadcrumb(b: any): any;
74
+ export declare const FH_MONITORING_DEFAULTS: {
75
+ ignoreErrors: (string | RegExp)[];
76
+ beforeSend: typeof fhMonitoringBeforeSend;
77
+ beforeBreadcrumb: typeof fhMonitoringBeforeBreadcrumb;
78
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "18.0.34",
3
+ "version": "18.0.36",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
package/public-api.d.ts CHANGED
@@ -83,7 +83,7 @@ export { AppService } from './lib/services/app.service';
83
83
  export { AppMakerService } from './lib/services/app-maker.service';
84
84
  export { FileService } from './lib/services/dofile.service';
85
85
  export { QueryService } from './lib/services/doquery.service';
86
- export { FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_ROUTE_HEADER, fhHandledError, fhIsHandled } from './lib/services/error-reporter';
86
+ export { FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_ROUTE_HEADER, fhHandledError, fhIsHandled, FH_MONITORING_DEFAULTS, FH_MONITORING_IGNORE_ERRORS, fhMonitoringBeforeSend, fhMonitoringBeforeBreadcrumb, } from './lib/services/error-reporter';
87
87
  export type { FHErrorReport, FHErrorReporter } from './lib/services/error-reporter';
88
88
  export { OdbcService } from './lib/services/doquery-odbc.service';
89
89
  export { WkfService } from './lib/services/dowkf.service';