ps-toolkit-ui 1.9.54 → 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 +13 -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 +1 -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 +12 -13
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1736,7 +1736,6 @@
|
|
|
1736
1736
|
};
|
|
1737
1737
|
FormClass.prototype.clearInputs = function () {
|
|
1738
1738
|
this.inputs.filter(function (x) { return x.type !== exports.InputType.Constant; }).forEach(function (inp) {
|
|
1739
|
-
console.log(inp);
|
|
1740
1739
|
inp.clear();
|
|
1741
1740
|
});
|
|
1742
1741
|
};
|
|
@@ -6928,15 +6927,15 @@
|
|
|
6928
6927
|
return true;
|
|
6929
6928
|
};
|
|
6930
6929
|
this.inp.clear = function () {
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
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();
|
|
6940
6939
|
};
|
|
6941
6940
|
this.inp.data = function () {
|
|
6942
6941
|
var d = { Type: _this.type };
|
|
@@ -7011,8 +7010,8 @@
|
|
|
7011
7010
|
var _this = this;
|
|
7012
7011
|
if (this.type === exports.VehicleType.Car || this.type === exports.VehicleType.Motorcycle || this.type === exports.VehicleType.CarF || this.type === exports.VehicleType.CarG) {
|
|
7013
7012
|
setTimeout(function () {
|
|
7014
|
-
$('#' + _this.inp.id + 'VehicleSearchInput
|
|
7015
|
-
$('#' + _this.inp.id + 'VehicleSearchInput
|
|
7013
|
+
$('#' + _this.inp.id + 'VehicleSearchInput .plaque-inp').click();
|
|
7014
|
+
$('#' + _this.inp.id + 'VehicleSearchInput #Part1TextInput .control').focus();
|
|
7016
7015
|
}, 100);
|
|
7017
7016
|
}
|
|
7018
7017
|
else if (this.type === exports.VehicleType.Driver) {
|
|
@@ -7124,8 +7123,9 @@
|
|
|
7124
7123
|
this.onFocusIn();
|
|
7125
7124
|
};
|
|
7126
7125
|
FormVehicleComponent.prototype.onFocusIn = function () {
|
|
7126
|
+
var _this = this;
|
|
7127
7127
|
setTimeout(function () {
|
|
7128
|
-
$('#Part1TextInput .control').focus();
|
|
7128
|
+
$('#' + _this.inp.id + 'VehicleInput #Part1TextInput .control').focus();
|
|
7129
7129
|
}, 100);
|
|
7130
7130
|
};
|
|
7131
7131
|
return FormVehicleComponent;
|