ps-toolkit-ui 1.4.25 → 1.4.26
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 +1 -14
- 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 +2 -1
- package/esm2015/lib/components/table/table.component.js +1 -15
- package/fesm2015/ps-toolkit-ui.js +1 -14
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2988,20 +2988,6 @@
|
|
|
2988
2988
|
TableComponent.prototype.ngOnInit = function () {
|
|
2989
2989
|
var e_1, _a;
|
|
2990
2990
|
var _this = this;
|
|
2991
|
-
// if (this.app.isReport){
|
|
2992
|
-
// this.table.perPage = -1;
|
|
2993
|
-
// this.table.extraButtons = false;
|
|
2994
|
-
// this.table.displayLabel = false;
|
|
2995
|
-
// this.table.isReport = true;
|
|
2996
|
-
// this.table.permissions.Accesses = ['List'];
|
|
2997
|
-
// this.table.permissions.Options = [];
|
|
2998
|
-
// this.table.cols.forEach(x => x.sort = false);
|
|
2999
|
-
// this.table.onLoad = () => {
|
|
3000
|
-
// setTimeout(() => {
|
|
3001
|
-
// window.print();
|
|
3002
|
-
// }, 500);
|
|
3003
|
-
// };
|
|
3004
|
-
// }
|
|
3005
2991
|
this.loadIcon = new InputClass(this.table.environment, null, 'LoadIcon');
|
|
3006
2992
|
this.sizeIcon = new InputClass(this.table.environment, null, 'SizeIcon');
|
|
3007
2993
|
if (this.table.hasChildren) {
|
|
@@ -7475,6 +7461,7 @@
|
|
|
7475
7461
|
if (access.AccessType === exports.PermissionAccessTypeEnum.Insert) {
|
|
7476
7462
|
accessInp.class = accessInp.class.replace('blue', 'green');
|
|
7477
7463
|
if (this_1.form) {
|
|
7464
|
+
console.log(access.Url.replace('{}', this_1.permissions.RelatedId), access);
|
|
7478
7465
|
this_1.form.url = this_1.form.baseUrl = access.Url.replace('{}', this_1.permissions.RelatedId);
|
|
7479
7466
|
if (!this_1.form.onTop) {
|
|
7480
7467
|
accessInp.onClick = function () {
|