ps-toolkit-ui 1.5.29 → 1.5.30

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.
@@ -4987,12 +4987,12 @@
4987
4987
  FormRadioComponent.prototype.ngOnInit = function () {
4988
4988
  var _this = this;
4989
4989
  this.inp.load();
4990
- this.inp.setValue = function (v) {
4990
+ this.inp.setValue = function (v, isEdit) {
4991
4991
  _this.inp.value = v !== null ? v.toString() : null;
4992
4992
  if (_this.inp.value == null && _this.inp.options.length > 0) {
4993
4993
  _this.inp.value = _this.inp.options.find(function (x) { return true; }).value;
4994
4994
  }
4995
- _this.onChange();
4995
+ _this.onChange(isEdit);
4996
4996
  };
4997
4997
  this.inp.setValue(this.inp.value, false);
4998
4998
  this.inp.isValid = function () {
@@ -5034,11 +5034,15 @@
5034
5034
  this.inp.value = this.inp.options[next].value;
5035
5035
  }
5036
5036
  };
5037
- FormRadioComponent.prototype.onChange = function () {
5037
+ FormRadioComponent.prototype.onChange = function (isEdit) {
5038
+ if (isEdit === void 0) { isEdit = false; }
5038
5039
  this.inp.error = null;
5039
5040
  if (this.inp.onChange) {
5040
5041
  this.inp.onChange(this.inp);
5041
5042
  }
5043
+ if (!isEdit) {
5044
+ this.changeIndex.emit('Tab');
5045
+ }
5042
5046
  };
5043
5047
  FormRadioComponent.prototype.onFocusIn = function () {
5044
5048
  $__namespace(this.inputBase.nativeElement).focus();