ps-toolkit-ui 0.0.191 → 0.0.195
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 +3 -3
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/esm2015/lib/components/table/table.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
|
@@ -2861,7 +2861,7 @@
|
|
|
2861
2861
|
};
|
|
2862
2862
|
TableRowComponent.prototype.getChildren = function () {
|
|
2863
2863
|
var _this = this;
|
|
2864
|
-
return this.row.Data.Id ? this.table.rows.filter(function (x) { return x.ParentId === _this.row.Data.Id; }) : [];
|
|
2864
|
+
return this.row.Data.Id ? this.table.rows.filter(function (x) { return x.Data.ParentId === _this.row.Data.Id; }) : [];
|
|
2865
2865
|
};
|
|
2866
2866
|
return TableRowComponent;
|
|
2867
2867
|
}());
|
|
@@ -3089,7 +3089,7 @@
|
|
|
3089
3089
|
}, 500);
|
|
3090
3090
|
};
|
|
3091
3091
|
TableComponent.prototype.getRows = function () {
|
|
3092
|
-
var c = this.table.rows.filter(function (x) { return !x.ParentId; });
|
|
3092
|
+
var c = this.table.rows.filter(function (x) { return !x.Data.ParentId; });
|
|
3093
3093
|
c.forEach(function (x, i) { return x.RowNum = c.length - i + 1; });
|
|
3094
3094
|
return c;
|
|
3095
3095
|
};
|
|
@@ -7276,10 +7276,10 @@
|
|
|
7276
7276
|
p.RelatedId = 'Index';
|
|
7277
7277
|
p.Area = _this.permissions.Area;
|
|
7278
7278
|
p.Controller = 'Print';
|
|
7279
|
-
console.log(_this.permissions, 'this.permissions');
|
|
7280
7279
|
p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
|
|
7280
|
+
var params = $.param(_this.searchData(true));
|
|
7281
7281
|
window.open('/Report' + p.getUrl() + (_this.permissions.RelatedId ? '/' + _this.permissions.RelatedId : '') +
|
|
7282
|
-
'?' +
|
|
7282
|
+
(params ? '?' + params : ''), '_blank');
|
|
7283
7283
|
};
|
|
7284
7284
|
}
|
|
7285
7285
|
else if (access.InputAction === exports.PermissionInputActionEnum.OnClick) {
|