improve framework

This commit is contained in:
liangping 2023-02-11 09:04:36 +08:00
parent caa020f367
commit ed266f5d2c
38 changed files with 238 additions and 1125 deletions

View File

@ -18,6 +18,7 @@
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vueuse/core": "^9.12.0",
"@vueuse/math": "^9.12.0",
"cross-fetch": "^3.1.5",
"pinia": "^2.0.28",
"vite-plugin-vue-layouts": "^0.7.0",
"vite-plugin-vuetify": "^1.0.2",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -1,158 +1,82 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="150px" height="132px" viewBox="0 0 150 132" enable-background="new 0 0 150 132" xml:space="preserve"> <image id="image0" width="150" height="132" x="0" y="0"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACECAYAAAByH9JyAAAABGdBTUEAALGPC/xhBQAAACBjSFJN
AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAA
CXBIWXMAAAsTAAALEwEAmpwYAAAhMUlEQVR42u2dd3Qcx5ngf9Uzg0HGAGDOFHOSxJwgkpJFiUlp
ZUqyTxv87s67f9jvnqST6NXaXj1bli3aku58/uN2L3h3veuzFUmJsqhMMWcwixJzEpMAzACDAQYT
6v7o6ZnumZ4ETDdm35vvPTx0V/i6uuo3XdVfVX0t1j/bQV4idQcyKUrqEsjkPNIYJZPS6fJKyc+A
x1LTSON1ZKp+mZTWEKedq3E1SJzGuFSdBn26Y5lcrkxx8SIk6TfEAVI6gRrz66fec6w2LiKZBHQn
t43+NKmRkqvcND5DUFxe+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A6MDQ6MjQrMDA6
MDCY7TicAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==" />
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="150px" height="132px" viewBox="0 0 150 132" enable-background="new 0 0 150 132" xml:space="preserve"> <image id="image0" width="150" height="132" x="0" y="0"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACECAMAAABFwSJAAAAABGdBTUEAALGPC/xhBQAAACBjSFJN
AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACuFBMVEVmbP////9mbP9mbP9m
bP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9m
bP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9m
bP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9m
bP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9m
bP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9m
bP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9mbP9m
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AABJRU5ErkJggg==" />
</svg>

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -1,5 +1,5 @@
<script lang="ts" setup>
import navItems from '@/plugins/vuetify/navigation/vertical'
import navItems from '@/layouts/navigation'
import { useThemeConfig } from '@/plugins/vuetify/@core/composable/useThemeConfig'
// Components

View File

@ -1,48 +0,0 @@
<script lang="ts" setup>
import navItems from '@/plugins/vuetify/navigation/horizontal'
import { useThemeConfig } from '@core/composable/useThemeConfig'
import { themeConfig } from '@themeConfig'
// Components
import Footer from '@layouts/components/Footer.vue'
import NavbarThemeSwitcher from '@layouts/components/NavbarThemeSwitcher.vue'
import UserProfile from '@layouts/components/UserProfile.vue'
import { HorizontalNavLayout } from '@layouts'
import { VNodeRenderer } from '@layouts/components/VNodeRenderer'
const { appRouteTransition } = useThemeConfig()
</script>
<template>
<HorizontalNavLayout :nav-items="navItems">
<!-- 👉 navbar -->
<template #navbar>
<RouterLink to="/" class="d-flex align-start gap-x-2">
<VNodeRenderer :nodes="themeConfig.app.logo" />
<h1 class="font-weight-bold leading-normal text-xl">
{{ themeConfig.app.title }}
</h1>
</RouterLink>
<VSpacer />
<NavbarThemeSwitcher class="me-2" />
<UserProfile />
</template>
<!-- 👉 Pages -->
<RouterView v-slot="{ Component, route }">
<Transition :name="appRouteTransition" mode="out-in">
<Component :is="Component" :key="route.path" />
</Transition>
</RouterView>
<!-- 👉 Footer -->
<template #footer>
<Footer />
</template>
<!-- 👉 Customizer -->
<!-- <TheCustomizer /> -->
</HorizontalNavLayout>
</template>

View File

@ -12,26 +12,22 @@
class="mx-1"
/>
By <a
href="https://pixinvent.com"
href="https://ping.pub"
target="_blank"
rel="noopener noreferrer"
class="text-primary ms-1"
>Pixinvent</a>
>Ping.pub</a>
</span>
<!-- 👉 Footer: right content -->
<span class="d-md-flex gap-x-4 text-primary d-none">
<a
href="https://themeforest.net/licenses/standard"
href="https://github.com/ping-pub/explorer/blob/master/LICENSE"
target="noopener noreferrer"
>License</a>
<a
href="https://pixinvent.com/"
href="https://github.com/ping-pub/explorer"
target="noopener noreferrer"
>More Themes</a>
<a
href="https://pixinvent.com/demo/materialize-vuejs-admin-template/documentation/"
target="noopener noreferrer"
>Documentation</a>
>Github</a>
</span>
</div>
</template>

View File

