ps-toolkit-ui 1.9.43 → 1.9.45
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 +2 -8
- 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/form.plaque.component.js +1 -6
- package/esm2015/lib/components/form/vehicle/search/form.vehicle.search.component.js +3 -4
- package/fesm2015/ps-toolkit-ui.js +2 -8
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4989,7 +4989,6 @@
|
|
|
4989
4989
|
_this.part3.focus(true);
|
|
4990
4990
|
}
|
|
4991
4991
|
else if (v.length === 0) {
|
|
4992
|
-
_this.part1.focus(true);
|
|
4993
4992
|
}
|
|
4994
4993
|
};
|
|
4995
4994
|
this.part3.onChange = function (v) {
|
|
@@ -5004,7 +5003,6 @@
|
|
|
5004
5003
|
_this.changeIndex.emit('Tab');
|
|
5005
5004
|
}
|
|
5006
5005
|
else if (v.length === 0 && _this.inp.type === exports.InputType.PlaqueM) {
|
|
5007
|
-
_this.part1.focus(true);
|
|
5008
5006
|
}
|
|
5009
5007
|
};
|
|
5010
5008
|
this.part4.onChange = function (v) {
|
|
@@ -5094,7 +5092,6 @@
|
|
|
5094
5092
|
this.part3.focus(true);
|
|
5095
5093
|
}
|
|
5096
5094
|
else if (a === 'ShiftTab' || a === 'ShiftEnter') {
|
|
5097
|
-
this.part1.focus(true);
|
|
5098
5095
|
}
|
|
5099
5096
|
}
|
|
5100
5097
|
else if (p === 'Part3') {
|
|
@@ -5128,7 +5125,6 @@
|
|
|
5128
5125
|
this.changeIndex.emit('Tab');
|
|
5129
5126
|
}
|
|
5130
5127
|
else if (a === 'ShiftTab' || a === 'ShiftEnter') {
|
|
5131
|
-
this.part1.focus(true);
|
|
5132
5128
|
}
|
|
5133
5129
|
}
|
|
5134
5130
|
}
|
|
@@ -5146,7 +5142,6 @@
|
|
|
5146
5142
|
FormPlaqueComponent.prototype.onFocusIn = function (e) {
|
|
5147
5143
|
if (e === void 0) { e = null; }
|
|
5148
5144
|
if (e == null || !(e.screenX && e.screenX !== 0 && e.screenY && e.screenY !== 0)) {
|
|
5149
|
-
this.part1.focus(true);
|
|
5150
5145
|
}
|
|
5151
5146
|
};
|
|
5152
5147
|
FormPlaqueComponent.prototype.onKeyDown = function (e) {
|
|
@@ -6896,7 +6891,7 @@
|
|
|
6896
6891
|
}
|
|
6897
6892
|
};
|
|
6898
6893
|
this.inp.focus = function () {
|
|
6899
|
-
|
|
6894
|
+
_this.onFocusIn();
|
|
6900
6895
|
};
|
|
6901
6896
|
this.inp.isValid = function () {
|
|
6902
6897
|
_this.inp.error = null;
|
|
@@ -7002,12 +6997,11 @@
|
|
|
7002
6997
|
};
|
|
7003
6998
|
}
|
|
7004
6999
|
this.car.url = this.motor.url = this.carF.url = this.carG.url = this.driver.url = this.inp.url.replace('_{}', '_' + this.type);
|
|
7005
|
-
console.log(111111, isEdit);
|
|
7006
7000
|
if (!isEdit) {
|
|
7001
|
+
this.onFocusIn();
|
|
7007
7002
|
}
|
|
7008
7003
|
};
|
|
7009
7004
|
FormVehicleSearchComponent.prototype.onFocusIn = function () {
|
|
7010
|
-
console.log(2222, 'onFocusIn');
|
|
7011
7005
|
};
|
|
7012
7006
|
return FormVehicleSearchComponent;
|
|
7013
7007
|
}());
|