@gonsin/gview 2.1.2 → 2.1.3

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -74,7 +74,7 @@ function It(t) {
74
74
  return Be(t) || (t + "").trim() == "";
75
75
  }
76
76
  function eo(t, e, u) {
77
- return t.filter((o) => o.parent === e && o.menuMold != 3).map((o) => ({
77
+ return t.filter((o) => o.parent === e && o.menuMold != 3).sort((o, n) => (o.sort ?? 0) - (n.sort ?? 0)).map((o) => ({
78
78
  ...o,
79
79
  children: eo(t, o.name, u + 1),
80
80
  path: o.url,
@@ -12464,7 +12464,7 @@ const ta = /* @__PURE__ */ nu(NM, [["__scopeId", "data-v-75fdffa5"]]), Er = /* @
12464
12464
  t.directive(e, en[e]);
12465
12465
  });
12466
12466
  }
12467
- }, TM = "@gonsin/gview", dM = "2.1.2", jM = "dist/index.mjs", IM = "dist/types/index.d.ts", AM = [
12467
+ }, TM = "@gonsin/gview", dM = "2.1.3", jM = "dist/index.mjs", IM = "dist/types/index.d.ts", AM = [
12468
12468
  "dist",
12469
12469
  "README.md",
12470
12470
  "CHANGELOG.md"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonsin/gview",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "main": "dist/index.mjs",
5
5
  "typings": "dist/types/index.d.ts",
6
6
  "files": [