@fluxhub/fluxhub-lib 10.0.283 → 10.0.285

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.
@@ -4979,9 +4979,10 @@
4979
4979
  _this.progress_update(dialogRef_W);
4980
4980
  }, 2000);
4981
4981
  };
4982
- OfficeAutomatorService.prototype.runCommands = function (uiid, commands, dialogRef_W) {
4982
+ OfficeAutomatorService.prototype.runCommands = function (uiid, commands, dialogRef_W, sync) {
4983
4983
  var _this = this;
4984
4984
  if (dialogRef_W === void 0) { dialogRef_W = null; }
4985
+ if (sync === void 0) { sync = true; }
4985
4986
  this.eprog = 0;
4986
4987
  var p = new QParam();
4987
4988
  p.sql = "INSERT_OFFICE_OPERATION";
@@ -4997,7 +4998,10 @@
4997
4998
  if (data != null) {
4998
4999
  if (data.result_msg == "OK") {
4999
5000
  var p_1 = new FSInput();
5000
- p_1.command = "exec_app_async";
5001
+ if (sync)
5002
+ p_1.command = "exec_app";
5003
+ else
5004
+ p_1.command = "exec_app_async";
5001
5005
  p_1.p1 = "print_manager";
5002
5006
  p_1.p2 = uiid;
5003
5007
  if (dialogRef_W != null)
@@ -6150,7 +6154,7 @@
6150
6154
  this.m_appService.user +
6151
6155
  format, "", this.xxopx++));
6152
6156
  this.officeService
6153
- .runCommands(this.uiid_stampa, cmds, this.dialogRef_W)
6157
+ .runCommands(this.uiid_stampa, cmds, this.dialogRef_W, false)
6154
6158
  .subscribe(function (data) {
6155
6159
  _this.check_end(format);
6156
6160
  });
@@ -9347,9 +9351,7 @@
9347
9351
  _this.selectedUser = result;
9348
9352
  _this.writeValue("noop");
9349
9353
  _this.select.emit(_this.selectedUser);
9350
- console.log(_this.selectedUser);
9351
9354
  _this.userName = _this.getUsersNc();
9352
- console.log(_this.userName);
9353
9355
  }
9354
9356
  else
9355
9357
  _this.clear();