@webx-ui/module-admin 0.26.1 → 0.27.0
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/dist/AdminNav.d.ts +4 -0
- package/dist/index.js +2096 -2035
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -215,6 +215,11 @@ export interface NavEntry {
|
|
|
215
215
|
group: string | null;
|
|
216
216
|
/** Caption id inside the group, or null among its plain entries. */
|
|
217
217
|
section: string | null;
|
|
218
|
+
/**
|
|
219
|
+
* A count beside the entry — what waits for this person there. The module says it under
|
|
220
|
+
* `meta.badge` of its manifest; nothing, zero or anything but a number draws no badge.
|
|
221
|
+
*/
|
|
222
|
+
badge?: number;
|
|
218
223
|
}
|
|
219
224
|
/** A group with the entries that sit under it, in navigation order. */
|
|
220
225
|
export interface NavGroup {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webx-ui/module-admin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "The frame a WebX UI admin panel runs in: bootstrap, the shell, the HTTP client and the module registry that pairs with webx-ui/module-admin on the server.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|