@fluxhub/fluxhub-lib 9.0.89 → 9.0.91

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.
@@ -5227,40 +5227,10 @@ var OfficeAutomatorService = /** @class */ (function () {
5227
5227
  isTimeout = true;
5228
5228
  }, 3 * 60 * 1000); // 3 min default timeout
5229
5229
  var logOffset = 0;
5230
- ck_files(uiid);
5231
- function ck_files(uiid) {
5232
- var p = new QParam();
5233
- p.sql = "SELECT_OFFICE_OPERATION_FINISCHED";
5234
- p.types = ['string'];
5235
- p.values = [uiid];
5236
- self.dataService.doQuery(p).subscribe(function (data) {
5237
- if (data != null && data.result_msg == 'OK') {
5238
- var chunkInfo = data.result_data;
5239
- if (chunkInfo.length == 1) {
5240
- subscriber.next({ message: chunkInfo[0].result_message, result: chunkInfo[0].result });
5241
- subscriber.complete();
5242
- }
5243
- else {
5244
- if (!isTimeout) {
5245
- setTimeout(function () {
5246
- ck_files(uiid);
5247
- }, 3000); // 3 sec default check interval
5248
- }
5249
- else {
5250
- subscriber.error('Timeout');
5251
- self.toastr.error('Timeout');
5252
- }
5253
- }
5254
- }
5255
- else {
5256
- if (!isTimeout) {
5257
- setTimeout(function () {
5258
- ck_files(uiid);
5259
- }, 3000); // 3 sec default check interval
5260
- }
5261
- }
5262
- });
5263
- }
5230
+ _this.eprog = 100;
5231
+ _this.progress_update(dialogRef_W);
5232
+ subscriber.next(data);
5233
+ subscriber.complete();
5264
5234
  }); // Observable
5265
5235
  }
5266
5236
  }));