@ -2,18 +2,7 @@
import { useSkins } from '@core/composable/useSkins'
import { useThemeConfig } from '@core/composable/useThemeConfig'
// @layouts plugin
import { AppContentLayoutNav } from '@layouts/enums'
const DefaultLayoutWithHorizontalNav = defineAsyncComponent(() => import('./components/DefaultLayoutWithHorizontalNav.vue'))
const DefaultLayoutWithVerticalNav = defineAsyncComponent(() => import('./components/DefaultLayoutWithVerticalNav.vue'))
const { width: windowWidth } = useWindowSize()
const { appContentLayoutNav, switchToVerticalNavOnLtOverlayNavBreakpoint } = useThemeConfig()
// This will switch to vertical nav when define breakpoint is reached when in horizontal nav layout
// Remove below composable usage if you are not using horizontal nav layout in your app
switchToVerticalNavOnLtOverlayNavBreakpoint(windowWidth)
const DefaultLayout = defineAsyncComponent(() => import('./components/DefaultLayout.vue'))
const { layoutAttrs, injectSkinClasses } = useSkins()
@ -21,12 +10,7 @@ injectSkinClasses()
</script>
<template>
<template v-if="appContentLayoutNav === AppContentLayoutNav.Vertical">
<DefaultLayoutWithVerticalNav v-bind="layoutAttrs" />
</template>
<template v-else>
<DefaultLayoutWithHorizontalNav v-bind="layoutAttrs" />
</template>
<DefaultLayout v-bind="layoutAttrs" />
</template>
<style lang="scss">

View File

@ -11,4 +11,9 @@ export default [
to: { name: 'second-page' },
icon: { icon: 'mdi-file-document-outline' },
},
{
title: 'Second2 page',
to: { name: 'second-page' },
icon: { icon: 'mdi-file-document-outline' },
},
] as VerticalNavItems

View File

@ -0,0 +1,22 @@
import fetch from 'cross-fetch'
export async function get(url: string) {
return (await fetch(url)).json()
}
export async function post(url: string, data: any) {
const response = await fetch(url, {
method: 'POST', // *GET, POST, PUT, DELETE, etc.
// mode: 'cors', // no-cors, *cors, same-origin
// credentials: 'same-origin', // redirect: 'follow', // manual, *follow, error
// referrerPolicy: 'origin', // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
headers: {
'Content-Type': 'text/plain',
Accept: '*/*',
'Accept-Encoding': 'gzip, deflate, br',
},
body: JSON.stringify(data), // body data type must match "Content-Type" header
})
// const response = axios.post((config ? config.api : this.config.api) + url, data)
return response.json() // parses JSON response into native JavaScript objects
}

View File

@ -1,129 +1,3 @@
<script setup lang="ts">
import { VForm } from 'vuetify/components'
import { useGenerateImageVariant } from '@/plugins/vuetify/@core/composable/useGenerateImageVariant'
import authV2LoginIllustrationBorderedDark from '@images/pages/auth-v2-login-illustration-bordered-dark.png'
import authV2LoginIllustrationBorderedLight from '@images/pages/auth-v2-login-illustration-bordered-light.png'
import authV2LoginIllustrationDark from '@images/pages/auth-v2-login-illustration-dark.png'
import authV2LoginIllustrationLight from '@images/pages/auth-v2-login-illustration-light.png'
import authV2LoginMaskDark from '@images/pages/auth-v2-login-mask-dark.png'
import authV2LoginMaskLight from '@images/pages/auth-v2-login-mask-light.png'
import { VNodeRenderer } from '@/plugins/vuetify/@layouts/components/VNodeRenderer'
import { themeConfig } from '@themeConfig'
const isPasswordVisible = ref(false)
const authV2LoginMask = useGenerateImageVariant(authV2LoginMaskLight, authV2LoginMaskDark)
const authV2LoginIllustration = useGenerateImageVariant(authV2LoginIllustrationLight, authV2LoginIllustrationDark, authV2LoginIllustrationBorderedLight, authV2LoginIllustrationBorderedDark, true)
const errors = ref<Record<string, string | undefined>>({
email: undefined,
password: undefined,
})
const refVForm = ref<VForm>()
const email = ref('admin@demo.com')
const password = ref('admin')
const rememberMe = ref(false)
</script>
<template>
<div class="auth-logo d-flex align-center gap-x-2">
<div>
<VNodeRenderer :nodes="themeConfig.app.logo" />
</div>
<h5 class="text-h5 font-weight-bold leading-normal text-capitalize">
{{ themeConfig.app.title }}
</h5>
</div>
<VRow no-gutters class="auth-wrapper">
<VCol md="8" class="d-none d-md-flex align-center justify-center position-relative">
<div class="d-flex align-center justify-center pa-10">
<img :src="authV2LoginIllustration" class="auth-illustration w-100" alt="auth-illustration">
</div>
<VImg :src="authV2LoginMask" class="d-none d-md-flex auth-footer-mask" alt="auth-mask" />
</VCol>
<VCol cols="12" md="4" class="auth-card-v2 d-flex align-center justify-center"
style="background-color: rgb(var(--v-theme-surface));">
<VCard flat :max-width="500" class="mt-12 mt-sm-0 pa-4">
<VCardText>
<h5 class="text-h5 font-weight-semibold mb-1">
Welcome to {{ themeConfig.app.title }}! 👋🏻
</h5>
<p class="mb-0">
Please sign-in to your account and start the adventure
</p>
</VCardText>
<VCardText>
<VAlert color="primary" variant="tonal">
<p class="text-caption mb-2">
Admin Email: <strong>admin@demo.com</strong> / Pass: <strong>admin</strong>
</p>
<p class="text-caption mb-0">
Client Email: <strong>client@demo.com</strong> / Pass: <strong>client</strong>
</p>
</VAlert>
</VCardText>
<VCardText>
<VForm ref="refVForm" @submit.prevent="() => { }">
<VRow>
<!-- email -->
<VCol cols="12">
<VTextField v-model="email" label="Email" type="email" :error-messages="errors.email" />
</VCol>
<!-- password -->
<VCol cols="12">
<VTextField v-model="password" label="Password" :type="isPasswordVisible ? 'text' : 'password'"
:error-messages="errors.password"
:append-inner-icon="isPasswordVisible ? 'mdi-eye-off-outline' : 'mdi-eye-outline'"
@click:append-inner="isPasswordVisible = !isPasswordVisible" />
<div class="d-flex align-center flex-wrap justify-space-between mt-1 mb-4">
<VCheckbox v-model="rememberMe" label="Remember me" />
<a class="text-primary ms-2 mb-1" href="#">
Forgot Password?
</a>
</div>
<VBtn block type="submit">
Login
</VBtn>
</VCol>
<!-- create account -->
<VCol cols="12" class="text-base text-center">
<span>New on our platform?</span>
<a class="text-primary ms-2" href="#">
Create an account
</a>
</VCol>
<VCol cols="12" class="d-flex align-center">
<VDivider />
<span class="mx-4">or</span>
<VDivider />
</VCol>
<!-- auth providers -->
<VCol cols="12" class="text-center">
</VCol>
</VRow>
</VForm>
</VCardText>
</VCard>
</VCol>
</VRow>
</template>
<style lang="scss">
@use "@core/scss/template/pages/page-auth.scss";
</style>
<route lang="yaml">
meta:
layout: blank
action: read
subject: Auth
redirectIfLoggedIn: true
</route>
<div>Hello module</div>
</template>

