@fluxhub/fluxhub-lib 1.1.1 → 9.0.0

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 (200) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +60 -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 +2 -2
  6. package/esm2015/lib/controls/app_manager/fhtablevaluesmanager.js +2 -2
  7. package/esm2015/lib/controls/app_manager/win_manage_roles.js +2 -2
  8. package/esm2015/lib/controls/app_manager/win_manage_values.js +2 -2
  9. package/esm2015/lib/controls/fhautocomplete.js +3 -3
  10. package/esm2015/lib/controls/fhcombobox.js +1 -4
  11. package/esm2015/lib/controls/fhconfirm.js +2 -2
  12. package/esm2015/lib/controls/fhcurrencyfield.js +2 -2
  13. package/esm2015/lib/controls/fhcurrencyformatter.js +3 -3
  14. package/esm2015/lib/controls/fhdatepicker.js +2 -2
  15. package/esm2015/lib/controls/fhfieldpicklist.js +2 -2
  16. package/esm2015/lib/controls/fhgrid.js +2 -2
  17. package/esm2015/lib/controls/fhgrid_json.js +2 -2
  18. package/esm2015/lib/controls/fhgrid_win_help.js +2 -2
  19. package/esm2015/lib/controls/fhhelpbutton.js +2 -2
  20. package/esm2015/lib/controls/fhimagepreview.js +4 -4
  21. package/esm2015/lib/controls/fhlist.js +1 -3
  22. package/esm2015/lib/controls/fhlogpanel.js +2 -2
  23. package/esm2015/lib/controls/fhmdreader.js +2 -2
  24. package/esm2015/lib/controls/fhnumeric.js +2 -2
  25. package/esm2015/lib/controls/fhrichtext.js +2 -2
  26. package/esm2015/lib/controls/fhtimepicker.js +2 -2
  27. package/esm2015/lib/controls/fhupload.js +3 -3
  28. package/esm2015/lib/controls/fhuploadpanel.js +3 -3
  29. package/esm2015/lib/controls/fhuserfield.js +2 -2
  30. package/esm2015/lib/controls/fhuserpicker.js +2 -2
  31. package/esm2015/lib/controls/fhwinpicklist.js +2 -2
  32. package/esm2015/lib/controls/grid_editors/approvabuttons.js +1 -5
  33. package/esm2015/lib/controls/grid_editors/fhcombobox_filter.js +1 -4
  34. package/esm2015/lib/controls/grid_editors/select-editor.component.js +1 -6
  35. package/esm2015/lib/controls/image-viewer/image-viewer.component.js +2 -2
  36. package/esm2015/lib/controls/win_ask_buttons.js +2 -2
  37. package/esm2015/lib/controls/win_ask_number.js +2 -2
  38. package/esm2015/lib/controls/win_ask_text.js +2 -2
  39. package/esm2015/lib/controls/win_ask_textbig.js +2 -2
  40. package/esm2015/lib/controls/win_combo_select.js +2 -2
  41. package/esm2015/lib/controls/win_list_pick.js +2 -2
  42. package/esm2015/lib/controls/win_mappa.js +2 -2
  43. package/esm2015/lib/controls/win_output.js +2 -2
  44. package/esm2015/lib/controls/win_show_image.js +2 -2
  45. package/esm2015/lib/controls/win_time_slider.js +2 -2
  46. package/esm2015/lib/controls/win_user_info.js +2 -2
  47. package/esm2015/lib/controls/win_wait.js +2 -2
  48. package/esm2015/lib/fluxhub-lib.module.js +1 -1
  49. package/esm2015/lib/form_builder/form_builder.js +2 -2
  50. package/esm2015/lib/form_builder/form_executer.js +2 -2
  51. package/esm2015/lib/wkf_engine/win_assegna.js +2 -2
  52. package/esm2015/lib/wkf_engine/win_commenti.js +2 -2
  53. package/esm2015/lib/wkf_engine/win_commento_sel_notif.js +2 -2
  54. package/esm2015/lib/wkf_engine/win_conferma.js +2 -2
  55. package/esm2015/lib/wkf_engine/win_info_doc.js +2 -2
  56. package/esm2015/lib/wkf_engine/win_insert_commento.js +2 -2
  57. package/esm2015/lib/wkf_engine/win_log.js +2 -2
  58. package/esm2015/lib/wkf_engine/win_riassegna_select_level.js +2 -2
  59. package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +2 -2
  60. package/esm2015/lib/wkf_engine/win_salva_annulla.js +2 -2
  61. package/esm2015/lib/wkf_engine/win_select_canale.js +2 -2
  62. package/esm2015/lib/wkf_engine/win_select_level.js +2 -2
  63. package/esm2015/lib/wkf_engine/win_sostituisci_utente.js +2 -2
  64. package/esm2015/lib/wkf_engine/win_uploads.js +2 -2
  65. package/esm2015/lib/wkf_engine/wkf_header_bar.js +2 -2
  66. package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
  67. package/esm2015/public_api.js +1 -2
  68. package/esm5/lib/controls/app_manager/fhrolemanager.js +2 -2
  69. package/esm5/lib/controls/app_manager/fhtablevaluesmanager.js +2 -2
  70. package/esm5/lib/controls/app_manager/win_manage_roles.js +2 -2
  71. package/esm5/lib/controls/app_manager/win_manage_values.js +2 -2
  72. package/esm5/lib/controls/fhautocomplete.js +3 -3
  73. package/esm5/lib/controls/fhcombobox.js +1 -4
  74. package/esm5/lib/controls/fhconfirm.js +2 -2
  75. package/esm5/lib/controls/fhcurrencyfield.js +2 -2
  76. package/esm5/lib/controls/fhcurrencyformatter.js +3 -3
  77. package/esm5/lib/controls/fhdatepicker.js +2 -2
  78. package/esm5/lib/controls/fhfieldpicklist.js +2 -2
  79. package/esm5/lib/controls/fhgrid.js +2 -2
  80. package/esm5/lib/controls/fhgrid_json.js +2 -2
  81. package/esm5/lib/controls/fhgrid_win_help.js +2 -2
  82. package/esm5/lib/controls/fhhelpbutton.js +2 -2
  83. package/esm5/lib/controls/fhimagepreview.js +3 -3
  84. package/esm5/lib/controls/fhlist.js +1 -3
  85. package/esm5/lib/controls/fhlogpanel.js +2 -2
  86. package/esm5/lib/controls/fhmdreader.js +2 -2
  87. package/esm5/lib/controls/fhnumeric.js +2 -2
  88. package/esm5/lib/controls/fhrichtext.js +2 -2
  89. package/esm5/lib/controls/fhtimepicker.js +2 -2
  90. package/esm5/lib/controls/fhupload.js +3 -3
  91. package/esm5/lib/controls/fhuploadpanel.js +3 -3
  92. package/esm5/lib/controls/fhuserfield.js +2 -2
  93. package/esm5/lib/controls/fhuserpicker.js +2 -2
  94. package/esm5/lib/controls/fhwinpicklist.js +2 -2
  95. package/esm5/lib/controls/grid_editors/approvabuttons.js +1 -5
  96. package/esm5/lib/controls/grid_editors/fhcombobox_filter.js +1 -4
  97. package/esm5/lib/controls/grid_editors/select-editor.component.js +1 -6
  98. package/esm5/lib/controls/image-viewer/image-viewer.component.js +2 -2
  99. package/esm5/lib/controls/win_ask_buttons.js +2 -2
  100. package/esm5/lib/controls/win_ask_number.js +2 -2
  101. package/esm5/lib/controls/win_ask_text.js +2 -2
  102. package/esm5/lib/controls/win_ask_textbig.js +2 -2
  103. package/esm5/lib/controls/win_combo_select.js +2 -2
  104. package/esm5/lib/controls/win_list_pick.js +2 -2
  105. package/esm5/lib/controls/win_mappa.js +2 -2
  106. package/esm5/lib/controls/win_output.js +2 -2
  107. package/esm5/lib/controls/win_show_image.js +2 -2
  108. package/esm5/lib/controls/win_time_slider.js +2 -2
  109. package/esm5/lib/controls/win_user_info.js +2 -2
  110. package/esm5/lib/controls/win_wait.js +2 -2
  111. package/esm5/lib/fluxhub-lib.module.js +1 -1
  112. package/esm5/lib/form_builder/form_builder.js +2 -2
  113. package/esm5/lib/form_builder/form_executer.js +2 -2
  114. package/esm5/lib/wkf_engine/win_assegna.js +2 -2
  115. package/esm5/lib/wkf_engine/win_commenti.js +2 -2
  116. package/esm5/lib/wkf_engine/win_commento_sel_notif.js +2 -2
  117. package/esm5/lib/wkf_engine/win_conferma.js +2 -2
  118. package/esm5/lib/wkf_engine/win_info_doc.js +2 -2
  119. package/esm5/lib/wkf_engine/win_insert_commento.js +2 -2
  120. package/esm5/lib/wkf_engine/win_log.js +2 -2
  121. package/esm5/lib/wkf_engine/win_riassegna_select_level.js +2 -2
  122. package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
  123. package/esm5/lib/wkf_engine/win_salva_annulla.js +2 -2
  124. package/esm5/lib/wkf_engine/win_select_canale.js +2 -2
  125. package/esm5/lib/wkf_engine/win_select_level.js +2 -2
  126. package/esm5/lib/wkf_engine/win_sostituisci_utente.js +2 -2
  127. package/esm5/lib/wkf_engine/win_uploads.js +2 -2
  128. package/esm5/lib/wkf_engine/wkf_header_bar.js +2 -2
  129. package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
  130. package/esm5/public_api.js +1 -2
  131. package/fesm2015/fluxhub-fluxhub-lib.js +62 -87
  132. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  133. package/fesm5/fluxhub-fluxhub-lib.js +61 -87
  134. package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
  135. package/fluxhub-fluxhub-lib.metadata.json +1 -1
  136. package/lib/controls/app_manager/fhrolemanager.d.ts +3 -3
  137. package/lib/controls/app_manager/fhtablevaluesmanager.d.ts +3 -3
  138. package/lib/controls/app_manager/win_manage_roles.d.ts +3 -3
  139. package/lib/controls/app_manager/win_manage_values.d.ts +3 -3
  140. package/lib/controls/fhautocomplete.d.ts +3 -3
  141. package/lib/controls/fhcombobox.d.ts +2 -3
  142. package/lib/controls/fhconfirm.d.ts +3 -3
  143. package/lib/controls/fhcurrencyfield.d.ts +3 -3
  144. package/lib/controls/fhcurrencyformatter.d.ts +3 -3
  145. package/lib/controls/fhdatepicker.d.ts +3 -3
  146. package/lib/controls/fhfieldpicklist.d.ts +3 -3
  147. package/lib/controls/fhgrid.d.ts +3 -3
  148. package/lib/controls/fhgrid_json.d.ts +1 -1
  149. package/lib/controls/fhgrid_win_help.d.ts +3 -3
  150. package/lib/controls/fhimagepreview.d.ts +3 -3
  151. package/lib/controls/fhlist.d.ts +2 -3
  152. package/lib/controls/fhlogpanel.d.ts +3 -3
  153. package/lib/controls/fhmdreader.d.ts +3 -3
  154. package/lib/controls/fhnumeric.d.ts +3 -3
  155. package/lib/controls/fhrichtext.d.ts +3 -3
  156. package/lib/controls/fhtimepicker.d.ts +3 -3
  157. package/lib/controls/fhupload.d.ts +3 -3
  158. package/lib/controls/fhuploadpanel.d.ts +3 -3
  159. package/lib/controls/fhuserfield.d.ts +3 -3
  160. package/lib/controls/fhuserpicker.d.ts +3 -3
  161. package/lib/controls/fhwinpicklist.d.ts +3 -3
  162. package/lib/controls/grid_editors/approvabuttons.d.ts +1 -3
  163. package/lib/controls/grid_editors/fhcombobox_filter.d.ts +2 -3
  164. package/lib/controls/grid_editors/select-editor.component.d.ts +1 -3
  165. package/lib/controls/image-viewer/image-viewer.component.d.ts +3 -3
  166. package/lib/controls/win_ask_buttons.d.ts +3 -3
  167. package/lib/controls/win_ask_number.d.ts +3 -3
  168. package/lib/controls/win_ask_text.d.ts +3 -3
  169. package/lib/controls/win_ask_textbig.d.ts +3 -3
  170. package/lib/controls/win_combo_select.d.ts +3 -3
  171. package/lib/controls/win_list_pick.d.ts +3 -3
  172. package/lib/controls/win_mappa.d.ts +3 -3
  173. package/lib/controls/win_output.d.ts +3 -3
  174. package/lib/controls/win_show_image.d.ts +3 -3
  175. package/lib/controls/win_time_slider.d.ts +3 -3
  176. package/lib/controls/win_user_info.d.ts +3 -3
  177. package/lib/controls/win_wait.d.ts +3 -3
  178. package/lib/form_builder/form_builder.d.ts +3 -3
  179. package/lib/form_builder/form_executer.d.ts +3 -3
  180. package/lib/wkf_engine/win_assegna.d.ts +3 -3
  181. package/lib/wkf_engine/win_commenti.d.ts +3 -3
  182. package/lib/wkf_engine/win_commento_sel_notif.d.ts +3 -3
  183. package/lib/wkf_engine/win_conferma.d.ts +3 -3
  184. package/lib/wkf_engine/win_info_doc.d.ts +3 -3
  185. package/lib/wkf_engine/win_insert_commento.d.ts +3 -3
  186. package/lib/wkf_engine/win_log.d.ts +3 -3
  187. package/lib/wkf_engine/win_riassegna_select_level.d.ts +3 -3
  188. package/lib/wkf_engine/win_riassegna_select_user.d.ts +3 -3
  189. package/lib/wkf_engine/win_salva_annulla.d.ts +3 -3
  190. package/lib/wkf_engine/win_select_canale.d.ts +3 -3
  191. package/lib/wkf_engine/win_select_level.d.ts +3 -3
  192. package/lib/wkf_engine/win_sostituisci_utente.d.ts +3 -3
  193. package/lib/wkf_engine/win_uploads.d.ts +3 -3
  194. package/lib/wkf_engine/wkf_header_bar.d.ts +3 -3
  195. package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -1
  196. package/package.json +1 -1
  197. package/public_api.d.ts +0 -1
  198. package/esm2015/lib/controls/grid_editors/dt.js +0 -8
  199. package/esm5/lib/controls/grid_editors/dt.js +0 -10
  200. package/lib/controls/grid_editors/dt.d.ts +0 -7
