ps-toolkit-ui 1.3.52 → 1.3.55

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.
@@ -4636,10 +4636,10 @@
4636
4636
  });
4637
4637
  FormPlaqueComponent.prototype.ngOnInit = function () {
4638
4638
  var _this = this;
4639
- this.part1 = new InputClass(this.inp.environment, this.inp.l, 'Part1', null, exports.InputType.Number, 'plaque-part-1 plaque-part-item', '', true);
4640
- this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item', '', true);
4641
- this.part3 = new InputClass(this.inp.environment, this.inp.l, 'Part3', null, exports.InputType.Number, 'plaque-part-3 plaque-part-item', '', true);
4642
- this.part4 = new InputClass(this.inp.environment, this.inp.l, 'Part4', null, exports.InputType.Number, 'plaque-part-4 plaque-part-item', '', true, 10, 99);
4639
+ this.part1 = new InputClass(this.inp.environment, this.inp.l, 'Part1', null, exports.InputType.Number, 'plaque-part-1 plaque-part-item', null, true);
4640
+ this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item', null, true);
4641
+ this.part3 = new InputClass(this.inp.environment, this.inp.l, 'Part3', null, exports.InputType.Number, 'plaque-part-3 plaque-part-item', null, true);
4642
+ this.part4 = new InputClass(this.inp.environment, this.inp.l, 'Part4', null, exports.InputType.Number, 'plaque-part-4 plaque-part-item', null, true, 10, 99);
4643
4643
  this.part2.options = this.alphas.map(function (x) { return new OptionClass(x, x); });
4644
4644
  this.part1.displayLabel = this.part2.displayLabel = this.part3.displayLabel = this.part4.displayLabel = false;
4645
4645
  this.part1.placeholder = this.part2.placeholder = this.part3.placeholder = this.part4.placeholder = null;
@@ -5111,6 +5111,7 @@
5111
5111
  var code = e.keyCode || e.which;
5112
5112
  if (code === 9) {
5113
5113
  e.preventDefault();
5114
+ console.log('00000 onKeyDown');
5114
5115
  this.cI(e.shiftKey ? 'ShiftTab' : 'Tab');
5115
5116
  }
5116
5117
  else if (code === 13) {
@@ -5123,6 +5124,7 @@
5123
5124
  this.selectOption(h.value);
5124
5125
  }
5125
5126
  else {
5127
+ console.log('00000else onKeyDown');
5126
5128
  this.cI('Tab');
5127
5129
  }
5128
5130
  }
@@ -5203,6 +5205,7 @@
5203
5205
  }
5204
5206
  }
5205
5207
  if (!isEdit && !this.inp.multiple) {
5208
+ console.log('00000 selectOption');
5206
5209
  this.cI('Tab');
5207
5210
  }
5208
5211
  };
@@ -7198,9 +7201,17 @@
7198
7201
  if (v === void 0) { v = null; }
7199
7202
  return app.getL("" + c + (a ? "." + a : ''), key, v);
7200
7203
  };
7201
- this.permissions = this.getPermission(this.c, this.a);
7202
- if (this.permissions) {
7203
- this.permissions.Area = app.area;
7204
+ if (app.currentData.user !== null) {
7205
+ this.permissions = this.getPermission(this.c, this.a);
7206
+ if (this.permissions) {
7207
+ this.permissions.Area = app.area;
7208
+ }
7209
+ }
7210
+ else {
7211
+ this.permissions = this.getPermission(this.c, this.a);
7212
+ if (this.permissions) {
7213
+ this.permissions.Area = app.area;
7214
+ }
7204
7215
  }
7205
7216
  }
7206
7217
  BaseComponent.prototype.getPermission = function (c, a) {