create-nuxt-base 1.2.0 → 2.0.0
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/CHANGELOG.md +33 -0
- package/nuxt-base-template/app/components/Modal/ModalBackupCodes.vue +2 -1
- package/nuxt-base-template/app/components/Upload/TusFileUpload.vue +7 -7
- package/nuxt-base-template/app/interfaces/user.interface.ts +5 -12
- package/nuxt-base-template/app/layouts/default.vue +1 -1
- package/nuxt-base-template/app/middleware/admin.global.ts +2 -2
- package/nuxt-base-template/app/middleware/auth.global.ts +2 -2
- package/nuxt-base-template/app/middleware/guest.global.ts +2 -2
- package/nuxt-base-template/app/pages/app/index.vue +1 -1
- package/nuxt-base-template/app/pages/app/settings/security.vue +2 -2
- package/nuxt-base-template/app/pages/auth/2fa.vue +2 -3
- package/nuxt-base-template/app/pages/auth/forgot-password.vue +2 -1
- package/nuxt-base-template/app/pages/auth/login.vue +2 -2
- package/nuxt-base-template/app/pages/auth/register.vue +1 -1
- package/nuxt-base-template/app/pages/auth/reset-password.vue +2 -1
- package/nuxt-base-template/docs/pages/docs.vue +1 -1
- package/nuxt-base-template/nuxt.config.ts +38 -1
- package/nuxt-base-template/package-lock.json +136 -2905
- package/nuxt-base-template/package.json +1 -0
- package/package.json +1 -1
- package/nuxt-base-template/app/components/Transition/TransitionFade.vue +0 -27
- package/nuxt-base-template/app/components/Transition/TransitionFadeScale.vue +0 -27
- package/nuxt-base-template/app/components/Transition/TransitionSlide.vue +0 -12
- package/nuxt-base-template/app/components/Transition/TransitionSlideBottom.vue +0 -12
- package/nuxt-base-template/app/components/Transition/TransitionSlideRevert.vue +0 -12
- package/nuxt-base-template/app/composables/use-better-auth.ts +0 -597
- package/nuxt-base-template/app/composables/use-file.ts +0 -71
- package/nuxt-base-template/app/composables/use-share.ts +0 -38
- package/nuxt-base-template/app/composables/use-tus-upload.ts +0 -278
- package/nuxt-base-template/app/composables/use-tw.ts +0 -1
- package/nuxt-base-template/app/interfaces/upload.interface.ts +0 -58
- package/nuxt-base-template/app/lib/auth-client.ts +0 -229
- package/nuxt-base-template/app/lib/auth-state.ts +0 -206
- package/nuxt-base-template/app/plugins/auth-interceptor.client.ts +0 -151
- package/nuxt-base-template/app/utils/crypto.ts +0 -44
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const props = withDefaults(
|
|
3
|
-
defineProps<{
|
|
4
|
-
leaveDuration?: `${number}` | number;
|
|
5
|
-
startDuration?: `${number}` | number;
|
|
6
|
-
}>(),
|
|
7
|
-
{
|
|
8
|
-
leaveDuration: 100,
|
|
9
|
-
startDuration: 100,
|
|
10
|
-
},
|
|
11
|
-
);
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<div :style="`--start-duration: ${props.startDuration}ms; --leave-duration: ${props.leaveDuration}ms;`">
|
|
16
|
-
<Transition
|
|
17
|
-
enter-active-class="transition ease-out duration-[--start-duration]"
|
|
18
|
-
enter-from-class="transform opacity-0"
|
|
19
|
-
enter-to-class="transform opacity-100"
|
|
20
|
-
leave-active-class="transition ease-in duration-[--leave-duration]"
|
|
21
|
-
leave-from-class="transform opacity-100"
|
|
22
|
-
leave-to-class="transform opacity-0"
|
|
23
|
-
>
|
|
24
|
-
<slot></slot>
|
|
25
|
-
</Transition>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const props = withDefaults(
|
|
3
|
-
defineProps<{
|
|
4
|
-
leaveDuration?: `${number}` | number;
|
|
5
|
-
startDuration?: `${number}` | number;
|
|
6
|
-
}>(),
|
|
7
|
-
{
|
|
8
|
-
leaveDuration: 100,
|
|
9
|
-
startDuration: 100,
|
|
10
|
-
},
|
|
11
|
-
);
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<div :style="`--start-duration: ${props.startDuration}ms; --leave-duration: ${props.leaveDuration}ms;`">
|
|
16
|
-
<Transition
|
|
17
|
-
enter-active-class="transition ease-out duration-[--start-duration]"
|
|
18
|
-
enter-from-class="transform opacity-0 scale-95"
|
|
19
|
-
enter-to-class="transform opacity-100 scale-100"
|
|
20
|
-
leave-active-class="transition ease-in duration-[--leave-duration]"
|
|
21
|
-
leave-from-class="transform opacity-100 scale-100"
|
|
22
|
-
leave-to-class="transform opacity-0 scale-95"
|
|
23
|
-
>
|
|
24
|
-
<slot></slot>
|
|
25
|
-
</Transition>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Transition
|
|
3
|
-
enter-active-class="transition ease-out duration-500"
|
|
4
|
-
enter-from-class="transform translate-x-full"
|
|
5
|
-
enter-to-class="transform translate-x-0"
|
|
6
|
-
leave-active-class="transition ease-in duration-500"
|
|
7
|
-
leave-from-class="transform translate-x-0"
|
|
8
|
-
leave-to-class="transform translate-x-full"
|
|
9
|
-
>
|
|
10
|
-
<slot></slot>
|
|
11
|
-
</Transition>
|
|
12
|
-
</template>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Transition
|
|
3
|
-
enter-active-class="transition ease-out duration-500"
|
|
4
|
-
enter-from-class="transform translate-y-full"
|
|
5
|
-
enter-to-class="transform translate-y-0"
|
|
6
|
-
leave-active-class="transition ease-in duration-500"
|
|
7
|
-
leave-from-class="transform translate-y-0"
|
|
8
|
-
leave-to-class="transform translate-y-full"
|
|
9
|
-
>
|
|
10
|
-
<slot></slot>
|
|
11
|
-
</Transition>
|
|
12
|
-
</template>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Transition
|
|
3
|
-
enter-active-class="transition ease-out duration-500"
|
|
4
|
-
enter-from-class="transform translate-x-[-100%]"
|
|
5
|
-
enter-to-class="transform translate-x-0"
|
|
6
|
-
leave-active-class="transition ease-in duration-500"
|
|
7
|
-
leave-from-class="transform translate-x-0"
|
|
8
|
-
leave-to-class="transform translate-x-[-100%]"
|
|
9
|
-
>
|
|
10
|
-
<slot></slot>
|
|
11
|
-
</Transition>
|
|
12
|
-
</template>
|