tnx-shared 5.3.328 → 5.3.329

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.
@@ -45972,8 +45972,10 @@
45972
45972
  DatetimePickerRangeComponent.prototype.writeValue = function (value) {
45973
45973
  };
45974
45974
  DatetimePickerRangeComponent.prototype.registerOnChange = function (fn) {
45975
+ this.onChange = fn;
45975
45976
  };
45976
45977
  DatetimePickerRangeComponent.prototype.registerOnTouched = function (fn) {
45978
+ this.onTouched = fn;
45977
45979
  };
45978
45980
  DatetimePickerRangeComponent.prototype.clear = function () {
45979
45981
  var re = (this._controlModelData[0] != null) || (this._controlModelData[1] != null);
@@ -45982,12 +45984,14 @@
45982
45984
  };
45983
45985
  DatetimePickerRangeComponent.prototype.handleChanged = function (evt) {
45984
45986
  if (this._controlModelData[0] && this._controlModelData[1] && this._controlModelData[0] > this._controlModelData[1]) {
45987
+ this.onChange([this._controlModelData[1], this._controlModelData[0]]);
45985
45988
  this.onChanged.next({
45986
45989
  childEvent: evt,
45987
45990
  value: [this._controlModelData[1], this._controlModelData[0]]
45988
45991
  });
45989
45992
  return;
45990
45993
  }
45994
+ this.onChange(this._controlModelData);
45991
45995
  this.onChanged.next({
45992
45996
  childEvent: evt,
45993
45997
  value: this._controlModelData