ps-toolkit-ui 0.0.182 → 0.0.183

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.
@@ -7170,19 +7170,21 @@
7170
7170
  this.loading = false;
7171
7171
  }
7172
7172
  };
7173
- TableClass.prototype.searchData = function () {
7173
+ TableClass.prototype.searchData = function (report) {
7174
7174
  var e_1, _a;
7175
- var d = {
7176
- Page: this.page,
7177
- PerPage: this.perPage,
7178
- };
7179
- if (this.sortable) {
7180
- d.Sort = 'Priority';
7181
- d.SortType = 'ASC';
7182
- }
7183
- else if (this.sort) {
7184
- d.Sort = this.sort;
7185
- d.SortType = this.sortType;
7175
+ if (report === void 0) { report = false; }
7176
+ var d = {};
7177
+ if (!report) {
7178
+ d.Page = this.page;
7179
+ d.PerPage = this.perPage;
7180
+ if (this.sortable) {
7181
+ d.Sort = 'Priority';
7182
+ d.SortType = 'ASC';
7183
+ }
7184
+ else if (this.sort) {
7185
+ d.Sort = this.sort;
7186
+ d.SortType = this.sortType;
7187
+ }
7186
7188
  }
7187
7189
  try {
7188
7190
  for (var _b = __values(this.cols.filter(function (x) { return x.withSearch && x.search != null && x.search.data() != null && x.search.data() !== ''; })), _c = _b.next(); !_c.done; _c = _b.next()) {
@@ -7274,7 +7276,7 @@
7274
7276
  p.Area = this_1.permissions.Area;
7275
7277
  p.Controller = 'Print';
7276
7278
  p.Action = this_1.permissions.Controller;
7277
- accessInp.url = '/Report' + p.getUrl();
7279
+ accessInp.url = '/Report' + p.getUrl() + '?' + $.param(this_1.searchData(true));
7278
7280
  accessInp.urlNewTab = true;
7279
7281
  }
7280
7282
  else if (access.InputAction === exports.PermissionInputActionEnum.OnClick) {