@fluxhub/fluxhub-lib 22.0.12 → 22.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "22.0.12",
3
+ "version": "22.0.13",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "types/fluxhub-fluxhub-lib.d.ts",
@@ -3784,6 +3784,28 @@ declare const FH_ROUTE_HEADER = "X-FH-Route";
3784
3784
  */
3785
3785
  declare function fhHandledError(): Error;
3786
3786
  declare function fhIsHandled(err: unknown): boolean;
3787
+ /**
3788
+ * Impostazioni comuni per Sentry.init dei portali (Rustrak): rumore da scartare e pulizia
3789
+ * dei breadcrumb. Unica fonte per tutti i portali: una voce nuova si aggiunge qui e arriva
3790
+ * a tutti con l'aggiornamento della libreria. Uso nel monitoring.ts del portale:
3791
+ * Sentry.init({ dsn, release, ..., ...FH_MONITORING_DEFAULTS })
3792
+ * Tipi volutamente generici: la libreria non dipende dall'SDK di Sentry.
3793
+ * Rumore individuato analizzando le issue di tutti i portali il 21/10/2026.
3794
+ */
3795
+ declare const FH_MONITORING_IGNORE_ERRORS: (string | RegExp)[];
3796
+ /** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
3797
+ declare function fhMonitoringBeforeSend(event: any, hint: any): any;
3798
+ /**
3799
+ * Breadcrumb: i console.log dei portali stampano record interi (anche utenti con password),
3800
+ * quindi dei log di console restano solo warning ed errori, senza argomenti; via anche il
3801
+ * banner di licenza di AG Grid, che riempie la coda.
3802
+ */
3803
+ declare function fhMonitoringBeforeBreadcrumb(b: any): any;
3804
+ declare const FH_MONITORING_DEFAULTS: {
3805
+ ignoreErrors: (string | RegExp)[];
3806
+ beforeSend: typeof fhMonitoringBeforeSend;
3807
+ beforeBreadcrumb: typeof fhMonitoringBeforeBreadcrumb;
3808
+ };
3787
3809
 
3788
3810
  /** Motivo per cui un avanzamento headless non e' andato a buon fine. */
3789
3811
  type WkfProceedReason = 'OK' | 'NO_DOC' | 'CLOSED' | 'TASKS_OPEN' | 'NO_LEVELS' | 'NO_CURRENT_LEVEL' | 'NO_TRANSITION' | 'MULTIPLE_TRANSITIONS' | 'NO_RECIPIENTS' | 'MANUAL_ASSIGNMENT';
@@ -5472,5 +5494,5 @@ declare class FHAiAssistantComponent implements OnInit {
5472
5494
  static ɵcmp: i0.ɵɵComponentDeclaration<FHAiAssistantComponent, "FHAiAssistant", never, { "accent": { "alias": "accent"; "required": false; }; "accentDark": { "alias": "accentDark"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "openLabel": { "alias": "openLabel"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "dock": { "alias": "dock"; "required": false; }; "startOpen": { "alias": "startOpen"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "tagLabel": { "alias": "tagLabel"; "required": false; }; "welcomeTitle": { "alias": "welcomeTitle"; "required": false; }; "welcomeSubtitle": { "alias": "welcomeSubtitle"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "endpoint": { "alias": "endpoint"; "required": false; }; "path": { "alias": "path"; "required": false; }; "model": { "alias": "model"; "required": false; }; "stream": { "alias": "stream"; "required": false; }; "apiKey": { "alias": "apiKey"; "required": false; }; "forwardAuth": { "alias": "forwardAuth"; "required": false; }; "context": { "alias": "context"; "required": false; }; "systemPrompt": { "alias": "systemPrompt"; "required": false; }; }, {}, never, never, true, never>;
5473
5495
  }
5474
5496
 
5475
- export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, BpmnEditorComponent, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, DialogBaseComponent, FHAiAssistantComponent, FHAiChatComponent, FHAiService, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHHomeDocsComponent, FHHomeLauncherComponent, FHHomeStatsComponent, FHHomeTodoComponent, FHIconPickerComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMailArchivedComponent, FHMailPreviewComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolBarCustomAction, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSearchListComponent, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowTasksPanel, FHWorkflowView, FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_ROUTE_HEADER, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand, fhHandledError, fhIsHandled, fh_win_translate, wkfField };
5497
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, BpmnEditorComponent, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, DialogBaseComponent, FHAiAssistantComponent, FHAiChatComponent, FHAiService, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHHomeDocsComponent, FHHomeLauncherComponent, FHHomeStatsComponent, FHHomeTodoComponent, FHIconPickerComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMailArchivedComponent, FHMailPreviewComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolBarCustomAction, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSearchListComponent, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowTasksPanel, FHWorkflowView, FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_MONITORING_DEFAULTS, FH_MONITORING_IGNORE_ERRORS, FH_ROUTE_HEADER, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand, fhHandledError, fhIsHandled, fhMonitoringBeforeBreadcrumb, fhMonitoringBeforeSend, fh_win_translate, wkfField };
5476
5498
  export type { DialogBeforeCloseEvent, DialogButton, FHAiChunk, FHAiContext, FHAiMessage, FHAiRequestOptions, FHAiRole, FHAiSource, FHErrorReport, FHErrorReporter, FHGridColumn, FHLauncherApp, FHLauncherCategory, FHSearchListData, FHSearchListItem, FHTaskExternalHint, FHTaskExtraRow, FHToolbarButtonCommand, FHToolbarCheckboxCommand, FHToolbarCommand, FHToolbarSpacerCommand, FHToolbarTableManagerCommand, FiltroMailArchiviata, WkfCompleteTaskOptions, WkfFieldType, WkfFieldValue, WkfProceedOptions, WkfProceedReason, WkfProceedResult, WkfTaskResult };