@fluxhub/fluxhub-lib 9.0.1 → 9.0.3

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.
Files changed (40) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +146 -87
  2. package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
  3. package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
  4. package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
  5. package/esm2015/lib/controls/app_manager/fhrolemanager.js +4 -2
  6. package/esm2015/lib/controls/app_manager/fhtablevaluesmanager.js +4 -2
  7. package/esm2015/lib/controls/fhfieldpicklist.js +11 -9
  8. package/esm2015/lib/controls/fhgrid.js +11 -5
  9. package/esm2015/lib/controls/fhgrid_json.js +5 -3
  10. package/esm2015/lib/controls/fhupload.js +4 -2
  11. package/esm2015/lib/controls/fhuploadpanel.js +9 -5
  12. package/esm2015/lib/controls/fhuserfield.js +7 -5
  13. package/esm2015/lib/form_builder/form_builder.js +5 -3
  14. package/esm2015/lib/services/office_automator.service.js +4 -2
  15. package/esm2015/lib/wkf_engine/win_commenti.js +11 -7
  16. package/esm2015/lib/wkf_engine/win_insert_commento.js +4 -2
  17. package/esm2015/lib/wkf_engine/win_log.js +11 -7
  18. package/esm2015/lib/wkf_engine/wkfapp.js +21 -11
  19. package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +35 -25
  20. package/esm5/lib/controls/app_manager/fhrolemanager.js +5 -2
  21. package/esm5/lib/controls/app_manager/fhtablevaluesmanager.js +5 -2
  22. package/esm5/lib/controls/fhfieldpicklist.js +11 -9
  23. package/esm5/lib/controls/fhgrid.js +11 -5
  24. package/esm5/lib/controls/fhgrid_json.js +5 -3
  25. package/esm5/lib/controls/fhupload.js +4 -2
  26. package/esm5/lib/controls/fhuploadpanel.js +11 -7
  27. package/esm5/lib/controls/fhuserfield.js +7 -5
  28. package/esm5/lib/form_builder/form_builder.js +5 -3
  29. package/esm5/lib/services/office_automator.service.js +4 -2
  30. package/esm5/lib/wkf_engine/win_commenti.js +11 -7
  31. package/esm5/lib/wkf_engine/win_insert_commento.js +4 -2
  32. package/esm5/lib/wkf_engine/win_log.js +11 -7
  33. package/esm5/lib/wkf_engine/wkfapp.js +29 -19
  34. package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +38 -27
  35. package/fesm2015/fluxhub-fluxhub-lib.js +131 -75
  36. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  37. package/fesm5/fluxhub-fluxhub-lib.js +146 -87
  38. package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
  39. package/fluxhub-fluxhub-lib.metadata.json +1 -1
  40. package/package.json +1 -1
@@ -2545,7 +2545,9 @@
2545
2545
  };
