ps-toolkit-ui 1.3.51 → 1.3.54
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 +15 -3
- 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 +2 -1
- package/esm2015/lib/components/form/select/form.select.component.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +15 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4761,6 +4761,7 @@
|
|
|
4761
4761
|
};
|
|
4762
4762
|
};
|
|
4763
4763
|
FormPlaqueComponent.prototype.changeFocus = function (p, a) {
|
|
4764
|
+
console.log('changeFocus', p, a);
|
|
4764
4765
|
if (this.inp.type === exports.InputType.Plaque) {
|
|
4765
4766
|
if (p === 'Part1') {
|
|
4766
4767
|
if (a === 'Tab' || a === 'Enter') {
|
|
@@ -5110,6 +5111,7 @@
|
|
|
5110
5111
|
var code = e.keyCode || e.which;
|
|
5111
5112
|
if (code === 9) {
|
|
5112
5113
|
e.preventDefault();
|
|
5114
|
+
console.log('00000 onKeyDown');
|
|
5113
5115
|
this.cI(e.shiftKey ? 'ShiftTab' : 'Tab');
|
|
5114
5116
|
}
|
|
5115
5117
|
else if (code === 13) {
|
|
@@ -5122,6 +5124,7 @@
|
|
|
5122
5124
|
this.selectOption(h.value);
|
|
5123
5125
|
}
|
|
5124
5126
|
else {
|
|
5127
|
+
console.log('00000else onKeyDown');
|
|
5125
5128
|
this.cI('Tab');
|
|
5126
5129
|
}
|
|
5127
5130
|
}
|
|
@@ -5202,6 +5205,7 @@
|
|
|
5202
5205
|
}
|
|
5203
5206
|
}
|
|
5204
5207
|
if (!isEdit && !this.inp.multiple) {
|
|
5208
|
+
console.log('00000 selectOption');
|
|
5205
5209
|
this.cI('Tab');
|
|
5206
5210
|
}
|
|
5207
5211
|
};
|
|
@@ -7197,9 +7201,17 @@
|
|
|
7197
7201
|
if (v === void 0) { v = null; }
|
|
7198
7202
|
return app.getL("" + c + (a ? "." + a : ''), key, v);
|
|
7199
7203
|
};
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
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
|
+
}
|
|
7203
7215
|
}
|
|
7204
7216
|
}
|
|
7205
7217
|
BaseComponent.prototype.getPermission = function (c, a) {
|