ps-toolkit-ui 0.0.183 → 0.0.188
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 +16 -15
- 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 +13 -12
- package/fesm2015/ps-toolkit-ui.js +12 -11
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7177,14 +7177,14 @@
|
|
|
7177
7177
|
if (!report) {
|
|
7178
7178
|
d.Page = this.page;
|
|
7179
7179
|
d.PerPage = this.perPage;
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7180
|
+
}
|
|
7181
|
+
if (this.sortable) {
|
|
7182
|
+
d.Sort = 'Priority';
|
|
7183
|
+
d.SortType = 'ASC';
|
|
7184
|
+
}
|
|
7185
|
+
else if (this.sort) {
|
|
7186
|
+
d.Sort = this.sort;
|
|
7187
|
+
d.SortType = this.sortType;
|
|
7188
7188
|
}
|
|
7189
7189
|
try {
|
|
7190
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()) {
|
|
@@ -7271,13 +7271,14 @@
|
|
|
7271
7271
|
}
|
|
7272
7272
|
}
|
|
7273
7273
|
else if (access.AccessType === exports.PermissionAccessTypeEnum.Print) {
|
|
7274
|
-
var
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
accessInp.
|
|
7280
|
-
|
|
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 : null);
|
|
7279
|
+
accessInp.onClick = function () {
|
|
7280
|
+
window.open('/Report' + p_1.getUrl() + '?' + $.param(_this.searchData(true)), '_blank');
|
|
7281
|
+
};
|
|
7281
7282
|
}
|
|
7282
7283
|
else if (access.InputAction === exports.PermissionInputActionEnum.OnClick) {
|
|
7283
7284
|
accessInp.onClick = function (btn) {
|