ps-toolkit-ui 1.13.6 → 1.13.7

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.
@@ -8412,15 +8412,19 @@
8412
8412
  this.app = app;
8413
8413
  this.c = c;
8414
8414
  this.a = a;
8415
- this.l = function (key, v) {
8416
- if (v === void 0) { v = null; }
8417
- return app.getL("" + c + (a ? "." + a : ''), key, v);
8418
- };
8415
+ this.setL();
8419
8416
  this.permissions = this.getPermission(this.c, this.a);
8420
8417
  if (this.permissions) {
8421
8418
  this.permissions.Area = app.area;
8422
8419
  }
8423
8420
  }
8421
+ BaseComponent.prototype.setL = function () {
8422
+ var _this = this;
8423
+ this.l = function (key, v) {
8424
+ if (v === void 0) { v = null; }
8425
+ return _this.app.getL("" + _this.c + (_this.a ? "." + _this.a : ''), key, v);
8426
+ };
8427
+ };
8424
8428
  BaseComponent.prototype.getPermission = function (c, a) {
8425
8429
  var _this = this;
8426
8430
  if (a === void 0) { a = null; }