ps-toolkit-ui 1.3.71 → 1.3.74

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.
@@ -4638,7 +4638,7 @@
4638
4638
  FormPlaqueComponent.prototype.ngOnInit = function () {
4639
4639
  var _this = this;
4640
4640
  this.part1 = new InputClass(this.inp.environment, this.inp.l, 'Part1', null, exports.InputType.Number, 'plaque-part-1 plaque-part-item', null, true);
4641
- this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item', this.inp.placeholder, true);
4641
+ this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item', null, true);
4642
4642
  this.part3 = new InputClass(this.inp.environment, this.inp.l, 'Part3', null, exports.InputType.Number, 'plaque-part-3 plaque-part-item', null, true);
4643
4643
  this.part4 = new InputClass(this.inp.environment, this.inp.l, 'Part4', null, exports.InputType.Number, 'plaque-part-4 plaque-part-item', null, true, 10, 99);
4644
4644
  this.part2.options = this.alphas.map(function (x) { return new OptionClass(x, x); });
@@ -4765,7 +4765,12 @@
4765
4765
  if (this.inp.type === exports.InputType.Plaque) {
4766
4766
  if (p === 'Part1') {
4767
4767
  if (a === 'Tab' || a === 'Enter') {
4768
- this.part2.focus();
4768
+ if (this.part2.data() != null) {
4769
+ this.part3.focus();
4770
+ }
4771
+ else {
4772
+ this.part2.focus();
4773
+ }
4769
4774
  }
4770
4775
  else if (a === 'ShiftTab' || a === 'ShiftEnter') {
4771
4776
  this.changeIndex.emit('ShiftTab');
@@ -4784,7 +4789,12 @@
4784
4789
  this.part4.focus();
4785
4790
  }
4786
4791
  else if (a === 'ShiftTab' || a === 'ShiftEnter') {
4787
- this.part2.focus();
4792
+ if (this.part2.data() != null) {
4793
+ this.part1.focus();
4794
+ }
4795
+ else {
4796
+ this.part2.focus();
4797
+ }
4788
4798
  }
4789
4799
  }
4790
4800
  else if (p === 'Part4') {
@@ -6618,7 +6628,6 @@
6618
6628
  this.carF = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-earth-asia', exports.InputType.PlaqueF, 'plaque-inp', null, this.inp.required);
6619
6629
  this.motor = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-motorcycle', exports.InputType.PlaqueM, 'plaque-inp', null, this.inp.required);
6620
6630
  this.car.displayLabel = this.carF.displayLabel = this.motor.displayLabel = false;
6621
- this.car.placeholder = this.inp.placeholder;
6622
6631
  this.inp.setValue = function (v) {
6623
6632
  if (v != null) {
6624
6633
  if (v.split('_').length === 2 && v.split('_').some(function (x) { return !isNaN(parseInt(x, 10)); })) {