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.
@@ -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
- if (app.currentData.user !== null) {
7192
- this.permissions = this.getPermission(this.c, this.a);
7193
- if (this.permissions) {
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) {