ps-toolkit-ui 1.22.7 → 1.22.8

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.
@@ -4246,7 +4246,7 @@
4246
4246
  if (this.table.hasChildren || this.subTable != null) {
4247
4247
  this.showChildren = new InputClass(this.table.environment, this.table.l, this.table.name + 'SubsetTitle', 'fad fa-angle-left f-s-22', this.row.Data.CountChild > 0 || (!this.table.childrenAutoLoad && this.children.length > 0) || this.subTable != null ? exports.InputType.Icon : exports.InputType.Hidden, 'h-25 m-h-5 d-ib va-m f-u');
4248
4248
  this.showChildren.onClick = function () {
4249
- var _a, _b;
4249
+ var _a, _b, _c, _d;
4250
4250
  if ($(_this.childrenDiv.nativeElement).is(':visible')) {
4251
4251
  $(_this.childrenDiv.nativeElement).slideUp();
4252
4252
  _this.showChildren.icon = 'fad fa-angle-left f-s-22';
@@ -4261,8 +4261,11 @@
4261
4261
  ps.Area = acc_1.Area;
4262
4262
  ps.Controller = acc_1.Controller;
4263
4263
  ps.Action = acc_1.Action;
4264
- ps.Accesses = (_b = (_a = _this.table.permissions.Accesses) === null || _a === void 0 ? void 0 : _a.filter(function (x) { return x.ParentId === acc_1.Id; })) !== null && _b !== void 0 ? _b : [];
4264
+ console.log(_this.table.permissions.Accesses);
4265
+ console.log((_b = (_a = _this.table.permissions.Accesses) === null || _a === void 0 ? void 0 : _a.filter(function (x) { return x.ParentId === acc_1.Id; })) !== null && _b !== void 0 ? _b : []);
4266
+ ps.Accesses = (_d = (_c = _this.table.permissions.Accesses) === null || _c === void 0 ? void 0 : _c.filter(function (x) { return x.ParentId === acc_1.Id; })) !== null && _d !== void 0 ? _d : [];
4265
4267
  _this.subTable.permissions = ps;
4268
+ console.log(_this.subTable.permissions);
4266
4269
  _this.subTable.set();
4267
4270
  $(_this.childrenDiv.nativeElement).slideDown();
4268
4271
  _this.showChildren.icon = 'fad fa-angle-down f-s-22';