mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 00:18:20 +01:00
chore: ⬆️ Upgrade to Nuxt 4
Some checks failed
Some checks failed
This commit is contained in:
parent
8debe97f63
commit
7f7cf20311
|
|
@ -15,10 +15,10 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { convert } from "html-to-text";
|
import { convert } from "html-to-text";
|
||||||
|
import { overwriteGetLocale } from "../paraglide/runtime";
|
||||||
import ConfirmationModal from "./components/modals/confirm.vue";
|
import ConfirmationModal from "./components/modals/confirm.vue";
|
||||||
import { Toaster } from "./components/ui/sonner";
|
import { Toaster } from "./components/ui/sonner";
|
||||||
import { TooltipProvider } from "./components/ui/tooltip";
|
import { TooltipProvider } from "./components/ui/tooltip";
|
||||||
import { overwriteGetLocale } from "./paraglide/runtime";
|
|
||||||
|
|
||||||
// Sin
|
// Sin
|
||||||
//import "~/styles/mcdonalds.css";
|
//import "~/styles/mcdonalds.css";
|
||||||
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
|
@ -52,7 +52,7 @@ import {
|
||||||
Smile,
|
Smile,
|
||||||
TriangleAlert,
|
TriangleAlert,
|
||||||
} from "lucide-vue-next";
|
} from "lucide-vue-next";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import { Button } from "../ui/button";
|
import { Button } from "../ui/button";
|
||||||
import { Toggle } from "../ui/toggle";
|
import { Toggle } from "../ui/toggle";
|
||||||
import ComposerButton from "./button.vue";
|
import ComposerButton from "./button.vue";
|
||||||
|
|
@ -4,7 +4,7 @@ import { AtSign, Globe, Lock, LockOpen } from "lucide-vue-next";
|
||||||
import type { FunctionalComponent } from "vue";
|
import type { FunctionalComponent } from "vue";
|
||||||
import { toast } from "vue-sonner";
|
import { toast } from "vue-sonner";
|
||||||
import type { z } from "zod";
|
import type { z } from "zod";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
export interface ComposerState {
|
export interface ComposerState {
|
||||||
relation?: {
|
relation?: {
|
||||||
|
|
@ -8,7 +8,7 @@ import {
|
||||||
DialogDescription,
|
DialogDescription,
|
||||||
DialogTitle,
|
DialogTitle,
|
||||||
} from "@/components/ui/dialog";
|
} from "@/components/ui/dialog";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import Composer from "./composer.vue";
|
import Composer from "./composer.vue";
|
||||||
|
|
||||||
useListen("composer:open", () => {
|
useListen("composer:open", () => {
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
import { LogIn } from "lucide-vue-next";
|
import { LogIn } from "lucide-vue-next";
|
||||||
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
|
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
|
||||||
import { Button } from "~/components/ui/button";
|
import { Button } from "~/components/ui/button";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const appData = useAppData();
|
const appData = useAppData();
|
||||||
const signInAction = async () => signIn(appData, await askForInstance());
|
const signInAction = async () => signIn(appData, await askForInstance());
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
|
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style></style>
|
<style></style>
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
|
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style></style>
|
<style></style>
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
|
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style></style>
|
<style></style>
|
||||||
|
|
@ -12,7 +12,7 @@ import {
|
||||||
import { Input } from "@/components/ui/input";
|
import { Input } from "@/components/ui/input";
|
||||||
import { Label } from "@/components/ui/label";
|
import { Label } from "@/components/ui/label";
|
||||||
import { Textarea } from "@/components/ui/textarea";
|
import { Textarea } from "@/components/ui/textarea";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import type { ConfirmModalOptions, ConfirmModalResult } from "./composable.ts";
|
import type { ConfirmModalOptions, ConfirmModalResult } from "./composable.ts";
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
|
|
@ -12,7 +12,7 @@ import {
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { Input, UrlInput } from "@/components/ui/input";
|
import { Input, UrlInput } from "@/components/ui/input";
|
||||||
import { Textarea } from "@/components/ui/textarea";
|
import { Textarea } from "@/components/ui/textarea";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import {
|
import {
|
||||||
type ConfirmModalOptions,
|
type ConfirmModalOptions,
|
||||||
type ConfirmModalResult,
|
type ConfirmModalResult,
|
||||||
|
|
@ -30,6 +30,6 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Bell, Home, Pen, User } from "lucide-vue-next";
|
import { Bell, Home, Pen, User } from "lucide-vue-next";
|
||||||
import { NuxtLink } from "#components";
|
import { NuxtLink } from "#components";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import { Button } from "../ui/button";
|
import { Button } from "../ui/button";
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
import { BedSingle, Globe, House, MapIcon } from "lucide-vue-next";
|
import { BedSingle, Globe, House, MapIcon } from "lucide-vue-next";
|
||||||
import { NuxtLink } from "#components";
|
import { NuxtLink } from "#components";
|
||||||
import { Tabs, TabsList, TabsTrigger } from "~/components/ui/tabs";
|
import { Tabs, TabsList, TabsTrigger } from "~/components/ui/tabs";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const timelines = [
|
const timelines = [
|
||||||
{
|
{
|
||||||
|
|
@ -24,8 +24,8 @@ import type { CustomEmoji, Status } from "@versia/client/schemas";
|
||||||
import { Ellipsis, Heart, Quote, Repeat, Reply, Smile } from "lucide-vue-next";
|
import { Ellipsis, Heart, Quote, Repeat, Reply, Smile } from "lucide-vue-next";
|
||||||
import { toast } from "vue-sonner";
|
import { toast } from "vue-sonner";
|
||||||
import type { z } from "zod";
|
import type { z } from "zod";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import { getLocale } from "~/paraglide/runtime";
|
import { getLocale } from "~~/paraglide/runtime";
|
||||||
import { confirmModalService } from "../modals/composable";
|
import { confirmModalService } from "../modals/composable";
|
||||||
import ActionButton from "./action-button.vue";
|
import ActionButton from "./action-button.vue";
|
||||||
import Menu from "./menu.vue";
|
import Menu from "./menu.vue";
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { TriangleAlert } from "lucide-vue-next";
|
import { TriangleAlert } from "lucide-vue-next";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import { Alert, AlertDescription, AlertTitle } from "../ui/alert";
|
import { Alert, AlertDescription, AlertTitle } from "../ui/alert";
|
||||||
import { Button } from "../ui/button";
|
import { Button } from "../ui/button";
|
||||||
|
|
||||||
|
|
@ -45,12 +45,11 @@ import type {
|
||||||
import { AtSign, Globe, Lock, LockOpen } from "lucide-vue-next";
|
import { AtSign, Globe, Lock, LockOpen } from "lucide-vue-next";
|
||||||
import type { z } from "zod";
|
import type { z } from "zod";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import { getLocale } from "~/paraglide/runtime";
|
import { getLocale } from "~~/paraglide/runtime";
|
||||||
import Address from "../profiles/address.vue";
|
import Address from "../profiles/address.vue";
|
||||||
import Avatar from "../profiles/avatar.vue";
|
import Avatar from "../profiles/avatar.vue";
|
||||||
import SmallCard from "../profiles/small-card.vue";
|
import SmallCard from "../profiles/small-card.vue";
|
||||||
import Col from "../typography/layout/col.vue";
|
import Col from "../typography/layout/col.vue";
|
||||||
import Row from "../typography/layout/row.vue";
|
|
||||||
import Text from "../typography/text.vue";
|
import Text from "../typography/text.vue";
|
||||||
import {
|
import {
|
||||||
HoverCard,
|
HoverCard,
|
||||||
|
|
@ -20,7 +20,7 @@ import {
|
||||||
DropdownMenuTrigger,
|
DropdownMenuTrigger,
|
||||||
} from "@/components/ui/dropdown-menu";
|
} from "@/components/ui/dropdown-menu";
|
||||||
import { confirmModalService } from "~/components/modals/composable.ts";
|
import { confirmModalService } from "~/components/modals/composable.ts";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const { authorId, noteId } = defineProps<{
|
const { authorId, noteId } = defineProps<{
|
||||||
apiNoteString: string;
|
apiNoteString: string;
|
||||||
|
|
@ -17,8 +17,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import { getLocale } from "~/paraglide/runtime";
|
import { getLocale } from "~~/paraglide/runtime";
|
||||||
import { Button } from "../ui/button";
|
import { Button } from "../ui/button";
|
||||||
|
|
||||||
const { characterCount = 0 } = defineProps<{
|
const { characterCount = 0 } = defineProps<{
|
||||||
|
|
@ -44,8 +44,8 @@ import {
|
||||||
HoverCardContent,
|
HoverCardContent,
|
||||||
HoverCardTrigger,
|
HoverCardTrigger,
|
||||||
} from "~/components/ui/hover-card";
|
} from "~/components/ui/hover-card";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import { getLocale } from "~/paraglide/runtime.js";
|
import { getLocale } from "~~/paraglide/runtime.js";
|
||||||
|
|
||||||
const { reaction, emoji, statusId } = defineProps<{
|
const { reaction, emoji, statusId } = defineProps<{
|
||||||
statusId: string;
|
statusId: string;
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
import type { CustomEmoji } from "@versia/client/schemas";
|
import type { CustomEmoji } from "@versia/client/schemas";
|
||||||
import { Repeat } from "lucide-vue-next";
|
import { Repeat } from "lucide-vue-next";
|
||||||
import type { z } from "zod";
|
import type { z } from "zod";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import Avatar from "../profiles/avatar.vue";
|
import Avatar from "../profiles/avatar.vue";
|
||||||
import { Card } from "../ui/card";
|
import { Card } from "../ui/card";
|
||||||
|
|
||||||
|
|
@ -34,7 +34,7 @@ import { Check, Loader, X } from "lucide-vue-next";
|
||||||
import { toast } from "vue-sonner";
|
import { toast } from "vue-sonner";
|
||||||
import type { z } from "zod";
|
import type { z } from "zod";
|
||||||
import { Button } from "~/components/ui/button";
|
import { Button } from "~/components/ui/button";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import Address from "../profiles/address.vue";
|
import Address from "../profiles/address.vue";
|
||||||
import Avatar from "../profiles/avatar.vue";
|
import Avatar from "../profiles/avatar.vue";
|
||||||
|
|
||||||
|
|
@ -78,7 +78,7 @@ import {
|
||||||
TooltipContent,
|
TooltipContent,
|
||||||
TooltipTrigger,
|
TooltipTrigger,
|
||||||
} from "~/components/ui/tooltip";
|
} from "~/components/ui/tooltip";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import Note from "../notes/note.vue";
|
import Note from "../notes/note.vue";
|
||||||
import Avatar from "../profiles/avatar.vue";
|
import Avatar from "../profiles/avatar.vue";
|
||||||
import FollowRequest from "./follow-request.vue";
|
import FollowRequest from "./follow-request.vue";
|
||||||
|
|
@ -13,7 +13,7 @@ import {
|
||||||
} from "@/components/ui/form";
|
} from "@/components/ui/form";
|
||||||
import { Button } from "~/components/ui/button";
|
import { Button } from "~/components/ui/button";
|
||||||
import { Input } from "~/components/ui/input";
|
import { Input } from "~/components/ui/input";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const { instance } = defineProps<{
|
const { instance } = defineProps<{
|
||||||
instance: z.infer<typeof Instance>;
|
instance: z.infer<typeof Instance>;
|
||||||
|
|
@ -15,7 +15,7 @@ import {
|
||||||
DialogHeader,
|
DialogHeader,
|
||||||
DialogTitle,
|
DialogTitle,
|
||||||
} from "@/components/ui/dialog";
|
} from "@/components/ui/dialog";
|
||||||
import pkg from "~/package.json";
|
import pkg from "~~/package.json";
|
||||||
import Avatar from "../profiles/avatar.vue";
|
import Avatar from "../profiles/avatar.vue";
|
||||||
import TinyCard from "../profiles/tiny-card.vue";
|
import TinyCard from "../profiles/tiny-card.vue";
|
||||||
import { Separator } from "../ui/separator";
|
import { Separator } from "../ui/separator";
|
||||||
|
|
@ -24,7 +24,7 @@ import {
|
||||||
DropdownMenuItem,
|
DropdownMenuItem,
|
||||||
DropdownMenuTrigger,
|
DropdownMenuTrigger,
|
||||||
} from "~/components/ui/dropdown-menu";
|
} from "~/components/ui/dropdown-menu";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const { emojis } = defineProps<{
|
const { emojis } = defineProps<{
|
||||||
emojis: z.infer<typeof CustomEmoji>[];
|
emojis: z.infer<typeof CustomEmoji>[];
|
||||||
|
|
@ -36,7 +36,7 @@ import {
|
||||||
DropdownMenuItem,
|
DropdownMenuItem,
|
||||||
DropdownMenuTrigger,
|
DropdownMenuTrigger,
|
||||||
} from "~/components/ui/dropdown-menu";
|
} from "~/components/ui/dropdown-menu";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const { emoji } = defineProps<{
|
const { emoji } = defineProps<{
|
||||||
emoji: z.infer<typeof CustomEmoji>;
|
emoji: z.infer<typeof CustomEmoji>;
|
||||||
|
|
@ -186,7 +186,7 @@ import {
|
||||||
import { Input } from "~/components/ui/input";
|
import { Input } from "~/components/ui/input";
|
||||||
import { Switch } from "~/components/ui/switch";
|
import { Switch } from "~/components/ui/switch";
|
||||||
import { Textarea } from "~/components/ui/textarea";
|
import { Textarea } from "~/components/ui/textarea";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const open = ref(false);
|
const open = ref(false);
|
||||||
const permissions = usePermissions();
|
const permissions = usePermissions();
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import {
|
import {
|
||||||
BooleanPreference,
|
BooleanPreference,
|
||||||
CodePreference,
|
CodePreference,
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { toTypedSchema } from "@vee-validate/zod";
|
import { toTypedSchema } from "@vee-validate/zod";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const characterRegex = new RegExp(/^[a-z0-9_-]+$/);
|
const characterRegex = new RegExp(/^[a-z0-9_-]+$/);
|
||||||
|
|
||||||
|
|
@ -72,7 +72,7 @@ import { useForm } from "vee-validate";
|
||||||
import { toast } from "vue-sonner";
|
import { toast } from "vue-sonner";
|
||||||
import SwitchInput from "~/components/form/switch.vue";
|
import SwitchInput from "~/components/form/switch.vue";
|
||||||
import TextInput from "~/components/form/text.vue";
|
import TextInput from "~/components/form/text.vue";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import { Alert, AlertDescription, AlertTitle } from "../ui/alert";
|
import { Alert, AlertDescription, AlertTitle } from "../ui/alert";
|
||||||
import { Button } from "../ui/button";
|
import { Button } from "../ui/button";
|
||||||
import { FormField } from "../ui/form";
|
import { FormField } from "../ui/form";
|
||||||
|
|
@ -41,7 +41,7 @@ import {
|
||||||
FormMessage,
|
FormMessage,
|
||||||
} from "~/components/ui/form";
|
} from "~/components/ui/form";
|
||||||
import { Input } from "~/components/ui/input";
|
import { Input } from "~/components/ui/input";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const { title } = defineProps<{
|
const { title } = defineProps<{
|
||||||
title: string;
|
title: string;
|
||||||
|
|
@ -166,7 +166,7 @@ import {
|
||||||
import { Input } from "~/components/ui/input";
|
import { Input } from "~/components/ui/input";
|
||||||
import { Label } from "~/components/ui/label";
|
import { Label } from "~/components/ui/label";
|
||||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "~/components/ui/tabs";
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "~/components/ui/tabs";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const { maxSize } = defineProps<{
|
const { maxSize } = defineProps<{
|
||||||
displayName?: string;
|
displayName?: string;
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<script lang="tsx" setup>
|
<script lang="tsx" setup>
|
||||||
import type { VNode } from "vue";
|
import type { VNode } from "vue";
|
||||||
import pkg from "~/package.json";
|
import pkg from "~~/package.json";
|
||||||
import { Card } from "../ui/card";
|
import { Card } from "../ui/card";
|
||||||
|
|
||||||
const data: [string, string | VNode][] = [
|
const data: [string, string | VNode][] = [
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
import Text from "../typography/text.vue";
|
import Text from "../typography/text.vue";
|
||||||
|
|
||||||
const { username, domain } = defineProps<{
|
const { username, domain } = defineProps<{
|
||||||
username: string;
|
username?: string;
|
||||||
domain?: string;
|
domain?: string;
|
||||||
}>();
|
}>();
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -85,7 +85,7 @@ import {
|
||||||
DropdownMenuSeparator,
|
DropdownMenuSeparator,
|
||||||
DropdownMenuTrigger,
|
DropdownMenuTrigger,
|
||||||
} from "@/components/ui/dropdown-menu";
|
} from "@/components/ui/dropdown-menu";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
|
|
||||||
const { account } = defineProps<{
|
const { account } = defineProps<{
|
||||||
account: z.infer<typeof Account>;
|
account: z.infer<typeof Account>;
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { Account } from "@versia/client/schemas";
|
import type { Account } from "@versia/client/schemas";
|
||||||
import type { z } from "zod";
|
import type { z } from "zod";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import Row from "../typography/layout/row.vue";
|
import Row from "../typography/layout/row.vue";
|
||||||
import ProfileBadge from "./profile-badge.vue";
|
import ProfileBadge from "./profile-badge.vue";
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ import { Loader } from "lucide-vue-next";
|
||||||
import { toast } from "vue-sonner";
|
import { toast } from "vue-sonner";
|
||||||
import type { z } from "zod";
|
import type { z } from "zod";
|
||||||
import { Button } from "~/components/ui/button";
|
import { Button } from "~/components/ui/button";
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import { confirmModalService } from "../modals/composable";
|
import { confirmModalService } from "../modals/composable";
|
||||||
|
|
||||||
const { account } = defineProps<{
|
const { account } = defineProps<{
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import * as m from "~/paraglide/messages.js";
|
import * as m from "~~/paraglide/messages.js";
|
||||||
import Bold from "../typography/bold.vue";
|
import Bold from "../typography/bold.vue";
|
||||||
import Col from "../typography/layout/col.vue";
|
import Col from "../typography/layout/col.vue";
|
||||||
import Row from "../typography/layout/row.vue";
|
import Row from "../typography/layout/row.vue";
|
||||||
|
|
@ -38,7 +38,7 @@ import type { z } from "zod";
|
||||||
import { Button } from "~/components/ui/button";
|
import { Button } from "~/components/ui/button";
|
||||||
import { Card } from "~/components/ui/card";
|
import { Card } from "~/components/ui/card";
|
||||||
import { Separator } from "~/components/ui/separator";
|
import { Separator } from "~/components/ui/separator";
|
||||||
import { getLocale } from "~/paraglide/runtime";
|
import { getLocale } from "~~/paraglide/runtime";
|
||||||
import HeadingSmall from "../typography/headings/small.vue";
|
import HeadingSmall from "../typography/headings/small.vue";
|
||||||
import Html from "../typography/html.vue";
|
import Html from "../typography/html.vue";
|
||||||
import Col from "../typography/layout/col.vue";
|
import Col from "../typography/layout/col.vue";
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue