ps-toolkit-ui 0.0.182 → 0.0.187
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 -12
- 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 +12 -9
- package/fesm2015/ps-toolkit-ui.js +11 -9
- 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,12 +7170,14 @@
|
|
|
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
|
-
|
|
7175
|
+
if (report === void 0) { report = false; }
|
|
7176
|
+
var d = {};
|
|
7177
|
+
if (!report) {
|
|
7178
|
+
d.Page = this.page;
|
|
7179
|
+
d.PerPage = this.perPage;
|
|
7180
|
+
}
|
|
7179
7181
|
if (this.sortable) {
|
|
7180
7182
|
d.Sort = 'Priority';
|
|
7181
7183
|
d.SortType = 'ASC';
|
|
@@ -7269,13 +7271,14 @@
|
|
|
7269
7271
|
}
|
|
7270
7272
|
}
|
|
7271
7273
|
else if (access.AccessType === exports.PermissionAccessTypeEnum.Print) {
|
|
7272
|
-
var
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
accessInp.
|
|
7278
|
-
|
|
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
|
+
};
|
|
7279
7282
|
}
|
|
7280
7283
|
else if (access.InputAction === exports.PermissionInputActionEnum.OnClick) {
|
|
7281
7284
|
accessInp.onClick = function (btn) {
|