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.
@@ -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.queryParams = { Ids: this_2.data().map(function (x) { return x.Id; }) };
8844
- opt.url = this_2.getOptionUrl(option.Url, this_2.permissions.RelatedId, '');
8845
- opt.urlNewTab = true;
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 () {