@fluxhub/fluxhub-lib 22.0.5 → 22.0.7

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.5",
3
+ "version": "22.0.7",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "types/fluxhub-fluxhub-lib.d.ts",
@@ -4538,6 +4538,23 @@ interface FHTaskExternalHint {
4538
4538
  label: string;
4539
4539
  icon?: string;
4540
4540
  }
4541
+ /**
4542
+ * Riga di sola lettura da inserire nell'elenco dei task, subito dopo il task con
4543
+ * `after_check_key` (in fondo se la chiave non c'e'). Serve per le condizioni che non
4544
+ * sono task ma vanno lette accanto a essi (es. "attesa esito" dedotta dagli allegati):
4545
+ * niente pulsanti e non entrano nel conteggio di avanzamento.
4546
+ *
4547
+ * `icon` e' un material symbol (default `info`), `icon_color` il suo colore; `status`
4548
+ * compare a destra al posto dei pulsanti, `meta` sotto il titolo come per i task.
4549
+ */
4550
+ interface FHTaskExtraRow {
4551
+ after_check_key?: string;
4552
+ title: string;
4553
+ icon?: string;
4554
+ icon_color?: string;
4555
+ status?: string;
4556
+ meta?: string;
4557
+ }
4541
4558
  /**
4542
4559
  * Pannello dei task dello step corrente (step_mode='T').
4543
4560
  *
@@ -4572,6 +4589,14 @@ declare class FHWorkflowTasksPanel implements DoCheck {
4572
4589
  * se l'applicativo esterno lo ha concluso per errore.
4573
4590
  */
4574
4591
  ext_tasks: FHTaskExternalHint[];
4592
+ /**
4593
+ * Righe di sola lettura da mostrare tra i task (vedi `FHTaskExtraRow`), ciascuna dopo
4594
+ * il task con il suo `after_check_key`. Passare un riferimento stabile e sostituirlo
4595
+ * (non mutarlo) quando cambiano i dati: il pannello lo confronta per riferimento.
4596
+ *
4597
+ * [ext_rows]="[{after_check_key:'50_COM_PREVENTIVA', title:'ATTESA ESITO GSE', status:'In attesa'}]"
4598
+ */
4599
+ ext_rows: FHTaskExtraRow[];
4575
4600
  title: string;
4576
4601
  claim_label: string;
4577
4602
  release_label: string;