@@ -1174,7 +1174,7 @@
1174
1174
  }
1175
1175
  this.dialogRef.close(this.res);
1176
1176
  };
1177
- win_time_slider.prototype.ngOnInit = function () {
1177
+ win_time_slider.prototype.ngAfterViewInit = function () {
1178
1178
  if (this.m_appService.getState().appo_dialog != null)
1179
1179
  if (this.m_appService.getState().appo_dialog.val != null) {
1180
1180
  var a = this.m_appService.getState().appo_dialog.val.split(':');
@@ -1568,7 +1568,7 @@
1568
1568
  FHTimePickerComponent.prototype.getMinutes = function () {
1569
1569
  return this.m;
1570
1570
  };
1571
- FHTimePickerComponent.prototype.ngOnInit = function () {
1571
+ FHTimePickerComponent.prototype.ngAfterViewInit = function () {
1572
1572
  };
1573
1573
  FHTimePickerComponent.prototype.sc = function () {
1574
1574
  var value = this.getValue();
@@ -1684,7 +1684,7 @@
1684
1684
  FHConfirmComponent.prototype.setMsg = function (texto) {
1685
1685
  this.msg = texto;
1686
1686
  };
1687
- FHConfirmComponent.prototype.ngOnInit = function () {
1687
+ FHConfirmComponent.prototype.ngAfterViewInit = function () {
1688
1688
  };
1689
1689
  FHConfirmComponent.ctorParameters = function () { return [
1690
1690
  { type: dialog.MatDialogRef },
@@ -1909,8 +1909,6 @@
1909
1909
  .initend
1910
1910
  .emit();
1911
1911
  };
1912
- FHListComponent.prototype.ngOnInit = function () {
1913
- };
1914
1912
  FHListComponent.prototype.sc = function () {
1915
1913
  this
1916
1914
  .selchange
@@ -1991,7 +1989,7 @@
1991
1989
  if (p == 100)
1992
1990
  this.dialogRef.close();
1993
1991
  };
1994
- WinWait.prototype.ngOnInit = function () {
1992
+ WinWait.prototype.ngAfterViewInit = function () {
1995
1993
  };
1996
1994
  WinWait.ctorParameters = function () { return [
1997
1995
  { type: dialog.MatDialogRef },
@@ -2263,9 +2261,6 @@
2263
2261
  this.setByDescri(this.valDef);
2264
2262
  };
2265
2263
  FHComboboxComponent.prototype.ngAfterViewInit = function () {
2266
- // console.log("ngAfterViewInit"); console.log(this.init_fill);
2267
- };
2268
- FHComboboxComponent.prototype.ngOnInit = function () {
2269
2264
  if (this.init_fill == true) {
2270
2265
  if (this.sql == '') {
2271
2266
  //this.errorMsg="QUERY NON CONFIGURATA";
@@ -2465,11 +2460,11 @@
2465
2460
  this.cmb_tipo.sql = this.tipo;
2466
2461
  this.cmb_tipo.fillCombo();
2467
2462
  };
2468
- FHUploadComponent.prototype.ngOnInit = function () {
2463
+ FHUploadComponent.prototype.ngAfterViewInit = function () {
2469
2464
  var _this = this;
2470
2465
  var uo = {};
2471
2466
  uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
2472
- // console.log('ngOnInit!!');
2467
+ // console.log('ngAfterViewInit!!');
2473
2468
  this.uploader.setOptions(uo);
2474
2469
  this.uploader.onCompleteAll = function () {
2475
2470
  _this.loading = false;
@@ -2918,7 +2913,7 @@
2918
2913
  this.show_ok = true;
2919
2914
  this.min_chars = 3;
2920
2915
  }
2921
- WinAskTextBigComponent.prototype.ngOnInit = function () {
2916
+ WinAskTextBigComponent.prototype.ngAfterViewInit = function () {
2922
2917
  };
2923
2918
  WinAskTextBigComponent.prototype.close = function () { this.dialogRef.close(null); };
2924
2919
  WinAskTextBigComponent.prototype.show = function () {
@@ -2999,7 +2994,7 @@
2999
2994
  this.cmb_sel.getObj().nota = this.nota_val;
3000
2995
  this.dialogRef.close(this.cmb_sel.getObj());
3001
2996
  };
3002
- FHWinComboSelect.prototype.ngOnInit = function () {
2997
+ FHWinComboSelect.prototype.ngAfterViewInit = function () {
3003
2998
  };
3004
2999
  FHWinComboSelect.ctorParameters = function () { return [
3005
3000
  { type: dialog.MatDialogRef },
@@ -3162,7 +3157,7 @@
3162
3157
  }
3163
3158
  });
3164
3159
  };
3165
- FHUploadPanelComponent.prototype.ngOnInit = function () {
3160
+ FHUploadPanelComponent.prototype.ngAfterViewInit = function () {
3166
3161
  var _this = this;
3167
3162
  setTimeout(function () { _this.b_initt = true; }, 700);
3168
3163
  this.upc.single = false;
@@ -3185,7 +3180,7 @@
3185
3180
  this.b_edit_loaded = false;
3186
3181
  this.m_p_tipo = p_tipo;
3187
3182
  this.m_programma_da_eseguire = programma_da_eseguire;
3188
- this.ngOnInit();
3183
+ this.ngAfterViewInit();
3189
3184
  };
3190
3185
  FHUploadPanelComponent.prototype.ref_allegato = function () {
3191
3186
  var _this = this;
@@ -3362,7 +3357,7 @@
3362
3357
  this.title = "";
3363
3358
  }
3364
3359
  win_grid_help.prototype.close = function () { this.dialogRef.close(null); };
3365
- win_grid_help.prototype.ngOnInit = function () {
3360
+ win_grid_help.prototype.ngAfterViewInit = function () {
3366
3361
  };
3367
3362
  win_grid_help.ctorParameters = function () { return [
3368
3363
  { type: dialog.MatDialogRef },
@@ -3389,7 +3384,7 @@
3389
3384
  this.min_chars = 3;
3390
3385
  this.max_chars = 50;
3391
3386
  }
3392
- WinAskTextComponent.prototype.ngOnInit = function () {
3387
+ WinAskTextComponent.prototype.ngAfterViewInit = function () {
3393
3388
  };
3394
3389
  WinAskTextComponent.prototype.close = function () { this.dialogRef.close(null); };
3395
3390
  WinAskTextComponent.prototype.show = function () {
@@ -3578,7 +3573,7 @@
3578
3573
  }
3579
3574
  this.dialogRef.close({ lvl_sel: lvl, result: 'ok' });
3580
3575
  };
3581
- win_riassegna_select_level.prototype.ngOnInit = function () {
3576
+ win_riassegna_select_level.prototype.ngAfterViewInit = function () {
3582
3577
  };
3583
3578
  win_riassegna_select_level.ctorParameters = function () { return [
3584
3579
  { type: dialog.MatDialogRef },
@@ -3641,7 +3636,7 @@
3641
3636
  }
3642
3637
  }
3643
3638
  };
3644
- FHUserPickerComponent.prototype.ngOnInit = function () {
3639
+ FHUserPickerComponent.prototype.ngAfterViewInit = function () {
3645
3640
  var _this = this;
3646
3641
  if (this.all_users) {
3647
3642
  var ok_op = false;
@@ -3803,7 +3798,7 @@
3803
3798
  o.result = "ok";
3804
3799
  this.dialogRef.close(o);
3805
3800
  };
3806
- win_riassegna_select_user.prototype.ngOnInit = function () {
3801
+ win_riassegna_select_user.prototype.ngAfterViewInit = function () {
3807
3802
  };
3808
3803
  win_riassegna_select_user.ctorParameters = function () { return [
3809
3804
  { type: dialog.MatDialogRef },
@@ -3848,7 +3843,7 @@
3848
3843
  this.onTouched = function () {
3849
3844
  };
3850
3845
  }
3851
- FHUserFieldComponent.prototype.ngOnInit = function () {
3846
+ FHUserFieldComponent.prototype.ngAfterViewInit = function () {
3852
3847
  if (this.required)
3853
3848
  this.label = this.label + ' *';
3854
3849
  };
@@ -4122,7 +4117,7 @@
4122
4117
  o.result = "ok";
4123
4118
  this.dialogRef.close(o);
4124
4119
  };
4125
- win_sostituisci_utente.prototype.ngOnInit = function () {
4120
+ win_sostituisci_utente.prototype.ngAfterViewInit = function () {
4126
4121
  };
4127
4122
  win_sostituisci_utente.ctorParameters = function () { return [
4128
4123
  { type: dialog.MatDialogRef },
@@ -5741,7 +5736,7 @@
5741
5736
  return item.data.codice;
5742
5737
  return "NA";
5743
5738
  };
5744
- FHGridComponent.prototype.ngOnInit = function () {
5739
+ FHGridComponent.prototype.ngAfterViewInit = function () {
5745
5740
  if (this.end_point == null)
5746
5741
  this.end_point = this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
5747
5742
  if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
@@ -6797,8 +6792,8 @@
6797
6792
  this.setByDescri(this.valDef);
6798
6793
  }
6799
6794
  };
6800
- FHAutoCompleteComponent.prototype.ngOnInit = function () {
6801
- // console.log('ngOnInit INIT'); console.log(this.init_fill);
6795
+ FHAutoCompleteComponent.prototype.ngAfterViewInit = function () {
6796
+ // console.log('ngAfterViewInit INIT'); console.log(this.init_fill);
6802
6797
  // console.log("TIPO "+typeof(this.init_fill));
6803
6798
  if (this.init_fill) {
6804
6799
  if (this.sql == '') {
@@ -7207,7 +7202,7 @@
7207
7202
  return null;
7208
7203
  return this.date_sel.toDate();
7209
7204
  };
7210
- FHDatePickerComponent.prototype.ngOnInit = function () {
7205
+ FHDatePickerComponent.prototype.ngAfterViewInit = function () {
7211
7206
  this.setLimits();
7212
7207
  // this.myDatePickerOptions.componentDisabled=!this.enabled;
7213
7208
  };
@@ -7307,10 +7302,6 @@
7307
7302
  this.val_app = -1;
7308
7303
  this.params.api.stopEditing();
7309
7304
  };
7310
- // dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
7311
- ApprovaGridComponent.prototype.ngAfterViewInit = function () {
7312
- // this.container.element.nativeElement.focus();
7313
- };
7314
7305
  ApprovaGridComponent.prototype.agInit = function (params) {
7315
7306
  this.params = params;
7316
7307
  };
@@ -7380,7 +7371,7 @@
7380
7371
  this.currencyPipe = currencyPipe;
7381
7372
  this.el = this.elementRef.nativeElement;
7382
7373
  }
7383
- FHCurrencyFormatterDirective.prototype.ngOnInit = function () {
7374
+ FHCurrencyFormatterDirective.prototype.ngAfterViewInit = function () {
7384
7375
  this.el.value = this.currencyPipe.transform(this.el.value);
7385
7376
  };
7386
7377
  FHCurrencyFormatterDirective.prototype.onFocus = function (value) {
@@ -7452,7 +7443,7 @@
7452
7443
  this.infoWindowOpened.close();
7453
7444
  this.infoWindowOpened = infoWindow;
7454
7445
  };
7455
- win_mappa.prototype.ngOnInit = function () {
7446
+ win_mappa.prototype.ngAfterViewInit = function () {
7456
7447
  };
7457
7448
  win_mappa.ctorParameters = function () { return [
7458
7449
  { type: dialog.MatDialogRef },
@@ -7557,11 +7548,6 @@
7557
7548
  // console.log(this.date_zz.getFullYear().toString()+"-"+this.uti_s.format2cifre(this.date_zz.getMonth()+1)+"-"+this.uti_s.format2cifre(this.date_zz.getDate())+"T00:00:00");
7558
7549
  this.date_zz = this.selval;
7559
7550
  };
7560
- // dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
7561
- ComboBoxEditor.prototype.ngAfterViewInit = function () {
7562
- // console.log(this.appdt.nativeElement);
7563
- // setTimeout(()=>this.appdt.nativeElement.click(),500);
7564
- };
7565
7551
  ComboBoxEditor.prototype.agInit = function (params) {
7566
7552
  var _this = this;
7567
7553
  this.params = params;
@@ -7673,7 +7659,7 @@
7673
7659
  this.values = [];
7674
7660
  this.value_sel = new Array();
7675
7661
  }
7676
- FHPickListComponent.prototype.ngOnInit = function () {
7662
+ FHPickListComponent.prototype.ngAfterViewInit = function () {
7677
7663
  };
7678
7664
  FHPickListComponent.prototype.filtra = function () {
7679
7665
  this.value_list_sel = new Array();
@@ -7893,7 +7879,7 @@
7893
7879
  this.valore_min = 1;
7894
7880
  this.valore_max = 1000000;
7895
7881
  }
7896
- WinAskNumberComponent.prototype.ngOnInit = function () {
7882
+ WinAskNumberComponent.prototype.ngAfterViewInit = function () {
7897
7883
  };
7898
7884
  WinAskNumberComponent.prototype.show = function () {
7899
7885
  };
@@ -7957,7 +7943,7 @@
7957
7943
  this.highlighted = true;
7958
7944
  }
7959
7945
  };
7960
- FHMdReader.prototype.ngOnInit = function () {
7946
+ FHMdReader.prototype.ngAfterViewInit = function () {
7961
7947
  };
7962
7948
  FHMdReader.ctorParameters = function () { return [
7963
7949
  { type: HighlightService }
@@ -8023,7 +8009,7 @@
8023
8009
  FHLogPanelComponent.prototype.reload = function () {
8024
8010
  this.datagrid.doFill("[applicativo]='" + this.m_app + "' and [iddocumento]='" + this.m_k + "'");
8025
8011
  };
8026
- FHLogPanelComponent.prototype.ngOnInit = function () {
8012
+ FHLogPanelComponent.prototype.ngAfterViewInit = function () {
8027
8013
  };
8028
8014
  FHLogPanelComponent.ctorParameters = function () { return [
8029
8015
  { type: UtilityService }
@@ -8152,7 +8138,7 @@
8152
8138
  FHCurrencyFieldComponent.prototype.setFocus = function () {
8153
8139
  this.el.nativeElement.focus();
8154
8140
  };
8155
- FHCurrencyFieldComponent.prototype.ngOnInit = function () {
8141
+ FHCurrencyFieldComponent.prototype.ngAfterViewInit = function () {
8156
8142
  if (this.required)
8157
8143
  this.el.nativeElement.required = this.required;
8158
8144
  this.el.nativeElement.disabled = !this.enabled;
@@ -8245,7 +8231,7 @@
8245
8231
  FHRichText.prototype.onBlur = function (o) {
8246
8232
  this.blur.emit(o);
8247
8233
  };
8248
- FHRichText.prototype.ngOnInit = function () {
8234
+ FHRichText.prototype.ngAfterViewInit = function () {
8249
8235
  this.config = { height: this.height };
8250
8236
  if (this.enabled) {
8251
8237
  this.config.toolbarGroups = [
@@ -8337,7 +8323,7 @@
8337
8323
  this.min_chars = 3;
8338
8324
  this.max_chars = 50;
8339
8325
  }
8340
- WinOutputComponent.prototype.ngOnInit = function () {
8326
+ WinOutputComponent.prototype.ngAfterViewInit = function () {
8341
8327
  };
8342
8328
  WinOutputComponent.prototype.close = function () { this.dialogRef.close(null); };
8343
8329
  WinOutputComponent.prototype.show = function () {
@@ -8484,7 +8470,7 @@
8484
8470
  FHNumericFieldComponent.prototype.setFocus = function () {
8485
8471
  this.el.nativeElement.focus();
8486
8472
  };
8487
- FHNumericFieldComponent.prototype.ngOnInit = function () {
8473
+ FHNumericFieldComponent.prototype.ngAfterViewInit = function () {
8488
8474
  if (this.required)
8489
8475
  this.el.nativeElement.required = this.required;
8490
8476
  this.el.nativeElement.disabled = !this.enabled;
@@ -8577,7 +8563,7 @@
8577
8563
  return;
8578
8564
  this.dialogRef.close(this.cmb_sel.getObjects());
8579
8565
  };
8580
- FHListPick.prototype.ngOnInit = function () {
8566
+ FHListPick.prototype.ngAfterViewInit = function () {
8581
8567
  };
8582
8568
  FHListPick.ctorParameters = function () { return [
8583
8569
  { type: dialog.MatDialogRef },
@@ -8611,7 +8597,7 @@
8611
8597
  win_salva_annulla.prototype.esci_senza_salv = function () {
8612
8598
  this.dialogRef.close("esci_senza_salv");
8613
8599
  };
8614
- win_salva_annulla.prototype.ngOnInit = function () {
8600
+ win_salva_annulla.prototype.ngAfterViewInit = function () {
8615
8601
  };
8616
8602
  win_salva_annulla.ctorParameters = function () { return [
8617
8603
  { type: dialog.MatDialogRef },
@@ -8672,7 +8658,7 @@
8672
8658
  o.arrsel = this.up.getSelArr();
8673
8659
  this.dialogRef.close(o);
8674
8660
  };
8675
- win_assegna.prototype.ngOnInit = function () {
8661
+ win_assegna.prototype.ngAfterViewInit = function () {
8676
8662
  };
8677
8663
  win_assegna.ctorParameters = function () { return [
8678
8664
  { type: dialog.MatDialogRef },
@@ -8729,7 +8715,7 @@
8729
8715
  win_conferma.prototype.close = function () {
8730
8716
  this.dialogRef.close("abort");
8731
8717
  };
8732
- win_conferma.prototype.ngOnInit = function () {
8718
+ win_conferma.prototype.ngAfterViewInit = function () {
8733
8719
  };
8734
8720
  win_conferma.ctorParameters = function () { return [
8735
8721
  { type: dialog.MatDialogRef },
@@ -8768,7 +8754,7 @@
8768
8754
  }
8769
8755
  this.dialogRef.close(this.selval);
8770
8756
  };
8771
- win_select_canale.prototype.ngOnInit = function () {
8757
+ win_select_canale.prototype.ngAfterViewInit = function () {
8772
8758
  };
8773
8759
  win_select_canale.ctorParameters = function () { return [
8774
8760
  { type: dialog.MatDialogRef },
@@ -8868,7 +8854,7 @@
8868
8854
  }
8869
8855
  this.dialogRef.close(this.selval);
8870
8856
  };
8871
- win_select_level.prototype.ngOnInit = function () {
8857
+ win_select_level.prototype.ngAfterViewInit = function () {
8872
8858
  };
8873
8859
  win_select_level.ctorParameters = function () { return [
8874
8860
  { type: dialog.MatDialogRef },
@@ -8903,7 +8889,7 @@
8903
8889
  this.sovrascrivi_path = '';
8904
8890
  }
8905
8891
  win_uploads.prototype.close = function () { this.dialogRef.close(null); };
8906
- win_uploads.prototype.ngOnInit = function () {
8892
+ win_uploads.prototype.ngAfterViewInit = function () {
8907
8893
  this.App = this.app_s.getState().wkf_doc_info.uiid_app;
8908
8894
  this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
8909
8895
  this.init(this.App, this.K);
@@ -8969,7 +8955,7 @@
8969
8955
  o.arrsel = this.up.getSelArr();
8970
8956
  this.dialogRef.close(o);
8971
8957
  };
8972
- win_commento_sel_notif.prototype.ngOnInit = function () {
8958
+ win_commento_sel_notif.prototype.ngAfterViewInit = function () {
8973
8959
  };
8974
8960
  win_commento_sel_notif.ctorParameters = function () { return [
8975
8961
  { type: dialog.MatDialogRef },
@@ -9291,7 +9277,7 @@
9291
9277
  }
9292
9278
  });
9293
9279
  };
9294
- win_commenti.prototype.ngOnInit = function () {
9280
+ win_commenti.prototype.ngAfterViewInit = function () {
9295
9281
  };
9296
9282
  win_commenti.prototype.ins = function () {
9297
9283
  this.nota = '';
@@ -9346,7 +9332,7 @@
9346
9332
  this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
9347
9333
  this.canale = this.m_appService.getState().wkf_doc_info.canale;
9348
9334
  };
9349
- win_info_doc.prototype.ngOnInit = function () {
9335
+ win_info_doc.prototype.ngAfterViewInit = function () {
9350
9336
  };
9351
9337
  win_info_doc.ctorParameters = function () { return [
9352
9338
  { type: dialog.MatDialogRef },
@@ -9462,7 +9448,7 @@
9462
9448
  this.b_ins = true;
9463
9449
  this.title = 'INSERISCI COMMENTO';
9464
9450
  };
9465
- win_log.prototype.ngOnInit = function () {
9451
+ win_log.prototype.ngAfterViewInit = function () {
9466
9452
  var _this = this;
9467
9453
  setTimeout(function () {
9468
9454
  _this.ric_all();
@@ -10140,7 +10126,7 @@
10140
10126
  return item.data.codice;
10141
10127
  return "NA";
10142
10128
  };
10143
- FHGridJSONComponent.prototype.ngOnInit = function () {
10129
+ FHGridJSONComponent.prototype.ngAfterViewInit = function () {
10144
10130
  // this.onResize();
10145
10131
  };
10146
10132
  FHGridJSONComponent.prototype.okr = function (event) {
@@ -12131,7 +12117,7 @@
12131
12117
  });
12132
12118
  });
12133
12119
  };
12134
- dati_aggiuntivi.prototype.ngOnInit = function () {
12120
+ dati_aggiuntivi.prototype.ngAfterViewInit = function () {
12135
12121
  this.init_engine();
12136
12122
  };
12137
12123
  dati_aggiuntivi.prototype.setta_info_app = function (o) {
@@ -12207,7 +12193,7 @@
12207
12193
  this.dt_agg.open_upload(); };
12208
12194
  wkf_header_bar.prototype.open_wkf = function () { if (this.dt_agg != null)
12209
12195
  this.dt_agg.open_wkf(); };
12210
- wkf_header_bar.prototype.ngOnInit = function () {
12196
+ wkf_header_bar.prototype.ngAfterViewInit = function () {
12211
12197
  };
12212
12198
  wkf_header_bar.ctorParameters = function () { return [
12213
12199
  { type: AppService }
@@ -12303,7 +12289,7 @@
12303
12289
  }
12304
12290
  });
12305
12291
  };
12306
- FormBuilderComponent.prototype.ngOnInit = function () {
12292
+ FormBuilderComponent.prototype.ngAfterViewInit = function () {
12307
12293
  var _this = this;
12308
12294
  try {
12309
12295
  this.dragula.createGroup('bag-items', {
@@ -12375,7 +12361,7 @@
12375
12361
  FormExecuterComponent.prototype.setStyles = function (o) {
12376
12362
  return { width: '90%', padding: '15px', margin: '15px', border: '1px solid #3db3cd', 'background-color': "#ECF0F1" };
12377
12363
  };
12378
- FormExecuterComponent.prototype.ngOnInit = function () {
12364
+ FormExecuterComponent.prototype.ngAfterViewInit = function () {
12379
12365
  };
12380
12366
  FormExecuterComponent.ctorParameters = function () { return [
12381
12367
  { type: UtilityService },
@@ -12410,7 +12396,7 @@
12410
12396
  this.title = "";
12411
12397
  this.button_config = [];
12412
12398
  }
12413
- WinAskButtonsComponent.prototype.ngOnInit = function () {
12399
+ WinAskButtonsComponent.prototype.ngAfterViewInit = function () {
12414
12400
  };
12415
12401
  WinAskButtonsComponent.prototype.open = function (o) {
12416
12402
  this.dialogRef.close(o);
@@ -12465,7 +12451,7 @@
12465
12451
  this.imageIndex = 0;
12466
12452
  this.images = [];
12467
12453
  }
12468
- win_show_image.prototype.ngOnInit = function () {
12454
+ win_show_image.prototype.ngAfterViewInit = function () {
12469
12455
  };
12470
12456
  win_show_image.ctorParameters = function () { return [
12471
12457
  { type: dialog.MatDialogRef }
@@ -12533,7 +12519,7 @@
12533
12519
  this.notfullScreenEvent = new core.EventEmitter();
12534
12520
  this.fullScreenEvent = new core.EventEmitter();
12535
12521
  }
12536
- FHViewerComponent.prototype.ngOnInit = function () {
12522
+ FHViewerComponent.prototype.ngAfterViewInit = function () {
12537
12523
  var merged = this.mergeConfig(DEFAULT_CONFIG, this.moduleConfig);
12538
12524
  this.config = this.mergeConfig(merged, this.config);
12539
12525
  this.triggerConfigBinding();
@@ -12792,7 +12778,7 @@
12792
12778
  //this.photo_c.toggleFullscreen()
12793
12779
  this.already_open = true;
12794
12780
  };
12795
- fhimagepreview.prototype.ngOnInit = function () {
12781
+ fhimagepreview.prototype.ngAfterViewInit = function () {
12796
12782
  this.init();
12797
12783
  };
12798
12784
  fhimagepreview.prototype.openFullscreen = function () {
@@ -12939,7 +12925,7 @@
12939
12925
  fhimagepreview = __decorate([
12940
12926
  core.Component({
12941
12927
  selector: 'fh-image-viewer',
12942
- template: "\n \n <image-viewer [hidden]=\"!m_init\" (init)=\"init()\" [preview]=\"m_preview\" (notfullScreenEvent)=\"closeFullscreen()\" (fullScreenEvent)=\"raise_fullScreenEvent()\" [config]=\"config_photo_big\" #photo_c [src]=\"_u?.image_thumbnail\" index=\"0\"></image-viewer>\n \n",
12928
+ template: "\n\n <image-viewer [hidden]=\"!m_init\" (init)=\"init()\" [preview]=\"m_preview\" (notfullScreenEvent)=\"closeFullscreen()\" (fullScreenEvent)=\"raise_fullScreenEvent()\" [config]=\"config_photo_big\" #photo_c [src]=\"_u?.image_thumbnail\" index=\"0\"></image-viewer>\n\n",
12943
12929
  styles: ["\n\n "]
12944
12930
  })
12945
12931
  ], fhimagepreview);
@@ -13039,7 +13025,7 @@
13039
13025
  }
13040
13026
  });
13041
13027
  };
13042
- FHFieldPickListComponent.prototype.ngOnInit = function () {
13028
+ FHFieldPickListComponent.prototype.ngAfterViewInit = function () {
13043
13029
  };
13044
13030
  FHFieldPickListComponent.ctorParameters = function () { return [
13045
13031
  { type: dialog.MatDialog }
@@ -13176,7 +13162,7 @@
13176
13162
  };
13177
13163
  win_manage_values.prototype.ok = function () {
13178
13164
  };
13179
- win_manage_values.prototype.ngOnInit = function () {
13165
+ win_manage_values.prototype.ngAfterViewInit = function () {
13180
13166
  this.nValori = new Object();
13181
13167
  //this.nValori.valore=0;
13182
13168
  this.nValori.descrizione = '';
@@ -13221,7 +13207,7 @@
13221
13207
  }
13222
13208
  });
13223
13209
  };
13224
- FHTableManager.prototype.ngOnInit = function () {
13210
+ FHTableManager.prototype.ngAfterViewInit = function () {
13225
13211
  if (this.application == "")
13226
13212
  return;
13227
13213
  this.cmb_sel.sql = "SELECT_TABLE_MANAGEMENT";
@@ -13321,7 +13307,7 @@
13321
13307
  }
13322
13308
  });
13323
13309
  };
13324
- win_manage_roles.prototype.ngOnInit = function () {
13310
+ win_manage_roles.prototype.ngAfterViewInit = function () {
13325
13311
  this.ref_user_list();
13326
13312
  };
13327
13313
  win_manage_roles.ctorParameters = function () { return [
@@ -13362,7 +13348,7 @@
13362
13348
  }
13363
13349
  });
13364
13350
  };
13365
- FHRoleManager.prototype.ngOnInit = function () {
13351
+ FHRoleManager.prototype.ngAfterViewInit = function () {
13366
13352
  if (this.application == "")
13367
13353
  return;
13368
13354
  this.cmb_sel.sql = "SELECT_APP_USER_MANAGEMENT";
@@ -13645,9 +13631,6 @@
13645
13631
  this.setByDescri(this.valDef);
13646
13632
  };
13647
13633
  FHComboboxComponentFilter.prototype.ngAfterViewInit = function () {
13648
- // console.log("ngAfterViewInit"); console.log(this.init_fill);
13649
- };
13650
- FHComboboxComponentFilter.prototype.ngOnInit = function () {
13651
13634
  if (this.init_fill == true) {
13652
13635
  if (this.sql == '') {
13653
13636
  //this.errorMsg="QUERY NON CONFIGURATA";
@@ -13832,7 +13815,7 @@
13832
13815
  this.b_edit = false;
13833
13816
  this.title = 'COMMENTI';
13834
13817
  };
13835
- win_insert_commento.prototype.ngOnInit = function () {
13818
+ win_insert_commento.prototype.ngAfterViewInit = function () {
13836
13819
  };
13837
13820
  win_insert_commento.prototype.ins = function () {
13838
13821
  this.nota = '';
@@ -13883,7 +13866,7 @@
13883
13866
  this.isadmin = this.appService.user_isadmin;
13884
13867
  }
13885
13868
  win_user_info.prototype.close = function () { this.dialogRef.close(null); };
13886
- win_user_info.prototype.ngOnInit = function () {
13869
+ win_user_info.prototype.ngAfterViewInit = function () {
13887
13870
  var _this = this;
13888
13871
  if (this.isadmin == '1')
13889
13872
  if (this.appService.dev_mode != null)
@@ -14003,7 +13986,7 @@
14003
13986
  ], FHHelpButton.prototype, "key", void 0);
14004
13987
  FHHelpButton = __decorate([
14005
13988
  core.Component({
14006
- selector: 'FHHelpButton', template: "\n\n\n \n <div style=\"cursor:pointer\" ><mat-icon [style.color]=\"color\" [style.background-color]=\"bk_color\" [hidden]=\"hidden\" (click)=\"open_help()\">info</mat-icon></div>\n\n\n\n ",
13989
+ selector: 'FHHelpButton', template: "\n\n\n\n <div style=\"cursor:pointer\" ><mat-icon [style.color]=\"color\" [style.background-color]=\"bk_color\" [hidden]=\"hidden\" (click)=\"open_help()\">info</mat-icon></div>\n\n\n\n ",
14007
13990
  styles: ["\n\n\n "]
14008
13991
  }),
14009
13992
  __metadata("design:paramtypes", [QueryService, ngxToastr.ToastrService])
@@ -14254,15 +14237,6 @@
14254
14237
  return FHGuard;
14255
14238
  }());
14256
14239
 
14257
- var dt = /** @class */ (function () {
14258
- function dt(y, m, d) {
14259
- this.year = y;
14260
- this.month = m;
14261
- this.day = d;
14262
- }
14263
- return dt;
14264
- }());
14265
-
14266
14240
  exports.AppMakerService = AppMakerService;
14267
14241
  exports.AppService = AppService;
14268
14242
  exports.ApprovaGridComponent = ApprovaGridComponent;
@@ -14322,7 +14296,6 @@
14322
14296
  exports.WinWait = WinWait;
14323
14297
  exports.WkfService = WkfService;
14324
14298
  exports.dati_aggiuntivi = dati_aggiuntivi;
14325
- exports.dt = dt;
14326
14299
  exports.fhimagepreview = fhimagepreview;
14327
14300
  exports.win_insert_commento = win_insert_commento;
14328
14301
  exports.win_mappa = win_mappa;