ps-toolkit-ui 1.9.45 → 1.9.46
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 +7 -17
- 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 -8
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +8 -9
- package/esm2015/lib/components/form/vehicle/search/form.vehicle.search.component.js +1 -2
- package/fesm2015/ps-toolkit-ui.js +7 -16
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -5017,13 +5017,6 @@
|
|
|
5017
5017
|
this.inp.setValue = function (v) {
|
|
5018
5018
|
var parts = v.split('_');
|
|
5019
5019
|
if (_this.inp.type === exports.InputType.Plaque) {
|
|
5020
|
-
setTimeout(function () {
|
|
5021
|
-
_this.inp.value = v;
|
|
5022
|
-
_this.part1.value = parts[0];
|
|
5023
|
-
_this.part2.value = parts[1];
|
|
5024
|
-
_this.part3.value = parts[2];
|
|
5025
|
-
_this.part4.value = parts[3];
|
|
5026
|
-
}, 100);
|
|
5027
5020
|
}
|
|
5028
5021
|
else if (_this.inp.type === exports.InputType.PlaqueM || _this.inp.type === exports.InputType.PlaqueF) {
|
|
5029
5022
|
setTimeout(function () {
|
|
@@ -6061,16 +6054,14 @@
|
|
|
6061
6054
|
}
|
|
6062
6055
|
};
|
|
6063
6056
|
FormTextboxComponent.prototype.onFocusIn = function (changeIndex) {
|
|
6064
|
-
var _this = this;
|
|
6065
6057
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
6066
|
-
setTimeout(
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
});
|
|
6058
|
+
// setTimeout(() => {
|
|
6059
|
+
// if (changeIndex){
|
|
6060
|
+
// this.inputBase.nativeElement.select();
|
|
6061
|
+
// }else{
|
|
6062
|
+
// this.inputBase.nativeElement.focus();
|
|
6063
|
+
// }
|
|
6064
|
+
// });
|
|
6074
6065
|
};
|
|
6075
6066
|
FormTextboxComponent.prototype.onFocusOut = function (e) {
|
|
6076
6067
|
if (this.inp.onFocusOut !== null) {
|
|
@@ -6998,7 +6989,6 @@
|
|
|
6998
6989
|
}
|
|
6999
6990
|
this.car.url = this.motor.url = this.carF.url = this.carG.url = this.driver.url = this.inp.url.replace('_{}', '_' + this.type);
|
|
7000
6991
|
if (!isEdit) {
|
|
7001
|
-
this.onFocusIn();
|
|
7002
6992
|
}
|
|
7003
6993
|
};
|
|
7004
6994
|
FormVehicleSearchComponent.prototype.onFocusIn = function () {
|