ps-toolkit-ui 0.0.50 → 0.0.51

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.
@@ -5083,8 +5083,8 @@
5083
5083
  PermissionClass.prototype.hasAccess = function (a) {
5084
5084
  return this.Accesses.filter(function (x) { return x.Action === a && x.Type === exports.PermissionTypeEnum.Access; }).length > 0;
5085
5085
  };
5086
- PermissionClass.prototype.deleteAccess = function (a) {
5087
- this.Accesses = this.Accesses.filter(function (x) { return x.Action !== a && x.Type !== exports.PermissionTypeEnum.Access; });
5086
+ PermissionClass.prototype.delete = function (a) {
5087
+ this.Accesses = this.Accesses.filter(function (x) { return x.Action !== a; });
5088
5088
  };
5089
5089
  PermissionClass.prototype.hasOption = function (a) {
5090
5090
  return this.Accesses.filter(function (x) { return x.Action === a && x.Type !== exports.PermissionTypeEnum.Access; }).length > 0;
@@ -5096,9 +5096,6 @@
5096
5096
  var c = this.Accesses.filter(function (x) { return x.Action === a && x.Type !== exports.PermissionTypeEnum.Access; });
5097
5097
  return c.length > 0 ? c[0] : null;
5098
5098
  };
5099
- PermissionClass.prototype.deleteOption = function (a) {
5100
- this.Accesses = this.Accesses.filter(function (x) { return x.Action !== a && x.Type === exports.PermissionTypeEnum.Access; });
5101
- };
5102
5099
  PermissionClass.prototype.getUrl = function () {
5103
5100
  return (this.Area ? '/' + this.Area : '') + '/' + this.Controller + '/' +
5104
5101
  (this.RelatedId ? this.RelatedId + "/" : '') +