ps-toolkit-ui 1.8.53 → 1.8.55

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.
@@ -5719,19 +5719,22 @@
5719
5719
  var p = new PermissionClass();
5720
5720
  p.Type = exports.PermissionTypeEnum.Form;
5721
5721
  var lAccess = new PermissionClass();
5722
- lAccess.Action = 'list';
5722
+ lAccess.Action = 'List';
5723
+ lAccess.Type = exports.PermissionTypeEnum.Access;
5724
+ lAccess.AccessType = exports.PermissionAccessTypeEnum.List;
5725
+ lAccess.InputAction = exports.PermissionInputActionEnum.None;
5726
+ lAccess.InputType = exports.PermissionInputTypeEnum.Icon;
5723
5727
  var iAccess = new PermissionClass();
5724
- iAccess.Action = 'insert';
5725
- var uAccess = new PermissionClass();
5726
- uAccess.Action = 'update';
5727
- var dAccess = new PermissionClass();
5728
- dAccess.Action = 'delete';
5728
+ iAccess.Action = 'Insert';
5729
+ iAccess.Type = exports.PermissionTypeEnum.Access;
5730
+ iAccess.InputAction = exports.PermissionInputActionEnum.Modal;
5731
+ iAccess.InputType = exports.PermissionInputTypeEnum.Button;
5732
+ iAccess.AccessType = exports.PermissionAccessTypeEnum.Insert;
5729
5733
  p.Accesses = [
5730
5734
  lAccess,
5731
5735
  iAccess,
5732
- uAccess,
5733
- dAccess
5734
5736
  ];
5737
+ this.inp.table.permissions = p;
5735
5738
  this.inp.table.displayLabel = false;
5736
5739
  this.inp.table.style = { padding: 0, boxShadow: 'unset' };
5737
5740
  this.inp.table.permissions = p;