@fluxhub/fluxhub-lib 19.0.101 → 19.0.103

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.
@@ -17470,6 +17470,20 @@ class FHUploadPanelComponent {
17470
17470
  }
17471
17471
  });
17472
17472
  }
17473
+ /**
17474
+ * Verifica se ci sono file caricati nel pannello upload
17475
+ * @returns true se ci sono file caricati, false altrimenti
17476
+ */
17477
+ hasFiles() {
17478
+ return this.arr_g && this.arr_g.length > 0;
17479
+ }
17480
+ /**
17481
+ * Ottiene la lista dei file caricati
17482
+ * @returns Array dei file caricati o array vuoto se non ci sono file
17483
+ */
17484
+ getFilesList() {
17485
+ return this.arr_g || [];
17486
+ }
17473
17487
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHUploadPanelComponent, deps: [{ token: AppService }, { token: QueryService }, { token: i3.ToastrService }, { token: i1$2.MatDialog }, { token: AuthenticationService }, { token: UtilityService }, { token: i3$2.TranslateService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Component });
17474
17488
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHUploadPanelComponent, isStandalone: true, selector: "FHUploadPanel", inputs: { enabled: "enabled", show_dim: "show_dim", show_descri: "show_descri", show_preview: "show_preview", forceDownload: "forceDownload", label: "label", sovrascrivi_path: "sovrascrivi_path", ruolo_supervisore: "ruolo_supervisore", access_control: "access_control", show_images: "show_images", can_delete_owner: "can_delete_owner", show_upload: "show_upload", show_download: "show_download", download_by_api: "download_by_api", description_required: "description_required", selezionare_tipologia: "selezionare_tipologia", show_delete: "show_delete" }, outputs: { upload_ended: "upload_ended", expand: "expand", file_copy: "file_copy", change: "change", call_upload: "call_upload", init_end: "init_end", after_init: "after_init" }, viewQueries: [{ propertyName: "upc", first: true, predicate: ["upc"], descendants: true }], ngImport: i0, template: `
17475
17489
  <div fxLayout="column">
@@ -33500,6 +33514,11 @@ class FHWorkflowForm {
33500
33514
  ' non presenta utenti partecipanti validi', 1);
33501
33515
  return;
33502
33516
  }
33517
+ console.log("🚀 ~ FHWorkflowForm ~ calcola_destinari ~ arrAutori:", this.nlevel, this.m_obj.creatore, arrAutori);
33518
+ if (this.nlevel <= 10 && this.m_obj.creatore != null) {
33519
+ arrAutori = arrAutori.filter((item) => item.username == this.m_obj.creatore);
33520
+ }
33521
+ console.log("🚀 ~ FHWorkflowForm ~ calcola_destinari ~ arrAutori:", this.nlevel, this.m_obj.creatore, arrAutori);
33503
33522
  if (o.pre_assegna_req == null)
33504
33523
  o.pre_assegna_req = 0;
33505
33524
  if (o.pre_assegna_man == null)