@fluxhub/fluxhub-lib 10.0.299 → 10.0.301

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.
@@ -5495,10 +5495,10 @@ class fh_win_uploads {
5495
5495
  }
5496
5496
  ngAfterViewInit() {
5497
5497
  setTimeout(() => {
5498
- if (this.App == "") {
5499
- this.App = this.app_s.getState().wkf_doc_info.uiid_app;
5500
- this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
5501
- }
5498
+ // if (this.App == "") {
5499
+ // this.App = this.app_s.getState().wkf_doc_info.uiid_app;
5500
+ // this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
5501
+ //}
5502
5502
  this.init(this.App, this.K);
5503
5503
  });
5504
5504
  }
@@ -6859,10 +6859,13 @@ class wkfapp {
6859
6859
  if (!m_service.checkCredentials()) {
6860
6860
  return;
6861
6861
  }
6862
- this.sort_field =
6863
- "case when CHARINDEX('" +
6864
- this.user_idp +
6865
- "',autori)>0 then 1 else 0 end desc,codice desc";
6862
+ if (this.sort_field == null)
6863
+ this.sort_field = '';
6864
+ if (this.sort_field == '')
6865
+ this.sort_field =
6866
+ "case when CHARINDEX('" +
6867
+ this.user_idp +
6868
+ "',autori)>0 then 1 else 0 end desc,codice desc";
6866
6869
  }
6867
6870
  goto_edit_doc(a, d) {
6868
6871
  this.m_router.navigate([this.app_root, a, d, "edit"]);
@@ -7386,10 +7389,13 @@ class wkfapp {
7386
7389
  }, 500);
7387
7390
  return;
7388
7391
  }
7389
- this.sort_field =
7390
- "case when CHARINDEX('" +
7391
- this.user_idp +
7392
- "',autori)>0 then 1 else 0 end desc,codice desc";
7392
+ if (this.sort_field == null)
7393
+ this.sort_field = '';
7394
+ if (this.sort_field == '')
7395
+ this.sort_field =
7396
+ "case when CHARINDEX('" +
7397
+ this.user_idp +
7398
+ "',autori)>0 then 1 else 0 end desc,codice desc";
7393
7399
  let p = new QParam();
7394
7400
  p.sql = "SELECT_WKF_APP_INFO";
7395
7401
  p.types = ["string"];
@@ -7875,7 +7881,6 @@ class FHGridComponent {
7875
7881
  this.gridOptions = {
7876
7882
  debug: false,
7877
7883
  headerHeight: this.header_h,
7878
- floatingFilter: true,
7879
7884
  enableRangeSelection: true,
7880
7885
  defaultColDef: { resizable: true, sortable: true },
7881
7886
  allowContextMenuWithControlKey: true,
@@ -14511,7 +14516,6 @@ class FHGridJSONComponent {
14511
14516
  this.gridOptions = {
14512
14517
  debug: false,
14513
14518
  headerHeight: this.header_h,
14514
- floatingFilter: true,
14515
14519
  enableRangeSelection: true,
14516
14520
  enableServerSideSorting: false,
14517
14521
  enableServerSideFilter: false,
@@ -16919,7 +16923,7 @@ class dati_aggiuntivi {
16919
16923
  console.log('open_upload ', sovra_path, admin_role);
16920
16924
  let dialogRef = this.m_dialog.open(fh_win_uploads, {
16921
16925
  disableClose: true,
16922
- width: "90%", data: { 'admin_role': admin_role }
16926
+ width: "90%", data: { admin_role: admin_role, App: this.id_applicativo, K: this.id_documento }
16923
16927
  });
16924
16928
  setTimeout(() => {
16925
16929
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;
@@ -20188,7 +20192,7 @@ class fh_win_user_info {
20188
20192
  this.b_filef = true;
20189
20193
  this.foto_ut =
20190
20194
  this.appService.COMPANY_SITE_ROOT +
20191
- "/uploads/" +
20195
+ "uploads/" +
20192
20196
  data.result_data[0].App +
20193
20197
  "/" +
20194
20198
  data.result_data[0].K +
@@ -23466,7 +23470,7 @@ class dati_aggiuntivi_v2 {
23466
23470
  console.log('open_upload ', sovra_path, admin_role);
23467
23471
  let dialogRef = this.m_dialog.open(win_uploads_v2, {
23468
23472
  disableClose: true,
23469
- width: "90%", data: { 'admin_role': admin_role }
23473
+ width: "90%", data: { admin_role: admin_role, App: this.id_applicativo, K: this.id_documento }
23470
23474
  });
23471
23475
  setTimeout(() => {
23472
23476
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;
@@ -24866,10 +24870,13 @@ class wkfapp_v2 {
24866
24870
  if (!m_service.checkCredentials()) {
24867
24871
  return;
24868
24872
  }
24869
- this.sort_field =
24870
- "case when CHARINDEX('" +
24871
- this.user_idp +
24872
- "',autori)>0 then 1 else 0 end desc,codice desc";
24873
+ if (this.sort_field == null)
24874
+ this.sort_field = '';
24875
+ if (this.sort_field == '')
24876
+ this.sort_field =
24877
+ "case when CHARINDEX('" +
24878
+ this.user_idp +
24879
+ "',autori)>0 then 1 else 0 end desc,codice desc";
24873
24880
  }
24874
24881
  goto_edit_doc(a, d) {
24875
24882
  this.m_router.navigate([this.app_root, a, d, "edit"]);
@@ -25435,10 +25442,13 @@ class wkfapp_v2 {
25435
25442
  }, 500);
25436
25443
  return;
25437
25444
  }
25438
- this.sort_field =
25439
- "case when CHARINDEX('" +
25440
- this.user_idp +
25441
- "',autori)>0 then 1 else 0 end desc,codice desc";
25445
+ if (this.sort_field == null)
25446
+ this.sort_field = '';
25447
+ if (this.sort_field == '')
25448
+ this.sort_field =
25449
+ "case when CHARINDEX('" +
25450
+ this.user_idp +
25451
+ "',autori)>0 then 1 else 0 end desc,codice desc";
25442
25452
  let p = new QParam();
25443
25453
  p.sql = "SELECT_WKF_APP_INFO";
25444
25454
  p.types = ["string"];