Standardized tilde imports for non modules
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useCalendar } from "@/stores/CalendarStore"
|
import { useCalendar } from "~/stores/CalendarStore"
|
||||||
import { computed, type Component, type ComputedRef } from "vue"
|
import { computed, type Component, type ComputedRef } from "vue"
|
||||||
|
|
||||||
// import { PhMagnifyingGlass } from '@phosphor-icons/vue'
|
// import { PhMagnifyingGlass } from '@phosphor-icons/vue'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import { useCalendar } from "@/stores/CalendarStore"
|
import { useCalendar } from "~/stores/CalendarStore"
|
||||||
import { PhCalendarBlank, PhCheckCircle, PhGear } from "@phosphor-icons/vue"
|
import { PhCalendarBlank, PhCheckCircle, PhGear } from "@phosphor-icons/vue"
|
||||||
import { computed } from "vue"
|
import { computed } from "vue"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<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 { PhArchive, PhCalendarDots, PhFile, PhFileDashed, PhFilePlus, PhPencil, PhPencilSimpleLine, PhTrash } from "@phosphor-icons/vue";
|
||||||
import { DateTime } from "luxon";
|
import { DateTime } from "luxon";
|
||||||
import type { Calendar } from "~/models/CalendarConfig";
|
import type { Calendar } from "~/models/CalendarConfig";
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import type { RPGDate } from "@/models/Date"
|
import type { RPGDate } from "~/models/Date"
|
||||||
import type { CalendarEvent } from "@/models/CalendarEvent"
|
import type { CalendarEvent } from "~/models/CalendarEvent"
|
||||||
import { useCalendar } from "@/stores/CalendarStore"
|
import { useCalendar } from "~/stores/CalendarStore"
|
||||||
|
|
||||||
import {
|
import {
|
||||||
PhHourglassMedium,
|
PhHourglassMedium,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import type { RPGDate } from "@/models/Date"
|
import type { RPGDate } from "~/models/Date"
|
||||||
import type { CalendarEvent } from "~/models/CalendarEvent"
|
import type { CalendarEvent } from "~/models/CalendarEvent"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useCalendar } from "@/stores/CalendarStore"
|
import { useCalendar } from "~/stores/CalendarStore"
|
||||||
|
|
||||||
import { PhMagnifyingGlass } from "@phosphor-icons/vue"
|
import { PhMagnifyingGlass } from "@phosphor-icons/vue"
|
||||||
|
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
import {
|
import {
|
||||||
isCharacter,
|
isCharacter,
|
||||||
type Character,
|
type Character,
|
||||||
} from "@/models/Characters"
|
} from "~/models/Characters"
|
||||||
import type { RPGDateOrder } from "@/models/Date"
|
import type { RPGDateOrder } from "~/models/Date"
|
||||||
import {
|
import {
|
||||||
isCalendarEvent,
|
isCalendarEvent,
|
||||||
type CalendarEvent,
|
type CalendarEvent,
|
||||||
} from "~/models/CalendarEvent"
|
} from "~/models/CalendarEvent"
|
||||||
import { capitalize } from "@/utils/Strings"
|
import { capitalize } from "~/utils/Strings"
|
||||||
import { useMagicKeys, useScroll, useStorage, whenever } from "@vueuse/core"
|
import { useMagicKeys, useScroll, useStorage, whenever } from "@vueuse/core"
|
||||||
import { computed, ref, watch } from "vue"
|
import { computed, ref, watch } from "vue"
|
||||||
import { searchUnifier, type SearchMode } from "../SearchMode"
|
import { searchUnifier, type SearchMode } from "../SearchMode"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { Character } from "@/models/Characters"
|
import type { Character } from "~/models/Characters"
|
||||||
import type { RPGDate } from "@/models/Date"
|
import type { RPGDate } from "~/models/Date"
|
||||||
import { useCalendar } from "@/stores/CalendarStore"
|
import { useCalendar } from "~/stores/CalendarStore"
|
||||||
|
|
||||||
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "~/components/ui/tooltip"
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "~/components/ui/button"
|
||||||
import { PhArrowSquareOut, PhPlant, PhSkull } from "@phosphor-icons/vue"
|
import { PhArrowSquareOut, PhPlant, PhSkull } from "@phosphor-icons/vue"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import type { RPGDate } from "@/models/Date"
|
import type { RPGDate } from "~/models/Date"
|
||||||
import type { CalendarEvent } from "@/models/CalendarEvent"
|
import type { CalendarEvent } from "~/models/CalendarEvent"
|
||||||
|
|
||||||
import { PhArrowSquareOut, PhHourglassMedium, PhAlarm, PhMapPinArea, PhEye } from "@phosphor-icons/vue"
|
import { PhArrowSquareOut, PhHourglassMedium, PhAlarm, PhMapPinArea, PhEye } from "@phosphor-icons/vue"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { isCharacter, type Character } from "@/models/Characters"
|
import { isCharacter, type Character } from "~/models/Characters"
|
||||||
import type { RPGDate, RPGDateOrder } from "@/models/Date"
|
import type { RPGDate, RPGDateOrder } from "~/models/Date"
|
||||||
import { useCalendar } from "@/stores/CalendarStore"
|
import { useCalendar } from "~/stores/CalendarStore"
|
||||||
import { computed } from "vue"
|
import { computed } from "vue"
|
||||||
import { isCalendarEvent, type CalendarEvent } from "~/models/CalendarEvent"
|
import { isCalendarEvent, type CalendarEvent } from "~/models/CalendarEvent"
|
||||||
import type { SearchMode } from "../../SearchMode"
|
import type { SearchMode } from "../../SearchMode"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { RPGDate } from "@/models/Date"
|
import type { RPGDate } from "~/models/Date"
|
||||||
import type { CalendarEvent } from "@/models/CalendarEvent"
|
import type { CalendarEvent } from "~/models/CalendarEvent"
|
||||||
import { useElementBounding } from "@vueuse/core"
|
import { useElementBounding } from "@vueuse/core"
|
||||||
import { storeToRefs } from "pinia"
|
import { storeToRefs } from "pinia"
|
||||||
import { computed, ref, type ComputedRef } from "vue"
|
import { computed, ref, type ComputedRef } from "vue"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useCalendar } from "@/stores/CalendarStore"
|
import { useCalendar } from "~/stores/CalendarStore"
|
||||||
import { useThrottleFn } from "@vueuse/core"
|
import { useThrottleFn } from "@vueuse/core"
|
||||||
|
|
||||||
const { currentDate, decrementViewMonth, incrementViewMonth } = useCalendar()
|
const { currentDate, decrementViewMonth, incrementViewMonth } = useCalendar()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { RPGDate } from "@/models/Date"
|
import type { RPGDate } from "~/models/Date"
|
||||||
import { storeToRefs } from "pinia"
|
import { storeToRefs } from "pinia"
|
||||||
import { computed, type ComputedRef } from "vue"
|
import { computed, type ComputedRef } from "vue"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useCalendar } from "@/stores/CalendarStore"
|
import { useCalendar } from "~/stores/CalendarStore"
|
||||||
import { useThrottleFn } from "@vueuse/core"
|
import { useThrottleFn } from "@vueuse/core"
|
||||||
|
|
||||||
const { decrementViewYear, incrementViewYear } = useCalendar()
|
const { decrementViewYear, incrementViewYear } = useCalendar()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "~/lib/utils";
|
||||||
import { type RPGColor, rpgColors } from "~/models/Color";
|
import { type RPGColor, rpgColors } from "~/models/Color";
|
||||||
|
|
||||||
const { id, theme = "normal", position = "popper" } = defineProps<{
|
const { id, theme = "normal", position = "popper" } = defineProps<{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { AlertDialogAction, type AlertDialogActionProps } from "radix-vue"
|
import { AlertDialogAction, type AlertDialogActionProps } from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import { buttonVariants } from "@/components/ui/button/index"
|
import { buttonVariants } from "~/components/ui/button/index"
|
||||||
|
|
||||||
const props = defineProps<AlertDialogActionProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<AlertDialogActionProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { AlertDialogCancel, type AlertDialogCancelProps } from "radix-vue"
|
import { AlertDialogCancel, type AlertDialogCancelProps } from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import { buttonVariants } from "@/components/ui/button/index"
|
import { buttonVariants } from "~/components/ui/button/index"
|
||||||
|
|
||||||
const props = defineProps<AlertDialogCancelProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<AlertDialogCancelProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import {
|
|||||||
AlertDialogPortal,
|
AlertDialogPortal,
|
||||||
useForwardPropsEmits,
|
useForwardPropsEmits,
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<AlertDialogContentProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<AlertDialogContentProps & { class?: HTMLAttributes["class"] }>()
|
||||||
const emits = defineEmits<AlertDialogContentEmits>()
|
const emits = defineEmits<AlertDialogContentEmits>()
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
AlertDialogDescription,
|
AlertDialogDescription,
|
||||||
type AlertDialogDescriptionProps,
|
type AlertDialogDescriptionProps,
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<AlertDialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<AlertDialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { AlertDialogTitle, type AlertDialogTitleProps } from "radix-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"] }>()
|
const props = defineProps<AlertDialogTitleProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { AvatarRoot } from "radix-vue"
|
import { AvatarRoot } from "radix-vue"
|
||||||
import { type AvatarVariants, avatarVariant } from "."
|
import { type AvatarVariants, avatarVariant } from "."
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = withDefaults(defineProps<{
|
const props = withDefaults(defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { type BadgeVariants, badgeVariants } from "."
|
import { type BadgeVariants, badgeVariants } from "."
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
variant?: BadgeVariants["variant"]
|
variant?: BadgeVariants["variant"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import { MoreHorizontal } from "lucide-vue-next"
|
import { MoreHorizontal } from "lucide-vue-next"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { PrimitiveProps } from "radix-vue"
|
import type { PrimitiveProps } from "radix-vue"
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import { Primitive } from "radix-vue"
|
import { Primitive } from "radix-vue"
|
||||||
|
|
||||||
const props = withDefaults(defineProps<PrimitiveProps & { class?: HTMLAttributes["class"] }>(), {
|
const props = withDefaults(defineProps<PrimitiveProps & { class?: HTMLAttributes["class"] }>(), {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import { ChevronRight } from "lucide-vue-next"
|
import { ChevronRight } from "lucide-vue-next"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { Primitive, type PrimitiveProps } from "radix-vue"
|
import { Primitive, type PrimitiveProps } from "radix-vue"
|
||||||
import { type ButtonVariants, buttonVariants } from "."
|
import { type ButtonVariants, buttonVariants } from "."
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
interface Props extends PrimitiveProps {
|
interface Props extends PrimitiveProps {
|
||||||
variant?: ButtonVariants["variant"]
|
variant?: ButtonVariants["variant"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { type HTMLAttributes, computed } from "vue"
|
|||||||
import type { CheckboxRootEmits, CheckboxRootProps } from "radix-vue"
|
import type { CheckboxRootEmits, CheckboxRootProps } from "radix-vue"
|
||||||
import { CheckboxIndicator, CheckboxRoot, useForwardPropsEmits } from "radix-vue"
|
import { CheckboxIndicator, CheckboxRoot, useForwardPropsEmits } from "radix-vue"
|
||||||
import { Check } from "lucide-vue-next"
|
import { Check } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<CheckboxRootProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<CheckboxRootProps & { class?: HTMLAttributes["class"] }>()
|
||||||
const emits = defineEmits<CheckboxRootEmits>()
|
const emits = defineEmits<CheckboxRootEmits>()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import type { ComboboxRootEmits, ComboboxRootProps } from "radix-vue"
|
import type { ComboboxRootEmits, ComboboxRootProps } from "radix-vue"
|
||||||
import { ComboboxRoot, useForwardPropsEmits } 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"] }>(), {
|
const props = withDefaults(defineProps<ComboboxRootProps & { class?: HTMLAttributes["class"] }>(), {
|
||||||
open: true,
|
open: true,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { useForwardPropsEmits } from "radix-vue"
|
import { useForwardPropsEmits } from "radix-vue"
|
||||||
import type { DialogRootEmits, DialogRootProps } from "radix-vue"
|
import type { DialogRootEmits, DialogRootProps } from "radix-vue"
|
||||||
import Command from "./Command.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 props = defineProps<DialogRootProps>()
|
||||||
const emits = defineEmits<DialogRootEmits>()
|
const emits = defineEmits<DialogRootEmits>()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import type { ComboboxEmptyProps } from "radix-vue"
|
import type { ComboboxEmptyProps } from "radix-vue"
|
||||||
import { ComboboxEmpty } 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"] }>()
|
const props = defineProps<ComboboxEmptyProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import type { ComboboxGroupProps } from "radix-vue"
|
import type { ComboboxGroupProps } from "radix-vue"
|
||||||
import { ComboboxGroup, ComboboxLabel } from "radix-vue"
|
import { ComboboxGroup, ComboboxLabel } from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<
|
const props = defineProps<
|
||||||
ComboboxGroupProps & {
|
ComboboxGroupProps & {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { Search } from "lucide-vue-next"
|
import { Search } from "lucide-vue-next"
|
||||||
import { ComboboxInput, type ComboboxInputProps, useForwardProps } from "radix-vue"
|
import { ComboboxInput, type ComboboxInputProps, useForwardProps } from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
inheritAttrs: false
|
inheritAttrs: false
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import type { ComboboxItemEmits, ComboboxItemProps } from "radix-vue"
|
import type { ComboboxItemEmits, ComboboxItemProps } from "radix-vue"
|
||||||
import { ComboboxItem, useForwardPropsEmits } 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 props = defineProps<ComboboxItemProps & { class?: HTMLAttributes["class"] }>()
|
||||||
const emits = defineEmits<ComboboxItemEmits>()
|
const emits = defineEmits<ComboboxItemEmits>()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import type { ComboboxContentEmits, ComboboxContentProps } from "radix-vue"
|
import type { ComboboxContentEmits, ComboboxContentProps } from "radix-vue"
|
||||||
import { ComboboxContent, useForwardPropsEmits } from "radix-vue"
|
import { ComboboxContent, useForwardPropsEmits } from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<ComboboxContentProps & { class?: HTMLAttributes["class"] }>(),
|
defineProps<ComboboxContentProps & { class?: HTMLAttributes["class"] }>(),
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import type { ComboboxSeparatorProps } from "radix-vue"
|
import type { ComboboxSeparatorProps } from "radix-vue"
|
||||||
import { ComboboxSeparator } 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"] }>()
|
const props = defineProps<ComboboxSeparatorProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import {
|
|||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { X } from "lucide-vue-next"
|
import { X } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
||||||
const emits = defineEmits<DialogContentEmits>()
|
const emits = defineEmits<DialogContentEmits>()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { DialogDescription, type DialogDescriptionProps, useForwardProps } from "radix-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"] }>()
|
const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{ class?: HTMLAttributes["class"] }>()
|
const props = defineProps<{ class?: HTMLAttributes["class"] }>()
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import {
|
|||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { X } from "lucide-vue-next"
|
import { X } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
|
||||||
const emits = defineEmits<DialogContentEmits>()
|
const emits = defineEmits<DialogContentEmits>()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { DialogTitle, type DialogTitleProps, useForwardProps } from "radix-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"] }>()
|
const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import {
|
|||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { Check } from "lucide-vue-next"
|
import { Check } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
|
||||||
const emits = defineEmits<DropdownMenuCheckboxItemEmits>()
|
const emits = defineEmits<DropdownMenuCheckboxItemEmits>()
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
DropdownMenuPortal,
|
DropdownMenuPortal,
|
||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<DropdownMenuContentProps & { class?: HTMLAttributes["class"] }>(),
|
defineProps<DropdownMenuContentProps & { class?: HTMLAttributes["class"] }>(),
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { DropdownMenuItem, type DropdownMenuItemProps, useForwardProps } from "radix-vue"
|
import { DropdownMenuItem, type DropdownMenuItemProps, useForwardProps } from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<
|
const props = defineProps<
|
||||||
DropdownMenuItemProps & { class?: HTMLAttributes["class"]; inset?: boolean }
|
DropdownMenuItemProps & { class?: HTMLAttributes["class"]; inset?: boolean }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { DropdownMenuLabel, type DropdownMenuLabelProps, useForwardProps } from "radix-vue"
|
import { DropdownMenuLabel, type DropdownMenuLabelProps, useForwardProps } from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<
|
const props = defineProps<
|
||||||
DropdownMenuLabelProps & { class?: HTMLAttributes["class"]; inset?: boolean }
|
DropdownMenuLabelProps & { class?: HTMLAttributes["class"]; inset?: boolean }
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import {
|
|||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { Circle } from "lucide-vue-next"
|
import { Circle } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { DropdownMenuSeparator, type DropdownMenuSeparatorProps } from "radix-vue"
|
import { DropdownMenuSeparator, type DropdownMenuSeparatorProps } from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<
|
const props = defineProps<
|
||||||
DropdownMenuSeparatorProps & {
|
DropdownMenuSeparatorProps & {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
type DropdownMenuSubContentProps,
|
type DropdownMenuSubContentProps,
|
||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes["class"] }>()
|
||||||
const emits = defineEmits<DropdownMenuSubContentEmits>()
|
const emits = defineEmits<DropdownMenuSubContentEmits>()
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import {
|
|||||||
type DropdownMenuSubTriggerProps,
|
type DropdownMenuSubTriggerProps,
|
||||||
useForwardProps
|
useForwardProps
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import { PhCaretLeft, PhCaretRight } from "@phosphor-icons/vue";
|
import { PhCaretLeft, PhCaretRight } from "@phosphor-icons/vue";
|
||||||
|
|
||||||
const props = defineProps<DropdownMenuSubTriggerProps & { class?: HTMLAttributes["class"], arrowDirection?: "left" | "right" }>()
|
const props = defineProps<DropdownMenuSubTriggerProps & { class?: HTMLAttributes["class"], arrowDirection?: "left" | "right" }>()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { useVModel } from "@vueuse/core"
|
import { useVModel } from "@vueuse/core"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
defaultValue?: string | number
|
defaultValue?: string | number
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { Label, type LabelProps } from "radix-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"] }>()
|
const props = defineProps<LabelProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { PaginationEllipsis, type PaginationEllipsisProps } from "radix-vue"
|
import { PaginationEllipsis, type PaginationEllipsisProps } from "radix-vue"
|
||||||
import { MoreHorizontal } from "lucide-vue-next"
|
import { MoreHorizontal } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<PaginationEllipsisProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<PaginationEllipsisProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { PaginationFirst, type PaginationFirstProps } from "radix-vue"
|
import { PaginationFirst, type PaginationFirstProps } from "radix-vue"
|
||||||
import { ChevronsLeft } from "lucide-vue-next"
|
import { ChevronsLeft } from "lucide-vue-next"
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "~/components/ui/button"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<PaginationFirstProps & { class?: HTMLAttributes["class"] }>(),
|
defineProps<PaginationFirstProps & { class?: HTMLAttributes["class"] }>(),
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { PaginationLast, type PaginationLastProps } from "radix-vue"
|
import { PaginationLast, type PaginationLastProps } from "radix-vue"
|
||||||
import { ChevronsRight } from "lucide-vue-next"
|
import { ChevronsRight } from "lucide-vue-next"
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "~/components/ui/button"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<PaginationLastProps & { class?: HTMLAttributes["class"] }>(),
|
defineProps<PaginationLastProps & { class?: HTMLAttributes["class"] }>(),
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { PaginationNext, type PaginationNextProps } from "radix-vue"
|
import { PaginationNext, type PaginationNextProps } from "radix-vue"
|
||||||
import { ChevronRight } from "lucide-vue-next"
|
import { ChevronRight } from "lucide-vue-next"
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "~/components/ui/button"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<PaginationNextProps & { class?: HTMLAttributes["class"] }>(),
|
defineProps<PaginationNextProps & { class?: HTMLAttributes["class"] }>(),
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { PaginationPrev, type PaginationPrevProps } from "radix-vue"
|
import { PaginationPrev, type PaginationPrevProps } from "radix-vue"
|
||||||
import { ChevronLeft } from "lucide-vue-next"
|
import { ChevronLeft } from "lucide-vue-next"
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "~/components/ui/button"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<PaginationPrevProps & { class?: HTMLAttributes["class"] }>(),
|
defineProps<PaginationPrevProps & { class?: HTMLAttributes["class"] }>(),
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
PopoverPortal,
|
PopoverPortal,
|
||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
inheritAttrs: false
|
inheritAttrs: false
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import {
|
|||||||
ProgressRoot,
|
ProgressRoot,
|
||||||
type ProgressRootProps,
|
type ProgressRootProps,
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<ProgressRootProps & { class?: HTMLAttributes["class"] }>(),
|
defineProps<ProgressRootProps & { class?: HTMLAttributes["class"] }>(),
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { SelectScrollDownButton, SelectScrollUpButton } from "."
|
import { SelectScrollDownButton, SelectScrollUpButton } from "."
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
inheritAttrs: false
|
inheritAttrs: false
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { SelectGroup, type SelectGroupProps } from "radix-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"] }>()
|
const props = defineProps<SelectGroupProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import {
|
|||||||
useForwardProps
|
useForwardProps
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { Check } from "lucide-vue-next"
|
import { Check } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<SelectItemProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<SelectItemProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { SelectLabel, type SelectLabelProps } from "radix-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"] }>()
|
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes["class"] }>()
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
useForwardProps
|
useForwardProps
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { ChevronDown } from "lucide-vue-next"
|
import { ChevronDown } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<SelectScrollDownButtonProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<SelectScrollDownButtonProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { SelectScrollUpButton, type SelectScrollUpButtonProps, useForwardProps } from "radix-vue"
|
import { SelectScrollUpButton, type SelectScrollUpButtonProps, useForwardProps } from "radix-vue"
|
||||||
import { ChevronUp } from "lucide-vue-next"
|
import { ChevronUp } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<SelectScrollUpButtonProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<SelectScrollUpButtonProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { SelectSeparator, type SelectSeparatorProps } from "radix-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"] }>()
|
const props = defineProps<SelectSeparatorProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { SelectIcon, SelectTrigger, type SelectTriggerProps, useForwardProps } from "radix-vue"
|
import { SelectIcon, SelectTrigger, type SelectTriggerProps, useForwardProps } from "radix-vue"
|
||||||
import { ChevronDown } from "lucide-vue-next"
|
import { ChevronDown } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<SelectTriggerProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<SelectTriggerProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
interface SkeletonProps {
|
interface SkeletonProps {
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
SwitchThumb,
|
SwitchThumb,
|
||||||
useForwardPropsEmits,
|
useForwardPropsEmits,
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<SwitchRootProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<SwitchRootProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
import { computed } from "vue"
|
import { computed } from "vue"
|
||||||
import TableCell from "./TableCell.vue"
|
import TableCell from "./TableCell.vue"
|
||||||
import TableRow from "./TableRow.vue"
|
import TableRow from "./TableRow.vue"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from "vue"
|
import type { HTMLAttributes } from "vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes["class"]
|
class?: HTMLAttributes["class"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { TabsContent, type TabsContentProps } from "radix-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"] }>()
|
const props = defineProps<TabsContentProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { TabsList, type TabsListProps } from "radix-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"] }>()
|
const props = defineProps<TabsListProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { TabsTrigger, type TabsTriggerProps, useForwardProps } from "radix-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"] }>()
|
const props = defineProps<TabsTriggerProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
type TagsInputRootProps,
|
type TagsInputRootProps,
|
||||||
useForwardPropsEmits
|
useForwardPropsEmits
|
||||||
} from "radix-vue"
|
} from "radix-vue"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<TagsInputRootProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<TagsInputRootProps & { class?: HTMLAttributes["class"] }>()
|
||||||
const emits = defineEmits<TagsInputRootEmits>()
|
const emits = defineEmits<TagsInputRootEmits>()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { TagsInputInput, type TagsInputInputProps, useForwardProps } from "radix-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"] }>()
|
const props = defineProps<TagsInputInputProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { TagsInputItem, type TagsInputItemProps, useForwardProps } from "radix-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"] }>()
|
const props = defineProps<TagsInputItemProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { TagsInputItemDelete, type TagsInputItemDeleteProps, useForwardProps } from "radix-vue"
|
import { TagsInputItemDelete, type TagsInputItemDeleteProps, useForwardProps } from "radix-vue"
|
||||||
import { X } from "lucide-vue-next"
|
import { X } from "lucide-vue-next"
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<TagsInputItemDeleteProps & { class?: HTMLAttributes["class"] }>()
|
const props = defineProps<TagsInputItemDeleteProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { TagsInputItemText, type TagsInputItemTextProps, useForwardProps } from "radix-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"] }>()
|
const props = defineProps<TagsInputItemTextProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { computed } from "vue"
|
import { computed } from "vue"
|
||||||
import { ToastRoot, type ToastRootEmits, useForwardPropsEmits } from "radix-vue"
|
import { ToastRoot, type ToastRootEmits, useForwardPropsEmits } from "radix-vue"
|
||||||
import { type ToastProps, toastVariants } from "."
|
import { type ToastProps, toastVariants } from "."
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
const props = defineProps<ToastProps>()
|
const props = defineProps<ToastProps>()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { type HTMLAttributes, computed } from "vue"
|
import { type HTMLAttributes, computed } from "vue"
|
||||||
import { ToastAction, type ToastActionProps } from "radix-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"] }>()
|
const props = defineProps<ToastActionProps & { class?: HTMLAttributes["class"] }>()
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user