Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
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="flex-col-center dark:bg-background-deep bg-background relative px-6 py-10 lg:flex-initial lg:px-8"
|
|
>
|
|
<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="text-muted-foreground absolute bottom-3 flex text-center text-xs"
|
|
>
|
|
<slot name="copyright"> </slot>
|
|
</div>
|
|
</div>
|
|
</template>
|