View File

@ -11,3 +11,8 @@
</VCard>
</div>
</template>
<route lang="yaml">
meta:
layout: blank
bgColor: yellow
</route>

View File

@ -1,8 +1,3 @@
export { default as HorizontalNav } from './components/HorizontalNav.vue'
export { default as HorizontalNavGroup } from './components/HorizontalNavGroup.vue'
export { default as HorizontalNavLayout } from './components/HorizontalNavLayout.vue'
export { default as HorizontalNavLink } from './components/HorizontalNavLink.vue'
export { default as HorizontalNavPopper } from './components/HorizontalNavPopper.vue'
export { default as TransitionExpand } from './components/TransitionExpand.vue'
export { default as VerticalNav } from './components/VerticalNav.vue'
export { default as VerticalNavGroup } from './components/VerticalNavGroup.vue'

View File

@ -1,35 +0,0 @@
<script lang="ts" setup>
import { HorizontalNavGroup, HorizontalNavLink } from '@layouts/components'
import type { HorizontalNavItems, NavGroup, NavLink } from '@layouts/types'
defineProps<{
navItems: HorizontalNavItems
}>()
const resolveNavItemComponent = (item: NavLink | NavGroup) => {
if ('children' in item)
return HorizontalNavGroup
return HorizontalNavLink
}
</script>
<template>
<ul class="nav-items">
<Component
:is="resolveNavItemComponent(item)"
v-for="(item, index) in navItems"
:key="index"
:item="item"
/>
</ul>
</template>
<style lang="scss">
.layout-wrapper.layout-nav-type-horizontal {
.nav-items {
display: flex;
flex-wrap: wrap;
}
}
</style>

View File

