@fluxhub/fluxhub-lib 1.1.0 → 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 (206) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +69 -335
  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 +6 -9
  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 -4
  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 +6 -9
  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 -4
  131. package/fesm2015/fluxhub-fluxhub-lib.js +67 -388
  132. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  133. package/fesm5/fluxhub-fluxhub-lib.js +66 -330
  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 -3
  198. package/esm2015/lib/controls/grid_editors/date-component.component.js +0 -119
  199. package/esm2015/lib/controls/grid_editors/dt.js +0 -8
  200. package/esm2015/lib/controls/grid_editors/dt_pick.js +0 -184
  201. package/esm5/lib/controls/grid_editors/date-component.component.js +0 -83
  202. package/esm5/lib/controls/grid_editors/dt.js +0 -10
  203. package/esm5/lib/controls/grid_editors/dt_pick.js +0 -162
  204. package/lib/controls/grid_editors/date-component.component.d.ts +0 -20
  205. package/lib/controls/grid_editors/dt.d.ts +0 -7
  206. package/lib/controls/grid_editors/dt_pick.d.ts +0 -27
@@ -18,7 +18,6 @@ import { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autoco
18
18
  import * as momentNs from 'moment';
19
19
  import { isMoment } from 'moment';
20
20
  import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE, MatNativeDateModule } from '@angular/material/core';
21
- import { MyDatePicker, MyDatePickerModule } from 'mydatepicker';
22
21
  import { isPlatformBrowser, CommonModule } from '@angular/common';
23
22
  import 'clipboard';
24
23
  import 'prismjs';
@@ -1016,85 +1015,6 @@ var NumericEditorComponent = /** @class */ (function () {
1016
1015
  return NumericEditorComponent;
1017
1016
  }());
1018
1017
 
