* chore: update deps * feat: use jsonc/x language * chore: update eslint 10.0 * fix: no-useless-assignment * feat: add CLAUDE.md * chore: ignore * feat: claude * fix: lint * chore: suppot eslint v10 * fix: lint * fix: lint * fix: type check * fix: unit test * fix: Suggested fix * fix: unit test * chore: update stylelint v17 * chore: update all major deps * fix: echarts console warn * chore: update vitest v4 * feat: add skills ignores * chore: update deps * chore: update deps * fix: cspell * chore: update deps * chore: update tailwindcss v4 * chore: remove postcss config * fix: no use catalog * chore: tailwind v4 config * fix: tailwindcss v4 sort * feat: use eslint-plugin-better-tailwindcss * fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier * fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier * fix(lint): resolve prettier and better-tailwindcss formatting conflicts * fix(tailwind): update theme references and lint sources * style(format): normalize apps docs and playground vue files * style(format): normalize core ui-kit components * style(format): normalize effects ui and layout components
39 lines
966 B
Vue
39 lines
966 B
Vue
<script setup lang="ts">
|
|
defineOptions({
|
|
name: 'AuthenticationFormView',
|
|
});
|
|
|
|
defineProps<{
|
|
dataSide?: 'bottom' | 'left' | 'right' | 'top';
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
class="relative flex-col-center bg-background px-6 py-10 lg:flex-initial lg:px-8 dark:bg-background-deep"
|
|
>
|
|
<slot></slot>
|
|
<!-- Router View with Transition and KeepAlive -->
|
|
<RouterView v-slot="{ Component, route }">
|
|
<Transition appear mode="out-in" name="slide-right">
|
|
<KeepAlive :include="['Login']">
|
|
<component
|
|
:is="Component"
|
|
:key="route.fullPath"
|
|
class="side-content mt-6 w-full sm:mx-auto md:max-w-md"
|
|
:data-side="dataSide"
|
|
/>
|
|
</KeepAlive>
|
|
</Transition>
|
|
</RouterView>
|
|
|
|
<!-- Footer Copyright -->
|
|
|
|
<div
|
|
class="absolute bottom-3 flex text-center text-xs text-muted-foreground"
|
|
>
|
|
<slot name="copyright"> </slot>
|
|
</div>
|
|
</div>
|
|
</template>
|