ps-toolkit-ui 1.21.51 → 1.21.67

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.
@@ -3465,8 +3465,8 @@
3465
3465
  };
3466
3466
  TableRowComponent.prototype.setSortRow = function () {
3467
3467
  var _this = this;
3468
- setTimeout(function () {
3469
- if (_this.table.hasChildren) {
3468
+ if (this.table.hasChildren) {
3469
+ setTimeout(function () {
3470
3470
  // @ts-ignore
3471
3471
  $__namespace(_this.childrenDiv.nativeElement).sortable({
3472
3472
  axis: 'y',
@@ -3481,16 +3481,17 @@
3481
3481
  var p = new PermissionClass();
3482
3482
  p.Area = _this.table.permissions.Area;
3483
3483
  p.Controller = _this.table.permissions.Controller;
3484
- p.Action = 'sort';
3484
+ p.RelatedId = _this.table.permissions.RelatedId;
3485
+ p.Action = _this.table.permissions.Action ? _this.table.permissions.Action + '-sort' : 'sort';
3485
3486
  new RequestClass(_this.table.environment, _this.table.l).send(p.getUrl().toLowerCase(), exports.Method.Post, { Ids: data }, null, function () {
3486
3487
  if (_this.table.onSort) {
3487
3488
  _this.table.onSort();
3488
3489
  }
3489
3490
  }, function () { });
3490
3491
  }
3491
- });
3492
- }
3493
- }, 500);
3492
+ }).disableSelection();
3493
+ }, 500);
3494
+ }
3494
3495
  };
3495
3496
  TableRowComponent.prototype.setOptions = function () {
3496
3497
  var e_1, _e, e_2, _f;