@fluxhub/fluxhub-lib 10.0.732 → 10.0.734

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.
@@ -8539,6 +8539,7 @@ class FHUploadComponent {
8539
8539
  this.show_upload = true;
8540
8540
  this.id_component = this.uti.newGuid();
8541
8541
  this.username = this.app_s.user;
8542
+ console.log('this.app_s.user ', this.app_s.user);
8542
8543
  this.uploader.onBeforeUploadItem = (item) => {
8543
8544
  item.withCredentials = false;
8544
8545
  };
@@ -8561,6 +8562,7 @@ class FHUploadComponent {
8561
8562
  };
8562
8563
  }
8563
8564
  call_up() {
8565
+ console.log('this.app_s.user ', this.app_s.user);
8564
8566
  this.call_upload.emit({
8565
8567
  App: this.App,
8566
8568
  K: this.K,
@@ -8713,8 +8715,9 @@ class FHUploadComponent {
8713
8715
  form.append("K", this.K);
8714
8716
  form.append("descrizione", this.descrizione);
8715
8717
  form.append("single", this.single);
8716
- form.append("username", this.username);
8718
+ form.append("username", this.app_s.user);
8717
8719
  form.append("ver", this.ver);
8720
+ console.log('this.app_s.user ', this.app_s.user);
8718
8721
  if (this.multi_list && this.show_upload)
8719
8722
  form.append("tipo", this.cmb_tipo.getDescri().split("-1").join(""));
8720
8723
  else
@@ -9449,6 +9452,8 @@ class FHUploadPanelComponent {
9449
9452
  this.show_version = false;
9450
9453
  this.enabled = true;
9451
9454
  this.force_en = false;
9455
+ this.show_dim = true;
9456
+ this.show_descri = true;
9452
9457
  this.label = "";
9453
9458
  this.sovrascrivi_path = "";
9454
9459
  this.ruolo_supervisore = "[ZZZ_DIS_CC]";
@@ -9779,7 +9784,8 @@ FHUploadPanelComponent.decorators = [
9779
9784
  [lascia_il_file] = "force_en ? 'Drop here to confim':'Lascia il file per confermarmare upload' "
9780
9785
  [trascina_il_file] = "force_en ? 'Drop a file here o click to upload a file':'Trascina un file qui o Clicca per avviare upload' "
9781
9786
 
9782
- [descri_obb]="description_required "
9787
+ [show_descri]="show_descri"
9788
+ [descri_obb]="description_required"
9783
9789
  [label_attendere]="
9784
9790
  force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'
9785
9791
  "
@@ -9804,8 +9810,8 @@ FHUploadPanelComponent.decorators = [
9804
9810
  <th [fxShow.lt-sm]="false" style="width:40px"></th>
9805
9811
  <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
9806
9812
  <th [fxShow.lt-sm]="false" *ngIf="show_version" style="width:30px;text-align:center">Ver.</th>
9807
- <th [fxShow.lt-sm]="false" style="width:30px;text-align:center">Dim.</th>
9808
- <th [fxShow.lt-sm]="false" style="width:40%">
9813
+ <th [fxShow.lt-sm]="false" *ngIf="show_dim" style="width:30px;text-align:center">Dim.</th>
9814
+ <th [fxShow.lt-sm]="false" *ngIf="show_descri" style="width:40%">
9809
9815
  {{ force_en ? "Description" : "Descrizione" }}
9810
9816
  </th>
9811
9817
  <th *ngIf="multi_list" style="width:20%">
@@ -9841,8 +9847,8 @@ FHUploadPanelComponent.decorators = [
9841
9847
  </td>
9842
9848
  <td><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></td>
9843
9849
  <td style="text-align:center" *ngIf="show_version" [fxShow.lt-sm]="false">{{ app.v }}</td>
9844
- <td style="text-align:center" [fxShow.lt-sm]="false">{{ app.Filesize }}</td>
9845
- <td [fxShow.lt-sm]="false">
9850
+ <td style="text-align:center" *ngIf="show_dim" [fxShow.lt-sm]="false">{{ app.Filesize }}</td>
9851
+ <td [fxShow.lt-sm]="false" *ngIf="show_descri">
9846
9852
  <div fxLayout="row">
9847
9853
  <div *ngIf="enabled">
9848
9854
  <a
@@ -9957,9 +9963,9 @@ FHUploadPanelComponent.decorators = [
9957
9963
  <th [fxShow.lt-sm]="false" style="width:40px"></th>
9958
9964
  <th [fxShow.lt-sm]="false" style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
9959
9965
  <th [fxShow.lt-sm]="false" *ngIf="show_version" style="width:30px;text-align:center">Ver.</th>
9960
- <th [fxShow.lt-sm]="false" style="width:30px;text-align:center">Dim.</th>
9966
+ <th [fxShow.lt-sm]="false" *ngIf="show_dim" style="width:30px;text-align:center">Dim.</th>
9961
9967
 
9962
- <th [fxShow.lt-sm]="false" style="width:20%">
9968
+ <th [fxShow.lt-sm]="false" style="width:20%" *ngIf="show_descri">
9963
9969
  {{ force_en ? "Description" : "Descrizione" }}
9964
9970
  </th>
9965
9971
  <th *ngIf="multi_list" style="width:10%" [fxShow.lt-sm]="false">
@@ -9996,8 +10002,8 @@ FHUploadPanelComponent.decorators = [
9996
10002
 
9997
10003
  <td [fxShow.lt-sm]="false"><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></td>
9998
10004
  <td style="text-align:center" *ngIf="show_version" [fxShow.lt-sm]="false">{{ app.v }}</td>
9999
- <td [fxShow.lt-sm]="false" style="text-align:center">{{ app.Filesize }}</td>
10000
- <td [fxShow.lt-sm]="false">
10005
+ <td [fxShow.lt-sm]="false" *ngIf="show_dim" style="text-align:center">{{ app.Filesize }}</td>
10006
+ <td [fxShow.lt-sm]="false" *ngIf="show_descri">
10001
10007
  <div fxLayout="row">
10002
10008
  <div *ngIf="enabled">
10003
10009
  <a
@@ -10160,6 +10166,8 @@ FHUploadPanelComponent.ctorParameters = () => [
10160
10166
  FHUploadPanelComponent.propDecorators = {
10161
10167
  enabled: [{ type: Input }],
10162
10168
  force_en: [{ type: Input }],
10169
+ show_dim: [{ type: Input }],
10170
+ show_descri: [{ type: Input }],
10163
10171
  label: [{ type: Input }],
10164
10172
  sovrascrivi_path: [{ type: Input }],
10165
10173
  ruolo_supervisore: [{ type: Input }],
@@ -25880,6 +25888,7 @@ class dati_aggiuntivi_v2 {
25880
25888
  "" + lvlb,
25881
25889
  ];
25882
25890
  this.insert_wkf_variabile(this.id_applicativo, this.id_documento, this.m_obj.stato + "_PLAYER", this.user_idp);
25891
+ this.m_liv = lvlb;
25883
25892
  this.m_wkf.doQuery(p).subscribe((data) => {
25884
25893
  if (data != null)
25885
25894
  if (data.result_msg == "OK") {
@@ -25905,56 +25914,6 @@ class dati_aggiuntivi_v2 {
25905
25914
  body_email = this.app_info.body_riassegna;
25906
25915
  oggetto_email = oggetto_email.split('{{TRANSITION_DESCRI}}').join(this.getLvlDescri(String(this.m_liv), this.m_statox));
25907
25916
  body_email = body_email.split('{{TRANSITION_DESCRI}}').join(this.getLvlDescri(String(this.m_liv), this.m_statox));
25908
- /*
25909
- for (let prop in this.m_obj)
25910
- if (this.m_obj[prop] != null) {
25911
-
25912
- if (
25913
- Object.prototype.toString.call(this.m_obj[prop]) ===
25914
- "[object Date]"
25915
- ) {
25916
- oggetto_email = oggetto_email
25917
- .split("{{" + prop + "}}")
25918
- .join(this.uti_s.date2String(this.m_obj[prop]));
25919
- } else if (
25920
- ("" + this.m_obj[prop]).indexOf("T00:00:00") == -1
25921
- )
25922
- oggetto_email = oggetto_email
25923
- .split("{{" + prop + "}}")
25924
- .join(this.m_obj[prop]);
25925
- else
25926
- oggetto_email = oggetto_email
25927
- .split("{{" + prop + "}}")
25928
- .join(
25929
- this.uti_s.date2String(
25930
- this.uti_s.string2date(this.m_obj[prop], 2)
25931
- )
25932
- );
25933
-
25934
-
25935
-
25936
- if (
25937
- Object.prototype.toString.call(this.m_obj[prop]) ===
25938
- "[object Date]"
25939
- ) {
25940
- body_email = body_email
25941
- .split("{{" + prop + "}}")
25942
- .join(this.uti_s.date2String(this.m_obj[prop]));
25943
- } else if (
25944
- ("" + this.m_obj[prop]).indexOf("T00:00:00") == -1
25945
- )
25946
- body_email = body_email
25947
- .split("{{" + prop + "}}")
25948
- .join(this.m_obj[prop]);
25949
- else
25950
- body_email = body_email
25951
- .split("{{" + prop + "}}")
25952
- .join(
25953
- this.uti_s.date2String(
25954
- this.uti_s.string2date(this.m_obj[prop], 2)
25955
- )
25956
- );
25957
- }*/
25958
25917
  this.sendEMail_ex(this.user_idp, s_notif, oggetto_email, body_email, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
25959
25918
  "#/" +
25960
25919
  this.app_info.modulo_swf +
@@ -25979,7 +25938,6 @@ class dati_aggiuntivi_v2 {
25979
25938
  insert_doc() {
25980
25939
  this.m_autori = this.user_idp;
25981
25940
  this.m_lettori = "";
25982
- this.m_liv = 0;
25983
25941
  this.m_statox = "";
25984
25942
  this.m_danotificare = "";
25985
25943
  this.m_oper = "";