ps-toolkit-ui 0.2.71 → 0.2.74

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.
@@ -832,7 +832,6 @@
832
832
  PermissionTypeEnum[PermissionTypeEnum["Item"] = 0] = "Item";
833
833
  PermissionTypeEnum[PermissionTypeEnum["Access"] = 1] = "Access";
834
834
  PermissionTypeEnum[PermissionTypeEnum["Option"] = 2] = "Option";
835
- PermissionTypeEnum[PermissionTypeEnum["Input"] = 3] = "Input";
836
835
  })(exports.PermissionTypeEnum || (exports.PermissionTypeEnum = {}));
837
836
  (function (PermissionAccessTypeEnum) {
838
837
  PermissionAccessTypeEnum[PermissionAccessTypeEnum["List"] = 1] = "List";
@@ -849,6 +848,7 @@
849
848
  PermissionInputActionEnum[PermissionInputActionEnum["File"] = 4] = "File";
850
849
  PermissionInputActionEnum[PermissionInputActionEnum["Modal"] = 5] = "Modal";
851
850
  PermissionInputActionEnum[PermissionInputActionEnum["Confirm"] = 6] = "Confirm";
851
+ PermissionInputActionEnum[PermissionInputActionEnum["Input"] = 7] = "Input";
852
852
  })(exports.PermissionInputActionEnum || (exports.PermissionInputActionEnum = {}));
853
853
  (function (PermissionInputTypeEnum) {
854
854
  PermissionInputTypeEnum[PermissionInputTypeEnum["Icon"] = 0] = "Icon";
@@ -2647,7 +2647,7 @@
2647
2647
  };
2648
2648
  var this_1 = this;
2649
2649
  try {
2650
- for (var _b = __values(this.row.Options.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Option; })), _c = _b.next(); !_c.done; _c = _b.next()) {
2650
+ for (var _b = __values(this.row.Options.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Option && x.InputAction === exports.PermissionInputActionEnum.Input; })), _c = _b.next(); !_c.done; _c = _b.next()) {
2651
2651
  var option = _c.value;
2652
2652
  _loop_1(option);
2653
2653
  }
@@ -2659,6 +2659,7 @@
2659
2659
  }
2660
2660
  finally { if (e_1) throw e_1.error; }
2661
2661
  }
2662
+ console.log(inps);
2662
2663
  return inps;
2663
2664
  };
2664
2665
  TableRowComponent.prototype.getOptions = function () {
@@ -2825,7 +2826,7 @@
2825
2826
  };
2826
2827
  var this_2 = this;
2827
2828
  try {
2828
- for (var _b = __values(this.row.Options.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Option; })), _c = _b.next(); !_c.done; _c = _b.next()) {
2829
+ for (var _b = __values(this.row.Options.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Option && x.InputAction !== exports.PermissionInputActionEnum.Input; })), _c = _b.next(); !_c.done; _c = _b.next()) {
2829
2830
  var option = _c.value;
2830
2831
  _loop_2(option);
2831
2832
  }