@ -1,111 +0,0 @@
<script lang="ts" setup>
import { useLayouts } from '@layouts'
import { HorizontalNavLink, HorizontalNavPopper } from '@layouts/components'
import { config } from '@layouts/config'
import { canViewNavMenuGroup } from '@layouts/plugins/casl'
import type { NavGroup } from '@layouts/types'
import { isNavGroupActive } from '@layouts/utils'
interface Props {
item: NavGroup
childrenAtEnd?: boolean
// We haven't added this prop in vertical nav because we don't need such differentiation in vertical nav for styling
isSubItem?: boolean
}
const props = withDefaults(defineProps<Props>(), {
childrenAtEnd: false,
isSubItem: false,
})
defineOptions({
name: 'HorizontalNavGroup',
})
const route = useRoute()
const router = useRouter()
const { dynamicI18nProps, isAppRtl } = useLayouts()
const isGroupActive = ref(false)
/*
Watch for route changes, more specifically route path. Do note that this won't trigger if route's query is updated.
updates isActive & isOpen based on active state of group.
*/
watch(() => route.path, () => {
const isActive = isNavGroupActive(props.item.children, router)
isGroupActive.value = isActive
}, { immediate: true })
</script>
<template>
<HorizontalNavPopper
v-if="canViewNavMenuGroup(item)"
:is-rtl="isAppRtl"
class="nav-group"
tag="li"
content-container-tag="ul"
:class="[{
'active': isGroupActive,
'children-at-end': childrenAtEnd,
'sub-item': isSubItem,
'disabled': item.disable,
}]"
:popper-inline-end="childrenAtEnd"
>
<div class="nav-group-label">
<Component
:is="config.app.iconRenderer || 'div'"
class="nav-item-icon"
v-bind="item.icon || config.verticalNav.defaultNavItemIconProps"
/>
<Component
:is="config.app.enableI18n ? 'i18n-t' : 'span'"
v-bind="dynamicI18nProps(item.title, 'span')"
class="nav-item-title"
>
{{ item.title }}
</Component>
<Component
v-bind="config.icons.chevronDown"
:is="config.app.iconRenderer || 'div'"
class="nav-group-arrow"
/>
</div>
<template #content>
<Component
:is="'children' in child ? 'HorizontalNavGroup' : HorizontalNavLink"
v-for="child in item.children"
:key="child.title"
:item="child"
children-at-end
is-sub-item
/>
</template>
</HorizontalNavPopper>
</template>
<style lang="scss">
.layout-horizontal-nav {
.nav-group {
.nav-group-label {
display: flex;
align-items: center;
cursor: pointer;
}
.popper-content {
z-index: 1;
> div {
overflow-x: hidden;
overflow-y: auto;
}
}
}
}
</style>

View File

@ -1,173 +0,0 @@
<script lang="ts" setup>
import { HorizontalNav } from '@layouts/components'
import type { HorizontalNavItems } from '@layouts/types'
// Using import from `@layouts` causing build to hangup
// import { useLayouts } from '@layouts'
import { useLayouts } from '@layouts/composable/useLayouts'
defineProps<{
navItems: HorizontalNavItems
}>()
const { y: windowScrollY } = useWindowScroll()
const { width: windowWidth } = useWindowSize()
const router = useRouter()
const shallShowPageLoading = ref(false)
router.beforeEach(() => {
shallShowPageLoading.value = true
})
router.afterEach(() => {
shallShowPageLoading.value = false
})
const { _layoutClasses: layoutClasses, isNavbarBlurEnabled } = useLayouts()
</script>
<template>
<div
class="layout-wrapper"
:class="layoutClasses(windowWidth, windowScrollY)"
>
<div
class="layout-navbar-and-nav-container"
:class="isNavbarBlurEnabled && 'header-blur'"
>
<!-- 👉 Navbar -->
<div class="layout-navbar">
<div class="navbar-content-container">
<slot name="navbar" />
</div>
</div>
<!-- 👉 Navigation -->
<div class="layout-horizontal-nav">
<div class="horizontal-nav-content-container">
<HorizontalNav :nav-items="navItems" />
</div>
</div>
</div>
<main class="layout-page-content">
<template v-if="$slots['content-loading']">
<template v-if="shallShowPageLoading">
<slot name="content-loading" />
</template>
<template v-else>
<slot />
</template>
</template>
<template v-else>
<slot />
</template>
</main>
<!-- 👉 Footer -->
<footer class="layout-footer">
<div class="footer-content-container">
<slot name="footer" />
</div>
</footer>
</div>
</template>
<style lang="scss">
@use "@configured-variables" as variables;
@use "@layouts/styles/placeholders";
@use "@layouts/styles/mixins";
.layout-wrapper {
&.layout-nav-type-horizontal {
display: flex;
flex-direction: column;
// // TODO(v2): Check why we need height in vertical nav & min-height in horizontal nav
// min-height: 100%;
min-block-size: calc(var(--vh, 1vh) * 100);
.layout-navbar-and-nav-container {
z-index: 1;
}
.layout-navbar {
z-index: variables.$layout-horizontal-nav-layout-navbar-z-index;
block-size: variables.$layout-horizontal-nav-navbar-height;
// For now we are not independently managing navbar and horizontal nav so we won't use below style to avoid conflicting with combo style of navbar and horizontal nav
// If we add independent style of navbar & horizontal nav then we have to add :not for avoiding conflict with combo styles
// .layout-navbar-sticky & {
// @extend %layout-navbar-sticky;
// }
// For now we are not independently managing navbar and horizontal nav so we won't use below style to avoid conflicting with combo style of navbar and horizontal nav
// If we add independent style of navbar & horizontal nav then we have to add :not for avoiding conflict with combo styles
// .layout-navbar-hidden & {
// @extend %layout-navbar-hidden;
// }
}
// 👉 Navbar
.navbar-content-container {
@include mixins.boxed-content;
}
// 👉 Content height fixed
&.layout-content-height-fixed {
max-block-size: calc(var(--vh) * 100);
.layout-page-content {
overflow: hidden;
> :first-child {
max-block-size: 100%;
overflow-y: auto;
}
}
}
// 👉 Footer
// Boxed content
.layout-footer {
.footer-content-container {
@include mixins.boxed-content;
}
}
}
// If both navbar & horizontal nav sticky
&.layout-navbar-sticky.horizontal-nav-sticky {
.layout-navbar-and-nav-container {
position: sticky;
inset-block-start: 0;
will-change: transform;
}
}
&.layout-navbar-hidden.horizontal-nav-hidden {
.layout-navbar-and-nav-container {
display: none;
}
}
}
// 👉 Horizontal nav nav
.layout-horizontal-nav {
z-index: variables.$layout-horizontal-nav-z-index;
// .horizontal-nav-sticky & {
// width: 100%;
// will-change: transform;
// position: sticky;
// top: 0;
// }
// .horizontal-nav-hidden & {
// display: none;
// }
.horizontal-nav-content-container {
@include mixins.boxed-content(true);
}
}
</style>

