ps-toolkit-ui 0.0.189 → 0.0.193
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 +9 -7
- 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 +9 -7
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +9 -7
- 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
|
}());
|
|
@@ -7271,13 +7271,15 @@
|
|
|
7271
7271
|
}
|
|
7272
7272
|
}
|
|
7273
7273
|
else if (access.AccessType === exports.PermissionAccessTypeEnum.Print) {
|
|
7274
|
-
var p_1 = new PermissionClass();
|
|
7275
|
-
p_1.RelatedId = 'Index';
|
|
7276
|
-
p_1.Area = this_1.permissions.Area;
|
|
7277
|
-
p_1.Controller = 'Print';
|
|
7278
|
-
p_1.Action = this_1.permissions.Controller + (this_1.permissions.Action ? this_1.permissions.Action : '');
|
|
7279
7274
|
accessInp.onClick = function () {
|
|
7280
|
-
|
|
7275
|
+
var p = new PermissionClass();
|
|
7276
|
+
p.RelatedId = 'Index';
|
|
7277
|
+
p.Area = _this.permissions.Area;
|
|
7278
|
+
p.Controller = 'Print';
|
|
7279
|
+
p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
|
|
7280
|
+
var params = $.param(_this.searchData(true));
|
|
7281
|
+
window.open('/Report' + p.getUrl() + (_this.permissions.RelatedId ? '/' + _this.permissions.RelatedId : '') +
|
|
7282
|
+
(params ? '?' + params : ''), '_blank');
|
|
7281
7283
|
};
|
|
7282
7284
|
}
|
|
7283
7285
|
else if (access.InputAction === exports.PermissionInputActionEnum.OnClick) {
|