ps-toolkit-ui 1.9.53 → 1.9.55
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 +14 -13
- 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/classes/form.class.js +2 -2
- package/esm2015/lib/components/form/vehicle/form.vehicle.component.js +2 -2
- package/esm2015/lib/components/form/vehicle/search/form.vehicle.search.component.js +12 -12
- package/fesm2015/ps-toolkit-ui.js +13 -13
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1729,7 +1729,7 @@
|
|
|
1729
1729
|
this.method = exports.Method.Post;
|
|
1730
1730
|
this.url = this.baseUrl;
|
|
1731
1731
|
this.setButtons(this.onTop, false);
|
|
1732
|
-
|
|
1732
|
+
this.clearInputs();
|
|
1733
1733
|
if (this.onTop) {
|
|
1734
1734
|
this.focus();
|
|
1735
1735
|
}
|
|
@@ -6927,15 +6927,15 @@
|
|
|
6927
6927
|
return true;
|
|
6928
6928
|
};
|
|
6929
6929
|
this.inp.clear = function () {
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6930
|
+
_this.inp.error = null;
|
|
6931
|
+
_this.inp.setValue(null, false);
|
|
6932
|
+
_this.changeType(exports.VehicleType.Car);
|
|
6933
|
+
_this.car.clear();
|
|
6934
|
+
_this.motor.clear();
|
|
6935
|
+
_this.carF.clear();
|
|
6936
|
+
_this.carG.clear();
|
|
6937
|
+
_this.driver.clear();
|
|
6938
|
+
_this.fingerprint.clear();
|
|
6939
6939
|
};
|
|
6940
6940
|
this.inp.data = function () {
|
|
6941
6941
|
var d = { Type: _this.type };
|
|
@@ -7010,8 +7010,8 @@
|
|
|
7010
7010
|
var _this = this;
|
|
7011
7011
|
if (this.type === exports.VehicleType.Car || this.type === exports.VehicleType.Motorcycle || this.type === exports.VehicleType.CarF || this.type === exports.VehicleType.CarG) {
|
|
7012
7012
|
setTimeout(function () {
|
|
7013
|
-
$('#' + _this.inp.id + 'VehicleSearchInput
|
|
7014
|
-
$('#' + _this.inp.id + 'VehicleSearchInput
|
|
7013
|
+
$('#' + _this.inp.id + 'VehicleSearchInput .plaque-inp').click();
|
|
7014
|
+
$('#' + _this.inp.id + 'VehicleSearchInput #Part1TextInput .control').focus();
|
|
7015
7015
|
}, 100);
|
|
7016
7016
|
}
|
|
7017
7017
|
else if (this.type === exports.VehicleType.Driver) {
|
|
@@ -7123,8 +7123,9 @@
|
|
|
7123
7123
|
this.onFocusIn();
|
|
7124
7124
|
};
|
|
7125
7125
|
FormVehicleComponent.prototype.onFocusIn = function () {
|
|
7126
|
+
var _this = this;
|
|
7126
7127
|
setTimeout(function () {
|
|
7127
|
-
$('#Part1TextInput .control').focus();
|
|
7128
|
+
$('#' + _this.inp.id + 'VehicleInput #Part1TextInput .control').focus();
|
|
7128
7129
|
}, 100);
|
|
7129
7130
|
};
|
|
7130
7131
|
return FormVehicleComponent;
|