ps-toolkit-ui 1.9.39 → 1.9.41
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 +9 -4
- 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/vehicle/search/form.vehicle.search.component.js +8 -5
- package/fesm2015/ps-toolkit-ui.js +7 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/form/vehicle/search/form.vehicle.search.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6871,9 +6871,10 @@
|
|
|
6871
6871
|
};
|
|
6872
6872
|
this.fingerprint.disabled = true;
|
|
6873
6873
|
this.fingerprint.placeholder = this.inp.l('LoadingText', 'Waiting');
|
|
6874
|
-
this.inp.setValue = function (v) {
|
|
6874
|
+
this.inp.setValue = function (v, isEdit) {
|
|
6875
|
+
if (isEdit === void 0) { isEdit = false; }
|
|
6875
6876
|
if (v != null && v.Search) {
|
|
6876
|
-
_this.changeType(v.Type);
|
|
6877
|
+
_this.changeType(v.Type, isEdit);
|
|
6877
6878
|
setTimeout(function () {
|
|
6878
6879
|
if (v.Type === exports.VehicleType.Motorcycle) {
|
|
6879
6880
|
_this.motor.setValue(v.Value, false);
|
|
@@ -6955,8 +6956,9 @@
|
|
|
6955
6956
|
}
|
|
6956
6957
|
}
|
|
6957
6958
|
};
|
|
6958
|
-
FormVehicleSearchComponent.prototype.changeType = function (t) {
|
|
6959
|
+
FormVehicleSearchComponent.prototype.changeType = function (t, isEdit) {
|
|
6959
6960
|
var _this = this;
|
|
6961
|
+
if (isEdit === void 0) { isEdit = false; }
|
|
6960
6962
|
this.type = t;
|
|
6961
6963
|
if (this.wsAuth != null) {
|
|
6962
6964
|
this.wsAuth.close();
|
|
@@ -7000,7 +7002,10 @@
|
|
|
7000
7002
|
};
|
|
7001
7003
|
}
|
|
7002
7004
|
this.car.url = this.motor.url = this.carF.url = this.carG.url = this.driver.url = this.inp.url.replace('_{}', '_' + this.type);
|
|
7003
|
-
|
|
7005
|
+
console.log(111111, isEdit);
|
|
7006
|
+
if (!isEdit) {
|
|
7007
|
+
this.onFocusIn();
|
|
7008
|
+
}
|
|
7004
7009
|
};
|
|
7005
7010
|
FormVehicleSearchComponent.prototype.onFocusIn = function () {
|
|
7006
7011
|
var _this = this;
|