adminforth 1.0.45 → 1.0.46
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/spa/spa/src/App.vue +4 -1
- package/package.json +1 -1
- package/spa/src/App.vue +4 -1
- package/types/AdminForthConfig.ts +1 -0
package/dist/spa/spa/src/App.vue
CHANGED
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
<template v-for="(item, i) in coreStore.menu" :key="`menu-${i}`">
|
|
74
74
|
<div v-if="item.type === 'divider'" class="border-t border-gray-200 dark:border-gray-700"></div>
|
|
75
75
|
<div v-else-if="item.type === 'gap'" class="flex items-center justify-center h-8"></div>
|
|
76
|
+
<div v-else-if="item.type === 'heading'" class="flex items-center justify-left pl-2 h-8 opacity-40
|
|
77
|
+
">{{ item.label }}</div>
|
|
78
|
+
|
|
76
79
|
|
|
77
80
|
<li v-else-if="item.children">
|
|
78
81
|
<button type="button" class="flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700"
|
|
@@ -87,7 +90,7 @@
|
|
|
87
90
|
</svg>
|
|
88
91
|
</button>
|
|
89
92
|
|
|
90
|
-
<ul :id="`dropdown-example${i}`" role="none" class="
|
|
93
|
+
<ul :id="`dropdown-example${i}`" role="none" class="pt-1 space-y-1" :class="{ 'hidden': !item.open }">
|
|
91
94
|
<template v-for="(child, j) in item.children" :key="`menu-${i}-${j}`">
|
|
92
95
|
<li>
|
|
93
96
|
<MenuLink :item="child" isChild="true" />
|
package/package.json
CHANGED
package/spa/src/App.vue
CHANGED
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
<template v-for="(item, i) in coreStore.menu" :key="`menu-${i}`">
|
|
74
74
|
<div v-if="item.type === 'divider'" class="border-t border-gray-200 dark:border-gray-700"></div>
|
|
75
75
|
<div v-else-if="item.type === 'gap'" class="flex items-center justify-center h-8"></div>
|
|
76
|
+
<div v-else-if="item.type === 'heading'" class="flex items-center justify-left pl-2 h-8 opacity-40
|
|
77
|
+
">{{ item.label }}</div>
|
|
78
|
+
|
|
76
79
|
|
|
77
80
|
<li v-else-if="item.children">
|
|
78
81
|
<button type="button" class="flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700"
|
|
@@ -87,7 +90,7 @@
|
|
|
87
90
|
</svg>
|
|
88
91
|
</button>
|
|
89
92
|
|
|
90
|
-
<ul :id="`dropdown-example${i}`" role="none" class="
|
|
93
|
+
<ul :id="`dropdown-example${i}`" role="none" class="pt-1 space-y-1" :class="{ 'hidden': !item.open }">
|
|
91
94
|
<template v-for="(child, j) in item.children" :key="`menu-${i}-${j}`">
|
|
92
95
|
<li>
|
|
93
96
|
<MenuLink :item="child" isChild="true" />
|