ps-toolkit-ui 1.9.85 → 1.9.87
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 +2 -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/request.class.js +1 -2
- package/esm2015/lib/components/form/table/form.table.component.js +2 -2
- package/esm2015/lib/components/table/loading/table.loading.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +2 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1451,7 +1451,6 @@
|
|
|
1451
1451
|
}
|
|
1452
1452
|
btn.loading = true;
|
|
1453
1453
|
}
|
|
1454
|
-
console.log(table.searchData(), 'table.searchData()');
|
|
1455
1454
|
this.getClient(table.url, table.method, table.searchData(), function (res) {
|
|
1456
1455
|
if (res.status === exports.ResultStatusEnum.Success) {
|
|
1457
1456
|
table.rows = res.result.List;
|
|
@@ -2486,7 +2485,7 @@
|
|
|
2486
2485
|
TableLoadingComponent.decorators = [
|
|
2487
2486
|
{ type: core.Component, args: [{
|
|
2488
2487
|
selector: 'lib-table-loading',
|
|
2489
|
-
template: "<div *ngIf=\"table.loading\" class=\"loading\">\r\n <div class=\"text\" [innerHTML]=\"table.l('LoadingTable', 'Processing')\"></div>\r\n</div>\r\n<div *ngIf=\"!table.permission\" class=\"loading\">\r\n <div class=\"text\"><i class=\"fas fa-shield-alt icon\"></i>{{ table.l(\"PermissionDenied\") }}</div>\r\n</div>\r\n<div *ngIf=\"!table.loading && table.permission && table.rows.length == 0\" class=\"loading\">\r\n <div class=\"text\"><i class=\"fas fa-exclamation icon\"></i>{{ table.l(\"NotfoundTitle\") }}</div>\r\n</div>\r\n",
|
|
2488
|
+
template: "<div *ngIf=\"table.loading\" class=\"loading\">\r\n <div class=\"text\" [innerHTML]=\"table.l('LoadingTable', 'Processing')\"></div>\r\n</div>\r\n<div *ngIf=\"!table.permission\" class=\"loading access\">\r\n <div class=\"text\"><i class=\"fas fa-shield-alt icon\"></i>{{ table.l(\"PermissionDenied\") }}</div>\r\n</div>\r\n<div *ngIf=\"!table.loading && table.permission && table.rows.length == 0\" class=\"loading notfound\">\r\n <div class=\"text\"><i class=\"fas fa-exclamation icon\"></i>{{ table.l(\"NotfoundTitle\") }}</div>\r\n</div>\r\n",
|
|
2490
2489
|
styles: [".loading{background-color:#fff;border-radius:var(--border-radius-base);bottom:0;height:100%;right:0;z-index:101}.loading,.loading .text{position:absolute;text-align:center;width:100%}.loading .text{font-weight:700;height:35px;line-height:35px;top:calc(50% - 20px)}::ng-deep .loading .text .icon{font-size:20px!important;line-height:30px;margin-left:5px;position:relative;top:5px}"]
|
|
2491
2490
|
},] }
|
|
2492
2491
|
];
|
|
@@ -5813,7 +5812,7 @@
|
|
|
5813
5812
|
_this.inp.table.rows = v === null ? [] : v.map(function (x) {
|
|
5814
5813
|
return {
|
|
5815
5814
|
Data: x,
|
|
5816
|
-
Options: [uAccess, dAccess]
|
|
5815
|
+
Options: _this.inp.table.form ? [uAccess, dAccess] : [dAccess]
|
|
5817
5816
|
};
|
|
5818
5817
|
});
|
|
5819
5818
|
};
|