Standardized tilde imports for non modules

This commit is contained in:
Alexis
2025-04-18 17:44:21 +02:00
parent 034713961b
commit 7480447420
109 changed files with 133 additions and 133 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { useCalendar } from "@/stores/CalendarStore"
import { useCalendar } from "~/stores/CalendarStore"
import { computed, type Component, type ComputedRef } from "vue"
// import { PhMagnifyingGlass } from '@phosphor-icons/vue'

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { cn } from "@/lib/utils"
import { useCalendar } from "@/stores/CalendarStore"
import { cn } from "~/lib/utils"
import { useCalendar } from "~/stores/CalendarStore"
import { PhCalendarBlank, PhCheckCircle, PhGear } from "@phosphor-icons/vue"
import { computed } from "vue"

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { cn } from "@/lib/utils";
import { cn } from "~/lib/utils";
import { PhArchive, PhCalendarDots, PhFile, PhFileDashed, PhFilePlus, PhPencil, PhPencilSimpleLine, PhTrash } from "@phosphor-icons/vue";
import { DateTime } from "luxon";
import type { Calendar } from "~/models/CalendarConfig";

View File

@@ -1,8 +1,8 @@
<script lang="ts" setup>
import { cn } from "@/lib/utils"
import type { RPGDate } from "@/models/Date"
import type { CalendarEvent } from "@/models/CalendarEvent"
import { useCalendar } from "@/stores/CalendarStore"
import { cn } from "~/lib/utils"
import type { RPGDate } from "~/models/Date"
import type { CalendarEvent } from "~/models/CalendarEvent"
import { useCalendar } from "~/stores/CalendarStore"
import {
PhHourglassMedium,

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import { cn } from "@/lib/utils"
import type { RPGDate } from "@/models/Date"
import { cn } from "~/lib/utils"
import type { RPGDate } from "~/models/Date"
import type { CalendarEvent } from "~/models/CalendarEvent"
const props = defineProps<{

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { useCalendar } from "@/stores/CalendarStore"
import { useCalendar } from "~/stores/CalendarStore"
import { PhMagnifyingGlass } from "@phosphor-icons/vue"

View File

@@ -2,13 +2,13 @@
import {
isCharacter,
type Character,
} from "@/models/Characters"
import type { RPGDateOrder } from "@/models/Date"
} from "~/models/Characters"
import type { RPGDateOrder } from "~/models/Date"
import {
isCalendarEvent,
type CalendarEvent,
} from "~/models/CalendarEvent"
import { capitalize } from "@/utils/Strings"
import { capitalize } from "~/utils/Strings"
import { useMagicKeys, useScroll, useStorage, whenever } from "@vueuse/core"
import { computed, ref, watch } from "vue"
import { searchUnifier, type SearchMode } from "../SearchMode"

View File

@@ -1,10 +1,10 @@
<script lang="ts" setup>
import type { Character } from "@/models/Characters"
import type { RPGDate } from "@/models/Date"
import { useCalendar } from "@/stores/CalendarStore"
import type { Character } from "~/models/Characters"
import type { RPGDate } from "~/models/Date"
import { useCalendar } from "~/stores/CalendarStore"
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"
import { Button } from "@/components/ui/button"
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "~/components/ui/tooltip"
import { Button } from "~/components/ui/button"
import { PhArrowSquareOut, PhPlant, PhSkull } from "@phosphor-icons/vue"
const props = defineProps<{

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import { cn } from "@/lib/utils"
import type { RPGDate } from "@/models/Date"
import type { CalendarEvent } from "@/models/CalendarEvent"
import { cn } from "~/lib/utils"
import type { RPGDate } from "~/models/Date"
import type { CalendarEvent } from "~/models/CalendarEvent"
import { PhArrowSquareOut, PhHourglassMedium, PhAlarm, PhMapPinArea, PhEye } from "@phosphor-icons/vue"

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import { isCharacter, type Character } from "@/models/Characters"
import type { RPGDate, RPGDateOrder } from "@/models/Date"
import { useCalendar } from "@/stores/CalendarStore"
import { isCharacter, type Character } from "~/models/Characters"
import type { RPGDate, RPGDateOrder } from "~/models/Date"
import { useCalendar } from "~/stores/CalendarStore"
import { computed } from "vue"
import { isCalendarEvent, type CalendarEvent } from "~/models/CalendarEvent"
import type { SearchMode } from "../../SearchMode"

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { RPGDate } from "@/models/Date"
import type { CalendarEvent } from "@/models/CalendarEvent"
import type { RPGDate } from "~/models/Date"
import type { CalendarEvent } from "~/models/CalendarEvent"
import { useElementBounding } from "@vueuse/core"
import { storeToRefs } from "pinia"
import { computed, ref, type ComputedRef } from "vue"

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { useCalendar } from "@/stores/CalendarStore"
import { useCalendar } from "~/stores/CalendarStore"
import { useThrottleFn } from "@vueuse/core"
const { currentDate, decrementViewMonth, incrementViewMonth } = useCalendar()

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { RPGDate } from "@/models/Date"
import type { RPGDate } from "~/models/Date"
import { storeToRefs } from "pinia"
import { computed, type ComputedRef } from "vue"

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { useCalendar } from "@/stores/CalendarStore"
import { useCalendar } from "~/stores/CalendarStore"
import { useThrottleFn } from "@vueuse/core"
const { decrementViewYear, incrementViewYear } = useCalendar()

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { cn } from "@/lib/utils";
import { cn } from "~/lib/utils";
import { type RPGColor, rpgColors } from "~/models/Color";
const { id, theme = "normal", position = "popper" } = defineProps<{

View File

@@ -1,8 +1,8 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { AlertDialogAction, type AlertDialogActionProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { buttonVariants } from "@/components/ui/button/index"
import { cn } from "~/lib/utils"
import { buttonVariants } from "~/components/ui/button/index"
const props = defineProps<AlertDialogActionProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,8 +1,8 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { AlertDialogCancel, type AlertDialogCancelProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { buttonVariants } from "@/components/ui/button/index"
import { cn } from "~/lib/utils"
import { buttonVariants } from "~/components/ui/button/index"
const props = defineProps<AlertDialogCancelProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -8,7 +8,7 @@ import {
AlertDialogPortal,
useForwardPropsEmits,
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<AlertDialogContentProps & { class?: HTMLAttributes["class"] }>()
const emits = defineEmits<AlertDialogContentEmits>()

View File

@@ -4,7 +4,7 @@ import {
AlertDialogDescription,
type AlertDialogDescriptionProps,
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<AlertDialogDescriptionProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { AlertDialogTitle, type AlertDialogTitleProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<AlertDialogTitleProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import type { HTMLAttributes } from "vue"
import { AvatarRoot } from "radix-vue"
import { type AvatarVariants, avatarVariant } from "."
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = withDefaults(defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { type BadgeVariants, badgeVariants } from "."
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
variant?: BadgeVariants["variant"]

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
import { MoreHorizontal } from "lucide-vue-next"
const props = defineProps<{

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import type { PrimitiveProps } from "radix-vue"
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
import { Primitive } from "radix-vue"
const props = withDefaults(defineProps<PrimitiveProps & { class?: HTMLAttributes["class"] }>(), {

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
import { ChevronRight } from "lucide-vue-next"
const props = defineProps<{

View File

@@ -2,7 +2,7 @@
import type { HTMLAttributes } from "vue"
import { Primitive, type PrimitiveProps } from "radix-vue"
import { type ButtonVariants, buttonVariants } from "."
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
interface Props extends PrimitiveProps {
variant?: ButtonVariants["variant"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -3,7 +3,7 @@ import { type HTMLAttributes, computed } from "vue"
import type { CheckboxRootEmits, CheckboxRootProps } from "radix-vue"
import { CheckboxIndicator, CheckboxRoot, useForwardPropsEmits } from "radix-vue"
import { Check } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<CheckboxRootProps & { class?: HTMLAttributes["class"] }>()
const emits = defineEmits<CheckboxRootEmits>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import type { ComboboxRootEmits, ComboboxRootProps } from "radix-vue"
import { ComboboxRoot, useForwardPropsEmits } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = withDefaults(defineProps<ComboboxRootProps & { class?: HTMLAttributes["class"] }>(), {
open: true,

View File

@@ -2,7 +2,7 @@
import { useForwardPropsEmits } from "radix-vue"
import type { DialogRootEmits, DialogRootProps } from "radix-vue"
import Command from "./Command.vue"
import { Dialog, DialogContent } from "@/components/ui/dialog"
import { Dialog, DialogContent } from "~/components/ui/dialog"
const props = defineProps<DialogRootProps>()
const emits = defineEmits<DialogRootEmits>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import type { ComboboxEmptyProps } from "radix-vue"
import { ComboboxEmpty } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ComboboxEmptyProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import type { ComboboxGroupProps } from "radix-vue"
import { ComboboxGroup, ComboboxLabel } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<
ComboboxGroupProps & {

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import { Search } from "lucide-vue-next"
import { ComboboxInput, type ComboboxInputProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
defineOptions({
inheritAttrs: false

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import type { ComboboxItemEmits, ComboboxItemProps } from "radix-vue"
import { ComboboxItem, useForwardPropsEmits } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ComboboxItemProps & { class?: HTMLAttributes["class"] }>()
const emits = defineEmits<ComboboxItemEmits>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import type { ComboboxContentEmits, ComboboxContentProps } from "radix-vue"
import { ComboboxContent, useForwardPropsEmits } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = withDefaults(
defineProps<ComboboxContentProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import type { ComboboxSeparatorProps } from "radix-vue"
import { ComboboxSeparator } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ComboboxSeparatorProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -10,7 +10,7 @@ import {
useForwardPropsEmits
} from "radix-vue"
import { X } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
const emits = defineEmits<DialogContentEmits>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { DialogDescription, type DialogDescriptionProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{ class?: HTMLAttributes["class"] }>()
</script>

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -10,7 +10,7 @@ import {
useForwardPropsEmits
} from "radix-vue"
import { X } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
const emits = defineEmits<DialogContentEmits>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { DialogTitle, type DialogTitleProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -8,7 +8,7 @@ import {
useForwardPropsEmits
} from "radix-vue"
import { Check } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
const emits = defineEmits<DropdownMenuCheckboxItemEmits>()

View File

@@ -7,7 +7,7 @@ import {
DropdownMenuPortal,
useForwardPropsEmits
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = withDefaults(
defineProps<DropdownMenuContentProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { DropdownMenuItem, type DropdownMenuItemProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<
DropdownMenuItemProps & { class?: HTMLAttributes["class"]; inset?: boolean }

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { DropdownMenuLabel, type DropdownMenuLabelProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<
DropdownMenuLabelProps & { class?: HTMLAttributes["class"]; inset?: boolean }

View File

@@ -8,7 +8,7 @@ import {
useForwardPropsEmits
} from "radix-vue"
import { Circle } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { DropdownMenuSeparator, type DropdownMenuSeparatorProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<
DropdownMenuSeparatorProps & {

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -6,7 +6,7 @@ import {
type DropdownMenuSubContentProps,
useForwardPropsEmits
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes["class"] }>()
const emits = defineEmits<DropdownMenuSubContentEmits>()

View File

@@ -5,7 +5,7 @@ import {
type DropdownMenuSubTriggerProps,
useForwardProps
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
import { PhCaretLeft, PhCaretRight } from "@phosphor-icons/vue";
const props = defineProps<DropdownMenuSubTriggerProps & { class?: HTMLAttributes["class"], arrowDirection?: "left" | "right" }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { useVModel } from "@vueuse/core"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
defaultValue?: string | number

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { Label, type LabelProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<LabelProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import { PaginationEllipsis, type PaginationEllipsisProps } from "radix-vue"
import { MoreHorizontal } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<PaginationEllipsisProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,8 +2,8 @@
import { type HTMLAttributes, computed } from "vue"
import { PaginationFirst, type PaginationFirstProps } from "radix-vue"
import { ChevronsLeft } from "lucide-vue-next"
import { Button } from "@/components/ui/button"
import { cn } from "@/lib/utils"
import { Button } from "~/components/ui/button"
import { cn } from "~/lib/utils"
const props = withDefaults(
defineProps<PaginationFirstProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -2,8 +2,8 @@
import { type HTMLAttributes, computed } from "vue"
import { PaginationLast, type PaginationLastProps } from "radix-vue"
import { ChevronsRight } from "lucide-vue-next"
import { Button } from "@/components/ui/button"
import { cn } from "@/lib/utils"
import { Button } from "~/components/ui/button"
import { cn } from "~/lib/utils"
const props = withDefaults(
defineProps<PaginationLastProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -2,8 +2,8 @@
import { type HTMLAttributes, computed } from "vue"
import { PaginationNext, type PaginationNextProps } from "radix-vue"
import { ChevronRight } from "lucide-vue-next"
import { Button } from "@/components/ui/button"
import { cn } from "@/lib/utils"
import { Button } from "~/components/ui/button"
import { cn } from "~/lib/utils"
const props = withDefaults(
defineProps<PaginationNextProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -2,8 +2,8 @@
import { type HTMLAttributes, computed } from "vue"
import { PaginationPrev, type PaginationPrevProps } from "radix-vue"
import { ChevronLeft } from "lucide-vue-next"
import { Button } from "@/components/ui/button"
import { cn } from "@/lib/utils"
import { Button } from "~/components/ui/button"
import { cn } from "~/lib/utils"
const props = withDefaults(
defineProps<PaginationPrevProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -7,7 +7,7 @@ import {
PopoverPortal,
useForwardPropsEmits
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
defineOptions({
inheritAttrs: false

View File

@@ -5,7 +5,7 @@ import {
ProgressRoot,
type ProgressRootProps,
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = withDefaults(
defineProps<ProgressRootProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -9,7 +9,7 @@ import {
useForwardPropsEmits
} from "radix-vue"
import { SelectScrollDownButton, SelectScrollUpButton } from "."
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
defineOptions({
inheritAttrs: false

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { SelectGroup, type SelectGroupProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<SelectGroupProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -8,7 +8,7 @@ import {
useForwardProps
} from "radix-vue"
import { Check } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<SelectItemProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { SelectLabel, type SelectLabelProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes["class"] }>()
</script>

View File

@@ -6,7 +6,7 @@ import {
useForwardProps
} from "radix-vue"
import { ChevronDown } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<SelectScrollDownButtonProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import { SelectScrollUpButton, type SelectScrollUpButtonProps, useForwardProps } from "radix-vue"
import { ChevronUp } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<SelectScrollUpButtonProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { SelectSeparator, type SelectSeparatorProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<SelectSeparatorProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import { SelectIcon, SelectTrigger, type SelectTriggerProps, useForwardProps } from "radix-vue"
import { ChevronDown } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<SelectTriggerProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
interface SkeletonProps {
class?: HTMLAttributes["class"]

View File

@@ -7,7 +7,7 @@ import {
SwitchThumb,
useForwardPropsEmits,
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<SwitchRootProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
import { computed } from "vue"
import TableCell from "./TableCell.vue"
import TableRow from "./TableRow.vue"

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { TabsContent, type TabsContentProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<TabsContentProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { TabsList, type TabsListProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<TabsListProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { TabsTrigger, type TabsTriggerProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<TabsTriggerProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -6,7 +6,7 @@ import {
type TagsInputRootProps,
useForwardPropsEmits
} from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<TagsInputRootProps & { class?: HTMLAttributes["class"] }>()
const emits = defineEmits<TagsInputRootEmits>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { TagsInputInput, type TagsInputInputProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<TagsInputInputProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import { TagsInputItem, type TagsInputItemProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<TagsInputItemProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import { TagsInputItemDelete, type TagsInputItemDeleteProps, useForwardProps } from "radix-vue"
import { X } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<TagsInputItemDeleteProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { TagsInputItemText, type TagsInputItemTextProps, useForwardProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<TagsInputItemTextProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import { computed } from "vue"
import { ToastRoot, type ToastRootEmits, useForwardPropsEmits } from "radix-vue"
import { type ToastProps, toastVariants } from "."
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ToastProps>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { ToastAction, type ToastActionProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ToastActionProps & { class?: HTMLAttributes["class"] }>()

Some files were not shown because too many files have changed in this diff Show More