@fluxhub/fluxhub-lib 19.0.215 → 19.0.217

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.
@@ -34347,8 +34347,10 @@ class FHWorkflowForm {
34347
34347
  // ---------------------------------------------------------------------------
34348
34348
  /**
34349
34349
  * Carica i task dello step corrente con il loro stato sul documento.
34350
- * `can_close` e `locked` sono calcolati lato SQL (ruoli dell'utente / wave
34351
- * precedente della stessa corsia ancora aperta).
34350
+ * `can_close` e `locked` sono calcolati lato SQL: il primo dai ruoli/variabili
34351
+ * speciali dell'utente, il secondo dal task da cui questo dipende (`depends_on`)
34352
+ * quando non e' ancora chiuso. Le catene si propagano da sole: un padre bloccato
34353
+ * non e' chiuso, quindi il figlio resta bloccato.
34352
34354
  */
34353
34355
  load_step_tasks(after) {
34354
34356
  if (!this.id_documento || this.m_obj == null)
@@ -34371,7 +34373,6 @@ class FHWorkflowForm {
34371
34373
  this.step_tasks = (data.result_data || []).map((t) => ({
34372
34374
  ...t,
34373
34375
  stato: Number(t.stato || 0),
34374
- wave: Number(t.wave || 1),
34375
34376
  required: Number(t.required || 0),
34376
34377
  note_required: Number(t.note_required || 0),
34377
34378
  can_close: Number(t.can_close || 0) > 0,
@@ -34495,12 +34496,62 @@ class FHWorkflowForm {
34495
34496
  // Ricarico dal DB invece di aggiornare in locale: `locked` degli altri task
34496
34497
  // dipende da questo, e un altro utente puo' aver chiuso qualcosa nel frattempo.
34497
34498
  this.load_step_tasks(() => {
34498
- if (this.tasks_all_done && this.b_edit)
34499
+ if (this.tasks_all_done && this.b_edit) {
34500
+ // Lo step avanza: ci pensa procedi() -> exec_wkf, che ricalcola lettori e
34501
+ // notifiche sullo step di destinazione. Inutile (e sbagliato) notificare i
34502
+ // task di uno step che stiamo lasciando.
34499
34503
  this.procedi();
34504
+ }
34505
+ else {
34506
+ this.notify_task_closed(task.uiid);
34507
+ }
34500
34508
  });
34501
34509
  });
34502
34510
  return true;
34503
34511
  }
34512
+ /**
34513
+ * Segnala a exec_wkf che un task e' stato chiuso, cosi' che possa gestire gli
34514
+ * effetti collaterali: i task che dipendevano da questo sono ora sbloccati, i loro
34515
+ * esecutori vanno messi tra i `lettori` del documento e vanno inviate le notifiche
34516
+ * configurate su quei task.
34517
+ *
34518
+ * La CHIUSURA resta nel frontend (UPDATE atomico con `preso_da`): serve un esito
34519
+ * sincrono per sapere chi ha vinto la corsa. Qui passiamo solo l'evento.
34520
+ * exec_wkf ricava i figli dal DB (`depends_on = uiid_task`): non gli mandiamo una
34521
+ * lista, cosi' non possiamo sbagliarla.
34522
+ */
34523
+ notify_task_closed(uiid_task) {
34524
+ let dev_mode = false;
34525
+ if (this.app_s.dev_mode != null)
34526
+ if (this.app_s.dev_mode == '1')
34527
+ dev_mode = true;
34528
+ const uiid_op = this.uti_s.newGuid();
34529
+ const p = new QParam();
34530
+ p.sql = 'INSERT_WKF_OP';
34531
+ p.values = [
34532
+ uiid_op,
34533
+ JSON.stringify({
34534
+ op_type: 'TASK_CLOSED',
34535
+ uiid_task: uiid_task,
34536
+ id_applicazione: this.id_applicativo,
34537
+ id_documento: this.id_documento,
34538
+ username: this.app_s.user,
34539
+ dev_mode: dev_mode || !this.is_send_email() ? 1 : 0,
34540
+ }),
34541
+ ];
34542
+ p.types = ['string', 'string'];
34543
+ this.m_dataService.doQuery(p).subscribe((d) => {
34544
+ if (d == null || d.result_msg != 'OK')
34545
+ return;
34546
+ const fs = new FSInput();
34547
+ fs.command = 'exec_app';
34548
+ fs.p1 = 'exec_wkf';
34549
+ fs.p2 = uiid_op;
34550
+ // Fire-and-forget: l'utente ha gia' visto il task chiuso, non lo facciamo
34551
+ // aspettare per l'invio delle mail.
34552
+ this.m_fileservice.doQuery(fs).subscribe();
34553
+ });
34554
+ }
34504
34555
  /**
34505
34556
  * Riapre un task chiuso, azzerando anche la presa in carico. Ammesso a chiunque
34506
34557
  * abbia i ruoli del task, finche' il documento e' ancora in quello step (dopo
@@ -34979,6 +35030,9 @@ class FHWorkflowHeaderBar {
34979
35030
  </div>
34980
35031
 
34981
35032
  <div *ngIf="dt_agg != null && dt_agg?.b_init_next">
35033
+ <!-- Respingi resta attivo anche in modalita' task: uno step a task deve
35034
+ poter tornare indietro. Sparisce solo Procedi (vedi sotto): li'
35035
+ l'avanzamento e' governato dalla chiusura dei task. -->
34982
35036
  <button
34983
35037
  mat-flat-button
34984
35038
  (click)="respingi()"
@@ -35227,6 +35281,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
35227
35281
  </div>
35228
35282
 
35229
35283
  <div *ngIf="dt_agg != null && dt_agg?.b_init_next">
35284
+ <!-- Respingi resta attivo anche in modalita' task: uno step a task deve
35285
+ poter tornare indietro. Sparisce solo Procedi (vedi sotto): li'
35286
+ l'avanzamento e' governato dalla chiusura dei task. -->
35230
35287
  <button
35231
35288
  mat-flat-button
35232
35289
  (click)="respingi()"
@@ -35438,9 +35495,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
35438
35495
  *
35439
35496
  * <FHWorkflowTasksPanel [dt_agg]="this"></FHWorkflowTasksPanel>
35440
35497
  *
35441
- * Mostra i task raggruppati per corsia (`lane`) e ondata (`wave`): i task di una
35442
- * wave si sbloccano quando tutti i task obbligatori delle wave precedenti della
35443
- * STESSA corsia sono chiusi. Le corsie sono indipendenti fra loro.
35498
+ * Un task senza `depends_on` e' eseguibile subito. Un task che dipende da un altro
35499
+ * resta bloccato (lucchetto) finche' quello non e' chiuso; le catene si propagano
35500
+ * da sole, perche' un padre bloccato non e' chiuso.
35444
35501
  *
35445
35502
  * Non e' una FHGrid: sono pochi record, servono pulsanti per riga e nessuna
35446
35503
  * paginazione.
@@ -35465,13 +35522,13 @@ class FHWorkflowTasksPanel {
35465
35522
  closed_by_label = 'chiuso da';
35466
35523
  empty_label = 'Nessuna attività configurata per questo step.';
35467
35524
  no_role_label = 'Non hai un ruolo abilitato su questa attività.';
35468
- locked_label = 'Si sblocca al completamento delle attività precedenti della stessa corsia.';
35525
+ after_label = 'dopo';
35526
+ locked_label = 'Si sblocca al completamento di';
35469
35527
  reopen_confirm = 'Vuoi riaprire questa attività?';
35470
35528
  note_label = 'Nota di chiusura';
35471
- // Valori pre-calcolati: MAI getter dinamici nel template. `lanes` costruisce
35472
- // array nuovi, e un getter lo rifarebbe a ogni change detection, dando a *ngFor
35473
- // un riferimento diverso ogni giro (churn e possibili loop di CD).
35474
- lanes = [];
35529
+ // Valori pre-calcolati: MAI getter dinamici nel template (un getter che costruisce
35530
+ // array darebbe a *ngFor un riferimento nuovo a ogni change detection).
35531
+ tasks = [];
35475
35532
  totalRequired = 0;
35476
35533
  doneRequired = 0;
35477
35534
  progressPct = 0;
@@ -35490,24 +35547,18 @@ class FHWorkflowTasksPanel {
35490
35547
  }
35491
35548
  rebuild() {
35492
35549
  const tasks = this.dt_agg?.step_tasks || [];
35493
- // Raggruppa per corsia preservando l'ordine restituito dalla query
35494
- // (lane, wave, ord, title).
35495
- const out = [];
35496
- const idx = {};
35497
35550
  for (const t of tasks) {
35498
35551
  // Campi di sola presentazione, calcolati UNA volta: niente funzioni in *ngFor.
35499
35552
  t._icon = t.stato === 1 ? 'check_circle' : t.locked ? 'lock' : 'radio_button_unchecked';
35500
- t._tooltip = t.locked ? this.locked_label : !t.can_close ? this.no_role_label : '';
35553
+ t._tooltip = t.locked
35554
+ ? this.locked_label + (t.depends_title ? ': ' + t.depends_title : '')
35555
+ : !t.can_close
35556
+ ? this.no_role_label
35557
+ : '';
35501
35558
  t._data_txt = this.fmtDate(t.data_chiusura);
35502
35559
  t._presa_txt = this.fmtDate(t.data_presa);
35503
- const key = t.lane || '';
35504
- if (idx[key] === undefined) {
35505
- idx[key] = out.length;
35506
- out.push({ name: key, tasks: [] });
35507
- }
35508
- out[idx[key]].tasks.push(t);
35509
35560
  }
35510
- this.lanes = out;
35561
+ this.tasks = tasks;
35511
35562
  const req = tasks.filter((t) => t.required === 1);
35512
35563
  this.totalRequired = req.length;
35513
35564
  this.doneRequired = req.filter((t) => t.stato === 1).length;
@@ -35586,7 +35637,7 @@ class FHWorkflowTasksPanel {
35586
35637
  });
35587
35638
  }
35588
35639
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHWorkflowTasksPanel, deps: [{ token: i1$2.MatDialog }, { token: i3$1.ToastrService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
35589
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHWorkflowTasksPanel, isStandalone: true, selector: "FHWorkflowTasksPanel", inputs: { dt_agg: "dt_agg", is_supervisor: "is_supervisor", title: "title", claim_label: "claim_label", release_label: "release_label", force_release_label: "force_release_label", in_charge_label: "in_charge_label", in_charge_you_label: "in_charge_you_label", claim_lost_label: "claim_lost_label", close_label: "close_label", reopen_label: "reopen_label", optional_label: "optional_label", closed_by_label: "closed_by_label", empty_label: "empty_label", no_role_label: "no_role_label", locked_label: "locked_label", reopen_confirm: "reopen_confirm", note_label: "note_label" }, ngImport: i0, template: `
35640
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHWorkflowTasksPanel, isStandalone: true, selector: "FHWorkflowTasksPanel", inputs: { dt_agg: "dt_agg", is_supervisor: "is_supervisor", title: "title", claim_label: "claim_label", release_label: "release_label", force_release_label: "force_release_label", in_charge_label: "in_charge_label", in_charge_you_label: "in_charge_you_label", claim_lost_label: "claim_lost_label", close_label: "close_label", reopen_label: "reopen_label", optional_label: "optional_label", closed_by_label: "closed_by_label", empty_label: "empty_label", no_role_label: "no_role_label", after_label: "after_label", locked_label: "locked_label", reopen_confirm: "reopen_confirm", note_label: "note_label" }, ngImport: i0, template: `
35590
35641
  <div class="fh-tasks" *ngIf="dt_agg && dt_agg.step_mode === 'T'">
35591
35642
  <div class="fh-tasks-head">
35592
35643
  <span class="material-symbols-outlined">checklist</span>
@@ -35602,14 +35653,12 @@ class FHWorkflowTasksPanel {
35602
35653
  <mat-spinner *ngIf="dt_agg.b_tasks_loading" diameter="18"></mat-spinner>
35603
35654
  </div>
35604
35655
 
35605
- <div class="fh-tasks-empty" *ngIf="!dt_agg.b_tasks_loading && lanes.length === 0">
35656
+ <div class="fh-tasks-empty" *ngIf="!dt_agg.b_tasks_loading && tasks.length === 0">
35606
35657
  {{ empty_label | translate }}
35607
35658
  </div>
35608
35659
 
35609
- <div class="fh-lane" *ngFor="let lane of lanes">
35610
- <div class="fh-lane-name" *ngIf="lane.name">{{ lane.name }}</div>
35611
-
35612
- <div class="fh-task" *ngFor="let t of lane.tasks" [class.fh-task-done]="t.stato === 1">
35660
+ <div class="fh-lane">
35661
+ <div class="fh-task" *ngFor="let t of tasks" [class.fh-task-done]="t.stato === 1">
35613
35662
  <span
35614
35663
  class="material-symbols-outlined fh-task-ico"
35615
35664
  [class.done]="t.stato === 1"
@@ -35625,6 +35674,11 @@ class FHWorkflowTasksPanel {
35625
35674
  </div>
35626
35675
  <div class="fh-task-meta">
35627
35676
  <span *ngIf="t.ruoli">{{ t.ruoli }}</span>
35677
+ <span class="fh-task-dep" *ngIf="t.stato !== 1 && t.depends_title">
35678
+ &middot;
35679
+ <span class="material-symbols-outlined fh-lock-ico">arrow_right_alt</span>
35680
+ {{ after_label }} {{ t.depends_title }}
35681
+ </span>
35628
35682
  <span *ngIf="t.stato === 1 && t.chiuso_da">
35629
35683
  &middot; {{ closed_by_label | translate }} {{ t.chiuso_da }}
35630
35684
  <ng-container *ngIf="t._data_txt">
@@ -35695,7 +35749,7 @@ class FHWorkflowTasksPanel {
35695
35749
  </div>
35696
35750
  </div>
35697
35751
  </div>
35698
- `, isInline: true, styles: [".fh-tasks{border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:10px 14px 6px;margin:8px 0;background:#fff}.fh-tasks-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.fh-tasks-title{font-weight:600}.fh-tasks-progress{font-size:12px;color:#6b6363;margin-left:auto}.fh-tasks-bar{width:120px;height:6px;border-radius:4px;background:#00000014;overflow:hidden}.fh-tasks-bar-fill{height:100%;background:#4caf50;transition:width .2s ease}.fh-tasks-empty{color:#6b6363;font-size:13px;padding:6px 0 10px}.fh-lane{margin-bottom:6px}.fh-lane-name{font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#6b6363;margin:8px 0 4px}.fh-task{display:flex;align-items:center;gap:10px;padding:6px 4px;border-top:1px solid rgba(0,0,0,.06)}.fh-task-done .fh-task-title{text-decoration:line-through;color:#6b6363}.fh-task-ico{color:#b0bec5}.fh-task-ico.done{color:#4caf50}.fh-task-ico.locked{color:#90a4ae}.fh-task-body{flex:1 1 auto;min-width:0}.fh-task-title{font-size:14px}.fh-task-opt{font-size:10px;font-weight:600;color:#6b6363;border:1px solid rgba(0,0,0,.18);border-radius:10px;padding:0 6px;margin-left:6px}.fh-task-meta{font-size:11px;color:#6b6363}.fh-task-lock{color:#e65100;font-weight:600}.fh-lock-ico{font-size:13px;vertical-align:text-bottom}.fh-task-note{font-size:12px;color:#455a64;font-style:italic;margin-top:2px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i9$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i9$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i9.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
35752
+ `, isInline: true, styles: [".fh-tasks{border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:10px 14px 6px;margin:8px 0;background:#fff}.fh-tasks-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.fh-tasks-title{font-weight:600}.fh-tasks-progress{font-size:12px;color:#6b6363;margin-left:auto}.fh-tasks-bar{width:120px;height:6px;border-radius:4px;background:#00000014;overflow:hidden}.fh-tasks-bar-fill{height:100%;background:#4caf50;transition:width .2s ease}.fh-tasks-empty{color:#6b6363;font-size:13px;padding:6px 0 10px}.fh-lane{margin-bottom:6px}.fh-task-dep{color:#6b6363;font-style:italic}.fh-task{display:flex;align-items:center;gap:10px;padding:6px 4px;border-top:1px solid rgba(0,0,0,.06)}.fh-task-done .fh-task-title{text-decoration:line-through;color:#6b6363}.fh-task-ico{color:#b0bec5}.fh-task-ico.done{color:#4caf50}.fh-task-ico.locked{color:#90a4ae}.fh-task-body{flex:1 1 auto;min-width:0}.fh-task-title{font-size:14px}.fh-task-opt{font-size:10px;font-weight:600;color:#6b6363;border:1px solid rgba(0,0,0,.18);border-radius:10px;padding:0 6px;margin-left:6px}.fh-task-meta{font-size:11px;color:#6b6363}.fh-task-lock{color:#e65100;font-weight:600}.fh-lock-ico{font-size:13px;vertical-align:text-bottom}.fh-task-note{font-size:12px;color:#455a64;font-style:italic;margin-top:2px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i9$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i9$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i9.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
35699
35753
  }
35700
35754
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHWorkflowTasksPanel, decorators: [{
35701
35755
  type: Component,
@@ -35722,14 +35776,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
35722
35776
  <mat-spinner *ngIf="dt_agg.b_tasks_loading" diameter="18"></mat-spinner>
35723
35777
  </div>
35724
35778
 
35725
- <div class="fh-tasks-empty" *ngIf="!dt_agg.b_tasks_loading && lanes.length === 0">
35779
+ <div class="fh-tasks-empty" *ngIf="!dt_agg.b_tasks_loading && tasks.length === 0">
35726
35780
  {{ empty_label | translate }}
35727
35781
  </div>
35728
35782
 
35729
- <div class="fh-lane" *ngFor="let lane of lanes">
35730
- <div class="fh-lane-name" *ngIf="lane.name">{{ lane.name }}</div>
35731
-
35732
- <div class="fh-task" *ngFor="let t of lane.tasks" [class.fh-task-done]="t.stato === 1">
35783
+ <div class="fh-lane">
35784
+ <div class="fh-task" *ngFor="let t of tasks" [class.fh-task-done]="t.stato === 1">
35733
35785
  <span
35734
35786
  class="material-symbols-outlined fh-task-ico"
35735
35787
  [class.done]="t.stato === 1"
@@ -35745,6 +35797,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
35745
35797
  </div>
35746
35798
  <div class="fh-task-meta">
35747
35799
  <span *ngIf="t.ruoli">{{ t.ruoli }}</span>
35800
+ <span class="fh-task-dep" *ngIf="t.stato !== 1 && t.depends_title">
35801
+ &middot;
35802
+ <span class="material-symbols-outlined fh-lock-ico">arrow_right_alt</span>
35803
+ {{ after_label }} {{ t.depends_title }}
35804
+ </span>
35748
35805
  <span *ngIf="t.stato === 1 && t.chiuso_da">
35749
35806
  &middot; {{ closed_by_label | translate }} {{ t.chiuso_da }}
35750
35807
  <ng-container *ngIf="t._data_txt">
@@ -35815,7 +35872,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
35815
35872
  </div>
35816
35873
  </div>
35817
35874
  </div>
35818
- `, styles: [".fh-tasks{border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:10px 14px 6px;margin:8px 0;background:#fff}.fh-tasks-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.fh-tasks-title{font-weight:600}.fh-tasks-progress{font-size:12px;color:#6b6363;margin-left:auto}.fh-tasks-bar{width:120px;height:6px;border-radius:4px;background:#00000014;overflow:hidden}.fh-tasks-bar-fill{height:100%;background:#4caf50;transition:width .2s ease}.fh-tasks-empty{color:#6b6363;font-size:13px;padding:6px 0 10px}.fh-lane{margin-bottom:6px}.fh-lane-name{font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#6b6363;margin:8px 0 4px}.fh-task{display:flex;align-items:center;gap:10px;padding:6px 4px;border-top:1px solid rgba(0,0,0,.06)}.fh-task-done .fh-task-title{text-decoration:line-through;color:#6b6363}.fh-task-ico{color:#b0bec5}.fh-task-ico.done{color:#4caf50}.fh-task-ico.locked{color:#90a4ae}.fh-task-body{flex:1 1 auto;min-width:0}.fh-task-title{font-size:14px}.fh-task-opt{font-size:10px;font-weight:600;color:#6b6363;border:1px solid rgba(0,0,0,.18);border-radius:10px;padding:0 6px;margin-left:6px}.fh-task-meta{font-size:11px;color:#6b6363}.fh-task-lock{color:#e65100;font-weight:600}.fh-lock-ico{font-size:13px;vertical-align:text-bottom}.fh-task-note{font-size:12px;color:#455a64;font-style:italic;margin-top:2px}\n"] }]
35875
+ `, styles: [".fh-tasks{border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:10px 14px 6px;margin:8px 0;background:#fff}.fh-tasks-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.fh-tasks-title{font-weight:600}.fh-tasks-progress{font-size:12px;color:#6b6363;margin-left:auto}.fh-tasks-bar{width:120px;height:6px;border-radius:4px;background:#00000014;overflow:hidden}.fh-tasks-bar-fill{height:100%;background:#4caf50;transition:width .2s ease}.fh-tasks-empty{color:#6b6363;font-size:13px;padding:6px 0 10px}.fh-lane{margin-bottom:6px}.fh-task-dep{color:#6b6363;font-style:italic}.fh-task{display:flex;align-items:center;gap:10px;padding:6px 4px;border-top:1px solid rgba(0,0,0,.06)}.fh-task-done .fh-task-title{text-decoration:line-through;color:#6b6363}.fh-task-ico{color:#b0bec5}.fh-task-ico.done{color:#4caf50}.fh-task-ico.locked{color:#90a4ae}.fh-task-body{flex:1 1 auto;min-width:0}.fh-task-title{font-size:14px}.fh-task-opt{font-size:10px;font-weight:600;color:#6b6363;border:1px solid rgba(0,0,0,.18);border-radius:10px;padding:0 6px;margin-left:6px}.fh-task-meta{font-size:11px;color:#6b6363}.fh-task-lock{color:#e65100;font-weight:600}.fh-lock-ico{font-size:13px;vertical-align:text-bottom}.fh-task-note{font-size:12px;color:#455a64;font-style:italic;margin-top:2px}\n"] }]
35819
35876
  }], ctorParameters: () => [{ type: i1$2.MatDialog }, { type: i3$1.ToastrService, decorators: [{
35820
35877
  type: Optional
35821
35878
  }] }], propDecorators: { dt_agg: [{
@@ -35848,6 +35905,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
35848
35905
  type: Input
35849
35906
  }], no_role_label: [{
35850
35907
  type: Input
35908
+ }], after_label: [{
35909
+ type: Input
35851
35910
  }], locked_label: [{
35852
35911
  type: Input
35853
35912
  }], reopen_confirm: [{