View File

@ -1,59 +0,0 @@
<script lang="ts" setup>
import { useLayouts } from '@layouts'
import { config } from '@layouts/config'
import { can } from '@layouts/plugins/casl'
import type { NavLink } from '@layouts/types'
import { getComputedNavLinkToProp, isNavLinkActive } from '@layouts/utils'
interface Props {
item: NavLink
// We haven't added this prop in vertical nav because we don't need such differentiation in vertical nav for styling
isSubItem?: boolean
}
const props = withDefaults(defineProps<Props>(), {
isSubItem: false,
})
const { dynamicI18nProps } = useLayouts()
</script>
<template>
<li
v-if="can(item.action, item.subject)"
class="nav-link"
:class="[{
'sub-item': props.isSubItem,
'disabled': item.disable,
}]"
>
<Component
:is="item.to ? 'RouterLink' : 'a'"
v-bind="getComputedNavLinkToProp(item)"
:class="{ 'router-link-active router-link-exact-active': isNavLinkActive(item, $router) }"
>
<Component
:is="config.app.iconRenderer || 'div'"
class="nav-item-icon"
v-bind="item.icon || config.verticalNav.defaultNavItemIconProps"
/>
<Component
:is="config.app.enableI18n ? 'i18n-t' : 'span'"
class="nav-item-title"
v-bind="dynamicI18nProps(item.title, 'span')"
>
{{ item.title }}
</Component>
</Component>
</li>
</template>
<style lang="scss">
.layout-horizontal-nav {
.nav-link a {
display: flex;
align-items: center;
}
}
</style>

View File

@ -1,168 +0,0 @@
<script lang="ts" setup>
import { computePosition, flip, shift } from '@floating-ui/dom'
import { useLayouts } from '@layouts/composable/useLayouts'
import { config } from '@layouts/config'
import { themeConfig } from '@themeConfig'
interface Props {
popperInlineEnd?: boolean
tag?: string
contentContainerTag?: string
isRtl?: boolean
}
const props = withDefaults(defineProps<Props>(), {
popperInlineEnd: false,
tag: 'div',
contentContainerTag: 'div',
isRTL: false,
})
const refPopperContainer = ref<HTMLElement>()
const refPopper = ref<HTMLElement>()
const popperContentStyles = ref({
left: '0px',
top: '0px',
})
const updatePopper = async () => {
const { x, y } = await computePosition(refPopperContainer.value, refPopper.value, {
placement: props.popperInlineEnd ? (props.isRtl ? 'left-start' : 'right-start') : 'bottom-start',
middleware: [
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
flip({ boundary: document.querySelector('body')! }),
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
shift({ boundary: document.querySelector('body')! }),
],
/*
Why we are not using fixed positioning?
`position: fixed` doesn't work as expected when some CSS properties like `transform` is applied on its parent element.
Docs: https://developer.mozilla.org/en-US/docs/Web/CSS/position#values <= See `fixed` value description
Hence, when we use transitions where transition apply `transform` on its parent element, fixed positioning will not work.
(Popper content moves away from the element when parent element transition)
To avoid this, we use `position: absolute` instead of `position: fixed`.
NOTE: This issue starts from third level children (Top Level > Sub item > Sub item).
*/
// strategy: 'fixed',
})
popperContentStyles.value.left = `${x}px`
popperContentStyles.value.top = `${y}px`
}
/*
💡 Only add scroll event listener for updating position once horizontal nav is made static.
We don't want to update position every time user scrolls when horizontal nav is sticky
*/
until(config.horizontalNav.type)
.toMatch(type => type === 'static')
.then(() => { useEventListener('scroll', updatePopper) })
const isContentShown = ref(false)
const showContent = () => {
isContentShown.value = true
updatePopper()
}
const hideContent = () => {
isContentShown.value = false
}
onMounted(updatePopper)
// Recalculate position when direction changes
const { isAppRtl, appContentWidth } = useLayouts()
// Recalculate popper position when it's triggerer changes its position
watch([isAppRtl, appContentWidth], updatePopper)
// Watch for route changes and close popper content if route is changed
const route = useRoute()
watch(() => route.fullPath, hideContent)
</script>
<template>
<div
class="nav-popper"
:class="[{
'popper-inline-end': popperInlineEnd,
'show-content': isContentShown,
}]"
>
<div
ref="refPopperContainer"
class="popper-triggerer"
@mouseenter="showContent"
@mouseleave="hideContent"
>
<slot />
</div>
<!-- SECTION Popper Content -->
<!-- 👉 Without transition -->
<template v-if="!themeConfig.horizontalNav.transition">
<div
ref="refPopper"
class="popper-content"
:style="popperContentStyles"
@mouseenter="showContent"
@mouseleave="hideContent"
>
<div>
<slot name="content" />
</div>
</div>
</template>
<!-- 👉 CSS Transition -->
<template v-else-if="typeof themeConfig.horizontalNav.transition === 'string'">
<Transition :name="themeConfig.horizontalNav.transition">
<div
v-show="isContentShown"
ref="refPopper"
class="popper-content"
:style="popperContentStyles"
@mouseenter="showContent"
@mouseleave="hideContent"
>
<div>
<slot name="content" />
</div>
</div>
</Transition>
</template>
<!-- 👉 Transition Component -->
<template v-else>
<Component :is="themeConfig.horizontalNav.transition">
<div
v-show="isContentShown"
ref="refPopper"
class="popper-content"
:style="popperContentStyles"
@mouseenter="showContent"
@mouseleave="hideContent"
>
<div>
<slot name="content" />
</div>
</div>
</Component>
</template>
<!-- !SECTION -->
</div>
</template>
<style lang="scss">
.popper-content {
position: absolute;
}
</style>

