ps-toolkit-ui 1.7.9 → 1.7.10
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.
- package/bundles/ps-toolkit-ui.umd.js +15 -15
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +16 -16
- package/fesm2015/ps-toolkit-ui.js +15 -15
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4536,7 +4536,7 @@
|
|
|
4536
4536
|
};
|
|
4537
4537
|
this.part1.onKeyDown = this.part2.onKeyDown = this.part3.onKeyDown = this.part4.onKeyDown = function (e) {
|
|
4538
4538
|
var code = e.keyCode || e.which;
|
|
4539
|
-
if (code === 38 || code === 40) {
|
|
4539
|
+
if (code === 38 || code === 40 || code === 13) {
|
|
4540
4540
|
_this.onKeyDown(e);
|
|
4541
4541
|
}
|
|
4542
4542
|
};
|
|
@@ -4726,55 +4726,55 @@
|
|
|
4726
4726
|
FormPlaqueSelectComponent.prototype.plaqueChangeFocus = function (p, a) {
|
|
4727
4727
|
if (this.inp.type === exports.InputType.SelectAutoCompletePlaque) {
|
|
4728
4728
|
if (p === 'Part1') {
|
|
4729
|
-
if (a === 'Tab'
|
|
4729
|
+
if (a === 'Tab') {
|
|
4730
4730
|
this.part2.focus(true);
|
|
4731
4731
|
}
|
|
4732
|
-
else if (a === 'ShiftTab'
|
|
4732
|
+
else if (a === 'ShiftTab') {
|
|
4733
4733
|
this.changeIndex.emit('ShiftTab');
|
|
4734
4734
|
}
|
|
4735
4735
|
}
|
|
4736
4736
|
else if (p === 'Part2') {
|
|
4737
|
-
if (a === 'Tab'
|
|
4737
|
+
if (a === 'Tab') {
|
|
4738
4738
|
this.part3.focus(true);
|
|
4739
4739
|
}
|
|
4740
|
-
else if (a === 'ShiftTab'
|
|
4740
|
+
else if (a === 'ShiftTab') {
|
|
4741
4741
|
this.part1.focus(true);
|
|
4742
4742
|
}
|
|
4743
4743
|
}
|
|
4744
4744
|
else if (p === 'Part3') {
|
|
4745
|
-
if (a === 'Tab'
|
|
4745
|
+
if (a === 'Tab') {
|
|
4746
4746
|
this.part4.focus(true);
|
|
4747
4747
|
}
|
|
4748
|
-
else if (a === 'ShiftTab'
|
|
4748
|
+
else if (a === 'ShiftTab') {
|
|
4749
4749
|
this.part2.focus(true);
|
|
4750
4750
|
}
|
|
4751
4751
|
}
|
|
4752
4752
|
else if (p === 'Part4') {
|
|
4753
|
-
if (a === 'Tab'
|
|
4753
|
+
if (a === 'Tab') {
|
|
4754
4754
|
this.changeIndex.emit('Tab');
|
|
4755
4755
|
}
|
|
4756
|
-
else if (a === 'ShiftTab'
|
|
4756
|
+
else if (a === 'ShiftTab') {
|
|
4757
4757
|
this.part3.focus(true);
|
|
4758
4758
|
}
|
|
4759
4759
|
}
|
|
4760
4760
|
}
|
|
4761
4761
|
else if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueM || this.inp.type === exports.InputType.SelectAutoCompletePlaqueF) {
|
|
4762
4762
|
if (p === 'Part1') {
|
|
4763
|
-
if (a === 'Tab'
|
|
4763
|
+
if (a === 'Tab') {
|
|
4764
4764
|
this.part3.focus(true);
|
|
4765
4765
|
if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueF) {
|
|
4766
4766
|
this.loadOptions();
|
|
4767
4767
|
}
|
|
4768
4768
|
}
|
|
4769
|
-
else if (a === 'ShiftTab'
|
|
4769
|
+
else if (a === 'ShiftTab') {
|
|
4770
4770
|
this.changeIndex.emit('ShiftTab');
|
|
4771
4771
|
}
|
|
4772
4772
|
}
|
|
4773
4773
|
else if (p === 'Part3') {
|
|
4774
|
-
if (a === 'Tab'
|
|
4774
|
+
if (a === 'Tab') {
|
|
4775
4775
|
this.changeIndex.emit('Tab');
|
|
4776
4776
|
}
|
|
4777
|
-
else if (a === 'ShiftTab'
|
|
4777
|
+
else if (a === 'ShiftTab') {
|
|
4778
4778
|
this.part1.focus(true);
|
|
4779
4779
|
if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueF) {
|
|
4780
4780
|
this.loadOptions();
|
|
@@ -4784,10 +4784,10 @@
|
|
|
4784
4784
|
}
|
|
4785
4785
|
else if (this.inp.type === exports.InputType.SelectAutoCompletePlaqueG) {
|
|
4786
4786
|
if (p === 'Part1') {
|
|
4787
|
-
if (a === 'Tab'
|
|
4787
|
+
if (a === 'Tab') {
|
|
4788
4788
|
this.changeIndex.emit('Tab');
|
|
4789
4789
|
}
|
|
4790
|
-
else if (a === 'ShiftTab'
|
|
4790
|
+
else if (a === 'ShiftTab') {
|
|
4791
4791
|
this.changeIndex.emit('ShiftTab');
|
|
4792
4792
|
}
|
|
4793
4793
|
}
|