@fluxhub/fluxhub-lib 10.0.726 → 10.0.728

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.
@@ -3310,9 +3310,9 @@
3310
3310
  this.is_editing = false;
3311
3311
  this.App = "";
3312
3312
  this.K = "";
3313
- this.mgs_back = "Back";
3314
- this.mgs_edit = "Edit";
3315
- this.mgs_save = "Save";
3313
+ this.mgs_back = "Indietro";
3314
+ this.mgs_edit = "Modifica";
3315
+ this.mgs_save = "Salva";
3316
3316
  this.b_commento = false;
3317
3317
  this.log_enabled = true;
3318
3318
  this.custom_commands = [];
@@ -3350,7 +3350,7 @@
3350
3350
  FHFormToolBarComponent.decorators = [
3351
3351
  { type: i0.Component, args: [{
3352
3352
  selector: "FHFormToolBar",
3353
- template: "\n <div fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n [hidden]=\"is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <div><button mat-flat-button [hidden]=\"!show_back\" (click)=\"back()\">{{ mgs_back }}</button> </div>\n <div><button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!editable\"\n (click)=\"edit()\"\n >\n <mat-icon>edit</mat-icon>&nbsp;&nbsp;{{ mgs_edit }}\n </button> </div>\n <div><button\n [hidden]=\"!editable || !log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs</button> </div>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n [hidden]=\"!is_editing\"\n fxLayoutAlign=\"start center\">\n <div><button mat-flat-button [hidden]=\"!show_back\" (click)=\"back_ask_save()\">{{ mgs_back }}</button> </div>\n <div><button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!show_save\"\n (click)=\"save()\">\n <mat-icon>save</mat-icon>&nbsp;&nbsp;{{ mgs_save }}\n </button> </div>\n\n <div><button [hidden]=\"!log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs\n </button> </div>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"10px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\n <div><button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >{{ app.label }}\n </button> </div>\n </div>\n </div>\n </div>\n ",
3353
+ template: "\n <div fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n [hidden]=\"is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <div><button mat-flat-button [hidden]=\"!show_back\" (click)=\"back()\">{{ mgs_back | translate }}</button> </div>\n <div><button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!editable\"\n (click)=\"edit()\"\n >\n <mat-icon>edit</mat-icon>&nbsp;&nbsp;{{ mgs_edit }}\n </button> </div>\n <div><button\n [hidden]=\"!editable || !log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs</button> </div>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n [hidden]=\"!is_editing\"\n fxLayoutAlign=\"start center\">\n <div><button mat-flat-button [hidden]=\"!show_back\" (click)=\"back_ask_save()\">{{ mgs_back | translate }}</button> </div>\n <div><button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!show_save\"\n (click)=\"save()\">\n <mat-icon>save</mat-icon>&nbsp;&nbsp;{{ mgs_save | translate}}\n </button> </div>\n\n <div><button [hidden]=\"!log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs\n </button> </div>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"10px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\n <div><button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >{{ app.label }}\n </button> </div>\n </div>\n </div>\n </div>\n ",
3354
3354
  styles: [""]
3355
3355
  },] }
3356
3356
  ];
@@ -21930,6 +21930,7 @@
21930
21930
  this.grid_key = "";
21931
21931
  this.m_id_Doc = "";
21932
21932
  this.title = "";
21933
+ this.override_insert = false;
21933
21934
  this.user_nome = "";
21934
21935
  this.user_cognome = "";
21935
21936
  this.user_email = "";
@@ -22006,7 +22007,7 @@
22006
22007
  commento_default: '',
22007
22008
  comm_notrequired: '',
22008
22009
  utenti: arrAutori,
22009
- prendi_in_carico: false
22010
+ prendi_in_carico: false, only_riassegna: true
22010
22011
  } });
22011
22012
  dialogRef.afterClosed().subscribe(function (result) {
22012
22013
  if (result) {
@@ -22917,11 +22918,15 @@
22917
22918
  }
22918
22919
  }
22919
22920
  };
22921
+ wkfapp_v2.prototype.do_custom_insert = function () { };
22920
22922
  wkfapp_v2.prototype.goto_models = function () {
22921
22923
  this.m_router.navigate([this.app_root, "models"]);
22922
22924
  };
22923
22925
  wkfapp_v2.prototype.insert_doc = function () {
22924
- this.m_router.navigate([this.app_root, this.id_applicativo, "new"]);
22926
+ if (!this.override_insert)
22927
+ this.m_router.navigate([this.app_root, this.id_applicativo, "new"]);
22928
+ else
22929
+ this.do_custom_insert();
22925
22930
  };
22926
22931
  wkfapp_v2.prototype.ripristina_imp = function () {
22927
22932
  if (localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user') == null)
@@ -24300,7 +24305,6 @@
24300
24305
  setTimeout(function () { _this.load_document(); }, 200);
24301
24306
  return;
24302
24307
  }
24303
- console.log('start load_document', new Date());
24304
24308
  var p = new QParam();
24305
24309
  p.sql = "SELECT_WKF_DOCUMENT_NOREP";
24306
24310
  p.types = ["string", "string", "string"];