ps-toolkit-ui 1.13.77 → 1.13.79
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 +4 -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 +4 -1
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +1 -3
- package/esm2015/lib/components/sidebar/sidebar.component.js +1 -2
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +4 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2559,8 +2559,6 @@
|
|
|
2559
2559
|
SidebarItemComponent.prototype.isActive = function (item) {
|
|
2560
2560
|
var e_1, _a;
|
|
2561
2561
|
if (item.children.length === 0) {
|
|
2562
|
-
console.log(item, this.currentSidebar);
|
|
2563
|
-
console.log(item.id, this.currentSidebar.id, item.id === this.currentSidebar.id);
|
|
2564
2562
|
return this.currentSidebar && item.id === this.currentSidebar.id;
|
|
2565
2563
|
}
|
|
2566
2564
|
try {
|
|
@@ -2706,7 +2704,6 @@
|
|
|
2706
2704
|
try {
|
|
2707
2705
|
for (var item_1 = __values(item), item_1_1 = item_1.next(); !item_1_1.done; item_1_1 = item_1.next()) {
|
|
2708
2706
|
var i = item_1_1.value;
|
|
2709
|
-
console.log(i.controller + (i.action ? i.action : ''), active);
|
|
2710
2707
|
if (i.controller + (i.action ? i.action : '') === active) {
|
|
2711
2708
|
return i;
|
|
2712
2709
|
}
|
|
@@ -3161,7 +3158,7 @@
|
|
|
3161
3158
|
};
|
|
3162
3159
|
}
|
|
3163
3160
|
else if (option.AccessType === exports.PermissionAccessTypeEnum.Report) {
|
|
3164
|
-
opt.url = this_2.table.getOptionUrl('/report' + option.Url, this_2.table.permissions.RelatedId, this_2.row.Data.Id);
|
|
3161
|
+
opt.url = this_2.table.getOptionUrl('/report' + option.Url, this_2.table.permissions.RelatedId, this_2.row.Data.Id) + '?reportId=' + HelperClass.random(20);
|
|
3165
3162
|
opt.urlNewTab = true;
|
|
3166
3163
|
}
|
|
3167
3164
|
else if (option.InputAction === exports.PermissionInputActionEnum.Link || option.InputAction === exports.PermissionInputActionEnum.LinkNewTab) {
|
|
@@ -8667,6 +8664,9 @@
|
|
|
8667
8664
|
d.Page = this.page;
|
|
8668
8665
|
d.PerPage = this.perPage;
|
|
8669
8666
|
}
|
|
8667
|
+
else {
|
|
8668
|
+
d.ReportId = HelperClass.random(20);
|
|
8669
|
+
}
|
|
8670
8670
|
if (this.sortable) {
|
|
8671
8671
|
d.Sort = 'Priority';
|
|
8672
8672
|
d.SortType = 'ASC';
|