@fluxhub/fluxhub-lib 10.0.544 → 10.0.546

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.
@@ -15206,7 +15206,7 @@
15206
15206
  }());
15207
15207
  win_conferma_v2.decorators = [
15208
15208
  { type: i0.Component, args: [{
15209
- template: "\n<div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-toolbar [style.background-color]=\"color\"\n [style.color]=\"color_font\">\n <i *ngIf=\"icon!=null && icon!=''\" class=\"fa {{icon}}\" aria-hidden=\"true\"></i>\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{ lbl }}</div>\n <div *ngIf=\"!mobile\">{{ lbl }}</div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <div\n *ngIf=\"mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n style=\"font-size:10px\"\n >\n Assegnata a: {{ utenti }}\n </div>\n <h3\n *ngIf=\"!mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n >\n Assegnata a: {{ utenti }}\n </h3>\n <br />\n <mat-form-field\n [hidden]=\"comm_notrequired == 1\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Commento {{ nota_commento }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button>\n\n </div>\n "
15209
+ template: "\n<div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-toolbar [style.background-color]=\"color\"\n [style.color]=\"color_font\">\n <i *ngIf=\"icon!=null && icon!=''\" class=\"fa {{icon}}\" aria-hidden=\"true\"></i>&nbsp;&nbsp;&nbsp;\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{ lbl }}</div>\n <div *ngIf=\"!mobile\">{{ lbl }}</div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <div\n *ngIf=\"mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n style=\"font-size:10px\"\n >\n Assegnata a: {{ utenti }}\n </div>\n <h3\n *ngIf=\"!mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n >\n Assegnata a: {{ utenti }}\n </h3>\n <br />\n <mat-form-field\n [hidden]=\"comm_notrequired == 1\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Commento {{ nota_commento }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button>\n\n </div>\n "
15210
15210
  },] }
15211
15211
  ];
15212
15212
  win_conferma_v2.ctorParameters = function () { return [
@@ -22675,6 +22675,9 @@
22675
22675
  });
22676
22676
  }
22677
22677
  */
22678
+ dati_aggiuntivi_v2.prototype.wkf_rule_before = function (transazioni, step, context) {
22679
+ return transazioni;
22680
+ };
22678
22681
  dati_aggiuntivi_v2.prototype.calcolanextandjump = function () {
22679
22682
  var _this = this;
22680
22683
  console.log('calcolanextandjump');
@@ -22687,6 +22690,7 @@
22687
22690
  if (data.result_msg == "OK") {
22688
22691
  var transazioni = data.result_data;
22689
22692
  console.log('transazioni ', transazioni);
22693
+ transazioni = _this.wkf_rule_before(transazioni, _this.clevel.step, _this.clevel.context);
22690
22694
  if (transazioni.length == 0) {
22691
22695
  _this.alert('Nessuna transizione definita dallo step: ' + _this.clevel.step, 1);
22692
22696
  return;