@fluxhub/fluxhub-lib 10.0.349 → 10.0.351

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.
@@ -12154,6 +12154,7 @@
12154
12154
  this.respingi_button = false;
12155
12155
  this.procedi_button = true;
12156
12156
  this.utility_button = true;
12157
+ this.download_button = true;
12157
12158
  this.force_save = false;
12158
12159
  this.check_on_save = false;
12159
12160
  this.admin_role = '[ZZZ_DIS_CC]';
@@ -12206,7 +12207,7 @@
12206
12207
  wkf_header_bar.decorators = [
12207
12208
  { type: i0.Component, args: [{
12208
12209
  selector: "wkf_header_bar",
12209
- template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\" fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"respingi()\"\n *ngIf=\"respingi_button\"\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"3px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button\n ></div><div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div> </div>\n </div>\n </div>\n "
12210
+ template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\" fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"respingi()\"\n *ngIf=\"respingi_button\"\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"3px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button\n ></div><div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div [hidden]=\"!download_button\">\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div> </div>\n </div>\n </div>\n "
12210
12211
  },] }
12211
12212
  ];
12212
12213
  wkf_header_bar.ctorParameters = function () { return [
@@ -12218,6 +12219,7 @@
12218
12219
  respingi_button: [{ type: i0.Input }],
12219
12220
  procedi_button: [{ type: i0.Input }],
12220
12221
  utility_button: [{ type: i0.Input }],
12222
+ download_button: [{ type: i0.Input }],
12221
12223
  force_save: [{ type: i0.Input }],
12222
12224
  check_on_save: [{ type: i0.Input }],
12223
12225
  admin_role: [{ type: i0.Input }],
@@ -15620,6 +15622,7 @@
15620
15622
  this.utility_button = true;
15621
15623
  this.force_save = false;
15622
15624
  this.check_on_save = false;
15625
+ this.download_button = true;
15623
15626
  this.b_revisione = false;
15624
15627
  this.admin_role = '[ZZZ_DIS_CC]';
15625
15628
  this.sovra_path = '';
@@ -15676,7 +15679,7 @@
15676
15679
  wkf_header_bar_v2.decorators = [
15677
15680
  { type: i0.Component, args: [{
15678
15681
  selector: "wkf_header_bar_v2",
15679
- template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div *ngIf=\"respingi_button\">\n <button\n mat-flat-button\n (click)=\"respingi()\"\n\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <div *ngIf=\"b_revisione\">\n <button\n mat-flat-button\n (click)=\"revisione()\"\n\n color=\"accent\"\n >\n Revisione\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"8px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button\n ></div>\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div>\n\n\n\n </div>\n </div>\n </div>\n "
15682
+ template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div *ngIf=\"respingi_button\">\n <button\n mat-flat-button\n (click)=\"respingi()\"\n\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <div *ngIf=\"b_revisione\">\n <button\n mat-flat-button\n (click)=\"revisione()\"\n\n color=\"accent\"\n >\n Revisione\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"8px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button\n ></div>\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div [hidden]=\"!download_button\">\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div>\n\n\n\n </div>\n </div>\n </div>\n "
15680
15683
  },] }
15681
15684
  ];
15682
15685
  wkf_header_bar_v2.ctorParameters = function () { return [
@@ -15690,6 +15693,7 @@
15690
15693
  utility_button: [{ type: i0.Input }],
15691
15694
  force_save: [{ type: i0.Input }],
15692
15695
  check_on_save: [{ type: i0.Input }],
15696
+ download_button: [{ type: i0.Input }],
15693
15697
  b_revisione: [{ type: i0.Input }],
15694
15698
  admin_role: [{ type: i0.Input }],
15695
15699
  sovra_path: [{ type: i0.Input }],
@@ -16342,12 +16346,11 @@
16342
16346
  console.log('riassegna_richiesta_step2() ');
16343
16347
  var a_let = "";
16344
16348
  var op = [];
16345
- op.push({
16346
- sql: 'DELETE_TODO_ALL_BYID',
16347
- types: ['string', 'string'],
16348
- values: [this.id_applicativo, this.get_grid().sRow.uiid],
16349
- names: []
16350
- });
16349
+ var app_op = new QParam();
16350
+ app_op.sql = 'DELETE_TODO_ALL_BYID';
16351
+ app_op.types = ['string', 'string'];
16352
+ app_op.values = [this.id_applicativo, this.get_grid().sRow.uiid];
16353
+ op.push(this.m_dataService.doQuery(app_op));
16351
16354
  if (this.get_grid().sRow.lettori != null)
16352
16355
  a_let = this.get_grid().sRow.lettori;
16353
16356
  var a_aut = "";
@@ -16359,12 +16362,11 @@
16359
16362
  var a_datanot = "";
16360
16363
  var old_grp = "XCXXX";
16361
16364
  for (var i = 0; i < this.wax.length; i++) {
16362
- op.push({
16363
- sql: 'INSERT_TODO_GEST',
16364
- types: ['string', 'string', 'string', 'string', 'string', 'string', 'string'],
16365
- values: [this.id_applicativo, this.get_grid().sRow.uiid, this.wax[i].idp, this.get_grid().sRow.oggetto, this.title, this.get_grid().sRow.descrizione, this.app_s.COMPANY_SITE_ROOT + '/#/' + this.app_root + '/' + this.id_applicativo + '/' + this.get_grid().sRow.uiid + '/edit'],
16366
- names: []
16367
- });
16365
+ var app_op_1 = new QParam();
16366
+ app_op_1.sql = 'INSERT_TODO_GEST';
16367
+ app_op_1.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string'];
16368
+ app_op_1.values = [this.id_applicativo, this.get_grid().sRow.uiid, this.wax[i].idp, this.get_grid().sRow.oggetto, this.title, this.get_grid().sRow.descrizione, this.app_s.COMPANY_SITE_ROOT + '/#/' + this.app_root + '/' + this.id_applicativo + '/' + this.get_grid().sRow.uiid + '/edit'];
16369
+ op.push(this.m_dataService.doQuery(app_op_1));
16368
16370
  if (old_grp == "XCXXX" || old_grp == this.wax[i].gruppo_parallelo) {
16369
16371
  old_grp = this.wax[i].gruppo_parallelo;
16370
16372
  }
@@ -19015,12 +19017,11 @@
19015
19017
  var _this = this;
19016
19018
  var a_let = "";
19017
19019
  var op = [];
19018
- op.push({
19019
- sql: 'DELETE_TODO_ALL_BYID',
19020
- types: ['string', 'string'],
19021
- values: [this.id_applicativo, this.get_grid().sRow.uiid],
19022
- names: []
19023
- });
19020
+ var app_op = new QParam();
19021
+ app_op.sql = 'DELETE_TODO_ALL_BYID';
19022
+ app_op.types = ['string', 'string'];
19023
+ app_op.values = [this.id_applicativo, this.get_grid().sRow.uiid];
19024
+ op.push(this.m_dataService.doQuery(app_op));
19024
19025
  if (this.get_grid().sRow.lettori != null)
19025
19026
  a_let = this.get_grid().sRow.lettori;
19026
19027
  var a_aut = "";
@@ -19032,12 +19033,11 @@
19032
19033
  var a_datanot = "";
19033
19034
  var old_grp = "XCXXX";
19034
19035
  for (var i = 0; i < this.wax.length; i++) {
19035
- op.push({
19036
- sql: 'INSERT_TODO_GEST',
19037
- types: ['string', 'string', 'string', 'string', 'string', 'string', 'string'],
19038
- values: [this.id_applicativo, this.get_grid().sRow.uiid, this.wax[i].idp, this.get_grid().sRow.oggetto, this.title, this.get_grid().sRow.descrizione, this.app_s.COMPANY_SITE_ROOT + '/#/' + this.app_root + '/' + this.id_applicativo + '/' + this.get_grid().sRow.uiid + '/edit'],
19039
- names: []
19040
- });
19036
+ var app_op_1 = new QParam();
19037
+ app_op_1.sql = 'INSERT_TODO_GEST';
19038
+ app_op_1.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string'];
19039
+ app_op_1.values = [this.id_applicativo, this.get_grid().sRow.uiid, this.wax[i].idp, this.get_grid().sRow.oggetto, this.title, this.get_grid().sRow.descrizione, this.app_s.COMPANY_SITE_ROOT + '/#/' + this.app_root + '/' + this.id_applicativo + '/' + this.get_grid().sRow.uiid + '/edit'];
19040
+ op.push(this.m_dataService.doQuery(app_op_1));
19041
19041
  if (old_grp == "XCXXX" || old_grp == this.wax[i].gruppo_parallelo) {
19042
19042
  old_grp = this.wax[i].gruppo_parallelo;
19043
19043
  }