ps-toolkit-ui 1.8.69 → 1.8.71

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.
@@ -2350,7 +2350,7 @@
2350
2350
  SidebarComponent.prototype.getSidebar = function (parentId) {
2351
2351
  var _this = this;
2352
2352
  if (parentId === void 0) { parentId = null; }
2353
- return this.currentData.permissions.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Item && x.ParentId === parentId && x.Area !== null; }).map(function (s) {
2353
+ return this.currentData.permissions.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Item && x.ParentId === parentId; }).map(function (s) {
2354
2354
  return new SidebarClass(_this.l, s.Id, s.Name, s.Controller, s.Action, s.Url, s.Icon, _this.getSidebar(s.Id), s.Count);
2355
2355
  });
2356
2356
  };
@@ -2831,10 +2831,7 @@
2831
2831
  _this.table.form.clear();
2832
2832
  }
2833
2833
  if (_this.table.permissions.Type === exports.PermissionTypeEnum.Form) {
2834
- console.log(_this.row.Data.Id);
2835
- console.log(_this.table.rows);
2836
2834
  _this.table.rows = _this.table.rows.filter(function (x) { return x.Data.Id !== _this.row.Data.Id; });
2837
- console.log(_this.table.rows);
2838
2835
  _this.changeRows.emit(_this.row.Data);
2839
2836
  }
2840
2837
  else {
@@ -5792,7 +5789,7 @@
5792
5789
  _this.inp.setValue(_this.inp.default === null ? [] : _this.inp.default, false);
5793
5790
  };
5794
5791
  this.inp.data = function () {
5795
- return _this.inp.table.rows;
5792
+ return _this.inp.table.rows.map(function (x) { return x.Data; });
5796
5793
  };
5797
5794
  if (this.inp.default) {
5798
5795
  this.inp.setValue(this.inp.default, false);