@abpjs/ui 0.2.0-next.19 → 0.2.0-next.20

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0-next.20
4
+
5
+ A prerelease under npm's `next` tag.
6
+
7
+ - guard: `guardPages` weighs its pages so the menu reads accounts, groups, directories, sign-up, anonymous access
8
+ (settings sort heavier first); next.19 read them the other way round.
9
+
3
10
  ## 0.2.0-next.19
4
11
 
5
12
  A prerelease under npm's `next` tag.
package/dist/guard.js CHANGED
@@ -3551,7 +3551,7 @@ function guardPages(options) {
3551
3551
  const page = (key, at, component) => ({
3552
3552
  id: `guard.${key}`,
3553
3553
  section: options.section,
3554
- weight: weight + at,
3554
+ weight: weight + 4 - at,
3555
3555
  title: options.titles?.[key] ?? en_default[`nav.${key}`],
3556
3556
  href: `${base}/${key}`,
3557
3557
  about: options.about?.[key],