ps-toolkit-ui 1.17.99 → 1.18.2

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.
@@ -9410,10 +9410,13 @@
9410
9410
  if (this.form && this.form.onTop) {
9411
9411
  this.form.displayLabel = false;
9412
9412
  }
9413
+ console.log(this.permissions);
9414
+ console.log(this.permissions.getAccesses());
9413
9415
  var _loop_1 = function (access) {
9414
9416
  if (this_1.buttons.filter(function (x) { return x.name === access.Name; }).length > 0) {
9415
9417
  return "continue";
9416
9418
  }
9419
+ console.log(access, access.InputAction);
9417
9420
  var accessInp = new InputClass(this_1.environment, this_1.l, access.Name, access.Icon, access.InputType === exports.PermissionInputTypeEnum.Button ? exports.InputType.Button : exports.InputType.Icon, 'blue p-0 m-r-10-p w-u h-30');
9418
9421
  if (access.AccessType === exports.PermissionAccessTypeEnum.Insert) {
9419
9422
  accessInp.class = accessInp.class.replace('blue', 'green');
@@ -9455,6 +9458,7 @@
9455
9458
  };
9456
9459
  }
9457
9460
  else if (access.InputAction === exports.PermissionInputActionEnum.Modal) {
9461
+ console.log(this_1.optionsActions, access.InputAction);
9458
9462
  accessInp.modal = this_1.optionsActions.find(function (x) { return x.name === access.Action; });
9459
9463
  accessInp.onClick = function () {
9460
9464
  if (accessInp.modal.table) {