@fluxhub/fluxhub-lib 10.0.58 → 10.0.61

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 (25) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +9 -2
  2. package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
  3. package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
  4. package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
  5. package/esm2015/lib/controls/fhcurrencyfield.js +7 -2
  6. package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -2
  7. package/fesm2015/fluxhub-fluxhub-lib.js +9 -2
  8. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  9. package/fluxhub-fluxhub-lib.metadata.json +1 -1
  10. package/lib/controls/app_manager/fhrolemanager.d.ts +16 -0
  11. package/lib/controls/app_manager/fhtablevaluesmanager.d.ts +16 -0
  12. package/lib/controls/app_manager/win_manage_roles.d.ts +27 -0
  13. package/lib/controls/app_manager/win_manage_values.d.ts +27 -0
  14. package/lib/controls/grid_editors/approvabuttons.d.ts +13 -0
  15. package/lib/controls/grid_editors/checkbox-editor.component.d.ts +11 -0
  16. package/lib/controls/grid_editors/currency.component.d.ts +6 -0
  17. package/lib/controls/grid_editors/fhcombobox_filter.d.ts +45 -0
  18. package/lib/controls/grid_editors/numeric-editor.component.d.ts +20 -0
  19. package/lib/controls/grid_editors/select-editor.component.d.ts +20 -0
  20. package/lib/controls/grid_editors/textarea-editor.component.d.ts +17 -0
  21. package/lib/controls/image-viewer/image-viewer-config.model.d.ts +34 -0
  22. package/lib/controls/image-viewer/image-viewer.component.d.ts +53 -0
  23. package/lib/controls/image-viewer/save_pipe.d.ts +7 -0
  24. package/lib/controls/utils/MomentDateAdapter.d.ts +33 -0
  25. package/package.json +1 -1
@@ -8678,13 +8678,16 @@
8678
8678
  else
8679
8679
  _this.value = parseFloat(_this.value.split(".").join("").split(",").join("."));
8680
8680
  }
8681
- console.log("this.value ", _this.value);
8681
+ if (isNaN(_this.value))
8682
+ _this.value = 0;
8682
8683
  _this.onChange(_this.value);
8683
8684
  }, 0);
8684
8685
  };
8685
8686
  FHCurrencyFieldComponent.prototype.writeValue = function (value) {
8686
8687
  if (value == null)
8687
8688
  value = 0;
8689
+ if (isNaN(value))
8690
+ value = 0;
8688
8691
  if (value !== this.innerValue) {
8689
8692
  if (typeof value == "string") {
8690
8693
  if (this.decimal == 0)
@@ -8692,6 +8695,8 @@
8692
8695
  else
8693
8696
  value = parseFloat(value.split(".").join("").split(",").join("."));
8694
8697
  }
8698
+ if (isNaN(value))
8699
+ value = 0;
8695
8700
  this.innerValue = value;
8696
8701
  this.value = value;
8697
8702
  // console.log('writeValue ini ',this.value);
@@ -15028,6 +15033,7 @@
15028
15033
  // console.log('user_idp: '+ this.user_idp);
15029
15034
  }
15030
15035
  dati_aggiuntivi.prototype.init_user_i = function () {
15036
+ console.log('init_user_i() ', this.app_s.user);
15031
15037
  this.user_idp = this.app_s.user;
15032
15038
  this.user_nome = this.app_s.user_name;
15033
15039
  this.user_cognome = this.app_s.user_surname;
@@ -16692,6 +16698,7 @@
16692
16698
  dati_aggiuntivi.prototype.onResize = function (event) { };
16693
16699
  dati_aggiuntivi.prototype.init_engine = function () {
16694
16700
  var _this = this;
16701
+ console.log(' init_engine()');
16695
16702
  if (this.user_idp == null) {
16696
16703
  setTimeout(function () {
16697
16704
  _this.init_user_i();
@@ -16699,7 +16706,7 @@
16699
16706
  }, 100);
16700
16707
  return;
16701
16708
  }
16702
- //console.log('init_engine ');
16709
+ console.log('init_engine ini ');
16703
16710
  this.m_route.params.subscribe(function (params) {
16704
16711
  _this.onResize();
16705
16712
  var id = params["op"];