ps-toolkit-ui 1.20.15 → 1.20.17
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 +5 -3
- 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 +6 -4
- package/fesm2015/ps-toolkit-ui.js +5 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -9549,7 +9549,8 @@
|
|
|
9549
9549
|
p.Controller = 'print';
|
|
9550
9550
|
p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
|
|
9551
9551
|
var params = $$1.param(_this.searchData(true));
|
|
9552
|
-
|
|
9552
|
+
var u = _this.getUrl(access.Url);
|
|
9553
|
+
window.open('/report' + u + (params ? (u.includes('?') ? '&' : '?') + params : ''), '_blank');
|
|
9553
9554
|
};
|
|
9554
9555
|
}
|
|
9555
9556
|
else if (access.InputAction === exports.PermissionInputActionEnum.Modal) {
|
|
@@ -9602,7 +9603,8 @@
|
|
|
9602
9603
|
if (option.AccessType === exports.PermissionAccessTypeEnum.Report) {
|
|
9603
9604
|
opt.onClick = function () {
|
|
9604
9605
|
var params = _this.data().map(function (x) { return 'Ids=' + x.Id; }).join('&');
|
|
9605
|
-
|
|
9606
|
+
var u = _this.getOptionUrl(option.Url, _this.permissions.RelatedId, '');
|
|
9607
|
+
window.open('/report' + u + (params ? (u.includes('?') ? '&' : '?') + params : ''), '_blank');
|
|
9606
9608
|
};
|
|
9607
9609
|
}
|
|
9608
9610
|
else if (option.InputAction === exports.PermissionInputActionEnum.OnClick) {
|
|
@@ -9823,7 +9825,7 @@
|
|
|
9823
9825
|
_this.cols.forEach(function (col) {
|
|
9824
9826
|
var txt = _this.getText(_this.getCell(row, col));
|
|
9825
9827
|
if (col.type === exports.TableCollType.Price) {
|
|
9826
|
-
txt = txt.replace('ریال', '').trim();
|
|
9828
|
+
txt = txt.replace('ریال', '').replace(/,/g, '').trim();
|
|
9827
9829
|
}
|
|
9828
9830
|
x[_this.l(col.name)] = txt;
|
|
9829
9831
|
});
|