2546
2546
  if (this.dialogRef == null) {
2547
2547
  this.dialogRef = this.dialog.open(WinWait, { 'disableClose': true });
2548
- this.dialogRef.componentInstance.label = this.label_attendere;
2548
+ setTimeout(function () {
2549
+ _this.dialogRef.componentInstance.label = _this.label_attendere;
2550
+ });
2549
2551
  this.dialogRef.afterClosed().subscribe(function (result) {
2550
2552
  if (result != "") {
2551
2553
  }
@@ -3077,11 +3079,13 @@
3077
3079
  .subscribe(function (data) {
3078
3080
  if (data != null)
3079
3081
  if (data.result_msg == "OK") {
3080
- var dialogRef = _this
3082
+ var dialogRef_1 = _this
3081
3083
  .dialog
3082
3084
  .open(FHWinComboSelect);
3083
- dialogRef.componentInstance.set_selection("Tipologia Allegato", data.result_data);
3084
- dialogRef
3085
+ setTimeout(function () {
3086
+ dialogRef_1.componentInstance.set_selection("Tipologia Allegato", data.result_data);
3087
+ });
3088
+ dialogRef_1
3085
3089
  .afterClosed()
3086
3090
  .subscribe(function (result) {
3087
3091
  if (result != null) {
@@ -3108,9 +3112,11 @@
3108
3112
  var dialogRef = this
3109
3113
  .dialog
3110
3114
  .open(WinAskTextBigComponent);
3111
- dialogRef.componentInstance.label = "Descrizione Allegato";
3112
- dialogRef.componentInstance.valore = ax.descrizione;
3113
- dialogRef.componentInstance.min_chars = 0;
3115
+ setTimeout(function () {
3116
+ dialogRef.componentInstance.label = "Descrizione Allegato";
3117
+ dialogRef.componentInstance.valore = ax.descrizione;
3118
+ dialogRef.componentInstance.min_chars = 0;
3119
+ });
3114
3120
  dialogRef
3115
3121
  .afterClosed()
3116
3122
  .subscribe(function (result) {
@@ -4020,10 +4026,12 @@
4020
4026
  var dialogRef = this.dialog.open(FHUserPickerComponent, {
4021
4027
  disableClose: true, width: "700px", height: "550px"
4022
4028
  });
4023
- dialogRef.componentInstance.user_sel = this.selectedUser;
4024
- dialogRef.componentInstance.users_list = Object.assign([], this.all_user);
4025
- dialogRef.componentInstance.single_sel = !this.multi;
4026
- dialogRef.componentInstance.filtra();
4029
+ setTimeout(function () {
4030
+ dialogRef.componentInstance.user_sel = _this.selectedUser;
4031
+ dialogRef.componentInstance.users_list = Object.assign([], _this.all_user);
4032
+ dialogRef.componentInstance.single_sel = !_this.multi;
4033
+ dialogRef.componentInstance.filtra();
4034
+ });
4027
4035
  dialogRef.afterClosed().subscribe(function (result) {
4028
4036
  if (result == null)
4029
4037
  return;
@@ -4257,7 +4265,9 @@
4257
4265
  wkfapp.prototype.recupera_richiesta = function () {
4258
4266
  var _this = this;
4259
4267
  var dialogRef = this.dialog.open(win_recupera_doc, { 'disableClose': true });
4260
- dialogRef.componentInstance.init_w(this.id_applicativo);
4268
+ setTimeout(function () {
4269
+ dialogRef.componentInstance.init_w(_this.id_applicativo);
4270
+ });
4261
4271
  dialogRef.afterClosed().subscribe(function (result) {
4262
4272
  if (result == 'ok')
4263
4273
  _this.get_grid().doFill('');
@@ -4280,10 +4290,12 @@
4280
4290
  .subscribe(function (data) {
4281
4291
  if (data != null)
4282
4292
  if (data.result_msg == "OK") {
4283
- var dialogRef = _this.dialog.open(win_sostituisci_utente, { 'disableClose': true, 'width': '450px' });
4284
- dialogRef.componentInstance.up.all_user = data.result_data;
4285
- dialogRef.componentInstance.title = "Sostituzione utente: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
4286
- dialogRef.afterClosed().subscribe(function (result) {
4293
+ var dialogRef_1 = _this.dialog.open(win_sostituisci_utente, { 'disableClose': true, 'width': '450px' });
4294
+ setTimeout(function () {
4295
+ dialogRef_1.componentInstance.up.all_user = data.result_data;
4296
+ dialogRef_1.componentInstance.title = "Sostituzione utente: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
4297
+ });
4298
+ dialogRef_1.afterClosed().subscribe(function (result) {
4287
4299
  if (result != null)
4288
4300
  if (result.result != null)
4289
4301
  if (result.result == 'ok') {
@@ -4323,17 +4335,19 @@
4323
4335
  if (data != null)
4324
4336
  if (data.result_msg == "OK") {
4325
4337
  _this.livs_adm = data.result_data;
4326
- var s_i = new Array();
4338
+ var s_i_1 = new Array();
4327
4339
  var ap_lvl = "";
4328
4340
  for (var i = 0; i < _this.livs_adm.length; i++)
4329
4341
  if (ap_lvl.indexOf(String(_this.livs_adm[i].livello)) == -1) {
4330
4342
  ap_lvl = ap_lvl + String(_this.livs_adm[i].livello) + "|";
4331
- s_i.push(_this.livs_adm[i]);
4343
+ s_i_1.push(_this.livs_adm[i]);
4332
4344
  }
4333
- var dialogRef = _this.dialog.open(win_riassegna_select_level, { 'disableClose': true });
4334
- dialogRef.componentInstance.setStepCombo(s_i);
4335
- dialogRef.componentInstance.title = "Riassegnazione documento: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
4336
- dialogRef.afterClosed().subscribe(function (result) {
4345
+ var dialogRef_2 = _this.dialog.open(win_riassegna_select_level, { 'disableClose': true });
4346
+ setTimeout(function () {
4347
+ dialogRef_2.componentInstance.setStepCombo(s_i_1);
4348
+ dialogRef_2.componentInstance.title = "Riassegnazione documento: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
4349
+ });
4350
+ dialogRef_2.afterClosed().subscribe(function (result) {
4337
4351
  if (result != null)
4338
4352
  if (result.result != null)
4339
4353
  if (result.result == 'ok') {
@@ -4357,8 +4371,10 @@
4357
4371
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
4358
4372
  arrAutori[i].username = arrAutori[i].idp;
4359
4373
  }
4360
- dialogRef.componentInstance.arrAutori = arrAutori;
4361
- dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
4374
+ setTimeout(function () {
4375
+ dialogRef.componentInstance.arrAutori = arrAutori;
4376
+ dialogRef.componentInstance.title = "Riassegnazione documento: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
4377
+ });
4362
4378
  dialogRef.afterClosed().subscribe(function (result) {
4363
4379
  if (result != null)
4364
4380
  if (result.result != null)
@@ -4525,11 +4541,13 @@
4525
4541
  .subscribe(function (data) {
4526
4542
  if (data != null)
4527
4543
  if (data.result_msg == "OK") {
4528
- var dialogRef = _this.dialog.open(win_riassegna_select_user, { 'disableClose': true, width: '850px' });
4529
- dialogRef.componentInstance.arrAutori = data.result_data;
4530
- dialogRef.componentInstance.title = "Impersona Utente";
4531
- dialogRef.componentInstance.commento_hidden = true;
4532
- dialogRef.afterClosed().subscribe(function (result) {
4544
+ var dialogRef_3 = _this.dialog.open(win_riassegna_select_user, { 'disableClose': true, width: '850px' });
4545
+ setTimeout(function () {
4546
+ dialogRef_3.componentInstance.arrAutori = data.result_data;
4547
+ dialogRef_3.componentInstance.title = "Impersona Utente";
4548
+ dialogRef_3.componentInstance.commento_hidden = true;
4549
+ });
4550
+ dialogRef_3.afterClosed().subscribe(function (result) {
4533
4551
  if (result != null)
4534
4552
  if (result.result != null)
4535
4553
  if (result.result == 'ok') {
@@ -4978,7 +4996,9 @@
4978
4996
  this.eprog += 10;
4979
4997
  if (this.eprog >= 100)
4980
4998
  this.eprog = 95;
4981
- dialogRef_W.componentInstance.update_progess(this.eprog);
4999
+ setTimeout(function () {
5000
+ dialogRef_W.componentInstance.update_progess(_this.eprog);
5001
+ });
4982
5002
  setTimeout(function () {
4983
5003
  _this.progress_update(dialogRef_W);
4984
5004
  }, 2000);
@@ -5569,8 +5589,10 @@
5569
5589
  FHGridComponent.prototype.insert_config = function () {
5570
5590
  var _this = this;
5571
5591
  this.win_opt = this.m_dialog.open(WinAskTextComponent, { 'disableClose': true });
5572
- this.win_opt.componentInstance.title = 'Salva Configurazione';
5573
- this.win_opt.componentInstance.label = 'Nome';
5592
+ setTimeout(function () {
5593
+ _this.win_opt.componentInstance.title = 'Salva Configurazione';
5594
+ _this.win_opt.componentInstance.label = 'Nome';
5595
+ });
5574
5596
  this.win_opt.afterClosed().subscribe(function (result) {
5575
5597
  if (result)
5576
5598
  if (result != null) {
@@ -5891,7 +5913,9 @@
5891
5913
  this.dialogRef_W = this.m_dialog.open(WinWait, {
5892
5914
  disableClose: true
5893
5915
  });
5894
- this.dialogRef_W.componentInstance.label = "EXPORT IN CORSO";
5916
+ setTimeout(function () {
5917
+ _this.dialogRef_W.componentInstance.label = "EXPORT IN CORSO";
5918
+ });
5895
5919
  var cmds = [];
5896
5920
  var str_fields = "";
5897
5921
  var p_col = this.gridOptions.columnApi.getColumnState();
@@ -5916,7 +5940,9 @@
5916
5940
  cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
5917
5941
  cmds.push(this.officeService.operation("GB_XLS_SAVE", this.m_appService.LOCAL_PATH + "grid_reports\\" + this.uiid_stampa + "_" + this.m_appService.user + format, "", this.xxopx++));
5918
5942
  this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe(function (data) {
5919
- _this.dialogRef_W.componentInstance.update_progess(100);
5943
+ setTimeout(function () {
5944
+ _this.dialogRef_W.componentInstance.update_progess(100);
5945
+ });
5920
5946
  var p = new FSInput();
5921
5947
  p.p1 =
5922
5948
  _this.m_appService.LOCAL_PATH + "grid_reports\\" + _this.uiid_stampa + "_" + _this.m_appService.user +
@@ -9172,11 +9198,13 @@
9172
9198
  win_commenti.prototype.select_destinatari_grp = function () {
9173
9199
  var _this = this;
9174
9200
  var dialo = this.m_dialogRef.open(FHListPick, { 'disableClose': true });
9175
- dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
9176
- dialo.componentInstance.types = ['string'];
9177
- dialo.componentInstance.values = [this.m_appService.getState().wkf_doc_info.uiid_app];
9178
- dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
9179
- dialo.componentInstance.doFill();
9201
+ setTimeout(function () {
9202
+ dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
9203
+ dialo.componentInstance.types = ['string'];
9204
+ dialo.componentInstance.values = [_this.m_appService.getState().wkf_doc_info.uiid_app];
9205
+ dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
9206
+ dialo.componentInstance.doFill();
9207
+ });
9180
9208
  dialo.afterClosed().subscribe(function (result) {
9181
9209
  if (result != null) {
9182
9210
  if (result == '')
@@ -9212,7 +9240,9 @@
9212
9240
  var ok_op = false;
9213
9241
  this._dataService.doQuery(p).subscribe(function (data) {
9214
9242
  var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
9215
- dialo.componentInstance.init_arr(data.result_data);
9243
+ setTimeout(function () {
9244
+ dialo.componentInstance.init_arr(data.result_data);
9245
+ });
9216
9246
  dialo.afterClosed().subscribe(function (result) {
9217
9247
  // this.selectedOption = result;
9218
9248
  if (result != null) {
@@ -9554,7 +9584,9 @@
9554
9584
  var ok_op = false;
9555
9585
  this._dataService.doQuery(p).subscribe(function (data) {
9556
9586
  var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
9557
- dialo.componentInstance.init_arr(data.result_data);
9587
+ setTimeout(function () {
9588
+ dialo.componentInstance.init_arr(data.result_data);
9589
+ });
9558
9590
  dialo.afterClosed().subscribe(function (result) {
9559
9591
  if (result != null) {
9560
9592
  var s_users = "";
@@ -9571,11 +9603,13 @@
9571
9603
  win_log.prototype.select_destinatari_grp = function () {
9572
9604
  var _this = this;
9573
9605
  var dialo = this.m_dialogRef.open(FHListPick, { 'disableClose': true });
9574
- dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
9575
- dialo.componentInstance.types = ['string'];
9576
- dialo.componentInstance.values = [this.m_appService.getState().wkf_doc_info.uiid_app];
9577
- dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
9578
- dialo.componentInstance.doFill();
9606
+ setTimeout(function () {
9607
+ dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
9608
+ dialo.componentInstance.types = ['string'];
9609
+ dialo.componentInstance.values = [_this.m_appService.getState().wkf_doc_info.uiid_app];
9610
+ dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
9611
+ dialo.componentInstance.doFill();
9612
+ });
9579
9613
  dialo.afterClosed().subscribe(function (result) {
9580
9614
  if (result != null) {
9581
9615
  if (result == '')
@@ -10055,8 +10089,10 @@
10055
10089
  FHGridJSONComponent.prototype.insert_config = function () {
10056
10090
  var _this = this;
10057
10091
  this.win_opt = this.m_dialog.open(WinAskTextComponent, { 'disableClose': true });
10058
- this.win_opt.componentInstance.title = 'Salva Configurazione';
10059
- this.win_opt.componentInstance.label = 'Nome';
10092
+ setTimeout(function () {
10093
+ _this.win_opt.componentInstance.title = 'Salva Configurazione';
10094
+ _this.win_opt.componentInstance.label = 'Nome';
10095
+ });
10060
10096
  this.win_opt.afterClosed().subscribe(function (result) {
10061
10097
  if (result)
10062
10098
  if (result != null) {
@@ -11205,11 +11241,13 @@
11205
11241
  return 0;
11206
11242
  });
11207
11243
  ;
11208
- var dialogRef = this.m_dialog.open(win_assegna, {
11244
+ var dialogRef_1 = this.m_dialog.open(win_assegna, {
11209
11245
  disableClose: true
11210
11246
  });
11211
- dialogRef.componentInstance.comm_notrequired = this.nlevel.commenti_opzionali;
11212
- dialogRef.afterClosed().subscribe(function (result) {
11247
+ setTimeout(function () {
11248
+ dialogRef_1.componentInstance.comm_notrequired = _this.nlevel.commenti_opzionali;
11249
+ });
11250
+ dialogRef_1.afterClosed().subscribe(function (result) {
11213
11251
  if (result == "") {
11214
11252
  _this.edit_b(true);
11215
11253
  if (_this.respingi_enabled)
@@ -11575,17 +11613,19 @@
11575
11613
  if (inser_c === void 0) { inser_c = false; }
11576
11614
  var s_h = (this.app_s.getState().body_h - 40) + 'px';
11577
11615
  var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: s_h });
11578
- dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
11579
- if (this.m_obj.lettori != null)
11580
- dialogRef.componentInstance.lettori = this.m_obj.lettori;
11581
- else
11582
- dialogRef.componentInstance.lettori = '';
11583
- dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
11584
- dialogRef.componentInstance.codice_doc = this.m_obj.codice;
11585
- dialogRef.componentInstance.notifica_commenti = this.app_info.notifica_commenti;
11586
- dialogRef.componentInstance.notifica_commenti_obbl = this.app_info.notifica_commenti_obbl;
11587
- dialogRef.componentInstance.commenti_insert = inser_c;
11588
- dialogRef.componentInstance.init_v();
11616
+ setTimeout(function () {
11617
+ dialogRef.componentInstance.subject = _this.app_info.descrizione_breve + ", <OP>: " + _this.m_obj.codice + " " + _this.getTitle();
11618
+ if (_this.m_obj.lettori != null)
11619
+ dialogRef.componentInstance.lettori = _this.m_obj.lettori;
11620
+ else
11621
+ dialogRef.componentInstance.lettori = '';
11622
+ dialogRef.componentInstance.link = _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit";
11623
+ dialogRef.componentInstance.codice_doc = _this.m_obj.codice;
11624
+ dialogRef.componentInstance.notifica_commenti = _this.app_info.notifica_commenti;
11625
+ dialogRef.componentInstance.notifica_commenti_obbl = _this.app_info.notifica_commenti_obbl;
11626
+ dialogRef.componentInstance.commenti_insert = inser_c;
11627
+ dialogRef.componentInstance.init_v();
11628
+ });
11589
11629
  dialogRef.afterClosed().subscribe(function (result) {
11590
11630
  _this.r_count();
11591
11631
  });
@@ -11593,16 +11633,18 @@
11593
11633
  dati_aggiuntivi.prototype.open_commenti = function () {
11594
11634
  var _this = this;
11595
11635
  var dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true, width: "90%" });
11596
- dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
11597
- if (this.m_obj.lettori != null)
11598
- dialogRef.componentInstance.lettori = this.m_obj.lettori;
11599
- else
11600
- dialogRef.componentInstance.lettori = '';
11601
- dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
11602
- dialogRef.componentInstance.codice_doc = this.m_obj.codice;
11603
- dialogRef.componentInstance.notifica_commenti = this.app_info.notifica_commenti;
11604
- dialogRef.componentInstance.notifica_commenti_obbl = this.app_info.notifica_commenti_obbl;
11605
- dialogRef.componentInstance.init_v();
11636
+ setTimeout(function () {
11637
+ dialogRef.componentInstance.subject = _this.app_info.descrizione_breve + ", <OP>: " + _this.m_obj.codice + " " + _this.getTitle();
11638
+ if (_this.m_obj.lettori != null)
11639
+ dialogRef.componentInstance.lettori = _this.m_obj.lettori;
11640
+ else
11641
+ dialogRef.componentInstance.lettori = '';
11642
+ dialogRef.componentInstance.link = _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit";
11643
+ dialogRef.componentInstance.codice_doc = _this.m_obj.codice;
11644
+ dialogRef.componentInstance.notifica_commenti = _this.app_info.notifica_commenti;
11645
+ dialogRef.componentInstance.notifica_commenti_obbl = _this.app_info.notifica_commenti_obbl;
11646
+ dialogRef.componentInstance.init_v();
11647
+ });
11606
11648
  dialogRef.afterClosed().subscribe(function (result) {
11607
11649
  _this.r_count();
11608
11650
  });
@@ -11611,7 +11653,9 @@
11611
11653
  var _this = this;
11612
11654
  if (sovra_path === void 0) { sovra_path = ''; }
11613
11655
  var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%" });
11614
- dialogRef.componentInstance.sovrascrivi_path = sovra_path;
11656
+ setTimeout(function () {
11657
+ dialogRef.componentInstance.sovrascrivi_path = sovra_path;
11658
+ });
11615
11659
  dialogRef.afterClosed().subscribe(function (result) {
11616
11660
  _this.r_count();
11617
11661
  });
@@ -11848,10 +11892,13 @@
11848
11892
  }
11849
11893
  };
11850
11894
  dati_aggiuntivi.prototype.open_info = function () {
11895
+ var _this = this;
11851
11896
  var dialogRef = this.m_dialog.open(win_info_doc, {
11852
11897
  disableClose: true
11853
11898
  });
11854
- dialogRef.componentInstance.hide_richiedente = this.hide_richiedente;
11899
+ setTimeout(function () {
11900
+ dialogRef.componentInstance.hide_richiedente = _this.hide_richiedente;
11901
+ });
11855
11902
  dialogRef.afterClosed().subscribe(function (result) {
11856
11903
  // this.selectedOption = result;
11857
11904
  });
@@ -12321,8 +12368,10 @@
12321
12368
  FormBuilderComponent.prototype.del_item = function (uiid_obj) {
12322
12369
  var _this = this;
12323
12370
  var dialogRef = this._dialog.open(FHConfirmComponent, { 'disableClose': true });
12324
- dialogRef.componentInstance.title = 'Confirm';
12325
- dialogRef.componentInstance.msg = "Remove Element?";
12371
+ setTimeout(function () {
12372
+ dialogRef.componentInstance.title = 'Confirm';
12373
+ dialogRef.componentInstance.msg = "Remove Element?";
12374
+ });
12326
12375
  dialogRef.afterClosed().subscribe(function (result) {
12327
12376
  if (result) {
12328
12377
  for (var i = 0; i < _this.items.length; i++)
@@ -13057,14 +13106,16 @@
13057
13106
  var dialogRef = this.m_dialog.open(FHListPick, {
13058
13107
  disableClose: true
13059
13108
  });
13060
- dialogRef.componentInstance.single_sel = this.single_sel;
13061
- dialogRef.componentInstance.sel_values = this.value;
13062
- dialogRef.componentInstance.separator = this.separator;
13063
- dialogRef.componentInstance.label = this.label;
13064
- dialogRef.componentInstance.sql = this.sql;
13065
- dialogRef.componentInstance.types = this.types;
13066
- dialogRef.componentInstance.values = this.values;
13067
- dialogRef.componentInstance.doFill();
13109
+ setTimeout(function () {
13110
+ dialogRef.componentInstance.single_sel = _this.single_sel;
13111
+ dialogRef.componentInstance.sel_values = _this.value;
13112
+ dialogRef.componentInstance.separator = _this.separator;
13113
+ dialogRef.componentInstance.label = _this.label;
13114
+ dialogRef.componentInstance.sql = _this.sql;
13115
+ dialogRef.componentInstance.types = _this.types;
13116
+ dialogRef.componentInstance.values = _this.values;
13117
+ dialogRef.componentInstance.doFill();
13118
+ });
13068
13119
  dialogRef.afterClosed().subscribe(function (result) {
13069
13120
  if (result != null && result != '') {
13070
13121
  _this.value = '';
@@ -13254,10 +13305,13 @@
13254
13305
  this.b_init = false;
13255
13306
  }
13256
13307
  FHTableManager.prototype.edit_values = function () {
13308
+ var _this = this;
13257
13309
  if (this.cmb_sel.getValue() == "-1")
13258
13310
  return;
13259
13311
  var dialogRef = this._dialog.open(win_manage_values, { width: '90%', height: '550px' });
13260
- dialogRef.componentInstance.id_tipo = Number(this.cmb_sel.getValue());
13312
+ setTimeout(function () {
13313
+ dialogRef.componentInstance.id_tipo = Number(_this.cmb_sel.getValue());
13314
+ });
13261
13315
  dialogRef.afterClosed().subscribe(function (result) {
13262
13316
  if (result) {
13263
13317
  }
@@ -13401,10 +13455,13 @@
13401
13455
  this.b_init = false;
13402
13456
  }
13403
13457
  FHRoleManager.prototype.edit_values = function () {
13458
+ var _this = this;
13404
13459
  if (this.cmb_sel.getValue() == "-1")
13405
13460
  return;
13406
13461
  var dialogRef = this._dialog.open(win_manage_roles, { width: '90%', height: '550px' });
13407
- dialogRef.componentInstance.role_id = Number(this.cmb_sel.getValue());
13462
+ setTimeout(function () {
13463
+ dialogRef.componentInstance.role_id = Number(_this.cmb_sel.getValue());
13464
+ });
13408
13465
  dialogRef.afterClosed().subscribe(function (result) {
13409
13466
  if (result) {
13410
13467
  }
@@ -13832,7 +13889,9 @@
13832
13889
  var ok_op = false;
13833
13890
  this._dataService.doQuery(p).subscribe(function (data) {
13834
13891
  var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
13835
- dialo.componentInstance.init_arr(data.result_data);
13892
+ setTimeout(function () {
13893
+ dialo.componentInstance.init_arr(data.result_data);
13894
+ });
13836
13895
  dialo.afterClosed().subscribe(function (result) {
13837
13896
  // this.selectedOption = result;
13838
13897
  if (result != null) {