View File

@ -4,9 +4,11 @@ import { PerfectScrollbar } from 'vue3-perfect-scrollbar'
import { VNodeRenderer } from './VNodeRenderer'
import { injectionKeyIsVerticalNavHovered, useLayouts } from '@layouts'
import { VerticalNavGroup, VerticalNavLink, VerticalNavSectionTitle } from '@layouts/components'
import { config } from '@layouts/config'
import type { NavGroup, NavLink, NavSectionTitle, VerticalNavItems } from '@layouts/types'
import { themeConfig as config } from '@themeConfig'
interface Props {
tag?: string | Component
navItems: VerticalNavItems

View File

@ -1,15 +1,14 @@
<script lang="ts" setup>
import { injectionKeyIsVerticalNavHovered, useLayouts } from '@layouts'
import { TransitionExpand, VerticalNavLink } from '@layouts/components'
import { config } from '@layouts/config'
import { canViewNavMenuGroup } from '@layouts/plugins/casl'
import { themeConfig as config } from '@themeConfig'
import type { NavGroup } from '@layouts/types'
import { isNavGroupActive, openGroups } from '@layouts/utils'
const props = defineProps<{
item: NavGroup
}>()
defineOptions({
name: 'VerticalNavGroup',
})
@ -172,7 +171,6 @@ watch(isVerticalNavMini(windowWidth, isVerticalNavHovered), val => {
<template>
<li
v-if="canViewNavMenuGroup(item)"
class="nav-group"
:class="[
{

View File

@ -1,7 +1,6 @@
<script lang="ts" setup>
import { useLayouts } from '@layouts'
import { config } from '@layouts/config'
import { can } from '@layouts/plugins/casl'
import { themeConfig as config } from '@themeConfig'
import type { NavLink } from '@layouts/types'
import { getComputedNavLinkToProp, isNavLinkActive } from '@layouts/utils'
@ -16,7 +15,7 @@ const hideTitleAndBadge = isVerticalNavMini(windowWidth)
</script>
<template>
<li v-if="can(item.action, item.subject)" class="nav-link" :class="{ disabled: item.disable }">
<li class="nav-link" :class="{ disabled: item.disable }">
<Component :is="item.to ? 'RouterLink' : 'a'" v-bind="getComputedNavLinkToProp(item)"
:class="{ 'router-link-active router-link-exact-active': isNavLinkActive(item, $router) }">
<Component :is="config.app.iconRenderer || 'div'" v-bind="item.icon || config.verticalNav.defaultNavItemIconProps"

View File

@ -1,7 +1,6 @@
<script lang="ts" setup>
import { useLayouts } from '@layouts'
import { config } from '@layouts/config'
import { can } from '@layouts/plugins/casl'
import { themeConfig as config } from '@themeConfig'
import type { NavSectionTitle } from '@layouts/types'
defineProps<{
@ -14,10 +13,7 @@ const shallRenderIcon = isVerticalNavMini(windowWidth)
</script>
<template>
<li
v-if="can(item.action, item.subject)"
class="nav-section-title"
>
<li class="nav-section-title">
<div class="title-wrapper">
<Transition
name="vertical-nav-section-title"

View File

@ -1,7 +1,7 @@
import type { MaybeRef } from '@vueuse/shared'
import type { Ref } from 'vue'
import { AppContentLayoutNav, NavbarType } from '../enums'
import { config } from '@layouts/config'
import { themeConfig as config } from '@themeConfig'
import { injectionKeyIsVerticalNavHovered } from '@layouts'
export const useLayouts = () => {

View File

@ -1,37 +0,0 @@
import { breakpointsVuetify } from '@vueuse/core'
import { AppContentLayoutNav, ContentWidth, FooterType, NavbarType } from '@layouts/enums'
import type { Config } from '@layouts/types'
export const config: Config = {
app: {
title: 'Title',
logo: h('img', { src: '/src/assets/logo.svg' }),
// logo: () => h('img', { src: 'assets/colored-logo.png' }, null),
contentWidth: ref(ContentWidth.Boxed),
contentLayoutNav: ref(AppContentLayoutNav.Vertical),
overlayNavFromBreakpoint: breakpointsVuetify.md,
enableI18n: true,
isRtl: ref(false),
},
navbar: {
type: ref(NavbarType.Sticky),
navbarBlur: ref(true),
},
footer: { type: ref(FooterType.Static) },
verticalNav: {
isVerticalNavCollapsed: ref(false),
defaultNavItemIconProps: { icon: 'mdi-circle-outline' },
},
horizontalNav: {
type: ref('sticky'),
},
icons: {
chevronDown: { icon: 'mdi-chevron-down' },
chevronRight: { icon: 'mdi-chevron-right' },
close: { icon: 'mdi-close' },
verticalNavPinned: { icon: 'mdi-record-circle-outline' },
verticalNavUnPinned: { icon: 'mdi-radiobox-blank' },
sectionTitlePlaceholder: { icon: 'mdi-minus' },
},
}

View File

@ -1,6 +1,6 @@
import type { InjectionKey, Plugin, Ref } from 'vue'
import { useDynamicVhCssProperty } from './composable/useDynamicVhCssProperty'
import { config } from './config'
import { themeConfig as config } from '@themeConfig'
import { ContentWidth } from './enums'
import type { UserConfig } from './types'
import { useLayouts } from '@layouts'
@ -41,7 +41,7 @@ export const createLayouts = (userConfig: UserConfig): Plugin => {
config.verticalNav.defaultNavItemIconProps = userConfig.verticalNav.defaultNavItemIconProps
config.horizontalNav.type.value = userConfig.horizontalNav.type
// config.horizontalNav.type.value = userConfig.horizontalNav.type
config.icons.chevronDown = userConfig.icons.chevronDown
config.icons.chevronRight = userConfig.icons.chevronRight

View File

@ -1,51 +0,0 @@
import type { RouteLocationNormalized } from "vue-router";
import ability from "@/plugins/vuetify/casl/ability";
import type { NavGroup } from "@layouts/types";
/**
* Returns ability result if ACL is configured or else just return true
* We should allow passing string | undefined to can because for admin ability we omit defining action & subject
*
* Useful if you don't know if ACL is configured or not
* Used in @core files to handle absence of ACL without errors
*
* @param {String} action CASL Actions // https://casl.js.org/v4/en/guide/intro#basics
* @param {String} subject CASL Subject // https://casl.js.org/v4/en/guide/intro#basics
*/
export const can = (
action: string | undefined,
subject: string | undefined
) => {
const vm = getCurrentInstance();
if (!vm) return false;
const localCan = vm.proxy && "$can" in vm.proxy;
// @ts-expect-error We will get TS error in below line because we aren't using $can in component instance
return localCan ? vm.proxy?.$can(action, subject) : true;
};
/**
* Check if user can view item based on it's ability
* Based on item's action and subject & Hide group if all of it's children are hidden
* @param {Object} item navigation object item
*/
export const canViewNavMenuGroup = (item: NavGroup) => {
const hasAnyVisibleChild = item.children.some((i) =>
can(i.action, i.subject)
);
// If subject and action is defined in item => Return based on children visibility (Hide group if no child is visible)
// Else check for ability using provided subject and action along with checking if has any visible child
if (!(item.action && item.subject)) return hasAnyVisibleChild;
return can(item.action, item.subject) && hasAnyVisibleChild;
};
export const canNavigate = (to: RouteLocationNormalized) => {
// @ts-expect-error We should allow passing string | undefined to can because for admin ability we omit defining action & subject
return to.matched.some((route) =>
ability.can(route.meta.action, route.meta.subject)
);
};

View File

@ -24,10 +24,6 @@ export interface UserConfig {
isVerticalNavCollapsed: boolean
defaultNavItemIconProps: unknown
}
horizontalNav: {
type: 'sticky' | 'static' | 'hidden'
transition?: string | Component
}
icons: {
chevronDown: any
chevronRight: any
@ -64,10 +60,10 @@ export interface Config {
isVerticalNavCollapsed: Ref<UserConfig['verticalNav']['isVerticalNavCollapsed']>
defaultNavItemIconProps: UserConfig['verticalNav']['defaultNavItemIconProps']
}
horizontalNav: {
type: Ref<UserConfig['horizontalNav']['type']>
transition?: UserConfig['horizontalNav']['transition']
}
// horizontalNav: {
// type: Ref<UserConfig['horizontalNav']['type']>
// transition?: UserConfig['horizontalNav']['transition']
// }
icons: {
chevronDown: UserConfig['icons']['chevronDown']
chevronRight: UserConfig['icons']['chevronRight']

View File

@ -1,16 +0,0 @@
import type { AbilityClass } from '@casl/ability'
import { Ability } from '@casl/ability'
export type Actions = 'create' | 'read' | 'update' | 'delete' | 'manage'
export type Subjects = 'Auth' | 'Admin' | 'AclDemo' | 'all'
export type AppAbility = Ability<[Actions, Subjects]>
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const AppAbility = Ability as AbilityClass<AppAbility>
export interface UserAbility {
action: Actions
subject: Subjects
}

View File

@ -1,18 +0,0 @@
import { Ability } from '@casl/ability'
import type { UserAbility } from './AppAbility'
export const initialAbility: UserAbility[] = [
{
action: 'read',
subject: 'Auth',
},
]
// Read ability from localStorage
// 👉 Handles auto fetching previous abilities if already logged in user
// You can update this if you store user abilities to more secure place
// ❗ Anyone can update localStorage so be careful and please update this
const stringifiedUserAbilities = localStorage.getItem('userAbilities')
const existingAbility = stringifiedUserAbilities ? JSON.parse(stringifiedUserAbilities) : null
export default new Ability(existingAbility || initialAbility)

View File

@ -1,8 +0,0 @@
import type { AppAbility } from './AppAbility'
declare module 'vue' {
interface ComponentCustomProperties {
$ability: AppAbility
$can(this: this, ...args: Parameters<this['$ability']['can']>): boolean
}
}

View File

@ -1,4 +0,0 @@
import { useAbility } from '@casl/vue'
import type { AppAbility } from './AppAbility'
export const useAppAbility = () => useAbility<AppAbility>()

View File

@ -1,14 +0,0 @@
import type { HorizontalNavItems } from '@layouts/types'
export default [
{
title: 'Home',
to: { name: 'index' },
icon: { icon: 'mdi-home-outline' },
},
{
title: 'Second page',
to: { name: 'second-page' },
icon: { icon: 'mdi-file-document-outline' },
},
] as HorizontalNavItems

View File

@ -1,15 +0,0 @@
<template>
<div class="about">
<h1>This is an about page</h1>
</div>
</template>
<style>
@media (min-width: 1024px) {
.about {
min-height: 100vh;
display: flex;
align-items: center;
}
}
</style>

View File

@ -1,15 +0,0 @@
<script lang="ts" setup>
const theme = 'light'
</script>
<template>
<v-app :theme="theme">
<v-navigation-drawer>...</v-navigation-drawer>
<v-app-bar>pp
</v-app-bar>
<v-main>
<v-container><router-view/></v-container>
</v-main>
<v-footer> footer </v-footer>
</v-app>
</template>

View File

@ -1,9 +0,0 @@
<script setup lang="ts">
import TheWelcome from '../components/TheWelcome.vue'
</script>
<template>
<main>
<TheWelcome />
</main>
</template>

View File

@ -3,7 +3,7 @@ import { breakpointsVuetify } from '@vueuse/core'
import { VIcon } from 'vuetify/components'
// ❗ Logo SVG must be imported with ?raw suffix
import logo from '@/plugins/vuetify/images/logo.svg?raw'
// import logo from '@/assets/logo.svg?raw'
import { defineThemeConfig } from '@/plugins/vuetify/@core'
import { RouteTransitions, Skins } from '@/plugins/vuetify/@core/enums'
@ -11,10 +11,11 @@ import { AppContentLayoutNav, ContentWidth, FooterType, NavbarType } from '@layo
export const { themeConfig, layoutConfig } = defineThemeConfig({
app: {
title: 'Ping Dashboard',
title: 'Ping.pub',
// ❗ if you have SVG logo and want it to adapt according to theme color, you have to apply color as `color: rgb(var(--v-global-theme-primary))`
logo: h('div', { innerHTML: logo, style: 'line-height:0; color: rgb(var(--v-global-theme-primary))' }),
// logo: h('div', { innerHTML: logo, style: 'line-height:0; color: rgb(var(--v-global-theme-primary))' }),
logo: h('img', {src: '/logo.svg', width: 50, height: 50}),
contentWidth: ContentWidth.Boxed,
contentLayoutNav: AppContentLayoutNav.Vertical,
overlayNavFromBreakpoint: breakpointsVuetify.md + 16, // 16 for scrollbar. Docs: https://next.vuetifyjs.com/en/features/display-and-platform/

View File

@ -21,7 +21,7 @@ export default defineConfig({
},
}),
Pages({
dirs: ["./src/pages", "./src/modules"],
dirs: ["./src/modules", "./src/pages", ],
}),
Layouts({
layoutsDirs: "./src/layouts/",

View File

@ -2719,6 +2719,13 @@ create-require@^1.1.1:
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
cross-fetch@^3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f"
integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==
dependencies:
node-fetch "2.6.7"
cross-spawn@^6.0.5:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
@ -5119,6 +5126,13 @@ node-fetch-native@^1.0.1:
resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.0.1.tgz#1dfe78f57545d07e07016b7df4c0cb9d2ff416c7"
integrity sha512-VzW+TAk2wE4X9maiKMlT+GsPU4OMmR1U9CrHSmd3DFLn2IcZ9VJ6M6BBugGfYUnPCLSYxXdZy17M0BEJyhUTwg==
node-fetch@2.6.7:
version "2.6.7"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
dependencies:
whatwg-url "^5.0.0"
node-fetch@^2.6.1, node-fetch@^2.6.7:
version "2.6.9"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.9.tgz#7c7f744b5cc6eb5fd404e0c7a9fec630a55657e6"