ps-toolkit-ui 0.0.47 → 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,6 +5083,9 @@
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.delete = function (a) {
5087
+ this.Accesses = this.Accesses.filter(function (x) { return x.Action !== a; });
5088
+ };
5086
5089
  PermissionClass.prototype.hasOption = function (a) {
5087
5090
  return this.Accesses.filter(function (x) { return x.Action === a && x.Type !== exports.PermissionTypeEnum.Access; }).length > 0;
5088
5091
  };