ps-toolkit-ui 0.0.103 → 0.0.107
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 +7 -2
- 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 +8 -3
- package/fesm2015/ps-toolkit-ui.js +7 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7127,8 +7127,13 @@
|
|
|
7127
7127
|
var reportAccess = this.permissions.getAccess('Report');
|
|
7128
7128
|
if (reportAccess != null) {
|
|
7129
7129
|
var report = new InputClass(this.environment, this.l, reportAccess.Name, reportAccess.Icon, exports.InputType.Button, 'm-h-5');
|
|
7130
|
-
|
|
7131
|
-
|
|
7130
|
+
var p = new PermissionClass();
|
|
7131
|
+
p.RelatedId = 'Index';
|
|
7132
|
+
p.Area = this.permissions.Area;
|
|
7133
|
+
p.Controller = 'Print';
|
|
7134
|
+
p.Action = reportAccess.Controller;
|
|
7135
|
+
report.url = '/Report' + p.getUrl();
|
|
7136
|
+
report.urlNewTab = true;
|
|
7132
7137
|
this.extraButtons.push(report);
|
|
7133
7138
|
}
|
|
7134
7139
|
if ((this.permissions.hasAccess('Insert') || this.permissions.hasAccess('Update')) && this.form) {
|