@fluxhub/fluxhub-lib 10.0.284 → 10.0.286

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
  });
@@ -7138,6 +7142,7 @@
7138
7142
  this.id_loading = false;
7139
7143
  this.db_type = "1";
7140
7144
  this.enabled = true;
7145
+ this.open_on_load = true;
7141
7146
  this.required = false;
7142
7147
  this.only_from_list = false;
7143
7148
  this.fillend = new i0.EventEmitter();
@@ -7461,7 +7466,7 @@
7461
7466
  { type: i0.Component, args: [{
7462
7467
  selector: "FHAutoComplete",
7463
7468
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4],
7464
- template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search();onChange_up($event)\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n autoActiveFirstOption\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{ errorMsg }}\n </div>\n </div>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
7469
+ template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search();onChange_up($event)\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n [autoActiveFirstOption]=\"open_on_load\"\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{ errorMsg }}\n </div>\n </div>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
7465
7470
  styles: [""]
7466
7471
  },] }
7467
7472
  ];
@@ -7478,6 +7483,7 @@
7478
7483
  hidden: [{ type: i0.Input }],
7479
7484
  db_type: [{ type: i0.Input }],
7480
7485
  enabled: [{ type: i0.Input }],
7486
+ open_on_load: [{ type: i0.Input }],
7481
7487
  required: [{ type: i0.Input }],
7482
7488
  only_from_list: [{ type: i0.Input }],
7483
7489
  fillend: [{ type: i0.Output }],
@@ -9347,9 +9353,7 @@
9347
9353
  _this.selectedUser = result;
9348
9354
  _this.writeValue("noop");
9349
9355
  _this.select.emit(_this.selectedUser);
9350
- console.log(_this.selectedUser);
9351
9356
  _this.userName = _this.getUsersNc();
9352
- console.log(_this.userName);
9353
9357
  }
9354
9358
  else
9355
9359
  _this.clear();