ps-toolkit-ui 1.8.27 → 1.8.28
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 +4 -1
- 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 +4 -1
- package/esm2015/lib/components/form/index/form.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +4 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4326,7 +4326,7 @@
|
|
|
4326
4326
|
});
|
|
4327
4327
|
FormComponent.prototype.ngOnInit = function () {
|
|
4328
4328
|
if (this.form.onTop) {
|
|
4329
|
-
this.form.inputs.forEach(function (x) { return x.class = 'h-30 ' + x.class; });
|
|
4329
|
+
this.form.inputs.filter(function (x) { return x.type !== exports.InputType.Label; }).forEach(function (x) { return x.class = 'h-30 ' + x.class; });
|
|
4330
4330
|
}
|
|
4331
4331
|
};
|
|
4332
4332
|
FormComponent.prototype.changeIndex = function (index, action) {
|
|
@@ -7996,6 +7996,9 @@
|
|
|
7996
7996
|
this.permission = false;
|
|
7997
7997
|
return;
|
|
7998
7998
|
}
|
|
7999
|
+
if (!this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }) && this.form.onTop) {
|
|
8000
|
+
this.form = null;
|
|
8001
|
+
}
|
|
7999
8002
|
var _loop_1 = function (access) {
|
|
8000
8003
|
if (this_1.buttons.filter(function (x) { return x.name === access.Name; }).length > 0) {
|
|
8001
8004
|
return "continue";
|