ps-toolkit-ui 1.3.45 → 1.3.48
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 -5
- 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/base.component.js +4 -6
- package/esm2015/lib/components/form/car/form.car.component.js +5 -1
- package/fesm2015/ps-toolkit-ui.js +7 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6664,11 +6664,15 @@
|
|
|
6664
6664
|
if (this.inp.onChange) {
|
|
6665
6665
|
this.inp.onChange(t);
|
|
6666
6666
|
}
|
|
6667
|
+
this.onFocusIn();
|
|
6667
6668
|
};
|
|
6668
6669
|
FormCarComponent.prototype.onFocusIn = function () {
|
|
6669
6670
|
if (this.type === exports.VehicleType.Car) {
|
|
6670
6671
|
this.car.focus();
|
|
6671
6672
|
}
|
|
6673
|
+
else if (this.type === exports.VehicleType.CarF) {
|
|
6674
|
+
this.carF.focus();
|
|
6675
|
+
}
|
|
6672
6676
|
else if (this.type === exports.VehicleType.Motorcycle) {
|
|
6673
6677
|
this.motor.focus();
|
|
6674
6678
|
}
|
|
@@ -7188,11 +7192,9 @@
|
|
|
7188
7192
|
if (v === void 0) { v = null; }
|
|
7189
7193
|
return app.getL("" + c + (a ? "." + a : ''), key, v);
|
|
7190
7194
|
};
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
this.permissions.Area = app.area;
|
|
7195
|
-
}
|
|
7195
|
+
this.permissions = this.getPermission(this.c, this.a);
|
|
7196
|
+
if (this.permissions) {
|
|
7197
|
+
this.permissions.Area = app.area;
|
|
7196
7198
|
}
|
|
7197
7199
|
}
|
|
7198
7200
|
BaseComponent.prototype.getPermission = function (c, a) {
|