@fluxhub/fluxhub-lib 22.0.11 → 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
|
@@ -3776,6 +3776,36 @@ declare const FH_ERROR_REPORTER: InjectionToken<FHErrorReporter>;
|
|
|
3776
3776
|
declare const FH_EVENT_ID_HEADER = "X-FH-Event-Id";
|
|
3777
3777
|
/** Header con la pagina del portale, letto dal server per arricchire i suoi eventi. */
|
|
3778
3778
|
declare const FH_ROUTE_HEADER = "X-FH-Route";
|
|
3779
|
+
/**
|
|
3780
|
+
* Errore rilanciato dai servizi dati dopo un KO gia' mostrato a video (toast) e, per
|
|
3781
|
+
* query e griglie, gia' segnalato: serve solo a interrompere la catena del chiamante.
|
|
3782
|
+
* Se il chiamante non lo gestisce arriverebbe a Rustrak come "Error: No error message",
|
|
3783
|
+
* doppione del KO: il portale lo riconosce con fhIsHandled() e lo scarta.
|
|
3784
|
+
*/
|
|
3785
|
+
declare function fhHandledError(): Error;
|
|
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
|
+
};
|
|
3779
3809
|
|
|
3780
3810
|
/** Motivo per cui un avanzamento headless non e' andato a buon fine. */
|
|
3781
3811
|
type WkfProceedReason = 'OK' | 'NO_DOC' | 'CLOSED' | 'TASKS_OPEN' | 'NO_LEVELS' | 'NO_CURRENT_LEVEL' | 'NO_TRANSITION' | 'MULTIPLE_TRANSITIONS' | 'NO_RECIPIENTS' | 'MANUAL_ASSIGNMENT';
|
|
@@ -5464,5 +5494,5 @@ declare class FHAiAssistantComponent implements OnInit {
|
|
|
5464
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>;
|
|
5465
5495
|
}
|
|
5466
5496
|
|
|
5467
|
-
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, 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 };
|
|
5468
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 };
|