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.
- package/bundles/ps-toolkit-ui.umd.js +18 -7
- 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 +12 -4
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +5 -5
- package/esm2015/lib/components/form/select/form.select.component.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +18 -7
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -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',
|
|
4640
|
-
this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item',
|
|
4641
|
-
this.part3 = new InputClass(this.inp.environment, this.inp.l, 'Part3', null, exports.InputType.Number, 'plaque-part-3 plaque-part-item',
|
|
4642
|
-
this.part4 = new InputClass(this.inp.environment, this.inp.l, 'Part4', null, exports.InputType.Number, 'plaque-part-4 plaque-part-item',
|
|
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
|
-
|
|
7202
|
-
|
|
7203
|
-
this.permissions
|
|
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) {
|