1019
- var DateComponent = /** @class */ (function () {
1020
- function DateComponent(uti_s) {
1021
- this.uti_s = uti_s;
1022
- this.label = "";
1023
- }
1024
- DateComponent.prototype.setDt = function () {
1025
- // 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");
1026
- this.date_zz = (this.appdt.getValue());
1027
- this.params.api.stopEditing();
1028
- };
1029
- // dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
1030
- DateComponent.prototype.ngAfterViewInit = function () {
1031
- // this.container.element.nativeElement.focus();
1032
- this.appdt.setFocus();
1033
- };
1034
- DateComponent.prototype.agInit = function (par) {
1035
- this.params = par;
1036
- if (par.value == null) {
1037
- this.date = null;
1038
- this.date_zz = null;
1039
- return;
1040
- } //new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);this.appdt.setValue(this.date);this.date_zz= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);return;}
1041
- if (new Date(par.value).getFullYear() == 1970) {
1042
- this.date = null;
1043
- this.date_zz = null;
1044
- return;
1045
- }
1046
- if (par.value.indexOf('--') != -1) {
1047
- this.date = null;
1048
- this.date_zz = null;
1049
- return;
1050
- } //this.date= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);this.appdt.setValue(this.date);this.date_zz= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);return;}
1051
- this.date = new Date(par.value);
1052
- /* let a:Date=new Date();
1053
- a.setDate(a.getDate()+1);
1054
- if(this.date<a)this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate()); */
1055
- this.appdt.setValue(this.date);
1056
- this.date_zz = new Date(par.value);
1057
- };
1058
- DateComponent.prototype.getValue = function () {
1059
- // var dt:Date=new Date(Date.UTC(this.date_zz.getFullYear()-1900,this.date_zz.getMonth(),this.date_zz.getDate()));
1060
- // 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");
1061
- if (this.date_zz == null)
1062
- return null;
1063
- return 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"; //this.date_zz.toJSON();
1064
- };
1065
- DateComponent.prototype.isPopup = function () {
1066
- return true;
1067
- };
1068
- DateComponent.prototype.onKeyDown = function (event) {
1069
- var key = event.which || event.keyCode;
1070
- if (key == 37 || // left
1071
- key == 39) { // right
1072
- // this.toggleMood();
1073
- event.stopPropagation();
1074
- }
1075
- };
1076
- DateComponent.ctorParameters = function () { return [
1077
- { type: UtilityService }
1078
- ]; };
1079
- __decorate([
1080
- ViewChild('container', { read: ViewContainerRef }),
1081
- __metadata("design:type", Object)
1082
- ], DateComponent.prototype, "container", void 0);
1083
- __decorate([
1084
- ViewChild('appdt'),
1085
- __metadata("design:type", Object)
1086
- ], DateComponent.prototype, "appdt", void 0);
1087
- DateComponent = __decorate([
1088
- Component({
1089
- selector: 'editor-cell',
1090
- template: "\n <div #container fxLayout=\"row\" class=\"mood\" tabindex=\"0\" (keydown)=\"onKeyDown($event)\">\n\n <DtPicker [(ngModel)]=\"date\" #appdt\n [show_buttons]=\"false\" ngDefaultControl\n\n >\n </DtPicker>\n <button mat-flat-button color=\"primary\" (click)=\"setDt()\">CONFERMA</button>\n\n </div>\n\n\n ",
1091
- styles: ["\n .mood {\n border-radius: 15px;\n border: 1px solid grey;\n background: #e6e6e6;\n padding: 15px;\n text-align: center;\n display: inline-block;\n outline: none\n }\n\n .default {\n padding-left: 10px;\n padding-right: 10px;\n border: 1px solid transparent;\n padding: 4px;\n }\n\n .selected {\n padding-left: 10px;\n padding-right: 10px;\n border: 1px solid lightgreen;\n padding: 4px;\n }\n "]
1092
- }),
1093
- __metadata("design:paramtypes", [UtilityService])
1094
- ], DateComponent);
1095
- return DateComponent;
1096
- }());
1097
-
1098
1018
  var win_time_slider = /** @class */ (function () {
1099
1019
  function win_time_slider(dialogRef, toastr, m_appService, uti_s) {
1100
1020
  this.dialogRef = dialogRef;
@@ -1120,7 +1040,7 @@ var win_time_slider = /** @class */ (function () {
1120
1040
  }
1121
1041
  this.dialogRef.close(this.res);
1122
1042
  };
1123
- win_time_slider.prototype.ngOnInit = function () {
1043
+ win_time_slider.prototype.ngAfterViewInit = function () {
1124
1044
  if (this.m_appService.getState().appo_dialog != null)
1125
1045
  if (this.m_appService.getState().appo_dialog.val != null) {
1126
1046
  var a = this.m_appService.getState().appo_dialog.val.split(':');
@@ -1514,7 +1434,7 @@ var FHTimePickerComponent = /** @class */ (function (_super) {
1514
1434
  FHTimePickerComponent.prototype.getMinutes = function () {
1515
1435
  return this.m;
1516
1436
  };
1517
- FHTimePickerComponent.prototype.ngOnInit = function () {
1437
+ FHTimePickerComponent.prototype.ngAfterViewInit = function () {
1518
1438
  };
1519
1439
  FHTimePickerComponent.prototype.sc = function () {
1520
1440
  var value = this.getValue();
@@ -1630,7 +1550,7 @@ var FHConfirmComponent = /** @class */ (function () {
1630
1550
  FHConfirmComponent.prototype.setMsg = function (texto) {
1631
1551
  this.msg = texto;
1632
1552
  };
1633
- FHConfirmComponent.prototype.ngOnInit = function () {
1553
+ FHConfirmComponent.prototype.ngAfterViewInit = function () {
1634
1554
  };
1635
1555
  FHConfirmComponent.ctorParameters = function () { return [
1636
1556
  { type: MatDialogRef },
@@ -1855,8 +1775,6 @@ var FHListComponent = /** @class */ (function () {
1855
1775
  .initend
1856
1776
  .emit();
1857
1777
  };
1858
- FHListComponent.prototype.ngOnInit = function () {
1859
- };
1860
1778
  FHListComponent.prototype.sc = function () {
1861
1779
  this
1862
1780
  .selchange
@@ -1937,7 +1855,7 @@ var WinWait = /** @class */ (function () {
1937
1855
  if (p == 100)
1938
1856
  this.dialogRef.close();
1939
1857
  };
1940
- WinWait.prototype.ngOnInit = function () {
1858
+ WinWait.prototype.ngAfterViewInit = function () {
1941
1859
  };
1942
1860
  WinWait.ctorParameters = function () { return [
1943
1861
  { type: MatDialogRef },
@@ -2209,9 +2127,6 @@ var FHComboboxComponent = /** @class */ (function () {
2209
2127
  this.setByDescri(this.valDef);
2210
2128
  };
2211
2129
  FHComboboxComponent.prototype.ngAfterViewInit = function () {
2212
- // console.log("ngAfterViewInit"); console.log(this.init_fill);
2213
- };
2214
- FHComboboxComponent.prototype.ngOnInit = function () {
2215
2130
  if (this.init_fill == true) {
2216
2131
  if (this.sql == '') {
2217
2132
  //this.errorMsg="QUERY NON CONFIGURATA";
@@ -2411,11 +2326,11 @@ var FHUploadComponent = /** @class */ (function () {
2411
2326
  this.cmb_tipo.sql = this.tipo;
2412
2327
  this.cmb_tipo.fillCombo();
2413
2328
  };
2414
- FHUploadComponent.prototype.ngOnInit = function () {
2329
+ FHUploadComponent.prototype.ngAfterViewInit = function () {
2415
2330
  var _this = this;
2416
2331
  var uo = {};
2417
2332
  uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
2418
- // console.log('ngOnInit!!');
2333
+ // console.log('ngAfterViewInit!!');
2419
2334
  this.uploader.setOptions(uo);
2420
2335
  this.uploader.onCompleteAll = function () {
2421
2336
  _this.loading = false;
@@ -2864,7 +2779,7 @@ var WinAskTextBigComponent = /** @class */ (function () {
2864
2779
  this.show_ok = true;
2865
2780
  this.min_chars = 3;
2866
2781
  }
2867
- WinAskTextBigComponent.prototype.ngOnInit = function () {
2782
+ WinAskTextBigComponent.prototype.ngAfterViewInit = function () {
2868
2783
  };
2869
2784
  WinAskTextBigComponent.prototype.close = function () { this.dialogRef.close(null); };
2870
2785
  WinAskTextBigComponent.prototype.show = function () {
@@ -2945,7 +2860,7 @@ var FHWinComboSelect = /** @class */ (function () {
2945
2860
  this.cmb_sel.getObj().nota = this.nota_val;
2946
2861
  this.dialogRef.close(this.cmb_sel.getObj());
2947
2862
  };
2948
- FHWinComboSelect.prototype.ngOnInit = function () {
2863
+ FHWinComboSelect.prototype.ngAfterViewInit = function () {
2949
2864
  };
2950
2865
  FHWinComboSelect.ctorParameters = function () { return [
2951
2866
  { type: MatDialogRef },
@@ -3108,7 +3023,7 @@ var FHUploadPanelComponent = /** @class */ (function () {
3108
3023
  }
3109
3024
  });
3110
3025
  };
3111
- FHUploadPanelComponent.prototype.ngOnInit = function () {
3026
+ FHUploadPanelComponent.prototype.ngAfterViewInit = function () {
3112
3027
  var _this = this;
3113
3028
  setTimeout(function () { _this.b_initt = true; }, 700);
3114
3029
  this.upc.single = false;
@@ -3131,7 +3046,7 @@ var FHUploadPanelComponent = /** @class */ (function () {
3131
3046
  this.b_edit_loaded = false;
3132
3047
  this.m_p_tipo = p_tipo;
3133
3048
  this.m_programma_da_eseguire = programma_da_eseguire;
3134
- this.ngOnInit();
3049
+ this.ngAfterViewInit();
3135
3050
  };
3136
3051
  FHUploadPanelComponent.prototype.ref_allegato = function () {
3137
3052
  var _this = this;
@@ -3308,7 +3223,7 @@ var win_grid_help = /** @class */ (function () {
3308
3223
  this.title = "";
3309
3224
  }
3310
3225
  win_grid_help.prototype.close = function () { this.dialogRef.close(null); };
3311
- win_grid_help.prototype.ngOnInit = function () {
3226
+ win_grid_help.prototype.ngAfterViewInit = function () {
3312
3227
  };
3313
3228
  win_grid_help.ctorParameters = function () { return [
3314
3229
  { type: MatDialogRef },
@@ -3335,7 +3250,7 @@ var WinAskTextComponent = /** @class */ (function () {
3335
3250
  this.min_chars = 3;
3336
3251
  this.max_chars = 50;
3337
3252
  }
3338
- WinAskTextComponent.prototype.ngOnInit = function () {
3253
+ WinAskTextComponent.prototype.ngAfterViewInit = function () {
3339
3254
  };
3340
3255
  WinAskTextComponent.prototype.close = function () { this.dialogRef.close(null); };
3341
3256
  WinAskTextComponent.prototype.show = function () {
@@ -3524,7 +3439,7 @@ var win_riassegna_select_level = /** @class */ (function () {
3524
3439
  }
3525
3440
  this.dialogRef.close({ lvl_sel: lvl, result: 'ok' });
3526
3441
  };
3527
- win_riassegna_select_level.prototype.ngOnInit = function () {
3442
+ win_riassegna_select_level.prototype.ngAfterViewInit = function () {
3528
3443
  };
3529
3444
  win_riassegna_select_level.ctorParameters = function () { return [
3530
3445
  { type: MatDialogRef },
@@ -3587,7 +3502,7 @@ var FHUserPickerComponent = /** @class */ (function () {
3587
3502
  }
3588
3503
  }
3589
3504
  };
3590
- FHUserPickerComponent.prototype.ngOnInit = function () {
3505
+ FHUserPickerComponent.prototype.ngAfterViewInit = function () {
3591
3506
  var _this = this;
3592
3507
  if (this.all_users) {
3593
3508
  var ok_op = false;
@@ -3749,7 +3664,7 @@ var win_riassegna_select_user = /** @class */ (function () {
3749
3664
  o.result = "ok";
3750
3665
  this.dialogRef.close(o);
3751
3666
  };
3752
- win_riassegna_select_user.prototype.ngOnInit = function () {
3667
+ win_riassegna_select_user.prototype.ngAfterViewInit = function () {
3753
3668
  };
3754
3669
  win_riassegna_select_user.ctorParameters = function () { return [
3755
3670
  { type: MatDialogRef },
@@ -3794,7 +3709,7 @@ var FHUserFieldComponent = /** @class */ (function () {
3794
3709
  this.onTouched = function () {
3795
3710
  };
3796
3711
  }
3797
- FHUserFieldComponent.prototype.ngOnInit = function () {
3712
+ FHUserFieldComponent.prototype.ngAfterViewInit = function () {
3798
3713
  if (this.required)
3799
3714
  this.label = this.label + ' *';
3800
3715
  };
@@ -4068,7 +3983,7 @@ var win_sostituisci_utente = /** @class */ (function () {
4068
3983
  o.result = "ok";
4069
3984
  this.dialogRef.close(o);
4070
3985
  };
4071
- win_sostituisci_utente.prototype.ngOnInit = function () {
3986
+ win_sostituisci_utente.prototype.ngAfterViewInit = function () {
4072
3987
  };
4073
3988
  win_sostituisci_utente.ctorParameters = function () { return [
4074
3989
  { type: MatDialogRef },
@@ -5687,7 +5602,7 @@ var FHGridComponent = /** @class */ (function () {
5687
5602
  return item.data.codice;
5688
5603
  return "NA";
5689
5604
  };
5690
- FHGridComponent.prototype.ngOnInit = function () {
5605
+ FHGridComponent.prototype.ngAfterViewInit = function () {
5691
5606
  if (this.end_point == null)
5692
5607
  this.end_point = this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
5693
5608
  if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
@@ -6743,8 +6658,8 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
6743
6658
  this.setByDescri(this.valDef);
6744
6659
  }
6745
6660
  };
6746
- FHAutoCompleteComponent.prototype.ngOnInit = function () {
6747
- // console.log('ngOnInit INIT'); console.log(this.init_fill);
6661
+ FHAutoCompleteComponent.prototype.ngAfterViewInit = function () {
6662
+ // console.log('ngAfterViewInit INIT'); console.log(this.init_fill);
6748
6663
  // console.log("TIPO "+typeof(this.init_fill));
6749
6664
  if (this.init_fill) {
6750
6665
  if (this.sql == '') {
@@ -7153,7 +7068,7 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
7153
7068
  return null;
7154
7069
  return this.date_sel.toDate();
7155
7070
  };
7156
- FHDatePickerComponent.prototype.ngOnInit = function () {
7071
+ FHDatePickerComponent.prototype.ngAfterViewInit = function () {
7157
7072
  this.setLimits();
7158
7073
  // this.myDatePickerOptions.componentDisabled=!this.enabled;
7159
7074
  };
@@ -7253,10 +7168,6 @@ var ApprovaGridComponent = /** @class */ (function () {
7253
7168
  this.val_app = -1;
7254
7169
  this.params.api.stopEditing();
7255
7170
  };
7256
- // dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
7257
- ApprovaGridComponent.prototype.ngAfterViewInit = function () {
7258
- // this.container.element.nativeElement.focus();
7259
- };
7260
7171
  ApprovaGridComponent.prototype.agInit = function (params) {
7261
7172
  this.params = params;
7262
7173
  };
@@ -7326,7 +7237,7 @@ var FHCurrencyFormatterDirective = /** @class */ (function () {
7326
7237
  this.currencyPipe = currencyPipe;
7327
7238
  this.el = this.elementRef.nativeElement;
7328
7239
  }
7329
- FHCurrencyFormatterDirective.prototype.ngOnInit = function () {
7240
+ FHCurrencyFormatterDirective.prototype.ngAfterViewInit = function () {
7330
7241
  this.el.value = this.currencyPipe.transform(this.el.value);
7331
7242
  };
7332
7243
  FHCurrencyFormatterDirective.prototype.onFocus = function (value) {
@@ -7398,7 +7309,7 @@ var win_mappa = /** @class */ (function () {
7398
7309
  this.infoWindowOpened.close();
7399
7310
  this.infoWindowOpened = infoWindow;
7400
7311
  };
7401
- win_mappa.prototype.ngOnInit = function () {
7312
+ win_mappa.prototype.ngAfterViewInit = function () {
7402
7313
  };
7403
7314
  win_mappa.ctorParameters = function () { return [
7404
7315
  { type: MatDialogRef },
@@ -7503,11 +7414,6 @@ var ComboBoxEditor = /** @class */ (function () {
7503
7414
  // 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");
7504
7415
  this.date_zz = this.selval;
7505
7416
  };
7506
- // dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
7507
- ComboBoxEditor.prototype.ngAfterViewInit = function () {
7508
- // console.log(this.appdt.nativeElement);
7509
- // setTimeout(()=>this.appdt.nativeElement.click(),500);
7510
- };
7511
7417
  ComboBoxEditor.prototype.agInit = function (params) {
7512
7418
  var _this = this;
7513
7419
  this.params = params;
@@ -7597,164 +7503,6 @@ var ReplaceLineBreaks = /** @class */ (function () {
7597
7503
  return ReplaceLineBreaks;
7598
7504
  }());
7599
7505
 
7600
- var DtPick = /** @class */ (function () {
7601
- function DtPick() {
7602
- this.label = '';
7603
- this.required = false;
7604
- this.show_buttons = false;
7605
- this.enabled = true;
7606
- this.min_date = null;
7607
- this.max_date = null;
7608
- this.change = new EventEmitter();
7609
- this.myDatePickerOptions = {
7610
- // other options...
7611
- width: '150px',
7612
- dateFormat: 'dd/mm/yyyy',
7613
- dayLabels: { su: 'Dom', mo: 'Lun', tu: 'Mar', we: 'Mer', th: 'Gio', fr: 'Ven', sa: 'Sab' },
7614
- monthLabels: {
7615
- 1: 'Gen',
7616
- 2: 'Feb',
7617
- 3: 'Mar',
7618
- 4: 'Apr',
7619
- 5: 'Mag',
7620
- 6: 'Giu',
7621
- 7: 'Lug',
7622
- 8: 'Ago',
7623
- 9: 'Set',
7624
- 10: 'Ott',
7625
- 11: 'Nov',
7626
- 12: 'Dic'
7627
- }
7628
- };
7629
- this.date_sel = null;
7630
- }
7631
- DtPick.prototype.setFocus = function () {
7632
- this.dtc.setFocusToInputBox();
7633
- };
7634
- DtPick.prototype.dt_ch = function () {
7635
- var _this = this;
7636
- setTimeout(function () {
7637
- _this.change.emit();
7638
- }, 50);
7639
- };
7640
- DtPick.prototype.add_year = function () {
7641
- this.date_sel = {
7642
- date: {
7643
- year: this.date_sel.date.year + 1,
7644
- month: this.date_sel.date.month,
7645
- day: this.date_sel.date.day
7646
- }
7647
- };
7648
- this.change.emit();
7649
- };
7650
- DtPick.prototype.ini_year = function () {
7651
- this.date_sel = { date: { year: new Date().getFullYear(), month: 1, day: 1 } };
7652
- this.change.emit();
7653
- };
7654
- DtPick.prototype.fin_year = function () {
7655
- this.date_sel = { date: { year: new Date().getFullYear(), month: 12, day: 31 } };
7656
- this.change.emit();
7657
- };
7658
- DtPick.prototype.getValue = function () {
7659
- /*
7660
- console.log(this.date_sel);
7661
- console.log(this.date_sel.date.year);
7662
- console.log( this.date_sel.date.month-1);
7663
- console.log( this.date_sel.date.day);*/
7664
- if (this.date_sel == null)
7665
- return null;
7666
- return new Date(this.date_sel.date.year, this.date_sel.date.month - 1, this.date_sel.date.day);
7667
- };
7668
- DtPick.prototype.ngOnInit = function () {
7669
- this.setLimits();
7670
- // this.myDatePickerOptions.componentDisabled=!this.enabled;
7671
- };
7672
- DtPick.prototype.getCopyOfOptions = function () {
7673
- return JSON.parse(JSON.stringify(this.myDatePickerOptions));
7674
- };
7675
- DtPick.prototype.setLimits = function () {
7676
- var copy = this.getCopyOfOptions();
7677
- if (this.min_date != null) {
7678
- this.min_date.setDate(this.min_date.getDate() - 1);
7679
- copy.disableUntil = {
7680
- year: this.min_date.getFullYear(),
7681
- month: this.min_date.getMonth() + 1,
7682
- day: this.min_date.getDate()
7683
- };
7684
- }
7685
- ;
7686
- if (this.max_date != null) {
7687
- this.max_date.setDate(this.max_date.getDate() + 1);
7688
- copy.disableSince = {
7689
- year: this.max_date.getFullYear(),
7690
- month: this.max_date.getMonth() + 1,
7691
- day: this.max_date.getDate()
7692
- };
7693
- }
7694
- ;
7695
- this.myDatePickerOptions = copy;
7696
- };
7697
- DtPick.prototype.setToday = function () {
7698
- this.date_sel = {
7699
- date: {
7700
- year: new Date().getFullYear(),
7701
- month: new Date().getMonth() + 1,
7702
- day: new Date().getDate()
7703
- }
7704
- };
7705
- };
7706
- DtPick.prototype.setValue = function (d) {
7707
- //console.log('setValue');
7708
- //console.log(d);
7709
- if (d == null) {
7710
- this.date_sel = null;
7711
- return;
7712
- }
7713
- this.date_sel = { date: { year: d.getFullYear(), month: d.getMonth() + 1, day: d.getDate() } };
7714
- };
7715
- __decorate([
7716
- Input(),
7717
- __metadata("design:type", String)
7718
- ], DtPick.prototype, "label", void 0);
7719
- __decorate([
7720
- Input(),
7721
- __metadata("design:type", Boolean)
7722
- ], DtPick.prototype, "required", void 0);
7723
- __decorate([
7724
- Input(),
7725
- __metadata("design:type", Boolean)
7726
- ], DtPick.prototype, "show_buttons", void 0);
7727
- __decorate([
7728
- Input(),
7729
- __metadata("design:type", Boolean)
7730
- ], DtPick.prototype, "enabled", void 0);
7731
- __decorate([
7732
- Input(),
7733
- __metadata("design:type", Date)
7734
- ], DtPick.prototype, "min_date", void 0);
7735
- __decorate([
7736
- Input(),
7737
- __metadata("design:type", Date)
7738
- ], DtPick.prototype, "max_date", void 0);
7739
- __decorate([
7740
- Output(),
7741
- __metadata("design:type", EventEmitter)
7742
- ], DtPick.prototype, "change", void 0);
7743
- __decorate([
7744
- ViewChild('appdt'),
7745
- __metadata("design:type", MyDatePicker)
7746
- ], DtPick.prototype, "dtc", void 0);
7747
- DtPick = __decorate([
7748
- Component({
7749
- selector: 'DtPicker',
7750
- template: "\n <div [hidden]=\"!show_buttons||!enabled\">\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"add_year()\">+1 Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"ini_year()\">Inizio Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"fin_year()\">Fine Anno</button>\n </div>\n\n <div class=\"lb_small_grigia\">{{label}}</div>\n <my-date-picker (dateChanged)=\"dt_ch()\" #appdt [options]=\"myDatePickerOptions\" *ngIf=\"enabled\"\n [(ngModel)]=\"date_sel\"></my-date-picker>\n\n <div *ngIf=\"!enabled\" class=\"label_dis\">\n {{this.date_sel?.date.day}}/{{this.date_sel?.date.month}}/{{this.date_sel?.date.year}}\n </div>\n ",
7751
- styles: ["\n .lb_small_grigia {\n font-size: 12px;\n color: #B8B8B8;\n }\n\n .label_dis {\n font-size: 14px;\n font-weight: bold;\n }\n "]
7752
- }),
7753
- __metadata("design:paramtypes", [])
7754
- ], DtPick);
7755
- return DtPick;
7756
- }());
7757
-
7758
7506
  var FHPickListComponent = /** @class */ (function () {
7759
7507
  function FHPickListComponent(dialogRef, _dataService, toastr) {
7760
7508
  this.dialogRef = dialogRef;
@@ -7777,7 +7525,7 @@ var FHPickListComponent = /** @class */ (function () {
7777
7525
  this.values = [];
7778
7526
  this.value_sel = new Array();
7779
7527
  }
7780
- FHPickListComponent.prototype.ngOnInit = function () {
7528
+ FHPickListComponent.prototype.ngAfterViewInit = function () {
7781
7529
  };
7782
7530
  FHPickListComponent.prototype.filtra = function () {
7783
7531
  this.value_list_sel = new Array();
@@ -7997,7 +7745,7 @@ var WinAskNumberComponent = /** @class */ (function () {
7997
7745
  this.valore_min = 1;
7998
7746
  this.valore_max = 1000000;
7999
7747
  }
8000
- WinAskNumberComponent.prototype.ngOnInit = function () {
7748
+ WinAskNumberComponent.prototype.ngAfterViewInit = function () {
8001
7749
  };
8002
7750
  WinAskNumberComponent.prototype.show = function () {
8003
7751
  };
@@ -8061,7 +7809,7 @@ var FHMdReader = /** @class */ (function () {
8061
7809
  this.highlighted = true;
8062
7810
  }
8063
7811
  };
8064
- FHMdReader.prototype.ngOnInit = function () {
7812
+ FHMdReader.prototype.ngAfterViewInit = function () {
8065
7813
  };
8066
7814
  FHMdReader.ctorParameters = function () { return [
8067
7815
  { type: HighlightService }
@@ -8127,7 +7875,7 @@ var FHLogPanelComponent = /** @class */ (function () {
8127
7875
  FHLogPanelComponent.prototype.reload = function () {
8128
7876
  this.datagrid.doFill("[applicativo]='" + this.m_app + "' and [iddocumento]='" + this.m_k + "'");
8129
7877
  };
8130
- FHLogPanelComponent.prototype.ngOnInit = function () {
7878
+ FHLogPanelComponent.prototype.ngAfterViewInit = function () {
8131
7879
  };
8132
7880
  FHLogPanelComponent.ctorParameters = function () { return [
8133
7881
  { type: UtilityService }
@@ -8256,7 +8004,7 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
8256
8004
  FHCurrencyFieldComponent.prototype.setFocus = function () {
8257
8005
  this.el.nativeElement.focus();
8258
8006
  };
8259
- FHCurrencyFieldComponent.prototype.ngOnInit = function () {
8007
+ FHCurrencyFieldComponent.prototype.ngAfterViewInit = function () {
8260
8008
  if (this.required)
8261
8009
  this.el.nativeElement.required = this.required;
8262
8010
  this.el.nativeElement.disabled = !this.enabled;
@@ -8349,7 +8097,7 @@ var FHRichText = /** @class */ (function () {
8349
8097
  FHRichText.prototype.onBlur = function (o) {
8350
8098
  this.blur.emit(o);
8351
8099
  };
8352
- FHRichText.prototype.ngOnInit = function () {
8100
+ FHRichText.prototype.ngAfterViewInit = function () {
8353
8101
  this.config = { height: this.height };
8354
8102
  if (this.enabled) {
8355
8103
  this.config.toolbarGroups = [
@@ -8441,7 +8189,7 @@ var WinOutputComponent = /** @class */ (function () {
8441
8189
  this.min_chars = 3;
8442
8190
  this.max_chars = 50;
8443
8191
  }
8444
- WinOutputComponent.prototype.ngOnInit = function () {
8192
+ WinOutputComponent.prototype.ngAfterViewInit = function () {
8445
8193
  };
8446
8194
  WinOutputComponent.prototype.close = function () { this.dialogRef.close(null); };
8447
8195
  WinOutputComponent.prototype.show = function () {
@@ -8588,7 +8336,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
8588
8336
  FHNumericFieldComponent.prototype.setFocus = function () {
8589
8337
  this.el.nativeElement.focus();
8590
8338
  };
8591
- FHNumericFieldComponent.prototype.ngOnInit = function () {
8339
+ FHNumericFieldComponent.prototype.ngAfterViewInit = function () {
8592
8340
  if (this.required)
8593
8341
  this.el.nativeElement.required = this.required;
8594
8342
  this.el.nativeElement.disabled = !this.enabled;
@@ -8681,7 +8429,7 @@ var FHListPick = /** @class */ (function () {
8681
8429
  return;
8682
8430
  this.dialogRef.close(this.cmb_sel.getObjects());
8683
8431
  };
8684
- FHListPick.prototype.ngOnInit = function () {
8432
+ FHListPick.prototype.ngAfterViewInit = function () {
8685
8433
  };
8686
8434
  FHListPick.ctorParameters = function () { return [
8687
8435
  { type: MatDialogRef },
@@ -8715,7 +8463,7 @@ var win_salva_annulla = /** @class */ (function () {
8715
8463
  win_salva_annulla.prototype.esci_senza_salv = function () {
8716
8464
  this.dialogRef.close("esci_senza_salv");
8717
8465
  };
8718
- win_salva_annulla.prototype.ngOnInit = function () {
8466
+ win_salva_annulla.prototype.ngAfterViewInit = function () {
8719
8467
  };
8720
8468
  win_salva_annulla.ctorParameters = function () { return [
8721
8469
  { type: MatDialogRef },
@@ -8776,7 +8524,7 @@ var win_assegna = /** @class */ (function () {
8776
8524
  o.arrsel = this.up.getSelArr();
8777
8525
  this.dialogRef.close(o);
8778
8526
  };
8779
- win_assegna.prototype.ngOnInit = function () {
8527
+ win_assegna.prototype.ngAfterViewInit = function () {
8780
8528
  };
8781
8529
  win_assegna.ctorParameters = function () { return [
8782
8530
  { type: MatDialogRef },
@@ -8833,7 +8581,7 @@ var win_conferma = /** @class */ (function () {
8833
8581
  win_conferma.prototype.close = function () {
8834
8582
  this.dialogRef.close("abort");
8835
8583
  };
8836
- win_conferma.prototype.ngOnInit = function () {
8584
+ win_conferma.prototype.ngAfterViewInit = function () {
8837
8585
  };
8838
8586
  win_conferma.ctorParameters = function () { return [
8839
8587
  { type: MatDialogRef },
@@ -8872,7 +8620,7 @@ var win_select_canale = /** @class */ (function () {
8872
8620
  }
8873
8621
  this.dialogRef.close(this.selval);
8874
8622
  };
8875
- win_select_canale.prototype.ngOnInit = function () {
8623
+ win_select_canale.prototype.ngAfterViewInit = function () {
8876
8624
  };
8877
8625
  win_select_canale.ctorParameters = function () { return [
8878
8626
  { type: MatDialogRef },
@@ -8972,7 +8720,7 @@ var win_select_level = /** @class */ (function () {
8972
8720
  }
8973
8721
  this.dialogRef.close(this.selval);
8974
8722
  };
8975
- win_select_level.prototype.ngOnInit = function () {
8723
+ win_select_level.prototype.ngAfterViewInit = function () {
8976
8724
  };
8977
8725
  win_select_level.ctorParameters = function () { return [
8978
8726
  { type: MatDialogRef },
@@ -9007,7 +8755,7 @@ var win_uploads = /** @class */ (function () {
9007
8755
  this.sovrascrivi_path = '';
9008
8756
  }
9009
8757
  win_uploads.prototype.close = function () { this.dialogRef.close(null); };
9010
- win_uploads.prototype.ngOnInit = function () {
8758
+ win_uploads.prototype.ngAfterViewInit = function () {
9011
8759
  this.App = this.app_s.getState().wkf_doc_info.uiid_app;
9012
8760
  this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
9013
8761
  this.init(this.App, this.K);
@@ -9073,7 +8821,7 @@ var win_commento_sel_notif = /** @class */ (function () {
9073
8821
  o.arrsel = this.up.getSelArr();
9074
8822
  this.dialogRef.close(o);
9075
8823
  };
9076
- win_commento_sel_notif.prototype.ngOnInit = function () {
8824
+ win_commento_sel_notif.prototype.ngAfterViewInit = function () {
9077
8825
  };
9078
8826
  win_commento_sel_notif.ctorParameters = function () { return [
9079
8827
  { type: MatDialogRef },
@@ -9395,7 +9143,7 @@ var win_commenti = /** @class */ (function () {
9395
9143
  }
9396
9144
  });
9397
9145
  };
9398
- win_commenti.prototype.ngOnInit = function () {
9146
+ win_commenti.prototype.ngAfterViewInit = function () {
9399
9147
  };
9400
9148
  win_commenti.prototype.ins = function () {
9401
9149
  this.nota = '';
@@ -9450,7 +9198,7 @@ var win_info_doc = /** @class */ (function () {
9450
9198
  this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
9451
9199
  this.canale = this.m_appService.getState().wkf_doc_info.canale;
9452
9200
  };
9453
- win_info_doc.prototype.ngOnInit = function () {
9201
+ win_info_doc.prototype.ngAfterViewInit = function () {
9454
9202
  };
9455
9203
  win_info_doc.ctorParameters = function () { return [
9456
9204
  { type: MatDialogRef },
@@ -9566,7 +9314,7 @@ var win_log = /** @class */ (function () {
9566
9314
  this.b_ins = true;
9567
9315
  this.title = 'INSERISCI COMMENTO';
9568
9316
  };
9569
- win_log.prototype.ngOnInit = function () {
9317
+ win_log.prototype.ngAfterViewInit = function () {
9570
9318
  var _this = this;
9571
9319
  setTimeout(function () {
9572
9320
  _this.ric_all();
@@ -10244,7 +9992,7 @@ var FHGridJSONComponent = /** @class */ (function () {
10244
9992
  return item.data.codice;
10245
9993
  return "NA";
10246
9994
  };
10247
- FHGridJSONComponent.prototype.ngOnInit = function () {
9995
+ FHGridJSONComponent.prototype.ngAfterViewInit = function () {
10248
9996
  // this.onResize();
10249
9997
  };
10250
9998
  FHGridJSONComponent.prototype.okr = function (event) {
@@ -12235,7 +11983,7 @@ var dati_aggiuntivi = /** @class */ (function () {
12235
11983
  });
12236
11984
  });
12237
11985
  };
12238
- dati_aggiuntivi.prototype.ngOnInit = function () {
11986
+ dati_aggiuntivi.prototype.ngAfterViewInit = function () {
12239
11987
  this.init_engine();
12240
11988
  };
12241
11989
  dati_aggiuntivi.prototype.setta_info_app = function (o) {
@@ -12311,7 +12059,7 @@ var wkf_header_bar = /** @class */ (function () {
12311
12059
  this.dt_agg.open_upload(); };
12312
12060
  wkf_header_bar.prototype.open_wkf = function () { if (this.dt_agg != null)
12313
12061
  this.dt_agg.open_wkf(); };
12314
- wkf_header_bar.prototype.ngOnInit = function () {
12062
+ wkf_header_bar.prototype.ngAfterViewInit = function () {
12315
12063
  };
12316
12064
  wkf_header_bar.ctorParameters = function () { return [
12317
12065
  { type: AppService }
@@ -12407,7 +12155,7 @@ var FormBuilderComponent = /** @class */ (function () {
12407
12155
  }
12408
12156
  });
12409
12157
  };
12410
- FormBuilderComponent.prototype.ngOnInit = function () {
12158
+ FormBuilderComponent.prototype.ngAfterViewInit = function () {
12411
12159
  var _this = this;
12412
12160
  try {
12413
12161
  this.dragula.createGroup('bag-items', {
@@ -12479,7 +12227,7 @@ var FormExecuterComponent = /** @class */ (function () {
12479
12227
  FormExecuterComponent.prototype.setStyles = function (o) {
12480
12228
  return { width: '90%', padding: '15px', margin: '15px', border: '1px solid #3db3cd', 'background-color': "#ECF0F1" };
12481
12229
  };
12482
- FormExecuterComponent.prototype.ngOnInit = function () {
12230
+ FormExecuterComponent.prototype.ngAfterViewInit = function () {
12483
12231
  };
12484
12232
  FormExecuterComponent.ctorParameters = function () { return [
12485
12233
  { type: UtilityService },
@@ -12514,7 +12262,7 @@ var WinAskButtonsComponent = /** @class */ (function () {
12514
12262
  this.title = "";
12515
12263
  this.button_config = [];
12516
12264
  }
12517
- WinAskButtonsComponent.prototype.ngOnInit = function () {
12265
+ WinAskButtonsComponent.prototype.ngAfterViewInit = function () {
12518
12266
  };
12519
12267
  WinAskButtonsComponent.prototype.open = function (o) {
12520
12268
  this.dialogRef.close(o);
@@ -12569,7 +12317,7 @@ var win_show_image = /** @class */ (function () {
12569
12317
  this.imageIndex = 0;
12570
12318
  this.images = [];
12571
12319
  }
12572
- win_show_image.prototype.ngOnInit = function () {
12320
+ win_show_image.prototype.ngAfterViewInit = function () {
12573
12321
  };
12574
12322
  win_show_image.ctorParameters = function () { return [
12575
12323
  { type: MatDialogRef }
@@ -12637,7 +12385,7 @@ var FHViewerComponent = /** @class */ (function () {
12637
12385
  this.notfullScreenEvent = new EventEmitter();
12638
12386
  this.fullScreenEvent = new EventEmitter();
12639
12387
  }
12640
- FHViewerComponent.prototype.ngOnInit = function () {
12388
+ FHViewerComponent.prototype.ngAfterViewInit = function () {
12641
12389
  var merged = this.mergeConfig(DEFAULT_CONFIG, this.moduleConfig);
12642
12390
  this.config = this.mergeConfig(merged, this.config);
12643
12391
  this.triggerConfigBinding();
@@ -12896,7 +12644,7 @@ var fhimagepreview = /** @class */ (function () {
12896
12644
  //this.photo_c.toggleFullscreen()
12897
12645
  this.already_open = true;
12898
12646
  };
12899
- fhimagepreview.prototype.ngOnInit = function () {
12647
+ fhimagepreview.prototype.ngAfterViewInit = function () {
12900
12648
  this.init();
12901
12649
  };
12902
12650
  fhimagepreview.prototype.openFullscreen = function () {
@@ -13043,7 +12791,7 @@ var fhimagepreview = /** @class */ (function () {
13043
12791
  fhimagepreview = __decorate([
13044
12792
  Component({
13045
12793
  selector: 'fh-image-viewer',
13046
- 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",
12794
+ 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",
13047
12795
  styles: ["\n\n "]
13048
12796
  })
13049
12797
  ], fhimagepreview);
@@ -13143,7 +12891,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
13143
12891
  }
13144
12892
  });
13145
12893
  };
13146
- FHFieldPickListComponent.prototype.ngOnInit = function () {
12894
+ FHFieldPickListComponent.prototype.ngAfterViewInit = function () {
13147
12895
  };
13148
12896
  FHFieldPickListComponent.ctorParameters = function () { return [
13149
12897
  { type: MatDialog }
@@ -13280,7 +13028,7 @@ var win_manage_values = /** @class */ (function () {
13280
13028
  };
13281
13029
  win_manage_values.prototype.ok = function () {
13282
13030
  };
13283
- win_manage_values.prototype.ngOnInit = function () {
13031
+ win_manage_values.prototype.ngAfterViewInit = function () {
13284
13032
  this.nValori = new Object();
13285
13033
  //this.nValori.valore=0;
13286
13034
  this.nValori.descrizione = '';
@@ -13325,7 +13073,7 @@ var FHTableManager = /** @class */ (function () {
13325
13073
  }
13326
13074
  });
13327
13075
  };
13328
- FHTableManager.prototype.ngOnInit = function () {
13076
+ FHTableManager.prototype.ngAfterViewInit = function () {
13329
13077
  if (this.application == "")
13330
13078
  return;
13331
13079
  this.cmb_sel.sql = "SELECT_TABLE_MANAGEMENT";
@@ -13425,7 +13173,7 @@ var win_manage_roles = /** @class */ (function () {
13425
13173
  }
13426
13174
  });
13427
13175
  };
13428
- win_manage_roles.prototype.ngOnInit = function () {
13176
+ win_manage_roles.prototype.ngAfterViewInit = function () {
13429
13177
  this.ref_user_list();
13430
13178
  };
13431
13179
  win_manage_roles.ctorParameters = function () { return [
@@ -13466,7 +13214,7 @@ var FHRoleManager = /** @class */ (function () {
13466
13214
  }
13467
13215
  });
13468
13216
  };
13469
- FHRoleManager.prototype.ngOnInit = function () {
13217
+ FHRoleManager.prototype.ngAfterViewInit = function () {
13470
13218
  if (this.application == "")
13471
13219
  return;
13472
13220
  this.cmb_sel.sql = "SELECT_APP_USER_MANAGEMENT";
@@ -13749,9 +13497,6 @@ var FHComboboxComponentFilter = /** @class */ (function () {
13749
13497
  this.setByDescri(this.valDef);
13750
13498
  };
13751
13499
  FHComboboxComponentFilter.prototype.ngAfterViewInit = function () {
13752
- // console.log("ngAfterViewInit"); console.log(this.init_fill);
13753
- };
13754
- FHComboboxComponentFilter.prototype.ngOnInit = function () {
13755
13500
  if (this.init_fill == true) {
13756
13501
  if (this.sql == '') {
13757
13502
  //this.errorMsg="QUERY NON CONFIGURATA";
@@ -13936,7 +13681,7 @@ var win_insert_commento = /** @class */ (function () {
13936
13681
  this.b_edit = false;
13937
13682
  this.title = 'COMMENTI';
13938
13683
  };
13939
- win_insert_commento.prototype.ngOnInit = function () {
13684
+ win_insert_commento.prototype.ngAfterViewInit = function () {
13940
13685
  };
13941
13686
  win_insert_commento.prototype.ins = function () {
13942
13687
  this.nota = '';
@@ -13987,7 +13732,7 @@ var win_user_info = /** @class */ (function () {
13987
13732
  this.isadmin = this.appService.user_isadmin;
13988
13733
  }
13989
13734
  win_user_info.prototype.close = function () { this.dialogRef.close(null); };
13990
- win_user_info.prototype.ngOnInit = function () {
13735
+ win_user_info.prototype.ngAfterViewInit = function () {
13991
13736
  var _this = this;
13992
13737
  if (this.isadmin == '1')
13993
13738
  if (this.appService.dev_mode != null)
@@ -14107,7 +13852,7 @@ var FHHelpButton = /** @class */ (function () {
14107
13852
  ], FHHelpButton.prototype, "key", void 0);
14108
13853
  FHHelpButton = __decorate([
14109
13854
  Component({
14110
- 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 ",
13855
+ 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 ",
14111
13856
  styles: ["\n\n\n "]
14112
13857
  }),
14113
13858
  __metadata("design:paramtypes", [QueryService, ToastrService])
@@ -14165,22 +13910,22 @@ var FluxhubLibModule = /** @class */ (function () {
14165
13910
  MatPaginatorModule,
14166
13911
  MatSortModule,
14167
13912
  MatTableModule,
14168
- MatNativeDateModule, MyDatePickerModule, FileUploadModule, AgGridModule.withComponents([NumericEditorComponent, DateComponent]), CommonModule, DragulaModule, FormsModule,
13913
+ MatNativeDateModule, FileUploadModule, AgGridModule.withComponents([NumericEditorComponent]), CommonModule, DragulaModule, FormsModule,
14169
13914
  AgmCoreModule.forRoot({
14170
13915
  apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
14171
13916
  }),
14172
13917
  FlexLayoutModule, MarkdownModule, CKEditorModule],
14173
13918
  exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
14174
- FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
13919
+ FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
14175
13920
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
14176
- ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
13921
+ ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
14177
13922
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
14178
13923
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
14179
13924
  declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
14180
13925
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
14181
- FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
13926
+ FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
14182
13927
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
14183
- ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
13928
+ ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
14184
13929
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
14185
13930
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
14186
13931
  win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level,
@@ -14358,15 +14103,6 @@ var FHGuard = /** @class */ (function () {
14358
14103
  return FHGuard;
14359
14104
  }());
14360
14105
 
14361
- var dt = /** @class */ (function () {
14362
- function dt(y, m, d) {
14363
- this.year = y;
14364
- this.month = m;
14365
- this.day = d;
14366
- }
14367
- return dt;
14368
- }());
14369
-
14370
14106
  /*
14371
14107
  * Public API Surface of fluxhub-lib
14372
14108
  */
@@ -14375,5 +14111,5 @@ var dt = /** @class */ (function () {
14375
14111
  * Generated bundle index. Do not edit.
14376
14112
  */
14377
14113
 
14378
- export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, DateComponent, DtPick, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, dt, fhimagepreview, win_insert_commento, win_mappa, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
14114
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, fhimagepreview, win_insert_commento, win_mappa, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
14379
14115
  //# sourceMappingURL=fluxhub-fluxhub-lib.js.map