ps-toolkit-ui 1.6.72 → 1.6.75
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 -7
- 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 +4 -4
- package/esm2015/lib/components/form/vehicle/form.vehicle.component.js +5 -5
- package/fesm2015/ps-toolkit-ui.js +7 -7
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4945,7 +4945,7 @@
|
|
|
4945
4945
|
};
|
|
4946
4946
|
this.inp.setValue = function (v) {
|
|
4947
4947
|
var parts = v.split('_');
|
|
4948
|
-
if (
|
|
4948
|
+
if (_this.inp.type === exports.InputType.Plaque) {
|
|
4949
4949
|
setTimeout(function () {
|
|
4950
4950
|
_this.inp.value = v;
|
|
4951
4951
|
_this.part1.value = parts[0];
|
|
@@ -4954,14 +4954,14 @@
|
|
|
4954
4954
|
_this.part4.value = parts[3];
|
|
4955
4955
|
}, 100);
|
|
4956
4956
|
}
|
|
4957
|
-
else if (
|
|
4957
|
+
else if (_this.inp.type === exports.InputType.PlaqueM || _this.inp.type === exports.InputType.PlaqueF) {
|
|
4958
4958
|
setTimeout(function () {
|
|
4959
4959
|
_this.inp.value = v;
|
|
4960
4960
|
_this.part1.value = parts[0];
|
|
4961
4961
|
_this.part3.value = parts[1];
|
|
4962
4962
|
}, 100);
|
|
4963
4963
|
}
|
|
4964
|
-
else if (
|
|
4964
|
+
else if (_this.inp.type === exports.InputType.PlaqueG) {
|
|
4965
4965
|
setTimeout(function () {
|
|
4966
4966
|
_this.inp.value = v;
|
|
4967
4967
|
_this.part1.value = parts[0];
|
|
@@ -6956,16 +6956,16 @@
|
|
|
6956
6956
|
_this.changeType(v.Type);
|
|
6957
6957
|
setTimeout(function () {
|
|
6958
6958
|
if (v.Type === exports.VehicleType.Motorcycle) {
|
|
6959
|
-
_this.motor.setValue(v, false);
|
|
6959
|
+
_this.motor.setValue(v.Value, false);
|
|
6960
6960
|
}
|
|
6961
6961
|
else if (v.Type === exports.VehicleType.CarF) {
|
|
6962
|
-
_this.carF.setValue(v, false);
|
|
6962
|
+
_this.carF.setValue(v.Value, false);
|
|
6963
6963
|
}
|
|
6964
6964
|
else if (v.Type === exports.VehicleType.Car) {
|
|
6965
|
-
_this.car.setValue(v, false);
|
|
6965
|
+
_this.car.setValue(v.Value, false);
|
|
6966
6966
|
}
|
|
6967
6967
|
else if (v.Type === exports.VehicleType.CarG) {
|
|
6968
|
-
_this.carG.setValue(v, false);
|
|
6968
|
+
_this.carG.setValue(v.Value, false);
|
|
6969
6969
|
}
|
|
6970
6970
|
});
|
|
6971
6971
|
}
|