ps-toolkit-ui 1.17.61 → 1.17.63

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.
@@ -2592,7 +2592,8 @@
2592
2592
  });
2593
2593
  if (this.type === exports.InputType.SelectSearch || this.type === exports.InputType.Select || this.type === exports.InputType.SelectAutoComplete ||
2594
2594
  this.type === exports.InputType.SelectAutoCompletePlaque || this.type === exports.InputType.SelectAutoCompletePlaqueM ||
2595
- this.type === exports.InputType.SelectAutoCompletePlaqueF || this.type === exports.InputType.SelectAutoCompletePlaqueG || this.type === exports.InputType.Radio) {
2595
+ this.type === exports.InputType.SelectAutoCompletePlaqueF || this.type === exports.InputType.SelectAutoCompletePlaqueG ||
2596
+ this.type === exports.InputType.Radio || this.type === exports.InputType.Slide) {
2596
2597
  var r = this.getOptions(result_1, null);
2597
2598
  this.setOptions(r);
2598
2599
  }
@@ -4481,7 +4482,6 @@
4481
4482
  };
4482
4483
  };
4483
4484
  FormDateComponent.prototype.setInpValue = function (v) {
4484
- console.log(this.inp.name, v);
4485
4485
  if (v === null) {
4486
4486
  this.inp.clear();
4487
4487
  this.active = moment__namespace().locale('fa');
@@ -4496,7 +4496,7 @@
4496
4496
  this.active = moment__namespace(d).locale('fa');
4497
4497
  }
4498
4498
  else if (typeof v === 'number') {
4499
- this.active = moment__namespace(v).locale('fa');
4499
+ this.active = this.inp.type === exports.InputType.Month ? moment__namespace(moment__namespace(v).locale('fa').format('jYYYY/jMM/jDD'), 'jYYYY/jMM/01').locale('fa') : moment__namespace(v).locale('fa');
4500
4500
  }
4501
4501
  else {
4502
4502
  this.active = v;