sand-components-vben 2.7.36 → 2.7.37

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sand-components-vben",
3
- "version": "2.7.36",
3
+ "version": "2.7.37",
4
4
  "description": "",
5
5
  "main": "sand-components-vben.js",
6
6
  "scripts": {
@@ -15193,17 +15193,19 @@ function vme(e, t) {
15193
15193
  }).toString();
15194
15194
  }
15195
15195
  const d_ = (e) => {
15196
- if (!e)
15197
- return {};
15198
15196
  const t = e;
15199
15197
  for (const a in t)
15200
- (t[a] === void 0 || t[a] === null) && delete t[a], t[a] instanceof Object && Object.keys(t[a]).length === 0 && delete t[a];
15198
+ if ((t[a] === void 0 || t[a] === null) && delete t[a], t[a] instanceof Object && Object.keys(t[a]).length === 0) {
15199
+ if (Object.prototype.toString.call(t[a]) === "[object Array]")
15200
+ continue;
15201
+ delete t[a];
15202
+ }
15201
15203
  for (const a in t)
15202
15204
  typeof t[a] == "object" && Object.prototype.toString.call(t[a]) !== "[object File]" && (t[a] = d_(t[a]));
15203
15205
  const n = Object.keys(t);
15204
- n.sort();
15206
+ Object.prototype.toString.call(t) !== "[object Array]" && n.sort();
15205
15207
  let r = {};
15206
- return n.forEach((a) => {
15208
+ return t instanceof Array && t.length === 0 && n.length === 0 && (r = []), n.forEach((a) => {
15207
15209
  t instanceof Array ? (r instanceof Array || (r = []), r.push(t[a])) : r[a] = t[a];
15208
15210
  }), r;
15209
15211
  }, e4 = (e) => {