ps-toolkit-ui 1.4.45 → 1.4.48
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 +3 -4
- 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 +2 -3
- package/esm2015/lib/components/table/row/table.row.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +3 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2670,7 +2670,7 @@
|
|
|
2670
2670
|
};
|
|
2671
2671
|
}
|
|
2672
2672
|
else if (option.AccessType === exports.PermissionAccessTypeEnum.Report) {
|
|
2673
|
-
opt.url = '/
|
|
2673
|
+
opt.url = '/report' + option.Url.replace('{}', this_2.row.Data.Id);
|
|
2674
2674
|
opt.urlNewTab = true;
|
|
2675
2675
|
}
|
|
2676
2676
|
else if (option.InputAction === exports.PermissionInputActionEnum.Link || option.InputAction === exports.PermissionInputActionEnum.LinkNewTab) {
|
|
@@ -2707,7 +2707,7 @@
|
|
|
2707
2707
|
if (opt.modal.accordion) {
|
|
2708
2708
|
var _loop_3 = function (r) {
|
|
2709
2709
|
if (r.table) {
|
|
2710
|
-
var options =
|
|
2710
|
+
var options = JSON.parse(JSON.stringify(_this.row.Options));
|
|
2711
2711
|
console.log(options);
|
|
2712
2712
|
var p = new PermissionClass();
|
|
2713
2713
|
p.RelatedId = _this.row.Data.Id;
|
|
@@ -7504,8 +7504,7 @@
|
|
|
7504
7504
|
p.Controller = 'print';
|
|
7505
7505
|
p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
|
|
7506
7506
|
var params = $$1.param(_this.searchData(true));
|
|
7507
|
-
window.open('/report' + access.Url
|
|
7508
|
-
(params ? '?' + params : ''), '_blank');
|
|
7507
|
+
window.open('/report' + access.Url.replace('{}', _this.permissions.RelatedId) + (params ? '?' + params : ''), '_blank');
|
|
7509
7508
|
};
|
|
7510
7509
|
}
|
|
7511
7510
|
else if (access.InputAction === exports.PermissionInputActionEnum.OnClick) {
|