rename proyecto a Alpha, refactor imports a components/ui, fix types en stores

This commit is contained in:
Ricardo Gonzalez
2026-05-23 17:38:15 -05:00
parent 002d8f06d3
commit 72662852bf
24 changed files with 347 additions and 59 deletions
@@ -1,5 +1,6 @@
<script setup lang="ts">
import type { ChartConfig } from "@/registry/new-york-v4/ui/chart"
import { ref, computed } from "vue"
import type { ChartConfig } from "@/components/ui/chart"
// import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts"
import { VisArea, VisAxis, VisLine, VisXYContainer } from "@unovis/vue"
@@ -9,7 +10,7 @@ import {
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/new-york-v4/ui/card"
} from "@/components/ui/card"
import {
ChartContainer,
@@ -18,14 +19,14 @@ import {
ChartTooltip,
ChartTooltipContent,
componentToString,
} from "@/registry/new-york-v4/ui/chart"
} from "@/components/ui/chart"
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/registry/new-york-v4/ui/select"
} from "@/components/ui/select"
const description = "An interactive area chart"
@@ -257,7 +258,7 @@ const filterRange = computed(() => {
<ChartTooltip />
<ChartCrosshair
:template="componentToString(chartConfig, ChartTooltipContent, {
labelFormatter: (d) => {
labelFormatter: (d: number) => {
return new Date(d).toLocaleDateString('en-US', {
month: 'short',
day: 'numeric',