refactor(desktop): organize lib modules by domain

This commit is contained in:
t8y2 committed 2026-07-04 13:53:52 +08:00
1 parent 90f0594e93
commit 7e7c4944e9
700 files changed
+1292 -1264

No files matched your search

@@ -5,7 +5,7 @@ import type { HTMLAttributes } from "vue";
import { reactiveOmit } from "@vueuse/core";
import { XIcon } from "@lucide/vue";
import { DialogClose, DialogContent, DialogPortal, useForwardPropsEmits } from "reka-ui";
import { cn } from "@/lib/utils";
import { cn } from "@/lib/common/utils";
import { Button } from "@/components/ui/button";
import SheetOverlay from "./SheetOverlay.vue";
@@ -3,7 +3,7 @@ import type { DialogDescriptionProps } from "reka-ui";
import type { HTMLAttributes } from "vue";
import { reactiveOmit } from "@vueuse/core";
import { DialogDescription } from "reka-ui";
import { cn } from "@/lib/utils";
import { cn } from "@/lib/common/utils";
const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>();
@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue";
import { cn } from "@/lib/utils";
import { cn } from "@/lib/common/utils";
const props = defineProps<{ class?: HTMLAttributes["class"] }>();
</script>
@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue";
import { cn } from "@/lib/utils";
import { cn } from "@/lib/common/utils";
const props = defineProps<{ class?: HTMLAttributes["class"] }>();
</script>
@@ -3,7 +3,7 @@ import type { DialogOverlayProps } from "reka-ui";
import type { HTMLAttributes } from "vue";
import { reactiveOmit } from "@vueuse/core";
import { DialogOverlay } from "reka-ui";
import { cn } from "@/lib/utils";
import { cn } from "@/lib/common/utils";
const props = defineProps<DialogOverlayProps & { class?: HTMLAttributes["class"] }>();
@@ -3,7 +3,7 @@ import type { DialogTitleProps } from "reka-ui";
import type { HTMLAttributes } from "vue";
import { reactiveOmit } from "@vueuse/core";
import { DialogTitle } from "reka-ui";
import { cn } from "@/lib/utils";
import { cn } from "@/lib/common/utils";
const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>();