ps-toolkit-ui 1.10.21 → 1.10.23
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/addModal.class.js +1 -2
- package/esm2015/lib/components/base.component.js +2 -2
- package/esm2015/lib/components/form/label/form.label.component.js +1 -1
- package/fesm2015/ps-toolkit-ui.js +2 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/addModal.class.d.ts +0 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -4409,7 +4409,7 @@
|
|
|
4409
4409
|
{ type: core.Component, args: [{
|
|
4410
4410
|
selector: 'lib-form-label',
|
|
4411
4411
|
template: "<div [id]=\"inp.id + 'LabelInput'\" (click)=\"onClick()\" #inputDiv [className]=\"'form-input label w-100' + ' ' + inp.class\" [innerHTML]=\"inp.l(inp.value)\">\r\n</div>\r\n",
|
|
4412
|
-
styles: [".form-input.label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;font-size:12px;line-height:30px;min-height:30px!important;padding:0 15px;position:relative;text-align:center}.form-input.label.underline{margin:20px 15px;min-height:0!important;width:calc(100% - 30px)}.form-input.label.form-group-title{margin:0 15px 10px;width:calc(100% - 30px)}.form-input.label.space{margin:10px 15px;width:calc(100% - 30px)}.form-input.label.h-58{line-height:58px;min-height:58px!important}.form-input.label.h-45{line-height:45px;min-height:45px!important}.form-input.label.h-35{line-height:35px;min-height:35px!important}.form-input.label.h-25{line-height:25px;min-height:25px!important}"]
|
|
4412
|
+
styles: [".form-input.label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;font-size:12px;line-height:30px;min-height:30px!important;padding:0 15px;position:relative;text-align:center}.form-input.label.underline{margin:20px 15px;min-height:0!important;width:calc(100% - 30px)}.form-input.label.form-group-title{margin:0 15px 10px;width:calc(100% - 30px)}.form-input.label.space{margin:10px 15px;min-height:0!important;width:calc(100% - 30px)}.form-input.label.h-58{line-height:58px;min-height:58px!important}.form-input.label.h-45{line-height:45px;min-height:45px!important}.form-input.label.h-35{line-height:35px;min-height:35px!important}.form-input.label.h-25{line-height:25px;min-height:25px!important}"]
|
|
4413
4413
|
},] }
|
|
4414
4414
|
];
|
|
4415
4415
|
FormLabelComponent.ctorParameters = function () { return []; };
|
|
@@ -7976,7 +7976,7 @@
|
|
|
7976
7976
|
BaseComponent.prototype.getPermission = function (c, a) {
|
|
7977
7977
|
var _this = this;
|
|
7978
7978
|
if (a === void 0) { a = null; }
|
|
7979
|
-
var p = this.app.currentData.permissions.filter(function (per) { return per.Area === _this.app.area && per.Controller === c &&
|
|
7979
|
+
var p = this.app.currentData.permissions.filter(function (per) { return per.Area === _this.app.area && per.Controller === c && per.Action === a &&
|
|
7980
7980
|
per.Type === exports.PermissionTypeEnum.Item; });
|
|
7981
7981
|
return p.length > 0 ? this.getPermissionClass(p[0]) : null;
|
|
7982
7982
|
};
|
|
@@ -8013,7 +8013,6 @@
|
|
|
8013
8013
|
this.environment = environment;
|
|
8014
8014
|
this.l = l;
|
|
8015
8015
|
this.permission = permission;
|
|
8016
|
-
this.modal = new ModalClass(this.environment, this.l, 'Driver', 'sm');
|
|
8017
8016
|
}
|
|
8018
8017
|
AddModalClass.prototype.getModalTable = function (table) {
|
|
8019
8018
|
if (this.permission == null) {
|