ps-toolkit-ui 1.12.3 → 1.12.4

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.
@@ -8085,7 +8085,8 @@
8085
8085
  var result = {};
8086
8086
  result[_this.inp.name] = _this.inp.name;
8087
8087
  if (_this.inp.value != null && _this.inp.value instanceof Array) {
8088
- result[_this.inp.name + 'Files'] = _this.inp.value.map(function (x) { return x.file; });
8088
+ result[_this.inp.name + 'Files'] = _this.inp.value.filter(function (x) { return typeof x.file !== 'string'; }).map(function (x) { return x.file; });
8089
+ result[_this.inp.name + 'Urls'] = _this.inp.value.filter(function (x) { return typeof x.file === 'string'; }).map(function (x) { return x.file; });
8089
8090
  return result;
8090
8091
  }
8091
8092
  return result;