ps-toolkit-ui 1.17.32 → 1.17.35
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 +17 -13
- 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/form/textbox/form.textbox.component.js +5 -2
- package/esm2015/lib/components/table/row/table.row.component.js +14 -13
- package/fesm2015/ps-toolkit-ui.js +17 -13
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3631,20 +3631,21 @@
|
|
|
3631
3631
|
var _loop_3 = function (r) {
|
|
3632
3632
|
if (r.table) {
|
|
3633
3633
|
var options = JSON.parse(JSON.stringify((_c = _this.row.Options) !== null && _c !== void 0 ? _c : []));
|
|
3634
|
-
console.log(options, option, r);
|
|
3635
3634
|
var rowOption_1 = options.find(function (x) { return x.ParentId === option.Id && x.Action === r.name; });
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
r.table.form
|
|
3645
|
-
|
|
3635
|
+
if (rowOption_1) {
|
|
3636
|
+
var p = new PermissionClass();
|
|
3637
|
+
p.RelatedId = _this.row.Data.Id;
|
|
3638
|
+
p.Area = _this.table.permissions.Area;
|
|
3639
|
+
p.Controller = option.Controller;
|
|
3640
|
+
p.Action = r.name;
|
|
3641
|
+
p.Accesses = options.filter(function (x) { return x.ParentId === rowOption_1.Id; });
|
|
3642
|
+
r.table.permissions = p;
|
|
3643
|
+
if (r.table.form) {
|
|
3644
|
+
r.table.form.url = option.Url + 'insert';
|
|
3645
|
+
r.table.form.baseUrl = option.Url + 'insert';
|
|
3646
|
+
}
|
|
3647
|
+
r.table.set();
|
|
3646
3648
|
}
|
|
3647
|
-
r.table.set();
|
|
3648
3649
|
}
|
|
3649
3650
|
};
|
|
3650
3651
|
try {
|
|
@@ -6914,7 +6915,10 @@
|
|
|
6914
6915
|
this.onKeyUp(e);
|
|
6915
6916
|
};
|
|
6916
6917
|
FormTextboxComponent.prototype.onKeyUp = function (e) {
|
|
6917
|
-
|
|
6918
|
+
console.log(e.target.value, e.target.value.includes(' '), e.target.value.includes('\n'));
|
|
6919
|
+
if (this.inp.name === 'Test') {
|
|
6920
|
+
this.inp.value = e.target.value;
|
|
6921
|
+
}
|
|
6918
6922
|
if (this.inp.onKeyUp) {
|
|
6919
6923
|
this.inp.onKeyUp(this.inp);
|
|
6920
6924
|
}
|