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.
- package/bundles/ps-toolkit-ui.umd.js +15 -13
- 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 +16 -14
- package/fesm2015/ps-toolkit-ui.js +15 -14
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/table.class.d.ts +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -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
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
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) {
|