ps-toolkit-ui 1.13.99 → 1.14.0
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 -3
- 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 +5 -4
- package/fesm2015/ps-toolkit-ui.js +4 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -8840,9 +8840,10 @@
|
|
|
8840
8840
|
var _loop_2 = function (option) {
|
|
8841
8841
|
var opt = new InputClass(this_2.environment, this_2.l, option.Name, option.Icon, exports.InputType.Icon, 'm-r-10-p');
|
|
8842
8842
|
if (option.AccessType === exports.PermissionAccessTypeEnum.Report) {
|
|
8843
|
-
opt.
|
|
8844
|
-
|
|
8845
|
-
|
|
8843
|
+
opt.onClick = function () {
|
|
8844
|
+
var params = $$1.param({ Ids: _this.data().map(function (x) { return x.Id; }) });
|
|
8845
|
+
window.open('/report' + _this.getOptionUrl(option.Url, _this.permissions.RelatedId, '') + (params ? '?' + params : ''), '_blank');
|
|
8846
|
+
};
|
|
8846
8847
|
}
|
|
8847
8848
|
else {
|
|
8848
8849
|
opt.onClick = function () {
|