ps-toolkit-ui 1.22.23 → 1.22.24
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 +5 -0
- 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/classes/table.class.js +6 -1
- package/fesm2015/ps-toolkit-ui.js +5 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3788,6 +3788,8 @@
|
|
|
3788
3788
|
if (this.form && this.form.onTop) {
|
|
3789
3789
|
this.form.displayLabel = false;
|
|
3790
3790
|
}
|
|
3791
|
+
console.log(11, this.permissions.getAccesses());
|
|
3792
|
+
console.log(22, this.permissions.getAccesses().filter(function (x) { return x.InputAction !== exports.PermissionInputActionEnum.None; }));
|
|
3791
3793
|
var _loop_1 = function (access) {
|
|
3792
3794
|
if (this_1.buttons.filter(function (x) { return x.name === access.Name; }).length > 0) {
|
|
3793
3795
|
return "continue";
|
|
@@ -3834,6 +3836,9 @@
|
|
|
3834
3836
|
};
|
|
3835
3837
|
}
|
|
3836
3838
|
else if (access.InputAction === exports.PermissionInputActionEnum.Modal) {
|
|
3839
|
+
console.log(33, access.Action);
|
|
3840
|
+
console.log(44, this_1.optionsActions);
|
|
3841
|
+
console.log(55, this_1.optionsActions.find(function (x) { return x.name === access.Action; }));
|
|
3837
3842
|
accessInp.modal = this_1.optionsActions.find(function (x) { return x.name === access.Action; });
|
|
3838
3843
|
accessInp.onClick = function () {
|
|
3839
3844
|
if (accessInp.modal.table) {
|