@fluxhub/fluxhub-lib 11.0.106 → 11.0.108

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.
@@ -3921,6 +3921,11 @@
3921
3921
  };
3922
3922
  NumericEditorComponent.prototype.isKeyPressedNumeric = function (event) {
3923
3923
  var charCode = this.getCharCodeFromEvent(event);
3924
+ console.log("🚀 ~ file: numeric-editor.component.ts:119 ~ isKeyPressedNumeric ~ charCode", charCode);
3925
+ if (charCode == 16)
3926
+ return true;
3927
+ if (charCode == 9)
3928
+ return true;
3924
3929
  if (charCode == 8)
3925
3930
  return true;
3926
3931
  if (charCode == 188)
@@ -3936,7 +3941,7 @@
3936
3941
  NumericEditorComponent.decorators = [
3937
3942
  { type: i0.Component, args: [{
3938
3943
  selector: "numeric-cell",
3939
- template: "<input\n #input\n (keydown)=\"onKeyDown($event)\"\n [(ngModel)]=\"value\"\n style=\"fontSize:40;height:30px;\"\n />"
3944
+ template: "<input\n #input\n (keydown)=\"onKeyDown($event)\"\n [(ngModel)]=\"value\"\n style=\"fontSize:40;height:30px; text-align : 'right'\"\n />"
3940
3945
  },] }
3941
3946
  ];
3942
3947
  NumericEditorComponent.ctorParameters = function () { return [
@@ -4211,6 +4216,15 @@
4211
4216
  return typeof event.which == 'undefined' ? event.keyCode : event.which;
4212
4217
  };
4213
4218
  FHTimePickerComponent.prototype.isKeyPressedNumeric = function (event) {
4219
+ var charCode = this.getCharCodeFromEvent(event);
4220
+ if (charCode == 16)
4221
+ return true;
4222
+ if (charCode == 9)
4223
+ return true;
4224
+ if (charCode == 8)
4225
+ return true;
4226
+ if (charCode == 188)
4227
+ return true;
4214
4228
  if ('0123456789'.indexOf(event.key) !== -1 ||
4215
4229
  event.key == 'ArrowRight' ||
4216
4230
  event.key == 'ArrowLeft' ||