@fluxhub/fluxhub-lib 19.0.236 → 19.0.237

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.
@@ -93,6 +93,18 @@ export declare class WkfService {
93
93
  */
94
94
  private is_true;
95
95
  private cur_user;
96
+ /**
97
+ * Riga di log sul documento (`wkf_workflow`), la stessa tabella del log del form:
98
+ * le operazioni sulle attivita' devono comparire nel dialog LOGS come quelle del
99
+ * motore, altrimenti una pratica avanzata da un'applicazione esterna risulta
100
+ * mossa "da sola".
101
+ *
102
+ * Il dialog rende `operazione (stato_attuale)`: qui il titolo dell'attivita' va
103
+ * nel secondo campo, cosi' la riga si legge come le altre ("... (ATTESA SCHEDA
104
+ * TECNICA)"). Il log e' accessorio: un suo errore non deve far fallire
105
+ * l'operazione, quindi l'errore viene assorbito.
106
+ */
107
+ log_task_op(id_applicativo: string, id_documento: string, operazione: string, task: any, username?: string): Observable<any>;
96
108
  private dev_mode;
97
109
  /**
98
110
  * Testata del documento di workflow (stato, canale, creatore, codice, oggetto).
@@ -135,7 +147,7 @@ export declare class WkfService {
135
147
  */
136
148
  close_task(id_applicativo: string, id_documento: string, task: any, nota?: string | null, username?: string): Observable<boolean>;
137
149
  /** Riapre un task chiuso, azzerando anche la presa in carico. */
138
- reopen_task(id_applicativo: string, id_documento: string, task: any): Observable<boolean>;
150
+ reopen_task(id_applicativo: string, id_documento: string, task: any, username?: string): Observable<boolean>;
139
151
  /**
140
152
  * Segnala a exec_wkf la chiusura di un task: sblocco dei task dipendenti,
141
153
  * lettori e notifiche. La chiusura resta un UPDATE del frontend (serve l'esito
@@ -338,6 +338,13 @@ export declare abstract class FHWorkflowForm {
338
338
  * @param done (ok, owner) — ok=false se un altro utente ha vinto la corsa.
339
339
  */
340
340
  claim_task(task: any, done?: (ok: boolean, owner: string) => void): void;
341
+ /**
342
+ * Riga di log sul documento per un'operazione di attività (`wkf_workflow`, la
343
+ * stessa tabella del log del motore). Il dialog LOGS rende `operazione
344
+ * (stato_attuale)`: nel secondo campo va il titolo dell'attività, così la riga si
345
+ * distingue dalla presa in carico del documento, che lì mette lo stato.
346
+ */
347
+ private log_task_op;
341
348
  /**
342
349
  * Rilascia la presa in carico. `force` (supervisori) sblocca anche i task presi
343
350
  * in carico da altri: serve per i lock rimasti appesi.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "19.0.236",
3
+ "version": "19.0.237",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",