adminforth 2.4.0-next.73 → 2.4.0-next.74
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/src/App.vue +5 -5
- package/package.json +1 -1
package/dist/spa/src/App.vue
CHANGED
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
</span>
|
|
88
88
|
</div>
|
|
89
89
|
|
|
90
|
-
<ul class="space-y-2 font-medium">
|
|
90
|
+
<ul class="af-sidebar-container space-y-2 font-medium">
|
|
91
91
|
<template v-for="(item, i) in coreStore.menu" :key="`menu-${i}`">
|
|
92
92
|
<div v-if="item.type === 'divider'" class="border-t border-lightSidebarDevider dark:border-darkSidebarDevider"></div>
|
|
93
93
|
<div v-else-if="item.type === 'gap'" class="flex items-center justify-center h-8"></div>
|
|
94
94
|
<div v-else-if="item.type === 'heading'" class="flex items-center justify-left pl-2 h-8 text-lightSidebarHeading dark:text-darkSidebarHeading
|
|
95
95
|
">{{ item.label }}</div>
|
|
96
|
-
<li v-else-if="item.children" class="
|
|
97
|
-
<button @click="clickOnMenuItem(i)" type="button" class="flex items-center w-full p-2 text-base text-lightSidebarText rounded-default transition duration-75 group hover:bg-lightSidebarItemHover hover:text-lightSidebarTextHover dark:text-darkSidebarText dark:hover:bg-darkSidebarHover dark:hover:text-darkSidebarTextHover"
|
|
96
|
+
<li v-else-if="item.children" class="af-sidebar-expand-container">
|
|
97
|
+
<button @click="clickOnMenuItem(i)" type="button" class="af-sidebar-expand-button flex items-center w-full p-2 text-base text-lightSidebarText rounded-default transition duration-75 group hover:bg-lightSidebarItemHover hover:text-lightSidebarTextHover dark:text-darkSidebarText dark:hover:bg-darkSidebarHover dark:hover:text-darkSidebarTextHover"
|
|
98
98
|
:aria-controls="`dropdown-example${i}`"
|
|
99
99
|
:data-collapse-toggle="`dropdown-example${i}`"
|
|
100
100
|
>
|
|
@@ -124,13 +124,13 @@
|
|
|
124
124
|
|
|
125
125
|
<ul :id="`dropdown-example${i}`" role="none" class="af-sidebar-dropdown pt-1 space-y-1" :class="{ 'hidden': !opened.includes(i) }">
|
|
126
126
|
<template v-for="(child, j) in item.children" :key="`menu-${i}-${j}`">
|
|
127
|
-
<li>
|
|
127
|
+
<li class="af-sidebar-menu-link">
|
|
128
128
|
<MenuLink :item="child" isChild="true" @click="hideSidebar"/>
|
|
129
129
|
</li>
|
|
130
130
|
</template>
|
|
131
131
|
</ul>
|
|
132
132
|
</li>
|
|
133
|
-
<li v-else>
|
|
133
|
+
<li v-else class="af-sidebar-menu-link">
|
|
134
134
|
<MenuLink :item="item" @click="hideSidebar"/>
|
|
135
135
|
</li>
|
|
136
136
|
</template>
|