@magic-xpa/engine 4.801.0-dev481.389 → 4.801.2

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.
@@ -4132,9 +4132,10 @@ class Scrambler {
4132
4132
  if (high > (sqrt / 2))
4133
4133
  high = Math.floor(sqrt / 2);
4134
4134
  delta = (Math.random() * (high - low)) + low;
4135
+ delta = Math.floor(delta);
4135
4136
  if (delta === Scrambler.XML_ILLEGAL_RANDOM)
4136
4137
  delta++;
4137
- return Math.floor(delta);
4138
+ return delta;
4138
4139
  }
4139
4140
  static UnScramble(inVal, beginOffSet, endOffSet) {
4140
4141
  if (!Scrambler.ScramblingEnabled) {
@@ -26924,7 +26925,7 @@ class EventsManager {
26924
26925
  val = Manager.GetCtrlVal(ctrl);
26925
26926
  task.CurrentEditingControl = null;
26926
26927
  if (!task.cancelWasRaised() &&
26927
- (ctrl.Type !== MgControlType.CTRL_TYPE_BROWSER && (!isNullOrUndefined(ctrl._field) && ctrl._field.getType() === StorageAttribute.DATE || val !== null) && typeof val != 'undefined' &&
26928
+ (ctrl.Type !== MgControlType.CTRL_TYPE_BROWSER && (!isNullOrUndefined(ctrl._field) && (ctrl._field.getType() === StorageAttribute.DATE || ctrl._field.getType() == StorageAttribute.NUMERIC) || val !== null) && typeof val != 'undefined' &&
26928
26929
  !await ctrl.validateAndSetValue(val, true))) {
26929
26930
  this.setStopExecution(true);
26930
26931
  return false;
@@ -29516,7 +29517,7 @@ class CommandsTable {
29516
29517
  }
29517
29518
  }
29518
29519
 
29519
- let CurrentClientVersion = '4.801.0-dev481.389';
29520
+ let CurrentClientVersion = '4.801.2';
29520
29521
 
29521
29522
  class ClientManager {
29522
29523
  constructor() {