@@ -4592,6 +4617,8 @@ declare class FHWorkflowTasksPanel implements DoCheck {
4592
4617
  last_task_title: string;
4593
4618
  last_task_confirm: string;
4594
4619
  tasks: any[];
4620
+ /** Task e righe extra nell'ordine in cui si vedono (le extra hanno `_extra`). */
4621
+ rows: any[];
4595
4622
  totalRequired: number;
4596
4623
  doneRequired: number;
4597
4624
  progressPct: number;
@@ -4599,6 +4626,8 @@ declare class FHWorkflowTasksPanel implements DoCheck {
4599
4626
  private _lastTasksRef;
4600
4627
  /** Idem per `ext_tasks`: se cambia l'input vanno ricalcolate le indicazioni. */
4601
4628
  private _lastExtRef;
4629
+ /** Idem per `ext_rows`. */
4630
+ private _lastRowsRef;
4602
4631
  constructor(dialog: MatDialog, toastr: ToastrService | null);
4603
4632
  ngDoCheck(): void;
4604
4633
  private rebuild;
@@ -4617,7 +4646,7 @@ declare class FHWorkflowTasksPanel implements DoCheck {
4617
4646
  private doClose;
4618
4647
  onReopen(t: any): void;
4619
4648
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWorkflowTasksPanel, [null, { optional: true; }]>;
4620
- static ɵcmp: i0.ɵɵComponentDeclaration<FHWorkflowTasksPanel, "FHWorkflowTasksPanel", never, { "dt_agg": { "alias": "dt_agg"; "required": false; }; "is_supervisor": { "alias": "is_supervisor"; "required": false; }; "ext_tasks": { "alias": "ext_tasks"; "required": false; }; "title": { "alias": "title"; "required": false; }; "claim_label": { "alias": "claim_label"; "required": false; }; "release_label": { "alias": "release_label"; "required": false; }; "force_release_label": { "alias": "force_release_label"; "required": false; }; "in_charge_label": { "alias": "in_charge_label"; "required": false; }; "in_charge_you_label": { "alias": "in_charge_you_label"; "required": false; }; "claim_lost_label": { "alias": "claim_lost_label"; "required": false; }; "close_label": { "alias": "close_label"; "required": false; }; "reopen_label": { "alias": "reopen_label"; "required": false; }; "optional_label": { "alias": "optional_label"; "required": false; }; "closed_by_label": { "alias": "closed_by_label"; "required": false; }; "empty_label": { "alias": "empty_label"; "required": false; }; "no_role_label": { "alias": "no_role_label"; "required": false; }; "after_label": { "alias": "after_label"; "required": false; }; "locked_label": { "alias": "locked_label"; "required": false; }; "reopen_confirm": { "alias": "reopen_confirm"; "required": false; }; "note_label": { "alias": "note_label"; "required": false; }; "last_task_title": { "alias": "last_task_title"; "required": false; }; "last_task_confirm": { "alias": "last_task_confirm"; "required": false; }; }, {}, never, never, true, never>;
4649
+ static ɵcmp: i0.ɵɵComponentDeclaration<FHWorkflowTasksPanel, "FHWorkflowTasksPanel", never, { "dt_agg": { "alias": "dt_agg"; "required": false; }; "is_supervisor": { "alias": "is_supervisor"; "required": false; }; "ext_tasks": { "alias": "ext_tasks"; "required": false; }; "ext_rows": { "alias": "ext_rows"; "required": false; }; "title": { "alias": "title"; "required": false; }; "claim_label": { "alias": "claim_label"; "required": false; }; "release_label": { "alias": "release_label"; "required": false; }; "force_release_label": { "alias": "force_release_label"; "required": false; }; "in_charge_label": { "alias": "in_charge_label"; "required": false; }; "in_charge_you_label": { "alias": "in_charge_you_label"; "required": false; }; "claim_lost_label": { "alias": "claim_lost_label"; "required": false; }; "close_label": { "alias": "close_label"; "required": false; }; "reopen_label": { "alias": "reopen_label"; "required": false; }; "optional_label": { "alias": "optional_label"; "required": false; }; "closed_by_label": { "alias": "closed_by_label"; "required": false; }; "empty_label": { "alias": "empty_label"; "required": false; }; "no_role_label": { "alias": "no_role_label"; "required": false; }; "after_label": { "alias": "after_label"; "required": false; }; "locked_label": { "alias": "locked_label"; "required": false; }; "reopen_confirm": { "alias": "reopen_confirm"; "required": false; }; "note_label": { "alias": "note_label"; "required": false; }; "last_task_title": { "alias": "last_task_title"; "required": false; }; "last_task_confirm": { "alias": "last_task_confirm"; "required": false; }; }, {}, never, never, true, never>;
4621
4650
  }
4622
4651
 
4623
4652
  declare class BpmnEditorComponent implements AfterViewInit, OnDestroy {
@@ -5434,4 +5463,4 @@ declare class FHAiAssistantComponent implements OnInit {
5434
5463
  }
5435
5464
 
5436
5465
  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 };
5437
- export type { DialogBeforeCloseEvent, DialogButton, FHAiChunk, FHAiContext, FHAiMessage, FHAiRequestOptions, FHAiRole, FHAiSource, FHErrorReport, FHErrorReporter, FHGridColumn, FHLauncherApp, FHLauncherCategory, FHSearchListData, FHSearchListItem, FHTaskExternalHint, FHToolbarButtonCommand, FHToolbarCheckboxCommand, FHToolbarCommand, FHToolbarSpacerCommand, FHToolbarTableManagerCommand, FiltroMailArchiviata, WkfCompleteTaskOptions, WkfFieldType, WkfFieldValue, WkfProceedOptions, WkfProceedReason, WkfProceedResult, WkfTaskResult };
5466
+ 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 };